Able to generate with OMG SysML 1.5 file (with many changes) - Detected changes in SyML 1.5 - Requirement split in AbstractRequirement and Requirement - Requirement::master return a list - all ids change - Change: - switch namespace from oep.sysml14 to oep.sysml - replace 'SysML 1.4' by 'SysML 1.5' - use 4.0.0 (first 'free' version) - Use SysML 1.5 profile/ QUDV - regen java/elementtypes... Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
diff --git a/core/org.eclipse.papyrus.sysml14.edit.tests/.classpath b/core/org.eclipse.papyrus.sysml.edit.tests/.classpath similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit.tests/.classpath rename to core/org.eclipse.papyrus.sysml.edit.tests/.classpath
diff --git a/core/org.eclipse.papyrus.sysml.edit.tests/.project b/core/org.eclipse.papyrus.sysml.edit.tests/.project new file mode 100644 index 0000000..9fc463d --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit.tests/.project
@@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.edit.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> + <buildCommand> + <name>edu.umd.cs.findbugs.plugin.eclipse.findbugsBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + <nature>edu.umd.cs.findbugs.plugin.eclipse.findbugsNature</nature> + </natures> +</projectDescription>
diff --git a/core/org.eclipse.papyrus.sysml14.edit.tests/.settings/edu.umd.cs.findbugs.core.prefs b/core/org.eclipse.papyrus.sysml.edit.tests/.settings/edu.umd.cs.findbugs.core.prefs similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit.tests/.settings/edu.umd.cs.findbugs.core.prefs rename to core/org.eclipse.papyrus.sysml.edit.tests/.settings/edu.umd.cs.findbugs.core.prefs
diff --git a/core/org.eclipse.papyrus.sysml14.edit.tests/.settings/org.eclipse.core.resources.prefs b/core/org.eclipse.papyrus.sysml.edit.tests/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit.tests/.settings/org.eclipse.core.resources.prefs rename to core/org.eclipse.papyrus.sysml.edit.tests/.settings/org.eclipse.core.resources.prefs
diff --git a/core/org.eclipse.papyrus.sysml14.edit.tests/.settings/org.eclipse.jdt.core.prefs b/core/org.eclipse.papyrus.sysml.edit.tests/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit.tests/.settings/org.eclipse.jdt.core.prefs rename to core/org.eclipse.papyrus.sysml.edit.tests/.settings/org.eclipse.jdt.core.prefs
diff --git a/core/org.eclipse.papyrus.sysml14.edit.tests/.settings/org.eclipse.m2e.core.prefs b/core/org.eclipse.papyrus.sysml.edit.tests/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit.tests/.settings/org.eclipse.m2e.core.prefs rename to core/org.eclipse.papyrus.sysml.edit.tests/.settings/org.eclipse.m2e.core.prefs
diff --git a/core/org.eclipse.papyrus.sysml.edit.tests/META-INF/MANIFEST.MF b/core/org.eclipse.papyrus.sysml.edit.tests/META-INF/MANIFEST.MF new file mode 100644 index 0000000..9aa42df --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit.tests/META-INF/MANIFEST.MF
@@ -0,0 +1,14 @@ +Bundle-ActivationPolicy: lazy +Manifest-Version: 1.0 +Fragment-Host: org.eclipse.papyrus.sysml.edit;bundle-version="1.0.0" +Bundle-SymbolicName: org.eclipse.papyrus.sysml.edit.tests +Export-Package: org.eclipse.papyrus.sysml.edit.tests.requirements.provider +Bundle-Vendor: %Bundle-Vendor +Bundle-Version: 4.0.0.qualifier +Bundle-Name: %Bundle-Name +Bundle-Description: %Bundle-Description +Bundle-Localization: plugin +Bundle-ManifestVersion: 2 +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Require-Bundle: org.junit;bundle-version="[4.11.0,5.0.0)" +
diff --git a/core/org.eclipse.papyrus.sysml14.edit.tests/build.properties b/core/org.eclipse.papyrus.sysml.edit.tests/build.properties similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit.tests/build.properties rename to core/org.eclipse.papyrus.sysml.edit.tests/build.properties
diff --git a/core/org.eclipse.papyrus.sysml.edit.tests/plugin.properties b/core/org.eclipse.papyrus.sysml.edit.tests/plugin.properties new file mode 100644 index 0000000..88c2f37 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit.tests/plugin.properties
@@ -0,0 +1,13 @@ +################################################################################# +# Copyright (c) 2015 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: +# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation +################################################################################## +Bundle-Name=Papyrus SysML 1.5 Edit Tests +Bundle-Description=This plug-in contains the tests for SyML edit plugin +Bundle-Vendor=Eclipse Modeling Project \ No newline at end of file
diff --git a/core/org.eclipse.papyrus.sysml.edit.tests/pom.xml b/core/org.eclipse.papyrus.sysml.edit.tests/pom.xml new file mode 100644 index 0000000..7ae3d03 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit.tests/pom.xml
@@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" + xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>org.eclipse.papyrus.sysml.core</artifactId> + <groupId>org.eclipse.papyrus.sysml</groupId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.edit.tests</artifactId> + <packaging>eclipse-test-plugin</packaging> + <description>This plug-in contains the unit tests for SyML Edit plugin</description> +</project>
diff --git a/core/org.eclipse.papyrus.sysml.edit.tests/src/org/eclipse/papyrus/sysml/edit/tests/requirements/provider/RequirementItemProviderTest.java b/core/org.eclipse.papyrus.sysml.edit.tests/src/org/eclipse/papyrus/sysml/edit/tests/requirements/provider/RequirementItemProviderTest.java new file mode 100644 index 0000000..c5efd83 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit.tests/src/org/eclipse/papyrus/sysml/edit/tests/requirements/provider/RequirementItemProviderTest.java
@@ -0,0 +1,39 @@ +/***************************************************************************** + * Copyright (c) 2016 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.edit.tests.requirements.provider; + +import org.eclipse.papyrus.sysml.requirements.RequirementCustomImpl; +import org.eclipse.papyrus.sysml.requirements.provider.RequirementItemProvider; +import org.eclipse.papyrus.sysml.requirements.provider.RequirementsItemProviderAdapterFactory; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * Basic test RequirementItemProvider + */ +public class RequirementItemProviderTest { + + /** + * Check that a Requirement has an image to avoid regression when regeneration + */ + @Test + public void testProfilRegistration() { + RequirementsItemProviderAdapterFactory requirementsItemProviderAdapterFactory = new RequirementsItemProviderAdapterFactory(); + RequirementItemProvider createRequirementAdapter = (RequirementItemProvider) requirementsItemProviderAdapterFactory.createRequirementAdapter(); + Assert.assertNotNull("Requirement should have an image", createRequirementAdapter.getImage(new RequirementCustomImpl())); //$NON-NLS-1$ + } + +}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/.classpath b/core/org.eclipse.papyrus.sysml.edit/.classpath similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/.classpath rename to core/org.eclipse.papyrus.sysml.edit/.classpath
diff --git a/core/org.eclipse.papyrus.sysml.edit/.project b/core/org.eclipse.papyrus.sysml.edit/.project new file mode 100644 index 0000000..a1ed5df --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/.project
@@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.edit</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> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + </natures> +</projectDescription>
diff --git a/core/org.eclipse.papyrus.sysml14.edit/.settings/org.eclipse.core.resources.prefs b/core/org.eclipse.papyrus.sysml.edit/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/.settings/org.eclipse.core.resources.prefs rename to core/org.eclipse.papyrus.sysml.edit/.settings/org.eclipse.core.resources.prefs
diff --git a/core/org.eclipse.papyrus.sysml14.edit/.settings/org.eclipse.jdt.core.prefs b/core/org.eclipse.papyrus.sysml.edit/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/.settings/org.eclipse.jdt.core.prefs rename to core/org.eclipse.papyrus.sysml.edit/.settings/org.eclipse.jdt.core.prefs
diff --git a/core/org.eclipse.papyrus.sysml14.edit/.settings/org.eclipse.jdt.ui.prefs b/core/org.eclipse.papyrus.sysml.edit/.settings/org.eclipse.jdt.ui.prefs similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/.settings/org.eclipse.jdt.ui.prefs rename to core/org.eclipse.papyrus.sysml.edit/.settings/org.eclipse.jdt.ui.prefs
diff --git a/core/org.eclipse.papyrus.sysml14.edit/.settings/org.eclipse.m2e.core.prefs b/core/org.eclipse.papyrus.sysml.edit/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/.settings/org.eclipse.m2e.core.prefs rename to core/org.eclipse.papyrus.sysml.edit/.settings/org.eclipse.m2e.core.prefs
diff --git a/core/org.eclipse.papyrus.sysml.edit/META-INF/MANIFEST.MF b/core/org.eclipse.papyrus.sysml.edit/META-INF/MANIFEST.MF new file mode 100644 index 0000000..4329edc --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/META-INF/MANIFEST.MF
@@ -0,0 +1,39 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name +Bundle-SymbolicName: org.eclipse.papyrus.sysml.edit;singleton:=true +Bundle-Version: 4.0.0.qualifier +Bundle-ClassPath: . +Bundle-Activator: org.eclipse.papyrus.sysml.provider.SysMLEditPlugin$Implementation +Bundle-Vendor: %Bundle-Vendor +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Export-Package: org.eclipse.papyrus.sysml.activities.provider, + org.eclipse.papyrus.sysml.allocations.provider, + org.eclipse.papyrus.sysml.blocks.provider, + org.eclipse.papyrus.sysml.constraintblocks.provider, + org.eclipse.papyrus.sysml.deprecatedelements.provider, + org.eclipse.papyrus.sysml.modelelements.provider, + org.eclipse.papyrus.sysml.portsandflows.provider, + org.eclipse.papyrus.sysml.provider, + org.eclipse.papyrus.sysml.requirements.provider, + org.eclipse.papyrus.sysml.activities.provider, + org.eclipse.papyrus.sysml.allocations.provider, + org.eclipse.papyrus.sysml.blocks.provider, + org.eclipse.papyrus.sysml.constraintblocks.provider, + org.eclipse.papyrus.sysml.deprecatedelements.provider, + org.eclipse.papyrus.sysml.modelelements.provider, + org.eclipse.papyrus.sysml.portsandflows.provider, + org.eclipse.papyrus.sysml.provider, + org.eclipse.papyrus.sysml.requirements.provider +Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.6.0,4.0.0)", + org.eclipse.papyrus.sysml;bundle-version="1.0.0";visibility:=reexport, + org.eclipse.emf.edit;bundle-version="[2.11.1,3.0.0)";visibility:=reexport, + org.eclipse.emf.ecore;bundle-version="[2.11.2,3.0.0)";visibility:=reexport, + org.eclipse.emf.ecore.edit;bundle-version="[2.9.0,3.0.0)";visibility:=reexport, + org.eclipse.uml2.uml.profile.standard;bundle-version="[1.0.100,2.0.0)";visibility:=reexport, + org.eclipse.uml2.types;bundle-version="[2.0.0,3.0.0)";visibility:=reexport, + org.eclipse.uml2.uml;bundle-version="[5.1.0,6.0.0)";visibility:=reexport, + org.eclipse.uml2.uml.edit;bundle-version="[5.1.1,6.0.0)";visibility:=reexport, + org.eclipse.uml2.common.edit;bundle-version="[2.1.0,3.0.0)";visibility:=reexport +Bundle-ActivationPolicy: lazy
diff --git a/core/org.eclipse.papyrus.sysml14.edit/about.html b/core/org.eclipse.papyrus.sysml.edit/about.html similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/about.html rename to core/org.eclipse.papyrus.sysml.edit/about.html
diff --git a/core/org.eclipse.papyrus.sysml14.edit/build.properties b/core/org.eclipse.papyrus.sysml.edit/build.properties similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/build.properties rename to core/org.eclipse.papyrus.sysml.edit/build.properties
diff --git a/core/org.eclipse.papyrus.sysml.edit/icons/full/ctool16/CreateComplex_imaginaryPart_Real.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/ctool16/CreateComplex_imaginaryPart_Real.gif new file mode 100644 index 0000000..09741e8 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/icons/full/ctool16/CreateComplex_imaginaryPart_Real.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml.edit/icons/full/ctool16/CreateComplex_realPart_Real.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/ctool16/CreateComplex_realPart_Real.gif new file mode 100644 index 0000000..09741e8 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/icons/full/ctool16/CreateComplex_realPart_Real.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Requirement.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/AbstractRequirement.gif similarity index 100% copy from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Requirement.gif copy to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/AbstractRequirement.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/AcceptChangeStructuralFeatureEventAction.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/AcceptChangeStructuralFeatureEventAction.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/AcceptChangeStructuralFeatureEventAction.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/AcceptChangeStructuralFeatureEventAction.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/AdjunctProperty.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/AdjunctProperty.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/AdjunctProperty.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/AdjunctProperty.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Allocate.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Allocate.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Allocate.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Allocate.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/AllocateActivityPartition.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/AllocateActivityPartition.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/AllocateActivityPartition.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/AllocateActivityPartition.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Allocated.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Allocated.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Allocated.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Allocated.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/AssociationBlock.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/AssociationBlock.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/AssociationBlock.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/AssociationBlock.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/BindingConnector.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/BindingConnector.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/BindingConnector.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/BindingConnector.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Block.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Block.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Block.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Block.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/BlockProperty.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/BlockProperty.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/BlockProperty.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/BlockProperty.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Boolean.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Boolean.gif new file mode 100644 index 0000000..c4fb30e --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Boolean.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/BoundReference.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/BoundReference.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/BoundReference.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/BoundReference.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ChangeStructuralFeatureEvent.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ChangeStructuralFeatureEvent.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ChangeStructuralFeatureEvent.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ChangeStructuralFeatureEvent.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ClassifierBehaviorProperty.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ClassifierBehaviorProperty.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ClassifierBehaviorProperty.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ClassifierBehaviorProperty.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Complex.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Complex.gif new file mode 100644 index 0000000..98b351f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Complex.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Conform.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Conform.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Conform.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Conform.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ConnectorProperty.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ConnectorProperty.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ConnectorProperty.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ConnectorProperty.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ConstraintBlock.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ConstraintBlock.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ConstraintBlock.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ConstraintBlock.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ConstraintProperty.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ConstraintProperty.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ConstraintProperty.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ConstraintProperty.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Continuous.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Continuous.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Continuous.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Continuous.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ControlOperator.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ControlOperator.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ControlOperator.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ControlOperator.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ControlOperator_Behavior.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ControlOperator_Behavior.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ControlOperator_Behavior.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ControlOperator_Behavior.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ControlOperator_Operation.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ControlOperator_Operation.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ControlOperator_Operation.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ControlOperator_Operation.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Copy.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Copy.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Copy.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Copy.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Deprecated.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Deprecated.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Deprecated.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Deprecated.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/DeriveReqt.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/DeriveReqt.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/DeriveReqt.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/DeriveReqt.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Dimension.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Dimension.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Dimension.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Dimension.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/DirectedFeature.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/DirectedFeature.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/DirectedFeature.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/DirectedFeature.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/DirectedRelationshipPropertyPath.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/DirectedRelationshipPropertyPath.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/DirectedRelationshipPropertyPath.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/DirectedRelationshipPropertyPath.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Discrete.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Discrete.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Discrete.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Discrete.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/DistributedProperty.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/DistributedProperty.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/DistributedProperty.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/DistributedProperty.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ElementGroup.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ElementGroup.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ElementGroup.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ElementGroup.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ElementPropertyPath.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ElementPropertyPath.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ElementPropertyPath.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ElementPropertyPath.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/EndPathMultiplicity.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/EndPathMultiplicity.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/EndPathMultiplicity.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/EndPathMultiplicity.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Expose.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Expose.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Expose.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Expose.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowPort.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowPort.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowPort.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowPort.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowPort_IN.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowPort_IN.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowPort_IN.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowPort_IN.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowPort_INOUT.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowPort_INOUT.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowPort_INOUT.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowPort_INOUT.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowPort_NA.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowPort_NA.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowPort_NA.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowPort_NA.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowPort_OUT.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowPort_OUT.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowPort_OUT.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowPort_OUT.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowProperty.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowProperty.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowProperty.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowProperty.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowProperty_IN.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowProperty_IN.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowProperty_IN.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowProperty_IN.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowProperty_INOUT.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowProperty_INOUT.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowProperty_INOUT.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowProperty_INOUT.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowProperty_OUT.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowProperty_OUT.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowProperty_OUT.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowProperty_OUT.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowSpecification.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowSpecification.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowSpecification.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowSpecification.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FullPort.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FullPort.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FullPort.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FullPort.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Integer.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Integer.gif new file mode 100644 index 0000000..106881e --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Integer.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/InterfaceBlock.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/InterfaceBlock.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/InterfaceBlock.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/InterfaceBlock.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/InvocationOnNestedPortAction.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/InvocationOnNestedPortAction.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/InvocationOnNestedPortAction.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/InvocationOnNestedPortAction.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ItemFlow.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ItemFlow.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ItemFlow.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ItemFlow.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/NestedConnectorEnd.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/NestedConnectorEnd.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/NestedConnectorEnd.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/NestedConnectorEnd.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/NestedConnectorEnd_ConnectorEnd.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/NestedConnectorEnd_ConnectorEnd.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/NestedConnectorEnd_ConnectorEnd.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/NestedConnectorEnd_ConnectorEnd.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/NestedConnectorEnd_Element.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/NestedConnectorEnd_Element.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/NestedConnectorEnd_Element.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/NestedConnectorEnd_Element.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/NoBuffer.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/NoBuffer.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/NoBuffer.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/NoBuffer.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Number.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Number.gif new file mode 100644 index 0000000..30f0c48 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Number.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Operation.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Operation.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Operation.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Operation.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Optional.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Optional.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Optional.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Optional.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Overwrite.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Overwrite.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Overwrite.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Overwrite.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ParticipantProperty.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ParticipantProperty.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ParticipantProperty.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ParticipantProperty.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Probability.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Probability.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Probability.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Probability.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Problem.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Problem.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Problem.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Problem.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/PropertySpecificType.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/PropertySpecificType.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/PropertySpecificType.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/PropertySpecificType.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ProxyPort.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ProxyPort.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ProxyPort.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ProxyPort.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/QuantityKind.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/QuantityKind.gif new file mode 100644 index 0000000..7bac4fd --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/QuantityKind.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Rate.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Rate.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Rate.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Rate.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Rationale.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Rationale.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Rationale.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Rationale.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Real.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Real.gif new file mode 100644 index 0000000..98b351f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Real.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Refine.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Refine.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Refine.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Refine.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Requirement.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Requirement.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Requirement.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Requirement.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/RequirementRelated.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/RequirementRelated.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/RequirementRelated.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/RequirementRelated.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Satisfy.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Satisfy.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Satisfy.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Satisfy.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Stakeholder.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Stakeholder.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Stakeholder.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Stakeholder.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/String.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/String.gif new file mode 100644 index 0000000..ea58a65 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/String.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/TestCase.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/TestCase.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/TestCase.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/TestCase.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/TestCase_Behavior.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/TestCase_Behavior.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/TestCase_Behavior.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/TestCase_Behavior.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/TestCase_Operation.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/TestCase_Operation.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/TestCase_Operation.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/TestCase_Operation.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Trace.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Trace.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Trace.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Trace.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/TriggerOnNestedPort.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/TriggerOnNestedPort.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/TriggerOnNestedPort.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/TriggerOnNestedPort.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/TriggerOnNestedPort_Element.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/TriggerOnNestedPort_Element.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/TriggerOnNestedPort_Element.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/TriggerOnNestedPort_Element.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/TriggerOnNestedPort_Trigger.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/TriggerOnNestedPort_Trigger.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/TriggerOnNestedPort_Trigger.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/TriggerOnNestedPort_Trigger.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Unit.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Unit.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Unit.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Unit.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ValueType.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ValueType.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ValueType.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ValueType.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Verify.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Verify.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Verify.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Verify.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/View.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/View.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/View.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/View.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Viewpoint.gif b/core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Viewpoint.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Viewpoint.gif rename to core/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Viewpoint.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml.edit/plugin.properties b/core/org.eclipse.papyrus.sysml.edit/plugin.properties new file mode 100644 index 0000000..8d4b1e2 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/plugin.properties Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml.edit/plugin.xml b/core/org.eclipse.papyrus.sysml.edit/plugin.xml new file mode 100644 index 0000000..685faa6 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/plugin.xml
@@ -0,0 +1,119 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.0"?> + +<!-- + Copyright (c) 2015 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 +--> + +<plugin> + + <extension point="org.eclipse.emf.edit.itemProviderAdapterFactories"> + <!-- @generated SysML.profile --> + <factory + uri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/PortsAndFlows" + class="org.eclipse.papyrus.sysml.portsandflows.provider.PortsandflowsItemProviderAdapterFactory" + supportedTypes= + "org.eclipse.emf.edit.provider.IEditingDomainItemProvider + org.eclipse.emf.edit.provider.IStructuredItemContentProvider + org.eclipse.emf.edit.provider.ITreeItemContentProvider + org.eclipse.emf.edit.provider.IItemLabelProvider + org.eclipse.emf.edit.provider.IItemPropertySource"/> + </extension> + + <extension point="org.eclipse.emf.edit.itemProviderAdapterFactories"> + <!-- @generated SysML.profile --> + <factory + uri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Blocks" + class="org.eclipse.papyrus.sysml.blocks.provider.BlocksItemProviderAdapterFactory" + supportedTypes= + "org.eclipse.emf.edit.provider.IEditingDomainItemProvider + org.eclipse.emf.edit.provider.IStructuredItemContentProvider + org.eclipse.emf.edit.provider.ITreeItemContentProvider + org.eclipse.emf.edit.provider.IItemLabelProvider + org.eclipse.emf.edit.provider.IItemPropertySource"/> + </extension> + + <extension point="org.eclipse.emf.edit.itemProviderAdapterFactories"> + <!-- @generated SysML.profile --> + <factory + uri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Activities" + class="org.eclipse.papyrus.sysml.activities.provider.ActivitiesItemProviderAdapterFactory" + supportedTypes= + "org.eclipse.emf.edit.provider.IEditingDomainItemProvider + org.eclipse.emf.edit.provider.IStructuredItemContentProvider + org.eclipse.emf.edit.provider.ITreeItemContentProvider + org.eclipse.emf.edit.provider.IItemLabelProvider + org.eclipse.emf.edit.provider.IItemPropertySource"/> + </extension> + + <extension point="org.eclipse.emf.edit.itemProviderAdapterFactories"> + <!-- @generated SysML.profile --> + <factory + uri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Allocations" + class="org.eclipse.papyrus.sysml.allocations.provider.AllocationsItemProviderAdapterFactory" + supportedTypes= + "org.eclipse.emf.edit.provider.IEditingDomainItemProvider + org.eclipse.emf.edit.provider.IStructuredItemContentProvider + org.eclipse.emf.edit.provider.ITreeItemContentProvider + org.eclipse.emf.edit.provider.IItemLabelProvider + org.eclipse.emf.edit.provider.IItemPropertySource"/> + </extension> + + <extension point="org.eclipse.emf.edit.itemProviderAdapterFactories"> + <!-- @generated SysML.profile --> + <factory + uri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Requirements" + class="org.eclipse.papyrus.sysml.requirements.provider.RequirementsItemProviderAdapterFactory" + supportedTypes= + "org.eclipse.emf.edit.provider.IEditingDomainItemProvider + org.eclipse.emf.edit.provider.IStructuredItemContentProvider + org.eclipse.emf.edit.provider.ITreeItemContentProvider + org.eclipse.emf.edit.provider.IItemLabelProvider + org.eclipse.emf.edit.provider.IItemPropertySource"/> + </extension> + + <extension point="org.eclipse.emf.edit.itemProviderAdapterFactories"> + <!-- @generated SysML.profile --> + <factory + uri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/ModelElements" + class="org.eclipse.papyrus.sysml.modelelements.provider.ModelelementsItemProviderAdapterFactory" + supportedTypes= + "org.eclipse.emf.edit.provider.IEditingDomainItemProvider + org.eclipse.emf.edit.provider.IStructuredItemContentProvider + org.eclipse.emf.edit.provider.ITreeItemContentProvider + org.eclipse.emf.edit.provider.IItemLabelProvider + org.eclipse.emf.edit.provider.IItemPropertySource"/> + </extension> + + <extension point="org.eclipse.emf.edit.itemProviderAdapterFactories"> + <!-- @generated SysML.profile --> + <factory + uri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/DeprecatedElements" + class="org.eclipse.papyrus.sysml.deprecatedelements.provider.DeprecatedelementsItemProviderAdapterFactory" + supportedTypes= + "org.eclipse.emf.edit.provider.IEditingDomainItemProvider + org.eclipse.emf.edit.provider.IStructuredItemContentProvider + org.eclipse.emf.edit.provider.ITreeItemContentProvider + org.eclipse.emf.edit.provider.IItemLabelProvider + org.eclipse.emf.edit.provider.IItemPropertySource"/> + </extension> + + <extension point="org.eclipse.emf.edit.itemProviderAdapterFactories"> + <!-- @generated SysML.profile --> + <factory + uri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/ConstraintBlocks" + class="org.eclipse.papyrus.sysml.constraintblocks.provider.ConstraintblocksItemProviderAdapterFactory" + supportedTypes= + "org.eclipse.emf.edit.provider.IEditingDomainItemProvider + org.eclipse.emf.edit.provider.IStructuredItemContentProvider + org.eclipse.emf.edit.provider.ITreeItemContentProvider + org.eclipse.emf.edit.provider.IItemLabelProvider + org.eclipse.emf.edit.provider.IItemPropertySource"/> + </extension> + +</plugin>
diff --git a/core/org.eclipse.papyrus.sysml.edit/pom.xml b/core/org.eclipse.papyrus.sysml.edit/pom.xml new file mode 100644 index 0000000..f419fc9 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/pom.xml
@@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>org.eclipse.papyrus.sysml.core</artifactId> + <groupId>org.eclipse.papyrus.sysml</groupId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.edit</artifactId> + <packaging>eclipse-plugin</packaging> + <name>org.eclipse.papyrus.sysml.edit</name> + <description>This plug-in has been generated from this file : /org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml/resources/profile/SysML.profile.genmodel</description> +</project> \ No newline at end of file
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/activities/provider/ActivitiesItemProviderAdapterFactory.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/activities/provider/ActivitiesItemProviderAdapterFactory.java new file mode 100644 index 0000000..c4a4488 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/activities/provider/ActivitiesItemProviderAdapterFactory.java
@@ -0,0 +1,377 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities.provider; + +import java.util.ArrayList; +import java.util.Collection; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.edit.provider.ChangeNotifier; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.ComposedAdapterFactory; +import org.eclipse.emf.edit.provider.IChangeNotifier; +import org.eclipse.emf.edit.provider.IDisposable; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.INotifyChangedListener; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; + +import org.eclipse.papyrus.sysml.activities.util.ActivitiesAdapterFactory; + +/** + * This is the factory that is used to provide the interfaces needed to support Viewers. + * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. + * The adapters also support Eclipse property sheets. + * Note that most of the adapters are shared among multiple instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class ActivitiesItemProviderAdapterFactory extends ActivitiesAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { + /** + * This keeps track of the root adapter factory that delegates to this adapter factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ComposedAdapterFactory parentAdapterFactory; + + /** + * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected IChangeNotifier changeNotifier = new ChangeNotifier(); + + /** + * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected Collection<Object> supportedTypes = new ArrayList<Object>(); + + /** + * This constructs an instance. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ActivitiesItemProviderAdapterFactory() { + supportedTypes.add(IEditingDomainItemProvider.class); + supportedTypes.add(IStructuredItemContentProvider.class); + supportedTypes.add(ITreeItemContentProvider.class); + supportedTypes.add(IItemLabelProvider.class); + supportedTypes.add(IItemPropertySource.class); + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.activities.Optional} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected OptionalItemProvider optionalItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.activities.Optional}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createOptionalAdapter() { + if (optionalItemProvider == null) { + optionalItemProvider = new OptionalItemProvider(this); + } + + return optionalItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.activities.Continuous} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ContinuousItemProvider continuousItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.activities.Continuous}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createContinuousAdapter() { + if (continuousItemProvider == null) { + continuousItemProvider = new ContinuousItemProvider(this); + } + + return continuousItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.activities.Rate} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RateItemProvider rateItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.activities.Rate}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createRateAdapter() { + if (rateItemProvider == null) { + rateItemProvider = new RateItemProvider(this); + } + + return rateItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.activities.ControlOperator} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ControlOperatorItemProvider controlOperatorItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.activities.ControlOperator}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createControlOperatorAdapter() { + if (controlOperatorItemProvider == null) { + controlOperatorItemProvider = new ControlOperatorItemProvider(this); + } + + return controlOperatorItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.activities.Discrete} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DiscreteItemProvider discreteItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.activities.Discrete}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createDiscreteAdapter() { + if (discreteItemProvider == null) { + discreteItemProvider = new DiscreteItemProvider(this); + } + + return discreteItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.activities.Overwrite} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected OverwriteItemProvider overwriteItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.activities.Overwrite}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createOverwriteAdapter() { + if (overwriteItemProvider == null) { + overwriteItemProvider = new OverwriteItemProvider(this); + } + + return overwriteItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.activities.NoBuffer} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected NoBufferItemProvider noBufferItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.activities.NoBuffer}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createNoBufferAdapter() { + if (noBufferItemProvider == null) { + noBufferItemProvider = new NoBufferItemProvider(this); + } + + return noBufferItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.activities.Probability} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ProbabilityItemProvider probabilityItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.activities.Probability}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createProbabilityAdapter() { + if (probabilityItemProvider == null) { + probabilityItemProvider = new ProbabilityItemProvider(this); + } + + return probabilityItemProvider; + } + + /** + * This returns the root adapter factory that contains this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ComposeableAdapterFactory getRootAdapterFactory() { + return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); + } + + /** + * This sets the composed adapter factory that contains this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { + this.parentAdapterFactory = parentAdapterFactory; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean isFactoryForType(Object type) { + return supportedTypes.contains(type) || super.isFactoryForType(type); + } + + /** + * This implementation substitutes the factory itself as the key for the adapter. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter adapt(Notifier notifier, Object type) { + return super.adapt(notifier, this); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object adapt(Object object, Object type) { + if (isFactoryForType(type)) { + Object adapter = super.adapt(object, type); + if (!(type instanceof Class<?>) || (((Class<?>)type).isInstance(adapter))) { + return adapter; + } + } + + return null; + } + + /** + * This adds a listener. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void addListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.addListener(notifyChangedListener); + } + + /** + * This removes a listener. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void removeListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.removeListener(notifyChangedListener); + } + + /** + * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void fireNotifyChanged(Notification notification) { + changeNotifier.fireNotifyChanged(notification); + + if (parentAdapterFactory != null) { + parentAdapterFactory.fireNotifyChanged(notification); + } + } + + /** + * This disposes all of the item providers created by this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void dispose() { + if (optionalItemProvider != null) optionalItemProvider.dispose(); + if (continuousItemProvider != null) continuousItemProvider.dispose(); + if (rateItemProvider != null) rateItemProvider.dispose(); + if (controlOperatorItemProvider != null) controlOperatorItemProvider.dispose(); + if (discreteItemProvider != null) discreteItemProvider.dispose(); + if (overwriteItemProvider != null) overwriteItemProvider.dispose(); + if (noBufferItemProvider != null) noBufferItemProvider.dispose(); + if (probabilityItemProvider != null) probabilityItemProvider.dispose(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/activities/provider/ContinuousItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/activities/provider/ContinuousItemProvider.java new file mode 100644 index 0000000..deb41f4 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/activities/provider/ContinuousItemProvider.java
@@ -0,0 +1,104 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.activities.Continuous} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class ContinuousItemProvider extends RateItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ContinuousItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * This returns Continuous.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/Continuous")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_Continuous_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/activities/provider/ControlOperatorItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/activities/provider/ControlOperatorItemProvider.java new file mode 100644 index 0000000..a5f99dd --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/activities/provider/ControlOperatorItemProvider.java
@@ -0,0 +1,181 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.activities.ControlOperator} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class ControlOperatorItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ControlOperatorItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_BehaviorPropertyDescriptor(object); + addBase_OperationPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Behavior feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_BehaviorPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ControlOperator_base_Behavior_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ControlOperator_base_Behavior_feature", "_UI_ControlOperator_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ActivitiesPackage.Literals.CONTROL_OPERATOR__BASE_BEHAVIOR, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Base Operation feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_OperationPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ControlOperator_base_Operation_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ControlOperator_base_Operation_feature", "_UI_ControlOperator_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ActivitiesPackage.Literals.CONTROL_OPERATOR__BASE_OPERATION, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns ControlOperator.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/ControlOperator")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_ControlOperator_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/activities/provider/DiscreteItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/activities/provider/DiscreteItemProvider.java new file mode 100644 index 0000000..19feb83 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/activities/provider/DiscreteItemProvider.java
@@ -0,0 +1,104 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.activities.Discrete} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class DiscreteItemProvider extends RateItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DiscreteItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * This returns Discrete.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/Discrete")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_Discrete_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/activities/provider/NoBufferItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/activities/provider/NoBufferItemProvider.java new file mode 100644 index 0000000..804d68e --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/activities/provider/NoBufferItemProvider.java
@@ -0,0 +1,158 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.activities.NoBuffer} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class NoBufferItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NoBufferItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_ObjectNodePropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Object Node feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_ObjectNodePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_NoBuffer_base_ObjectNode_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_NoBuffer_base_ObjectNode_feature", "_UI_NoBuffer_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ActivitiesPackage.Literals.NO_BUFFER__BASE_OBJECT_NODE, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns NoBuffer.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/NoBuffer")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_NoBuffer_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/activities/provider/OptionalItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/activities/provider/OptionalItemProvider.java new file mode 100644 index 0000000..938f9df --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/activities/provider/OptionalItemProvider.java
@@ -0,0 +1,158 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.activities.Optional} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class OptionalItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public OptionalItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_ParameterPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Parameter feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_ParameterPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Optional_base_Parameter_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Optional_base_Parameter_feature", "_UI_Optional_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ActivitiesPackage.Literals.OPTIONAL__BASE_PARAMETER, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns Optional.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/Optional")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_Optional_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/activities/provider/OverwriteItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/activities/provider/OverwriteItemProvider.java new file mode 100644 index 0000000..797bcee --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/activities/provider/OverwriteItemProvider.java
@@ -0,0 +1,158 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.activities.Overwrite} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class OverwriteItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public OverwriteItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_ObjectNodePropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Object Node feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_ObjectNodePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Overwrite_base_ObjectNode_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Overwrite_base_ObjectNode_feature", "_UI_Overwrite_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ActivitiesPackage.Literals.OVERWRITE__BASE_OBJECT_NODE, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns Overwrite.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/Overwrite")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_Overwrite_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/activities/provider/ProbabilityItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/activities/provider/ProbabilityItemProvider.java new file mode 100644 index 0000000..29d9d52 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/activities/provider/ProbabilityItemProvider.java
@@ -0,0 +1,204 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.activities.Probability} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class ProbabilityItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ProbabilityItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_ActivityEdgePropertyDescriptor(object); + addBase_ParameterSetPropertyDescriptor(object); + addProbabilityPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Activity Edge feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_ActivityEdgePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Probability_base_ActivityEdge_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Probability_base_ActivityEdge_feature", "_UI_Probability_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ActivitiesPackage.Literals.PROBABILITY__BASE_ACTIVITY_EDGE, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Base Parameter Set feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_ParameterSetPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Probability_base_ParameterSet_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Probability_base_ParameterSet_feature", "_UI_Probability_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ActivitiesPackage.Literals.PROBABILITY__BASE_PARAMETER_SET, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Probability feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addProbabilityPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Probability_probability_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Probability_probability_feature", "_UI_Probability_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ActivitiesPackage.Literals.PROBABILITY__PROBABILITY, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns Probability.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/Probability")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_Probability_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/activities/provider/RateItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/activities/provider/RateItemProvider.java new file mode 100644 index 0000000..f7e7e5c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/activities/provider/RateItemProvider.java
@@ -0,0 +1,227 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.activities.Rate} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class RateItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RateItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_ActivityEdgePropertyDescriptor(object); + addBase_ObjectNodePropertyDescriptor(object); + addBase_ParameterPropertyDescriptor(object); + addRatePropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Activity Edge feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_ActivityEdgePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Rate_base_ActivityEdge_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Rate_base_ActivityEdge_feature", "_UI_Rate_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ActivitiesPackage.Literals.RATE__BASE_ACTIVITY_EDGE, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Base Object Node feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_ObjectNodePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Rate_base_ObjectNode_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Rate_base_ObjectNode_feature", "_UI_Rate_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ActivitiesPackage.Literals.RATE__BASE_OBJECT_NODE, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Base Parameter feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_ParameterPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Rate_base_Parameter_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Rate_base_Parameter_feature", "_UI_Rate_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ActivitiesPackage.Literals.RATE__BASE_PARAMETER, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Rate feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addRatePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Rate_rate_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Rate_rate_feature", "_UI_Rate_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ActivitiesPackage.Literals.RATE__RATE, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns Rate.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/Rate")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_Rate_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/allocations/provider/AllocateActivityPartitionItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/allocations/provider/AllocateActivityPartitionItemProvider.java new file mode 100644 index 0000000..44f2ecf --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/allocations/provider/AllocateActivityPartitionItemProvider.java
@@ -0,0 +1,158 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.allocations.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.allocations.AllocationsPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.allocations.AllocateActivityPartition} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class AllocateActivityPartitionItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AllocateActivityPartitionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_ActivityPartitionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Activity Partition feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_ActivityPartitionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_AllocateActivityPartition_base_ActivityPartition_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_AllocateActivityPartition_base_ActivityPartition_feature", "_UI_AllocateActivityPartition_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + AllocationsPackage.Literals.ALLOCATE_ACTIVITY_PARTITION__BASE_ACTIVITY_PARTITION, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns AllocateActivityPartition.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/AllocateActivityPartition")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_AllocateActivityPartition_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/allocations/provider/AllocateItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/allocations/provider/AllocateItemProvider.java new file mode 100644 index 0000000..612be0d --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/allocations/provider/AllocateItemProvider.java
@@ -0,0 +1,147 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.allocations.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; + +import org.eclipse.papyrus.sysml.allocations.AllocationsPackage; + +import org.eclipse.papyrus.sysml.blocks.provider.DirectedRelationshipPropertyPathItemProvider; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.allocations.Allocate} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class AllocateItemProvider extends DirectedRelationshipPropertyPathItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AllocateItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_AbstractionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Abstraction feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_AbstractionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Allocate_base_Abstraction_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Allocate_base_Abstraction_feature", "_UI_Allocate_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + AllocationsPackage.Literals.ALLOCATE__BASE_ABSTRACTION, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns Allocate.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/Allocate")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_Allocate_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/allocations/provider/AllocationsItemProviderAdapterFactory.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/allocations/provider/AllocationsItemProviderAdapterFactory.java new file mode 100644 index 0000000..691cae3 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/allocations/provider/AllocationsItemProviderAdapterFactory.java
@@ -0,0 +1,233 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.allocations.provider; + +import java.util.ArrayList; +import java.util.Collection; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.edit.provider.ChangeNotifier; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.ComposedAdapterFactory; +import org.eclipse.emf.edit.provider.IChangeNotifier; +import org.eclipse.emf.edit.provider.IDisposable; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.INotifyChangedListener; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; + +import org.eclipse.papyrus.sysml.allocations.util.AllocationsAdapterFactory; + +/** + * This is the factory that is used to provide the interfaces needed to support Viewers. + * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. + * The adapters also support Eclipse property sheets. + * Note that most of the adapters are shared among multiple instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class AllocationsItemProviderAdapterFactory extends AllocationsAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { + /** + * This keeps track of the root adapter factory that delegates to this adapter factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ComposedAdapterFactory parentAdapterFactory; + + /** + * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected IChangeNotifier changeNotifier = new ChangeNotifier(); + + /** + * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected Collection<Object> supportedTypes = new ArrayList<Object>(); + + /** + * This constructs an instance. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AllocationsItemProviderAdapterFactory() { + supportedTypes.add(IEditingDomainItemProvider.class); + supportedTypes.add(IStructuredItemContentProvider.class); + supportedTypes.add(ITreeItemContentProvider.class); + supportedTypes.add(IItemLabelProvider.class); + supportedTypes.add(IItemPropertySource.class); + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.allocations.Allocate} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected AllocateItemProvider allocateItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.allocations.Allocate}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createAllocateAdapter() { + if (allocateItemProvider == null) { + allocateItemProvider = new AllocateItemProvider(this); + } + + return allocateItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.allocations.AllocateActivityPartition} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected AllocateActivityPartitionItemProvider allocateActivityPartitionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.allocations.AllocateActivityPartition}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createAllocateActivityPartitionAdapter() { + if (allocateActivityPartitionItemProvider == null) { + allocateActivityPartitionItemProvider = new AllocateActivityPartitionItemProvider(this); + } + + return allocateActivityPartitionItemProvider; + } + + /** + * This returns the root adapter factory that contains this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ComposeableAdapterFactory getRootAdapterFactory() { + return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); + } + + /** + * This sets the composed adapter factory that contains this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { + this.parentAdapterFactory = parentAdapterFactory; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean isFactoryForType(Object type) { + return supportedTypes.contains(type) || super.isFactoryForType(type); + } + + /** + * This implementation substitutes the factory itself as the key for the adapter. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter adapt(Notifier notifier, Object type) { + return super.adapt(notifier, this); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object adapt(Object object, Object type) { + if (isFactoryForType(type)) { + Object adapter = super.adapt(object, type); + if (!(type instanceof Class<?>) || (((Class<?>)type).isInstance(adapter))) { + return adapter; + } + } + + return null; + } + + /** + * This adds a listener. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void addListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.addListener(notifyChangedListener); + } + + /** + * This removes a listener. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void removeListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.removeListener(notifyChangedListener); + } + + /** + * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void fireNotifyChanged(Notification notification) { + changeNotifier.fireNotifyChanged(notification); + + if (parentAdapterFactory != null) { + parentAdapterFactory.fireNotifyChanged(notification); + } + } + + /** + * This disposes all of the item providers created by this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void dispose() { + if (allocateItemProvider != null) allocateItemProvider.dispose(); + if (allocateActivityPartitionItemProvider != null) allocateActivityPartitionItemProvider.dispose(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/AdjunctPropertyItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/AdjunctPropertyItemProvider.java new file mode 100644 index 0000000..ee544d0 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/AdjunctPropertyItemProvider.java
@@ -0,0 +1,181 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.blocks.AdjunctProperty} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class AdjunctPropertyItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AdjunctPropertyItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_PropertyPropertyDescriptor(object); + addPrincipalPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Property feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_PropertyPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_AdjunctProperty_base_Property_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_AdjunctProperty_base_Property_feature", "_UI_AdjunctProperty_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.ADJUNCT_PROPERTY__BASE_PROPERTY, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Principal feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addPrincipalPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_AdjunctProperty_principal_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_AdjunctProperty_principal_feature", "_UI_AdjunctProperty_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.ADJUNCT_PROPERTY__PRINCIPAL, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns AdjunctProperty.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/AdjunctProperty")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_AdjunctProperty_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/BindingConnectorItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/BindingConnectorItemProvider.java new file mode 100644 index 0000000..545189f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/BindingConnectorItemProvider.java
@@ -0,0 +1,158 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.blocks.BindingConnector} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class BindingConnectorItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BindingConnectorItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_ConnectorPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Connector feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_ConnectorPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_BindingConnector_base_Connector_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_BindingConnector_base_Connector_feature", "_UI_BindingConnector_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.BINDING_CONNECTOR__BASE_CONNECTOR, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns BindingConnector.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/BindingConnector")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_BindingConnector_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/BlockItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/BlockItemProvider.java new file mode 100644 index 0000000..6ef567e --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/BlockItemProvider.java
@@ -0,0 +1,191 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.blocks.Block} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class BlockItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BlockItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_ClassPropertyDescriptor(object); + addIsEncapsulatedPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Class feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_ClassPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Block_base_Class_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Block_base_Class_feature", "_UI_Block_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.BLOCK__BASE_CLASS, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Is Encapsulated feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addIsEncapsulatedPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Block_isEncapsulated_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Block_isEncapsulated_feature", "_UI_Block_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.BLOCK__IS_ENCAPSULATED, + true, + false, + false, + ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, + null, + null)); + } + + /** + * This returns Block.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/Block")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + Block block = (Block)object; + return getString("_UI_Block_type") + " " + block.isEncapsulated(); //$NON-NLS-1$ //$NON-NLS-2$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(Block.class)) { + case BlocksPackage.BLOCK__IS_ENCAPSULATED: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/BlocksItemProviderAdapterFactory.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/BlocksItemProviderAdapterFactory.java new file mode 100644 index 0000000..7ea870f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/BlocksItemProviderAdapterFactory.java
@@ -0,0 +1,473 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.provider; + +import java.util.ArrayList; +import java.util.Collection; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.edit.provider.ChangeNotifier; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.ComposedAdapterFactory; +import org.eclipse.emf.edit.provider.IChangeNotifier; +import org.eclipse.emf.edit.provider.IDisposable; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.INotifyChangedListener; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; + +import org.eclipse.papyrus.sysml.blocks.util.BlocksAdapterFactory; + +/** + * This is the factory that is used to provide the interfaces needed to support Viewers. + * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. + * The adapters also support Eclipse property sheets. + * Note that most of the adapters are shared among multiple instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class BlocksItemProviderAdapterFactory extends BlocksAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { + /** + * This keeps track of the root adapter factory that delegates to this adapter factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ComposedAdapterFactory parentAdapterFactory; + + /** + * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected IChangeNotifier changeNotifier = new ChangeNotifier(); + + /** + * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected Collection<Object> supportedTypes = new ArrayList<Object>(); + + /** + * This constructs an instance. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BlocksItemProviderAdapterFactory() { + supportedTypes.add(IEditingDomainItemProvider.class); + supportedTypes.add(IStructuredItemContentProvider.class); + supportedTypes.add(ITreeItemContentProvider.class); + supportedTypes.add(IItemLabelProvider.class); + supportedTypes.add(IItemPropertySource.class); + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.blocks.DistributedProperty} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DistributedPropertyItemProvider distributedPropertyItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.blocks.DistributedProperty}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createDistributedPropertyAdapter() { + if (distributedPropertyItemProvider == null) { + distributedPropertyItemProvider = new DistributedPropertyItemProvider(this); + } + + return distributedPropertyItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.blocks.AdjunctProperty} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected AdjunctPropertyItemProvider adjunctPropertyItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.blocks.AdjunctProperty}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createAdjunctPropertyAdapter() { + if (adjunctPropertyItemProvider == null) { + adjunctPropertyItemProvider = new AdjunctPropertyItemProvider(this); + } + + return adjunctPropertyItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.blocks.EndPathMultiplicity} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EndPathMultiplicityItemProvider endPathMultiplicityItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.blocks.EndPathMultiplicity}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createEndPathMultiplicityAdapter() { + if (endPathMultiplicityItemProvider == null) { + endPathMultiplicityItemProvider = new EndPathMultiplicityItemProvider(this); + } + + return endPathMultiplicityItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.blocks.ParticipantProperty} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ParticipantPropertyItemProvider participantPropertyItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.blocks.ParticipantProperty}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createParticipantPropertyAdapter() { + if (participantPropertyItemProvider == null) { + participantPropertyItemProvider = new ParticipantPropertyItemProvider(this); + } + + return participantPropertyItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.blocks.Block} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected BlockItemProvider blockItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.blocks.Block}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createBlockAdapter() { + if (blockItemProvider == null) { + blockItemProvider = new BlockItemProvider(this); + } + + return blockItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.blocks.ConnectorProperty} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ConnectorPropertyItemProvider connectorPropertyItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.blocks.ConnectorProperty}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createConnectorPropertyAdapter() { + if (connectorPropertyItemProvider == null) { + connectorPropertyItemProvider = new ConnectorPropertyItemProvider(this); + } + + return connectorPropertyItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.blocks.BindingConnector} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected BindingConnectorItemProvider bindingConnectorItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.blocks.BindingConnector}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createBindingConnectorAdapter() { + if (bindingConnectorItemProvider == null) { + bindingConnectorItemProvider = new BindingConnectorItemProvider(this); + } + + return bindingConnectorItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.blocks.ClassifierBehaviorProperty} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ClassifierBehaviorPropertyItemProvider classifierBehaviorPropertyItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.blocks.ClassifierBehaviorProperty}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createClassifierBehaviorPropertyAdapter() { + if (classifierBehaviorPropertyItemProvider == null) { + classifierBehaviorPropertyItemProvider = new ClassifierBehaviorPropertyItemProvider(this); + } + + return classifierBehaviorPropertyItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.blocks.BoundReference} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected BoundReferenceItemProvider boundReferenceItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.blocks.BoundReference}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createBoundReferenceAdapter() { + if (boundReferenceItemProvider == null) { + boundReferenceItemProvider = new BoundReferenceItemProvider(this); + } + + return boundReferenceItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.blocks.PropertySpecificType} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected PropertySpecificTypeItemProvider propertySpecificTypeItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.blocks.PropertySpecificType}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createPropertySpecificTypeAdapter() { + if (propertySpecificTypeItemProvider == null) { + propertySpecificTypeItemProvider = new PropertySpecificTypeItemProvider(this); + } + + return propertySpecificTypeItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected NestedConnectorEndItemProvider nestedConnectorEndItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createNestedConnectorEndAdapter() { + if (nestedConnectorEndItemProvider == null) { + nestedConnectorEndItemProvider = new NestedConnectorEndItemProvider(this); + } + + return nestedConnectorEndItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.blocks.ValueType} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ValueTypeItemProvider valueTypeItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.blocks.ValueType}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createValueTypeAdapter() { + if (valueTypeItemProvider == null) { + valueTypeItemProvider = new ValueTypeItemProvider(this); + } + + return valueTypeItemProvider; + } + + /** + * This returns the root adapter factory that contains this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ComposeableAdapterFactory getRootAdapterFactory() { + return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); + } + + /** + * This sets the composed adapter factory that contains this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { + this.parentAdapterFactory = parentAdapterFactory; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean isFactoryForType(Object type) { + return supportedTypes.contains(type) || super.isFactoryForType(type); + } + + /** + * This implementation substitutes the factory itself as the key for the adapter. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter adapt(Notifier notifier, Object type) { + return super.adapt(notifier, this); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object adapt(Object object, Object type) { + if (isFactoryForType(type)) { + Object adapter = super.adapt(object, type); + if (!(type instanceof Class<?>) || (((Class<?>)type).isInstance(adapter))) { + return adapter; + } + } + + return null; + } + + /** + * This adds a listener. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void addListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.addListener(notifyChangedListener); + } + + /** + * This removes a listener. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void removeListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.removeListener(notifyChangedListener); + } + + /** + * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void fireNotifyChanged(Notification notification) { + changeNotifier.fireNotifyChanged(notification); + + if (parentAdapterFactory != null) { + parentAdapterFactory.fireNotifyChanged(notification); + } + } + + /** + * This disposes all of the item providers created by this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void dispose() { + if (distributedPropertyItemProvider != null) distributedPropertyItemProvider.dispose(); + if (adjunctPropertyItemProvider != null) adjunctPropertyItemProvider.dispose(); + if (endPathMultiplicityItemProvider != null) endPathMultiplicityItemProvider.dispose(); + if (participantPropertyItemProvider != null) participantPropertyItemProvider.dispose(); + if (blockItemProvider != null) blockItemProvider.dispose(); + if (connectorPropertyItemProvider != null) connectorPropertyItemProvider.dispose(); + if (bindingConnectorItemProvider != null) bindingConnectorItemProvider.dispose(); + if (classifierBehaviorPropertyItemProvider != null) classifierBehaviorPropertyItemProvider.dispose(); + if (boundReferenceItemProvider != null) boundReferenceItemProvider.dispose(); + if (propertySpecificTypeItemProvider != null) propertySpecificTypeItemProvider.dispose(); + if (nestedConnectorEndItemProvider != null) nestedConnectorEndItemProvider.dispose(); + if (valueTypeItemProvider != null) valueTypeItemProvider.dispose(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/BoundReferenceItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/BoundReferenceItemProvider.java new file mode 100644 index 0000000..17990a7 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/BoundReferenceItemProvider.java
@@ -0,0 +1,155 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.blocks.BoundReference; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.blocks.BoundReference} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class BoundReferenceItemProvider extends EndPathMultiplicityItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BoundReferenceItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBindingPathPropertyDescriptor(object); + addBoundEndPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Binding Path feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBindingPathPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_BoundReference_bindingPath_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_BoundReference_bindingPath_feature", "_UI_BoundReference_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.BOUND_REFERENCE__BINDING_PATH, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Bound End feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBoundEndPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_BoundReference_boundEnd_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_BoundReference_boundEnd_feature", "_UI_BoundReference_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.BOUND_REFERENCE__BOUND_END, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns BoundReference.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/BoundReference")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + BoundReference boundReference = (BoundReference)object; + return getString("_UI_BoundReference_type") + " " + boundReference.getLower(); //$NON-NLS-1$ //$NON-NLS-2$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/ClassifierBehaviorPropertyItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/ClassifierBehaviorPropertyItemProvider.java new file mode 100644 index 0000000..edd324f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/ClassifierBehaviorPropertyItemProvider.java
@@ -0,0 +1,158 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.blocks.ClassifierBehaviorProperty} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class ClassifierBehaviorPropertyItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ClassifierBehaviorPropertyItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_PropertyPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Property feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_PropertyPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ClassifierBehaviorProperty_base_Property_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ClassifierBehaviorProperty_base_Property_feature", "_UI_ClassifierBehaviorProperty_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.CLASSIFIER_BEHAVIOR_PROPERTY__BASE_PROPERTY, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns ClassifierBehaviorProperty.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/ClassifierBehaviorProperty")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_ClassifierBehaviorProperty_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/ConnectorPropertyItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/ConnectorPropertyItemProvider.java new file mode 100644 index 0000000..1677bd2 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/ConnectorPropertyItemProvider.java
@@ -0,0 +1,181 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.blocks.ConnectorProperty} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class ConnectorPropertyItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ConnectorPropertyItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_PropertyPropertyDescriptor(object); + addConnectorPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Property feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_PropertyPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ConnectorProperty_base_Property_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ConnectorProperty_base_Property_feature", "_UI_ConnectorProperty_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.CONNECTOR_PROPERTY__BASE_PROPERTY, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Connector feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addConnectorPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ConnectorProperty_connector_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ConnectorProperty_connector_feature", "_UI_ConnectorProperty_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.CONNECTOR_PROPERTY__CONNECTOR, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns ConnectorProperty.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/ConnectorProperty")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_ConnectorProperty_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/DirectedRelationshipPropertyPathItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/DirectedRelationshipPropertyPathItemProvider.java new file mode 100644 index 0000000..449ae42 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/DirectedRelationshipPropertyPathItemProvider.java
@@ -0,0 +1,239 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class DirectedRelationshipPropertyPathItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DirectedRelationshipPropertyPathItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_DirectedRelationshipPropertyDescriptor(object); + addSourceContextPropertyDescriptor(object); + addSourcePropertyPathPropertyDescriptor(object); + addTargetContextPropertyDescriptor(object); + addTargetPropertyPathPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Directed Relationship feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_DirectedRelationshipPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_DirectedRelationshipPropertyPath_base_DirectedRelationship_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_DirectedRelationshipPropertyPath_base_DirectedRelationship_feature", "_UI_DirectedRelationshipPropertyPath_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.DIRECTED_RELATIONSHIP_PROPERTY_PATH__BASE_DIRECTED_RELATIONSHIP, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Source Context feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addSourceContextPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_DirectedRelationshipPropertyPath_sourceContext_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_DirectedRelationshipPropertyPath_sourceContext_feature", "_UI_DirectedRelationshipPropertyPath_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_CONTEXT, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Source Property Path feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addSourcePropertyPathPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_DirectedRelationshipPropertyPath_sourcePropertyPath_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_DirectedRelationshipPropertyPath_sourcePropertyPath_feature", "_UI_DirectedRelationshipPropertyPath_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_PROPERTY_PATH, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Target Context feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addTargetContextPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_DirectedRelationshipPropertyPath_targetContext_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_DirectedRelationshipPropertyPath_targetContext_feature", "_UI_DirectedRelationshipPropertyPath_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_CONTEXT, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Target Property Path feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addTargetPropertyPathPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_DirectedRelationshipPropertyPath_targetPropertyPath_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_DirectedRelationshipPropertyPath_targetPropertyPath_feature", "_UI_DirectedRelationshipPropertyPath_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_PROPERTY_PATH, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_DirectedRelationshipPropertyPath_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/DistributedPropertyItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/DistributedPropertyItemProvider.java new file mode 100644 index 0000000..d1c050f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/DistributedPropertyItemProvider.java
@@ -0,0 +1,158 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.blocks.DistributedProperty} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class DistributedPropertyItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DistributedPropertyItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_PropertyPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Property feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_PropertyPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_DistributedProperty_base_Property_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_DistributedProperty_base_Property_feature", "_UI_DistributedProperty_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.DISTRIBUTED_PROPERTY__BASE_PROPERTY, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns DistributedProperty.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/DistributedProperty")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_DistributedProperty_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/ElementPropertyPathItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/ElementPropertyPathItemProvider.java new file mode 100644 index 0000000..0fd57d1 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/ElementPropertyPathItemProvider.java
@@ -0,0 +1,170 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.blocks.ElementPropertyPath} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class ElementPropertyPathItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ElementPropertyPathItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_ElementPropertyDescriptor(object); + addPropertyPathPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Element feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_ElementPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ElementPropertyPath_base_Element_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ElementPropertyPath_base_Element_feature", "_UI_ElementPropertyPath_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.ELEMENT_PROPERTY_PATH__BASE_ELEMENT, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Property Path feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addPropertyPathPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ElementPropertyPath_propertyPath_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ElementPropertyPath_propertyPath_feature", "_UI_ElementPropertyPath_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.ELEMENT_PROPERTY_PATH__PROPERTY_PATH, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_ElementPropertyPath_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/EndPathMultiplicityItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/EndPathMultiplicityItemProvider.java new file mode 100644 index 0000000..3cc9634 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/EndPathMultiplicityItemProvider.java
@@ -0,0 +1,215 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.blocks.EndPathMultiplicity; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.blocks.EndPathMultiplicity} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class EndPathMultiplicityItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EndPathMultiplicityItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_PropertyPropertyDescriptor(object); + addLowerPropertyDescriptor(object); + addUpperPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Property feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_PropertyPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_EndPathMultiplicity_base_Property_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EndPathMultiplicity_base_Property_feature", "_UI_EndPathMultiplicity_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.END_PATH_MULTIPLICITY__BASE_PROPERTY, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Lower feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addLowerPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_EndPathMultiplicity_lower_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EndPathMultiplicity_lower_feature", "_UI_EndPathMultiplicity_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.END_PATH_MULTIPLICITY__LOWER, + true, + false, + false, + ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Upper feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addUpperPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_EndPathMultiplicity_upper_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_EndPathMultiplicity_upper_feature", "_UI_EndPathMultiplicity_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.END_PATH_MULTIPLICITY__UPPER, + true, + false, + false, + ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, + null, + null)); + } + + /** + * This returns EndPathMultiplicity.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/EndPathMultiplicity")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + EndPathMultiplicity endPathMultiplicity = (EndPathMultiplicity)object; + return getString("_UI_EndPathMultiplicity_type") + " " + endPathMultiplicity.getLower(); //$NON-NLS-1$ //$NON-NLS-2$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(EndPathMultiplicity.class)) { + case BlocksPackage.END_PATH_MULTIPLICITY__LOWER: + case BlocksPackage.END_PATH_MULTIPLICITY__UPPER: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/NestedConnectorEndItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/NestedConnectorEndItemProvider.java new file mode 100644 index 0000000..dc67c52 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/NestedConnectorEndItemProvider.java
@@ -0,0 +1,130 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class NestedConnectorEndItemProvider extends ElementPropertyPathItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NestedConnectorEndItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_ConnectorEndPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Connector End feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_ConnectorEndPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_NestedConnectorEnd_base_ConnectorEnd_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_NestedConnectorEnd_base_ConnectorEnd_feature", "_UI_NestedConnectorEnd_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.NESTED_CONNECTOR_END__BASE_CONNECTOR_END, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns NestedConnectorEnd.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/NestedConnectorEnd")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_NestedConnectorEnd_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/ParticipantPropertyItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/ParticipantPropertyItemProvider.java new file mode 100644 index 0000000..40cd9c2 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/ParticipantPropertyItemProvider.java
@@ -0,0 +1,181 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.blocks.ParticipantProperty} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class ParticipantPropertyItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ParticipantPropertyItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_PropertyPropertyDescriptor(object); + addEndPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Property feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_PropertyPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ParticipantProperty_base_Property_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ParticipantProperty_base_Property_feature", "_UI_ParticipantProperty_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.PARTICIPANT_PROPERTY__BASE_PROPERTY, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the End feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addEndPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ParticipantProperty_end_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ParticipantProperty_end_feature", "_UI_ParticipantProperty_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.PARTICIPANT_PROPERTY__END, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns ParticipantProperty.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/ParticipantProperty")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_ParticipantProperty_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/PropertySpecificTypeItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/PropertySpecificTypeItemProvider.java new file mode 100644 index 0000000..16062db --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/PropertySpecificTypeItemProvider.java
@@ -0,0 +1,158 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.blocks.PropertySpecificType} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class PropertySpecificTypeItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PropertySpecificTypeItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_ClassifierPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Classifier feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_ClassifierPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_PropertySpecificType_base_Classifier_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_PropertySpecificType_base_Classifier_feature", "_UI_PropertySpecificType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.PROPERTY_SPECIFIC_TYPE__BASE_CLASSIFIER, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns PropertySpecificType.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/PropertySpecificType")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_PropertySpecificType_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/ValueTypeItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/ValueTypeItemProvider.java new file mode 100644 index 0000000..7c99671 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/blocks/provider/ValueTypeItemProvider.java
@@ -0,0 +1,204 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.blocks.ValueType} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class ValueTypeItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ValueTypeItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_DataTypePropertyDescriptor(object); + addQuantityKindPropertyDescriptor(object); + addUnitPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Data Type feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_DataTypePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ValueType_base_DataType_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ValueType_base_DataType_feature", "_UI_ValueType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.VALUE_TYPE__BASE_DATA_TYPE, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Quantity Kind feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addQuantityKindPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ValueType_quantityKind_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ValueType_quantityKind_feature", "_UI_ValueType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.VALUE_TYPE__QUANTITY_KIND, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Unit feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addUnitPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ValueType_unit_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ValueType_unit_feature", "_UI_ValueType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + BlocksPackage.Literals.VALUE_TYPE__UNIT, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns ValueType.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/ValueType")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_ValueType_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/constraintblocks/provider/ConstraintBlockItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/constraintblocks/provider/ConstraintBlockItemProvider.java new file mode 100644 index 0000000..c271c94 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/constraintblocks/provider/ConstraintBlockItemProvider.java
@@ -0,0 +1,124 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.constraintblocks.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; + +import org.eclipse.papyrus.sysml.blocks.provider.BlockItemProvider; + +import org.eclipse.papyrus.sysml.constraintblocks.ConstraintBlock; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.constraintblocks.ConstraintBlock} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class ConstraintBlockItemProvider extends BlockItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ConstraintBlockItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * This returns ConstraintBlock.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/ConstraintBlock")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + ConstraintBlock constraintBlock = (ConstraintBlock)object; + return getString("_UI_ConstraintBlock_type") + " " + constraintBlock.isEncapsulated(); //$NON-NLS-1$ //$NON-NLS-2$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/constraintblocks/provider/ConstraintblocksItemProviderAdapterFactory.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/constraintblocks/provider/ConstraintblocksItemProviderAdapterFactory.java new file mode 100644 index 0000000..77e7b3c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/constraintblocks/provider/ConstraintblocksItemProviderAdapterFactory.java
@@ -0,0 +1,209 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.constraintblocks.provider; + +import java.util.ArrayList; +import java.util.Collection; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.edit.provider.ChangeNotifier; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.ComposedAdapterFactory; +import org.eclipse.emf.edit.provider.IChangeNotifier; +import org.eclipse.emf.edit.provider.IDisposable; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.INotifyChangedListener; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; + +import org.eclipse.papyrus.sysml.constraintblocks.util.ConstraintblocksAdapterFactory; + +/** + * This is the factory that is used to provide the interfaces needed to support Viewers. + * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. + * The adapters also support Eclipse property sheets. + * Note that most of the adapters are shared among multiple instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class ConstraintblocksItemProviderAdapterFactory extends ConstraintblocksAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { + /** + * This keeps track of the root adapter factory that delegates to this adapter factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ComposedAdapterFactory parentAdapterFactory; + + /** + * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected IChangeNotifier changeNotifier = new ChangeNotifier(); + + /** + * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected Collection<Object> supportedTypes = new ArrayList<Object>(); + + /** + * This constructs an instance. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ConstraintblocksItemProviderAdapterFactory() { + supportedTypes.add(IEditingDomainItemProvider.class); + supportedTypes.add(IStructuredItemContentProvider.class); + supportedTypes.add(ITreeItemContentProvider.class); + supportedTypes.add(IItemLabelProvider.class); + supportedTypes.add(IItemPropertySource.class); + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.constraintblocks.ConstraintBlock} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ConstraintBlockItemProvider constraintBlockItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.constraintblocks.ConstraintBlock}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createConstraintBlockAdapter() { + if (constraintBlockItemProvider == null) { + constraintBlockItemProvider = new ConstraintBlockItemProvider(this); + } + + return constraintBlockItemProvider; + } + + /** + * This returns the root adapter factory that contains this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ComposeableAdapterFactory getRootAdapterFactory() { + return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); + } + + /** + * This sets the composed adapter factory that contains this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { + this.parentAdapterFactory = parentAdapterFactory; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean isFactoryForType(Object type) { + return supportedTypes.contains(type) || super.isFactoryForType(type); + } + + /** + * This implementation substitutes the factory itself as the key for the adapter. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter adapt(Notifier notifier, Object type) { + return super.adapt(notifier, this); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object adapt(Object object, Object type) { + if (isFactoryForType(type)) { + Object adapter = super.adapt(object, type); + if (!(type instanceof Class<?>) || (((Class<?>)type).isInstance(adapter))) { + return adapter; + } + } + + return null; + } + + /** + * This adds a listener. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void addListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.addListener(notifyChangedListener); + } + + /** + * This removes a listener. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void removeListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.removeListener(notifyChangedListener); + } + + /** + * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void fireNotifyChanged(Notification notification) { + changeNotifier.fireNotifyChanged(notification); + + if (parentAdapterFactory != null) { + parentAdapterFactory.fireNotifyChanged(notification); + } + } + + /** + * This disposes all of the item providers created by this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void dispose() { + if (constraintBlockItemProvider != null) constraintBlockItemProvider.dispose(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/provider/DeprecatedelementsItemProviderAdapterFactory.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/provider/DeprecatedelementsItemProviderAdapterFactory.java new file mode 100644 index 0000000..30261ad --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/provider/DeprecatedelementsItemProviderAdapterFactory.java
@@ -0,0 +1,233 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.deprecatedelements.provider; + +import java.util.ArrayList; +import java.util.Collection; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.edit.provider.ChangeNotifier; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.ComposedAdapterFactory; +import org.eclipse.emf.edit.provider.IChangeNotifier; +import org.eclipse.emf.edit.provider.IDisposable; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.INotifyChangedListener; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; + +import org.eclipse.papyrus.sysml.deprecatedelements.util.DeprecatedelementsAdapterFactory; + +/** + * This is the factory that is used to provide the interfaces needed to support Viewers. + * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. + * The adapters also support Eclipse property sheets. + * Note that most of the adapters are shared among multiple instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class DeprecatedelementsItemProviderAdapterFactory extends DeprecatedelementsAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { + /** + * This keeps track of the root adapter factory that delegates to this adapter factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ComposedAdapterFactory parentAdapterFactory; + + /** + * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected IChangeNotifier changeNotifier = new ChangeNotifier(); + + /** + * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected Collection<Object> supportedTypes = new ArrayList<Object>(); + + /** + * This constructs an instance. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DeprecatedelementsItemProviderAdapterFactory() { + supportedTypes.add(IEditingDomainItemProvider.class); + supportedTypes.add(IStructuredItemContentProvider.class); + supportedTypes.add(ITreeItemContentProvider.class); + supportedTypes.add(IItemLabelProvider.class); + supportedTypes.add(IItemPropertySource.class); + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.deprecatedelements.FlowPort} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected FlowPortItemProvider flowPortItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.deprecatedelements.FlowPort}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createFlowPortAdapter() { + if (flowPortItemProvider == null) { + flowPortItemProvider = new FlowPortItemProvider(this); + } + + return flowPortItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.deprecatedelements.FlowSpecification} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected FlowSpecificationItemProvider flowSpecificationItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.deprecatedelements.FlowSpecification}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createFlowSpecificationAdapter() { + if (flowSpecificationItemProvider == null) { + flowSpecificationItemProvider = new FlowSpecificationItemProvider(this); + } + + return flowSpecificationItemProvider; + } + + /** + * This returns the root adapter factory that contains this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ComposeableAdapterFactory getRootAdapterFactory() { + return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); + } + + /** + * This sets the composed adapter factory that contains this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { + this.parentAdapterFactory = parentAdapterFactory; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean isFactoryForType(Object type) { + return supportedTypes.contains(type) || super.isFactoryForType(type); + } + + /** + * This implementation substitutes the factory itself as the key for the adapter. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter adapt(Notifier notifier, Object type) { + return super.adapt(notifier, this); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object adapt(Object object, Object type) { + if (isFactoryForType(type)) { + Object adapter = super.adapt(object, type); + if (!(type instanceof Class<?>) || (((Class<?>)type).isInstance(adapter))) { + return adapter; + } + } + + return null; + } + + /** + * This adds a listener. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void addListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.addListener(notifyChangedListener); + } + + /** + * This removes a listener. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void removeListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.removeListener(notifyChangedListener); + } + + /** + * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void fireNotifyChanged(Notification notification) { + changeNotifier.fireNotifyChanged(notification); + + if (parentAdapterFactory != null) { + parentAdapterFactory.fireNotifyChanged(notification); + } + } + + /** + * This disposes all of the item providers created by this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void dispose() { + if (flowPortItemProvider != null) flowPortItemProvider.dispose(); + if (flowSpecificationItemProvider != null) flowSpecificationItemProvider.dispose(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/provider/FlowPortItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/provider/FlowPortItemProvider.java new file mode 100644 index 0000000..145343f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/provider/FlowPortItemProvider.java
@@ -0,0 +1,220 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.deprecatedelements.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsPackage; +import org.eclipse.papyrus.sysml.deprecatedelements.FlowPort; + +import org.eclipse.papyrus.sysml.portsandflows.FlowDirection; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.deprecatedelements.FlowPort} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class FlowPortItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FlowPortItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_PortPropertyDescriptor(object); + addDirectionPropertyDescriptor(object); + addIsAtomicPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Port feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_PortPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_FlowPort_base_Port_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_FlowPort_base_Port_feature", "_UI_FlowPort_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + DeprecatedelementsPackage.Literals.FLOW_PORT__BASE_PORT, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Direction feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addDirectionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_FlowPort_direction_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_FlowPort_direction_feature", "_UI_FlowPort_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + DeprecatedelementsPackage.Literals.FLOW_PORT__DIRECTION, + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Is Atomic feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addIsAtomicPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_FlowPort_isAtomic_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_FlowPort_isAtomic_feature", "_UI_FlowPort_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + DeprecatedelementsPackage.Literals.FLOW_PORT__IS_ATOMIC, + true, + false, + false, + ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, + null, + null)); + } + + /** + * This returns FlowPort.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/FlowPort")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + FlowDirection labelValue = ((FlowPort)object).getDirection(); + String label = labelValue == null ? null : labelValue.toString(); + return label == null || label.length() == 0 ? + getString("_UI_FlowPort_type") : //$NON-NLS-1$ + getString("_UI_FlowPort_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(FlowPort.class)) { + case DeprecatedelementsPackage.FLOW_PORT__DIRECTION: + case DeprecatedelementsPackage.FLOW_PORT__IS_ATOMIC: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/provider/FlowSpecificationItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/provider/FlowSpecificationItemProvider.java new file mode 100644 index 0000000..e55609a --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/provider/FlowSpecificationItemProvider.java
@@ -0,0 +1,158 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.deprecatedelements.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.deprecatedelements.FlowSpecification} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class FlowSpecificationItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FlowSpecificationItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_InterfacePropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Interface feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_InterfacePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_FlowSpecification_base_Interface_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_FlowSpecification_base_Interface_feature", "_UI_FlowSpecification_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + DeprecatedelementsPackage.Literals.FLOW_SPECIFICATION__BASE_INTERFACE, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns FlowSpecification.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/FlowSpecification")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_FlowSpecification_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/modelelements/provider/ConformItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/modelelements/provider/ConformItemProvider.java new file mode 100644 index 0000000..a44604e --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/modelelements/provider/ConformItemProvider.java
@@ -0,0 +1,158 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.modelelements.Conform} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class ConformItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ConformItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_GeneralizationPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Generalization feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_GeneralizationPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Conform_base_Generalization_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Conform_base_Generalization_feature", "_UI_Conform_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ModelelementsPackage.Literals.CONFORM__BASE_GENERALIZATION, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns Conform.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/Conform")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_Conform_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/modelelements/provider/ElementGroupItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/modelelements/provider/ElementGroupItemProvider.java new file mode 100644 index 0000000..b67bd0e --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/modelelements/provider/ElementGroupItemProvider.java
@@ -0,0 +1,287 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.papyrus.sysml.modelelements.ElementGroup; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.modelelements.ElementGroup} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class ElementGroupItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ElementGroupItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_CommentPropertyDescriptor(object); + addCriterionPropertyDescriptor(object); + addMemberPropertyDescriptor(object); + addNamePropertyDescriptor(object); + addOrderedMemeberPropertyDescriptor(object); + addSizePropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Comment feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_CommentPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ElementGroup_base_Comment_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ElementGroup_base_Comment_feature", "_UI_ElementGroup_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ModelelementsPackage.Literals.ELEMENT_GROUP__BASE_COMMENT, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Criterion feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addCriterionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ElementGroup_criterion_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ElementGroup_criterion_feature", "_UI_ElementGroup_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ModelelementsPackage.Literals.ELEMENT_GROUP__CRITERION, + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Member feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addMemberPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ElementGroup_member_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ElementGroup_member_feature", "_UI_ElementGroup_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ModelelementsPackage.Literals.ELEMENT_GROUP__MEMBER, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Name feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addNamePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ElementGroup_name_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ElementGroup_name_feature", "_UI_ElementGroup_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ModelelementsPackage.Literals.ELEMENT_GROUP__NAME, + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Ordered Memeber feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addOrderedMemeberPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ElementGroup_orderedMemeber_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ElementGroup_orderedMemeber_feature", "_UI_ElementGroup_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ModelelementsPackage.Literals.ELEMENT_GROUP__ORDERED_MEMEBER, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Size feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addSizePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ElementGroup_size_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ElementGroup_size_feature", "_UI_ElementGroup_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ModelelementsPackage.Literals.ELEMENT_GROUP__SIZE, + true, + false, + false, + ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, + null, + null)); + } + + /** + * This returns ElementGroup.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/ElementGroup")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + String label = ((ElementGroup)object).getName(); + return label == null || label.length() == 0 ? + getString("_UI_ElementGroup_type") : //$NON-NLS-1$ + getString("_UI_ElementGroup_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(ElementGroup.class)) { + case ModelelementsPackage.ELEMENT_GROUP__CRITERION: + case ModelelementsPackage.ELEMENT_GROUP__NAME: + case ModelelementsPackage.ELEMENT_GROUP__SIZE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/modelelements/provider/ExposeItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/modelelements/provider/ExposeItemProvider.java new file mode 100644 index 0000000..468b86d --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/modelelements/provider/ExposeItemProvider.java
@@ -0,0 +1,158 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.modelelements.Expose} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class ExposeItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ExposeItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_DependencyPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Dependency feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_DependencyPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Expose_base_Dependency_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Expose_base_Dependency_feature", "_UI_Expose_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ModelelementsPackage.Literals.EXPOSE__BASE_DEPENDENCY, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns Expose.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/Expose")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_Expose_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/modelelements/provider/ModelelementsItemProviderAdapterFactory.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/modelelements/provider/ModelelementsItemProviderAdapterFactory.java new file mode 100644 index 0000000..60097a6 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/modelelements/provider/ModelelementsItemProviderAdapterFactory.java
@@ -0,0 +1,377 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements.provider; + +import java.util.ArrayList; +import java.util.Collection; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.edit.provider.ChangeNotifier; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.ComposedAdapterFactory; +import org.eclipse.emf.edit.provider.IChangeNotifier; +import org.eclipse.emf.edit.provider.IDisposable; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.INotifyChangedListener; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; + +import org.eclipse.papyrus.sysml.modelelements.util.ModelelementsAdapterFactory; + +/** + * This is the factory that is used to provide the interfaces needed to support Viewers. + * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. + * The adapters also support Eclipse property sheets. + * Note that most of the adapters are shared among multiple instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class ModelelementsItemProviderAdapterFactory extends ModelelementsAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { + /** + * This keeps track of the root adapter factory that delegates to this adapter factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ComposedAdapterFactory parentAdapterFactory; + + /** + * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected IChangeNotifier changeNotifier = new ChangeNotifier(); + + /** + * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected Collection<Object> supportedTypes = new ArrayList<Object>(); + + /** + * This constructs an instance. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ModelelementsItemProviderAdapterFactory() { + supportedTypes.add(IEditingDomainItemProvider.class); + supportedTypes.add(IStructuredItemContentProvider.class); + supportedTypes.add(ITreeItemContentProvider.class); + supportedTypes.add(IItemLabelProvider.class); + supportedTypes.add(IItemPropertySource.class); + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.modelelements.Conform} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ConformItemProvider conformItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.modelelements.Conform}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createConformAdapter() { + if (conformItemProvider == null) { + conformItemProvider = new ConformItemProvider(this); + } + + return conformItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.modelelements.Problem} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ProblemItemProvider problemItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.modelelements.Problem}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createProblemAdapter() { + if (problemItemProvider == null) { + problemItemProvider = new ProblemItemProvider(this); + } + + return problemItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.modelelements.Viewpoint} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ViewpointItemProvider viewpointItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.modelelements.Viewpoint}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createViewpointAdapter() { + if (viewpointItemProvider == null) { + viewpointItemProvider = new ViewpointItemProvider(this); + } + + return viewpointItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.modelelements.Stakeholder} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected StakeholderItemProvider stakeholderItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.modelelements.Stakeholder}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createStakeholderAdapter() { + if (stakeholderItemProvider == null) { + stakeholderItemProvider = new StakeholderItemProvider(this); + } + + return stakeholderItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.modelelements.Rationale} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RationaleItemProvider rationaleItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.modelelements.Rationale}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createRationaleAdapter() { + if (rationaleItemProvider == null) { + rationaleItemProvider = new RationaleItemProvider(this); + } + + return rationaleItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.modelelements.Expose} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ExposeItemProvider exposeItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.modelelements.Expose}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createExposeAdapter() { + if (exposeItemProvider == null) { + exposeItemProvider = new ExposeItemProvider(this); + } + + return exposeItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.modelelements.View} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ViewItemProvider viewItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.modelelements.View}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createViewAdapter() { + if (viewItemProvider == null) { + viewItemProvider = new ViewItemProvider(this); + } + + return viewItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.modelelements.ElementGroup} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ElementGroupItemProvider elementGroupItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.modelelements.ElementGroup}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createElementGroupAdapter() { + if (elementGroupItemProvider == null) { + elementGroupItemProvider = new ElementGroupItemProvider(this); + } + + return elementGroupItemProvider; + } + + /** + * This returns the root adapter factory that contains this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ComposeableAdapterFactory getRootAdapterFactory() { + return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); + } + + /** + * This sets the composed adapter factory that contains this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { + this.parentAdapterFactory = parentAdapterFactory; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean isFactoryForType(Object type) { + return supportedTypes.contains(type) || super.isFactoryForType(type); + } + + /** + * This implementation substitutes the factory itself as the key for the adapter. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter adapt(Notifier notifier, Object type) { + return super.adapt(notifier, this); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object adapt(Object object, Object type) { + if (isFactoryForType(type)) { + Object adapter = super.adapt(object, type); + if (!(type instanceof Class<?>) || (((Class<?>)type).isInstance(adapter))) { + return adapter; + } + } + + return null; + } + + /** + * This adds a listener. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void addListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.addListener(notifyChangedListener); + } + + /** + * This removes a listener. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void removeListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.removeListener(notifyChangedListener); + } + + /** + * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void fireNotifyChanged(Notification notification) { + changeNotifier.fireNotifyChanged(notification); + + if (parentAdapterFactory != null) { + parentAdapterFactory.fireNotifyChanged(notification); + } + } + + /** + * This disposes all of the item providers created by this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void dispose() { + if (conformItemProvider != null) conformItemProvider.dispose(); + if (problemItemProvider != null) problemItemProvider.dispose(); + if (viewpointItemProvider != null) viewpointItemProvider.dispose(); + if (stakeholderItemProvider != null) stakeholderItemProvider.dispose(); + if (rationaleItemProvider != null) rationaleItemProvider.dispose(); + if (exposeItemProvider != null) exposeItemProvider.dispose(); + if (viewItemProvider != null) viewItemProvider.dispose(); + if (elementGroupItemProvider != null) elementGroupItemProvider.dispose(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/modelelements/provider/ProblemItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/modelelements/provider/ProblemItemProvider.java new file mode 100644 index 0000000..f09a145 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/modelelements/provider/ProblemItemProvider.java
@@ -0,0 +1,158 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.modelelements.Problem} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class ProblemItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ProblemItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_CommentPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Comment feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_CommentPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Problem_base_Comment_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Problem_base_Comment_feature", "_UI_Problem_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ModelelementsPackage.Literals.PROBLEM__BASE_COMMENT, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns Problem.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/Problem")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_Problem_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/modelelements/provider/RationaleItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/modelelements/provider/RationaleItemProvider.java new file mode 100644 index 0000000..5aedea4 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/modelelements/provider/RationaleItemProvider.java
@@ -0,0 +1,158 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.modelelements.Rationale} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class RationaleItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RationaleItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_CommentPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Comment feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_CommentPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Rationale_base_Comment_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Rationale_base_Comment_feature", "_UI_Rationale_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ModelelementsPackage.Literals.RATIONALE__BASE_COMMENT, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns Rationale.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/Rationale")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_Rationale_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/modelelements/provider/StakeholderItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/modelelements/provider/StakeholderItemProvider.java new file mode 100644 index 0000000..1a1d6a5 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/modelelements/provider/StakeholderItemProvider.java
@@ -0,0 +1,213 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; +import org.eclipse.papyrus.sysml.modelelements.Stakeholder; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.modelelements.Stakeholder} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class StakeholderItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public StakeholderItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_ClassifierPropertyDescriptor(object); + addConcernPropertyDescriptor(object); + addConcernListPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Classifier feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_ClassifierPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Stakeholder_base_Classifier_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Stakeholder_base_Classifier_feature", "_UI_Stakeholder_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ModelelementsPackage.Literals.STAKEHOLDER__BASE_CLASSIFIER, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Concern feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addConcernPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Stakeholder_concern_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Stakeholder_concern_feature", "_UI_Stakeholder_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ModelelementsPackage.Literals.STAKEHOLDER__CONCERN, + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Concern List feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addConcernListPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Stakeholder_concernList_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Stakeholder_concernList_feature", "_UI_Stakeholder_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ModelelementsPackage.Literals.STAKEHOLDER__CONCERN_LIST, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns Stakeholder.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/Stakeholder")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_Stakeholder_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(Stakeholder.class)) { + case ModelelementsPackage.STAKEHOLDER__CONCERN: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/modelelements/provider/ViewItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/modelelements/provider/ViewItemProvider.java new file mode 100644 index 0000000..9173bc1 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/modelelements/provider/ViewItemProvider.java
@@ -0,0 +1,204 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.modelelements.View} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class ViewItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ViewItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_ClassPropertyDescriptor(object); + addStakeholderPropertyDescriptor(object); + addViewPointPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Class feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_ClassPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_View_base_Class_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_View_base_Class_feature", "_UI_View_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ModelelementsPackage.Literals.VIEW__BASE_CLASS, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Stakeholder feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addStakeholderPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_View_stakeholder_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_View_stakeholder_feature", "_UI_View_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ModelelementsPackage.Literals.VIEW__STAKEHOLDER, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the View Point feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addViewPointPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_View_viewPoint_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_View_viewPoint_feature", "_UI_View_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ModelelementsPackage.Literals.VIEW__VIEW_POINT, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns View.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/View")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_View_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/modelelements/provider/ViewpointItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/modelelements/provider/ViewpointItemProvider.java new file mode 100644 index 0000000..e1eb615 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/modelelements/provider/ViewpointItemProvider.java
@@ -0,0 +1,334 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; +import org.eclipse.papyrus.sysml.modelelements.Viewpoint; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.modelelements.Viewpoint} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class ViewpointItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ViewpointItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_ClassPropertyDescriptor(object); + addConcernPropertyDescriptor(object); + addConcernListPropertyDescriptor(object); + addLanguagePropertyDescriptor(object); + addMethodPropertyDescriptor(object); + addPresentationPropertyDescriptor(object); + addPurposePropertyDescriptor(object); + addStakeholderPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Class feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_ClassPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Viewpoint_base_Class_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Viewpoint_base_Class_feature", "_UI_Viewpoint_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ModelelementsPackage.Literals.VIEWPOINT__BASE_CLASS, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Concern feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addConcernPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Viewpoint_concern_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Viewpoint_concern_feature", "_UI_Viewpoint_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ModelelementsPackage.Literals.VIEWPOINT__CONCERN, + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Concern List feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addConcernListPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Viewpoint_concernList_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Viewpoint_concernList_feature", "_UI_Viewpoint_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ModelelementsPackage.Literals.VIEWPOINT__CONCERN_LIST, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Language feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addLanguagePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Viewpoint_language_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Viewpoint_language_feature", "_UI_Viewpoint_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ModelelementsPackage.Literals.VIEWPOINT__LANGUAGE, + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Method feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addMethodPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Viewpoint_method_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Viewpoint_method_feature", "_UI_Viewpoint_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ModelelementsPackage.Literals.VIEWPOINT__METHOD, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Presentation feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addPresentationPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Viewpoint_presentation_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Viewpoint_presentation_feature", "_UI_Viewpoint_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ModelelementsPackage.Literals.VIEWPOINT__PRESENTATION, + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Purpose feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addPurposePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Viewpoint_purpose_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Viewpoint_purpose_feature", "_UI_Viewpoint_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ModelelementsPackage.Literals.VIEWPOINT__PURPOSE, + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Stakeholder feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addStakeholderPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Viewpoint_stakeholder_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Viewpoint_stakeholder_feature", "_UI_Viewpoint_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + ModelelementsPackage.Literals.VIEWPOINT__STAKEHOLDER, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns Viewpoint.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/Viewpoint")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + String label = ((Viewpoint)object).getPurpose(); + return label == null || label.length() == 0 ? + getString("_UI_Viewpoint_type") : //$NON-NLS-1$ + getString("_UI_Viewpoint_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(Viewpoint.class)) { + case ModelelementsPackage.VIEWPOINT__CONCERN: + case ModelelementsPackage.VIEWPOINT__LANGUAGE: + case ModelelementsPackage.VIEWPOINT__PRESENTATION: + case ModelelementsPackage.VIEWPOINT__PURPOSE: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/AcceptChangeStructuralFeatureEventActionItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/AcceptChangeStructuralFeatureEventActionItemProvider.java new file mode 100644 index 0000000..92de863 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/AcceptChangeStructuralFeatureEventActionItemProvider.java
@@ -0,0 +1,158 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.portsandflows.AcceptChangeStructuralFeatureEventAction} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class AcceptChangeStructuralFeatureEventActionItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AcceptChangeStructuralFeatureEventActionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_AcceptEventActionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Accept Event Action feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_AcceptEventActionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction_feature", "_UI_AcceptChangeStructuralFeatureEventAction_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + PortsandflowsPackage.Literals.ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION__BASE_ACCEPT_EVENT_ACTION, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns AcceptChangeStructuralFeatureEventAction.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/AcceptChangeStructuralFeatureEventAction")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_AcceptChangeStructuralFeatureEventAction_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/ChangeStructuralFeatureEventItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/ChangeStructuralFeatureEventItemProvider.java new file mode 100644 index 0000000..a1e09a3 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/ChangeStructuralFeatureEventItemProvider.java
@@ -0,0 +1,181 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.portsandflows.ChangeStructuralFeatureEvent} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class ChangeStructuralFeatureEventItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ChangeStructuralFeatureEventItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_ChangeEventPropertyDescriptor(object); + addStructuralFeaturePropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Change Event feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_ChangeEventPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ChangeStructuralFeatureEvent_base_ChangeEvent_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ChangeStructuralFeatureEvent_base_ChangeEvent_feature", "_UI_ChangeStructuralFeatureEvent_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + PortsandflowsPackage.Literals.CHANGE_STRUCTURAL_FEATURE_EVENT__BASE_CHANGE_EVENT, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Structural Feature feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addStructuralFeaturePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ChangeStructuralFeatureEvent_structuralFeature_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ChangeStructuralFeatureEvent_structuralFeature_feature", "_UI_ChangeStructuralFeatureEvent_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + PortsandflowsPackage.Literals.CHANGE_STRUCTURAL_FEATURE_EVENT__STRUCTURAL_FEATURE, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns ChangeStructuralFeatureEvent.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/ChangeStructuralFeatureEvent")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_ChangeStructuralFeatureEvent_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/DirectedFeatureItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/DirectedFeatureItemProvider.java new file mode 100644 index 0000000..b30d0c5 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/DirectedFeatureItemProvider.java
@@ -0,0 +1,195 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.papyrus.sysml.portsandflows.DirectedFeature; +import org.eclipse.papyrus.sysml.portsandflows.FeatureDirection; +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.portsandflows.DirectedFeature} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class DirectedFeatureItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DirectedFeatureItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_FeaturePropertyDescriptor(object); + addFeatureDirectionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Feature feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_FeaturePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_DirectedFeature_base_Feature_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_DirectedFeature_base_Feature_feature", "_UI_DirectedFeature_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + PortsandflowsPackage.Literals.DIRECTED_FEATURE__BASE_FEATURE, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Feature Direction feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addFeatureDirectionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_DirectedFeature_featureDirection_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_DirectedFeature_featureDirection_feature", "_UI_DirectedFeature_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + PortsandflowsPackage.Literals.DIRECTED_FEATURE__FEATURE_DIRECTION, + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This returns DirectedFeature.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/DirectedFeature")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + FeatureDirection labelValue = ((DirectedFeature)object).getFeatureDirection(); + String label = labelValue == null ? null : labelValue.toString(); + return label == null || label.length() == 0 ? + getString("_UI_DirectedFeature_type") : //$NON-NLS-1$ + getString("_UI_DirectedFeature_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(DirectedFeature.class)) { + case PortsandflowsPackage.DIRECTED_FEATURE__FEATURE_DIRECTION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/FlowPropertyItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/FlowPropertyItemProvider.java new file mode 100644 index 0000000..c36647d --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/FlowPropertyItemProvider.java
@@ -0,0 +1,195 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.papyrus.sysml.portsandflows.FlowDirection; +import org.eclipse.papyrus.sysml.portsandflows.FlowProperty; +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.portsandflows.FlowProperty} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class FlowPropertyItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FlowPropertyItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_PropertyPropertyDescriptor(object); + addDirectionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Property feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_PropertyPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_FlowProperty_base_Property_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_FlowProperty_base_Property_feature", "_UI_FlowProperty_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + PortsandflowsPackage.Literals.FLOW_PROPERTY__BASE_PROPERTY, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Direction feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addDirectionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_FlowProperty_direction_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_FlowProperty_direction_feature", "_UI_FlowProperty_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + PortsandflowsPackage.Literals.FLOW_PROPERTY__DIRECTION, + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This returns FlowProperty.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/FlowProperty")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + FlowDirection labelValue = ((FlowProperty)object).getDirection(); + String label = labelValue == null ? null : labelValue.toString(); + return label == null || label.length() == 0 ? + getString("_UI_FlowProperty_type") : //$NON-NLS-1$ + getString("_UI_FlowProperty_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(FlowProperty.class)) { + case PortsandflowsPackage.FLOW_PROPERTY__DIRECTION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/FullPortItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/FullPortItemProvider.java new file mode 100644 index 0000000..36b7464 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/FullPortItemProvider.java
@@ -0,0 +1,158 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.portsandflows.FullPort} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class FullPortItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FullPortItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_PortPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Port feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_PortPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_FullPort_base_Port_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_FullPort_base_Port_feature", "_UI_FullPort_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + PortsandflowsPackage.Literals.FULL_PORT__BASE_PORT, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns FullPort.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/FullPort")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_FullPort_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/InterfaceBlockItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/InterfaceBlockItemProvider.java new file mode 100644 index 0000000..a162994 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/InterfaceBlockItemProvider.java
@@ -0,0 +1,124 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; + +import org.eclipse.papyrus.sysml.blocks.provider.BlockItemProvider; + +import org.eclipse.papyrus.sysml.portsandflows.InterfaceBlock; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.portsandflows.InterfaceBlock} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class InterfaceBlockItemProvider extends BlockItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public InterfaceBlockItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * This returns InterfaceBlock.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/InterfaceBlock")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + InterfaceBlock interfaceBlock = (InterfaceBlock)object; + return getString("_UI_InterfaceBlock_type") + " " + interfaceBlock.isEncapsulated(); //$NON-NLS-1$ //$NON-NLS-2$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/InvocationOnNestedPortActionItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/InvocationOnNestedPortActionItemProvider.java new file mode 100644 index 0000000..4c81d19 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/InvocationOnNestedPortActionItemProvider.java
@@ -0,0 +1,170 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; + +import org.eclipse.papyrus.sysml.blocks.provider.ElementPropertyPathItemProvider; + +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.portsandflows.InvocationOnNestedPortAction} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class InvocationOnNestedPortActionItemProvider extends ElementPropertyPathItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public InvocationOnNestedPortActionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_InvocationActionPropertyDescriptor(object); + addOnNestedPortPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Invocation Action feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_InvocationActionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_InvocationOnNestedPortAction_base_InvocationAction_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_InvocationOnNestedPortAction_base_InvocationAction_feature", "_UI_InvocationOnNestedPortAction_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + PortsandflowsPackage.Literals.INVOCATION_ON_NESTED_PORT_ACTION__BASE_INVOCATION_ACTION, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the On Nested Port feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addOnNestedPortPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_InvocationOnNestedPortAction_onNestedPort_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_InvocationOnNestedPortAction_onNestedPort_feature", "_UI_InvocationOnNestedPortAction_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + PortsandflowsPackage.Literals.INVOCATION_ON_NESTED_PORT_ACTION__ON_NESTED_PORT, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns InvocationOnNestedPortAction.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/InvocationOnNestedPortAction")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_InvocationOnNestedPortAction_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/ItemFlowItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/ItemFlowItemProvider.java new file mode 100644 index 0000000..13db1a0 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/ItemFlowItemProvider.java
@@ -0,0 +1,181 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.portsandflows.ItemFlow} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class ItemFlowItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ItemFlowItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_InformationFlowPropertyDescriptor(object); + addItemPropertyPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Information Flow feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_InformationFlowPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ItemFlow_base_InformationFlow_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ItemFlow_base_InformationFlow_feature", "_UI_ItemFlow_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + PortsandflowsPackage.Literals.ITEM_FLOW__BASE_INFORMATION_FLOW, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Item Property feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addItemPropertyPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ItemFlow_itemProperty_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ItemFlow_itemProperty_feature", "_UI_ItemFlow_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + PortsandflowsPackage.Literals.ITEM_FLOW__ITEM_PROPERTY, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns ItemFlow.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/ItemFlow")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_ItemFlow_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/PortsandflowsItemProviderAdapterFactory.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/PortsandflowsItemProviderAdapterFactory.java new file mode 100644 index 0000000..4fa01e5 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/PortsandflowsItemProviderAdapterFactory.java
@@ -0,0 +1,425 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows.provider; + +import java.util.ArrayList; +import java.util.Collection; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.edit.provider.ChangeNotifier; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.ComposedAdapterFactory; +import org.eclipse.emf.edit.provider.IChangeNotifier; +import org.eclipse.emf.edit.provider.IDisposable; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.INotifyChangedListener; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; + +import org.eclipse.papyrus.sysml.portsandflows.util.PortsandflowsAdapterFactory; + +/** + * This is the factory that is used to provide the interfaces needed to support Viewers. + * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. + * The adapters also support Eclipse property sheets. + * Note that most of the adapters are shared among multiple instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class PortsandflowsItemProviderAdapterFactory extends PortsandflowsAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { + /** + * This keeps track of the root adapter factory that delegates to this adapter factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ComposedAdapterFactory parentAdapterFactory; + + /** + * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected IChangeNotifier changeNotifier = new ChangeNotifier(); + + /** + * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected Collection<Object> supportedTypes = new ArrayList<Object>(); + + /** + * This constructs an instance. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PortsandflowsItemProviderAdapterFactory() { + supportedTypes.add(IEditingDomainItemProvider.class); + supportedTypes.add(IStructuredItemContentProvider.class); + supportedTypes.add(ITreeItemContentProvider.class); + supportedTypes.add(IItemLabelProvider.class); + supportedTypes.add(IItemPropertySource.class); + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.portsandflows.ItemFlow} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ItemFlowItemProvider itemFlowItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.portsandflows.ItemFlow}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createItemFlowAdapter() { + if (itemFlowItemProvider == null) { + itemFlowItemProvider = new ItemFlowItemProvider(this); + } + + return itemFlowItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.portsandflows.ProxyPort} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ProxyPortItemProvider proxyPortItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.portsandflows.ProxyPort}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createProxyPortAdapter() { + if (proxyPortItemProvider == null) { + proxyPortItemProvider = new ProxyPortItemProvider(this); + } + + return proxyPortItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.portsandflows.FullPort} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected FullPortItemProvider fullPortItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.portsandflows.FullPort}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createFullPortAdapter() { + if (fullPortItemProvider == null) { + fullPortItemProvider = new FullPortItemProvider(this); + } + + return fullPortItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.portsandflows.InvocationOnNestedPortAction} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected InvocationOnNestedPortActionItemProvider invocationOnNestedPortActionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.portsandflows.InvocationOnNestedPortAction}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createInvocationOnNestedPortActionAdapter() { + if (invocationOnNestedPortActionItemProvider == null) { + invocationOnNestedPortActionItemProvider = new InvocationOnNestedPortActionItemProvider(this); + } + + return invocationOnNestedPortActionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.portsandflows.InterfaceBlock} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected InterfaceBlockItemProvider interfaceBlockItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.portsandflows.InterfaceBlock}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createInterfaceBlockAdapter() { + if (interfaceBlockItemProvider == null) { + interfaceBlockItemProvider = new InterfaceBlockItemProvider(this); + } + + return interfaceBlockItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.portsandflows.FlowProperty} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected FlowPropertyItemProvider flowPropertyItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.portsandflows.FlowProperty}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createFlowPropertyAdapter() { + if (flowPropertyItemProvider == null) { + flowPropertyItemProvider = new FlowPropertyItemProvider(this); + } + + return flowPropertyItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.portsandflows.ChangeStructuralFeatureEvent} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ChangeStructuralFeatureEventItemProvider changeStructuralFeatureEventItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.portsandflows.ChangeStructuralFeatureEvent}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createChangeStructuralFeatureEventAdapter() { + if (changeStructuralFeatureEventItemProvider == null) { + changeStructuralFeatureEventItemProvider = new ChangeStructuralFeatureEventItemProvider(this); + } + + return changeStructuralFeatureEventItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.portsandflows.TriggerOnNestedPort} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected TriggerOnNestedPortItemProvider triggerOnNestedPortItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.portsandflows.TriggerOnNestedPort}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createTriggerOnNestedPortAdapter() { + if (triggerOnNestedPortItemProvider == null) { + triggerOnNestedPortItemProvider = new TriggerOnNestedPortItemProvider(this); + } + + return triggerOnNestedPortItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.portsandflows.AcceptChangeStructuralFeatureEventAction} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected AcceptChangeStructuralFeatureEventActionItemProvider acceptChangeStructuralFeatureEventActionItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.portsandflows.AcceptChangeStructuralFeatureEventAction}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createAcceptChangeStructuralFeatureEventActionAdapter() { + if (acceptChangeStructuralFeatureEventActionItemProvider == null) { + acceptChangeStructuralFeatureEventActionItemProvider = new AcceptChangeStructuralFeatureEventActionItemProvider(this); + } + + return acceptChangeStructuralFeatureEventActionItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.portsandflows.DirectedFeature} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DirectedFeatureItemProvider directedFeatureItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.portsandflows.DirectedFeature}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createDirectedFeatureAdapter() { + if (directedFeatureItemProvider == null) { + directedFeatureItemProvider = new DirectedFeatureItemProvider(this); + } + + return directedFeatureItemProvider; + } + + /** + * This returns the root adapter factory that contains this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ComposeableAdapterFactory getRootAdapterFactory() { + return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); + } + + /** + * This sets the composed adapter factory that contains this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { + this.parentAdapterFactory = parentAdapterFactory; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean isFactoryForType(Object type) { + return supportedTypes.contains(type) || super.isFactoryForType(type); + } + + /** + * This implementation substitutes the factory itself as the key for the adapter. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter adapt(Notifier notifier, Object type) { + return super.adapt(notifier, this); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object adapt(Object object, Object type) { + if (isFactoryForType(type)) { + Object adapter = super.adapt(object, type); + if (!(type instanceof Class<?>) || (((Class<?>)type).isInstance(adapter))) { + return adapter; + } + } + + return null; + } + + /** + * This adds a listener. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void addListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.addListener(notifyChangedListener); + } + + /** + * This removes a listener. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void removeListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.removeListener(notifyChangedListener); + } + + /** + * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void fireNotifyChanged(Notification notification) { + changeNotifier.fireNotifyChanged(notification); + + if (parentAdapterFactory != null) { + parentAdapterFactory.fireNotifyChanged(notification); + } + } + + /** + * This disposes all of the item providers created by this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void dispose() { + if (itemFlowItemProvider != null) itemFlowItemProvider.dispose(); + if (proxyPortItemProvider != null) proxyPortItemProvider.dispose(); + if (fullPortItemProvider != null) fullPortItemProvider.dispose(); + if (invocationOnNestedPortActionItemProvider != null) invocationOnNestedPortActionItemProvider.dispose(); + if (interfaceBlockItemProvider != null) interfaceBlockItemProvider.dispose(); + if (flowPropertyItemProvider != null) flowPropertyItemProvider.dispose(); + if (changeStructuralFeatureEventItemProvider != null) changeStructuralFeatureEventItemProvider.dispose(); + if (triggerOnNestedPortItemProvider != null) triggerOnNestedPortItemProvider.dispose(); + if (acceptChangeStructuralFeatureEventActionItemProvider != null) acceptChangeStructuralFeatureEventActionItemProvider.dispose(); + if (directedFeatureItemProvider != null) directedFeatureItemProvider.dispose(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/ProxyPortItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/ProxyPortItemProvider.java new file mode 100644 index 0000000..80ab13f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/ProxyPortItemProvider.java
@@ -0,0 +1,158 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.portsandflows.ProxyPort} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class ProxyPortItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ProxyPortItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_PortPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Port feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_PortPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ProxyPort_base_Port_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ProxyPort_base_Port_feature", "_UI_ProxyPort_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + PortsandflowsPackage.Literals.PROXY_PORT__BASE_PORT, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns ProxyPort.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/ProxyPort")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_ProxyPort_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/TriggerOnNestedPortItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/TriggerOnNestedPortItemProvider.java new file mode 100644 index 0000000..6c77346 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/portsandflows/provider/TriggerOnNestedPortItemProvider.java
@@ -0,0 +1,170 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; + +import org.eclipse.papyrus.sysml.blocks.provider.ElementPropertyPathItemProvider; + +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.portsandflows.TriggerOnNestedPort} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class TriggerOnNestedPortItemProvider extends ElementPropertyPathItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public TriggerOnNestedPortItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_TriggerPropertyDescriptor(object); + addOnNestedPortPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Trigger feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_TriggerPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_TriggerOnNestedPort_base_Trigger_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_TriggerOnNestedPort_base_Trigger_feature", "_UI_TriggerOnNestedPort_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + PortsandflowsPackage.Literals.TRIGGER_ON_NESTED_PORT__BASE_TRIGGER, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the On Nested Port feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addOnNestedPortPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_TriggerOnNestedPort_onNestedPort_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_TriggerOnNestedPort_onNestedPort_feature", "_UI_TriggerOnNestedPort_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + PortsandflowsPackage.Literals.TRIGGER_ON_NESTED_PORT__ON_NESTED_PORT, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns TriggerOnNestedPort.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/TriggerOnNestedPort")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_TriggerOnNestedPort_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/provider/SysMLEditPlugin.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/provider/SysMLEditPlugin.java new file mode 100644 index 0000000..8106d48 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/provider/SysMLEditPlugin.java
@@ -0,0 +1,105 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.provider; + +import org.eclipse.emf.common.EMFPlugin; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.ecore.provider.EcoreEditPlugin; + +import org.eclipse.uml2.uml.edit.UMLEditPlugin; + +/** + * This is the central singleton for the SysML edit plugin. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public final class SysMLEditPlugin extends EMFPlugin { + /** + * Keep track of the singleton. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final SysMLEditPlugin INSTANCE = new SysMLEditPlugin(); + + /** + * Keep track of the singleton. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static Implementation plugin; + + /** + * Create the instance. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public SysMLEditPlugin() { + super + (new ResourceLocator [] { + EcoreEditPlugin.INSTANCE, + UMLEditPlugin.INSTANCE, + }); + } + + /** + * Returns the singleton instance of the Eclipse plugin. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the singleton instance. + * @generated + */ + @Override + public ResourceLocator getPluginResourceLocator() { + return plugin; + } + + /** + * Returns the singleton instance of the Eclipse plugin. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the singleton instance. + * @generated + */ + public static Implementation getPlugin() { + return plugin; + } + + /** + * The actual implementation of the Eclipse <b>Plugin</b>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static class Implementation extends EclipsePlugin { + /** + * Creates an instance. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Implementation() { + super(); + + // Remember the static instance. + // + plugin = this; + } + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/AbstractRequirementItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/AbstractRequirementItemProvider.java new file mode 100644 index 0000000..f60c035 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/AbstractRequirementItemProvider.java
@@ -0,0 +1,367 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +import org.eclipse.papyrus.sysml.requirements.AbstractRequirement; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class AbstractRequirementItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AbstractRequirementItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_NamedElementPropertyDescriptor(object); + addDerivedPropertyDescriptor(object); + addDerivedFromPropertyDescriptor(object); + addIdPropertyDescriptor(object); + addMasterPropertyDescriptor(object); + addRefinedByPropertyDescriptor(object); + addSatisfiedByPropertyDescriptor(object); + addTextPropertyDescriptor(object); + addTracedToPropertyDescriptor(object); + addVerifiedByPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Named Element feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_NamedElementPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_AbstractRequirement_base_NamedElement_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_AbstractRequirement_base_NamedElement_feature", "_UI_AbstractRequirement_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + RequirementsPackage.Literals.ABSTRACT_REQUIREMENT__BASE_NAMED_ELEMENT, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Derived feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addDerivedPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_AbstractRequirement_derived_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_AbstractRequirement_derived_feature", "_UI_AbstractRequirement_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + RequirementsPackage.Literals.ABSTRACT_REQUIREMENT__DERIVED, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Derived From feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addDerivedFromPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_AbstractRequirement_derivedFrom_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_AbstractRequirement_derivedFrom_feature", "_UI_AbstractRequirement_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + RequirementsPackage.Literals.ABSTRACT_REQUIREMENT__DERIVED_FROM, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Id feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addIdPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_AbstractRequirement_id_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_AbstractRequirement_id_feature", "_UI_AbstractRequirement_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + RequirementsPackage.Literals.ABSTRACT_REQUIREMENT__ID, + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Master feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addMasterPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_AbstractRequirement_master_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_AbstractRequirement_master_feature", "_UI_AbstractRequirement_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + RequirementsPackage.Literals.ABSTRACT_REQUIREMENT__MASTER, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Refined By feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addRefinedByPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_AbstractRequirement_refinedBy_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_AbstractRequirement_refinedBy_feature", "_UI_AbstractRequirement_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + RequirementsPackage.Literals.ABSTRACT_REQUIREMENT__REFINED_BY, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Satisfied By feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addSatisfiedByPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_AbstractRequirement_satisfiedBy_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_AbstractRequirement_satisfiedBy_feature", "_UI_AbstractRequirement_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + RequirementsPackage.Literals.ABSTRACT_REQUIREMENT__SATISFIED_BY, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Text feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addTextPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_AbstractRequirement_text_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_AbstractRequirement_text_feature", "_UI_AbstractRequirement_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + RequirementsPackage.Literals.ABSTRACT_REQUIREMENT__TEXT, + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Traced To feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addTracedToPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_AbstractRequirement_tracedTo_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_AbstractRequirement_tracedTo_feature", "_UI_AbstractRequirement_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + RequirementsPackage.Literals.ABSTRACT_REQUIREMENT__TRACED_TO, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Verified By feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addVerifiedByPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_AbstractRequirement_verifiedBy_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_AbstractRequirement_verifiedBy_feature", "_UI_AbstractRequirement_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + RequirementsPackage.Literals.ABSTRACT_REQUIREMENT__VERIFIED_BY, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + String label = ((AbstractRequirement)object).getId(); + return label == null || label.length() == 0 ? + getString("_UI_AbstractRequirement_type") : //$NON-NLS-1$ + getString("_UI_AbstractRequirement_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(AbstractRequirement.class)) { + case RequirementsPackage.ABSTRACT_REQUIREMENT__ID: + case RequirementsPackage.ABSTRACT_REQUIREMENT__TEXT: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/CopyItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/CopyItemProvider.java new file mode 100644 index 0000000..2d714e7 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/CopyItemProvider.java
@@ -0,0 +1,104 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.requirements.Copy} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class CopyItemProvider extends TraceItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public CopyItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * This returns Copy.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/Copy")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_Copy_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/DeriveReqtItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/DeriveReqtItemProvider.java new file mode 100644 index 0000000..c8e4214 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/DeriveReqtItemProvider.java
@@ -0,0 +1,104 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.requirements.DeriveReqt} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class DeriveReqtItemProvider extends TraceItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DeriveReqtItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * This returns DeriveReqt.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/DeriveReqt")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_DeriveReqt_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/RefineItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/RefineItemProvider.java new file mode 100644 index 0000000..906a431 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/RefineItemProvider.java
@@ -0,0 +1,147 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; + +import org.eclipse.papyrus.sysml.blocks.provider.DirectedRelationshipPropertyPathItemProvider; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.requirements.Refine} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class RefineItemProvider extends DirectedRelationshipPropertyPathItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RefineItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_AbstractionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Abstraction feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_AbstractionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Refine_base_Abstraction_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Refine_base_Abstraction_feature", "_UI_Refine_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + RequirementsPackage.Literals.REFINE__BASE_ABSTRACTION, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns Refine.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/Refine")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_Refine_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/RequirementItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/RequirementItemProvider.java new file mode 100644 index 0000000..004fcc6 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/RequirementItemProvider.java
@@ -0,0 +1,134 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; + +import org.eclipse.papyrus.sysml.requirements.Requirement; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.requirements.Requirement} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class RequirementItemProvider extends AbstractRequirementItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RequirementItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_ClassPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Class feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_ClassPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Requirement_base_Class_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Requirement_base_Class_feature", "_UI_Requirement_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + RequirementsPackage.Literals.REQUIREMENT__BASE_CLASS, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns Requirement.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/Requirement")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + String label = ((Requirement)object).getId(); + return label == null || label.length() == 0 ? + getString("_UI_Requirement_type") : //$NON-NLS-1$ + getString("_UI_Requirement_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/RequirementsItemProviderAdapterFactory.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/RequirementsItemProviderAdapterFactory.java new file mode 100644 index 0000000..b3b57d1 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/RequirementsItemProviderAdapterFactory.java
@@ -0,0 +1,377 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements.provider; + +import java.util.ArrayList; +import java.util.Collection; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.edit.provider.ChangeNotifier; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.ComposedAdapterFactory; +import org.eclipse.emf.edit.provider.IChangeNotifier; +import org.eclipse.emf.edit.provider.IDisposable; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.INotifyChangedListener; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; + +import org.eclipse.papyrus.sysml.requirements.util.RequirementsAdapterFactory; + +/** + * This is the factory that is used to provide the interfaces needed to support Viewers. + * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. + * The adapters also support Eclipse property sheets. + * Note that most of the adapters are shared among multiple instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class RequirementsItemProviderAdapterFactory extends RequirementsAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { + /** + * This keeps track of the root adapter factory that delegates to this adapter factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ComposedAdapterFactory parentAdapterFactory; + + /** + * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected IChangeNotifier changeNotifier = new ChangeNotifier(); + + /** + * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected Collection<Object> supportedTypes = new ArrayList<Object>(); + + /** + * This constructs an instance. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RequirementsItemProviderAdapterFactory() { + supportedTypes.add(IEditingDomainItemProvider.class); + supportedTypes.add(IStructuredItemContentProvider.class); + supportedTypes.add(ITreeItemContentProvider.class); + supportedTypes.add(IItemLabelProvider.class); + supportedTypes.add(IItemPropertySource.class); + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.requirements.Copy} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected CopyItemProvider copyItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.requirements.Copy}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createCopyAdapter() { + if (copyItemProvider == null) { + copyItemProvider = new CopyItemProvider(this); + } + + return copyItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.requirements.Trace} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected TraceItemProvider traceItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.requirements.Trace}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createTraceAdapter() { + if (traceItemProvider == null) { + traceItemProvider = new TraceItemProvider(this); + } + + return traceItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.requirements.DeriveReqt} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DeriveReqtItemProvider deriveReqtItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.requirements.DeriveReqt}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createDeriveReqtAdapter() { + if (deriveReqtItemProvider == null) { + deriveReqtItemProvider = new DeriveReqtItemProvider(this); + } + + return deriveReqtItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.requirements.Verify} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected VerifyItemProvider verifyItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.requirements.Verify}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createVerifyAdapter() { + if (verifyItemProvider == null) { + verifyItemProvider = new VerifyItemProvider(this); + } + + return verifyItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.requirements.Refine} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RefineItemProvider refineItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.requirements.Refine}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createRefineAdapter() { + if (refineItemProvider == null) { + refineItemProvider = new RefineItemProvider(this); + } + + return refineItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.requirements.Satisfy} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected SatisfyItemProvider satisfyItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.requirements.Satisfy}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createSatisfyAdapter() { + if (satisfyItemProvider == null) { + satisfyItemProvider = new SatisfyItemProvider(this); + } + + return satisfyItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.requirements.TestCase} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected TestCaseItemProvider testCaseItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.requirements.TestCase}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createTestCaseAdapter() { + if (testCaseItemProvider == null) { + testCaseItemProvider = new TestCaseItemProvider(this); + } + + return testCaseItemProvider; + } + + /** + * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml.requirements.Requirement} instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RequirementItemProvider requirementItemProvider; + + /** + * This creates an adapter for a {@link org.eclipse.papyrus.sysml.requirements.Requirement}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter createRequirementAdapter() { + if (requirementItemProvider == null) { + requirementItemProvider = new RequirementItemProvider(this); + } + + return requirementItemProvider; + } + + /** + * This returns the root adapter factory that contains this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ComposeableAdapterFactory getRootAdapterFactory() { + return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); + } + + /** + * This sets the composed adapter factory that contains this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { + this.parentAdapterFactory = parentAdapterFactory; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean isFactoryForType(Object type) { + return supportedTypes.contains(type) || super.isFactoryForType(type); + } + + /** + * This implementation substitutes the factory itself as the key for the adapter. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Adapter adapt(Notifier notifier, Object type) { + return super.adapt(notifier, this); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object adapt(Object object, Object type) { + if (isFactoryForType(type)) { + Object adapter = super.adapt(object, type); + if (!(type instanceof Class<?>) || (((Class<?>)type).isInstance(adapter))) { + return adapter; + } + } + + return null; + } + + /** + * This adds a listener. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void addListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.addListener(notifyChangedListener); + } + + /** + * This removes a listener. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void removeListener(INotifyChangedListener notifyChangedListener) { + changeNotifier.removeListener(notifyChangedListener); + } + + /** + * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void fireNotifyChanged(Notification notification) { + changeNotifier.fireNotifyChanged(notification); + + if (parentAdapterFactory != null) { + parentAdapterFactory.fireNotifyChanged(notification); + } + } + + /** + * This disposes all of the item providers created by this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void dispose() { + if (copyItemProvider != null) copyItemProvider.dispose(); + if (traceItemProvider != null) traceItemProvider.dispose(); + if (deriveReqtItemProvider != null) deriveReqtItemProvider.dispose(); + if (verifyItemProvider != null) verifyItemProvider.dispose(); + if (refineItemProvider != null) refineItemProvider.dispose(); + if (satisfyItemProvider != null) satisfyItemProvider.dispose(); + if (testCaseItemProvider != null) testCaseItemProvider.dispose(); + if (requirementItemProvider != null) requirementItemProvider.dispose(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/SatisfyItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/SatisfyItemProvider.java new file mode 100644 index 0000000..7794216 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/SatisfyItemProvider.java
@@ -0,0 +1,104 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.requirements.Satisfy} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class SatisfyItemProvider extends TraceItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public SatisfyItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * This returns Satisfy.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/Satisfy")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_Satisfy_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/TestCaseItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/TestCaseItemProvider.java new file mode 100644 index 0000000..b05dfb4 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/TestCaseItemProvider.java
@@ -0,0 +1,181 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.requirements.TestCase} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class TestCaseItemProvider + extends ItemProviderAdapter + implements + IEditingDomainItemProvider, + IStructuredItemContentProvider, + ITreeItemContentProvider, + IItemLabelProvider, + IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public TestCaseItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_BehaviorPropertyDescriptor(object); + addBase_OperationPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Behavior feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_BehaviorPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_TestCase_base_Behavior_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_TestCase_base_Behavior_feature", "_UI_TestCase_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + RequirementsPackage.Literals.TEST_CASE__BASE_BEHAVIOR, + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Base Operation feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_OperationPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_TestCase_base_Operation_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_TestCase_base_Operation_feature", "_UI_TestCase_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + RequirementsPackage.Literals.TEST_CASE__BASE_OPERATION, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns TestCase.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/TestCase")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_TestCase_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/TraceItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/TraceItemProvider.java new file mode 100644 index 0000000..a1254fb --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/TraceItemProvider.java
@@ -0,0 +1,147 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; + +import org.eclipse.papyrus.sysml.blocks.provider.DirectedRelationshipPropertyPathItemProvider; + +import org.eclipse.papyrus.sysml.provider.SysMLEditPlugin; + +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.requirements.Trace} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class TraceItemProvider extends DirectedRelationshipPropertyPathItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public TraceItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addBase_AbstractionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Base Abstraction feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addBase_AbstractionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_Trace_base_Abstraction_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_Trace_base_Abstraction_feature", "_UI_Trace_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + RequirementsPackage.Literals.TRACE__BASE_ABSTRACTION, + true, + false, + true, + null, + null, + null)); + } + + /** + * This returns Trace.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/Trace")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_Trace_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return SysMLEditPlugin.INSTANCE; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/VerifyItemProvider.java b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/VerifyItemProvider.java new file mode 100644 index 0000000..190ecc4 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src-gen/org/eclipse/papyrus/sysml/requirements/provider/VerifyItemProvider.java
@@ -0,0 +1,104 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml.requirements.Verify} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class VerifyItemProvider extends TraceItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public VerifyItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * This returns Verify.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/Verify")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + return getString("_UI_Verify_type"); //$NON-NLS-1$ + } + + + /** + * This handles model notifications by calling {@link #updateChildren} to update any cached + * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children + * that can be created under this object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src/org/eclipse/papyrus/sysml/edit/provider/IComposableAdapterFactory.java b/core/org.eclipse.papyrus.sysml.edit/src/org/eclipse/papyrus/sysml/edit/provider/IComposableAdapterFactory.java new file mode 100644 index 0000000..22a1444 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src/org/eclipse/papyrus/sysml/edit/provider/IComposableAdapterFactory.java
@@ -0,0 +1,36 @@ +/***************************************************************************** + * Copyright (c) 2011 Atos. + * + * + * 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: + * Arthur Daussy (Atos) arthur.daussy@atos.net - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.edit.provider; + + +/** + * The purpose of this interface is to create composable adapterFactory but in a + * way much simpler than EMF does. + * + */ +public interface IComposableAdapterFactory { + + /** + * Return the root of the adapter factory + * + * @return {@link org.eclipse.emf.common.notify.AdapterFactory} + */ + IRootAdapterFactory getIRootAdapterFactory(); + + /** + * Set the root AdapterFactory + * + * @param root + */ + void setRootAdapterFactory(IRootAdapterFactory root); +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src/org/eclipse/papyrus/sysml/edit/provider/IRootAdapterFactory.java b/core/org.eclipse.papyrus.sysml.edit/src/org/eclipse/papyrus/sysml/edit/provider/IRootAdapterFactory.java new file mode 100644 index 0000000..b27899b --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src/org/eclipse/papyrus/sysml/edit/provider/IRootAdapterFactory.java
@@ -0,0 +1,31 @@ +/***************************************************************************** + * Copyright (c) 2011 Atos. + * + * + * 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: + * Atos - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.edit.provider; + +/** + * Interfaces which has to be implemented by Root AdapterFactory + */ +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; + +public interface IRootAdapterFactory { + + /** + * Give back the itemProvider which correspond to the given EClass In this + * prog : used to get back the UML ItemProvider of the EClass + * + * @param eClass + * @return + */ + ItemProviderAdapter getItemProvider(EClass eClass); +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src/org/eclipse/papyrus/sysml/edit/provider/IVisibilityOverlayImage.java b/core/org.eclipse.papyrus.sysml.edit/src/org/eclipse/papyrus/sysml/edit/provider/IVisibilityOverlayImage.java new file mode 100644 index 0000000..0d58496 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src/org/eclipse/papyrus/sysml/edit/provider/IVisibilityOverlayImage.java
@@ -0,0 +1,25 @@ +/***************************************************************************** + * Copyright (c) 2011 Atos. + * + * + * 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: + * Arthur Daussy (Atos) arthur.daussy@atos.net - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.edit.provider; + +import org.eclipse.emf.edit.provider.ComposedImage; + +/** + * Interface that allow an ItemProvider to compose an overlay that handle + * visibility logo + * + */ +public interface IVisibilityOverlayImage { + + ComposedImage composeVisibilityImage(Object object, ComposedImage composedImage); +}
diff --git a/core/org.eclipse.papyrus.sysml.edit/src/org/eclipse/papyrus/sysml/edit/provider/SysMLItemProviderAdapter.java b/core/org.eclipse.papyrus.sysml.edit/src/org/eclipse/papyrus/sysml/edit/provider/SysMLItemProviderAdapter.java new file mode 100644 index 0000000..74bf2aa --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.edit/src/org/eclipse/papyrus/sysml/edit/provider/SysMLItemProviderAdapter.java
@@ -0,0 +1,51 @@ +/***************************************************************************** + * Copyright (c) 2011 Atos Origin. + * + * + * 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: + * Arthur Daussy (Atos) arthur.daussy@atos.net - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.edit.provider; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.edit.provider.ComposedImage; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.uml2.uml.NamedElement; +import org.eclipse.uml2.uml.edit.UMLEditPlugin; + +/** + * Extends org.eclipse.emf.edit.provider.ItemProviderAdapter in order to + * implement specific SysML itemProvider fonctions + * + */ +public class SysMLItemProviderAdapter extends ItemProviderAdapter implements IVisibilityOverlayImage { + + private static final String FULL_OVR16_VISIBILITY_KIND = "full/ovr16/VisibilityKind_"; //$NON-NLS-1$ + + public SysMLItemProviderAdapter(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * Compose the image with specific visibility logo Copied from UML + * implementation + * + * @param object + * @param composedImage + * @return {@link ComposedImage} + */ + public ComposedImage composeVisibilityImage(Object object, ComposedImage composedImage) { + NamedElement namedElement = (NamedElement) object; + if (namedElement.isSetVisibility()) { + composedImage.getImages().add(UMLEditPlugin.INSTANCE.getImage(FULL_OVR16_VISIBILITY_KIND + + namedElement.getVisibility().getName())); + } + return composedImage; + } +}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types.tests/.classpath b/core/org.eclipse.papyrus.sysml.service.types.tests/.classpath similarity index 100% rename from core/org.eclipse.papyrus.sysml14.service.types.tests/.classpath rename to core/org.eclipse.papyrus.sysml.service.types.tests/.classpath
diff --git a/core/org.eclipse.papyrus.sysml.service.types.tests/.project b/core/org.eclipse.papyrus.sysml.service.types.tests/.project new file mode 100644 index 0000000..e64e967 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types.tests/.project
@@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.service.types.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> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription>
diff --git a/core/org.eclipse.papyrus.sysml14.service.types.tests/.settings/org.eclipse.core.resources.prefs b/core/org.eclipse.papyrus.sysml.service.types.tests/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from core/org.eclipse.papyrus.sysml14.service.types.tests/.settings/org.eclipse.core.resources.prefs rename to core/org.eclipse.papyrus.sysml.service.types.tests/.settings/org.eclipse.core.resources.prefs
diff --git a/core/org.eclipse.papyrus.sysml14.service.types.tests/.settings/org.eclipse.jdt.core.prefs b/core/org.eclipse.papyrus.sysml.service.types.tests/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from core/org.eclipse.papyrus.sysml14.service.types.tests/.settings/org.eclipse.jdt.core.prefs rename to core/org.eclipse.papyrus.sysml.service.types.tests/.settings/org.eclipse.jdt.core.prefs
diff --git a/core/org.eclipse.papyrus.sysml14.service.types.tests/.settings/org.eclipse.jdt.ui.prefs b/core/org.eclipse.papyrus.sysml.service.types.tests/.settings/org.eclipse.jdt.ui.prefs similarity index 100% rename from core/org.eclipse.papyrus.sysml14.service.types.tests/.settings/org.eclipse.jdt.ui.prefs rename to core/org.eclipse.papyrus.sysml.service.types.tests/.settings/org.eclipse.jdt.ui.prefs
diff --git a/core/org.eclipse.papyrus.sysml14.service.types.tests/.settings/org.eclipse.m2e.core.prefs b/core/org.eclipse.papyrus.sysml.service.types.tests/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from core/org.eclipse.papyrus.sysml14.service.types.tests/.settings/org.eclipse.m2e.core.prefs rename to core/org.eclipse.papyrus.sysml.service.types.tests/.settings/org.eclipse.m2e.core.prefs
diff --git a/core/org.eclipse.papyrus.sysml.service.types.tests/META-INF/MANIFEST.MF b/core/org.eclipse.papyrus.sysml.service.types.tests/META-INF/MANIFEST.MF new file mode 100644 index 0000000..12fb7ec --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types.tests/META-INF/MANIFEST.MF
@@ -0,0 +1,17 @@ +Manifest-Version: 1.0 +Fragment-Host: org.eclipse.papyrus.sysml.service.types;bundle-version="1.0.0" +Export-Package: org.eclipse.papyrus.sysml.service.types.tests +Bundle-Vendor: %Bundle-Vendor +Bundle-Version: 4.0.0.qualifier +Bundle-Name: %Bundle-Name +Bundle-Localization: plugin +Bundle-ManifestVersion: 2 +Bundle-SymbolicName: org.eclipse.papyrus.sysml.service.types.tests +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Require-Bundle: org.junit;bundle-version="[4.11.0,5.0.0)", + org.eclipse.papyrus.uml.diagram.clazz;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.composite;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.interactionoverview;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.profile;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.statemachine;bundle-version="[3.0.0,4.0.0)" +
diff --git a/core/org.eclipse.papyrus.sysml14.service.types.tests/about.html b/core/org.eclipse.papyrus.sysml.service.types.tests/about.html similarity index 100% rename from core/org.eclipse.papyrus.sysml14.service.types.tests/about.html rename to core/org.eclipse.papyrus.sysml.service.types.tests/about.html
diff --git a/core/org.eclipse.papyrus.sysml14.service.types.tests/build.properties b/core/org.eclipse.papyrus.sysml.service.types.tests/build.properties similarity index 100% rename from core/org.eclipse.papyrus.sysml14.service.types.tests/build.properties rename to core/org.eclipse.papyrus.sysml.service.types.tests/build.properties
diff --git a/core/org.eclipse.papyrus.sysml.service.types.tests/plugin.properties b/core/org.eclipse.papyrus.sysml.service.types.tests/plugin.properties new file mode 100644 index 0000000..aa24f6a --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types.tests/plugin.properties
@@ -0,0 +1,14 @@ +################################################################################# +# Copyright (c) 2011 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: +# +# CEA LIST - Initial API and Implementation. +# +################################################################################## +Bundle-Name=Papyrus SysML 1.5 Service Types Tests +Bundle-Vendor=Eclipse Modeling Project
diff --git a/core/org.eclipse.papyrus.sysml.service.types.tests/pom.xml b/core/org.eclipse.papyrus.sysml.service.types.tests/pom.xml new file mode 100644 index 0000000..9cbd96d --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types.tests/pom.xml
@@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" + xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>org.eclipse.papyrus.sysml.core</artifactId> + <groupId>org.eclipse.papyrus.sysml</groupId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.service.types.tests</artifactId> + <packaging>eclipse-test-plugin</packaging> + <name>org.eclipse.papyrus.sysml.service.types.tests</name> + <description>This plug-in contains the SyML element types unit tests.</description> +</project>
diff --git a/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/PrivatePackageImportTest.java b/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/PrivatePackageImportTest.java new file mode 100644 index 0000000..a61052e --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/PrivatePackageImportTest.java
@@ -0,0 +1,83 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.service.types.tests; + +import java.util.Map; + +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils; +import org.eclipse.papyrus.infra.services.edit.service.IElementEditService; +import org.eclipse.papyrus.infra.types.ElementTypeSetConfiguration; +import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.PackageImport; +import org.eclipse.uml2.uml.VisibilityKind; +import org.junit.Assert; +import org.junit.BeforeClass; +import org.junit.Test; + +/** + * Class to test Private package creation + */ +@SuppressWarnings("nls") +public class PrivatePackageImportTest { + + private static final String ELEMENT_TYPE_ID = "org.eclipse.papyrus.SysML.PrivatePackageImport"; + + @BeforeClass + public static void loadSysMLDefinition() { + ElementTypeSetConfigurationRegistry instance = ElementTypeSetConfigurationRegistry.getInstance(); + Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurations = instance.getElementTypeSetConfigurations(); + Map<String, ElementTypeSetConfiguration> map = elementTypeSetConfigurations.get(SysMLServiceTypeUtil.SYSML_CONTEXT_ID); + ElementTypeSetConfiguration elementTypeSetConfiguration = map.get("org.eclipse.papyrus.sysml.service.types.elementTypeSet.extension"); + Assert.assertNotNull("The SysML element type set definition is missing", elementTypeSetConfiguration); + } + + @Test + public void testCreation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + IElementType elementType = ElementTypeRegistry.getInstance().getType(ELEMENT_TYPE_ID); + CreateRelationshipRequest validRequest = new CreateRelationshipRequest(model, model, elementType); + IElementEditService commandService = ElementEditServiceUtils.getCommandProvider(model); + ICommand editCommand = commandService.getEditCommand(validRequest); + + Assert.assertTrue("The command for creating a private package import should be executable", editCommand.canExecute()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(editCommand)); + startTransaction.commit(); + Object result = editCommand.getCommandResult().getReturnValue(); + Assert.assertTrue("The result should be a PackageImport", result instanceof PackageImport); + Assert.assertEquals("The PackageImport is expected a private visibility",VisibilityKind.PRIVATE_LITERAL, ((PackageImport) result).getVisibility()); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/SharedAssociationTest.java b/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/SharedAssociationTest.java new file mode 100644 index 0000000..9d78179 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/SharedAssociationTest.java
@@ -0,0 +1,86 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.service.types.tests; + +import java.util.Map; + +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils; +import org.eclipse.papyrus.infra.services.edit.service.IElementEditService; +import org.eclipse.papyrus.infra.types.ElementTypeSetConfiguration; +import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.uml2.uml.AggregationKind; +import org.eclipse.uml2.uml.Association; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.junit.Assert; +import org.junit.BeforeClass; +import org.junit.Ignore; +import org.junit.Test; + +/** + * Class to test SharedAssociation + */ +@SuppressWarnings("nls") +public class SharedAssociationTest { + + private static final String ELEMENT_TYPE_ID = "org.eclipse.papyrus.uml.AssociationShared"; + + @BeforeClass + public static void loadSysMLDefinition() { + ElementTypeSetConfigurationRegistry instance = ElementTypeSetConfigurationRegistry.getInstance(); + Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurations = instance.getElementTypeSetConfigurations(); + Map<String, ElementTypeSetConfiguration> map = elementTypeSetConfigurations.get(SysMLServiceTypeUtil.SYSML_CONTEXT_ID); + ElementTypeSetConfiguration elementTypeSetConfiguration = map.get("org.eclipse.papyrus.sysml.service.types.elementTypeSet.extension"); + Assert.assertNotNull("The SysML element type set definition is missing", elementTypeSetConfiguration); + } + + @Ignore // FIXME : fail with NPE to be checked after full switch to independent contextid + @Test + public void testCreation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + Class clazz = model.createOwnedClass("Class", false); + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + IElementType elementType = ElementTypeRegistry.getInstance().getType(ELEMENT_TYPE_ID); + CreateRelationshipRequest validRequest = new CreateRelationshipRequest(clazz, clazz, elementType); + IElementEditService commandService = ElementEditServiceUtils.getCommandProvider(model); + ICommand editCommand = commandService.getEditCommand(validRequest); + + Assert.assertTrue("The command for creating a provate package import should be executable", editCommand.canExecute()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(editCommand)); + startTransaction.commit(); + Object result = editCommand.getCommandResult().getReturnValue(); + Assert.assertTrue("The result should be a Association", result instanceof Association); + Assert.assertEquals("The Association is expected a shared aggregation in the first member end",AggregationKind.SHARED_LITERAL, ((Association) result).getMemberEnds().get(0).getAggregation()); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/SysMLElementTypesExtensionTest.java b/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/SysMLElementTypesExtensionTest.java new file mode 100644 index 0000000..54c67b3 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/SysMLElementTypesExtensionTest.java
@@ -0,0 +1,129 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.tests; + +import java.util.Map; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.common.util.TreeIterator; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.ecore.util.Diagnostician; +import org.eclipse.papyrus.infra.types.AbstractMatcherConfiguration; +import org.eclipse.papyrus.infra.types.ElementTypeConfiguration; +import org.eclipse.papyrus.infra.types.ElementTypeSetConfiguration; +import org.eclipse.papyrus.infra.types.SpecializationTypeConfiguration; +import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.junit.Assert; +import org.junit.BeforeClass; +import org.junit.Ignore; +import org.junit.Test; + + +/** + * This class is to check any change in the SysML element type id + * (since the ids can be used a specialization they are part of public API) + * + */ +@SuppressWarnings("nls") +public class SysMLElementTypesExtensionTest { + + public static final String ELEMENTTYPE_EXTENSION_MENU_PATH = "org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations"; //$NON-NLS-1$ + + @BeforeClass + public static void loadSysMLDefinition() { + ElementTypeSetConfigurationRegistry instance = ElementTypeSetConfigurationRegistry.getInstance(); + Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurations = instance.getElementTypeSetConfigurations(); + Map<String, ElementTypeSetConfiguration> map = elementTypeSetConfigurations.get(SysMLServiceTypeUtil.SYSML_CONTEXT_ID); + ElementTypeSetConfiguration elementTypeSetConfiguration = map.get("org.eclipse.papyrus.sysml.service.types.elementTypeSet.extension"); + Assert.assertNotNull("The SysML element type set definition is missing", elementTypeSetConfiguration); + } + + @Test + @Ignore //FIXME Setting a field by model create a working but invalid model + public void validateSysMLElementTypesExtensionModel() { + URI createPlatformPluginURI = URI.createPlatformPluginURI(ELEMENTTYPE_EXTENSION_MENU_PATH, true); + Resource resource = new ResourceSetImpl().getResource(createPlatformPluginURI, true); + Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); + Assert.assertEquals("The SysMLElementTypesExtension model is not valid ", Diagnostic.OK, diagnostic.getSeverity()); + } + + /** + * Check that all SpecializationTypeConfiguration have a matcher + * (This is no more required for avoiding to broke UML Diagrams since contextid but still a good idea) + */ + @Test + public void checkElementTypeMatcher() { + URI createPlatformPluginURI = URI.createPlatformPluginURI(ELEMENTTYPE_EXTENSION_MENU_PATH, true); + ResourceSetImpl resourceSetImpl = new ResourceSetImpl(); + Resource resource = resourceSetImpl.getResource(createPlatformPluginURI, true); + + + TreeIterator<EObject> allContents = resource.getAllContents(); + while (allContents.hasNext()) { + EObject eObject = (EObject) allContents.next(); + if (eObject instanceof ElementTypeSetConfiguration) { + ElementTypeSetConfiguration elementTypeSetConfiguration = (ElementTypeSetConfiguration) eObject; + EList<ElementTypeConfiguration> elementTypeConfigurations = elementTypeSetConfiguration.getElementTypeConfigurations(); + for (ElementTypeConfiguration elementTypeConfiguration : elementTypeConfigurations) { + if (elementTypeConfiguration instanceof SpecializationTypeConfiguration) { + SpecializationTypeConfiguration specializationTypeConfiguration = (SpecializationTypeConfiguration) elementTypeConfiguration; + AbstractMatcherConfiguration matcherConfiguration = specializationTypeConfiguration.getMatcherConfiguration(); + Assert.assertNotNull(specializationTypeConfiguration.getName()+"is missing its matcher. All SysML SpecializationTypeConfiguration must have a matcher. By default, use org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher)", matcherConfiguration); + } + } + } + } + } + + @Test + public void testRegistryContentForUnit() { + Assert.assertTrue("Unit element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Unit")); + } + + @Test + public void testRegistryContentForQuantityKind() { + Assert.assertTrue("QuantityKind element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.QuantityKind")); + } + + @Test + public void testRegistryContentForConstraintProperty() { + Assert.assertTrue("ConstraintProperty element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.ConstraintProperty")); + } + + @Test + public void testRegistryContentForActorPart() { + Assert.assertTrue("ActorPart element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.ActorPart")); + } + + @Test + public void testRegistryContentForValue() { + Assert.assertTrue("Value element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Value")); + } + + @Test + public void testRegistryContentForReference() { + Assert.assertTrue("Reference element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Reference")); + } + + @Test + public void testRegistryContentForPart() { + Assert.assertTrue("Part element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Part")); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/SysMLElementTypesTest.java b/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/SysMLElementTypesTest.java new file mode 100644 index 0000000..3c4c3c3 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/SysMLElementTypesTest.java
@@ -0,0 +1,405 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.tests; + +import java.util.Map; + +import org.eclipse.papyrus.infra.types.ElementTypeSetConfiguration; +import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.junit.Assert; +import org.junit.BeforeClass; +import org.junit.Test; + + +/** + * This class is to check any change in the SysML element type id + * (since the ids can be used a specialization they are part of public API) + * + */ +@SuppressWarnings("nls") +public class SysMLElementTypesTest { + + @BeforeClass + public static void loadSysMLDefintion() { + ElementTypeSetConfigurationRegistry instance = ElementTypeSetConfigurationRegistry.getInstance(); + Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurations = instance.getElementTypeSetConfigurations(); + Map<String, ElementTypeSetConfiguration> map = elementTypeSetConfigurations.get(SysMLServiceTypeUtil.SYSML_CONTEXT_ID); + ElementTypeSetConfiguration elementTypeSetConfiguration = map.get("org.eclipse.papyrus.sysml.service.types.elementTypeSet"); + Assert.assertNotNull("The SysML element type set definition is missing", elementTypeSetConfiguration); + } + + @Test + public void testRegistryContentForAcceptChangeStructuralFeatureEventAction() { + Assert.assertTrue("AcceptChangeStructuralFeatureEventAction element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.AcceptChangeStructuralFeatureEventAction")); + } + + @Test + public void testRegistryContentForAdjunctProperty() { + Assert.assertTrue("AdjunctProperty element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.AdjunctProperty")); + } + + @Test + public void testRegistryContentForAllocateActivityPartition() { + Assert.assertTrue("AllocateActivityPartition element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.AllocateActivityPartition")); + } + + @Test + public void testRegistryContentForAllocateAbstraction() { + Assert.assertTrue("Allocate Abstraction element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Allocate_Abstraction")); + } + + @Test + public void testRegistryContentForAllocateDirectedRelationship() { + Assert.assertTrue("Allocate DirectedRelationship element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Allocate_DirectedRelationship")); + } + + @Test + public void testRegistryContentForBindingConnector() { + Assert.assertTrue("BindingConnector element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.BindingConnector")); + } + + @Test + public void testRegistryContentForBlock() { + Assert.assertTrue("Block element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Block")); + } + + @Test + public void testRegistryContentForBoundReference() { + Assert.assertTrue("BoundReference element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.BoundReference")); + } + + @Test + public void testRegistryContentForChangeStructuralFeatureEvent() { + Assert.assertTrue("ChangeStructuralFeatureEvent element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.ChangeStructuralFeatureEvent")); + } + + @Test + public void testRegistryContentForClassifierBehaviorProperty() { + Assert.assertTrue("ClassifierBehaviorProperty element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.ClassifierBehaviorProperty")); + } + + @Test + public void testRegistryContentForConform() { + Assert.assertTrue("Conform element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Conform")); + } + + @Test + public void testRegistryContentForConnectorProperty() { + Assert.assertTrue("ConnectorProperty element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.ConnectorProperty")); + } + + @Test + public void testRegistryContentForConstraintBlock() { + Assert.assertTrue("ConstraintBlock element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.ConstraintBlock")); + } + + @Test + public void testRegistryContentForContinuousActivityEdge() { + Assert.assertTrue("Continuous ActivityEdge element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Continuous_ActivityEdge")); + } + + @Test + public void testRegistryContentForContinuousObjectNode() { + Assert.assertTrue("Continuous ObjectNode element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Continuous_ObjectNode")); + } + + @Test + public void testRegistryContentForContinuousParameter() { + Assert.assertTrue("Continuous Parameter element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Continuous_Parameter")); + } + + @Test + public void testRegistryContentForControlOperatorBehavior() { + Assert.assertTrue("ControlOperator Behavior element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.ControlOperator_Behavior")); + } + + @Test + public void testRegistryContentForControlOperatorOperation() { + Assert.assertTrue("ControlOperator Operation element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.ControlOperator_Operation")); + } + + @Test + public void testRegistryContentForCopyAbstraction() { + Assert.assertTrue("Copy Abstraction element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Copy_Abstraction")); + } + + @Test + public void testRegistryContentForCopyDirectedRelationship() { + Assert.assertTrue("Copy DirectedRelationship element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Copy_DirectedRelationship")); + } + + @Test + public void testRegistryContentForDeriveReqtAbstraction() { + Assert.assertTrue("DeriveReqt Abstraction element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.DeriveReqt_Abstraction")); + } + + @Test + public void testRegistryContentForDeriveReqtDirectedRelationship() { + Assert.assertTrue("DeriveReqt DirectedRelationship element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.DeriveReqt_DirectedRelationship")); + } + + @Test + public void testRegistryContentForDirectedFeature() { + Assert.assertTrue("DirectedFeature element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.DirectedFeature")); + } + + @Test + public void testRegistryContentForDirectedRelationshipPropertyPath() { + Assert.assertTrue("DirectedRelationshipPropertyPath element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.DirectedRelationshipPropertyPath")); + } + + @Test + public void testRegistryContentForDiscreteActivityEdge() { + Assert.assertTrue("Discrete ActivityEdge element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Discrete_ActivityEdge")); + } + + @Test + public void testRegistryContentForDiscreteObjectNode() { + Assert.assertTrue("Discrete ObjectNode element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Discrete_ObjectNode")); + } + + @Test + public void testRegistryContentForDiscreteParameter() { + Assert.assertTrue("Discrete Parameter element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Discrete_Parameter")); + } + + @Test + public void testRegistryContentForDistributedProperty() { + Assert.assertTrue("DistributedProperty element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.DistributedProperty")); + } + + @Test + public void testRegistryContentForElementGroup() { + Assert.assertTrue("ElementGroup element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.ElementGroup")); + } + + @Test + public void testRegistryContentForElementPropertyPath() { + Assert.assertTrue("ElementPropertyPath element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.ElementPropertyPath")); + } + + @Test + public void testRegistryContentForEndPathMultiplicity() { + Assert.assertTrue("EndPathMultiplicity element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.EndPathMultiplicity")); + } + + @Test + public void testRegistryContentForExpose() { + Assert.assertTrue("Expose element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Expose")); + } + + @Test + public void testRegistryContentForFlowPort() { + Assert.assertTrue("FlowPort element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.FlowPort")); + } + + @Test + public void testRegistryContentForFlowProperty() { + Assert.assertTrue("FlowProperty element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.FlowProperty")); + } + + @Test + public void testRegistryContentForFlowSpecification() { + Assert.assertTrue("FlowSpecification element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.FlowSpecification")); + } + + @Test + public void testRegistryContentForFullPort() { + Assert.assertTrue("FullPort element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.FullPort")); + } + + @Test + public void testRegistryContentForInterfaceBlock() { + Assert.assertTrue("InterfaceBlock element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.InterfaceBlock")); + } + + @Test + public void testRegistryContentForInvocationOnNestedPortActionElement() { + Assert.assertTrue("InvocationOnNestedPortAction Element element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.InvocationOnNestedPortAction_Element")); + } + + @Test + public void testRegistryContentForInvocationOnNestedPortActionInvocationAction() { + Assert.assertTrue("InvocationOnNestedPortAction InvocationAction element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.InvocationOnNestedPortAction_InvocationAction")); + } + + @Test + public void testRegistryContentForItemFlow() { + Assert.assertTrue("ItemFlow element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.ItemFlow")); + } + + @Test + public void testRegistryContentForNestedConnectorEndConnectorEnd() { + Assert.assertTrue("NestedConnectorEnd ConnectorEnd element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.NestedConnectorEnd_ConnectorEnd")); + } + + @Test + public void testRegistryContentForNestedConnectorEndElement() { + Assert.assertTrue("NestedConnectorEnd Element element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.NestedConnectorEnd_Element")); + } + + @Test + public void testRegistryContentForNoBuffer() { + Assert.assertTrue("NoBuffer element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.NoBuffer")); + } + + @Test + public void testRegistryContentForOptional() { + Assert.assertTrue("Optional element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Optional")); + } + + @Test + public void testRegistryContentForOverwrite() { + Assert.assertTrue("Overwrite element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Overwrite")); + } + + @Test + public void testRegistryContentForParticipantProperty() { + Assert.assertTrue("ParticipantProperty element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.ParticipantProperty")); + } + + @Test + public void testRegistryContentForProbabilityActivityEdge() { + Assert.assertTrue("Probability ActivityEdge element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Probability_ActivityEdge")); + } + + @Test + public void testRegistryContentForProbabilityParameterSet() { + Assert.assertTrue("Probability ParameterSet element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Probability_ParameterSet")); + } + + @Test + public void testRegistryContentForProblem() { + Assert.assertTrue("Problem element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Problem")); + } + + @Test + public void testRegistryContentForPropertySpecificType() { + Assert.assertTrue("PropertySpecificType element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.PropertySpecificType")); + } + + @Test + public void testRegistryContentForProxyPort() { + Assert.assertTrue("ProxyPort element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.ProxyPort")); + } + + @Test + public void testRegistryContentForRateActivityEdge() { + Assert.assertTrue("Rate ActivityEdge element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Rate_ActivityEdge")); + } + + @Test + public void testRegistryContentForRateObjectNode() { + Assert.assertTrue("Rate ObjectNode element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Rate_ObjectNode")); + } + + @Test + public void testRegistryContentForRateParameter() { + Assert.assertTrue("Rate Parameter element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Rate_Parameter")); + } + + @Test + public void testRegistryContentForRationale() { + Assert.assertTrue("Rationale element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Rationale")); + } + + @Test + public void testRegistryContentForRefineAbstraction() { + Assert.assertTrue("Refine Abstraction element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Refine_Abstraction")); + } + + @Test + public void testRegistryContentForRefineDirectedRelationship() { + Assert.assertTrue("Refine DirectedRelationship element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Refine_DirectedRelationship")); + } + + @Test + public void testRegistryContentForRequirement() { + Assert.assertTrue("Requirement element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Requirement")); + } + + @Test + public void testRegistryContentForSatisfyAbstraction() { + Assert.assertTrue("Satisfy Abstraction element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Satisfy_Abstraction")); + } + + @Test + public void testRegistryContentForSatisfyDirectedRelationship() { + Assert.assertTrue("Satisfy DirectedRelationship element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Satisfy_DirectedRelationship")); + } + + @Test + public void testRegistryContentForStakeholder() { + Assert.assertTrue("Stakeholder element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Stakeholder")); + } + + @Test + public void testRegistryContentForTestCaseBehavior() { + Assert.assertTrue("TestCase Behavior element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.TestCase_Behavior")); + } + + @Test + public void testRegistryContentForTestCaseOperation() { + Assert.assertTrue("TestCase Operation element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.TestCase_Operation")); + } + + @Test + public void testRegistryContentForTraceAbstraction() { + Assert.assertTrue("Trace Abstraction element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Trace_Abstraction")); + } + + @Test + public void testRegistryContentForTraceDirectedRelationship() { + Assert.assertTrue("Trace DirectedRelationship element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Trace_DirectedRelationship")); + } + + @Test + public void testRegistryContentForTriggerOnNestedPortElement() { + Assert.assertTrue("TriggerOnNestedPort Element element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.TriggerOnNestedPort_Element")); + } + + @Test + public void testRegistryContentForTriggerOnNestedPortTrigger() { + Assert.assertTrue("TriggerOnNestedPort Trigger element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.TriggerOnNestedPort_Trigger")); + } + + @Test + public void testRegistryContentForValueType() { + Assert.assertTrue("ValueType element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.ValueType")); + } + + @Test + public void testRegistryContentForVerifyAbstraction() { + Assert.assertTrue("Verify Abstraction element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Verify_Abstraction")); + } + + @Test + public void testRegistryContentForVerifyDirectedRelationship() { + Assert.assertTrue("Verify DirectedRelationship element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Verify_DirectedRelationship")); + } + + @Test + public void testRegistryContentForView() { + Assert.assertTrue("View element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.View")); + } + + @Test + public void testRegistryContentForViewpoint() { + Assert.assertTrue("Viewpoint element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML.Viewpoint")); + } + + + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/advice/ConformCreationEditHelperAdviceTest.java b/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/advice/ConformCreationEditHelperAdviceTest.java new file mode 100644 index 0000000..52536e4 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/advice/ConformCreationEditHelperAdviceTest.java
@@ -0,0 +1,91 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.tests.advice; + +import java.util.Map; + +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest; +import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest; +import org.eclipse.papyrus.infra.types.ElementTypeSetConfiguration; +import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; +import org.eclipse.papyrus.sysml.service.types.advice.ConformCreationEditHelperAdvice; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +/** + * Test class for conform creation + * This class verifies the requirement{@papyrus.req org.eclipse.papyrus.sysml.service.types#Req_001} + */ +@SuppressWarnings("nls") +public class ConformCreationEditHelperAdviceTest { + + @BeforeClass + public static void loadSysMLDefinition() { + ElementTypeSetConfigurationRegistry instance = ElementTypeSetConfigurationRegistry.getInstance(); + Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurations = instance.getElementTypeSetConfigurations(); + Map<String, ElementTypeSetConfiguration> map = elementTypeSetConfigurations.get(SysMLServiceTypeUtil.SYSML_CONTEXT_ID); + ElementTypeSetConfiguration elementTypeSetConfiguration = map.get("org.eclipse.papyrus.sysml.service.types.elementTypeSet"); + Assert.assertNotNull("The SysML element type set definition is missing", elementTypeSetConfiguration); + } + + /** + * A Class with the stereotype Viewpoint + */ + private org.eclipse.uml2.uml.Class classStereotypeViewpoint; + + /** + * A Class with the stereotype View + */ + private org.eclipse.uml2.uml.Class classStereotypeView; + + @Before + public void setUp() { + // Prepare test + Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + StereotypeApplicationHelper stereotypeApplicationHelper = StereotypeApplicationHelper.getInstance(null); + classStereotypeViewpoint = model.createOwnedClass("classStereotypeViewpoint", false); + stereotypeApplicationHelper.applyStereotype(classStereotypeViewpoint, ModelelementsPackage.eINSTANCE.getViewpoint()); + classStereotypeView = model.createOwnedClass("classStereotypeView", false); + stereotypeApplicationHelper.applyStereotype(classStereotypeView, ModelelementsPackage.eINSTANCE.getView()); + } + + + /** + * Test if the creation of conform following SysML requirements + */ + @Test + public void testApproveRequest() { + ConformCreationEditHelperAdvice conformCreationEditHelperAdvice = new ConformCreationEditHelperAdvice(); + IElementType type = ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_CONFORM); + + IEditCommandRequest invalidRequest = new CreateRelationshipRequest(type); + Assert.assertFalse("Creation should forbiden for a conform not linked to any elements", conformCreationEditHelperAdvice.approveRequest(invalidRequest)); + + IEditCommandRequest validRequest = new CreateRelationshipRequest(classStereotypeView, classStereotypeViewpoint, type); + Assert.assertTrue("Conform is allow from a View to a Viewpoint", conformCreationEditHelperAdvice.approveRequest(validRequest)); + + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/advice/ConformReorientEditHelperAdviceTest.java b/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/advice/ConformReorientEditHelperAdviceTest.java new file mode 100644 index 0000000..692aff8 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/advice/ConformReorientEditHelperAdviceTest.java
@@ -0,0 +1,138 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.tests.advice; + +import java.util.Map; + +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest; +import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; +import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRequest; +import org.eclipse.papyrus.infra.types.ElementTypeSetConfiguration; +import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; +import org.eclipse.papyrus.sysml.service.types.advice.ConformReorientEditHelperAdvice; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +/** + * Test class for conform creation + * This class verifies the requirement{@papyrus.req org.eclipse.papyrus.sysml.service.types#Req_001} + */ +@SuppressWarnings("nls") +public class ConformReorientEditHelperAdviceTest { + + @BeforeClass + public static void loadSysMLDefinition() { + ElementTypeSetConfigurationRegistry instance = ElementTypeSetConfigurationRegistry.getInstance(); + Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurations = instance.getElementTypeSetConfigurations(); + Map<String, ElementTypeSetConfiguration> map = elementTypeSetConfigurations.get(SysMLServiceTypeUtil.SYSML_CONTEXT_ID); + ElementTypeSetConfiguration elementTypeSetConfiguration = map.get("org.eclipse.papyrus.sysml.service.types.elementTypeSet"); + Assert.assertNotNull("The SysML element type set definition is missing", elementTypeSetConfiguration); + + } + + /** + * A Class with the stereotype Viewpoint + */ + private org.eclipse.uml2.uml.Class classStereotypeViewpoint; + + /** + * A Class with the stereotype View + */ + private org.eclipse.uml2.uml.Class classStereotypeView; + + /** + * a class without stereotype + */ + private org.eclipse.uml2.uml.Class notStereotypeClass; + + /** + * the link conform + */ + private Abstraction conformLink; + + /** + * A Class with the stereotype Viewpoint to test re-orient + */ + private Class classStereotypeView2; + + /** + * A Class with the stereotype View to test re-orient + */ + private Class classStereotypeViewpoint2; + + @Before + public void setUp() { + // Prepare test + Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + StereotypeApplicationHelper stereotypeApplicationHelper = StereotypeApplicationHelper.getInstance(null); + classStereotypeViewpoint = model.createOwnedClass("classStereotypeViewpoint", false); + stereotypeApplicationHelper.applyStereotype(classStereotypeViewpoint, ModelelementsPackage.eINSTANCE.getViewpoint()); + classStereotypeView = model.createOwnedClass("classStereotypeView", false); + stereotypeApplicationHelper.applyStereotype(classStereotypeView, ModelelementsPackage.eINSTANCE.getView()); + + // class not stereotyped + notStereotypeClass = model.createOwnedClass("notStereotypeClass", false); + + // creation of the conform link + conformLink = UMLFactory.eINSTANCE.createAbstraction(); + model.getPackagedElements().add(conformLink); + conformLink.getClients().add(classStereotypeView); + conformLink.getSuppliers().add(classStereotypeViewpoint); + stereotypeApplicationHelper.applyStereotype(conformLink, ModelelementsPackage.eINSTANCE.getConform()); + + + classStereotypeView2 = model.createOwnedClass("classStereotypeView2", false); + stereotypeApplicationHelper.applyStereotype(classStereotypeView2, ModelelementsPackage.eINSTANCE.getView()); + + + classStereotypeViewpoint2 = model.createOwnedClass("classStereotypeViewpoint2", false); + stereotypeApplicationHelper.applyStereotype(classStereotypeViewpoint2, ModelelementsPackage.eINSTANCE.getViewpoint()); + } + + + /** + * Test if the creation of conform following SysML requirements + */ + @Test + public void testApproveRequest() { + ConformReorientEditHelperAdvice conformReorientEditHelperAdvice = new ConformReorientEditHelperAdvice(); + + IEditCommandRequest invalidRequest = new ReorientRelationshipRequest(conformLink, notStereotypeClass, classStereotypeViewpoint, ReorientRequest.REORIENT_TARGET); + Assert.assertFalse("Target reorient should forbiden for a conform not linked to any elements", conformReorientEditHelperAdvice.approveRequest(invalidRequest)); + + IEditCommandRequest validRequest = new ReorientRelationshipRequest(conformLink, classStereotypeViewpoint2, classStereotypeViewpoint, ReorientRequest.REORIENT_TARGET); + Assert.assertTrue("Target reorient should allow on view point", conformReorientEditHelperAdvice.approveRequest(validRequest)); + + IEditCommandRequest invalidRequest2 = new ReorientRelationshipRequest(conformLink, notStereotypeClass, classStereotypeView, ReorientRequest.REORIENT_SOURCE); + Assert.assertFalse("Source reotient should forbiden for a conform not linked to any elements", conformReorientEditHelperAdvice.approveRequest(invalidRequest2)); + + IEditCommandRequest validRequest2 = new ReorientRelationshipRequest(conformLink, classStereotypeView2, classStereotypeView, ReorientRequest.REORIENT_SOURCE); + Assert.assertTrue("Source reorient should should allow on view ", conformReorientEditHelperAdvice.approveRequest(validRequest2)); + + + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/advice/DirectedRelationshipPropertyPathEditHelperAdviceTest.java b/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/advice/DirectedRelationshipPropertyPathEditHelperAdviceTest.java new file mode 100644 index 0000000..87e640a --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/advice/DirectedRelationshipPropertyPathEditHelperAdviceTest.java
@@ -0,0 +1,70 @@ +/***************************************************************************** + * Copyright (c) 2016 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.tests.advice; + +import java.util.Map; + +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest; +import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest; +import org.eclipse.papyrus.infra.types.ElementTypeSetConfiguration; +import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; +import org.eclipse.papyrus.sysml.service.types.advice.DirectedRelationshipPropertyPathEditHelperAdvice; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.uml2.uml.Model; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +/** + * Test class for DirectedRelationshipPropertyPathEditHelperAdvice + */ +@SuppressWarnings("nls") +public class DirectedRelationshipPropertyPathEditHelperAdviceTest { + + @BeforeClass + public static void loadSysMLDefinition() { + ElementTypeSetConfigurationRegistry instance = ElementTypeSetConfigurationRegistry.getInstance(); + Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurations = instance.getElementTypeSetConfigurations(); + Map<String, ElementTypeSetConfiguration> map = elementTypeSetConfigurations.get(SysMLServiceTypeUtil.SYSML_CONTEXT_ID); + ElementTypeSetConfiguration elementTypeSetConfiguration = map.get("org.eclipse.papyrus.sysml.service.types.elementTypeSet"); + Assert.assertNotNull("The SysML element type set definition is missing", elementTypeSetConfiguration); + } + + @Before + public void setUp() { + // Prepare test + Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + } + + + /** + * Test if the call of after create with null parameter + * Seems to happen sometimes https://bugs.eclipse.org/bugs/show_bug.cgi?id=492564 + */ + @Test + public void testGetAfterCreateRelationshipCommand() { + DirectedRelationshipPropertyPathEditHelperAdvice directedRelationshipPropertyPathEditHelperAdvice = new DirectedRelationshipPropertyPathEditHelperAdvice(); + IElementType type = ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_ALLOCATE_ABSTRACTION); + IEditCommandRequest invalidRequest = new CreateRelationshipRequest(null, null, type); + Assert.assertNull("Conform is allow from a View to a Viewpoint", directedRelationshipPropertyPathEditHelperAdvice.getAfterEditCommand(invalidRequest)); + + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/command/CreateAssociationCommandTest.java b/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/command/CreateAssociationCommandTest.java new file mode 100644 index 0000000..c4f26b8 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/command/CreateAssociationCommandTest.java
@@ -0,0 +1,141 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.service.types.tests.command; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.sysml.service.types.command.CreateAssociationCommand; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.uml2.uml.AggregationKind; +import org.eclipse.uml2.uml.Association; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CreateAssociationCommand + * + */ +@SuppressWarnings("nls") +public class CreateAssociationCommandTest { + + + /** + * Test method for {@link org.eclipse.papyrus.sysml.service.types.command.CreateAssociationCommand#canExecute()}. + */ + @Test + public void testCanExecute() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class sourceClass = model.createOwnedClass("C1", false); + Class targetClass = model.createOwnedClass("C2", false); + Property property = sourceClass.createOwnedAttribute("P1", targetClass); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + IElementType type = ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_PART); + ConfigureRequest validRequest = new ConfigureRequest(editingDomain, property, type); + CreateAssociationCommand createAssociationCommand = new CreateAssociationCommand(validRequest, null); + Assert.assertFalse("The createAssociationCommand should'nt be executable", createAssociationCommand.canExecute()); + } + + /** + * Test method for {@link org.eclipse.papyrus.sysml.service.types.command.CreateAssociationCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)}. + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void testExecution() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class sourceClass = model.createOwnedClass("C1", false); + Class targetClass = model.createOwnedClass("C2", false); + Property property = sourceClass.createOwnedAttribute("P1", targetClass); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + IElementType type = ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_PART); + ConfigureRequest validRequest = new ConfigureRequest(editingDomain, property, type); + CreateAssociationCommand createAssociationCommand = new CreateAssociationCommand(validRequest, AggregationKind.COMPOSITE_LITERAL); + Assert.assertTrue("The createAssociationCommand should be executable", createAssociationCommand.canExecute()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(createAssociationCommand)); + startTransaction.commit(); + Object result = createAssociationCommand.getCommandResult().getReturnValue(); + Assert.assertTrue("The result of a seNestedPathCommand should be a Connector", result instanceof Property); + Assert.assertNotNull("The association wasn't created", ((Property) result).getAssociation()); + Assert.assertEquals("The property has the wrong aggregation",AggregationKind.COMPOSITE_LITERAL, ((Property) result).getAggregation()); + } + + /** + * Bug 483564 :Test Undo/Redo that invert association end + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void testExecutionUndoRedo() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class sourceClass = model.createOwnedClass("C1", false); + Class targetClass = model.createOwnedClass("C2", false); + Property property = sourceClass.createOwnedAttribute("P1", targetClass); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + IElementType type = ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_PART); + ConfigureRequest validRequest = new ConfigureRequest(editingDomain, property, type); + CreateAssociationCommand createAssociationCommand = new CreateAssociationCommand(validRequest, AggregationKind.COMPOSITE_LITERAL); + Assert.assertTrue("The createAssociationCommand should be executable", createAssociationCommand.canExecute()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(createAssociationCommand)); + startTransaction.commit(); + Object result = createAssociationCommand.getCommandResult().getReturnValue(); + Assert.assertTrue("The result of a seNestedPathCommand should be a Connector", result instanceof Property); + Association association = ((Property) result).getAssociation(); + Assert.assertNotNull("The association wasn't created", association); + EList<Property> memberEnds = association.getMemberEnds(); + // save the reference of the first execution + Property firstDoMemberEnd = memberEnds.get(0); + Property secondDoMemberEnd = memberEnds.get(1); + editingDomain.getCommandStack().undo(); + editingDomain.getCommandStack().redo(); + Assert.assertEquals("The first member end should stay the same",firstDoMemberEnd, association.getMemberEnds().get(0)); + Assert.assertEquals("The second member end should stay the same",secondDoMemberEnd, association.getMemberEnds().get(1)); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/command/UpdateNestedPathConnectorEndTest.java b/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/command/UpdateNestedPathConnectorEndTest.java new file mode 100644 index 0000000..879de71 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/command/UpdateNestedPathConnectorEndTest.java
@@ -0,0 +1,187 @@ +/***************************************************************************** + * Copyright (c) 2017 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: + * Pauline DEVILLE (CEA LIST) pauline.deville@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.tests.command; + +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; +import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest; +import org.eclipse.gmf.runtime.notation.Node; +import org.eclipse.gmf.runtime.notation.NotationFactory; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd; +import org.eclipse.papyrus.sysml.service.types.command.UpdateNestedPathConnectorEnd; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Connector; +import org.eclipse.uml2.uml.ConnectorEnd; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; + +/** + * Test class for connector creation + */ +@SuppressWarnings("nls") +public class UpdateNestedPathConnectorEndTest { + + private ResourceSetImpl resourceSet; + + private Model model; + private org.eclipse.uml2.uml.Class blockRoot; + private Property p1; + private Property p2; + private Property p3; + + private Node p1View; + private Node p2View; + private Node p3ViewInP1; + private Node p3ViewInP2; + + /** + * Data structure: + * | blockRoot | | classType | + * |----------------| |----------------| + * | p1 : classType | | p3 : classType | + * | p2 : classType | | | + * + * View structure: + * +-------------------------+ + * | blockRootView | + * +-------------------------+ + * | p1View | p2View | + * |+----------+|+----------+| + * ||p3ViewInP1|||p3ViewInP2|| + * |+----------+|+----------+| + * +-------------------------+ + * + */ + @Before + public void setUp() { + // Prepare test + resourceSet = new ResourceSetImpl(); + model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + // Data structure + StereotypeApplicationHelper stereotypeApplicationHelper = StereotypeApplicationHelper.getInstance(null); + blockRoot = model.createOwnedClass("blockClass", false); + stereotypeApplicationHelper.applyStereotype(blockRoot, BlocksPackage.eINSTANCE.getBlock()); + Class classType = model.createOwnedClass("classType", false); + p1 = blockRoot.createOwnedAttribute("p1", classType); + p2 = blockRoot.createOwnedAttribute("p2", classType); + p3 = classType.createOwnedAttribute("p3", classType); + + // View structure + p3ViewInP1 = NotationFactory.eINSTANCE.createNode(); + p3ViewInP1.setElement(p3); + + p3ViewInP2 = NotationFactory.eINSTANCE.createNode(); + p3ViewInP2.setElement(p3); + + p2View = NotationFactory.eINSTANCE.createNode(); + p2View.setElement(p2); + p2View.insertChild(p3ViewInP2); + + p1View = NotationFactory.eINSTANCE.createNode(); + p1View.setElement(p1); + p1View.insertChild(p3ViewInP1); + + Node blockRootView = NotationFactory.eINSTANCE.createNode(); + blockRootView.setElement(blockRoot); + blockRootView.insertChild(p1View); + blockRootView.insertChild(p2View); + } + + /** + * The connector: connect the property p3 (p3ViewInP1) and the property p2 (p2View) + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void testExecution() throws InterruptedException, RollbackException { + Connector connector = blockRoot.createOwnedConnector("bindingConnector"); + ConnectorEnd sourceEnd = connector.createEnd(); + sourceEnd.setRole(p3); + ConnectorEnd targetEnd = connector.createEnd(); + targetEnd.setRole(p2); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + IElementType type = ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_BINDINGCONNECTOR); + IEditCommandRequest validRequest = new ConfigureRequest(editingDomain, connector, type); + UpdateNestedPathConnectorEnd createAssociationCommand = new UpdateNestedPathConnectorEnd("UpdateNestedPathConnectorEnd test source", p3ViewInP1, validRequest, true); + Assert.assertTrue("The createAssociationCommand should be executable", createAssociationCommand.canExecute()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(createAssociationCommand)); + startTransaction.commit(); + NestedConnectorEnd stereotypeApplication = UMLUtil.getStereotypeApplication(sourceEnd, NestedConnectorEnd.class); + Assert.assertTrue("The sourceEnd should have a NestedConnectorEnd applied", stereotypeApplication != null); + } + + /** + * Test the case when the source connector end and the target connector end roles are equals + * The connector: connect the property p3 (p3ViewInP1) and the property p3 (p3ViewInP2) + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void testExecution_sourceRoleEqualTargetRole() throws InterruptedException, RollbackException { + Connector connector = blockRoot.createOwnedConnector("bindingConnector"); + ConnectorEnd sourceEnd = connector.createEnd(); + sourceEnd.setRole(p3); + ConnectorEnd targetEnd = connector.createEnd(); + targetEnd.setRole(p3); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + IElementType type = ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_BINDINGCONNECTOR); + IEditCommandRequest validRequest = new ConfigureRequest(editingDomain, connector, type); + + UpdateNestedPathConnectorEnd createAssociationCommand = new UpdateNestedPathConnectorEnd("UpdateNestedPathConnectorEnd test source", p3ViewInP1, validRequest, true); + Assert.assertTrue("The createAssociationCommand should be executable", createAssociationCommand.canExecute()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(createAssociationCommand)); + startTransaction.commit(); + NestedConnectorEnd stereotypeApplication = UMLUtil.getStereotypeApplication(sourceEnd, NestedConnectorEnd.class); + Assert.assertTrue("The sourceEnd should have a NestedConnectorEnd applied", stereotypeApplication != null); + + UpdateNestedPathConnectorEnd createAssociationCommand_target = new UpdateNestedPathConnectorEnd("UpdateNestedPathConnectorEnd test target", p3ViewInP2, validRequest, false); + Assert.assertTrue("The createAssociationCommand should be executable", createAssociationCommand_target.canExecute()); + + InternalTransaction startTransaction_target = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(createAssociationCommand_target)); + startTransaction_target.commit(); + NestedConnectorEnd stereotypeApplication_target = UMLUtil.getStereotypeApplication(targetEnd, NestedConnectorEnd.class); + Assert.assertTrue("The targetEnd should have a NestedConnectorEnd applied", stereotypeApplication_target != null); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/util/ConnectorUtilTest.java b/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/util/ConnectorUtilTest.java new file mode 100644 index 0000000..e1c293b --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/util/ConnectorUtilTest.java
@@ -0,0 +1,149 @@ +/***************************************************************************** + * Copyright (c) 2017 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * Pauline DEVILLE (CEA LIST) pauline.deville@cea.fr + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.service.types.tests.util; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; + +import java.util.Arrays; +import java.util.List; + +import org.eclipse.gmf.runtime.notation.Node; +import org.eclipse.gmf.runtime.notation.NotationFactory; +import org.eclipse.papyrus.sysml.service.types.util.ConnectorUtil; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.UMLFactory; +import org.junit.Test; + +@SuppressWarnings("nls") +public class ConnectorUtilTest { + + /** + * Data structure: + * | clazzRoot | + * | P1: clazzType1 | + * + * | clazzType1 | | clazzType2 | | clazzType3 | + * | P2: clazzType2 | | P3: clazzType3 | | P4: clazzType1 | + * + * View structure: + * |clazzRootViewNode | + * | |p1View || + * | | |p2View ||| + * | | | |p3View ||| + * | | | | |p4View |||| + * + * results: + * - nested path for p4View : {P1, P2, P3} + * - nested path for p2View : {P1} + * + * [SysML - 8.3.2.9]: "The ordering of properties is from a property of the context block, through a + * property of each intermediate block that types the preceding property, ending in a property with a type + * that owns or inherits the fully nested property." + */ + @Test + public void testGetNestedPath() { + // Data structure + Class clazzRoot = UMLFactory.eINSTANCE.createClass(); + Class clazzType1 = UMLFactory.eINSTANCE.createClass(); + Class clazzType2 = UMLFactory.eINSTANCE.createClass(); + Class clazzType3 = UMLFactory.eINSTANCE.createClass(); + Property p1 = clazzRoot.createOwnedAttribute("P1", clazzType1); + Property p2 = clazzType1.createOwnedAttribute("P2", clazzType2); + Property p3 = clazzType2.createOwnedAttribute("P3", clazzType3); + Property p4 = clazzType3.createOwnedAttribute("P4", clazzType1); + + // View structure + Node p4View = NotationFactory.eINSTANCE.createNode(); + p4View.setElement(p4); + + Node p3View = NotationFactory.eINSTANCE.createNode(); + p3View.setElement(p3); + p3View.insertChild(p4View); + + Node p2View = NotationFactory.eINSTANCE.createNode(); + p2View.setElement(p2); + p2View.insertChild(p3View); + + Node p1View = NotationFactory.eINSTANCE.createNode(); + p1View.setElement(p1); + p1View.insertChild(p2View); + + Node clazzRootViewNode = NotationFactory.eINSTANCE.createNode(); + clazzRootViewNode.setElement(clazzRoot); + clazzRootViewNode.insertChild(p1View); + + List<Property> nestedPath = ConnectorUtil.getNestedPath(clazzRoot, p4View); + assertEquals("Wrong nested path, expected {P1, P2, P3}", Arrays.asList(p1, p2, p3), nestedPath); + + nestedPath = ConnectorUtil.getNestedPath(clazzRoot, p2View); + assertTrue("Wrong nested path, expected {P1}", nestedPath.size() == 1 && nestedPath.get(0) == p1); + } + + /** + * Data structure: + * | clazzRoot | + * | P1: clazzType1 | + * | P2: clazzType1 | + * + * | clazzType | + * | P3: clazzType1 | + * + * View structure: + * +-------------------------+ + * | clazzRootView | + * +-------------------------+ + * | p1View | p2View | + * |+----------+|+----------+| + * ||p3ViewInP1|||p3ViewInP2|| + * |+----------+|+----------+| + * +-------------------------+ + */ + @Test + public void testGetNestedPath_sameProperty_differentView() { + Class clazzRoot = UMLFactory.eINSTANCE.createClass(); + Class clazzType = UMLFactory.eINSTANCE.createClass(); + Property p1 = clazzRoot.createOwnedAttribute("P1", clazzType); + Property p2 = clazzRoot.createOwnedAttribute("P2", clazzType); + Property p3 = clazzType.createOwnedAttribute("P3", clazzType); + + Node p3ViewInpP1 = NotationFactory.eINSTANCE.createNode(); + p3ViewInpP1.setElement(p3); + + Node p3ViewInpP2 = NotationFactory.eINSTANCE.createNode(); + p3ViewInpP2.setElement(p3); + + Node p2View = NotationFactory.eINSTANCE.createNode(); + p2View.setElement(p2); + p2View.insertChild(p3ViewInpP2); + + Node p1View = NotationFactory.eINSTANCE.createNode(); + p1View.setElement(p1); + p1View.insertChild(p3ViewInpP1); + + Node clazzRootView = NotationFactory.eINSTANCE.createNode(); + clazzRootView.setElement(clazzRoot); + clazzRootView.insertChild(p1View); + clazzRootView.insertChild(p2View); + + List<Property> nestedPath = ConnectorUtil.getNestedPath(clazzRoot, p3ViewInpP1); + assertEquals("Wrong nested path, expected {P1}", Arrays.asList(p1), nestedPath); + + nestedPath = ConnectorUtil.getNestedPath(clazzRoot, p3ViewInpP2); + assertEquals("Wrong nested path, expected {P2}", Arrays.asList(p2), nestedPath); + + } +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/util/SysMLServiceTypeUtilTest.java b/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/util/SysMLServiceTypeUtilTest.java new file mode 100644 index 0000000..89c1870 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types.tests/src/org/eclipse/papyrus/sysml/service/types/tests/util/SysMLServiceTypeUtilTest.java
@@ -0,0 +1,74 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.service.types.tests.util; + +import java.lang.reflect.Field; +import java.util.Map; + +import org.eclipse.papyrus.infra.core.services.ServiceException; +import org.eclipse.papyrus.infra.types.ElementTypeSetConfiguration; +import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.junit.Assert; +import org.junit.BeforeClass; +import org.junit.Test; + +/** + * + * The class should test that all constant in SysMLServiceTypeUtil should be referring + * to an existing element type + + * + */ +@SuppressWarnings("nls") +public class SysMLServiceTypeUtilTest { + + /** + * Check that the required element type set are correctly loaded + */ + @BeforeClass + public static void loadSysMLDefinition() { + ElementTypeSetConfigurationRegistry instance = ElementTypeSetConfigurationRegistry.getInstance(); + Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurations = instance.getElementTypeSetConfigurations(); + Map<String, ElementTypeSetConfiguration> map = elementTypeSetConfigurations.get(SysMLServiceTypeUtil.SYSML_CONTEXT_ID); + ElementTypeSetConfiguration elementTypeSetConfiguration = map.get("org.eclipse.papyrus.sysml.service.types.elementTypeSet"); + Assert.assertNotNull("The SysML element type set definition is missing", elementTypeSetConfiguration); + ElementTypeSetConfiguration elementTypeSetConfigurationExtension = map.get("org.eclipse.papyrus.sysml.service.types.elementTypeSet.extension"); + Assert.assertNotNull("The SysML element type set extension definition is missing", elementTypeSetConfigurationExtension); + + } + + + /** + * Check that each field is referencing an existing element type + * @throws IllegalArgumentException + * @throws IllegalAccessException + * @throws ServiceException + */ + @Test + public void testElementTypeIdsDefinedAsConstant() throws IllegalArgumentException, IllegalAccessException, ServiceException { + Field[] declaredFields = SysMLServiceTypeUtil.class.getDeclaredFields(); + for (int i = 0; i < declaredFields.length; i++) { + Field field = declaredFields[i]; + if (field.isAccessible()){ + String name = field.getName(); + Object value = field.get(SysMLServiceTypeUtil.class); + Assert.assertTrue(name+" value should define as a String", value instanceof String); + boolean knownElementType = SysMLServiceTypeUtil.isKnown((String) value); + Assert.assertTrue(name+" value should define an existing elementtype id", knownElementType); + } + } + } +}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/.classpath b/core/org.eclipse.papyrus.sysml.service.types/.classpath similarity index 100% rename from core/org.eclipse.papyrus.sysml14.service.types/.classpath rename to core/org.eclipse.papyrus.sysml.service.types/.classpath
diff --git a/core/org.eclipse.papyrus.sysml.service.types/.project b/core/org.eclipse.papyrus.sysml.service.types/.project new file mode 100644 index 0000000..f4a39f4 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/.project
@@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.service.types</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> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription>
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/.settings/org.eclipse.core.resources.prefs b/core/org.eclipse.papyrus.sysml.service.types/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from core/org.eclipse.papyrus.sysml14.service.types/.settings/org.eclipse.core.resources.prefs rename to core/org.eclipse.papyrus.sysml.service.types/.settings/org.eclipse.core.resources.prefs
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/.settings/org.eclipse.jdt.core.prefs b/core/org.eclipse.papyrus.sysml.service.types/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from core/org.eclipse.papyrus.sysml14.service.types/.settings/org.eclipse.jdt.core.prefs rename to core/org.eclipse.papyrus.sysml.service.types/.settings/org.eclipse.jdt.core.prefs
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/.settings/org.eclipse.jdt.ui.prefs b/core/org.eclipse.papyrus.sysml.service.types/.settings/org.eclipse.jdt.ui.prefs similarity index 100% rename from core/org.eclipse.papyrus.sysml14.service.types/.settings/org.eclipse.jdt.ui.prefs rename to core/org.eclipse.papyrus.sysml.service.types/.settings/org.eclipse.jdt.ui.prefs
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/.settings/org.eclipse.m2e.core.prefs b/core/org.eclipse.papyrus.sysml.service.types/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from core/org.eclipse.papyrus.sysml14.service.types/.settings/org.eclipse.m2e.core.prefs rename to core/org.eclipse.papyrus.sysml.service.types/.settings/org.eclipse.m2e.core.prefs
diff --git a/core/org.eclipse.papyrus.sysml.service.types/META-INF/MANIFEST.MF b/core/org.eclipse.papyrus.sysml.service.types/META-INF/MANIFEST.MF new file mode 100644 index 0000000..8d479d9 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/META-INF/MANIFEST.MF
@@ -0,0 +1,25 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name +Bundle-SymbolicName: org.eclipse.papyrus.sysml.service.types;singleton:=true +Bundle-Version: 4.0.0.qualifier +Bundle-Activator: org.eclipse.papyrus.sysml.service.types.Activator +Require-Bundle: org.eclipse.gmf.runtime.emf.type.core;bundle-version="[1.9.0,2.0.0)", + org.eclipse.gmf.runtime.notation.edit;bundle-version="[1.7.0,2.0.0)", + org.eclipse.papyrus.infra.types.core;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.services.edit;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.service.types;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.types.core;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.tools.utils;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.sysml;bundle-version="1.0.0" +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Bundle-ActivationPolicy: lazy +Bundle-Vendor: %Bundle-Vendor +Bundle-Description: %Bundle-Description +Bundle-Localization: plugin +Export-Package: org.eclipse.papyrus.sysml.service.types, + org.eclipse.papyrus.sysml.service.types.advice, + org.eclipse.papyrus.sysml.service.types.command, + org.eclipse.papyrus.sysml.service.types.matcher, + org.eclipse.papyrus.sysml.service.types.util
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/about.html b/core/org.eclipse.papyrus.sysml.service.types/about.html similarity index 100% rename from core/org.eclipse.papyrus.sysml14.service.types/about.html rename to core/org.eclipse.papyrus.sysml.service.types/about.html
diff --git a/core/org.eclipse.papyrus.sysml.service.types/build.properties b/core/org.eclipse.papyrus.sysml.service.types/build.properties new file mode 100644 index 0000000..acaea9c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/build.properties
@@ -0,0 +1,10 @@ +source.. = src/ +output.. = target/classes/ +bin.includes = META-INF/,\ + .,\ + plugin.properties,\ + pom.xml,\ + plugin.xml,\ + about.html,\ + resources/ +src.includes = about.html
diff --git a/core/org.eclipse.papyrus.sysml.service.types/plugin.properties b/core/org.eclipse.papyrus.sysml.service.types/plugin.properties new file mode 100644 index 0000000..80c102c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/plugin.properties
@@ -0,0 +1,15 @@ +################################################################################# +# Copyright (c) 2015 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: +# Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - initial API and implementation +################################################################################## +Bundle-Name=Papyrus SysML 1.5 Service Type +Bundle-Description=This plug-in contains the SyML element types. +Bundle-Vendor=Eclipse Modeling Project + +
diff --git a/core/org.eclipse.papyrus.sysml.service.types/plugin.xml b/core/org.eclipse.papyrus.sysml.service.types/plugin.xml new file mode 100644 index 0000000..fb2b494 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/plugin.xml
@@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.4"?> +<plugin> + <extension + point="org.eclipse.papyrus.infra.types.core.elementTypeSetConfiguration"> + <elementTypeSet + clientContextID="org.eclipse.papyrus.infra.services.edit.TypeContext" + path="resources/SysML.elementtypesconfigurations"> + </elementTypeSet> + </extension> + + <extension + point="org.eclipse.papyrus.infra.types.core.elementTypeSetConfiguration"> + <elementTypeSet + clientContextID="org.eclipse.papyrus.infra.services.edit.TypeContext" + path="resources/SysML-extension.elementtypesconfigurations"> + </elementTypeSet> + </extension> + +</plugin>
diff --git a/core/org.eclipse.papyrus.sysml.service.types/pom.xml b/core/org.eclipse.papyrus.sysml.service.types/pom.xml new file mode 100644 index 0000000..628ed0c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/pom.xml
@@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>org.eclipse.papyrus.sysml.core</artifactId> + <groupId>org.eclipse.papyrus.sysml</groupId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.service.types</artifactId> + <packaging>eclipse-plugin</packaging> + <name>org.eclipse.papyrus.sysml.service.types</name> + <description>This plug-in contains the SyML element types. Papyrus element type is the model based approach for managing object life cycle (based on eclipse gmf framework)</description> +</project> \ No newline at end of file
diff --git a/core/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations b/core/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations new file mode 100755 index 0000000..847da97 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations
@@ -0,0 +1,242 @@ +<?xml version="1.0" encoding="UTF-8"?> +<elementtypesconfigurations:ElementTypeSetConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:applystereotypeadvice="http://www.eclipse.org/papyrus/uml/types/applystereotypeadvice/1.1" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:setvaluesadvice="http://www.eclipse.org/papyrus/emf/types/setvaluesadvice/1.1" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="org.eclipse.papyrus.sysml.service.types.elementTypeSet.extension" description="SysML 1.5 extension element type set" identifier="org.eclipse.papyrus.sysml.service.types.elementTypeSet.extension" name="SysML 1.5" metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML"> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.AbstractDefinition" identifier="org.eclipse.papyrus.SysML.AbstractDefinition" name="AbstractDefinition" hint="UML::Classifier"> + <iconEntry xmi:id="_Fh6LgPJVEeSpV8ZeWOq13Q" iconPath="/icons/full/obj16/Classifier.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_BE2mYIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Classifier"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.AbstractDefinitionClass" identifier="org.eclipse.papyrus.SysML.AbstractDefinitionClass" name="AbstractDefinitionClass" hint="UML::Class"> + <iconEntry xmi:id="_Fh6LgPJVEeSpV8ZeWOq13Q" iconPath="/icons/full/obj16/Classifier.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_BE2mYIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="#org.eclipse.papyrus.SysML.AbstractDefinition"/> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Class"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Unit" identifier="org.eclipse.papyrus.SysML.Unit" name="Unit" hint="UML::InstanceSpecification"> + <iconEntry xmi:id="_Fh6LgPJVEeSpV8ZeWOq13Q" iconPath="/icons/full/obj16/InstanceSpecification.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_o8jhkOjFEeSUQvXhEVQh8w" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml.service.types.advice.UnitEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_BE2mYIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.InstanceSpecification"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.QuantityKind" identifier="org.eclipse.papyrus.SysML.QuantityKind" name="QuantityKind" hint="UML::InstanceSpecification"> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_e4MKkOjOEeSWwY3EZCu9OA" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml.service.types.advice.QuantityKindEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_CnAVoIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.InstanceSpecification"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.ConstraintProperty" description="Create a constraint Property" identifier="org.eclipse.papyrus.SysML.ConstraintProperty" name="ConstraintProperty" hint="UML::Property"> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_9KeL8PflEeSxkueHcFw1lw" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml.service.types.advice.ConstraintPropertyEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_Eka-AF4NEeWhfPUqbhxdNA" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.ConstraintPropertyMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.ActorPart" description="Create an actor Part" identifier="org.eclipse.papyrus.SysML.ActorPart" name="ActorPart" hint="UML::Property"> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_-i3TYSCDEeWp9rJ2gmw59A" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml.service.types.advice.ActorPartEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_DvHNMIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Value" description="Create a value" identifier="org.eclipse.papyrus.SysML.Value" name="Value" hint="UML::Property"> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_dWnbASCxEeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml.service.types.advice.AfterConfigureCommandEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_D6YpEIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Reference" description="Create a reference" identifier="org.eclipse.papyrus.SysML.Reference" name="Reference" hint="UML::Property"> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_n1I8cSC-EeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml.service.types.advice.AfterConfigureCommandEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_zmSPMGD8EeWD7_0a8AR7SA" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.ReferencePropertyMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Part" description="Create a part" identifier="org.eclipse.papyrus.SysML.Part" name="Part" hint="UML::Property"> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_VH780SDGEeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml.service.types.advice.AfterConfigureCommandEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_EgLdwIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Parameter" description="Create a parameter" identifier="org.eclipse.papyrus.SysML.Parameter" name="Parameter" hint="UML::Property"> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_I_vSgAI_Eeav1Me8hSVMqw" editHelperAdviceClassName="org.eclipse.papyrus.sysml.service.types.advice.AfterConfigureCommandEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_Qp1iUAI9Eeav1Me8hSVMqw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.ConfiguredFlowProperty" description="Create a FlowProperty" identifier="org.eclipse.papyrus.SysML.ConfiguredFlowProperty" name="FlowProperty" hint="UML::Property"> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_urzE0GFBEeWbSMDuSXx8SQ" editHelperAdviceClassName="org.eclipse.papyrus.sysml.service.types.advice.AfterConfigureCommandEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_EyD38Ie7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" xmi:id="org.eclipse.papyrus.sysml.stereotypeinstance.Block" identifier="org.eclipse.papyrus.sysml.stereotypeinstance.Block" name="SysML::StereotypeInstance::Block" hint="SysML::StereotypeInstance::Block" editHelperClassName="org.eclipse.papyrus.infra.gmfdiag.common.helper.DefaultEditHelper"> + <eClass href="../../org.eclipse.papyrus.sysml/resources/profile/sysml.ecore#//blocks/Block"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Activity" description="Create a TestCase Activity" identifier="org.eclipse.papyrus.SysML.Activity" name="Activity" hint="UML::Activity"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_FAeHYIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Activity"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.FunctionBehavior" description="Create a TestCase FunctionBehavior" identifier="org.eclipse.papyrus.SysML.FunctionBehavior" name="TestCase FunctionBehavior" hint="UML::FunctionBehavior"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_FJUhYIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.FunctionBehavior"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Interaction" description="Create a TestCase Interaction" identifier="org.eclipse.papyrus.SysML.Interaction" name="TestCase Interaction" hint="UML::Interaction"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_FWT0gIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Interaction"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.OpaqueBehavior" description="Create a TestCase OpaqueBehavior" identifier="org.eclipse.papyrus.SysML.OpaqueBehavior" name="TestCase OpaqueBehavior" hint="UML::OpaqueBehavior"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_FgMwUIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.OpaqueBehavior"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.ProtocolStateMachine" description="Create a TestCase ProtocolStateMachine" identifier="org.eclipse.papyrus.SysML.ProtocolStateMachine" name="TestCase ProtocolStateMachine" hint="UML::ProtocolStateMachine"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_FqLywIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ProtocolStateMachine"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.StateMachine" description="Create a TestCase StateMachine" identifier="org.eclipse.papyrus.SysML.StateMachine" name="TestCase StateMachine" hint="UML::StateMachine"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_FygBQIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.StateMachine"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.PrivatePackageImport" description="Create a PrivatePackageImport" identifier="org.eclipse.papyrus.SysML.PrivatePackageImport" name="PrivatePackageImport" hint="UML::PackageImport"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_bo2CgJzwEeWe1L0yBJDEDA" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.PackageImport"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.AssociationBlock" description="Create an AssociationBlock" identifier="org.eclipse.papyrus.SysML.AssociationBlock" name="AssociationBlock" hint="UML::AssociationClass"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_37v7w5bYEeaZ0sxu8zNRQA" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.AssociationClass"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.ContinuousControlFlow" description="Create an ContinuousControlFlow" identifier="org.eclipse.papyrus.SysML.ContinuousControlFlow" name="ContinuousControlFlow" hint="UML::ControlFlow"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_v5bGoYZzEeerT_fHYI6l5w" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ControlFlow"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.StakeholderClass" identifier="org.eclipse.papyrus.SysML.StakeholderClass" name="Stakeholder" hint="UML::Class"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_v5bGoYZzEeerT_fHYI6l5w" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Stakeholder"/> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Class"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.DiscreteControlFlow" description="Create an DiscreteControlFlow" identifier="org.eclipse.papyrus.SysML.DiscreteControlFlow" name="DiscreteControlFlow" hint="UML::ControlFlow"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_v5bGoYZzEeerT_fHYI6l5w" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ControlFlow"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.RateControlFlow" description="Create an RateControlFlow" identifier="org.eclipse.papyrus.SysML.RateControlFlow" name="RateControlFlow" hint="UML::ControlFlow"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_v5bGoYZzEeerT_fHYI6l5w" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ControlFlow"/> + </elementTypeConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VhTxBEyW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.apply.continuous" target="org.eclipse.papyrus.SysML.ContinuousControlFlow"> + <stereotypesToApply xmi:id="_fy_VhjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Continuous" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VhTxBEyW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.apply.discrete" target="org.eclipse.papyrus.SysML.DiscreteControlFlow"> + <stereotypesToApply xmi:id="_fy_VhjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Discrete" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VhTxBEyW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.apply.rate" target="org.eclipse.papyrus.SysML.RateControlFlow"> + <stereotypesToApply xmi:id="_fy_VhjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Rate" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_TpKq0FFwEeWPz5cwbRdVrg" description="satisfy org.eclipse.papyrus.sysml.service.types.REQ_001" identifier="org.eclipse.papyru.sysml.advice.ConformCreation" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml.service.types.advice.ConformCreationEditHelperAdvice"> + <target xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Classifier"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_HjxKkIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_pt2vIFIiEeWPz5cwbRdVrg" description="satisfy org.eclipse.papyrus.sysml.service.types.REQ_001" identifier="org.eclipse.papyru.sysml.advice.ConformReorient" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml.service.types.advice.ConformReorientEditHelperAdvice"> + <target xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Conform"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_H3hNAIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_NLW78FMHEeWPz5cwbRdVrg" description="satisfy org.eclipse.papyrus.sysml.service.types.REQ_002" identifier="org.eclipse.papyru.sysml.advice.ElementGroup" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml.service.types.advice.ElementGroupEditHelperAdvice"> + <target xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Comment"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_H_W6YIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_YSwK8FeYEeWPz5cwbRdVrg" description="satisfy org.eclipse.papyrus.sysml.service.types.REQ_004" identifier="org.eclipse.papyrus.sysml.service.types.advice.PartCreationEditHelperAdvice" target="org.eclipse.papyrus.SysML.Part" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml.service.types.advice.PartCreationEditHelperAdvice"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_IF3yEIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_XQ3NIFe5EeWPz5cwbRdVrg" description="satisfy org.eclipse.papyrus.sysml.service.types.REQ_004" identifier="org.eclipse.papyrus.sysml.service.types.advice.ReferenceCreationEditHelperAdvice" target="org.eclipse.papyrus.SysML.Reference" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml.service.types.advice.ReferenceCreationEditHelperAdvice"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_IMTxQIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_tA9JMFhlEeWtAJZqY6vX8w" description="satisfy org.eclipse.papyrus.sysml.service.types.REQ_007" identifier="org.eclipse.papyru.sysml.advice.ConnectorReorientEditHelperAdvice" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml.service.types.advice.ConnectorReorientEditHelperAdvice"> + <target xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Connector"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_ISq38Ie7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_tO760FhlEeWtAJZqY6vX8w" description="satisfy org.eclipse.papyrus.sysml.service.types.REQ_007" identifier="org.eclipse.papyru.sysml.advice.ConnectorCreationEditHelperAdvice" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml.service.types.advice.ConnectorCreationEditHelperAdvice"> + <target xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Block"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_IZPaAIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_4AoGQGYREeeWpsOEmp97Xw" description="satisfy org.eclipse.papyrus.sysml.service.types.REQ_007" identifier="org.eclipse.papyru.sysml.advice.ConnectorCreationConstraintBlockEditHelperAdvice" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml.service.types.advice.ConnectorCreationEditHelperAdvice"> + <target xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ConstraintBlock"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_4AoGQWYREeeWpsOEmp97Xw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_rgTZMGFBEeW4GYiHqXalDg" description="satisfy org.eclipse.papyrus.sysml.service.types.REQ_007" identifier="org.eclipse.papyrus.sysml.service.types.advice.SetEncapsulatedEditHelperAdvice" target="org.eclipse.papyrus.sysml.stereotypeinstance.Block" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml.service.types.advice.SetEncapsulatedEditHelperAdvice"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_IiwiYIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_lVBAYGaLEeWv7P_h5u3SSw" identifier="org.eclipse.papyrus.SysML.testcase.Activity" target="org.eclipse.papyrus.SysML.Activity"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_KmOO8Ie7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <stereotypesToApply xmi:id="_shGzoGaLEeWv7P_h5u3SSw" stereotypeQualifiedName="SysML::Requirements::TestCase"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_lVBAYGaLEeWv7P_h5u3SSw" identifier="org.eclipse.papyrus.SysML.testcase.FunctionBehavior" target="org.eclipse.papyrus.SysML.FunctionBehavior"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_KwI_8Ie7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <stereotypesToApply xmi:id="_shGzoGaLEeWv7P_h5u3SSw" stereotypeQualifiedName="SysML::Requirements::TestCase"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_lVBAYGaLEeWv7P_h5u3SSw" identifier="org.eclipse.papyrus.SysML.testcase.Interaction" target="org.eclipse.papyrus.SysML.Interaction"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_K7KkMIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <stereotypesToApply xmi:id="_shGzoGaLEeWv7P_h5u3SSw" stereotypeQualifiedName="SysML::Requirements::TestCase"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_lVBAYGaLEeWv7P_h5u3SSw" identifier="org.eclipse.papyrus.SysML.testcase.OpaqueBehavior" target="org.eclipse.papyrus.SysML.OpaqueBehavior"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_LKI0UIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <stereotypesToApply xmi:id="_shGzoGaLEeWv7P_h5u3SSw" stereotypeQualifiedName="SysML::Requirements::TestCase"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_lVBAYGaLEeWv7P_h5u3SSw" identifier="org.eclipse.papyrus.SysML.testcase.ProtocolStateMachine" target="org.eclipse.papyrus.SysML.ProtocolStateMachine"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_LU0aUIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <stereotypesToApply xmi:id="_shGzoGaLEeWv7P_h5u3SSw" stereotypeQualifiedName="SysML::Requirements::TestCase"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_lVBAYGaLEeWv7P_h5u3SSw" identifier="org.eclipse.papyrus.SysML.testcase.StateMachine" target="org.eclipse.papyrus.SysML.StateMachine"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_Lg5ugIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <stereotypesToApply xmi:id="_shGzoGaLEeWv7P_h5u3SSw" stereotypeQualifiedName="SysML::Requirements::TestCase"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_lVBAYGaLEeWv7P_h4u3SSw" identifier="org.eclipse.papyrus.SysML.testcase.StateMachine" target="org.eclipse.papyrus.SysML.AssociationBlock"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_Lg5ugIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <stereotypesToApply xmi:id="_shGzoGaLEeWv7P_h5u2SSw" stereotypeQualifiedName="SysML::Blocks::Block"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_hnZx8HHKEeWA-bU7ePaZzw" identifier="Allocate_Abstraction.DirectedRelationshipPropertyPathEditHelperAdvice" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml.service.types.advice.DirectedRelationshipPropertyPathEditHelperAdvice"> + <target xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Package"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_KTvX0Ie7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_df5_gHMnEeWA-bU7ePaZzw" identifier="Allocate_Abstraction.ReorientDirectedRelationshipPPEditHelperAdvice" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml.service.types.advice.ReorientDirectedRelationshipPPEditHelperAdvice"> + <target xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Allocate_Abstraction"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_KbIZQIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_TLxCYIPfEeWhLaOZG6fRyw" identifier="org.eclipse.papyrus.sysml.service.types.advice.ConstraintCreationEditHelperAdvice" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml.service.types.advice.ConstraintCreationEditHelperAdvice"> + <target xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="setvaluesadvice:SetValuesAdviceConfiguration" xmi:id="_v6SvEKsWEeaA7ctmzDJT8w" description="Set visibility to private " identifier="org.eclipse.papyrus.SysML.PrivatePackageImport.setPrivate" target="org.eclipse.papyrus.SysML.PrivatePackageImport"> + <featuresToSet xmi:id="_w_Fz8KsWEeaA7ctmzDJT8w" featureName="visibility"> + <value xsi:type="setvaluesadvice:ConstantValue" xmi:id="__8iDoKsWEeaA7ctmzDJT8w"> + <valueInstance xsi:type="uml:InstanceValue" xmi:id="_XknIMKsXEeaA7ctmzDJT8w"> + <type xsi:type="uml:Enumeration" href="pathmap://UML_METAMODELS/UML.metamodel.uml#VisibilityKind"/> + <instance href="pathmap://UML_METAMODELS/UML.metamodel.uml#VisibilityKind-private"/> + </valueInstance> + </value> + </featuresToSet> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_Qe1A8DbzEeeuq_-iYg-Yhg" description="" identifier="org.eclipse.papyru.sysml.advice.DeriveReqtClient" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml.service.types.advice.DeriveReqtClientEditHelperAdvice"> + <target xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Element"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_Qe1A8TbzEeeuq_-iYg-Yhg" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_XecvUDoxEeeIivSImw6BZw" description="" identifier="org.eclipse.papyru.sysml.advice.DeriveReqtSupplier" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml.service.types.advice.DeriveReqtSupplierEditHelperAdvice"> + <target xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Package"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_XecvUToxEeeIivSImw6BZw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_YtnJcHFNEeeCZ-Pk8PbmwA" description="" identifier="org.eclipse.papyru.sysml.advice.ConnectorPropertyEditHelperAdvice" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml.service.types.advice.ConnectorPropertyEditHelperAdvice"> + <target xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ConnectorProperty"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_YtnJcXFNEeeCZ-Pk8PbmwA" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="setvaluesadvice:SetValuesAdviceConfiguration" xmi:id="_Tk5JQI7zEeeDbJfI3Rz1yA" description="Set abstract to true " identifier="org.eclipse.papyrus.SysML.AbstractDefinition.setAbstract" target="org.eclipse.papyrus.SysML.AbstractDefinition"> + <featuresToSet xmi:id="_Tk5JQY7zEeeDbJfI3Rz1yA" featureName="isAbstract"> + <value xsi:type="setvaluesadvice:ConstantValue" xmi:id="_Tk5JQo7zEeeDbJfI3Rz1yA"> + <valueInstance xsi:type="uml:LiteralBoolean" xmi:id="_m69mEI7zEeeDbJfI3Rz1yA" value="true"/> + </value> + </featuresToSet> + </adviceBindingsConfigurations> +</elementtypesconfigurations:ElementTypeSetConfiguration>
diff --git a/core/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations b/core/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations new file mode 100644 index 0000000..e8e4a3c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations
@@ -0,0 +1,867 @@ +<?xml version="1.0" encoding="ASCII"?> +<elementtypesconfigurations:ElementTypeSetConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:applystereotypeadvice="http://www.eclipse.org/papyrus/uml/types/applystereotypeadvice/1.1" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:stereotypematcher="http://www.eclipse.org/papyrus/uml/types/stereotypematcher/1.1" xmi:id="org.eclipse.papyrus.sysml.service.types.elementTypeSet" identifier="org.eclipse.papyrus.sysml.service.types.elementTypeSet" name="SysML 1.5" metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML"> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.AcceptChangeStructuralFeatureEventAction" description="" identifier="org.eclipse.papyrus.SysML.AcceptChangeStructuralFeatureEventAction" name="AcceptChangeStructuralFeatureEventAction" hint="UML::AcceptEventAction"> + <iconEntry xmi:id="_fy_UkjxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/AcceptEventAction.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UkzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::PortsAndFlows::AcceptChangeStructuralFeatureEventAction</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.AcceptEventAction"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.AdjunctProperty" identifier="org.eclipse.papyrus.SysML.AdjunctProperty" name="AdjunctProperty" hint="UML::Property"> + <iconEntry xmi:id="_fy_UlTxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UljxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Blocks::AdjunctProperty</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.AllocateActivityPartition" identifier="org.eclipse.papyrus.SysML.AllocateActivityPartition" name="AllocateActivityPartition" hint="UML::ActivityPartition"> + <iconEntry xmi:id="_fy_UmDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/ActivityPartition.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UmTxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Allocations::AllocateActivityPartition</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ActivityPartition"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Allocate_Abstraction" identifier="org.eclipse.papyrus.SysML.Allocate_Abstraction" name="Allocate Abstraction" hint="UML::Abstraction"> + <iconEntry xmi:id="_fy_UmzxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Abstraction.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UnDxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Allocations::Allocate</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Abstraction"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Allocate_DirectedRelationship" identifier="org.eclipse.papyrus.SysML.Allocate_DirectedRelationship" name="Allocate DirectedRelationship" hint="UML::DirectedRelationship"> + <iconEntry xmi:id="_fy_UnjxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/DirectedRelationship.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UnzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Allocations::Allocate</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DirectedRelationship"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.BindingConnector" identifier="org.eclipse.papyrus.SysML.BindingConnector" name="BindingConnector" hint="UML::Connector"> + <iconEntry xmi:id="_fy_UoTxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Connector.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UojxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Blocks::BindingConnector</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Connector"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Block" identifier="org.eclipse.papyrus.SysML.Block" name="Block" hint="UML::Class"> + <iconEntry xmi:id="_fy_UpDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Class.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_hWNdwIFAEeW-oJNntvAv1g" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Blocks::Block</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Class"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.BoundReference" identifier="org.eclipse.papyrus.SysML.BoundReference" name="BoundReference" hint="UML::Property"> + <iconEntry xmi:id="_fy_UpzxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UqDxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Blocks::BoundReference</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.ChangeStructuralFeatureEvent" identifier="org.eclipse.papyrus.SysML.ChangeStructuralFeatureEvent" name="ChangeStructuralFeatureEvent" hint="UML::ChangeEvent"> + <iconEntry xmi:id="_fy_UqjxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/ChangeEvent.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UqzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::PortsAndFlows::ChangeStructuralFeatureEvent</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ChangeEvent"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.ClassifierBehaviorProperty" identifier="org.eclipse.papyrus.SysML.ClassifierBehaviorProperty" name="ClassifierBehaviorProperty" hint="UML::Property"> + <iconEntry xmi:id="_fy_UrTxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UrjxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Blocks::ClassifierBehaviorProperty</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Conform" identifier="org.eclipse.papyrus.SysML.Conform" name="Conform" hint="UML::Generalization"> + <iconEntry xmi:id="_fy_UsDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Generalization.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UsTxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::ModelElements::Conform</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Generalization"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.ConnectorProperty" identifier="org.eclipse.papyrus.SysML.ConnectorProperty" name="ConnectorProperty" hint="UML::Property"> + <iconEntry xmi:id="_fy_UszxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UtDxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Blocks::ConnectorProperty</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.ConstraintBlock" identifier="org.eclipse.papyrus.SysML.ConstraintBlock" name="ConstraintBlock" hint="UML::Class"> + <iconEntry xmi:id="_fy_UtjxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Class.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UtzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::ConstraintBlocks::ConstraintBlock</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Class"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Continuous_ActivityEdge" identifier="org.eclipse.papyrus.SysML.Continuous_ActivityEdge" name="Continuous ActivityEdge" hint="UML::ActivityEdge"> + <iconEntry xmi:id="_fy_UuTxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/ActivityEdge.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UujxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Activities::Continuous</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ActivityEdge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Continuous_ObjectNode" identifier="org.eclipse.papyrus.SysML.Continuous_ObjectNode" name="Continuous ObjectNode" hint="UML::ObjectNode"> + <iconEntry xmi:id="_fy_UvDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/ObjectNode.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UvTxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Activities::Continuous</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ObjectNode"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Continuous_Parameter" identifier="org.eclipse.papyrus.SysML.Continuous_Parameter" name="Continuous Parameter" hint="UML::Parameter"> + <iconEntry xmi:id="_fy_UvzxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Parameter.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UwDxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Activities::Continuous</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Parameter"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.ControlOperator_Behavior" identifier="org.eclipse.papyrus.SysML.ControlOperator_Behavior" name="ControlOperator Behavior" hint="UML::Behavior"> + <iconEntry xmi:id="_fy_UwjxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Behavior.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UwzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Activities::ControlOperator</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Behavior"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.ControlOperator_Operation" identifier="org.eclipse.papyrus.SysML.ControlOperator_Operation" name="ControlOperator Operation" hint="UML::Operation"> + <iconEntry xmi:id="_fy_UxTxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Operation.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UxjxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Activities::ControlOperator</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Operation"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Copy_Abstraction" identifier="org.eclipse.papyrus.SysML.Copy_Abstraction" name="Copy Abstraction" hint="UML::Abstraction"> + <iconEntry xmi:id="_fy_UyDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Abstraction.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UyTxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Requirements::Copy</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Abstraction"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Copy_DirectedRelationship" identifier="org.eclipse.papyrus.SysML.Copy_DirectedRelationship" name="Copy DirectedRelationship" hint="UML::DirectedRelationship"> + <iconEntry xmi:id="_fy_UyzxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/DirectedRelationship.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UzDxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Requirements::Copy</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DirectedRelationship"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.DeriveReqt_Abstraction" identifier="org.eclipse.papyrus.SysML.DeriveReqt_Abstraction" name="DeriveReqt Abstraction" hint="UML::Abstraction"> + <iconEntry xmi:id="_fy_UzjxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Abstraction.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UzzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Requirements::DeriveReqt</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Abstraction"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.DeriveReqt_DirectedRelationship" identifier="org.eclipse.papyrus.SysML.DeriveReqt_DirectedRelationship" name="DeriveReqt DirectedRelationship" hint="UML::DirectedRelationship"> + <iconEntry xmi:id="_fy_U0TxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/DirectedRelationship.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U0jxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Requirements::DeriveReqt</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DirectedRelationship"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.DirectedFeature" identifier="org.eclipse.papyrus.SysML.DirectedFeature" name="DirectedFeature" hint="UML::Feature"> + <iconEntry xmi:id="_fy_U1DxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Feature.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U1TxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::PortsAndFlows::DirectedFeature</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Feature"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.DirectedRelationshipPropertyPath" identifier="org.eclipse.papyrus.SysML.DirectedRelationshipPropertyPath" name="DirectedRelationshipPropertyPath" hint="UML::DirectedRelationship"> + <iconEntry xmi:id="_fy_U1zxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/DirectedRelationship.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U2DxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Blocks::DirectedRelationshipPropertyPath</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DirectedRelationship"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Discrete_ActivityEdge" identifier="org.eclipse.papyrus.SysML.Discrete_ActivityEdge" name="Discrete ActivityEdge" hint="UML::ActivityEdge"> + <iconEntry xmi:id="_fy_U2jxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/ActivityEdge.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U2zxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Activities::Discrete</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ActivityEdge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Discrete_ObjectNode" identifier="org.eclipse.papyrus.SysML.Discrete_ObjectNode" name="Discrete ObjectNode" hint="UML::ObjectNode"> + <iconEntry xmi:id="_fy_U3TxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/ObjectNode.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U3jxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Activities::Discrete</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ObjectNode"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Discrete_Parameter" identifier="org.eclipse.papyrus.SysML.Discrete_Parameter" name="Discrete Parameter" hint="UML::Parameter"> + <iconEntry xmi:id="_fy_U4DxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Parameter.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U4TxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Activities::Discrete</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Parameter"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.DistributedProperty" identifier="org.eclipse.papyrus.SysML.DistributedProperty" name="DistributedProperty" hint="UML::Property"> + <iconEntry xmi:id="_fy_U4zxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U5DxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Blocks::DistributedProperty</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.ElementGroup" identifier="org.eclipse.papyrus.SysML.ElementGroup" name="ElementGroup" hint="UML::Comment"> + <iconEntry xmi:id="_fy_U5jxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Comment.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U5zxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::ModelElements::ElementGroup</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Comment"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.ElementPropertyPath" identifier="org.eclipse.papyrus.SysML.ElementPropertyPath" name="ElementPropertyPath" hint="UML::Element"> + <iconEntry xmi:id="_fy_U6TxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Element.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U6jxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Blocks::ElementPropertyPath</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Element"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.EndPathMultiplicity" identifier="org.eclipse.papyrus.SysML.EndPathMultiplicity" name="EndPathMultiplicity" hint="UML::Property"> + <iconEntry xmi:id="_fy_U7DxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U7TxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Blocks::EndPathMultiplicity</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Expose" identifier="org.eclipse.papyrus.SysML.Expose" name="Expose" hint="UML::Dependency"> + <iconEntry xmi:id="_fy_U7zxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Dependency.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U8DxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::ModelElements::Expose</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Dependency"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.FlowPort" identifier="org.eclipse.papyrus.SysML.FlowPort" name="FlowPort" hint="UML::Port"> + <iconEntry xmi:id="_fy_U8jxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Port.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U8zxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::DeprecatedElements::FlowPort</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Port"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.FlowProperty" identifier="org.eclipse.papyrus.SysML.FlowProperty" name="FlowProperty" hint="UML::Property"> + <iconEntry xmi:id="_fy_U9TxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U9jxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::PortsAndFlows::FlowProperty</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.FlowSpecification" identifier="org.eclipse.papyrus.SysML.FlowSpecification" name="FlowSpecification" hint="UML::Interface"> + <iconEntry xmi:id="_fy_U-DxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Interface.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U-TxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::DeprecatedElements::FlowSpecification</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Interface"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.FullPort" identifier="org.eclipse.papyrus.SysML.FullPort" name="FullPort" hint="UML::Port"> + <iconEntry xmi:id="_fy_U-zxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Port.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U_DxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::PortsAndFlows::FullPort</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Port"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.InterfaceBlock" identifier="org.eclipse.papyrus.SysML.InterfaceBlock" name="InterfaceBlock" hint="UML::Class"> + <iconEntry xmi:id="_fy_U_jxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Class.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U_zxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::PortsAndFlows::InterfaceBlock</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Class"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.InvocationOnNestedPortAction_Element" identifier="org.eclipse.papyrus.SysML.InvocationOnNestedPortAction_Element" name="InvocationOnNestedPortAction Element" hint="UML::Element"> + <iconEntry xmi:id="_fy_VATxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Element.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VAjxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::PortsAndFlows::InvocationOnNestedPortAction</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Element"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.InvocationOnNestedPortAction_InvocationAction" identifier="org.eclipse.papyrus.SysML.InvocationOnNestedPortAction_InvocationAction" name="InvocationOnNestedPortAction InvocationAction" hint="UML::InvocationAction"> + <iconEntry xmi:id="_fy_VBDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/InvocationAction.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VBTxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::PortsAndFlows::InvocationOnNestedPortAction</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.InvocationAction"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.ItemFlow" identifier="org.eclipse.papyrus.SysML.ItemFlow" name="ItemFlow" hint="UML::InformationFlow"> + <iconEntry xmi:id="_fy_VBzxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/InformationFlow.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VCDxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::PortsAndFlows::ItemFlow</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.InformationFlow"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.NestedConnectorEnd_ConnectorEnd" identifier="org.eclipse.papyrus.SysML.NestedConnectorEnd_ConnectorEnd" name="NestedConnectorEnd ConnectorEnd" hint="UML::ConnectorEnd"> + <iconEntry xmi:id="_fy_VCjxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/ConnectorEnd.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VCzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Blocks::NestedConnectorEnd</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ConnectorEnd"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.NestedConnectorEnd_Element" identifier="org.eclipse.papyrus.SysML.NestedConnectorEnd_Element" name="NestedConnectorEnd Element" hint="UML::Element"> + <iconEntry xmi:id="_fy_VDTxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Element.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VDjxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Blocks::NestedConnectorEnd</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Element"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.NoBuffer" identifier="org.eclipse.papyrus.SysML.NoBuffer" name="NoBuffer" hint="UML::ObjectNode"> + <iconEntry xmi:id="_fy_VEDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/ObjectNode.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VETxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Activities::NoBuffer</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ObjectNode"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Optional" identifier="org.eclipse.papyrus.SysML.Optional" name="Optional" hint="UML::Parameter"> + <iconEntry xmi:id="_fy_VEzxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Parameter.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VFDxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Activities::Optional</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Parameter"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Overwrite" identifier="org.eclipse.papyrus.SysML.Overwrite" name="Overwrite" hint="UML::ObjectNode"> + <iconEntry xmi:id="_fy_VFjxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/ObjectNode.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VFzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Activities::Overwrite</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ObjectNode"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.ParticipantProperty" identifier="org.eclipse.papyrus.SysML.ParticipantProperty" name="ParticipantProperty" hint="UML::Property"> + <iconEntry xmi:id="_fy_VGTxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VGjxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Blocks::ParticipantProperty</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Probability_ActivityEdge" identifier="org.eclipse.papyrus.SysML.Probability_ActivityEdge" name="Probability ActivityEdge" hint="UML::ActivityEdge"> + <iconEntry xmi:id="_fy_VHDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/ActivityEdge.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VHTxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Activities::Probability</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ActivityEdge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Probability_ParameterSet" identifier="org.eclipse.papyrus.SysML.Probability_ParameterSet" name="Probability ParameterSet" hint="UML::ParameterSet"> + <iconEntry xmi:id="_fy_VHzxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/ParameterSet.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VIDxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Activities::Probability</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ParameterSet"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Problem" identifier="org.eclipse.papyrus.SysML.Problem" name="Problem" hint="UML::Comment"> + <iconEntry xmi:id="_fy_VIjxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Comment.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VIzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::ModelElements::Problem</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Comment"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.PropertySpecificType" identifier="org.eclipse.papyrus.SysML.PropertySpecificType" name="PropertySpecificType" hint="UML::Classifier"> + <iconEntry xmi:id="_fy_VJTxBEeW7COAmy3tOJw" iconPath="/icons/Classifier.gif" bundleId="org.eclipse.papyrus.uml.service.types"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VJjxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Blocks::PropertySpecificType</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Classifier"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.ProxyPort" identifier="org.eclipse.papyrus.SysML.ProxyPort" name="ProxyPort" hint="UML::Port"> + <iconEntry xmi:id="_fy_VKDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Port.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VKTxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::PortsAndFlows::ProxyPort</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Port"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Rate_ActivityEdge" identifier="org.eclipse.papyrus.SysML.Rate_ActivityEdge" name="Rate ActivityEdge" hint="UML::ActivityEdge"> + <iconEntry xmi:id="_fy_VKzxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/ActivityEdge.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VLDxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Activities::Rate</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ActivityEdge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Rate_ObjectNode" identifier="org.eclipse.papyrus.SysML.Rate_ObjectNode" name="Rate ObjectNode" hint="UML::ObjectNode"> + <iconEntry xmi:id="_fy_VLjxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/ObjectNode.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VLzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Activities::Rate</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ObjectNode"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Rate_Parameter" identifier="org.eclipse.papyrus.SysML.Rate_Parameter" name="Rate Parameter" hint="UML::Parameter"> + <iconEntry xmi:id="_fy_VMTxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Parameter.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VMjxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Activities::Rate</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Parameter"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Rationale" identifier="org.eclipse.papyrus.SysML.Rationale" name="Rationale" hint="UML::Comment"> + <iconEntry xmi:id="_fy_VNDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Comment.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VNTxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::ModelElements::Rationale</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Comment"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Refine_Abstraction" identifier="org.eclipse.papyrus.SysML.Refine_Abstraction" name="Refine Abstraction" hint="UML::Abstraction"> + <iconEntry xmi:id="_fy_VNzxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Abstraction.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VODxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Requirements::Refine</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Abstraction"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Refine_DirectedRelationship" identifier="org.eclipse.papyrus.SysML.Refine_DirectedRelationship" name="Refine DirectedRelationship" hint="UML::DirectedRelationship"> + <iconEntry xmi:id="_fy_VOjxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/DirectedRelationship.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VOzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Requirements::Refine</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DirectedRelationship"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Requirement" identifier="org.eclipse.papyrus.SysML.Requirement" name="Requirement" hint="UML::Class"> + <iconEntry xmi:id="_fy_VPTxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Class.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VPjxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Requirements::Requirement</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Class"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Satisfy_Abstraction" identifier="org.eclipse.papyrus.SysML.Satisfy_Abstraction" name="Satisfy Abstraction" hint="UML::Abstraction"> + <iconEntry xmi:id="_fy_VQDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Abstraction.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VQTxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Requirements::Satisfy</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Abstraction"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Satisfy_DirectedRelationship" identifier="org.eclipse.papyrus.SysML.Satisfy_DirectedRelationship" name="Satisfy DirectedRelationship" hint="UML::DirectedRelationship"> + <iconEntry xmi:id="_fy_VQzxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/DirectedRelationship.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VRDxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Requirements::Satisfy</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DirectedRelationship"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Stakeholder" identifier="org.eclipse.papyrus.SysML.Stakeholder" name="Stakeholder" hint="UML::Classifier"> + <iconEntry xmi:id="_fy_VRjxBEeW7COAmy3tOJw" iconPath="/icons/Classifier.gif" bundleId="org.eclipse.papyrus.uml.service.types"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VRzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::ModelElements::Stakeholder</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Classifier"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.TestCase_Behavior" identifier="org.eclipse.papyrus.SysML.TestCase_Behavior" name="TestCase Behavior" hint="UML::Behavior"> + <iconEntry xmi:id="_fy_VSTxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Behavior.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VSjxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Requirements::TestCase</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Behavior"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.TestCase_Operation" identifier="org.eclipse.papyrus.SysML.TestCase_Operation" name="TestCase Operation" hint="UML::Operation"> + <iconEntry xmi:id="_fy_VTDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Operation.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VTTxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Requirements::TestCase</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Operation"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Trace_Abstraction" identifier="org.eclipse.papyrus.SysML.Trace_Abstraction" name="Trace Abstraction" hint="UML::Abstraction"> + <iconEntry xmi:id="_fy_VTzxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Abstraction.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VUDxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Requirements::Trace</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Abstraction"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Trace_DirectedRelationship" identifier="org.eclipse.papyrus.SysML.Trace_DirectedRelationship" name="Trace DirectedRelationship" hint="UML::DirectedRelationship"> + <iconEntry xmi:id="_fy_VUjxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/DirectedRelationship.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VUzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Requirements::Trace</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DirectedRelationship"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.TriggerOnNestedPort_Element" identifier="org.eclipse.papyrus.SysML.TriggerOnNestedPort_Element" name="TriggerOnNestedPort Element" hint="UML::Element"> + <iconEntry xmi:id="_fy_VVTxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Element.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VVjxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::PortsAndFlows::TriggerOnNestedPort</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Element"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.TriggerOnNestedPort_Trigger" identifier="org.eclipse.papyrus.SysML.TriggerOnNestedPort_Trigger" name="TriggerOnNestedPort Trigger" hint="UML::Trigger"> + <iconEntry xmi:id="_fy_VWDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Trigger.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VWTxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::PortsAndFlows::TriggerOnNestedPort</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Trigger"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.ValueType" identifier="org.eclipse.papyrus.SysML.ValueType" name="ValueType" hint="UML::DataType"> + <iconEntry xmi:id="_fy_VWzxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/DataType.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VXDxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Blocks::ValueType</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DataType"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Verify_Abstraction" identifier="org.eclipse.papyrus.SysML.Verify_Abstraction" name="Verify Abstraction" hint="UML::Abstraction"> + <iconEntry xmi:id="_fy_VXjxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Abstraction.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VXzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Requirements::Verify</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Abstraction"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Verify_DirectedRelationship" identifier="org.eclipse.papyrus.SysML.Verify_DirectedRelationship" name="Verify DirectedRelationship" hint="UML::DirectedRelationship"> + <iconEntry xmi:id="_fy_VYTxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/DirectedRelationship.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VYjxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::Requirements::Verify</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DirectedRelationship"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.View" identifier="org.eclipse.papyrus.SysML.View" name="View" hint="UML::Class"> + <iconEntry xmi:id="_fy_VZDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Class.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VZTxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::ModelElements::View</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Class"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML.Viewpoint" identifier="org.eclipse.papyrus.SysML.Viewpoint" name="Viewpoint" hint="UML::Class"> + <iconEntry xmi:id="_fy_VZzxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Class.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VaDxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <stereotypesQualifiedNames>SysML::ModelElements::Viewpoint</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Class"/> + </elementTypeConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VaTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.acceptChangeStructuralFeatureEventAction" target="org.eclipse.papyrus.SysML.AcceptChangeStructuralFeatureEventAction"> + <stereotypesToApply xmi:id="_fy_VajxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::PortsAndFlows::AcceptChangeStructuralFeatureEventAction" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VazxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.adjunctProperty" target="org.eclipse.papyrus.SysML.AdjunctProperty"> + <stereotypesToApply xmi:id="_fy_VbDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::AdjunctProperty" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VbTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.allocate" target="org.eclipse.papyrus.SysML.Allocate_Abstraction"> + <stereotypesToApply xmi:id="_fy_VbjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Allocations::Allocate" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VbzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.allocate" target="org.eclipse.papyrus.SysML.Allocate_DirectedRelationship"> + <stereotypesToApply xmi:id="_fy_VcDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Allocations::Allocate" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VcTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.allocateActivityPartition" target="org.eclipse.papyrus.SysML.AllocateActivityPartition"> + <stereotypesToApply xmi:id="_fy_VcjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Allocations::AllocateActivityPartition" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VczxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.bindingConnector" target="org.eclipse.papyrus.SysML.BindingConnector"> + <stereotypesToApply xmi:id="_fy_VdDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::BindingConnector" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VdTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.block" target="org.eclipse.papyrus.SysML.Block"> + <stereotypesToApply xmi:id="_fy_VdjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::Block" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VdzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.boundReference" target="org.eclipse.papyrus.SysML.BoundReference"> + <stereotypesToApply xmi:id="_fy_VeDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::BoundReference" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VeTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.changeStructuralFeatureEvent" target="org.eclipse.papyrus.SysML.ChangeStructuralFeatureEvent"> + <stereotypesToApply xmi:id="_fy_VejxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::PortsAndFlows::ChangeStructuralFeatureEvent" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VezxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.classifierBehaviorProperty" target="org.eclipse.papyrus.SysML.ClassifierBehaviorProperty"> + <stereotypesToApply xmi:id="_fy_VfDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::ClassifierBehaviorProperty" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VfTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.conform" target="org.eclipse.papyrus.SysML.Conform"> + <stereotypesToApply xmi:id="_fy_VfjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::ModelElements::Conform" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VfzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.connectorProperty" target="org.eclipse.papyrus.SysML.ConnectorProperty"> + <stereotypesToApply xmi:id="_fy_VgDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::ConnectorProperty" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VgTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.constraintBlock" target="org.eclipse.papyrus.SysML.ConstraintBlock"> + <stereotypesToApply xmi:id="_fy_VgjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::ConstraintBlocks::ConstraintBlock" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VgzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.continuous" target="org.eclipse.papyrus.SysML.Continuous_ActivityEdge"> + <stereotypesToApply xmi:id="_fy_VhDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Continuous" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VhTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.continuous" target="org.eclipse.papyrus.SysML.Continuous_ObjectNode"> + <stereotypesToApply xmi:id="_fy_VhjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Continuous" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VhzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.continuous" target="org.eclipse.papyrus.SysML.Continuous_Parameter"> + <stereotypesToApply xmi:id="_fy_ViDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Continuous" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_ViTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.controlOperator" target="org.eclipse.papyrus.SysML.ControlOperator_Behavior"> + <stereotypesToApply xmi:id="_fy_VijxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::ControlOperator" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VizxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.controlOperator" target="org.eclipse.papyrus.SysML.ControlOperator_Operation"> + <stereotypesToApply xmi:id="_fy_VjDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::ControlOperator" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VjTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.copy" target="org.eclipse.papyrus.SysML.Copy_Abstraction"> + <stereotypesToApply xmi:id="_fy_VjjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::Copy" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VjzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.copy" target="org.eclipse.papyrus.SysML.Copy_DirectedRelationship"> + <stereotypesToApply xmi:id="_fy_VkDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::Copy" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VkTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.deriveReqt" target="org.eclipse.papyrus.SysML.DeriveReqt_Abstraction"> + <stereotypesToApply xmi:id="_fy_VkjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::DeriveReqt" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VkzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.deriveReqt" target="org.eclipse.papyrus.SysML.DeriveReqt_DirectedRelationship"> + <stereotypesToApply xmi:id="_fy_VlDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::DeriveReqt" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VlTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.directedFeature" target="org.eclipse.papyrus.SysML.DirectedFeature"> + <stereotypesToApply xmi:id="_fy_VljxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::PortsAndFlows::DirectedFeature" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VlzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.directedRelationshipPropertyPath" target="org.eclipse.papyrus.SysML.DirectedRelationshipPropertyPath"> + <stereotypesToApply xmi:id="_fy_VmDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::DirectedRelationshipPropertyPath" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VmTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.discrete" target="org.eclipse.papyrus.SysML.Discrete_ActivityEdge"> + <stereotypesToApply xmi:id="_fy_VmjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Discrete" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VmzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.discrete" target="org.eclipse.papyrus.SysML.Discrete_ObjectNode"> + <stereotypesToApply xmi:id="_fy_VnDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Discrete" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VnTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.discrete" target="org.eclipse.papyrus.SysML.Discrete_Parameter"> + <stereotypesToApply xmi:id="_fy_VnjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Discrete" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VnzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.distributedProperty" target="org.eclipse.papyrus.SysML.DistributedProperty"> + <stereotypesToApply xmi:id="_fy_VoDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::DistributedProperty" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VoTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.elementGroup" target="org.eclipse.papyrus.SysML.ElementGroup"> + <stereotypesToApply xmi:id="_fy_VojxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::ModelElements::ElementGroup" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VozxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.elementPropertyPath" target="org.eclipse.papyrus.SysML.ElementPropertyPath"> + <stereotypesToApply xmi:id="_fy_VpDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::ElementPropertyPath" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VpTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.endPathMultiplicity" target="org.eclipse.papyrus.SysML.EndPathMultiplicity"> + <stereotypesToApply xmi:id="_fy_VpjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::EndPathMultiplicity" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VpzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.expose" target="org.eclipse.papyrus.SysML.Expose"> + <stereotypesToApply xmi:id="_fy_VqDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::ModelElements::Expose" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VqTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.flowPort" target="org.eclipse.papyrus.SysML.FlowPort"> + <stereotypesToApply xmi:id="_fy_VqjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::DeprecatedElements::FlowPort" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VqzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.flowProperty" target="org.eclipse.papyrus.SysML.FlowProperty"> + <stereotypesToApply xmi:id="_fy_VrDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::PortsAndFlows::FlowProperty" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VrTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.flowSpecification" target="org.eclipse.papyrus.SysML.FlowSpecification"> + <stereotypesToApply xmi:id="_fy_VrjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::DeprecatedElements::FlowSpecification" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VrzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.fullPort" target="org.eclipse.papyrus.SysML.FullPort"> + <stereotypesToApply xmi:id="_fy_VsDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::PortsAndFlows::FullPort" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VsTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.interfaceBlock" target="org.eclipse.papyrus.SysML.InterfaceBlock"> + <stereotypesToApply xmi:id="_fy_VsjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::PortsAndFlows::InterfaceBlock" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VszxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.invocationOnNestedPortAction" target="org.eclipse.papyrus.SysML.InvocationOnNestedPortAction_InvocationAction"> + <stereotypesToApply xmi:id="_fy_VtDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::PortsAndFlows::InvocationOnNestedPortAction" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VtTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.invocationOnNestedPortAction" target="org.eclipse.papyrus.SysML.InvocationOnNestedPortAction_Element"> + <stereotypesToApply xmi:id="_fy_VtjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::PortsAndFlows::InvocationOnNestedPortAction" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VtzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.itemFlow_UML::InformationFlow" target="org.eclipse.papyrus.SysML.ItemFlow"> + <stereotypesToApply xmi:id="_fy_VuDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::PortsAndFlows::ItemFlow" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VuTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.nestedConnectorEnd" target="org.eclipse.papyrus.SysML.NestedConnectorEnd_ConnectorEnd"> + <stereotypesToApply xmi:id="_fy_VujxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::NestedConnectorEnd" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VuzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.nestedConnectorEnd" target="org.eclipse.papyrus.SysML.NestedConnectorEnd_Element"> + <stereotypesToApply xmi:id="_fy_VvDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::NestedConnectorEnd" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VvTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.noBuffer" target="org.eclipse.papyrus.SysML.NoBuffer"> + <stereotypesToApply xmi:id="_fy_VvjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::NoBuffer" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VvzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.optional" target="org.eclipse.papyrus.SysML.Optional"> + <stereotypesToApply xmi:id="_fy_VwDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Optional" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VwTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.overwrite" target="org.eclipse.papyrus.SysML.Overwrite"> + <stereotypesToApply xmi:id="_fy_VwjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Overwrite" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VwzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.participantProperty" target="org.eclipse.papyrus.SysML.ParticipantProperty"> + <stereotypesToApply xmi:id="_fy_VxDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::ParticipantProperty" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VxTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.probability" target="org.eclipse.papyrus.SysML.Probability_ActivityEdge"> + <stereotypesToApply xmi:id="_fy_VxjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Probability" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VxzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.probability" target="org.eclipse.papyrus.SysML.Probability_ParameterSet"> + <stereotypesToApply xmi:id="_fy_VyDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Probability" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VyTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.problem" target="org.eclipse.papyrus.SysML.Problem"> + <stereotypesToApply xmi:id="_fy_VyjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::ModelElements::Problem" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VyzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.propertySpecificType" target="org.eclipse.papyrus.SysML.PropertySpecificType"> + <stereotypesToApply xmi:id="_fy_VzDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::PropertySpecificType" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VzTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.proxyPort" target="org.eclipse.papyrus.SysML.ProxyPort"> + <stereotypesToApply xmi:id="_fy_VzjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::PortsAndFlows::ProxyPort" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VzzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.rate" target="org.eclipse.papyrus.SysML.Rate_ActivityEdge"> + <stereotypesToApply xmi:id="_fy_V0DxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Rate" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V0TxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.rate" target="org.eclipse.papyrus.SysML.Rate_ObjectNode"> + <stereotypesToApply xmi:id="_fy_V0jxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Rate" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V0zxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.rate" target="org.eclipse.papyrus.SysML.Rate_Parameter"> + <stereotypesToApply xmi:id="_fy_V1DxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Rate" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V1TxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.rationale" target="org.eclipse.papyrus.SysML.Rationale"> + <stereotypesToApply xmi:id="_fy_V1jxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::ModelElements::Rationale" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V1zxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.refine" target="org.eclipse.papyrus.SysML.Refine_Abstraction"> + <stereotypesToApply xmi:id="_fy_V2DxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::Refine" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V2TxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.refine" target="org.eclipse.papyrus.SysML.Refine_DirectedRelationship"> + <stereotypesToApply xmi:id="_fy_V2jxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::Refine" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V2zxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.requirement" target="org.eclipse.papyrus.SysML.Requirement"> + <stereotypesToApply xmi:id="_fy_V3DxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::Requirement" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V3TxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.satisfy" target="org.eclipse.papyrus.SysML.Satisfy_Abstraction"> + <stereotypesToApply xmi:id="_fy_V3jxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::Satisfy" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V3zxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.satisfy" target="org.eclipse.papyrus.SysML.Satisfy_DirectedRelationship"> + <stereotypesToApply xmi:id="_fy_V4DxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::Satisfy" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V4TxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.stakeholder" target="org.eclipse.papyrus.SysML.Stakeholder"> + <stereotypesToApply xmi:id="_fy_V4jxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::ModelElements::Stakeholder" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V4zxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.testCase" target="org.eclipse.papyrus.SysML.TestCase_Behavior"> + <stereotypesToApply xmi:id="_fy_V5DxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::TestCase" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V5TxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.testCase" target="org.eclipse.papyrus.SysML.TestCase_Operation"> + <stereotypesToApply xmi:id="_fy_V5jxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::TestCase" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V5zxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.trace" target="org.eclipse.papyrus.SysML.Trace_Abstraction"> + <stereotypesToApply xmi:id="_fy_V6DxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::Trace" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V6TxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.trace" target="org.eclipse.papyrus.SysML.Trace_DirectedRelationship"> + <stereotypesToApply xmi:id="_fy_V6jxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::Trace" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V6zxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.triggerOnNestedPort" target="org.eclipse.papyrus.SysML.TriggerOnNestedPort_Trigger"> + <stereotypesToApply xmi:id="_fy_V7DxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::PortsAndFlows::TriggerOnNestedPort" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V7TxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.triggerOnNestedPort" target="org.eclipse.papyrus.SysML.TriggerOnNestedPort_Element"> + <stereotypesToApply xmi:id="_fy_V7jxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::PortsAndFlows::TriggerOnNestedPort" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V7zxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.valueType" target="org.eclipse.papyrus.SysML.ValueType"> + <stereotypesToApply xmi:id="_fy_V8DxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::ValueType" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V8TxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.verify" target="org.eclipse.papyrus.SysML.Verify_Abstraction"> + <stereotypesToApply xmi:id="_fy_V8jxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::Verify" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V8zxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.verify" target="org.eclipse.papyrus.SysML.Verify_DirectedRelationship"> + <stereotypesToApply xmi:id="_fy_V9DxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::Verify" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V9TxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.view" target="org.eclipse.papyrus.SysML.View"> + <stereotypesToApply xmi:id="_fy_V9jxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::ModelElements::View" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> + <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V9zxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML.viewpoint" target="org.eclipse.papyrus.SysML.Viewpoint"> + <stereotypesToApply xmi:id="_fy_V-DxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::ModelElements::Viewpoint" updateName="true"> + <requiredProfiles>SysML</requiredProfiles> + </stereotypesToApply> + </adviceBindingsConfigurations> +</elementtypesconfigurations:ElementTypeSetConfiguration>
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/resources/doc/org.eclipse.papyrus.sysml14.service.types.di b/core/org.eclipse.papyrus.sysml.service.types/resources/doc/org.eclipse.papyrus.sysml.service.types.di similarity index 100% rename from core/org.eclipse.papyrus.sysml14.service.types/resources/doc/org.eclipse.papyrus.sysml14.service.types.di rename to core/org.eclipse.papyrus.sysml.service.types/resources/doc/org.eclipse.papyrus.sysml.service.types.di
diff --git a/core/org.eclipse.papyrus.sysml.service.types/resources/doc/org.eclipse.papyrus.sysml.service.types.notation b/core/org.eclipse.papyrus.sysml.service.types/resources/doc/org.eclipse.papyrus.sysml.service.types.notation new file mode 100644 index 0000000..3aef4b1 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/resources/doc/org.eclipse.papyrus.sysml.service.types.notation
@@ -0,0 +1,611 @@ +<?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:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/gmfdiag/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"> + <notation:Diagram xmi:id="_3lvKYFFxEeWPz5cwbRdVrg" type="PapyrusUMLClassDiagram" name="tracability Req for modelelements" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_5gwsoFFxEeWPz5cwbRdVrg" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_5g4BYFFxEeWPz5cwbRdVrg" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_5g4BYVFxEeWPz5cwbRdVrg" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_5g4BYlFxEeWPz5cwbRdVrg" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_5g9g8FFxEeWPz5cwbRdVrg" visible="false" type="Class_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_5g9g8VFxEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_5g9g8lFxEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_5g9g81FxEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5g9g9FFxEeWPz5cwbRdVrg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_5g9g9VFxEeWPz5cwbRdVrg" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_5g9g9lFxEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_5g9g91FxEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_5g9g-FFxEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5g9g-VFxEeWPz5cwbRdVrg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_5g9g-lFxEeWPz5cwbRdVrg" visible="false" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_5g9g-1FxEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_5g9g_FFxEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_5g9g_VFxEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5g9g_lFxEeWPz5cwbRdVrg"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_nxL8wJoSEeeOUvsiG0ZmwQ" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="_nxL8wZoSEeeOUvsiG0ZmwQ" name="stereotype" stringValue="SysML::Requirements::Requirement"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_nxL8wpoSEeeOUvsiG0ZmwQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_nxZYIJoSEeeOUvsiG0ZmwQ" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="_nxZYIZoSEeeOUvsiG0ZmwQ"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_nxZYIpoSEeeOUvsiG0ZmwQ" name="stereotype" stringValue="SysML::Requirements::Requirement"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_nxZYI5oSEeeOUvsiG0ZmwQ"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_nxgF0JoSEeeOUvsiG0ZmwQ" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_nxkXQJoSEeeOUvsiG0ZmwQ" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_nxoBoJoSEeeOUvsiG0ZmwQ" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_nxp20JoSEeeOUvsiG0ZmwQ" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_nxrsAJoSEeeOUvsiG0ZmwQ" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_nxthMJoSEeeOUvsiG0ZmwQ" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_nxv9cJoSEeeOUvsiG0ZmwQ" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_nxyZsJoSEeeOUvsiG0ZmwQ" type="Parameters"/> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.service.types.uml#_pjr20FFvEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5gwsoVFxEeWPz5cwbRdVrg" x="140" y="140" width="221" height="41"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_5kJX0FFxEeWPz5cwbRdVrg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_5kJX0VFxEeWPz5cwbRdVrg" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_5kJ-4FFxEeWPz5cwbRdVrg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.service.types.uml#_pjr20FFvEeWPz5cwbRdVrg"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5kJX0lFxEeWPz5cwbRdVrg" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_CArfQFFyEeWPz5cwbRdVrg" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_CAsGUFFyEeWPz5cwbRdVrg" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_CAsGUVFyEeWPz5cwbRdVrg" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_CAsGUlFyEeWPz5cwbRdVrg" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_CAsGU1FyEeWPz5cwbRdVrg" visible="false" type="Class_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_CAsGVFFyEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_CAsGVVFyEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_CAsGVlFyEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CAsGV1FyEeWPz5cwbRdVrg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_CAsGWFFyEeWPz5cwbRdVrg" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_CAsGWVFyEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_CAsGWlFyEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_CAsGW1FyEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CAsGXFFyEeWPz5cwbRdVrg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_CAsGXVFyEeWPz5cwbRdVrg" visible="false" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_CAsGXlFyEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_CAsGX1FyEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_CAsGYFFyEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CAsGYVFyEeWPz5cwbRdVrg"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_nyfkUJoSEeeOUvsiG0ZmwQ" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_nyhZgJoSEeeOUvsiG0ZmwQ" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_nyjOsJoSEeeOUvsiG0ZmwQ" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_nykc0JoSEeeOUvsiG0ZmwQ" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_nylq8JoSEeeOUvsiG0ZmwQ" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_nym5EJoSEeeOUvsiG0ZmwQ" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_nyouQJoSEeeOUvsiG0ZmwQ" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_nyqjcJoSEeeOUvsiG0ZmwQ" type="Parameters"/> + <element xmi:type="uml:Class" href="platform:/resource/org.eclipse.papyrus.sysml14/doc/omg.sysml.uml#_66F9iDq8EeW79ofuztDyTA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CArfQVFyEeWPz5cwbRdVrg" x="140" y="60" height="41"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_CBFu81FyEeWPz5cwbRdVrg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_CBFu9FFyEeWPz5cwbRdVrg" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_CBFu9lFyEeWPz5cwbRdVrg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="platform:/resource/org.eclipse.papyrus.sysml14/doc/omg.sysml.uml#_66F9iDq8EeW79ofuztDyTA"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CBFu9VFyEeWPz5cwbRdVrg" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_IpK2M1FyEeWPz5cwbRdVrg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_IpK2NFFyEeWPz5cwbRdVrg" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_IpLdQFFyEeWPz5cwbRdVrg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.service.types.uml#_FKM08FFyEeWPz5cwbRdVrg"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_IpK2NVFyEeWPz5cwbRdVrg" x="340" y="40"/> + </children> + <styles xmi:type="notation:StringValueStyle" xmi:id="_3lvKYVFxEeWPz5cwbRdVrg" name="diagram_compatibility_version" stringValue="1.3.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_3lvKYlFxEeWPz5cwbRdVrg"/> + <styles xmi:type="style:PapyrusDiagramStyle" xmi:id="_nvy1oJoSEeeOUvsiG0ZmwQ" diagramKindId="org.eclipse.papyrus.uml.diagram.class"> + <owner xmi:type="uml:Package" href="org.eclipse.papyrus.sysml.service.types.uml#_jDs7oFFvEeWPz5cwbRdVrg"/> + </styles> + <element xmi:type="uml:Package" href="org.eclipse.papyrus.sysml.service.types.uml#_jDs7oFFvEeWPz5cwbRdVrg"/> + <edges xmi:type="notation:Connector" xmi:id="_5kO3YFFxEeWPz5cwbRdVrg" type="StereotypeCommentLink" source="_5gwsoFFxEeWPz5cwbRdVrg" target="_5kJX0FFxEeWPz5cwbRdVrg"> + <styles xmi:type="notation:FontStyle" xmi:id="_5kO3YVFxEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_5kPeclFxEeWPz5cwbRdVrg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.service.types.uml#_pjr20FFvEeWPz5cwbRdVrg"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_5kO3YlFxEeWPz5cwbRdVrg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_5kPecFFxEeWPz5cwbRdVrg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_5kPecVFxEeWPz5cwbRdVrg"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_CBFu91FyEeWPz5cwbRdVrg" type="StereotypeCommentLink" source="_CArfQFFyEeWPz5cwbRdVrg" target="_CBFu81FyEeWPz5cwbRdVrg"> + <styles xmi:type="notation:FontStyle" xmi:id="_CBFu-FFyEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_CBFu_FFyEeWPz5cwbRdVrg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="platform:/resource/org.eclipse.papyrus.sysml14/doc/omg.sysml.uml#_66F9iDq8EeW79ofuztDyTA"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_CBFu-VFyEeWPz5cwbRdVrg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_CBFu-lFyEeWPz5cwbRdVrg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_CBFu-1FyEeWPz5cwbRdVrg"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_FKRGYFFyEeWPz5cwbRdVrg" type="Abstraction_Edge" source="_5gwsoFFxEeWPz5cwbRdVrg" target="_CArfQFFyEeWPz5cwbRdVrg"> + <children xmi:type="notation:DecorationNode" xmi:id="_FKRGY1FyEeWPz5cwbRdVrg" type="Abstraction_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_FKRGZFFyEeWPz5cwbRdVrg" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_FKRGZVFyEeWPz5cwbRdVrg" type="Abstraction_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_FKRGZlFyEeWPz5cwbRdVrg" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_FKRGYVFyEeWPz5cwbRdVrg"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.service.types.uml#_FKM08FFyEeWPz5cwbRdVrg"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_FKRGYlFyEeWPz5cwbRdVrg" points="[-2, -5, -19, 60]$[-92, -59, -109, 6]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FLjf0FFyEeWPz5cwbRdVrg" id="(0.45248868778280543,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FLjf0VFyEeWPz5cwbRdVrg" id="(0.45871559633027525,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_IpLdQVFyEeWPz5cwbRdVrg" type="StereotypeCommentLink" source="_FKRGYFFyEeWPz5cwbRdVrg" target="_IpK2M1FyEeWPz5cwbRdVrg"> + <styles xmi:type="notation:FontStyle" xmi:id="_IpLdQlFyEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_IpLdRlFyEeWPz5cwbRdVrg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.service.types.uml#_FKM08FFyEeWPz5cwbRdVrg"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_IpLdQ1FyEeWPz5cwbRdVrg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_IpLdRFFyEeWPz5cwbRdVrg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_IpLdRVFyEeWPz5cwbRdVrg"/> + </edges> + </notation:Diagram> + <notation:Diagram xmi:id="_gi0YYFIhEeWPz5cwbRdVrg" type="PapyrusUMLClassDiagram" name="Design" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_h4P6QFIhEeWPz5cwbRdVrg" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_h4P6QlIhEeWPz5cwbRdVrg" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_h4P6Q1IhEeWPz5cwbRdVrg" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_h4P6RFIhEeWPz5cwbRdVrg" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_h4QhUFIhEeWPz5cwbRdVrg" visible="false" type="Class_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_h4QhUVIhEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_h4QhUlIhEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_h4QhU1IhEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_h4QhVFIhEeWPz5cwbRdVrg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_h4QhVVIhEeWPz5cwbRdVrg" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_h4QhVlIhEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_h4QhV1IhEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_h4QhWFIhEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_h4QhWVIhEeWPz5cwbRdVrg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_h4QhWlIhEeWPz5cwbRdVrg" visible="false" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_h4QhW1IhEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_h4QhXFIhEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_h4QhXVIhEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_h4QhXlIhEeWPz5cwbRdVrg"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_mIYy8JoSEeeOUvsiG0ZmwQ" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_mIb2QJoSEeeOUvsiG0ZmwQ" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_mIdEYJoSEeeOUvsiG0ZmwQ" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_mIe5kJoSEeeOUvsiG0ZmwQ" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_mIgHsJoSEeeOUvsiG0ZmwQ" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_mIhV0JoSEeeOUvsiG0ZmwQ" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_mIij8JoSEeeOUvsiG0ZmwQ" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_mIjyEJoSEeeOUvsiG0ZmwQ" type="Parameters"/> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.service.types.uml#_h4NeAFIhEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_h4P6QVIhEeWPz5cwbRdVrg" x="20" y="240" width="221" height="61"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_m0Ds8FIhEeWPz5cwbRdVrg" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_m0Ds8VIhEeWPz5cwbRdVrg" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_m0Ds8lIhEeWPz5cwbRdVrg" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_m0Ds81IhEeWPz5cwbRdVrg" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_m0Ds9FIhEeWPz5cwbRdVrg" visible="false" type="Class_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_m0Ds9VIhEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_m0Ds9lIhEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_m0Ds91IhEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_m0Ds-FIhEeWPz5cwbRdVrg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_m0Ds-VIhEeWPz5cwbRdVrg" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_m0Ds-lIhEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_m0Ds-1IhEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_m0Ds_FIhEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_m0Ds_VIhEeWPz5cwbRdVrg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_m0Ds_lIhEeWPz5cwbRdVrg" visible="false" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_m0Ds_1IhEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_m0DtAFIhEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_m0DtAVIhEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_m0DtAlIhEeWPz5cwbRdVrg"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_mh3C4JoSEeeOUvsiG0ZmwQ" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_mh6GMJoSEeeOUvsiG0ZmwQ" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_mh6tQJoSEeeOUvsiG0ZmwQ" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_mh77YJoSEeeOUvsiG0ZmwQ" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_mh9JgJoSEeeOUvsiG0ZmwQ" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_mh9wkJoSEeeOUvsiG0ZmwQ" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_mh_lwJoSEeeOUvsiG0ZmwQ" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_miBa8JoSEeeOUvsiG0ZmwQ" type="Parameters"/> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.service.types.uml#_m0DF4FIhEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_m0DtBlIhEeWPz5cwbRdVrg" x="260" y="240" width="241" height="61"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_sdqZwFIhEeWPz5cwbRdVrg" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_sdqZwlIhEeWPz5cwbRdVrg" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_sdqZw1IhEeWPz5cwbRdVrg" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_sdqZxFIhEeWPz5cwbRdVrg" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_sdrA0FIhEeWPz5cwbRdVrg" visible="false" type="Class_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_sdrA0VIhEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_sdrA0lIhEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_sdrA01IhEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_sdrA1FIhEeWPz5cwbRdVrg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_sdrA1VIhEeWPz5cwbRdVrg" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_sdrA1lIhEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_sdrA11IhEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_sdrA2FIhEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_sdrA2VIhEeWPz5cwbRdVrg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_sdrA2lIhEeWPz5cwbRdVrg" visible="false" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_sdrA21IhEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_sdrA3FIhEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_sdrA3VIhEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_sdrA3lIhEeWPz5cwbRdVrg"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_minQ0JoSEeeOUvsiG0ZmwQ" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="_minQ0ZoSEeeOUvsiG0ZmwQ" name="stereotype" stringValue="SysML::Requirements::Requirement"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_minQ0poSEeeOUvsiG0ZmwQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_miq7MJoSEeeOUvsiG0ZmwQ" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="_miq7MZoSEeeOUvsiG0ZmwQ"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_miq7MpoSEeeOUvsiG0ZmwQ" name="stereotype" stringValue="SysML::Requirements::Requirement"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_miq7M5oSEeeOUvsiG0ZmwQ"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_mitXcJoSEeeOUvsiG0ZmwQ" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_miulkJoSEeeOUvsiG0ZmwQ" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_miwawJoSEeeOUvsiG0ZmwQ" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_mixo4JoSEeeOUvsiG0ZmwQ" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_mizeEJoSEeeOUvsiG0ZmwQ" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_mi16UJoSEeeOUvsiG0ZmwQ" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_mi3vgJoSEeeOUvsiG0ZmwQ" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_mi5ksJoSEeeOUvsiG0ZmwQ" type="Parameters"/> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.service.types.uml#_pjr20FFvEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_sdqZwVIhEeWPz5cwbRdVrg" x="40" y="20" width="201" height="41"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_sd5qU1IhEeWPz5cwbRdVrg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_sd5qVFIhEeWPz5cwbRdVrg" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_sd5qVlIhEeWPz5cwbRdVrg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.service.types.uml#_pjr20FFvEeWPz5cwbRdVrg"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_sd5qVVIhEeWPz5cwbRdVrg" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_waxvk1IhEeWPz5cwbRdVrg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_waxvlFIhEeWPz5cwbRdVrg" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_waxvllIhEeWPz5cwbRdVrg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.service.types.uml#_uaIGcFIhEeWPz5cwbRdVrg"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_waxvlVIhEeWPz5cwbRdVrg" x="220" y="140"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_xMmOE1IhEeWPz5cwbRdVrg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_xMmOFFIhEeWPz5cwbRdVrg" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_xMmOFlIhEeWPz5cwbRdVrg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.service.types.uml#_u1cJcFIhEeWPz5cwbRdVrg"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xMmOFVIhEeWPz5cwbRdVrg" x="460" y="140"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_S_g5oFMMEeWPz5cwbRdVrg" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_S_iHwFMMEeWPz5cwbRdVrg" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_S_iHwVMMEeWPz5cwbRdVrg" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_S_iu0FMMEeWPz5cwbRdVrg" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_S_iu0VMMEeWPz5cwbRdVrg" visible="false" type="Class_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_S_iu0lMMEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_S_iu01MMEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_S_iu1FMMEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_S_iu1VMMEeWPz5cwbRdVrg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_S_iu1lMMEeWPz5cwbRdVrg" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_S_iu11MMEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_S_iu2FMMEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_S_iu2VMMEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_S_iu2lMMEeWPz5cwbRdVrg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_S_iu21MMEeWPz5cwbRdVrg" visible="false" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_S_iu3FMMEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_S_iu3VMMEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_S_iu3lMMEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_S_iu31MMEeWPz5cwbRdVrg"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_mjv5QJoSEeeOUvsiG0ZmwQ" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="_mjv5QZoSEeeOUvsiG0ZmwQ" name="stereotype" stringValue="SysML::Requirements::Requirement"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_mjv5QpoSEeeOUvsiG0ZmwQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_mj1_4JoSEeeOUvsiG0ZmwQ" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="_mj1_4ZoSEeeOUvsiG0ZmwQ"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_mj1_4poSEeeOUvsiG0ZmwQ" name="stereotype" stringValue="SysML::Requirements::Requirement"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_mj1_45oSEeeOUvsiG0ZmwQ"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_mj4cIJoSEeeOUvsiG0ZmwQ" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_mj5qQJoSEeeOUvsiG0ZmwQ" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_mj6RUJoSEeeOUvsiG0ZmwQ" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_mj8GgJoSEeeOUvsiG0ZmwQ" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_mj9UoJoSEeeOUvsiG0ZmwQ" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_mj-iwJoSEeeOUvsiG0ZmwQ" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_mj_w4JoSEeeOUvsiG0ZmwQ" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_mkBmEJoSEeeOUvsiG0ZmwQ" type="Parameters"/> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.service.types.uml#_k3eBYFMGEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_S_g5oVMMEeWPz5cwbRdVrg" x="620" y="20" height="45"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_S_2341MMEeWPz5cwbRdVrg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_S_235FMMEeWPz5cwbRdVrg" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_S_235lMMEeWPz5cwbRdVrg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.service.types.uml#_k3eBYFMGEeWPz5cwbRdVrg"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_S_235VMMEeWPz5cwbRdVrg" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_TsJ9MFMMEeWPz5cwbRdVrg" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_TsKkQFMMEeWPz5cwbRdVrg" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_TsKkQVMMEeWPz5cwbRdVrg" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_TsKkQlMMEeWPz5cwbRdVrg" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_TsKkQ1MMEeWPz5cwbRdVrg" visible="false" type="Class_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_TsKkRFMMEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_TsKkRVMMEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_TsKkRlMMEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_TsKkR1MMEeWPz5cwbRdVrg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_TsKkSFMMEeWPz5cwbRdVrg" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_TsKkSVMMEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_TsKkSlMMEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_TsKkS1MMEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_TsKkTFMMEeWPz5cwbRdVrg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_TsKkTVMMEeWPz5cwbRdVrg" visible="false" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_TsKkTlMMEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_TsKkT1MMEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_TsKkUFMMEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_TsKkUVMMEeWPz5cwbRdVrg"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_mkjxkJoSEeeOUvsiG0ZmwQ" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_mkk_sJoSEeeOUvsiG0ZmwQ" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_mklmwJoSEeeOUvsiG0ZmwQ" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_mkm04JoSEeeOUvsiG0ZmwQ" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_mkoDAJoSEeeOUvsiG0ZmwQ" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_mkpRIJoSEeeOUvsiG0ZmwQ" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_mkqfQJoSEeeOUvsiG0ZmwQ" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_mkrGUJoSEeeOUvsiG0ZmwQ" type="Parameters"/> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.service.types.uml#_TsIvEFMMEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_TsJ9MVMMEeWPz5cwbRdVrg" x="580" y="120" height="41"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_h1TCI1MMEeWPz5cwbRdVrg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_h1TCJFMMEeWPz5cwbRdVrg" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_h1TCJlMMEeWPz5cwbRdVrg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.service.types.uml#_exeEwFMMEeWPz5cwbRdVrg"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_h1TCJVMMEeWPz5cwbRdVrg" x="780" y="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_2iNxYFViEeWPz5cwbRdVrg" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_2iNxYlViEeWPz5cwbRdVrg" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_2iNxY1ViEeWPz5cwbRdVrg" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_2iNxZFViEeWPz5cwbRdVrg" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_2iOYcFViEeWPz5cwbRdVrg" visible="false" type="Class_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_2iOYcVViEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_2iOYclViEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_2iOYc1ViEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2iOYdFViEeWPz5cwbRdVrg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_2iOYdVViEeWPz5cwbRdVrg" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_2iOYdlViEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_2iOYd1ViEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_2iOYeFViEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2iOYeVViEeWPz5cwbRdVrg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_2iOYelViEeWPz5cwbRdVrg" visible="false" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_2iOYe1ViEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_2iOYfFViEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_2iOYfVViEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2iOYflViEeWPz5cwbRdVrg"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_mk5v0JoSEeeOUvsiG0ZmwQ" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="_mk5v0ZoSEeeOUvsiG0ZmwQ" name="stereotype" stringValue="SysML::Requirements::Requirement"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_mk5v0poSEeeOUvsiG0ZmwQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_mk_PYJoSEeeOUvsiG0ZmwQ" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="_mk_PYZoSEeeOUvsiG0ZmwQ"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_mk_PYpoSEeeOUvsiG0ZmwQ" name="stereotype" stringValue="SysML::Requirements::Requirement"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_mk_PY5oSEeeOUvsiG0ZmwQ"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_mlBroJoSEeeOUvsiG0ZmwQ" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_mlC5wJoSEeeOUvsiG0ZmwQ" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_mlEu8JoSEeeOUvsiG0ZmwQ" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_mlF9EJoSEeeOUvsiG0ZmwQ" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_mlJAYJoSEeeOUvsiG0ZmwQ" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_mlK1kJoSEeeOUvsiG0ZmwQ" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_mlMqwJoSEeeOUvsiG0ZmwQ" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_mlOf8JoSEeeOUvsiG0ZmwQ" type="Parameters"/> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.service.types.uml#_032hUFViEeWPz5cwbRdVrg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2iNxYVViEeWPz5cwbRdVrg" x="410" y="19" height="42"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_2ibMwFViEeWPz5cwbRdVrg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_2ibMwVViEeWPz5cwbRdVrg" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_2ibMw1ViEeWPz5cwbRdVrg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.service.types.uml#_032hUFViEeWPz5cwbRdVrg"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2ibMwlViEeWPz5cwbRdVrg" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_4wwskFViEeWPz5cwbRdVrg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4wwskVViEeWPz5cwbRdVrg" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_4wwsk1ViEeWPz5cwbRdVrg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.service.types.uml#_3ZNq0FViEeWPz5cwbRdVrg"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4wwsklViEeWPz5cwbRdVrg" x="460" y="140"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_57UbM1ViEeWPz5cwbRdVrg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_57UbNFViEeWPz5cwbRdVrg" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_57UbNlViEeWPz5cwbRdVrg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.service.types.uml#_3DQo8FViEeWPz5cwbRdVrg"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_57UbNVViEeWPz5cwbRdVrg" x="220" y="140"/> + </children> + <styles xmi:type="notation:StringValueStyle" xmi:id="_gi0YYVIhEeWPz5cwbRdVrg" name="diagram_compatibility_version" stringValue="1.3.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_gi0YYlIhEeWPz5cwbRdVrg"/> + <styles xmi:type="style:PapyrusDiagramStyle" xmi:id="_mFxj0JoSEeeOUvsiG0ZmwQ" diagramKindId="org.eclipse.papyrus.uml.diagram.class"> + <owner xmi:type="uml:Package" href="org.eclipse.papyrus.sysml.service.types.uml#_a2u_UFIhEeWPz5cwbRdVrg"/> + </styles> + <element xmi:type="uml:Package" href="org.eclipse.papyrus.sysml.service.types.uml#_a2u_UFIhEeWPz5cwbRdVrg"/> + <edges xmi:type="notation:Connector" xmi:id="_sd5qV1IhEeWPz5cwbRdVrg" type="StereotypeCommentLink" source="_sdqZwFIhEeWPz5cwbRdVrg" target="_sd5qU1IhEeWPz5cwbRdVrg"> + <styles xmi:type="notation:FontStyle" xmi:id="_sd5qWFIhEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_sd6RYFIhEeWPz5cwbRdVrg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.service.types.uml#_pjr20FFvEeWPz5cwbRdVrg"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_sd5qWVIhEeWPz5cwbRdVrg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_sd5qWlIhEeWPz5cwbRdVrg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_sd5qW1IhEeWPz5cwbRdVrg"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_uaJ7oFIhEeWPz5cwbRdVrg" type="Abstraction_Edge" source="_h4P6QFIhEeWPz5cwbRdVrg" target="_sdqZwFIhEeWPz5cwbRdVrg"> + <children xmi:type="notation:DecorationNode" xmi:id="_uaKisFIhEeWPz5cwbRdVrg" type="Abstraction_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_uaKisVIhEeWPz5cwbRdVrg" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_uaKislIhEeWPz5cwbRdVrg" type="Abstraction_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_uaKis1IhEeWPz5cwbRdVrg" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_uaJ7oVIhEeWPz5cwbRdVrg"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.service.types.uml#_uaIGcFIhEeWPz5cwbRdVrg"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_uaJ7olIhEeWPz5cwbRdVrg" points="[-3, -9, 38, 168]$[-50, -125, -9, 52]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_uakLUFIhEeWPz5cwbRdVrg" id="(0.45248868778280543,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_uakLUVIhEeWPz5cwbRdVrg" id="(0.39800995024875624,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_u1dXkFIhEeWPz5cwbRdVrg" type="Abstraction_Edge" source="_m0Ds8FIhEeWPz5cwbRdVrg" target="_sdqZwFIhEeWPz5cwbRdVrg"> + <children xmi:type="notation:DecorationNode" xmi:id="_u1d-oFIhEeWPz5cwbRdVrg" type="Abstraction_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_u1d-oVIhEeWPz5cwbRdVrg" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_u1d-olIhEeWPz5cwbRdVrg" type="Abstraction_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_u1d-o1IhEeWPz5cwbRdVrg" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_u1dXkVIhEeWPz5cwbRdVrg"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.service.types.uml#_u1cJcFIhEeWPz5cwbRdVrg"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_u1dXklIhEeWPz5cwbRdVrg" points="[-45, -30, 245, 168]$[-240, -165, 50, 33]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_u1udUFIhEeWPz5cwbRdVrg" id="(0.3941908713692946,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_u1udUVIhEeWPz5cwbRdVrg" id="(1.0,0.8076923076923077)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_waxvl1IhEeWPz5cwbRdVrg" type="StereotypeCommentLink" source="_uaJ7oFIhEeWPz5cwbRdVrg" target="_waxvk1IhEeWPz5cwbRdVrg"> + <styles xmi:type="notation:FontStyle" xmi:id="_waxvmFIhEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_waxvnFIhEeWPz5cwbRdVrg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.service.types.uml#_uaIGcFIhEeWPz5cwbRdVrg"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_waxvmVIhEeWPz5cwbRdVrg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_waxvmlIhEeWPz5cwbRdVrg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_waxvm1IhEeWPz5cwbRdVrg"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_xMmOF1IhEeWPz5cwbRdVrg" type="StereotypeCommentLink" source="_u1dXkFIhEeWPz5cwbRdVrg" target="_xMmOE1IhEeWPz5cwbRdVrg"> + <styles xmi:type="notation:FontStyle" xmi:id="_xMmOGFIhEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_xMm1IlIhEeWPz5cwbRdVrg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.service.types.uml#_u1cJcFIhEeWPz5cwbRdVrg"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_xMmOGVIhEeWPz5cwbRdVrg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_xMm1IFIhEeWPz5cwbRdVrg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_xMm1IVIhEeWPz5cwbRdVrg"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_S_2351MMEeWPz5cwbRdVrg" type="StereotypeCommentLink" source="_S_g5oFMMEeWPz5cwbRdVrg" target="_S_2341MMEeWPz5cwbRdVrg"> + <styles xmi:type="notation:FontStyle" xmi:id="_S_236FMMEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_S_237FMMEeWPz5cwbRdVrg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.service.types.uml#_k3eBYFMGEeWPz5cwbRdVrg"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_S_236VMMEeWPz5cwbRdVrg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_S_236lMMEeWPz5cwbRdVrg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_S_2361MMEeWPz5cwbRdVrg"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_exf58FMMEeWPz5cwbRdVrg" type="Abstraction_Edge" source="_TsJ9MFMMEeWPz5cwbRdVrg" target="_S_g5oFMMEeWPz5cwbRdVrg"> + <children xmi:type="notation:DecorationNode" xmi:id="_exf581MMEeWPz5cwbRdVrg" type="Abstraction_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_exf59FMMEeWPz5cwbRdVrg" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_exf59VMMEeWPz5cwbRdVrg" type="Abstraction_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_exf59lMMEeWPz5cwbRdVrg" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_exf58VMMEeWPz5cwbRdVrg"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.service.types.uml#_exeEwFMMEeWPz5cwbRdVrg"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_exf58lMMEeWPz5cwbRdVrg" points="[-4, -10, -2, 78]$[-4, -65, -2, 23]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ex5ikFMMEeWPz5cwbRdVrg" id="(0.48148148148148145,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ex5ikVMMEeWPz5cwbRdVrg" id="(0.48,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_h1TCJ1MMEeWPz5cwbRdVrg" type="StereotypeCommentLink" source="_exf58FMMEeWPz5cwbRdVrg" target="_h1TCI1MMEeWPz5cwbRdVrg"> + <styles xmi:type="notation:FontStyle" xmi:id="_h1TCKFMMEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_h1TCLFMMEeWPz5cwbRdVrg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.service.types.uml#_exeEwFMMEeWPz5cwbRdVrg"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_h1TCKVMMEeWPz5cwbRdVrg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_h1TCKlMMEeWPz5cwbRdVrg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_h1TCK1MMEeWPz5cwbRdVrg"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_2ibMxFViEeWPz5cwbRdVrg" type="StereotypeCommentLink" source="_2iNxYFViEeWPz5cwbRdVrg" target="_2ibMwFViEeWPz5cwbRdVrg"> + <styles xmi:type="notation:FontStyle" xmi:id="_2ibMxVViEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_2ibMyVViEeWPz5cwbRdVrg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.service.types.uml#_032hUFViEeWPz5cwbRdVrg"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_2ibMxlViEeWPz5cwbRdVrg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_2ibMx1ViEeWPz5cwbRdVrg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_2ibMyFViEeWPz5cwbRdVrg"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_3DR3EFViEeWPz5cwbRdVrg" type="Abstraction_Edge" source="_h4P6QFIhEeWPz5cwbRdVrg" target="_2iNxYFViEeWPz5cwbRdVrg"> + <children xmi:type="notation:DecorationNode" xmi:id="_3DR3E1ViEeWPz5cwbRdVrg" type="Abstraction_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_3DR3FFViEeWPz5cwbRdVrg" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_3DR3FVViEeWPz5cwbRdVrg" type="Abstraction_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_3DSeIFViEeWPz5cwbRdVrg" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_3DR3EVViEeWPz5cwbRdVrg"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.service.types.uml#_3DQo8FViEeWPz5cwbRdVrg"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_3DR3ElViEeWPz5cwbRdVrg" points="[43, -30, -250, 177]$[280, -210, -13, -3]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_3D1QsFViEeWPz5cwbRdVrg" id="(0.6425339366515838,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_3D13wFViEeWPz5cwbRdVrg" id="(0.0,0.5)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_3ZO48FViEeWPz5cwbRdVrg" type="Abstraction_Edge" source="_m0Ds8FIhEeWPz5cwbRdVrg" target="_2iNxYFViEeWPz5cwbRdVrg"> + <children xmi:type="notation:DecorationNode" xmi:id="_3ZO481ViEeWPz5cwbRdVrg" type="Abstraction_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_3ZO49FViEeWPz5cwbRdVrg" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_3ZO49VViEeWPz5cwbRdVrg" type="Abstraction_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_3ZO49lViEeWPz5cwbRdVrg" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_3ZO48VViEeWPz5cwbRdVrg"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.service.types.uml#_3ZNq0FViEeWPz5cwbRdVrg"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_3ZO48lViEeWPz5cwbRdVrg" points="[1, -14, -9, 169]$[15, -131, 5, 52]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_3Z0u0FViEeWPz5cwbRdVrg" id="(0.7925311203319502,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_3Z0u0VViEeWPz5cwbRdVrg" id="(0.52,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_4wwslFViEeWPz5cwbRdVrg" type="StereotypeCommentLink" source="_3ZO48FViEeWPz5cwbRdVrg" target="_4wwskFViEeWPz5cwbRdVrg"> + <styles xmi:type="notation:FontStyle" xmi:id="_4wwslVViEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_4wwsmVViEeWPz5cwbRdVrg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.service.types.uml#_3ZNq0FViEeWPz5cwbRdVrg"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_4wwsllViEeWPz5cwbRdVrg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_4wwsl1ViEeWPz5cwbRdVrg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_4wwsmFViEeWPz5cwbRdVrg"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_57UbN1ViEeWPz5cwbRdVrg" type="StereotypeCommentLink" source="_3DR3EFViEeWPz5cwbRdVrg" target="_57UbM1ViEeWPz5cwbRdVrg"> + <styles xmi:type="notation:FontStyle" xmi:id="_57UbOFViEeWPz5cwbRdVrg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_57UbPFViEeWPz5cwbRdVrg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.service.types.uml#_3DQo8FViEeWPz5cwbRdVrg"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_57UbOVViEeWPz5cwbRdVrg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_57UbOlViEeWPz5cwbRdVrg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_57UbO1ViEeWPz5cwbRdVrg"/> + </edges> + </notation:Diagram> +</xmi:XMI>
diff --git a/core/org.eclipse.papyrus.sysml.service.types/resources/doc/org.eclipse.papyrus.sysml.service.types.uml b/core/org.eclipse.papyrus.sysml.service.types/resources/doc/org.eclipse.papyrus.sysml.service.types.uml new file mode 100644 index 0000000..78e4c6c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/resources/doc/org.eclipse.papyrus.sysml.service.types.uml
@@ -0,0 +1,212 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Requirements="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements http://www.eclipse.org/papyrus/sysml/1.4/SysML"> + <uml:Model xmi:id="_2-N-wFFuEeWPz5cwbRdVrg" name="org.eclipse.papyrus.sysml.service.types"> + <packageImport xmi:type="uml:PackageImport" xmi:id="__cVTMFFxEeWPz5cwbRdVrg"> + <importedPackage xmi:type="uml:Model" href="../../org.eclipse.papyrus.sysml/resources/doc/omg.sysml.uml#_d7ALQDqsEeWNg8WvR7UDoQ"/> + </packageImport> + <packagedElement xmi:type="uml:Package" xmi:id="_-ElkgFFuEeWPz5cwbRdVrg" name="requirement"> + <packagedElement xmi:type="uml:Package" xmi:id="_jDs7oFFvEeWPz5cwbRdVrg" name="modelelements"> + <packagedElement xmi:type="uml:Class" xmi:id="_pjr20FFvEeWPz5cwbRdVrg" name="Conform"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_FKM08FFyEeWPz5cwbRdVrg" client="_jDs7oFFvEeWPz5cwbRdVrg"> + <supplier xmi:type="uml:Class" href="../../org.eclipse.papyrus.sysml/resources/doc/omg.sysml.uml#_66F9iDq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_k3eBYFMGEeWPz5cwbRdVrg" name="ElementGroup"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_k5pysFMGEeWPz5cwbRdVrg" name="DeriveFrom_REQ-OMG-SYSML14-7.3.2.2 ElementGroup" client="_k3eBYFMGEeWPz5cwbRdVrg"> + <supplier xmi:type="uml:Class" href="../../org.eclipse.papyrus.sysml/resources/doc/omg.sysml.uml#_66F9ijq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_032hUFViEeWPz5cwbRdVrg" name="View"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_036ywFViEeWPz5cwbRdVrg" name="DeriveFrom_REQ-OMG-SYSML14-7.3.2.7 View" client="_032hUFViEeWPz5cwbRdVrg"> + <supplier xmi:type="uml:Class" href="../../org.eclipse.papyrus.sysml/resources/doc/omg.sysml.uml#_66Gkkzq8EeW79ofuztDyTA"/> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="_cIi_sFe3EeWPz5cwbRdVrg" name="blocks"> + <packagedElement xmi:type="uml:Class" xmi:id="_WTFoMFe3EeWPz5cwbRdVrg" name="PropertiesManagments"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_WVYHMFe3EeWPz5cwbRdVrg" name="DeriveFrom_REQ-OMG-SYSML14-8.3.2.3 Block" client="_WTFoMFe3EeWPz5cwbRdVrg"> + <supplier xmi:type="uml:Class" href="../../org.eclipse.papyrus.sysml/resources/doc/omg.sysml.uml#_66Jn6Tq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_m2bX8FxHEeW0k6XN8uzkXw" name="AdjunctProperty"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_m68rkFxHEeW0k6XN8uzkXw" name="DeriveFrom_REQ-OMG-SYSML14-8.3.2.1 AdjunctProperty" client="_m2bX8FxHEeW0k6XN8uzkXw"> + <supplier xmi:type="uml:Class" href="../../org.eclipse.papyrus.sysml/resources/doc/omg.sysml.uml#_66Jn5Tq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_GTiEwFxYEeWr-Pk75xSDhQ" name="Binding Connector"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_GYcZ8FxYEeWr-Pk75xSDhQ" name="DeriveFrom_REQ-OMG-SYSML14-8.3.2.2 Binding Connector" client="_GTiEwFxYEeWr-Pk75xSDhQ"> + <supplier xmi:type="uml:Class" href="../../org.eclipse.papyrus.sysml/resources/doc/omg.sysml.uml#_66Jn5zq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_uwfBgF4VEeWFWaNLeXhgRA" name="Block"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_uwiE0F4VEeWFWaNLeXhgRA" name="DeriveFrom_REQ-OMG-SYSML14-8.3.2.3 Block" client="_uwfBgF4VEeWFWaNLeXhgRA"> + <supplier xmi:type="uml:Class" href="../../org.eclipse.papyrus.sysml/resources/doc/omg.sysml.uml#_66Jn6Tq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_Tot9sGwxEeW3aKrkUDyinQ" name="BoundReference"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_TvG5kGwxEeW3aKrkUDyinQ" name="DeriveFrom_REQ-OMG-SYSML14-8.3.2.4 Bound Reference" client="_Tot9sGwxEeW3aKrkUDyinQ"> + <supplier xmi:type="uml:Class" href="../../../org.eclipse.papyrus.sysml/resources/doc/omg.sysml.uml#_66Jn6zq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_4petYHcjEeWPQ_Xktcrbyw" name="DirectedRelationshipPropertyPath"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_4xR-gHcjEeWPQ_Xktcrbyw" name="DeriveFrom_REQ-OMG-SYSML14-8.3.2.7 DirectedRelationshipPropertyPath" client="_4petYHcjEeWPQ_Xktcrbyw"> + <supplier xmi:type="uml:Class" href="../../../org.eclipse.papyrus.sysml/resources/doc/omg.sysml.uml#_66KO8jq8EeW79ofuztDyTA"/> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="_2EYmAJNUEeWdadf1362W_Q" name="ConstraintBlocks"> + <packagedElement xmi:type="uml:Class" xmi:id="_WuV6wJNVEeWdadf1362W_Q" name="Constraint inside Constraint property"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="__9NP0JNVEeWdadf1362W_Q" name="DeriveFrom_REQ-OMG-SYSML14-10.3.1.1.1 Constraint block definition" client="_WuV6wJNVEeWdadf1362W_Q"> + <supplier xmi:type="uml:Class" href="../../../org.eclipse.papyrus.sysml/resources/doc/omg.sysml.uml#_66Puhzq8EeW79ofuztDyTA"/> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="_vox38JK5EeW2veiEFQH_HQ" name="technical"> + <packagedElement xmi:type="uml:Class" xmi:id="_zCj3MJK5EeW2veiEFQH_HQ" name="Creation of element can imply launch of popup"> + <nestedClassifier xmi:type="uml:Class" xmi:id="_EEFCAJK7EeW7Jfdq1shRhg" name="Actor part"/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_KHU1gJLJEeW7Jfdq1shRhg" name="PropertyValue"/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_cLMDkJLJEeW7Jfdq1shRhg" name="reference"/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_krMVwJLJEeW7Jfdq1shRhg" name="part"/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_oqSBgJLJEeW7Jfdq1shRhg" name=" flowproperty"/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_NZUPoJNWEeWdadf1362W_Q" name="The constraint property can imply to launch a popup"/> + </packagedElement> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="_a2u_UFIhEeWPz5cwbRdVrg" name="Design"> + <packagedElement xmi:type="uml:Package" xmi:id="_8eCBMJK7EeW7Jfdq1shRhg" name="org.eclipse.papyrus.sysml.service.types.advice"> + <ownedComment xmi:type="uml:Comment" xmi:id="_JrdaoGxCEeW3aKrkUDyinQ" annotatedElement="_AmVpMGxCEeW3aKrkUDyinQ"> + <body>NestedConnector are created in this command so the set connectorEnd cannot been created outside the command</body> + </ownedComment> + <packagedElement xmi:type="uml:Class" xmi:id="_8eEdcJK7EeW7Jfdq1shRhg" name="ActorPartEditHelperAdvice"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_-t5yEJK7EeW7Jfdq1shRhg" name="Satisfies_Actor part" client="_8eEdcJK7EeW7Jfdq1shRhg" supplier="_EEFCAJK7EeW7Jfdq1shRhg"/> + <packagedElement xmi:type="uml:Class" xmi:id="_h4NeAFIhEeWPz5cwbRdVrg" name="ConformCreationEditHelperAdvice"/> + <packagedElement xmi:type="uml:Class" xmi:id="_m0DF4FIhEeWPz5cwbRdVrg" name="ConformReorientEditHelperAdvice"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_uaIGcFIhEeWPz5cwbRdVrg" client="_h4NeAFIhEeWPz5cwbRdVrg" supplier="_pjr20FFvEeWPz5cwbRdVrg"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_u1cJcFIhEeWPz5cwbRdVrg" client="_m0DF4FIhEeWPz5cwbRdVrg" supplier="_pjr20FFvEeWPz5cwbRdVrg"/> + <packagedElement xmi:type="uml:Class" xmi:id="_TsIvEFMMEeWPz5cwbRdVrg" name="ElementGroupEditHelperAdvice"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_exeEwFMMEeWPz5cwbRdVrg" client="_TsIvEFMMEeWPz5cwbRdVrg" supplier="_k3eBYFMGEeWPz5cwbRdVrg"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_3DQo8FViEeWPz5cwbRdVrg" client="_h4NeAFIhEeWPz5cwbRdVrg" supplier="_032hUFViEeWPz5cwbRdVrg"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_3ZNq0FViEeWPz5cwbRdVrg" client="_m0DF4FIhEeWPz5cwbRdVrg" supplier="_032hUFViEeWPz5cwbRdVrg"/> + <packagedElement xmi:type="uml:Class" xmi:id="_Nsg-gFe4EeWPz5cwbRdVrg" name="PartCreationEditHelperAdvice"/> + <packagedElement xmi:type="uml:Class" xmi:id="_Sc3vIFe4EeWPz5cwbRdVrg" name="ReferenceCreationEditHelperAdvice"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_Xt3usFe4EeWPz5cwbRdVrg" client="_Nsg-gFe4EeWPz5cwbRdVrg" supplier="_WTFoMFe3EeWPz5cwbRdVrg"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_YGDlMFe4EeWPz5cwbRdVrg" client="_Sc3vIFe4EeWPz5cwbRdVrg" supplier="_WTFoMFe3EeWPz5cwbRdVrg"/> + <packagedElement xmi:type="uml:Class" xmi:id="_W7380F4VEeWFWaNLeXhgRA" name="BindingConnectorEditHelperAdvice"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_dp7wQF4VEeWFWaNLeXhgRA" client="_W7380F4VEeWFWaNLeXhgRA" supplier="_GTiEwFxYEeWr-Pk75xSDhQ"/> + <packagedElement xmi:type="uml:Class" xmi:id="_BpQ7wGE_EeW4GYiHqXalDg" name="ConnectorCreationEditHelperAdvice"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_E5hLkGE_EeW4GYiHqXalDg" client="_BpQ7wGE_EeW4GYiHqXalDg" supplier="_uwfBgF4VEeWFWaNLeXhgRA"/> + <packagedElement xmi:type="uml:Class" xmi:id="_fm-FoGE_EeW4GYiHqXalDg" name="ConnectorReorientEditHelperAdvice"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_jPJGMGE_EeW4GYiHqXalDg" client="_fm-FoGE_EeW4GYiHqXalDg" supplier="_uwfBgF4VEeWFWaNLeXhgRA"/> + <packagedElement xmi:type="uml:Class" xmi:id="_o7OqwGH5EeW4GYiHqXalDg" name="SetEncapsulatedEditHelperAdvice"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_tv8-AGH5EeW4GYiHqXalDg" client="_o7OqwGH5EeW4GYiHqXalDg" supplier="_uwfBgF4VEeWFWaNLeXhgRA"/> + <packagedElement xmi:type="uml:Class" xmi:id="_AmVpMGxCEeW3aKrkUDyinQ" name="SetNestedPathCommand"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_H63mwGxCEeW3aKrkUDyinQ" client="_AmVpMGxCEeW3aKrkUDyinQ" supplier="_Tot9sGwxEeW3aKrkUDyinQ"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_u_-aAGxCEeW3aKrkUDyinQ" client="_AmVpMGxCEeW3aKrkUDyinQ" supplier="_GTiEwFxYEeWr-Pk75xSDhQ"/> + <packagedElement xmi:type="uml:Class" xmi:id="_WTkXsHckEeWPQ_Xktcrbyw" name="DirectedRelationshipPropertyPathEditHelperAdvice"/> + <packagedElement xmi:type="uml:Class" xmi:id="_aW-iwHckEeWPQ_Xktcrbyw" name="ReorientDirectedRelationshipPPEditHelperAdvice"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_hhclYHckEeWPQ_Xktcrbyw" name="Satisfies_DirectedRelationshipPropertyPath" client="_WTkXsHckEeWPQ_Xktcrbyw" supplier="_4petYHcjEeWPQ_Xktcrbyw"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_jpCkAHckEeWPQ_Xktcrbyw" name="Satisfies_DirectedRelationshipPropertyPath" client="_aW-iwHckEeWPQ_Xktcrbyw" supplier="_4petYHcjEeWPQ_Xktcrbyw"/> + <packagedElement xmi:type="uml:Class" xmi:id="_wvIBsJLJEeW7Jfdq1shRhg" name="AfterConfigureCommandEditHelperAdvice"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_zCPT0JLJEeW7Jfdq1shRhg" name="Satisfies_PropertyValue" client="_wvIBsJLJEeW7Jfdq1shRhg" supplier="_KHU1gJLJEeW7Jfdq1shRhg"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_zCTlQJLJEeW7Jfdq1shRhg" name="Satisfies_reference" client="_wvIBsJLJEeW7Jfdq1shRhg" supplier="_cLMDkJLJEeW7Jfdq1shRhg"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_zCWBgJLJEeW7Jfdq1shRhg" name="Satisfies_part" client="_wvIBsJLJEeW7Jfdq1shRhg" supplier="_krMVwJLJEeW7Jfdq1shRhg"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_zCYdwJLJEeW7Jfdq1shRhg" name="Satisfies_ flowproperty" client="_wvIBsJLJEeW7Jfdq1shRhg" supplier="_oqSBgJLJEeW7Jfdq1shRhg"/> + <packagedElement xmi:type="uml:Class" xmi:id="_1ObY8JNVEeWdadf1362W_Q" name="ConstraintCreationEditHelperAdvice"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_2-H08JNVEeWdadf1362W_Q" name="Satisfies_Constraint inside Constraint property" client="_1ObY8JNVEeWdadf1362W_Q" supplier="_WuV6wJNVEeWdadf1362W_Q"/> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="__AKb8FFuEeWPz5cwbRdVrg" name="test"/> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_dzLbgJoSEeeOUvsiG0ZmwQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_dzMpoJoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#/"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_dzNQsJoSEeeOUvsiG0ZmwQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_dzN3wJoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//activities"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Activities"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_dzOe0JoSEeeOUvsiG0ZmwQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_dzPF4JoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//allocations"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Allocations"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_dzPs8JoSEeeOUvsiG0ZmwQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_dzQUAJoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//blocks"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_dzRiIJoSEeeOUvsiG0ZmwQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_dzRiIZoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//constraintblocks"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ConstraintBlocks"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_dzSJMJoSEeeOUvsiG0ZmwQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_dzSwQJoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//deprecatedelements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_DeprecatedElements"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_dzTXUJoSEeeOUvsiG0ZmwQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_dzT-YJoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//modelelements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ModelElements"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_dzUlcJoSEeeOUvsiG0ZmwQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_dzVMgJoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//portsandflows"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_dzVzkJoSEeeOUvsiG0ZmwQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_dzWaoJoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements"/> + </profileApplication> + </uml:Model> + <Requirements:Requirement xmi:id="_pm0DUFFvEeWPz5cwbRdVrg" base_Class="_pjr20FFvEeWPz5cwbRdVrg" id="REQ_001" text="the service edit must implement the following constraints
[1] The general classifier must be an element stereotyped by Viewpoint.
[2] The specific classifier must be an element that is stereotyped by View."/> + <Requirements:DeriveReqt xmi:id="_IpAeIFFyEeWPz5cwbRdVrg" base_Abstraction="_FKM08FFyEeWPz5cwbRdVrg"/> + <Requirements:Satisfy xmi:id="_wapMsFIhEeWPz5cwbRdVrg" base_Abstraction="_uaIGcFIhEeWPz5cwbRdVrg"/> + <Requirements:Satisfy xmi:id="_xMeSQFIhEeWPz5cwbRdVrg" base_Abstraction="_u1cJcFIhEeWPz5cwbRdVrg"/> + <Requirements:Requirement xmi:id="_k5pLoFMGEeWPz5cwbRdVrg" base_Class="_k3eBYFMGEeWPz5cwbRdVrg" id="REQ_002" text="We must update the list of ordered member by taking account the list member.
• /member: Element[0..*]
Set specifying the members of the group.
Derived from Comment::annotatedElement.
• orderedMember: Element[0..*] {ordered, subsets member}
Organize member according to an arbitrary order. Optional.
ElementGroup details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=46"/> + <Requirements:DeriveReqt xmi:id="_k5rn4FMGEeWPz5cwbRdVrg" base_Abstraction="_k5pysFMGEeWPz5cwbRdVrg"/> + <Requirements:Satisfy xmi:id="_h1KfQFMMEeWPz5cwbRdVrg" base_Abstraction="_exeEwFMMEeWPz5cwbRdVrg"/> + <Requirements:Requirement xmi:id="_036LsFViEeWPz5cwbRdVrg" base_Class="_032hUFViEeWPz5cwbRdVrg" id="REQ_003" text="
View details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=48

The service edit must implelement the following constraint:
 A view must only conform to a single viewpoint."/> + <Requirements:DeriveReqt xmi:id="_038A4FViEeWPz5cwbRdVrg" base_Abstraction="_036ywFViEeWPz5cwbRdVrg"/> + <Requirements:Satisfy xmi:id="_4wowwFViEeWPz5cwbRdVrg" base_Abstraction="_3ZNq0FViEeWPz5cwbRdVrg"/> + <Requirements:Satisfy xmi:id="_57MfYFViEeWPz5cwbRdVrg" base_Abstraction="_3DQo8FViEeWPz5cwbRdVrg"/> + <Requirements:Requirement xmi:id="_WVW5EFe3EeWPz5cwbRdVrg" base_Class="_WTFoMFe3EeWPz5cwbRdVrg" id="REQ_004" text="Block details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=70
When a property (part or reference) is created :
- an association must be created
- the property must be typed by a block

when the property is moved , the association must changed
when the type of the property has change, the association has to changed

"/> + <Requirements:DeriveReqt xmi:id="_WVZVUFe3EeWPz5cwbRdVrg" base_Abstraction="_WVYHMFe3EeWPz5cwbRdVrg"/> + <Requirements:Satisfy xmi:id="_ZUmb8Fe4EeWPz5cwbRdVrg" base_Abstraction="_Xt3usFe4EeWPz5cwbRdVrg"/> + <Requirements:Satisfy xmi:id="_aECU0Fe4EeWPz5cwbRdVrg" base_Abstraction="_YGDlMFe4EeWPz5cwbRdVrg"/> + <Requirements:Requirement xmi:id="_m63zEFxHEeW0k6XN8uzkXw" base_Class="_m2bX8FxHEeW0k6XN8uzkXw" id="REQ_005" text="The service edit must compute the name of the adjunct property
comes form the spec :
[2] Properties to which AdjunctProperty applied must have the same name as the principal.
AdjunctProperty details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=68"/> + <Requirements:DeriveReqt xmi:id="_m7AV8FxHEeW0k6XN8uzkXw" base_Abstraction="_m68rkFxHEeW0k6XN8uzkXw"/> + <Requirements:Requirement xmi:id="_GYSo8FxYEeWr-Pk75xSDhQ" base_Class="_GTiEwFxYEeWr-Pk75xSDhQ" id="REQ_006" text="The service etdit must help to type port when it is not typed.
The two ends of a binding connector must have either the same type or types that are compatible so that equality of their
values can be defined.
Binding details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=69"/> + <Requirements:DeriveReqt xmi:id="_GYcZ8VxYEeWr-Pk75xSDhQ" base_Abstraction="_GYcZ8FxYEeWr-Pk75xSDhQ"/> + <Requirements:Satisfy xmi:id="_f3ZtYF4VEeWFWaNLeXhgRA" base_Abstraction="_dp7wQF4VEeWFWaNLeXhgRA"/> + <Requirements:Requirement xmi:id="_uwg2sF4VEeWFWaNLeXhgRA" base_Class="_uwfBgF4VEeWFWaNLeXhgRA" id="REQ_007" text="Block details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=70
the service edit must implement:
isEncapsulated: Boolean [0..1]
If true, then the block is treated as a black box; a part typed by this black box can only be connected via its ports or
directly to its outer boundary. If false, or if a value is not present, then connections can be established to elements of
its internal structure via deep-nested connector ends."/> + <Requirements:DeriveReqt xmi:id="_uwm9UF4VEeWFWaNLeXhgRA" base_Abstraction="_uwiE0F4VEeWFWaNLeXhgRA"/> + <Requirements:Satisfy xmi:id="_GUy2wGE_EeW4GYiHqXalDg" base_Abstraction="_E5hLkGE_EeW4GYiHqXalDg"/> + <Requirements:Satisfy xmi:id="_kVDlYGE_EeW4GYiHqXalDg" base_Abstraction="_jPJGMGE_EeW4GYiHqXalDg"/> + <Requirements:Satisfy xmi:id="_uypxIGH5EeW4GYiHqXalDg" base_Abstraction="_tv8-AGH5EeW4GYiHqXalDg"/> + <Requirements:Requirement xmi:id="_TvAy8GwxEeW3aKrkUDyinQ" base_Class="_Tot9sGwxEeW3aKrkUDyinQ" id="REQ_008" text="Bound Reference details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=78
service type must implements
boundEnd : ConnectorEnd [1]
Gives a connector end of a binding connector opposite to the end linked to the stereotyped property, or linked to
property that generalizes the stereotyped one through redefinition."/> + <Requirements:DeriveReqt xmi:id="_TvNAMGwxEeW3aKrkUDyinQ" base_Abstraction="_TvG5kGwxEeW3aKrkUDyinQ"/> + <Requirements:Satisfy xmi:id="_JPHc4GxCEeW3aKrkUDyinQ" base_Abstraction="_H63mwGxCEeW3aKrkUDyinQ"/> + <Requirements:Satisfy xmi:id="_wTyLQGxCEeW3aKrkUDyinQ" base_Abstraction="_u_-aAGxCEeW3aKrkUDyinQ"/> + <Requirements:Requirement xmi:id="_4xKpwHcjEeWPQ_Xktcrbyw" base_Class="_4petYHcjEeWPQ_Xktcrbyw" id="REQ_009" text="the service edit must implment:
sourcePropertyPath: Property [0..*] {ordered, nonunique}
A series of properties that identifies the source of the directed relationship in the context of the block specified by the
sourceContext property. The ordering of properties is from a property of the sourceContext block, through a property
of each intermediate block that types the preceding property, ending in a property with a type that owns or inherits the
source of the directed relationship. The source is not included in the propertyPath list. The same property might
appear more than once because a block can own a property with the same or specialized block as a type.
• targetPropertyPath: Property [0..*] {ordered, nonunique}
A series of properties that identifies the target of the directed relationship in the context of the block specified by the
targetContext property. The ordering of properties is from a property of the targetContext block, through a property of
each intermediate block that types the preceding property, ending in a property with a type that owns or inherits the
target of the directed relationship. The target is not included in the propertyPath list. The same property might appear
more than once because a block can own a property with the same or specialized block as a type.
• sourceContext: Classifier [0.1]
Gives the context for sourcePropertyPath to begin from.
• targetContext: Classifier [0.1]
Gives the context for targetPropertyPath to begin from.
DirectedRelationshipPropertyPath details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=80"/> + <Requirements:DeriveReqt xmi:id="_4xXeEHcjEeWPQ_Xktcrbyw" base_Abstraction="_4xR-gHcjEeWPQ_Xktcrbyw"/> + <Requirements:Satisfy xmi:id="_hhgPwHckEeWPQ_Xktcrbyw" base_Abstraction="_hhclYHckEeWPQ_Xktcrbyw"/> + <Requirements:Satisfy xmi:id="_jpFAQHckEeWPQ_Xktcrbyw" base_Abstraction="_jpCkAHckEeWPQ_Xktcrbyw"/> + <Requirements:Requirement xmi:id="_zCm6gJK5EeW2veiEFQH_HQ" base_Class="_zCj3MJK5EeW2veiEFQH_HQ" id="req_010" text="The creation of element can imply launch of popup.
For example, the creation of a part implies the choice about the type"/> + <Requirements:Requirement xmi:id="_EK8fAJK7EeW7Jfdq1shRhg" base_Class="_EEFCAJK7EeW7Jfdq1shRhg" id="req_010_001" text="The actorpart value can imply to launch a popup"/> + <Requirements:Satisfy xmi:id="_-t9ccJK7EeW7Jfdq1shRhg" base_Abstraction="_-t5yEJK7EeW7Jfdq1shRhg"/> + <Requirements:Requirement xmi:id="_KHbjMJLJEeW7Jfdq1shRhg" base_Class="_KHU1gJLJEeW7Jfdq1shRhg" id="req_010_002" text="The property value can imply to launch a popup"/> + <Requirements:Requirement xmi:id="_cLPG4JLJEeW7Jfdq1shRhg" base_Class="_cLMDkJLJEeW7Jfdq1shRhg" id="req_010_003" text="The reference can imply to launch a popup"/> + <Requirements:Requirement xmi:id="_krPZEJLJEeW7Jfdq1shRhg" base_Class="_krMVwJLJEeW7Jfdq1shRhg" id="req_010_004" text="The part can imply to launch a popup"/> + <Requirements:Requirement xmi:id="_oqT2sJLJEeW7Jfdq1shRhg" base_Class="_oqSBgJLJEeW7Jfdq1shRhg" id="req_010_005" text="The flowproperty value can imply to launch a popup"/> + <Requirements:Satisfy xmi:id="_zCRwEJLJEeW7Jfdq1shRhg" base_Abstraction="_zCPT0JLJEeW7Jfdq1shRhg"/> + <Requirements:Satisfy xmi:id="_zCUzYJLJEeW7Jfdq1shRhg" base_Abstraction="_zCTlQJLJEeW7Jfdq1shRhg"/> + <Requirements:Satisfy xmi:id="_zCXPoJLJEeW7Jfdq1shRhg" base_Abstraction="_zCWBgJLJEeW7Jfdq1shRhg"/> + <Requirements:Satisfy xmi:id="_zCZr4JLJEeW7Jfdq1shRhg" base_Abstraction="_zCYdwJLJEeW7Jfdq1shRhg"/> + <Requirements:Requirement xmi:id="_Wx0FgJNVEeWdadf1362W_Q" base_Class="_WuV6wJNVEeWdadf1362W_Q" id="req011" text="When we create a constraint inside constraint property, the constraint must be created inside the type of the constraint property"/> + <Requirements:Satisfy xmi:id="_2-KRMJNVEeWdadf1362W_Q" base_Abstraction="_2-H08JNVEeWdadf1362W_Q"/> + <Requirements:DeriveReqt xmi:id="__9PsEJNVEeWdadf1362W_Q" base_Abstraction="__9NP0JNVEeWdadf1362W_Q"/> + <Requirements:Requirement xmi:id="_NZaWQJNWEeWdadf1362W_Q" base_Class="_NZUPoJNWEeWdadf1362W_Q" id="req_010_006" text="The constraint property can imply to launch a popup"/> +</xmi:XMI>
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/Activator.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/Activator.java new file mode 100644 index 0000000..87f19e8 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/Activator.java
@@ -0,0 +1,25 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types; + +import org.eclipse.core.runtime.Plugin; + +/** + * The activator class controls the plug-in life cycle + */ +public class Activator extends Plugin { + + // The plug-in ID + public static final String PLUGIN_ID = "org.eclipse.papyrus.sysml.service.types"; //$NON-NLS-1$ + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ActorPartEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ActorPartEditHelperAdvice.java new file mode 100644 index 0000000..8e670d8 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ActorPartEditHelperAdvice.java
@@ -0,0 +1,50 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.advice; + +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; +import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; + +/** + * The creation of element can imply launch of popup. + * + * It must be possible to let the possibility to add a popup to create actor Part + * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml.service.types#req_010_001} + * + * + */ +public class ActorPartEditHelperAdvice extends AbstractEditHelperAdvice { + + + /** + * Parameter id used to pass the command for setting the type of the property + */ + public static final String SET_ACTOR_ICOMMAND = "SET_ACTOR_ICOMMAND"; //$NON-NLS-1$ + + + /** + * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getAfterConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest) + * + * @param request + * @return + */ + @Override + protected ICommand getAfterConfigureCommand(ConfigureRequest request) { + Object parameter = request.getParameter(SET_ACTOR_ICOMMAND); + + if (parameter instanceof ICommand) { + return (ICommand) parameter; + } + return super.getAfterConfigureCommand(request); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/AfterConfigureCommandEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/AfterConfigureCommandEditHelperAdvice.java new file mode 100644 index 0000000..25e6f80 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/AfterConfigureCommandEditHelperAdvice.java
@@ -0,0 +1,56 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.advice; + +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; +import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; + +/** + * The EditHelperAdvice class used for: + * The property value can imply to launch a popup + * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml.service.types#req_010_002} + * + * The reference can imply to launch a popup + * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml.service.types#req_010_003} + * + * The part can imply to launch a popup + * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml.service.types#req_010_004} + * + * The flowproperty value can imply to launch a popup + * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml.service.types#req_010_005} + */ +public class AfterConfigureCommandEditHelperAdvice extends AbstractEditHelperAdvice { + + + /** + * Parameter id used to pass the command for setting the type of the property + */ + public static final String AFTER_CONFIGURE_COMMAND = "AFTER_CONFIGURE_COMMAND"; //$NON-NLS-1$ + + + /** + * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getAfterConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest) + * + * @param request + * @return + */ + @Override + protected ICommand getAfterConfigureCommand(ConfigureRequest request) { + Object parameter = request.getParameter(AFTER_CONFIGURE_COMMAND); + + if (parameter instanceof ICommand) { + return (ICommand) parameter; + } + return super.getAfterConfigureCommand(request); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ConformCreationEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ConformCreationEditHelperAdvice.java new file mode 100644 index 0000000..16aa301 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ConformCreationEditHelperAdvice.java
@@ -0,0 +1,121 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Patrick Tessier (CEA LIST) - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.service.types.advice; + +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Iterator; +import java.util.List; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; +import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; +import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest; +import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest; +import org.eclipse.papyrus.sysml.modelelements.Conform; +import org.eclipse.papyrus.sysml.modelelements.View; +import org.eclipse.papyrus.sysml.modelelements.Viewpoint; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.Generalization; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * 7.3.2.1 Conform + * the service edit must implement the following constraints + * [1] The general classifier must be an element stereotyped by Viewpoint. + * [2] The specific classifier must be an element that is stereotyped by View. + * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml.service.types#Req_001} + * + *7.3.2.7 View + *[1] A view must only conform to a single viewpoint. + * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml.service.types#Req_003} + * + */ +public class ConformCreationEditHelperAdvice extends AbstractEditHelperAdvice { + + /** + * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#approveRequest(org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest) + * + * @param request + * @return + */ + @Override + public boolean approveRequest(IEditCommandRequest request) { + //only CreateRelationshipRequest are interested for conform + if(request instanceof CreateRelationshipRequest){ + CreateRelationshipRequest createRelationshipRequest=(CreateRelationshipRequest)request; + //only elementType conform are interested for conform + IElementType elementType=createRelationshipRequest.getElementType(); + if (elementType instanceof ISpecializationType){ + List<IElementType> elementTypesHierarchy= new ArrayList<>(); + elementTypesHierarchy.add(elementType); + ISpecializationType iSpecializationType=(ISpecializationType)elementType; + elementTypesHierarchy.addAll(Arrays.asList(iSpecializationType.getAllSuperTypes())); + if(elementTypesHierarchy.contains(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_CONFORM))){ + return approveCreateRelationshipRequest(createRelationshipRequest); + } + } + } + return super.approveRequest(request); + } + + /** + * is the createRelationshipRequest on Conform (or one sub specialization is approved) + * @param createRelationshipRequest + * @return + */ + private boolean approveCreateRelationshipRequest(CreateRelationshipRequest createRelationshipRequest) { + //test source + EObject source = createRelationshipRequest.getSource(); + if (!(source instanceof Classifier)){ + return false; + } + else{ + // this is a view, but has it a conform link? + Conform conformLink=null; + Classifier viewBaseClass= (Classifier)source; + // Find Conform link + EList<Generalization> generalizations = viewBaseClass.getGeneralizations(); + if (generalizations != null) { + Iterator<Generalization> itGen = generalizations.iterator(); + while (itGen.hasNext() && (conformLink == null)) { + conformLink = UMLUtil.getStereotypeApplication(itGen.next(), Conform.class); + } + } + //Test to verify if the view has already a conform link. + if(conformLink!=null){ + return false; + } + } + //the source is ok + if( UMLUtil.getStereotypeApplication((Classifier)source, View.class)==null){ + return false; + } + + //test target + EObject target = createRelationshipRequest.getTarget(); + if(target==null){ + return true; + } + if (!(target instanceof Classifier)){ + return false; + } + return UMLUtil.getStereotypeApplication((Classifier)target, Viewpoint.class)!=null; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ConformReorientEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ConformReorientEditHelperAdvice.java new file mode 100644 index 0000000..97afc6c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ConformReorientEditHelperAdvice.java
@@ -0,0 +1,87 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Patrick Tessier (CEA LIST) - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.advice; + +import java.util.Iterator; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; +import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest; +import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; +import org.eclipse.papyrus.sysml.modelelements.Conform; +import org.eclipse.papyrus.sysml.modelelements.View; +import org.eclipse.papyrus.sysml.modelelements.Viewpoint; +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.Generalization; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * 7.3.2.1 Conform + * the service edit must implement the following constraints + * [1] The general classifier must be an element stereotyped by Viewpoint. + * [2] The specific classifier must be an element that is stereotyped by View. + * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml.service.types#Req_001} + * + * 7.3.2.7 View + *A view must only conform to a single viewpoint. + *this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml.service.types#Req_003} + * + */ +public class ConformReorientEditHelperAdvice extends AbstractEditHelperAdvice { + + /** + * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#approveRequest(org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest) + * + * @param request + * @return + */ + @Override + public boolean approveRequest(IEditCommandRequest request) { + if(!(request instanceof ReorientRelationshipRequest)){ + return super.approveRequest(request); + } + ReorientRelationshipRequest reorientRelationshipRequest= (ReorientRelationshipRequest) request; + EObject newRelationshipEnd = reorientRelationshipRequest.getNewRelationshipEnd(); + if (!(newRelationshipEnd instanceof Classifier)){ + return false; + } + + Classifier newRelationshipEndClassifier = (Classifier) newRelationshipEnd ; + //SOURCE + if(ReorientRelationshipRequest.REORIENT_SOURCE==reorientRelationshipRequest.getDirection()){ + if( UMLUtil.getStereotypeApplication(newRelationshipEndClassifier, View.class)!=null){ + // this is a view, but has it a conform link? + Conform conformLink=null; + // Find Conform link + EList<Generalization> generalizations = newRelationshipEndClassifier.getGeneralizations(); + if (generalizations != null) { + Iterator<Generalization> itGen = generalizations.iterator(); + while (itGen.hasNext() && (conformLink == null)) { + conformLink = UMLUtil.getStereotypeApplication(itGen.next(), Conform.class); + } + } + //Test to verify if the view has already a conform link. + if(conformLink!=null){ + return false; + } + return true; + } + }else{//TARGET + if( UMLUtil.getStereotypeApplication(newRelationshipEndClassifier, Viewpoint.class)!=null){ + return true; + } + } + return false; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ConnectorCreationEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ConnectorCreationEditHelperAdvice.java new file mode 100644 index 0000000..eb4ba5d --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ConnectorCreationEditHelperAdvice.java
@@ -0,0 +1,155 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.advice; + +import java.util.Arrays; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.common.core.command.UnexecutableCommand; +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; +import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; +import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.papyrus.sysml.service.types.command.UpdateNestedPathConnectorEnd; +import org.eclipse.papyrus.sysml.service.types.util.ConnectorUtil; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.papyrus.sysml.service.types.util.UMLConnectorUtils; +import org.eclipse.papyrus.uml.service.types.element.UMLElementTypes; +import org.eclipse.papyrus.uml.service.types.utils.RequestParameterUtils; +import org.eclipse.uml2.uml.ConnectableElement; + +/** + * 8.3.2.3 Block + * the service edit must implement the following constraints + * isEncapsulated: Boolean [0..1] + * If true, then the block is treated as a black box; a part typed by this black box can only be connected via its ports or + * directly to its outer boundary. If false, or if a value is not present, then connections can be established to elements of + * its internal structure via deep-nested connector ends. + * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml.service.types#Req_007} + * + */ +public class ConnectorCreationEditHelperAdvice extends AbstractEditHelperAdvice { + + private UMLConnectorUtils utils = new UMLConnectorUtils(); + + /** + * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getBeforeCreateRelationshipCommand(org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest) + * + * @param request + * @return + */ + @Override + protected ICommand getBeforeCreateRelationshipCommand(CreateRelationshipRequest request) { + + EObject source = request.getSource(); + EObject target = request.getTarget(); + EObject container = request.getContainer(); + View sourceView = RequestParameterUtils.getSourceView(request); + View targetView = RequestParameterUtils.getTargetView(request); + + // Restrict this advice action to the end of Connector creation gesture (before clicking on target) + // in order to add SysML specific constraint + if ((Arrays.asList(request.getElementType().getAllSuperTypes()).contains(UMLElementTypes.CONNECTOR)) + && (source != null) && (target != null) && (container != null)) { + + // Restrict action to SysML Connector (meaning owned by Block) + if (((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_BLOCK)).getMatcher().matches(container) + || ((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_CONSTRAINTBLOCK)).getMatcher().matches(container)) { + // If the source or target view is enclosed in a structure encapsulated view, forbid creation. + if (ConnectorUtil.isCrossingEncapsulation(sourceView, targetView) + || ConnectorUtil.isCrossingEncapsulation(targetView, sourceView)) { + return UnexecutableCommand.INSTANCE; + } + if (canCreate(source, target, sourceView, targetView)) { + request.setParameter(org.eclipse.papyrus.uml.service.types.utils.RequestParameterConstants.UML_STRICT, false); + } + } + } + return super.getBeforeCreateRelationshipCommand(request); + } + + /** + * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getAfterCreateRelationshipCommand(org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest) + * + * @param request + * @return + */ + @Override + protected ICommand getAfterCreateRelationshipCommand(CreateRelationshipRequest request) { + + ICommand defaultCommand = super.getAfterCreateRelationshipCommand(request); + + EObject container = request.getContainer(); + View sourceView = RequestParameterUtils.getSourceView(request); + View targetView = RequestParameterUtils.getTargetView(request); + + // Restrict this advice action to the end of Connector creation gesture (before clicking on target) + // in order to add SysML specific constraint + if ((Arrays.asList(request.getElementType().getAllSuperTypes()).contains(UMLElementTypes.CONNECTOR)) + && (request.getSource() != null) && (request.getTarget() != null) && (container != null)) { + // Restrict action to SysML Connector (meaning owned by Block) + if (((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_BLOCK)).getMatcher().matches(container) + || ((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_CONSTRAINTBLOCK)).getMatcher().matches(container)) { + UpdateNestedPathConnectorEnd updateNestedPathConnectorEndSource = new UpdateNestedPathConnectorEnd("UpdateNestedPathConnectorEnd Source", sourceView, request, true); + defaultCommand = CompositeCommand.compose(defaultCommand, updateNestedPathConnectorEndSource); + UpdateNestedPathConnectorEnd updateNestedPathConnectorEndTarget = new UpdateNestedPathConnectorEnd("UpdateNestedPathConnectorEnd Target", targetView, request, false); + defaultCommand = CompositeCommand.compose(defaultCommand, updateNestedPathConnectorEndTarget); + } + } + + return defaultCommand; + } + + /** + * Test if the relationship creation is allowed. + * + * @param source + * the relationship source can be null + * @param target + * the relationship target can be null + * @param sourceView + * the relationship graphical source can be null + * @param targetView + * the relationship graphical target can be null + * @return true if the creation is allowed + */ + //FIXME test creation should be done in approve request + private boolean canCreate(EObject source, EObject target, View sourceView, View targetView) { + + if ((source != null) && !(source instanceof ConnectableElement)) { + return false; + } + + if ((target != null) && !(target instanceof ConnectableElement)) { + return false; + } + + if ((sourceView != null) && (targetView != null)) { + // Cannot create a connector from a view representing a Part to its own Port (or the opposite) + if ((sourceView.getChildren().contains(targetView)) || (targetView.getChildren().contains(sourceView))) { + return false; + } + + // Cannot connect a Part to one of its (possibly indirect) containment, must connect to one of its Port. + if (utils.getStructureContainers(sourceView).contains(targetView) || utils.getStructureContainers(targetView).contains(sourceView)) { + return false; + } + } + return true; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ConnectorPropertyEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ConnectorPropertyEditHelperAdvice.java new file mode 100644 index 0000000..2317cca --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ConnectorPropertyEditHelperAdvice.java
@@ -0,0 +1,42 @@ +/***************************************************************************** + * Copyright (c) 2017 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.advice; + +import org.eclipse.core.commands.ExecutionException; +import org.eclipse.core.runtime.IAdaptable; +import org.eclipse.core.runtime.IProgressMonitor; +import org.eclipse.gmf.runtime.common.core.command.CommandResult; +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.emf.type.core.commands.ConfigureElementCommand; +import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; +import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; +import org.eclipse.uml2.uml.AggregationKind; +import org.eclipse.uml2.uml.Property; + +/** + * The EditHelperAdvice class used for ConnectorProperty + * [3]The aggregation of a property stereotyped by ConnectorProperty must be composite. + */ +public class ConnectorPropertyEditHelperAdvice extends AbstractEditHelperAdvice { + + @Override + protected ICommand getBeforeConfigureCommand(ConfigureRequest request) { + final Property property = (Property) request.getElementToConfigure(); + return new ConfigureElementCommand(request) { + @Override + protected CommandResult doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info) throws ExecutionException { + property.setAggregation(AggregationKind.COMPOSITE_LITERAL); + return CommandResult.newOKCommandResult(property); + } + }; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ConnectorReorientEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ConnectorReorientEditHelperAdvice.java new file mode 100644 index 0000000..0a8cdd0 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ConnectorReorientEditHelperAdvice.java
@@ -0,0 +1,99 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * + * CEA LIST - Initial API and implementation + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - 510133 + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.advice; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; +import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; +import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; +import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; +import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRequest; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.papyrus.sysml.service.types.command.UpdateNestedPathConnectorEnd; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.papyrus.uml.service.types.utils.RequestParameterUtils; +import org.eclipse.uml2.uml.Connector; + +/** + * 8.3.2.3 Block + * the service edit must implement the following constraints + * isEncapsulated: Boolean [0..1] + * If true, then the block is treated as a black box; a part typed by this black box can only be connected via its ports or + * directly to its outer boundary. If false, or if a value is not present, then connections can be established to elements of + * its internal structure via deep-nested connector ends. + * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml.service.types#Req_007} + * + */ +public class ConnectorReorientEditHelperAdvice extends AbstractEditHelperAdvice { + + /** + * Update the nested path from the NestedConnectorEnd stereotype + * ( Remove the stereotype if the new nested path is empty) + * + * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getAfterReorientRelationshipCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest) + * + * @param request + * @return + */ + @Override + protected ICommand getAfterReorientRelationshipCommand(final ReorientRelationshipRequest request) { + ICommand defaultCommand = super.getAfterReorientRelationshipCommand(request); + Connector connector = (Connector) request.getRelationship(); + // Restrict action to SysML Connector (meaning owned by Block) + EObject eContainer = connector.eContainer(); + if (((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_BLOCK)).getMatcher().matches(eContainer) + || ((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_CONSTRAINTBLOCK)).getMatcher().matches(eContainer)) { + View reconnectedEndView = RequestParameterUtils.getReconnectedEndView(request); + if (reconnectedEndView != null) { + boolean isSourceReorientation = request.getDirection() == ReorientRequest.REORIENT_SOURCE; + UpdateNestedPathConnectorEnd updateNestedPathConnectorEndSource = new UpdateNestedPathConnectorEnd("UpdateNestedPathConnectorEnd Reconnected End", reconnectedEndView, request, isSourceReorientation); + defaultCommand = CompositeCommand.compose(defaultCommand, updateNestedPathConnectorEndSource); + } + } + return defaultCommand; + } + + /** + * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getAfterConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest) + * After a re-configuration update the NestedPathConnectorEnd + * @param request + * @return + */ + @Override + protected ICommand getAfterConfigureCommand(ConfigureRequest request) { + ICommand defaultCommand = super.getAfterConfigureCommand(request); + View sourceView = RequestParameterUtils.getSourceView(request); + View targetView = RequestParameterUtils.getTargetView(request); + if (request.getElementToConfigure() instanceof Connector) { + Connector connector = (Connector) request.getElementToConfigure(); + EObject eContainer = connector.eContainer(); + if (((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_BLOCK)).getMatcher().matches(eContainer) + || ((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_CONSTRAINTBLOCK)).getMatcher().matches(eContainer)) { + if (sourceView != null) { + UpdateNestedPathConnectorEnd updateNestedPathConnectorEndSource = new UpdateNestedPathConnectorEnd("UpdateNestedPathConnectorEnd Source", sourceView, request, true); + defaultCommand = CompositeCommand.compose(defaultCommand, updateNestedPathConnectorEndSource); + } + if (targetView != null) { + UpdateNestedPathConnectorEnd updateNestedPathConnectorEndTarget = new UpdateNestedPathConnectorEnd("UpdateNestedPathConnectorEnd Target", targetView, request, false); + defaultCommand = CompositeCommand.compose(defaultCommand, updateNestedPathConnectorEndTarget); + } + } + } + return defaultCommand; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ConstraintCreationEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ConstraintCreationEditHelperAdvice.java new file mode 100644 index 0000000..886efc0 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ConstraintCreationEditHelperAdvice.java
@@ -0,0 +1,64 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.service.types.advice; + +import java.util.Arrays; + +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; +import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; +import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest; +import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.papyrus.uml.service.types.element.UMLElementTypes; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.UMLPackage; + +/** + * This advice is used to redirect creation of constraint inside a property to the type of the property + * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml.service.types#Req_011} + * + */ +public class ConstraintCreationEditHelperAdvice extends AbstractEditHelperAdvice { + /** + * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#configureRequest(org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest) + * + * @param request + */ + @Override + public void configureRequest(IEditCommandRequest request) { + if (request instanceof CreateElementRequest) { + // check the element to create is a sub kind of UML Constraint + CreateElementRequest createElementRequest = (CreateElementRequest) request; + if (Arrays.asList(createElementRequest.getElementType().getAllSuperTypes()).contains(UMLElementTypes.CONSTRAINT)) { + // check the container as Constraint Block property + if (((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_CONSTRAINTPROPERTY)).getMatcher().matches(createElementRequest.getContainer())) { + if (createElementRequest.getContainer() instanceof Property) { + // this line is very important + // change the context ok, but the feature must be change in order to create a port inside the class + createElementRequest.setContainmentFeature(UMLPackage.eINSTANCE.getNamespace_OwnedRule()); + Property p = (Property) createElementRequest.getContainer(); + if (p.getType() != null) { + createElementRequest.setContainer(p.getType()); + } + + } + } + } + } + + super.configureRequest(request); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ConstraintPropertyEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ConstraintPropertyEditHelperAdvice.java new file mode 100644 index 0000000..ac5f545 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ConstraintPropertyEditHelperAdvice.java
@@ -0,0 +1,47 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.advice; + +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; +import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; + +/** + * The EditHelperAdvice class used for ConstraintProperty + * Get the command from graphical element type to type the property by a constraint block + * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml.service.types#Req_010_006} + */ +public class ConstraintPropertyEditHelperAdvice extends AbstractEditHelperAdvice { + + + /** + * Parameter id used to pass the command for setting the type of the property + */ + public static final String SET_CONSTRAINT_ICOMMAND = "SET_CONSTRAINT_ICOMMAND"; //$NON-NLS-1$ + + + /** + * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getAfterConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest) + * + * @param request + * @return + */ + @Override + protected ICommand getAfterConfigureCommand(ConfigureRequest request) { + Object parameter = request.getParameter(SET_CONSTRAINT_ICOMMAND); + + if (parameter instanceof ICommand) { + return (ICommand) parameter; + } + return super.getAfterConfigureCommand(request); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/DeriveReqtClientEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/DeriveReqtClientEditHelperAdvice.java new file mode 100755 index 0000000..949e7f0 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/DeriveReqtClientEditHelperAdvice.java
@@ -0,0 +1,89 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Patrick Tessier (CEA LIST) - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.service.types.advice; + +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; +import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; +import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest; +import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest; +import org.eclipse.papyrus.sysml.requirements.Requirement; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * 16.3.2.2 DeriveReqt + * Constraints + * [2] The client must be an element stereotyped by «requirement» or one of «requirement» subtypes. + * + */ +public class DeriveReqtClientEditHelperAdvice extends AbstractEditHelperAdvice { + + /** + * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#approveRequest(org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest) + * + * @param request + * @return + */ + @Override + public boolean approveRequest(IEditCommandRequest request) { + // only CreateRelationshipRequest are interested for conform + if (request instanceof CreateRelationshipRequest) { + CreateRelationshipRequest createRelationshipRequest = (CreateRelationshipRequest) request; + // only elementType conform are interested for conform + IElementType elementType = createRelationshipRequest.getElementType(); + if (elementType instanceof ISpecializationType) { + if (isSpecializationof((ISpecializationType) elementType, SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_DERIVEREQT_ABSTRACTION) || + isSpecializationof((ISpecializationType) elementType, SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_DERIVEREQT_DIRECTEDRELATIONSHIP)) { + return approveCreateRelationshipRequest(createRelationshipRequest); + } + } + } + return super.approveRequest(request); + } + + /** + * Client (source) of the createRelationshipRequest should be a requirement + * + * @param createRelationshipRequest + * @return + */ + private boolean approveCreateRelationshipRequest(CreateRelationshipRequest createRelationshipRequest) { + EObject source = createRelationshipRequest.getSource(); + return (source instanceof Classifier) && UMLUtil.getStereotypeApplication((Classifier) source, Requirement.class) != null; + } + + /** + * Check if iSpecializationType is a specialization of elementTypeId + * + * @param iSpecializationType + * @param elementTypeId + * @return + */ + // FIXME : this utility should be provided by the elementType API + private boolean isSpecializationof(ISpecializationType iSpecializationType, String elementTypeId) { + List<IElementType> elementTypesHierarchy = new ArrayList<>(); + elementTypesHierarchy.add(iSpecializationType); + elementTypesHierarchy.addAll(Arrays.asList(iSpecializationType.getAllSuperTypes())); + return elementTypesHierarchy.contains(ElementTypeRegistry.getInstance().getType(elementTypeId)); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/DeriveReqtSupplierEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/DeriveReqtSupplierEditHelperAdvice.java new file mode 100755 index 0000000..ff8d638 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/DeriveReqtSupplierEditHelperAdvice.java
@@ -0,0 +1,88 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Patrick Tessier (CEA LIST) - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.service.types.advice; + +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; +import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; +import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest; +import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest; +import org.eclipse.papyrus.sysml.requirements.Requirement; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * 16.3.2.2 DeriveReqt + * Constraints + * [1] The supplier must be an element stereotyped by «requirement» or one of «requirement» subtypes. + */ +public class DeriveReqtSupplierEditHelperAdvice extends AbstractEditHelperAdvice { + + /** + * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#approveRequest(org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest) + * + * @param request + * @return + */ + @Override + public boolean approveRequest(IEditCommandRequest request) { + // only CreateRelationshipRequest are interested for conform + if (request instanceof CreateRelationshipRequest) { + CreateRelationshipRequest createRelationshipRequest = (CreateRelationshipRequest) request; + // only elementType conform are interested for conform + IElementType elementType = createRelationshipRequest.getElementType(); + if (elementType instanceof ISpecializationType) { + if (isSpecializationof((ISpecializationType) elementType, SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_DERIVEREQT_ABSTRACTION) || + isSpecializationof((ISpecializationType) elementType, SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_DERIVEREQT_DIRECTEDRELATIONSHIP)) { + return approveCreateRelationshipRequest(createRelationshipRequest); + } + } + } + return super.approveRequest(request); + } + + /** + * supplier (target) of the createRelationshipRequest should be a requirement + * + * @param createRelationshipRequest + * @return + */ + private boolean approveCreateRelationshipRequest(CreateRelationshipRequest createRelationshipRequest) { + EObject target = createRelationshipRequest.getTarget(); + return (target instanceof Classifier) && UMLUtil.getStereotypeApplication((Classifier) target, Requirement.class) != null; + } + + /** + * Check if iSpecializationType is a specialization of elementTypeId + * + * @param iSpecializationType + * @param elementTypeId + * @return + */ + // FIXME : this utility should be provided by the elementType API + private boolean isSpecializationof(ISpecializationType iSpecializationType, String elementTypeId) { + List<IElementType> elementTypesHierarchy = new ArrayList<>(); + elementTypesHierarchy.add(iSpecializationType); + elementTypesHierarchy.addAll(Arrays.asList(iSpecializationType.getAllSuperTypes())); + return elementTypesHierarchy.contains(ElementTypeRegistry.getInstance().getType(elementTypeId)); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/DirectedRelationshipPropertyPathEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/DirectedRelationshipPropertyPathEditHelperAdvice.java new file mode 100644 index 0000000..45d96f9 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/DirectedRelationshipPropertyPathEditHelperAdvice.java
@@ -0,0 +1,96 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * + * CEA LIST - Initial API and implementation + * Benoit Maggi - #492564 Fix NPE + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.advice; + +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; +import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; +import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.papyrus.sysml.service.types.command.SetDirectedRelationshipPropertyPathCommand; +import org.eclipse.papyrus.sysml.service.types.command.wrapper.EMFToCreateElementEditCommandWrapper; +import org.eclipse.papyrus.sysml.service.types.command.wrapper.EMFToIEditCommandWrapper; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.papyrus.uml.service.types.utils.RequestParameterUtils; +import org.eclipse.uml2.uml.Property; + +/** + * 8.3.2.7 DirectedRelationshipPropertyPath + * sourcePropertyPath: Property [0..*] {ordered, nonunique} + * A series of properties that identifies the source of the directed relationship in the context of the block specified by the + * sourceContext property. The ordering of properties is from a property of the sourceContext block, through a property + * of each intermediate block that types the preceding property, ending in a property with a type that owns or inherits the + * source of the directed relationship. The source is not included in the propertyPath list. The same property might + * appear more than once because a block can own a property with the same or specialized block as a type. + * • targetPropertyPath: Property [0..*] {ordered, nonunique} + * A series of properties that identifies the target of the directed relationship in the context of the block specified by the + * targetContext property. The ordering of properties is from a property of the targetContext block, through a property of + * each intermediate block that types the preceding property, ending in a property with a type that owns or inherits the + * target of the directed relationship. The target is not included in the propertyPath list. The same property might appear + * more than once because a block can own a property with the same or specialized block as a type. + * • sourceContext: Classifier [0.1] + * Gives the context for sourcePropertyPath to begin from. + * • targetContext: Classifier [0.1] + * Gives the context for targetPropertyPath to begin from. + * + */ +public class DirectedRelationshipPropertyPathEditHelperAdvice extends AbstractEditHelperAdvice { + + /** + * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getAfterCreateRelationshipCommand(org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest) + * + * @param request + * @return + */ + @Override + protected ICommand getAfterCreateRelationshipCommand(CreateRelationshipRequest request) { + + ICommand defaultCommand = super.getAfterCreateRelationshipCommand(request); + View sourceView = RequestParameterUtils.getSourceView(request); + View targetView = RequestParameterUtils.getTargetView(request); + if (request.getElementType() instanceof ISpecializationType) { + // get all specializations from elementTypes + List<IElementType> elementTypesHierarchy = new ArrayList<>(); + elementTypesHierarchy.add(request.getElementType()); + ISpecializationType iSpecializationType = (ISpecializationType) request.getElementType(); + elementTypesHierarchy.addAll(Arrays.asList(iSpecializationType.getAllSuperTypes())); + + if ((elementTypesHierarchy.contains(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_ALLOCATE_ABSTRACTION))) || + (elementTypesHierarchy.contains(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_REFINE_ABSTRACTION))) || + (elementTypesHierarchy.contains(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_TRACE_ABSTRACTION)))) { + + if (sourceView!=null && sourceView.getElement() instanceof Property) { + SetDirectedRelationshipPropertyPathCommand setPropertyPathCommand = new SetDirectedRelationshipPropertyPathCommand(request.getEditingDomain(), sourceView, true); + EMFToIEditCommandWrapper editCommandWrapper = new EMFToCreateElementEditCommandWrapper(request.getContainer(), request, setPropertyPathCommand); + defaultCommand = CompositeCommand.compose(defaultCommand, editCommandWrapper); + } + + if (targetView!=null && targetView.getElement() instanceof Property) { + SetDirectedRelationshipPropertyPathCommand setPropertyPathCommand = new SetDirectedRelationshipPropertyPathCommand(request.getEditingDomain(), targetView, false); + EMFToIEditCommandWrapper editCommandWrapper = new EMFToCreateElementEditCommandWrapper(request.getContainer(), request, setPropertyPathCommand); + defaultCommand = CompositeCommand.compose(defaultCommand, editCommandWrapper); + } + } + } + return defaultCommand; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ElementGroupEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ElementGroupEditHelperAdvice.java new file mode 100644 index 0000000..1b6c0a6 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ElementGroupEditHelperAdvice.java
@@ -0,0 +1,31 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Patrick Tessier (CEA LIST) - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.service.types.advice; + +import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; + +/** + * 7.3.2. ElementGroup + * /member: Element[0..*] + * Set specifying the members of the group. + * Derived from Comment::annotatedElement. + * orderedMember: Element[0..*] {ordered, subsets member} + * Organize member according to an arbitrary order. + * + *this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml.service.types#Req_002} + * + */ +public class ElementGroupEditHelperAdvice extends AbstractEditHelperAdvice { + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/PartCreationEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/PartCreationEditHelperAdvice.java new file mode 100644 index 0000000..997ddfe --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/PartCreationEditHelperAdvice.java
@@ -0,0 +1,72 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.service.types.advice; + +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; +import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; +import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; +import org.eclipse.papyrus.sysml.service.types.command.CreateAssociationCommand; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.uml2.uml.AggregationKind; + +/** + * + *8.3.2.3 Block + *[1] For an association in which both ends are typed by blocks, the number of ends must be exactly two. + * + *[3] In the UML metamodel on which SysML is built, any instance of the Property metaclass that is typed by a block (a Class + *with the «block» stereotype applied) and which is owned by an Association may not have a name and may not be defined + *as a navigable owned end of the association. (While the Property has a “name” property as defined by its NamedElement + *superclass, the value of the “name” property, which is optional, must be missing.) + * + *[4] In the UML metamodel on which SysML is built, a Property that is typed by a block must be defined as an end of an association. + *(An inverse end of this association, whether owned by another block or the association itself, must always be present + *so there is always a metamodel element to record the inverse multiplicity of the reference.) + * + *this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml.service.types#Req_004} + */ +public class PartCreationEditHelperAdvice extends AbstractEditHelperAdvice { + /** + * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getAfterConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest) + * + * @param request + * @return + */ + @Override + protected org.eclipse.gmf.runtime.common.core.command.ICommand getAfterConfigureCommand(final ConfigureRequest request) { + IElementType elementType=request.getTypeToConfigure(); + + if (elementType instanceof ISpecializationType){ + List<IElementType> elementTypesHierarchy= new ArrayList<>(); + elementTypesHierarchy.add(elementType); + ISpecializationType iSpecializationType=(ISpecializationType)elementType; + elementTypesHierarchy.addAll(Arrays.asList(iSpecializationType.getAllSuperTypes())); + + //this is part + if(elementTypesHierarchy.contains(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_PART))){ + return new CreateAssociationCommand( request, AggregationKind.COMPOSITE_LITERAL); + } + + } + return super.getAfterConfigureCommand(request); + + } + + }
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/QuantityKindEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/QuantityKindEditHelperAdvice.java new file mode 100644 index 0000000..41a33f3 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/QuantityKindEditHelperAdvice.java
@@ -0,0 +1,44 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.service.types.advice; + + + +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; +import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; +import org.eclipse.papyrus.sysml.service.types.command.InstanceSpecificationWithSlotConfigureElementCommand; +import org.eclipse.papyrus.sysml.util.QUDVUtil; +import org.eclipse.uml2.uml.Classifier; + +/** + * The helperadvice class used for QuantityKind. + * - Init the type of the instance specification + * - create all slot corresponding to quantityKind attributes + * + */ +public class QuantityKindEditHelperAdvice extends AbstractEditHelperAdvice { + + /** + * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getBeforeConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest) + * + * @param request + * @return + */ + @Override + protected ICommand getBeforeConfigureCommand(ConfigureRequest request) { + Classifier quantityKindClassifier = QUDVUtil.getClassifierByNameSpaceFromQUDV(QUDVUtil.UNIT_AND_QUANTITY_KIND, QUDVUtil.QUANTITY_KIND); + return new InstanceSpecificationWithSlotConfigureElementCommand(request,quantityKindClassifier); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ReferenceCreationEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ReferenceCreationEditHelperAdvice.java new file mode 100644 index 0000000..b5bbf37 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ReferenceCreationEditHelperAdvice.java
@@ -0,0 +1,71 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.service.types.advice; + +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; +import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; +import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; +import org.eclipse.papyrus.sysml.service.types.command.CreateAssociationCommand; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.uml2.uml.AggregationKind; + +/** + * 8.3.2.3 Block + * [1] For an association in which both ends are typed by blocks, the number of ends must be exactly two. + * + * [3] In the UML metamodel on which SysML is built, any instance of the Property metaclass that is typed by a block (a Class + * with the «block» stereotype applied) and which is owned by an Association may not have a name and may not be defined + * as a navigable owned end of the association. (While the Property has a “name” property as defined by its NamedElement + * superclass, the value of the “name” property, which is optional, must be missing.) + * + * [4] In the UML metamodel on which SysML is built, a Property that is typed by a block must be defined as an end of an association. + * (An inverse end of this association, whether owned by another block or the association itself, must always be present + * so there is always a metamodel element to record the inverse multiplicity of the reference.) + * + * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml.service.types#Req_004} + **/ +public class ReferenceCreationEditHelperAdvice extends AbstractEditHelperAdvice { + /** + * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getAfterConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest) + * + * @param request + * @return + */ + @Override + protected org.eclipse.gmf.runtime.common.core.command.ICommand getAfterConfigureCommand(final ConfigureRequest request) { + IElementType elementType = request.getTypeToConfigure(); + + if (elementType instanceof ISpecializationType) { + List<IElementType> elementTypesHierarchy = new ArrayList<>(); + elementTypesHierarchy.add(elementType); + ISpecializationType iSpecializationType = (ISpecializationType) elementType; + elementTypesHierarchy.addAll(Arrays.asList(iSpecializationType.getAllSuperTypes())); + + // this is a reference + if (elementTypesHierarchy.contains(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_REFERENCE))) { + return new CreateAssociationCommand(request, AggregationKind.SHARED_LITERAL); + } + + } + return super.getAfterConfigureCommand(request); + + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ReorientDirectedRelationshipPPEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ReorientDirectedRelationshipPPEditHelperAdvice.java new file mode 100644 index 0000000..9364f0b --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/ReorientDirectedRelationshipPPEditHelperAdvice.java
@@ -0,0 +1,77 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.advice; + +import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; +import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; +import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; +import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRequest; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.papyrus.sysml.service.types.command.SetDirectedRelationshipPropertyPathCommand; +import org.eclipse.papyrus.sysml.service.types.command.wrapper.EMFToIEditCommandWrapper; +import org.eclipse.papyrus.sysml.service.types.command.wrapper.EMFToReorientRelationshipEditCommandWrapper; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.papyrus.uml.service.types.utils.RequestParameterUtils; +import org.eclipse.uml2.uml.Property; + +/** + * 8.3.2.7 DirectedRelationshipPropertyPath + * sourcePropertyPath: Property [0..*] {ordered, nonunique} + * A series of properties that identifies the source of the directed relationship in the context of the block specified by the + * sourceContext property. The ordering of properties is from a property of the sourceContext block, through a property + * of each intermediate block that types the preceding property, ending in a property with a type that owns or inherits the + * source of the directed relationship. The source is not included in the propertyPath list. The same property might + * appear more than once because a block can own a property with the same or specialized block as a type. + * • targetPropertyPath: Property [0..*] {ordered, nonunique} + * A series of properties that identifies the target of the directed relationship in the context of the block specified by the + * targetContext property. The ordering of properties is from a property of the targetContext block, through a property of + * each intermediate block that types the preceding property, ending in a property with a type that owns or inherits the + * target of the directed relationship. The target is not included in the propertyPath list. The same property might appear + * more than once because a block can own a property with the same or specialized block as a type. + * • sourceContext: Classifier [0.1] + * Gives the context for sourcePropertyPath to begin from. + * • targetContext: Classifier [0.1] + * Gives the context for targetPropertyPath to begin from. + * + */ +public class ReorientDirectedRelationshipPPEditHelperAdvice extends AbstractEditHelperAdvice { + + + /** + * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getAfterReorientRelationshipCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest) + * + * @param request + * @return + */ + @Override + protected ICommand getAfterReorientRelationshipCommand(ReorientRelationshipRequest request) { + ICommand defaultCommand = super.getAfterReorientRelationshipCommand(request); + int reorientDirection = request.getDirection(); + View newEndView = RequestParameterUtils.getReconnectedEndView(request); + if ((((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_ALLOCATE_ABSTRACTION)).getMatcher().matches(request.getRelationship())) || + (((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_REFINE_ABSTRACTION)).getMatcher().matches(request.getRelationship())) || + (((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_TRACE_ABSTRACTION)).getMatcher().matches(request.getRelationship()))) { + boolean isSource = ReorientRequest.REORIENT_SOURCE == reorientDirection; + if (newEndView.getElement() instanceof Property) { + SetDirectedRelationshipPropertyPathCommand setPropertyPathCommand = new SetDirectedRelationshipPropertyPathCommand(request.getEditingDomain(), newEndView, isSource); + EMFToIEditCommandWrapper editCommandWrapper = new EMFToReorientRelationshipEditCommandWrapper(request.getRelationship(), request, setPropertyPathCommand); + defaultCommand = CompositeCommand.compose(defaultCommand, editCommandWrapper); + } + } + return defaultCommand; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/SetEncapsulatedEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/SetEncapsulatedEditHelperAdvice.java new file mode 100644 index 0000000..ae40af6 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/SetEncapsulatedEditHelperAdvice.java
@@ -0,0 +1,142 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.advice; + +import java.util.ArrayList; +import java.util.Collection; +import java.util.Collections; +import java.util.HashSet; +import java.util.LinkedList; +import java.util.List; +import java.util.Set; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.emf.core.util.EMFCoreUtil; +import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; +import org.eclipse.gmf.runtime.emf.type.core.requests.DestroyDependentsRequest; +import org.eclipse.gmf.runtime.emf.type.core.requests.SetRequest; +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd; +import org.eclipse.uml2.uml.Connector; +import org.eclipse.uml2.uml.ConnectorEnd; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.UMLPackage; + +/** + * 8.3.2.3 Block + * the service edit must implement the following constraints + * isEncapsulated: Boolean [0..1] + * If true, then the block is treated as a black box; a part typed by this black box can only be connected via its ports or + * directly to its outer boundary. If false, or if a value is not present, then connections can be established to elements of + * its internal structure via deep-nested connector ends. + * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml.service.types#Req_007} + * + * <pre> + * This advice is used to remove inconsistent {@link Connector} when a related {@link Block} + * is set as encapsulated ({@link Block#isEncapsulated()} property). + * </pre> + */ +public class SetEncapsulatedEditHelperAdvice extends AbstractEditHelperAdvice { + + /** + * <pre> + * {@inheritDoc} + * + * Returns the command to destroy any {@link Connector} breaking encapsulation rules. + * </pre> + * + * @param request + * the request to modify the model + * @return + * the command to destroy the views of the parts which are not owned by the new type + * + */ + @Override + protected ICommand getBeforeSetCommand(SetRequest request) { + ICommand setCommand = super.getBeforeSetCommand(request); + Set<Connector> connectorToDelete = new HashSet<>(); + + EObject elementToEdit = request.getElementToEdit(); + if ((elementToEdit instanceof Block) && (request.getFeature() == BlocksPackage.eINSTANCE.getBlock_IsEncapsulated())) { + + Block blockApp = (Block) elementToEdit; + Boolean setAsEncapsulated = (request.getValue() instanceof Boolean) ? (Boolean) request.getValue() : false; + if (!blockApp.isEncapsulated() && setAsEncapsulated) { + + for (Property property : getPropertyTypedByBlock(blockApp)) { + for (NestedConnectorEnd nestedEnd : getRelatedNestedConnectorEnd(property)) { + ConnectorEnd end = nestedEnd.getBase_ConnectorEnd(); + Connector connector = (end != null) ? (Connector) end.eContainer() : null; + if (connector != null) { + connectorToDelete.add(connector); + } + } + } + } + } + + // Add connector destroy command if needed + if (!(connectorToDelete.isEmpty())) { + DestroyDependentsRequest req = new DestroyDependentsRequest(request.getEditingDomain(), elementToEdit, false); + req.setClientContext(request.getClientContext()); + req.addParameters(request.getParameters()); + ICommand connectorDestroyCommand = req.getDestroyDependentsCommand(connectorToDelete); + if (connectorDestroyCommand != null) { + setCommand = CompositeCommand.compose(connectorDestroyCommand, setCommand); + } + } + + return setCommand; + } + + /** + * Get any {@link Property} typed by the given {@link Block} (its base class). + * + * @param block + * the block. + * @return a collection of {@link Property} + */ + private Collection<Property> getPropertyTypedByBlock(Block block) { + EReference[] eRefs = new EReference[] { UMLPackage.eINSTANCE.getTypedElement_Type() }; + + Collection<?> references = EMFCoreUtil.getReferencers(block.getBase_Class(), eRefs); + List<Property> propertyReferences = new LinkedList<>(); + for (Object reference : references) { + if (reference instanceof Property) { + propertyReferences.add((Property) reference); + } + } + + return propertyReferences; + } + + /** + * Get any {@link NestedConnectorEnd} stereotype application that holds the property in its path. + * + * @param property + * the property that should be in the path. + * @return a collection of {@link NestedConnectorEnd} + */ + @SuppressWarnings("unchecked") + private Collection<NestedConnectorEnd> getRelatedNestedConnectorEnd(Property property) { + EReference[] eRefs = new EReference[] { BlocksPackage.eINSTANCE.getElementPropertyPath_PropertyPath() }; + + Collection<NestedConnectorEnd> references = EMFCoreUtil.getReferencers(property, eRefs); + return (references != null) ? references : Collections.unmodifiableList(new ArrayList<NestedConnectorEnd>()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/UnitEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/UnitEditHelperAdvice.java new file mode 100644 index 0000000..3008350 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/advice/UnitEditHelperAdvice.java
@@ -0,0 +1,40 @@ +/***************************************************************************** + * Copyright (c) 2014 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.advice; + +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; +import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; +import org.eclipse.papyrus.sysml.service.types.command.InstanceSpecificationWithSlotConfigureElementCommand; +import org.eclipse.papyrus.sysml.util.QUDVUtil; +import org.eclipse.uml2.uml.Classifier; + +/** + * The helper advice class used for Unit. + * - Init the type of the instance specification + * - create all slot corresponding to Unit attributes + * + */ +public class UnitEditHelperAdvice extends AbstractEditHelperAdvice { + + /** + * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getBeforeConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest) + * + * @param request + * @return + */ + @Override + protected ICommand getBeforeConfigureCommand(ConfigureRequest request) { + Classifier unitClassifier = QUDVUtil.getClassifierByNameSpaceFromQUDV(QUDVUtil.UNIT_AND_QUANTITY_KIND, QUDVUtil.UNIT); + return new InstanceSpecificationWithSlotConfigureElementCommand(request,unitClassifier); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/command/CreateAssociationCommand.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/command/CreateAssociationCommand.java new file mode 100644 index 0000000..b91d816 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/command/CreateAssociationCommand.java
@@ -0,0 +1,98 @@ +/***************************************************************************** + * Copyright (c) 2015,2016 CEA LIST and others. + * + * 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: + * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Bug 483564 + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.command; + +import org.eclipse.core.commands.ExecutionException; +import org.eclipse.core.runtime.IAdaptable; +import org.eclipse.core.runtime.IProgressMonitor; +import org.eclipse.gmf.runtime.common.core.command.CommandResult; +import org.eclipse.gmf.runtime.emf.type.core.commands.ConfigureElementCommand; +import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; +import org.eclipse.uml2.uml.AggregationKind; +import org.eclipse.uml2.uml.Association; +import org.eclipse.uml2.uml.Package; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; +import org.eclipse.uml2.uml.UMLFactory; + +/** + * This class is used to create an association from a property + * + */ +public class CreateAssociationCommand extends ConfigureElementCommand { + + private final AggregationKind aggregationKind; + + /** + * Constructor using default Aggregation + * + * @param request + * @param aggregationKind + */ + public CreateAssociationCommand(ConfigureRequest request) { + this(request,AggregationKind.NONE_LITERAL); + } + + /** + * Constructor. + * + * @param request + * @param aggregationKind + */ + public CreateAssociationCommand(ConfigureRequest request, AggregationKind aggregationKind) { + super(request); + this.aggregationKind = aggregationKind; + } + + /** + * @see org.eclipse.gmf.runtime.emf.type.core.commands.EditElementCommand#canExecute() + * + * @return + */ + @Override + public boolean canExecute() { + if (aggregationKind!= null && (getElementToEdit() instanceof Property)) { + return super.canExecute(); + } + return false; + } + + @Override + protected CommandResult doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info) throws ExecutionException { + Property sourcePart = (Property) getElementToEdit(); + + // set the aggregation + if (sourcePart != null) { + sourcePart.setAggregation(aggregationKind); + + // construct the Association + if (sourcePart.getType() != null) { + + // Create association between element owner and element type + Type sourceType = (Type) sourcePart.getOwner(); + Package associationContainer = sourceType.getNearestPackage(); + + // Create targetProperty + Property targetProperty = UMLFactory.eINSTANCE.createProperty(); + targetProperty.setType(sourceType); + + Association association = UMLFactory.eINSTANCE.createAssociation(); + association.setPackage(associationContainer); + association.getMemberEnds().add(sourcePart); + association.getOwnedEnds().add(targetProperty); + association.getMemberEnds().add(targetProperty); + } + } + return CommandResult.newOKCommandResult(sourcePart); + } +} \ No newline at end of file
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/command/InstanceSpecificationWithSlotConfigureElementCommand.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/command/InstanceSpecificationWithSlotConfigureElementCommand.java new file mode 100644 index 0000000..dc83cd2 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/command/InstanceSpecificationWithSlotConfigureElementCommand.java
@@ -0,0 +1,85 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.command; + +import org.eclipse.core.commands.ExecutionException; +import org.eclipse.core.runtime.IAdaptable; +import org.eclipse.core.runtime.IProgressMonitor; +import org.eclipse.emf.common.util.EList; +import org.eclipse.gmf.runtime.common.core.command.CommandResult; +import org.eclipse.gmf.runtime.emf.type.core.commands.ConfigureElementCommand; +import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.InstanceSpecification; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Slot; +import org.eclipse.uml2.uml.Type; +import org.eclipse.uml2.uml.UMLPackage; +import org.eclipse.uml2.uml.ValueSpecification; + +/** + * + * A command to configure an instance specification from a classifier + + * + */ +public class InstanceSpecificationWithSlotConfigureElementCommand extends ConfigureElementCommand { + + private Classifier classifier; + + /** + * Configure the instance specification to use this classifier + * + * @param request + * @param classifier + */ + public InstanceSpecificationWithSlotConfigureElementCommand(ConfigureRequest request,Classifier classifier) { + super(request); + this.classifier = classifier; + } + + + /** + * Add the classifier to the instance specification and create slots for each attributes + * + * @see org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable) + * + * @param monitor + * @param info + * @return + * @throws ExecutionException + */ + @Override + protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info) throws ExecutionException { + final InstanceSpecification instanceSpecification = (InstanceSpecification) getElementToEdit(); + if (classifier != null){ + // set instance classifier + instanceSpecification.getClassifiers().add(classifier); + EList<Property> attributes = classifier.getAttributes(); + // create the slots + for (Property property : attributes) { + Slot slot = instanceSpecification.createSlot(); + Type type = property.getType(); + if (type!=null){ + ValueSpecification valueSpecification = slot.createValue(property.getName(), type, UMLPackage.eINSTANCE.getInstanceValue()); + valueSpecification.setType(type); + }else { + slot.createValue(property.getName(), null, UMLPackage.eINSTANCE.getLiteralString()); + } + slot.setDefiningFeature(property); + } + } + return CommandResult.newOKCommandResult(instanceSpecification); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/command/SetDirectedRelationshipPropertyPathCommand.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/command/SetDirectedRelationshipPropertyPathCommand.java new file mode 100644 index 0000000..04777ed --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/command/SetDirectedRelationshipPropertyPathCommand.java
@@ -0,0 +1,113 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Patrick Tessier(CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.service.types.command; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.transaction.RecordingCommand; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath; +import org.eclipse.papyrus.sysml.service.types.command.wrapper.IEMFElementToEditCommand; +import org.eclipse.papyrus.sysml.service.types.util.PropertyPathUtil; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * 8.3.2.7 DirectedRelationshipPropertyPath + * sourcePropertyPath: Property [0..*] {ordered, nonunique} + * A series of properties that identifies the source of the directed relationship in the context of the block specified by the + * sourceContext property. The ordering of properties is from a property of the sourceContext block, through a property + * of each intermediate block that types the preceding property, ending in a property with a type that owns or inherits the + * source of the directed relationship. The source is not included in the propertyPath list. The same property might + * appear more than once because a block can own a property with the same or specialized block as a type. + * • targetPropertyPath: Property [0..*] {ordered, nonunique} + * A series of properties that identifies the target of the directed relationship in the context of the block specified by the + * targetContext property. The ordering of properties is from a property of the targetContext block, through a property of + * each intermediate block that types the preceding property, ending in a property with a type that owns or inherits the + * target of the directed relationship. The target is not included in the propertyPath list. The same property might appear + * more than once because a block can own a property with the same or specialized block as a type. + * • sourceContext: Classifier [0.1] + * Gives the context for sourcePropertyPath to begin from. + * • targetContext: Classifier [0.1] + * Gives the context for targetPropertyPath to begin from. + * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml.service.types#Req_009} + */ +public class SetDirectedRelationshipPropertyPathCommand extends RecordingCommand implements IEMFElementToEditCommand { + + protected Element directedRelationShipPropertyPath = null; + protected View sourceView = null; + protected boolean isSource; + + /** + * Constructor. + * + * @param domain + * @param view + * the view that reference the semantic element, it is need to calculus the context... + * @param isSource + * if true fill information about the source, false fill information about the target + */ + public SetDirectedRelationshipPropertyPathCommand(TransactionalEditingDomain domain, View view, boolean isSource) { + super(domain); + this.sourceView = view; + this.isSource = isSource; + } + + /** + * @see org.eclipse.emf.common.command.AbstractCommand#canExecute() + * + * @return + */ + @Override + public boolean canExecute() { + if (directedRelationShipPropertyPath == null || sourceView == null) { + return false; + } + return super.canExecute(); + } + + /** + * @see org.eclipse.emf.transaction.RecordingCommand#doExecute() + * + */ + @Override + protected void doExecute() { + if (canExecute()) { + if (isSource) { + DirectedRelationshipPropertyPath stereotypeApplication = UMLUtil.getStereotypeApplication(directedRelationShipPropertyPath, DirectedRelationshipPropertyPath.class); + stereotypeApplication.getSourcePropertyPath().clear(); + stereotypeApplication.getSourcePropertyPath().addAll(PropertyPathUtil.getPropertyPath(sourceView)); + stereotypeApplication.setSourceContext(PropertyPathUtil.getCompositeContext(sourceView)); + } else { + DirectedRelationshipPropertyPath stereotypeApplication = UMLUtil.getStereotypeApplication(directedRelationShipPropertyPath, DirectedRelationshipPropertyPath.class); + stereotypeApplication.getTargetPropertyPath().clear(); + stereotypeApplication.getTargetPropertyPath().addAll(PropertyPathUtil.getPropertyPath(sourceView)); + stereotypeApplication.setTargetContext(PropertyPathUtil.getCompositeContext(sourceView)); + } + } + } + + /** + * @see org.eclipse.papyrus.sysml.service.types.command.wrapper.IEMFElementToEditCommand#SetElementToEdit(org.eclipse.emf.ecore.EObject) + * + * @param eObject + */ + @Override + public void setElementToEdit(EObject eObject) { + if (eObject instanceof Element) { + directedRelationShipPropertyPath = (Element) eObject; + } + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/command/UpdateNestedPathConnectorEnd.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/command/UpdateNestedPathConnectorEnd.java new file mode 100644 index 0000000..3a0ceab --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/command/UpdateNestedPathConnectorEnd.java
@@ -0,0 +1,172 @@ +/***************************************************************************** + * Copyright (c) 2017 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: + * + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * Pauline DEVILLE (CEA LIST) pauline.deville@cea.fr - Bug 528161 - NestedConnectorEnd Stereotype is not applied + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.command; + +import java.util.List; + +import org.eclipse.core.commands.ExecutionException; +import org.eclipse.core.runtime.IAdaptable; +import org.eclipse.core.runtime.IProgressMonitor; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.gmf.runtime.common.core.command.CommandResult; +import org.eclipse.gmf.runtime.emf.type.core.commands.EditElementCommand; +import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; +import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest; +import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest; +import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd; +import org.eclipse.papyrus.sysml.service.types.util.ConnectorUtil; +import org.eclipse.papyrus.uml.service.types.utils.ConnectorUtils; +import org.eclipse.uml2.uml.Connector; +import org.eclipse.uml2.uml.ConnectorEnd; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; + +/** + * NestedConnectorEnd + * + * The NestedConnectorEnd stereotype of UML ConnectorEnd extends a UML ConnectorEnd so that the connected property + * may be identified by a multi-level path of accessible properties from the block that owns the connector. The propertyPath + * inherited from ElementPropertyPath gives a series of properties that identifies the connected property in the context of the + * block that owns the connector. + * + * The ordering of properties is from a property of the block that owns the connector, through + * a property of each intermediate block that types the preceding property, ending in a property with a type that owns or + * inherits the property that is the role of the connector end (the property that the connector graphically attaches to at that + * end). The property that is the role of the connector end is not included in the propertyPath list. + */ +public class UpdateNestedPathConnectorEnd extends EditElementCommand { + + /** + * The current ConnectorEnd is the source of the Connector + */ + private Boolean isSource; + + @Deprecated // deprecated in 1.1.0 + public UpdateNestedPathConnectorEnd(String label, EObject elementToEdit, IEditCommandRequest request) { + super(label, elementToEdit, request); + } + + public UpdateNestedPathConnectorEnd(String label, EObject elementToEdit, IEditCommandRequest request, boolean isSource) { + super(label, elementToEdit, request); + this.isSource = isSource; + } + + /** + * Check that the command access the connector and that the we have a view for NestedConnectorEnd target. + */ + @Override + public boolean canExecute() { + return getElementToEdit() instanceof View && super.canExecute(); + } + + /** + * Get the class owning the connector that owns the connector end + * + * @param connectorEnd + * @return + */ + private org.eclipse.uml2.uml.Class getConnectorClass(ConnectorEnd connectorEnd) { + Element connectorEndOwner = connectorEnd.getOwner(); + if (connectorEndOwner instanceof Connector) { + Connector connector = (Connector) connectorEndOwner; + Element connectorOwner = connector.getOwner(); + if (connectorOwner instanceof org.eclipse.uml2.uml.Class) { + return (org.eclipse.uml2.uml.Class) connectorOwner; + } + } + return null; + } + + @Override + protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info) throws ExecutionException { + if (!(canExecute() && getConnector() != null)) { + throw new ExecutionException("Can't update NesteConnectorEnd, missing View or connector."); //$NON-NLS-1$ + } + EList<ConnectorEnd> ends = getConnector().getEnds(); + if (ends != null && ends.size() > 1) { + ConnectorEnd connectorEnd = null; + View elementToEdit = (View) getElementToEdit(); + connectorEnd = getCalculatedConnectorEnd(); + if (connectorEnd != null) { + List<Property> nestedPath = ConnectorUtil.getNestedPath(getConnectorClass(connectorEnd), elementToEdit); + NestedConnectorEnd nestedConnectorEnd = UMLUtil.getStereotypeApplication(connectorEnd, NestedConnectorEnd.class); + + if (nestedPath.isEmpty()) { + if (nestedConnectorEnd != null) { + EcoreUtil.delete(nestedConnectorEnd, true);// Remove stereotype if applied + } + } else { + if (nestedConnectorEnd == null) { + nestedConnectorEnd = (NestedConnectorEnd) StereotypeApplicationHelper.getInstance(null).applyStereotype(connectorEnd, BlocksPackage.eINSTANCE.getNestedConnectorEnd()); + } + // set new path if different from existing + if (!nestedConnectorEnd.getPropertyPath().equals(nestedPath)) { + nestedConnectorEnd.getPropertyPath().clear(); + nestedConnectorEnd.getPropertyPath().addAll(nestedPath); + } + } + } + } + return CommandResult.newOKCommandResult(getElementToEdit()); + } + + + private Connector getConnector() { + if (getRequest() instanceof CreateRelationshipRequest) { + return (Connector) ((CreateRelationshipRequest) getRequest()).getNewElement(); + } else if (getRequest() instanceof ReorientRelationshipRequest) { + return (Connector) ((ReorientRelationshipRequest) getRequest()).getRelationship(); + } else if (getRequest() instanceof ConfigureRequest) { + return (Connector) ((ConfigureRequest) getRequest()).getElementToConfigure(); + } + return null; + } + + /** + * Get the calculated connector end + * + * @return the calculated connector end or null is isSource is null + */ + private ConnectorEnd getCalculatedConnectorEnd() { + Connector connector = getConnector(); + EList<ConnectorEnd> ends = getConnector().getEnds(); + if (ends != null && ends.size() > 1) { + if (isSource != null) { + if (isSource) { + return new ConnectorUtils().getSourceConnectorEnd(connector); + } else { + return new ConnectorUtils().getTargetConnectorEnd(connector); + } + } else { + View elementToEdit = (View) getElementToEdit(); + ConnectorEnd connectorEndSource = ends.get(0); + if (elementToEdit.getElement().equals(connectorEndSource.getRole())) { + return connectorEndSource; + } else { + return ends.get(1); + } + } + } + return null; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/command/wrapper/EMFToCreateElementEditCommandWrapper.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/command/wrapper/EMFToCreateElementEditCommandWrapper.java new file mode 100644 index 0000000..1c69df4 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/command/wrapper/EMFToCreateElementEditCommandWrapper.java
@@ -0,0 +1,52 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.service.types.command.wrapper; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest; + +/** + * This class is a specialization to wrap creation command of editCommand (element or relationship). + * + */ +public class EMFToCreateElementEditCommandWrapper extends EMFToIEditCommandWrapper { + + + /** + * Constructor. + * + * @param label + * @param elementToEdit + * the element to edit maybe different to the created element! it could be the container ... + * @param request + * the {@link org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest} + * @param emfCommand + * the EMF command that is wrapped see {@link IEMFElementToEditCommand} + */ + public EMFToCreateElementEditCommandWrapper(EObject elementToEdit, CreateElementRequest request, IEMFElementToEditCommand emfCommand) { + super(elementToEdit, request, emfCommand); + } + + /** + * @see org.eclipse.papyrus.sysml.service.types.command.wrapper.EMFToIEditCommandWrapper#getEMFElementToEdit() + * + * @return + */ + @Override + protected EObject getEMFElementToEdit() { + return ((CreateElementRequest) getRequest()).getNewElement(); + + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/command/wrapper/EMFToIEditCommandWrapper.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/command/wrapper/EMFToIEditCommandWrapper.java new file mode 100644 index 0000000..0f7e8f1 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/command/wrapper/EMFToIEditCommandWrapper.java
@@ -0,0 +1,71 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.service.types.command.wrapper; + +import org.eclipse.core.commands.ExecutionException; +import org.eclipse.core.runtime.IAdaptable; +import org.eclipse.core.runtime.IProgressMonitor; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.common.core.command.CommandResult; +import org.eclipse.gmf.runtime.emf.type.core.commands.EditElementCommand; +import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest; + +/** + * This class is used to delegate the execution to a emf command as recording command... + * + */ +public abstract class EMFToIEditCommandWrapper extends EditElementCommand { + + /** the wrapped EMF command **/ + protected IEMFElementToEditCommand emfCommand; + + /** + * Constructor. + * + * @param label + * @param elementToEdit + * the element to edit maybe different to the created element! it could be the container ... + * @param request + * the {@link IEditCommandRequest} + * @param emfCommand + * the EMF command that is wrapped see {@link IEMFElementToEditCommand} + */ + protected EMFToIEditCommandWrapper(EObject elementToEdit, IEditCommandRequest request, IEMFElementToEditCommand emfCommand) { + super(emfCommand.getLabel(), elementToEdit, request); + this.emfCommand = emfCommand; + } + + + /** + * @see org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable) + * + * @param arg0 + * @param arg1 + * @return + * @throws ExecutionException + */ + @Override + protected CommandResult doExecuteWithResult(IProgressMonitor arg0, IAdaptable arg1) throws ExecutionException { + emfCommand.setElementToEdit(getEMFElementToEdit()); + if (emfCommand.canExecute()) { + emfCommand.execute(); + } + return CommandResult.newOKCommandResult(getEMFElementToEdit()); + } + + /** + * get the real element that will be created or modified not the container + */ + protected abstract EObject getEMFElementToEdit(); +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/command/wrapper/EMFToReorientRelationshipEditCommandWrapper.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/command/wrapper/EMFToReorientRelationshipEditCommandWrapper.java new file mode 100644 index 0000000..2ccdef7 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/command/wrapper/EMFToReorientRelationshipEditCommandWrapper.java
@@ -0,0 +1,52 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.service.types.command.wrapper; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; + +/** + * This class is a specialization to wrap re-orient command of editCommand. + * + */ +public class EMFToReorientRelationshipEditCommandWrapper extends EMFToIEditCommandWrapper { + + + /** + * Constructor. + * + * @param label + * @param elementToEdit + * the element to edit maybe different to the created element! it could be the container ... + * @param request + * the {@link org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest} + * @param emfCommand + * the EMF command that is wrapped see {@link IEMFElementToEditCommand} + */ + public EMFToReorientRelationshipEditCommandWrapper(EObject elementToEdit, ReorientRelationshipRequest request, IEMFElementToEditCommand emfCommand) { + super(elementToEdit, request, emfCommand); + } + + /** + * @see org.eclipse.papyrus.sysml.service.types.command.wrapper.EMFToIEditCommandWrapper#getEMFElementToEdit() + * + * @return + */ + @Override + protected EObject getEMFElementToEdit() { + return ((ReorientRelationshipRequest) getRequest()).getRelationship(); + + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/command/wrapper/IEMFElementToEditCommand.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/command/wrapper/IEMFElementToEditCommand.java new file mode 100644 index 0000000..5b54737 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/command/wrapper/IEMFElementToEditCommand.java
@@ -0,0 +1,33 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.service.types.command.wrapper; + +import org.eclipse.emf.common.command.Command; +import org.eclipse.emf.ecore.EObject; + +/** + * This class is used in the context of @see {@link IEMFElementToEditCommand} + * This command will modified an element that must be given in parameter of the operation <B>setElementToEdit</B> + */ +public interface IEMFElementToEditCommand extends Command { + + /** + * set the element that will be modified in this EMF command, typically request.getNewElement() from {@link org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest} + * + * @param eObject + * EOject that will be modified in this EMF command. + */ + void setElementToEdit(EObject eObject); + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/ActorPartPropertyMatcher.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/ActorPartPropertyMatcher.java new file mode 100644 index 0000000..0e7ba49 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/ActorPartPropertyMatcher.java
@@ -0,0 +1,44 @@ +/***************************************************************************** + * Copyright (c) 2012 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: + * + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.matcher; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher; +import org.eclipse.uml2.uml.Actor; +import org.eclipse.uml2.uml.AggregationKind; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.Property; + +/** + * Test if current {@link Property} is a {@link Actor} Part + */ +public class ActorPartPropertyMatcher implements IElementMatcher { + + /** + * {@inheritDoc} + */ + @Override + public boolean matches(EObject eObject) { + boolean isMatch = false; + if ((eObject instanceof Property) && !(eObject instanceof Port)) { + Property element = (Property) eObject; + // The property is necessary a composition and has a type + if ((element.getType() != null) && (element.getAggregation() == AggregationKind.COMPOSITE_LITERAL)) { + // Moreover its type has to be a Actor + isMatch = element.getType() instanceof Actor; + } + } + return isMatch; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/ConstraintPropertyMatcher.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/ConstraintPropertyMatcher.java new file mode 100644 index 0000000..36ceb04 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/ConstraintPropertyMatcher.java
@@ -0,0 +1,46 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Francois Le Fevre francois.le-fevre@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.matcher; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher; +import org.eclipse.papyrus.sysml.constraintblocks.ConstraintBlock; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * Test if type {@link Type} is a {@link ConstraintBlock} + */ +public class ConstraintPropertyMatcher implements IElementMatcher { + + /** + * @see org.eclipse.gmf.runtime.emf.type.core.IElementMatcher#matches(org.eclipse.emf.ecore.EObject) + * + * @param eObject + * @return + */ + @Override + public boolean matches(EObject eObject) { + if (eObject instanceof Property) { + Property property = (Property) eObject; + Type type= property.getType(); + if(type instanceof Class && UMLUtil.getStereotypeApplication(type, ConstraintBlock.class)!=null){ + return true; + } + } + + return false; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/FlowPortInMatcher.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/FlowPortInMatcher.java new file mode 100644 index 0000000..2ed2d17 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/FlowPortInMatcher.java
@@ -0,0 +1,47 @@ +/***************************************************************************** + * Copyright (c) 2010 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 + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.matcher; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher; +import org.eclipse.papyrus.sysml.deprecatedelements.FlowPort; +import org.eclipse.papyrus.sysml.portsandflows.FlowDirection; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * Test if current {@link Port} is a {@link FlowPort} with IN direction + */ +public class FlowPortInMatcher implements IElementMatcher { + + /** + * Test if the parameter match a FlowPortIn, so if it : + * - is a Uml Port + * - has the Flow Port stereotype applied + * - the direction of the applied FlowPort is IN + * + * @see org.eclipse.gmf.runtime.emf.type.core.IElementMatcher#matches(org.eclipse.emf.ecore.EObject) + * + * @param eObject + * @return + */ + @Override + public boolean matches(EObject eObject) { + boolean isFlowPortIn = false; + if (eObject instanceof Port) { + Port port = (Port) eObject; + FlowPort flowPort = UMLUtil.getStereotypeApplication(port, FlowPort.class); + if ((flowPort != null) && (flowPort.getDirection() == FlowDirection.IN)) { + isFlowPortIn = true; + } + } + return isFlowPortIn; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/FlowPortInOutMatcher.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/FlowPortInOutMatcher.java new file mode 100644 index 0000000..a53f1d2 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/FlowPortInOutMatcher.java
@@ -0,0 +1,47 @@ +/***************************************************************************** + * Copyright (c) 2010 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 + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.matcher; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher; +import org.eclipse.papyrus.sysml.deprecatedelements.FlowPort; +import org.eclipse.papyrus.sysml.portsandflows.FlowDirection; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * Test if current {@link Port} is a {@link FlowPort} with INOUT direction + */ +public class FlowPortInOutMatcher implements IElementMatcher { + + /** + * Test if the parameter match a FlowPortINOut, so if it : + * - is a Uml Port + * - has the Flow Port stereotype applied + * - the direction of the applied FlowPort is INOUT + * + * @see org.eclipse.gmf.runtime.emf.type.core.IElementMatcher#matches(org.eclipse.emf.ecore.EObject) + * + * @param eObject + * @return + */ + @Override + public boolean matches(EObject eObject) { + boolean isFlowPortInOut = false; + if (eObject instanceof Port) { + Port port = (Port) eObject; + FlowPort flowPort = UMLUtil.getStereotypeApplication(port, FlowPort.class); + if ((flowPort != null) && (flowPort.getDirection() == FlowDirection.INOUT)) { + isFlowPortInOut = true; + } + } + return isFlowPortInOut; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/FlowPortNAMatcher.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/FlowPortNAMatcher.java new file mode 100644 index 0000000..597a950 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/FlowPortNAMatcher.java
@@ -0,0 +1,41 @@ +/***************************************************************************** + * Copyright (c) 2010 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 + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.matcher; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher; +import org.eclipse.papyrus.sysml.deprecatedelements.FlowPort; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * Test if current {@link Port} is a non atomic {@link FlowPort}. + */ +public class FlowPortNAMatcher implements IElementMatcher { + + /** + * @see org.eclipse.gmf.runtime.emf.type.core.IElementMatcher#matches(org.eclipse.emf.ecore.EObject) + * + * @param eObject + * @return + */ + @Override + public boolean matches(EObject eObject) { + boolean isFlowPortNa = false; + if (eObject instanceof Port) { + Port port = (Port) eObject; + FlowPort flowPort = UMLUtil.getStereotypeApplication(port, FlowPort.class); + if ((flowPort != null) && (!flowPort.isAtomic())) { + isFlowPortNa = true; + } + } + return isFlowPortNa; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/FlowPortOutMatcher.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/FlowPortOutMatcher.java new file mode 100644 index 0000000..2ba2ee5 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/FlowPortOutMatcher.java
@@ -0,0 +1,47 @@ +/***************************************************************************** + * Copyright (c) 2010 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 + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.matcher; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher; +import org.eclipse.papyrus.sysml.deprecatedelements.FlowPort; +import org.eclipse.papyrus.sysml.portsandflows.FlowDirection; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * Test if current {@link Port} is a {@link FlowPort} with OUT direction + */ +public class FlowPortOutMatcher implements IElementMatcher { + + /** + * Test if the parameter match a FlowPortOut, so if it : + * - is a Uml Port + * - has the Flow Port stereotype applied + * - the direction of the applied FlowPort is OUT + * + * @see org.eclipse.gmf.runtime.emf.type.core.IElementMatcher#matches(org.eclipse.emf.ecore.EObject) + * + * @param eObject + * @return + */ + @Override + public boolean matches(EObject eObject) { + boolean isFlowPortOut = false; + if (eObject instanceof Port) { + Port port = (Port) eObject; + FlowPort flowPort = UMLUtil.getStereotypeApplication(port, FlowPort.class); + if ((flowPort != null) && (flowPort.getDirection() == FlowDirection.OUT)) { + isFlowPortOut = true; + } + } + return isFlowPortOut; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/PartPropertyMatcher.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/PartPropertyMatcher.java new file mode 100644 index 0000000..288ef7d --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/PartPropertyMatcher.java
@@ -0,0 +1,45 @@ +/***************************************************************************** + * Copyright (c) 2010 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 + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.matcher; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher; +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.uml2.uml.AggregationKind; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * Test if current {@link Property} is a {@link Block} Part + */ +public class PartPropertyMatcher implements IElementMatcher { + + /** + * {@inheritDoc} + */ + @Override + public boolean matches(EObject eObject) { + boolean isMatch = false; + if ((eObject instanceof Property) && !(eObject instanceof Port)) { + Property element = (Property) eObject; + // The property is necessary a composition and has a type + Type type = element.getType(); + if (type != null && (element.getAggregation() == AggregationKind.COMPOSITE_LITERAL)) { + // Moreover its type has to be a Block (type is tested as class before for performance) + isMatch = type instanceof Class && UMLUtil.getStereotypeApplication(type, Block.class) != null; + } + } + return isMatch; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/ReferencePropertyMatcher.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/ReferencePropertyMatcher.java new file mode 100644 index 0000000..3ae21f0 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/ReferencePropertyMatcher.java
@@ -0,0 +1,45 @@ +/***************************************************************************** + * Copyright (c) 2010 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 + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.matcher; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher; +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.uml2.uml.AggregationKind; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * Test if current {@link Property} is a {@link Block} Reference + */ +public class ReferencePropertyMatcher implements IElementMatcher { + + /** + * {@inheritDoc} + */ + @Override + public boolean matches(EObject eObject) { + boolean isMatch = false; + if ((eObject instanceof Property) && !(eObject instanceof Port)) { + Property element = (Property) eObject; + // The property is not a composition and has a type + Type type = element.getType(); + if (type != null && (element.getAggregation() != AggregationKind.COMPOSITE_LITERAL)) { + // Moreover its type has to be a Block (type is tested as class before for performance) + isMatch = type instanceof Class && (UMLUtil.getStereotypeApplication(type, Block.class) != null); + } + } + return isMatch; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/ValuePropertyMatcher.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/ValuePropertyMatcher.java new file mode 100644 index 0000000..f8406aa --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/ValuePropertyMatcher.java
@@ -0,0 +1,51 @@ +/***************************************************************************** + * Copyright (c) 2010 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 + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.matcher; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher; +import org.eclipse.papyrus.sysml.blocks.ValueType; +import org.eclipse.uml2.uml.AggregationKind; +import org.eclipse.uml2.uml.DataType; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * Test if current {@link Property} is a value. + */ +public class ValuePropertyMatcher implements IElementMatcher { + + /** + * {@inheritDoc} + */ + @Override + public boolean matches(EObject eObject) { + boolean isMatch = false; + if ((eObject instanceof Property) && !(eObject instanceof Port)) { + Property element = (Property) eObject; + // The property is necessary a composition and has a type + Type type = element.getType(); + if (type != null && (element.getAggregation() == AggregationKind.COMPOSITE_LITERAL)) { + + // Moreover its type has either to be a DataType or a ValueType + // (for performance avoid when possible to look for stereotype) + if (type instanceof DataType || UMLUtil.getStereotypeApplication(type, ValueType.class) != null) { + isMatch = true; + } + + + } + } + return isMatch; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/internal/SysML15ProfileMatcher.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/internal/SysML15ProfileMatcher.java new file mode 100644 index 0000000..1fac8ed --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/matcher/internal/SysML15ProfileMatcher.java
@@ -0,0 +1,58 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.matcher.internal; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Profile; + +/** + */ +public class SysML15ProfileMatcher implements IElementMatcher { + + /** + * {@inheritDoc} + */ + @Override + public boolean matches(EObject eObject) { + if (!(eObject instanceof Element)) { + return false; + } + Element element = (Element) eObject; + Model model = element.getModel(); + if (model == null) { + return false; + } + + EList<Profile> allAppliedProfiles = model.getAllAppliedProfiles(); + if (allAppliedProfiles!=null){ + List<String> appliedProfileByUri = new ArrayList<>(); + for (Profile appliedProfile : allAppliedProfiles) { + appliedProfileByUri.add(appliedProfile.getURI()); + } + + if (!appliedProfileByUri.contains(SysMLResource.PROFILE_URI)) { + return false; + } + } + return true; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/util/ConnectorUtil.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/util/ConnectorUtil.java new file mode 100644 index 0000000..40c23cf --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/util/ConnectorUtil.java
@@ -0,0 +1,281 @@ +/***************************************************************************** + * Copyright (c) 2012, 2017 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: + * + * CEA LIST - Initial API and implementation + * Pauline DEVILLE (CEA LIST) - Bug 528159 nestedConnectorEnd in wrong order + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.util; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd; +import org.eclipse.uml2.uml.ConnectableElement; +import org.eclipse.uml2.uml.Connector; +import org.eclipse.uml2.uml.ConnectorEnd; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.StructuredClassifier; +import org.eclipse.uml2.uml.Type; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * Utility class for Connector + */ +public class ConnectorUtil { + + public static final UMLConnectorUtils umlUtility = new UMLConnectorUtils(); // TODO all methods should be static in an utility class + + /** + * the key used to store the nested path as parameter of the request. The value will be a List of {@link Property} + */ + public static final String NESTED_CONNECTOR_END_PATH = "connectorEndPath"; //$NON-NLS-1$ + + /** the separator used in the role path to distinguish the part. */ + public static final String PART_SEPARATOR = "."; //$NON-NLS-1$ + + /** allow to know if a string contains others characters than a-z A-Z 0-9 and _. */ + public static final String HAS_NO_WORD_CHAR_REGEX = "\\W+"; //$NON-NLS-1$ + + /** String used to delimit a name with contains special chars. */ + public static final String STRING_DELIMITER = "\'"; //$NON-NLS-1$ + + /** + * Utility class avoid instantiation. + * + */ + private ConnectorUtil() { + } + + /** + * Gets the encapsulated container. + * + * @param view + * the view + * @return the nearest encapsulated structure container or null + */ + public static View getEncapsulatedContainer(View view) { + View encapsulatedContainer = null; + + for (View containerView : umlUtility.getStructureContainers(view)) { + + if (view == containerView) { + continue; + } + + if ((view.getElement() instanceof Port) && (containerView.getChildren().contains(view))) { + continue; + } + + StructuredClassifier structuredClassifier = umlUtility.getStructuredClassifier(containerView); + Block block = UMLUtil.getStereotypeApplication(structuredClassifier, Block.class); + if (block!= null && block.isEncapsulated()) { + encapsulatedContainer = containerView; + break; + } + } + + return encapsulatedContainer; + } + + /** + * Test if an encapsulation crossing is required to connect the checked end to the opposite end. + * + * @param checkedEnd + * the checked end view. + * @param oppositeEnd + * the opposite end view. + * @return true if the gesture break encapsulation rule. + */ + public static boolean isCrossingEncapsulation(View checkedEnd, View oppositeEnd) { + boolean isCrossingEncapsulation = false; + + View encapsulatedContainer = getEncapsulatedContainer(checkedEnd); + if (encapsulatedContainer != null) { + View containerView = umlUtility.deduceViewContainer(checkedEnd, oppositeEnd); + List<View> containers = umlUtility.getStructureContainers(checkedEnd); + + if (containers.indexOf(encapsulatedContainer) < containers.indexOf(containerView)) { + isCrossingEncapsulation = true; + } + } + + return isCrossingEncapsulation; + } + + + /** + * Gets the role path. + * + * @param end + * the connector end + * @return the role path + * the path for the role of the connector end (without using label provider) + */ + public static final String getRolePath(final ConnectorEnd end) { + final NestedConnectorEnd nestedConnectorEnd = UMLUtil.getStereotypeApplication(end, NestedConnectorEnd.class); + final ConnectableElement role = end.getRole(); + final StringBuilder rolePath = new StringBuilder(); + if (role != null) { + if (nestedConnectorEnd != null) { + final List<Property> properties = nestedConnectorEnd.getPropertyPath(); + for (final Property current : properties) { + rolePath.append(UMLConnectorUtils.getNameWithQuotes(current)); + rolePath.append(UMLConnectorUtils.PART_SEPARATOR); + } + } else { + // when the stereotype is applied, the Property for partWithPort is included in the stereotype#path + final Property partWithPort = end.getPartWithPort(); + if (partWithPort != null) { + rolePath.append(UMLConnectorUtils.getNameWithQuotes(partWithPort)); + rolePath.append(UMLConnectorUtils.PART_SEPARATOR); + } + } + rolePath.append(UMLConnectorUtils.getNameWithQuotes(role)); + } + + return rolePath.toString(); + } + + + + /** + * Checks if is crossing encapsulation. + * + * @param nestedPath + * the nested path + * @return true, if is crossing encapsulation <code>true</code> if we are breaking encapsulation (see SysML rules in SysML Standard 1.2, p.44): + * isEncapsulated: Boolean [0..1] If true, then the block is treated as a black box; a part typed by this black box can only be connected + * via its ports or directly to its outer boundary. If false, or if a value is not present, then connections can be established to + * elements of its internal structure via deep-nested connector ends. + */ + public static final boolean isCrossingEncapuslation(final List<Property> nestedPath) { + for (final ConnectableElement current : nestedPath) { + final Type type = current.getType(); + if (type != null) { + final Block block = UMLUtil.getStereotypeApplication(type, Block.class); + if (block != null && block.isEncapsulated()) { + return true; + } + } + } + return false; + } + + /** + * Can display existing connector between views according to nested paths. + * + * @param connector + * a connector existing in the model + * @param sourceView + * a potential source for this connector + * @param targetView + * a potential target for this connector + * @return true, if successful <code>true</code> if displaying the existing connector between this source and this target view is correct + */ + public static boolean canDisplayExistingConnectorBetweenViewsAccordingToNestedPaths(final Connector connector, final View sourceView, final View targetView) { + final List<Property> sourcePath = umlUtility.getNestedPropertyPath(sourceView, targetView); + final List<Property> targetPath = umlUtility.getNestedPropertyPath(targetView, sourceView); + boolean hasWantedPath = true; + for (final ConnectorEnd end : connector.getEnds()) { + if (sourceView != null && end.getRole() == sourceView.getElement()) { + hasWantedPath = hasWantedPath && haveSamePath(sourcePath, end); + } else if (targetView != null && end.getRole() == targetView.getElement()) { + hasWantedPath = hasWantedPath && haveSamePath(targetPath, end); + } + } + return hasWantedPath; + } + + + + /** + * Have same path. + * + * @param wantedPath + * the wanted nested path for the end + * @param end + * an end + * @return true, if successful + * true if the end has as nested path THE wanted path + */ + protected static boolean haveSamePath(final List<Property> wantedPath, final ConnectorEnd end) { + NestedConnectorEnd nestedConnectorEnd = UMLUtil.getStereotypeApplication(end, NestedConnectorEnd.class); + if (nestedConnectorEnd != null) { + return nestedConnectorEnd.getPropertyPath().equals(wantedPath); + } else { + return wantedPath.isEmpty(); + } + } + + + + + /** + * Filter connectors that have this property in their <NestedConnectorEnd> property path. + * + * @param connectors + * @param part + * @return connectors that have this property in their <NestedConnectorEnd> property path. + */ + public static List<Connector> filterConnectorByPropertyInNestedConnectorEnd(List<Connector> connectors, Property part) { + List<Connector> res = new ArrayList<>(); + for (Connector connector : connectors) { + EList<ConnectorEnd> ends = connector.getEnds(); + for (ConnectorEnd connectorEnd : ends) { + NestedConnectorEnd stereotypeApplication = UMLUtil.getStereotypeApplication(connectorEnd, NestedConnectorEnd.class); + if (stereotypeApplication != null) { + EList<Property> propertyPath = stereotypeApplication.getPropertyPath(); + for (Property property : propertyPath) { + if (property.equals(part)) { + res.add(connector); + } + } + } + } + } + return res; + } + + /** + * Inverse of property path from the view to the class + * + * [SysML - 8.3.2.9]: "The ordering of properties is from a property of the context block, through a + * property of each intermediate block that types the preceding property, ending in a property with a type + * that owns or inherits the fully nested property." + * + * @param clazz + * @param view + * @return + */ + public static List<Property> getNestedPath(org.eclipse.uml2.uml.Class clazz, View view) { + List<Property> propertyPath = new ArrayList<>(); + View currentView = ViewUtil.getContainerView(view); + // get the path from view to clazz + while (!clazz.equals(currentView.getElement())) { + EObject property = currentView.getElement(); + if (property instanceof Property) { + propertyPath.add((Property) property); + } + currentView = ViewUtil.getContainerView(currentView); + } + Collections.reverse(propertyPath); + return propertyPath; + } + + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/util/PropertyPathUtil.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/util/PropertyPathUtil.java new file mode 100644 index 0000000..371aabd --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/util/PropertyPathUtil.java
@@ -0,0 +1,95 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Patrick Tessier (CEA LIST) - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.service.types.util; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; + +import org.eclipse.gmf.runtime.notation.Shape; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.Property; + +/** + * This class is used to calculus property path and block context in the context of SysML + * To do that the view inside the diagram is needed. + */ +public final class PropertyPathUtil { + + /** + * Constructor. + * + */ + private PropertyPathUtil() { + } + + /** + * + * @param view + * the current view + * @return the composite context from a view (it look for the first representation of a classifier) + */ + public static Classifier getCompositeContext(View view) { + View currentView = view; + while (currentView != null) { + if (currentView instanceof Shape && currentView.getElement() instanceof Classifier) { + return (Classifier) currentView.getElement(); + } + currentView = (View) currentView.eContainer(); + } + return null; + } + + /** + * + * @param view + * the view that references an element in the diagram + * @return a list of properties defined by hierarchy of view, maybe an empty list + */ + public static List<Property> getPropertyListFromView(View view) { + List<Property> propertiesList = new ArrayList<>(); + View currentView = view; + while (currentView != null) { + if (currentView instanceof Shape && currentView.getElement() instanceof Property) { + propertiesList.add((Property) currentView.getElement()); + } + currentView = (View) currentView.eContainer(); + } + return propertiesList; + } + + /** + * A series of properties that identifies the source of the directed relationship in the context of the block specified by the + * sourceContext property. The ordering of properties is from a property of the sourceContext block, through a property + * of each intermediate block that types the preceding property, ending in a property with a type that owns or inherits the + * source of the directed relationship. The source is not included in the propertyPath list. The same property might + * appear more than once because a block can own a property with the same or specialized block as a type. + * + * @param SourceView + * the view that represent the property + * + * @return the property path as defined in SysML, maybe an emptylist + */ + public static List<Property> getPropertyPath(View sourceView) { + List<Property> propertyList = getPropertyListFromView(sourceView); + // remove the first property + if (!propertyList.isEmpty()) { + propertyList.remove(0); + Collections.reverse(propertyList); + } + return propertyList; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/util/SysMLServiceTypeUtil.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/util/SysMLServiceTypeUtil.java new file mode 100644 index 0000000..67024a7 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/util/SysMLServiceTypeUtil.java
@@ -0,0 +1,197 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.service.types.util; + +import org.eclipse.gmf.runtime.emf.type.core.ClientContextManager; +import org.eclipse.gmf.runtime.emf.type.core.IClientContext; +import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils; +import org.eclipse.papyrus.infra.services.edit.service.IElementEditServiceProvider; + +/** + * List all SysML 1.5 element type ids + */ +public final class SysMLServiceTypeUtil { + + /** + * Say if an element is know in the SysML 1.5 context + * @param elementTypeId + * @return + */ + public static boolean isKnown(String elementTypeId) { + IClientContext context = ClientContextManager.getInstance().getClientContext(SYSML_CONTEXT_ID); + IElementEditServiceProvider editServiceProvider = ElementEditServiceUtils.getEditServiceProvider(context); + return editServiceProvider.isKnownElementType(elementTypeId); + } + + public static final String SYSML_CONTEXT_ID = "org.eclipse.papyrus.infra.services.edit.TypeContext"; //$NON-NLS-1$ + //"org.eclipse.papyrus.sysml.architecture.SysML"; //$NON-NLS-1$ + + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_VALUETYPE = "org.eclipse.papyrus.SysML.ValueType"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_DISTRIBUTEDPROPERTY = "org.eclipse.papyrus.SysML.DistributedProperty"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_CONNECTORPROPERTY = "org.eclipse.papyrus.SysML.ConnectorProperty"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_PARTICIPANTPROPERTY = "org.eclipse.papyrus.SysML.ParticipantProperty"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_BINDINGCONNECTOR = "org.eclipse.papyrus.SysML.BindingConnector"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_BLOCK = "org.eclipse.papyrus.SysML.Block"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_PROPERTYSPECIFICTYPE = "org.eclipse.papyrus.SysML.PropertySpecificType"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_NESTEDCONNECTOREND_CONNECTOREND = "org.eclipse.papyrus.SysML.NestedConnectorEnd_ConnectorEnd"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_NESTEDCONNECTOREND_ELEMENT = "org.eclipse.papyrus.SysML.NestedConnectorEnd_Element"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_DIRECTEDRELATIONSHIPPROPERTYPATH = "org.eclipse.papyrus.SysML.DirectedRelationshipPropertyPath"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_ELEMENTPROPERTYPATH = "org.eclipse.papyrus.SysML.ElementPropertyPath"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_ENDPATHMULTIPLICITY = "org.eclipse.papyrus.SysML.EndPathMultiplicity"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_BOUNDREFERENCE = "org.eclipse.papyrus.SysML.BoundReference"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_ADJUNCTPROPERTY = "org.eclipse.papyrus.SysML.AdjunctProperty"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_CLASSIFIERBEHAVIORPROPERTY = "org.eclipse.papyrus.SysML.ClassifierBehaviorProperty"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_ITEMFLOW = "org.eclipse.papyrus.SysML.ItemFlow"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_FLOWPROPERTY = "org.eclipse.papyrus.SysML.FlowProperty"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_FULLPORT = "org.eclipse.papyrus.SysML.FullPort"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_INTERFACEBLOCK = "org.eclipse.papyrus.SysML.InterfaceBlock"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_PROXYPORT = "org.eclipse.papyrus.SysML.ProxyPort"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_ACCEPTCHANGESTRUCTURALFEATUREEVENTACTION = "org.eclipse.papyrus.SysML.AcceptChangeStructuralFeatureEventAction"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_CHANGESTRUCTURALFEATUREEVENT = "org.eclipse.papyrus.SysML.ChangeStructuralFeatureEvent"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_DIRECTEDFEATURE = "org.eclipse.papyrus.SysML.DirectedFeature"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_INVOCATIONONNESTEDPORTACTION_INVOCATIONACTION = "org.eclipse.papyrus.SysML.InvocationOnNestedPortAction_InvocationAction"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_INVOCATIONONNESTEDPORTACTION_ELEMENT = "org.eclipse.papyrus.SysML.InvocationOnNestedPortAction_Element"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_TRIGGERONNESTEDPORT_TRIGGER = "org.eclipse.papyrus.SysML.TriggerOnNestedPort_Trigger"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_TRIGGERONNESTEDPORT_ELEMENT = "org.eclipse.papyrus.SysML.TriggerOnNestedPort_Element"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_OVERWRITE = "org.eclipse.papyrus.SysML.Overwrite"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_CONTROLOPERATOR_BEHAVIOR = "org.eclipse.papyrus.SysML.ControlOperator_Behavior"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_CONTROLOPERATOR_OPERATION = "org.eclipse.papyrus.SysML.ControlOperator_Operation"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_RATE_ACTIVITYEDGE = "org.eclipse.papyrus.SysML.Rate_ActivityEdge"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_RATE_PARAMETER = "org.eclipse.papyrus.SysML.Rate_Parameter"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_NOBUFFER = "org.eclipse.papyrus.SysML.NoBuffer"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_DISCRETE_ACTIVITYEDGE = "org.eclipse.papyrus.SysML.Discrete_ActivityEdge"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_DISCRETE_PARAMETER = "org.eclipse.papyrus.SysML.Discrete_Parameter"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_CONTINUOUS_ACTIVITYEDGE = "org.eclipse.papyrus.SysML.Continuous_ActivityEdge"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_CONTINUOUS_PARAMETER = "org.eclipse.papyrus.SysML.Continuous_Parameter"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_PROBABILITY_ACTIVITYEDGE = "org.eclipse.papyrus.SysML.Probability_ActivityEdge"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_PROBABILITY_PARAMETERSET = "org.eclipse.papyrus.SysML.Probability_ParameterSet"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_OPTIONAL = "org.eclipse.papyrus.SysML.Optional"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_RATIONALE = "org.eclipse.papyrus.SysML.Rationale"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_VIEW = "org.eclipse.papyrus.SysML.View"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_CONFORM = "org.eclipse.papyrus.SysML.Conform"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_PROBLEM = "org.eclipse.papyrus.SysML.Problem"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_VIEWPOINT = "org.eclipse.papyrus.SysML.Viewpoint"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_STAKEHOLDER = "org.eclipse.papyrus.SysML.Stakeholder"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_EXPOSE = "org.eclipse.papyrus.SysML.Expose"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_ELEMENTGROUP = "org.eclipse.papyrus.SysML.ElementGroup"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_CONSTRAINTBLOCK = "org.eclipse.papyrus.SysML.ConstraintBlock"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_ALLOCATEACTIVITYPARTITION = "org.eclipse.papyrus.SysML.AllocateActivityPartition"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_ALLOCATE_ABSTRACTION = "org.eclipse.papyrus.SysML.Allocate_Abstraction"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_ALLOCATE_DIRECTEDRELATIONSHIP = "org.eclipse.papyrus.SysML.Allocate_DirectedRelationship"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_DERIVEREQT_ABSTRACTION = "org.eclipse.papyrus.SysML.DeriveReqt_Abstraction"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_DERIVEREQT_DIRECTEDRELATIONSHIP = "org.eclipse.papyrus.SysML.DeriveReqt_DirectedRelationship"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_COPY_ABSTRACTION = "org.eclipse.papyrus.SysML.Copy_Abstraction"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_COPY_DIRECTEDRELATIONSHIP = "org.eclipse.papyrus.SysML.Copy_DirectedRelationship"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_SATISFY_ABSTRACTION = "org.eclipse.papyrus.SysML.Satisfy_Abstraction"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_SATISFY_DIRECTEDRELATIONSHIP = "org.eclipse.papyrus.SysML.Satisfy_DirectedRelationship"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_TESTCASE_OPERATION = "org.eclipse.papyrus.SysML.TestCase_Operation"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_TESTCASE_BEHAVIOR = "org.eclipse.papyrus.SysML.TestCase_Behavior"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_REQUIREMENT = "org.eclipse.papyrus.SysML.Requirement"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_VERIFY_ABSTRACTION = "org.eclipse.papyrus.SysML.Verify_Abstraction"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_VERIFY_DIRECTEDRELATIONSHIP = "org.eclipse.papyrus.SysML.Verify_DirectedRelationship"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_TRACE_ABSTRACTION = "org.eclipse.papyrus.SysML.Trace_Abstraction"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_TRACE_DIRECTEDRELATIONSHIP = "org.eclipse.papyrus.SysML.Trace_DirectedRelationship"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_REFINE_ABSTRACTION = "org.eclipse.papyrus.SysML.Refine_Abstraction"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_REFINE_DIRECTEDRELATIONSHIP = "org.eclipse.papyrus.SysML.Refine_DirectedRelationship"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_FLOWPORT = "org.eclipse.papyrus.SysML.FlowPort"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_FLOWSPECIFICATION = "org.eclipse.papyrus.SysML.FlowSpecification"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_UNIT = "org.eclipse.papyrus.SysML.Unit"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_QUANTITYKIND = "org.eclipse.papyrus.SysML.QuantityKind"; //$NON-NLS-1$ + + // List here the elementype present in the extension element type set + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_CONSTRAINTPROPERTY = "org.eclipse.papyrus.SysML.ConstraintProperty"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_REFERENCE = "org.eclipse.papyrus.SysML.Reference"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_PART = "org.eclipse.papyrus.SysML.Part"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_VALUE = "org.eclipse.papyrus.SysML.Value"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_ACTORPART = "org.eclipse.papyrus.SysML.ActorPart"; //$NON-NLS-1$ + + private SysMLServiceTypeUtil() { + } +}
diff --git a/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/util/UMLConnectorUtils.java b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/util/UMLConnectorUtils.java new file mode 100644 index 0000000..873b315 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.service.types/src/org/eclipse/papyrus/sysml/service/types/util/UMLConnectorUtils.java
@@ -0,0 +1,266 @@ +/***************************************************************************** + * Copyright (c) 2012 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: + * + * CEA LIST - Initial API and implementation + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - 508337 + *****************************************************************************/ +package org.eclipse.papyrus.sysml.service.types.util; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +import java.util.regex.Matcher; +import java.util.regex.Pattern; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.uml2.uml.ConnectableElement; +import org.eclipse.uml2.uml.Connector; +import org.eclipse.uml2.uml.ConnectorEnd; +import org.eclipse.uml2.uml.NamedElement; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; +import org.eclipse.uml2.uml.TypedElement; + +/** + * Utility class for Connector edit helpers. + */ +// TODO : this class should be move to uml core +public class UMLConnectorUtils extends org.eclipse.papyrus.uml.service.types.utils.ConnectorUtils { + + /** + * the key used to store the nested path as parameter of the request. The value will be a List of {@link Property} + */ + public static final String NESTED_CONNECTOR_END_PATH = "connectorEndPath"; //$NON-NLS-1$ + + /** the separator used in the role path to distinguish the part. */ + public static final String PART_SEPARATOR = "."; //$NON-NLS-1$ + + /** allow to know if a string contains others characters than a-z A-Z 0-9 and _. */ + public static final String HAS_NO_WORD_CHAR_REGEX = "\\W+"; //$NON-NLS-1$ + + /** String used to delimit a name with contains special chars. */ + public static final String STRING_DELIMITER = "\'"; //$NON-NLS-1$ + + /** + * Get the path of structure views crossed by the checked end. + * + * @param checkedEnd + * the checked end view. + * @param oppositeEnd + * the opposite end view. + * @return the list of crossed structure views. + */ + public List<View> getNestedPath(View checkedEnd, View oppositeEnd) { + List<View> isNestedConnectableElement = new ArrayList<>(); + + View nearestContainer = new UMLConnectorUtils().getNearestStructureContainer(checkedEnd); + if (nearestContainer != null) { + View containerView = new UMLConnectorUtils().deduceViewContainer(checkedEnd, oppositeEnd); + List<View> containers = new UMLConnectorUtils().getStructureContainers(checkedEnd); + + if (containers.indexOf(nearestContainer) < containers.indexOf(containerView)) { + isNestedConnectableElement = containers.subList(containers.indexOf(nearestContainer), containers.indexOf(containerView)); + } + } + + // nested path is taken from the top block to the deepest property ==> collection must be reverted + Collections.reverse(isNestedConnectableElement); + + return isNestedConnectableElement; + } + + /** + * Get the path of structure views crossed by the checked end. + * + * @param checkedEnd + * the checked end view. + * @param oppositeEnd + * the opposite end view. + * @return the list of crossed structure views. + */ + public List<Property> getNestedPropertyPath(View checkedEnd, View oppositeEnd) { + List<Property> nestedPropertyPath = new ArrayList<>(); + List<View> nestedPath = getNestedPath(checkedEnd, oppositeEnd); + + for (View view : nestedPath) { + if ((view.getElement() != null) && (view.getElement() instanceof Property)) { + nestedPropertyPath.add((Property) view.getElement()); + } + } + + // if end is a port, and the list is not empty, add the property from the check view in the list + if (!nestedPropertyPath.isEmpty() && checkedEnd.getElement() instanceof Port) { + Property partWithPort = getPartWithPort(checkedEnd, oppositeEnd); + if (partWithPort != null) { + nestedPropertyPath.add(partWithPort); + } + } + + return nestedPropertyPath; + } + + /** + * Test if the checked end is nested (means it cross StructuredClassifier borders). + * + * @param checkedEnd + * the checked end view. + * @param oppositeEnd + * the opposite end view. + * @return true if the checked end is nested. + */ + public boolean isNestedConnectableElement(View checkedEnd, View oppositeEnd) { + return !(getNestedPath(checkedEnd, oppositeEnd).isEmpty()); + } + + /** + * Gets the nearest structure container. + * + * @param view + * the view + * @return the nearest structure container or null + */ + public View getNearestStructureContainer(View view) { + View nearestStructureContainer = null; + for (View containerView : getStructureContainers(view)) { + if (view == containerView) { + continue; + } + nearestStructureContainer = containerView; + break; + } + return nearestStructureContainer; + } + + /** + * Gets the name with quotes. + * + * @param property + * a property + * @return the name with quotes + * the property name with name delimiter if it is required + */ + public static final String getNameWithQuotes(final NamedElement property) { + final String partName = property.getName(); + final StringBuilder partNameBuffer = new StringBuilder(); + final Pattern pattern = Pattern.compile(UMLConnectorUtils.HAS_NO_WORD_CHAR_REGEX); + final Matcher matcher = pattern.matcher(partName); + boolean mustHaveQuote = false; + while (matcher.find() && !mustHaveQuote) { + mustHaveQuote = true; + } + if (mustHaveQuote) { + partNameBuffer.append(UMLConnectorUtils.STRING_DELIMITER); + partNameBuffer.append(partName); + partNameBuffer.append(UMLConnectorUtils.STRING_DELIMITER); + } else { + partNameBuffer.append(partName); + } + + return partNameBuffer.toString(); + } + + /** + * Can display existing connector between views according to partWithPort. + * + * @param connector + * the connector + * @param sourceView + * the source view + * @param targetView + * the target view + * @return true, if successful + */ + public boolean canDisplayExistingConnectorBetweenViewsAccordingToPartWithPort(final Connector connector, final View sourceView, final View targetView) { + Property partWithPort = getPartWithPortFromConnector(connector); + if (partWithPort != null) { + String partWithPortName = partWithPort.getName(); + Type partWithPortType = partWithPort.getType(); + EObject sourceContainer = ((View) sourceView.eContainer()).getElement(); + EObject targetContainer = ((View) targetView.eContainer()).getElement(); + + boolean sameSourceType = false; + if (sourceContainer instanceof TypedElement) { + sameSourceType = partWithPortType.conformsTo(((TypedElement) sourceContainer).getType()); + } + boolean sameSourceName = partWithPortName.equals(((NamedElement) sourceContainer).getName()); + + boolean sameTargetType = false; + if (targetContainer instanceof TypedElement) { + sameTargetType = partWithPortType.conformsTo(((TypedElement) targetContainer).getType()); + } + boolean sametargetName = partWithPortName.equals(((NamedElement) targetContainer).getName()); + + return (sameSourceType && sameSourceName) || (sameTargetType && sametargetName); + } + return true; + } + + /** + * Gets the partWithPort from the connector. + * + * @param connector + * the connector + * @return the part with port from connector + */ + public Property getPartWithPortFromConnector(final Connector connector) { + if (connector != null && connector.getEnds() != null) { + for (final ConnectorEnd end : connector.getEnds()) { + Property partWithPort = end.getPartWithPort(); + if (partWithPort != null) { + return partWithPort; + } + } + } + return null; + } + + /** + * Test if the relationship creation is allowed. + * + * @deprecated in 0.10.1 (will be removed in 0.11.0) + * + * @param source + * the relationship source can be null + * @param target + * the relationship target can be null + * @param sourceView + * the relationship graphical source can be null + * @param targetView + * the relationship graphical target can be null + * @return true if the creation is allowed + */ + @Deprecated // test creation should be done in approve request + public static boolean canCreate(EObject source, EObject target, View sourceView, View targetView) { + + if ((source != null) && !(source instanceof ConnectableElement)) { + return false; + } + + if ((target != null) && !(target instanceof ConnectableElement)) { + return false; + } + + if ((sourceView != null) && (targetView != null)) { + // Cannot create a connector from a view representing a Part to its own Port (or the opposite) + if ((sourceView.getChildren().contains(targetView)) || (targetView.getChildren().contains(sourceView))) { + return false; + } + + // Cannot connect a Part to one of its (possibly indirect) containment, must connect to one of its Port. + if (new UMLConnectorUtils().getStructureContainers(sourceView).contains(targetView) || new UMLConnectorUtils().getStructureContainers(targetView).contains(sourceView)) { + return false; + } + } + return true; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml14.tests/.classpath b/core/org.eclipse.papyrus.sysml.tests/.classpath similarity index 100% rename from core/org.eclipse.papyrus.sysml14.tests/.classpath rename to core/org.eclipse.papyrus.sysml.tests/.classpath
diff --git a/core/org.eclipse.papyrus.sysml.tests/.project b/core/org.eclipse.papyrus.sysml.tests/.project new file mode 100644 index 0000000..07454db --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.tests/.project
@@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.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> + <buildCommand> + <name>edu.umd.cs.findbugs.plugin.eclipse.findbugsBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + <nature>edu.umd.cs.findbugs.plugin.eclipse.findbugsNature</nature> + </natures> +</projectDescription>
diff --git a/core/org.eclipse.papyrus.sysml14.tests/.settings/edu.umd.cs.findbugs.core.prefs b/core/org.eclipse.papyrus.sysml.tests/.settings/edu.umd.cs.findbugs.core.prefs similarity index 100% rename from core/org.eclipse.papyrus.sysml14.tests/.settings/edu.umd.cs.findbugs.core.prefs rename to core/org.eclipse.papyrus.sysml.tests/.settings/edu.umd.cs.findbugs.core.prefs
diff --git a/core/org.eclipse.papyrus.sysml14.tests/.settings/org.eclipse.core.resources.prefs b/core/org.eclipse.papyrus.sysml.tests/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from core/org.eclipse.papyrus.sysml14.tests/.settings/org.eclipse.core.resources.prefs rename to core/org.eclipse.papyrus.sysml.tests/.settings/org.eclipse.core.resources.prefs
diff --git a/core/org.eclipse.papyrus.sysml14.tests/.settings/org.eclipse.jdt.core.prefs b/core/org.eclipse.papyrus.sysml.tests/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from core/org.eclipse.papyrus.sysml14.tests/.settings/org.eclipse.jdt.core.prefs rename to core/org.eclipse.papyrus.sysml.tests/.settings/org.eclipse.jdt.core.prefs
diff --git a/core/org.eclipse.papyrus.sysml14.tests/.settings/org.eclipse.m2e.core.prefs b/core/org.eclipse.papyrus.sysml.tests/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from core/org.eclipse.papyrus.sysml14.tests/.settings/org.eclipse.m2e.core.prefs rename to core/org.eclipse.papyrus.sysml.tests/.settings/org.eclipse.m2e.core.prefs
diff --git a/core/org.eclipse.papyrus.sysml.tests/META-INF/MANIFEST.MF b/core/org.eclipse.papyrus.sysml.tests/META-INF/MANIFEST.MF new file mode 100644 index 0000000..a042d03 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.tests/META-INF/MANIFEST.MF
@@ -0,0 +1,23 @@ +Bundle-ActivationPolicy: lazy +Manifest-Version: 1.0 +Fragment-Host: org.eclipse.papyrus.sysml;bundle-version="4.0.0" +Export-Package: org.eclipse.papyrus.sysml.tests, + org.eclipse.papyrus.sysml.tests.blocks, + org.eclipse.papyrus.sysml.tests.constraintblocks, + org.eclipse.papyrus.sysml.tests.deprecatedelements, + org.eclipse.papyrus.sysml.tests.library, + org.eclipse.papyrus.sysml.tests.modelelements, + org.eclipse.papyrus.sysml.tests.portsandflows, + org.eclipse.papyrus.sysml.tests.requirements, + org.eclipse.papyrus.sysml.tests.resources, + org.eclipse.papyrus.sysml.tests.util +Bundle-Vendor: %Bundle-Vendor +Bundle-Version: 4.0.0.qualifier +Bundle-Name: %Bundle-Name +Bundle-Description: %Bundle-Description +Bundle-Localization: plugin +Bundle-ManifestVersion: 2 +Bundle-SymbolicName: org.eclipse.papyrus.sysml.tests +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Require-Bundle: org.junit;bundle-version="[4.11.0,5.0.0)" +
diff --git a/core/org.eclipse.papyrus.sysml.tests/SysML.profile.uml b/core/org.eclipse.papyrus.sysml.tests/SysML.profile.uml new file mode 100644 index 0000000..2d78974 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.tests/SysML.profile.uml
@@ -0,0 +1,1697 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Ecore="http://www.eclipse.org/uml2/schemas/Ecore/5" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/uml2/schemas/Ecore/5 pathmap://UML_PROFILES/Ecore.profile.uml#_z1OFcHjqEdy8S4Cr8Rc_NA"> + <uml:Profile xmi:id="SysML" name="SysML" URI="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <packageImport href="#SysML._packageImport.UML"/> + <packageImport xmi:id="SysML._packageImport.StandardProfile"> + <importedPackage xmi:type="uml:Profile" href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/> + </packageImport> + <packageImport xmi:id="_BYNFYPFWEeefg-uwXxvTkQ"> + <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/> + </packageImport> + <packageImport xmi:id="_BYNscPFWEeefg-uwXxvTkQ"> + <importedPackage xmi:type="uml:Model" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_0"/> + </packageImport> + <packagedElement xmi:type="uml:Package" xmi:id="SysML.PortsAndFlows" name="PortsAndFlows"> + <packageImport xmi:id="SysML.PortsAndFlows._packageImport.SysML.Blocks" importedPackage="SysML.Blocks"/> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.ItemFlow" name="ItemFlow"> + <ownedComment xmi:id="SysML.ItemFlow._comment0"> + <body> An ItemFlow describes the flow of items across a connector or an association. It may constrain the item exchange between blocks, block usages, or flow ports as specified by their flow properties. For example, a pump connected to a tank: the pump has an “out” flow property of type Liquid and the tank has an “in” FlowProperty of type Liquid. To signify that only water flows between the pump and the tank, we can specify an ItemFlow of type Water on the connector. </body> + </ownedComment> + <ownedAttribute xmi:id="SysML.ItemFlow.base_InformationFlow" name="base_InformationFlow" association="SysML.E_extension_ItemFlow_base_InformationFlow"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#InformationFlow"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ItemFlow.base_InformationFlow.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.ItemFlow.itemProperty" name="itemProperty"> + <ownedComment xmi:id="SysML.ItemFlow.itemProperty._comment0"> + <body>An optional property that relates the flowing item to the instances of the connector’s enclosing block. This property is applicable only for item flows assigned to connectors. The multiplicity is zero if the item flow is assigned to an Association.</body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ItemFlow.itemProperty.lowerValue0"/> + </ownedAttribute> + <icon xmi:id="__KELwPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ItemFlow.gif"> + <eAnnotations xmi:id="__KUDYPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KUqcPXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KUqcfXoEeeFOavjQCI5eQ" key="image_name_key" value="ItemFlow"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.ProxyPort" name="ProxyPort"> + <ownedAttribute xmi:id="SysML.ProxyPort.base_Port" name="base_Port" association="SysML.E_extension_ProxyPort_base_Port"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ProxyPort.base_Port.lowerValue0"/> + </ownedAttribute> + <icon xmi:id="__KUqcvXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ProxyPort.gif"> + <eAnnotations xmi:id="__KUqc_XoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KUqdPXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KUqdfXoEeeFOavjQCI5eQ" key="image_name_key" value="ProxyPort"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="SysML.A_triggerOnNestedPort_onNestedPort" name="A_triggerOnNestedPort_onNestedPort" memberEnd="SysML.A_triggerOnNestedPort_onNestedPort.triggerOnNestedPort SysML.TriggerOnNestedPort.onNestedPort"> + <generalization xmi:id="SysML.A_triggerOnNestedPort_onNestedPort._generalization.SysML.A_elementPropertyPath_propertyPath" general="SysML.A_elementPropertyPath_propertyPath"/> + <ownedEnd xmi:id="SysML.A_triggerOnNestedPort_onNestedPort.triggerOnNestedPort" name="triggerOnNestedPort" type="SysML.TriggerOnNestedPort" redefinedProperty="SysML.A_elementPropertyPath_propertyPath.elementPropertyPath" association="SysML.A_triggerOnNestedPort_onNestedPort"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.A_triggerOnNestedPort_onNestedPort.triggerOnNestedPort.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.A_triggerOnNestedPort_onNestedPort.triggerOnNestedPort.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_ProxyPort_base_Port" name="E_extension_ProxyPort_base_Port" memberEnd="SysML.ProxyPort.base_Port SysML.E_extension_ProxyPort_base_Port.extension_ProxPort" navigableOwnedEnd="SysML.E_extension_ProxyPort_base_Port.extension_ProxPort"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_ProxyPort_base_Port.extension_ProxPort" name="extension_ProxPort" type="SysML.ProxyPort" association="SysML.E_extension_ProxyPort_base_Port"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_ProxyPort_base_Port.extension_ProxPort.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_FlowProperty_base_Property" name="E_extension_FlowProperty_base_Property" memberEnd="SysML.E_extension_FlowProperty_base_Property.extension_FlowProperty SysML.FlowProperty.base_Property" navigableOwnedEnd="SysML.E_extension_FlowProperty_base_Property.extension_FlowProperty"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_FlowProperty_base_Property.extension_FlowProperty" name="extension_FlowProperty" type="SysML.FlowProperty" association="SysML.E_extension_FlowProperty_base_Property"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_FlowProperty_base_Property.extension_FlowProperty.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.FullPort" name="FullPort"> + <ownedAttribute xmi:id="SysML.FullPort.base_Port" name="base_Port" association="SysML.E_extension_FullPort_base_Port"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.FullPort.base_Port.lowerValue0"/> + </ownedAttribute> + <icon xmi:id="__KVRgPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FullPort.gif"> + <eAnnotations xmi:id="__KVRgfXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KVRgvXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KVRg_XoEeeFOavjQCI5eQ" key="image_name_key" value="FullPort"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_InvocationOnNestedPortAction_base_InvocationAction" name="E_extension_InvocationOnNestedPortAction_base_InvocationAction" memberEnd="SysML.InvocationOnNestedPortAction.base_InvocationAction SysML.E_extension_InvocationOnNestedPortAction_base_InvocationAction.extension_InvocationOnNestedPortAction" navigableOwnedEnd="SysML.E_extension_InvocationOnNestedPortAction_base_InvocationAction.extension_InvocationOnNestedPortAction"> + <generalization xmi:id="SysML.E_extension_InvocationOnNestedPortAction_base_InvocationAction._generalization.SysML.E_extension_ElementPropertyPath_base_Element" general="SysML.E_extension_ElementPropertyPath_base_Element"/> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_InvocationOnNestedPortAction_base_InvocationAction.extension_InvocationOnNestedPortAction" name="extension_InvocationOnNestedPortAction" type="SysML.InvocationOnNestedPortAction" redefinedProperty="SysML.E_extension_ElementPropertyPath_base_Element.extension_ElementPropertyPath" association="SysML.E_extension_InvocationOnNestedPortAction_base_InvocationAction"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_InvocationOnNestedPortAction_base_InvocationAction.extension_InvocationOnNestedPortAction.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.InvocationOnNestedPortAction" name="InvocationOnNestedPortAction"> + <generalization xmi:id="SysML.InvocationOnNestedPortAction._generalization.SysML.ElementPropertyPath" general="SysML.ElementPropertyPath"/> + <ownedAttribute xmi:id="SysML.InvocationOnNestedPortAction.base_InvocationAction" name="base_InvocationAction" redefinedProperty="SysML.ElementPropertyPath.base_Element" association="SysML.E_extension_InvocationOnNestedPortAction_base_InvocationAction"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#InvocationAction"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.InvocationOnNestedPortAction.base_InvocationAction.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.InvocationOnNestedPortAction.onNestedPort" name="onNestedPort" isOrdered="true" isUnique="false" redefinedProperty="SysML.ElementPropertyPath.propertyPath" association="SysML.A_invocationOnNestedPortAction_onNestedPort"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.InvocationOnNestedPortAction.onNestedPort.upperValue0" value="*"/> + </ownedAttribute> + <icon xmi:id="__KVRhPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/InvocationOnNestedPortAction.gif"> + <eAnnotations xmi:id="__KVRhfXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KVRhvXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KVRh_XoEeeFOavjQCI5eQ" key="image_name_key" value="InvocationOnNestedPortAction"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.InterfaceBlock" name="InterfaceBlock"> + <generalization xmi:id="SysML.InterfaceBlock._generalization.SysML.Block" general="SysML.Block"/> + <icon xmi:id="__KVRiPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/InterfaceBlock.gif"> + <eAnnotations xmi:id="__KVRifXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KV4kPXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KV4kfXoEeeFOavjQCI5eQ" key="image_name_key" value="InterfaceBlock"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_ItemFlow_base_InformationFlow" name="E_extension_ItemFlow_base_InformationFlow" memberEnd="SysML.E_extension_ItemFlow_base_InformationFlow.extension_ItemFlow SysML.ItemFlow.base_InformationFlow" navigableOwnedEnd="SysML.E_extension_ItemFlow_base_InformationFlow.extension_ItemFlow"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_ItemFlow_base_InformationFlow.extension_ItemFlow" name="extension_ItemFlow" type="SysML.ItemFlow" association="SysML.E_extension_ItemFlow_base_InformationFlow"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_ItemFlow_base_InformationFlow.extension_ItemFlow.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_TriggerOnNestedPort_base_Trigger" name="E_extension_TriggerOnNestedPort_base_Trigger" memberEnd="SysML.TriggerOnNestedPort.base_Trigger SysML.E_extension_TriggerOnNestedPort_base_Trigger.extension_TriggerOnNestedPort" navigableOwnedEnd="SysML.E_extension_TriggerOnNestedPort_base_Trigger.extension_TriggerOnNestedPort"> + <generalization xmi:id="SysML.E_extension_TriggerOnNestedPort_base_Trigger._generalization.SysML.E_extension_ElementPropertyPath_base_Element" general="SysML.E_extension_ElementPropertyPath_base_Element"/> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_TriggerOnNestedPort_base_Trigger.extension_TriggerOnNestedPort" name="extension_TriggerOnNestedPort" type="SysML.TriggerOnNestedPort" redefinedProperty="SysML.E_extension_ElementPropertyPath_base_Element.extension_ElementPropertyPath" association="SysML.E_extension_TriggerOnNestedPort_base_Trigger"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_TriggerOnNestedPort_base_Trigger.extension_TriggerOnNestedPort.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="SysML.A_invocationOnNestedPortAction_onNestedPort" name="A_invocationOnNestedPortAction_onNestedPort" memberEnd="SysML.A_invocationOnNestedPortAction_onNestedPort.invocationOnNestedPortAction SysML.InvocationOnNestedPortAction.onNestedPort"> + <generalization xmi:id="SysML.A_invocationOnNestedPortAction_onNestedPort._generalization.SysML.A_elementPropertyPath_propertyPath" general="SysML.A_elementPropertyPath_propertyPath"/> + <ownedEnd xmi:id="SysML.A_invocationOnNestedPortAction_onNestedPort.invocationOnNestedPortAction" name="invocationOnNestedPortAction" type="SysML.InvocationOnNestedPortAction" redefinedProperty="SysML.A_elementPropertyPath_propertyPath.elementPropertyPath" association="SysML.A_invocationOnNestedPortAction_onNestedPort"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.A_invocationOnNestedPortAction_onNestedPort.invocationOnNestedPortAction.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.A_invocationOnNestedPortAction_onNestedPort.invocationOnNestedPortAction.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.FlowProperty" name="FlowProperty"> + <ownedComment xmi:id="SysML.FlowProperty._comment0"> + <body> A FlowProperty signifies a single flow element that can flow to/from a block. A flow property’s values are either received from or transmitted to an external block. Flow properties are defined directly on blocks or flow specifications that are those specifications which type the flow ports. Flow properties enable item flows across connectors connecting parts of the corresponding block types, either directly (in case of the property is defined on the block) or via flowPorts. For Block, Data Type, and Value Type properties, setting an “out” FlowProperty value of a block usage on one end of a connector will result in assigning the same value of an “in” FlowProperty of a block usage at the other end of the connector, provided the flow properties are matched. Flow properties of type Signal imply sending and/or receiving of a signal usage. An “out” FlowProperty of type Signal means that the owning Block may broadcast the signal via connectors and an “in” FlowProperty means that the owning block is able to receive the Signal. </body> + </ownedComment> + <ownedAttribute xmi:id="SysML.FlowProperty.base_Property" name="base_Property" association="SysML.E_extension_FlowProperty_base_Property"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.FlowProperty.base_Property.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.FlowProperty.direction" name="direction" type="SysML_dataType.FlowDirection"> + <ownedComment xmi:id="SysML.FlowProperty.direction._comment0"> + <body>Specifies if the property value is received from an external block (direction=“in”), transmitted to an external Block (direction=“out”) or both (direction=“inout”).</body> + </ownedComment> + <defaultValue xmi:type="uml:InstanceValue" xmi:id="SysML.FlowProperty.direction.defaultValue0" instance="SysML.inout"/> + </ownedAttribute> + <ownedOperation xmi:id="_g1YOMPFnEeefg-uwXxvTkQ" name="getIcon"> + <ownedParameter xmi:id="_g1YOMfFnEeefg-uwXxvTkQ" name="img" direction="return"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Image"/> + </ownedParameter> + </ownedOperation> + <icon xmi:id="_g1YOMvFnEeefg-uwXxvTkQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowProperty_IN.gif"> + <eAnnotations xmi:id="_g1YOM_FnEeefg-uwXxvTkQ" source="image_papyrus"> + <details xmi:id="_g1YONPFnEeefg-uwXxvTkQ" key="image_kind_key" value="icon"/> + <details xmi:id="_g1YONfFnEeefg-uwXxvTkQ" key="image_name_key" value="FlowProperty_IN"/> + </eAnnotations> + </icon> + <icon xmi:id="_g1YONvFnEeefg-uwXxvTkQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowProperty_OUT.gif"> + <eAnnotations xmi:id="_g1YON_FnEeefg-uwXxvTkQ" source="image_papyrus"> + <details xmi:id="_g1YOOPFnEeefg-uwXxvTkQ" key="image_kind_key" value="icon"/> + <details xmi:id="_g1YOOfFnEeefg-uwXxvTkQ" key="image_name_key" value="FlowProperty_OUT"/> + </eAnnotations> + </icon> + <icon xmi:id="_g1YOOvFnEeefg-uwXxvTkQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowProperty_INOUT.gif"> + <eAnnotations xmi:id="_g1YOO_FnEeefg-uwXxvTkQ" source="image_papyrus"> + <details xmi:id="_g1YOPPFnEeefg-uwXxvTkQ" key="image_kind_key" value="icon"/> + <details xmi:id="_g1YOPfFnEeefg-uwXxvTkQ" key="image_name_key" value="FlowProperty_INOUT"/> + </eAnnotations> + </icon> + <icon xmi:id="_g1YOPvFnEeefg-uwXxvTkQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowProperty.gif"> + <eAnnotations xmi:id="_g1YOP_FnEeefg-uwXxvTkQ" source="image_papyrus"> + <details xmi:id="_g1YOQPFnEeefg-uwXxvTkQ" key="image_kind_key" value="icon"/> + <details xmi:id="_g1YOQfFnEeefg-uwXxvTkQ" key="image_name_key" value="FlowProperty"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_ChangeStructuralFeatureEvent_base_ChangeEvent" name="E_extension_ChangeStructuralFeatureEvent_base_ChangeEvent" memberEnd="SysML.ChangeStructuralFeatureEvent.base_ChangeEvent SysML.E_extension_ChangeStructuralFeatureEvent_base_ChangeEvent.extension_ChangeStructuralFeatureEvent" navigableOwnedEnd="SysML.E_extension_ChangeStructuralFeatureEvent_base_ChangeEvent.extension_ChangeStructuralFeatureEvent"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_ChangeStructuralFeatureEvent_base_ChangeEvent.extension_ChangeStructuralFeatureEvent" name="extension_ChangeStructuralFeatureEvent" type="SysML.ChangeStructuralFeatureEvent" association="SysML.E_extension_ChangeStructuralFeatureEvent_base_ChangeEvent"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_ChangeStructuralFeatureEvent_base_ChangeEvent.extension_ChangeStructuralFeatureEvent.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_DirectedFeature_base_Feature" name="E_extension_DirectedFeature_base_Feature" memberEnd="SysML.DirectedFeature.base_Feature SysML.E_extension_DirectedFeature_base_Feature.extension_DirectedFeature" navigableOwnedEnd="SysML.E_extension_DirectedFeature_base_Feature.extension_DirectedFeature"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_DirectedFeature_base_Feature.extension_DirectedFeature" name="extension_DirectedFeature" type="SysML.DirectedFeature" association="SysML.E_extension_DirectedFeature_base_Feature"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_DirectedFeature_base_Feature.extension_DirectedFeature.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.ChangeStructuralFeatureEvent" name="ChangeStructuralFeatureEvent"> + <ownedAttribute xmi:id="SysML.ChangeStructuralFeatureEvent.base_ChangeEvent" name="base_ChangeEvent" association="SysML.E_extension_ChangeStructuralFeatureEvent_base_ChangeEvent"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ChangeEvent"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ChangeStructuralFeatureEvent.base_ChangeEvent.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.ChangeStructuralFeatureEvent.structuralFeature" name="structuralFeature" association="SysML.A_changeStructuralFeatureEvent_structuralFeature"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#StructuralFeature"/> + </ownedAttribute> + <icon xmi:id="__KV4kvXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ChangeStructuralFeatureEvent.gif"> + <eAnnotations xmi:id="__KV4k_XoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KV4lPXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KV4lfXoEeeFOavjQCI5eQ" key="image_name_key" value="ChangeStructuralFeatureEvent"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="SysML.A_changeStructuralFeatureEvent_structuralFeature" name="A_changeStructuralFeatureEvent_structuralFeature" memberEnd="SysML.A_changeStructuralFeatureEvent_structuralFeature.changeStructuralFeatureEvent SysML.ChangeStructuralFeatureEvent.structuralFeature"> + <ownedEnd xmi:id="SysML.A_changeStructuralFeatureEvent_structuralFeature.changeStructuralFeatureEvent" name="changeStructuralFeatureEvent" type="SysML.ChangeStructuralFeatureEvent" association="SysML.A_changeStructuralFeatureEvent_structuralFeature"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.A_changeStructuralFeatureEvent_structuralFeature.changeStructuralFeatureEvent.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.A_changeStructuralFeatureEvent_structuralFeature.changeStructuralFeatureEvent.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.TriggerOnNestedPort" name="TriggerOnNestedPort"> + <generalization xmi:id="SysML.TriggerOnNestedPort._generalization.SysML.ElementPropertyPath" general="SysML.ElementPropertyPath"/> + <ownedAttribute xmi:id="SysML.TriggerOnNestedPort.base_Trigger" name="base_Trigger" redefinedProperty="SysML.ElementPropertyPath.base_Element" association="SysML.E_extension_TriggerOnNestedPort_base_Trigger"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Trigger"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.TriggerOnNestedPort.onNestedPort" name="onNestedPort" isOrdered="true" isUnique="false" redefinedProperty="SysML.ElementPropertyPath.propertyPath" association="SysML.A_triggerOnNestedPort_onNestedPort"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.TriggerOnNestedPort.onNestedPort.upperValue0" value="*"/> + </ownedAttribute> + <icon xmi:id="__KWfoPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/TriggerOnNestedPort.gif"> + <eAnnotations xmi:id="__KWfofXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KWfovXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KWfo_XoEeeFOavjQCI5eQ" key="image_name_key" value="TriggerOnNestedPort"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.AcceptChangeStructuralFeatureEventAction" name="AcceptChangeStructuralFeatureEventAction"> + <ownedAttribute xmi:id="SysML.AcceptChangeStructuralFeatureEventAction.base_AcceptEventAction" name="base_AcceptEventAction" association="SysML.E_extension_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#AcceptEventAction"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.AcceptChangeStructuralFeatureEventAction.base_AcceptEventAction.lowerValue0"/> + </ownedAttribute> + <icon xmi:id="__KWfpPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/AcceptChangeStructuralFeatureEventAction.gif"> + <eAnnotations xmi:id="__KWfpfXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KWfpvXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KWfp_XoEeeFOavjQCI5eQ" key="image_name_key" value="AcceptChangeStructuralFeatureEventAction"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction" name="E_extension_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction" memberEnd="SysML.AcceptChangeStructuralFeatureEventAction.base_AcceptEventAction SysML.E_extension_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction.extension_AcceptChangeStructuralFeatureEventAction" navigableOwnedEnd="SysML.E_extension_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction.extension_AcceptChangeStructuralFeatureEventAction"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction.extension_AcceptChangeStructuralFeatureEventAction" name="extension_AcceptChangeStructuralFeatureEventAction" type="SysML.AcceptChangeStructuralFeatureEventAction" association="SysML.E_extension_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction.extension_AcceptChangeStructuralFeatureEventAction.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.DirectedFeature" name="DirectedFeature"> + <ownedAttribute xmi:id="SysML.DirectedFeature.base_Feature" name="base_Feature" association="SysML.E_extension_DirectedFeature_base_Feature"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Feature"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.DirectedFeature.base_Feature.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.DirectedFeature.featureDirection" name="featureDirection" type="SysML_dataType.FeatureDirection"/> + <icon xmi:id="__KWfqPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/DirectedFeature.gif"> + <eAnnotations xmi:id="__KWfqfXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KXGsPXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KXGsfXoEeeFOavjQCI5eQ" key="image_name_key" value="DirectedFeature"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Enumeration" xmi:id="SysML_dataType.FeatureDirection" name="FeatureDirection"> + <ownedLiteral xmi:id="SysML.provided" name="provided"/> + <ownedLiteral xmi:id="SysML.providedRequired" name="providedRequired"/> + <ownedLiteral xmi:id="SysML.required" name="required"/> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_FullPort_base_Port" name="E_extension_FullPort_base_Port" memberEnd="SysML.FullPort.base_Port SysML.E_extension_FullPort_base_Port.extension_FullPort" navigableOwnedEnd="SysML.E_extension_FullPort_base_Port.extension_FullPort"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_FullPort_base_Port.extension_FullPort" name="extension_FullPort" type="SysML.FullPort" association="SysML.E_extension_FullPort_base_Port"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_FullPort_base_Port.extension_FullPort.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Enumeration" xmi:id="SysML_dataType.FlowDirection" name="FlowDirection"> + <ownedComment xmi:id="SysML_dataType.FlowDirection._comment0"> + <body>FlowDirection is an enumeration type that defines literals used for specifying input and output directions. FlowDirection is used by flow properties to indicate if a property is an input or an output with respect to its owner.</body> + </ownedComment> + <ownedLiteral xmi:id="SysML.in" name="in"> + <ownedComment xmi:id="SysML.in._comment0"> + <body>Indicates that the flow property is input to the owning block.</body> + </ownedComment> + </ownedLiteral> + <ownedLiteral xmi:id="SysML.inout" name="inout"> + <ownedComment xmi:id="SysML.inout._comment0"> + <body>Indicates that the flow property is both an input and an output of the owning block.</body> + </ownedComment> + </ownedLiteral> + <ownedLiteral xmi:id="SysML.out" name="out"> + <ownedComment xmi:id="SysML.out._comment0"> + <body>Indicates that the flow property is an output of the owning block.</body> + </ownedComment> + </ownedLiteral> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="SysML.Activities" name="Activities"> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_ControlOperator_base_Operation" name="E_extension_ControlOperator_base_Operation" memberEnd="SysML.E_extension_ControlOperator_base_Operation.extension_ControlOperator SysML.ControlOperator.base_Operation" navigableOwnedEnd="SysML.E_extension_ControlOperator_base_Operation.extension_ControlOperator"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_ControlOperator_base_Operation.extension_ControlOperator" name="extension_ControlOperator" type="SysML.ControlOperator" association="SysML.E_extension_ControlOperator_base_Operation"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_ControlOperator_base_Operation.extension_ControlOperator.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Optional" name="Optional"> + <ownedComment xmi:id="SysML.Optional._comment0"> + <body>When the «optional» stereotype is applied to parameters, the lower multiplicity shall be equal to zero. This means the parameter is not required to have a value for the activity or any behavior to begin or end execution. Otherwise, the lower multiplicity shall be greater than zero, which is called “required.” The absence of this stereotype indicates a constraint, see below.</body> + </ownedComment> + <ownedRule xmi:id="SysML.Optional._rule.Constraint1" name="Constraint1" constrainedElement="SysML.Optional"> + <specification xmi:type="uml:LiteralString" xmi:id="SysML.Optional._rule.Constraint1.constraintSpec1" name="constraintSpec1" value="A parameter with the «optional» stereotypes applied shall have multiplicity.lower equal to zero, otherwise multiplicity.lower shall be greater than zero."/> + </ownedRule> + <ownedAttribute xmi:id="SysML.Optional.base_Parameter" name="base_Parameter" association="SysML.E_extension_Optional_base_Parameter"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Parameter"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Optional.base_Parameter.lowerValue0"/> + </ownedAttribute> + <icon xmi:id="__KXGsvXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Optional.gif"> + <eAnnotations xmi:id="__KXGs_XoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KXGtPXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KXGtfXoEeeFOavjQCI5eQ" key="image_name_key" value="Optional"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Continuous" name="Continuous"> + <ownedComment xmi:id="SysML.Continuous._comment0"> + <body>Continuous rate is a special case of rate of flow (see Rate) where the increment of time between items approaches zero. It is intended to represent continuous flows that may correspond to water flowing through a pipe, a time continuous signal, or continuous energy flow. It is independent from UML streaming, see 11.3.2.8, Rate. A streaming parameter may or may not apply to continuous flow, and a continuous flow may or may not apply to streaming parameters. UML places no restriction on the rate at which tokens flow. In particular, the time between tokens can approach as close to zero as needed, for example to simulate continuous flow. There is also no restriction in UML on the kind of values that flow through an activity. In particular, the value may represent as small a number as needed, for example to simulate continuous material or energy flow. Finally, the exact timing of token flow is not completely prescribed in UML. In particular, token flow on different edges may be coordinated to occur in a clocked fashion, as in time march algorithms for numerical solvers of ordinary differential equations, such as Runge-Kutta.</body> + </ownedComment> + <generalization xmi:id="SysML.Continuous._generalization.SysML.Rate" general="SysML.Rate" isSubstitutable="false"/> + <icon xmi:id="__KXGtvXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Continuous.gif"> + <eAnnotations xmi:id="__KXtwPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KXtwfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KXtwvXoEeeFOavjQCI5eQ" key="image_name_key" value="Continuous"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.ControlOperator" name="ControlOperator"> + <ownedComment xmi:id="SysML.ControlOperator._comment0"> + <body>A control operator is a behavior that is intended to represent an arbitrarily complex logical operator that can be used to enable and disable other actions. When the «controlOperator» stereotype is applied to behaviors, the behavior takes control values as inputs or provides them as outputs, that is, it treats control as data (see 11.3.3.1.1, ControlValue). When the «controlOperator» stereotype is not applied, the behavior may not have a parameter typed by ControlValue. The «controlOperator» stereotype also applies to operations with the same semantics. The control value inputs do not enable or disable the control operator execution based on their value, they only enable based on their presence as data. Pins for control parameters are regular pins, not UML control pins. This is so the control value can be passed into or out of the action and the invoked behavior, rather than control the starting of the action, or indicating the ending of it. </body> + </ownedComment> + <ownedRule xmi:id="SysML.ControlOperator._rule.Constraint1" name="Constraint1" constrainedElement="SysML.ControlOperator"> + <specification xmi:type="uml:LiteralString" xmi:id="SysML.ControlOperator._rule.Constraint1.constraintSpec1" name="constraintSpec1" value="When the «controlOperator» stereotype is applied, the behavior or operation shall have at least one parameter typed by ControlValue. If the stereotype is not applied, the behavior or operation may not have any parameter typed by ControlValue."/> + </ownedRule> + <ownedRule xmi:id="SysML.ControlOperator._rule.Constraint2" name="Constraint2" constrainedElement="SysML.ControlOperator"> + <specification xmi:type="uml:LiteralString" xmi:id="SysML.ControlOperator._rule.Constraint2.constraintSpec2" name="constraintSpec2" value="A behavior shall have the «controlOperator» stereotype applied if it is a method of an operation that has the «controlOperator» stereotype applied."/> + </ownedRule> + <ownedAttribute xmi:id="SysML.ControlOperator.base_Behavior" name="base_Behavior" association="SysML.E_extension_ControlOperator_base_Behavior"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Behavior"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ControlOperator.base_Behavior.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.ControlOperator.base_Operation" name="base_Operation" association="SysML.E_extension_ControlOperator_base_Operation"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Operation"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ControlOperator.base_Operation.lowerValue0"/> + </ownedAttribute> + <icon xmi:id="__KXtw_XoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ControlOperator.gif"> + <eAnnotations xmi:id="__KXtxPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KXtxfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KXtxvXoEeeFOavjQCI5eQ" key="image_name_key" value="ControlOperator"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Discrete" name="Discrete"> + <ownedComment xmi:id="SysML.Discrete._comment0"> + <body>Discrete rate is a special case of rate of flow (see 11.3.2.8, Rate) where the increment of time between items is a non-zero. Examples include the production of assemblies in a factory and signals set at periodic time intervals.</body> + </ownedComment> + <ownedRule xmi:id="SysML.Discrete._rule.Constraint1" name="Constraint1" constrainedElement="SysML.Discrete"> + <specification xmi:type="uml:LiteralString" xmi:id="SysML.Discrete._rule.Constraint1.constraintSpec1" name="constraintSpec1" value="The «discrete» and «continuous» stereotypes shall not be applied to the same element at the same time."/> + </ownedRule> + <generalization xmi:id="SysML.Discrete._generalization.SysML.Rate" general="SysML.Rate" isSubstitutable="false"/> + <icon xmi:id="__KXtx_XoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Discrete.gif"> + <eAnnotations xmi:id="__KXtyPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KXtyfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KXtyvXoEeeFOavjQCI5eQ" key="image_name_key" value="Discrete"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Overwrite" name="Overwrite"> + <ownedComment xmi:id="SysML.Overwrite._comment0"> + <body>When the «overwrite» stereotype is applied to object nodes, a token arriving at a full object node removes one that is already there before being added (a full object node has as many tokens as allowed by its upper bound). This is typically used on an input pin with an upper bound of 1 to ensure that stale data is overridden at an input pin. For upper bounds greater than one, the token removed is the one that has been in the object node the longest. For FIFO ordering, this is the token that is next to be selected, for LIFO it is the token that would be last to be selected. Tokens arriving at a full object node with the Overwrite stereotype applied take up their positions in the ordering as normal, if any. The arriving tokens do not take the positions of the removed tokens. A null token removes all the tokens already there. The number of tokens replaced is equal to the weight of the incoming edge, which defaults to 1. For object nodes that are the target of continuous flows, «overwrite» and «nobuffer» have the same effect. The stereotype does not override UML token offering semantics, just indicates what happens to the token when it is accepted. When the stereotype is not applied, the semantics is as in UML, specifically, tokens arriving at object nodes do not replace ones that are already there.</body> + </ownedComment> + <ownedRule xmi:id="SysML.Overwrite._rule.Constraint1" name="Constraint1" constrainedElement="SysML.Overwrite"> + <specification xmi:type="uml:LiteralString" xmi:id="SysML.Overwrite._rule.Constraint1.constraintSpec1" name="constraintSpec1" value="The «overwrite» and «nobuffer» stereotypes cannot be applied to the same element at the same time."/> + </ownedRule> + <ownedAttribute xmi:id="SysML.Overwrite.base_ObjectNode" name="base_ObjectNode" association="SysML.E_extension_Overwrite_base_ObjectNode"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ObjectNode"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Overwrite.base_ObjectNode.lowerValue0"/> + </ownedAttribute> + <icon xmi:id="__KYU0PXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Overwrite.gif"> + <eAnnotations xmi:id="__KYU0fXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KYU0vXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KYU0_XoEeeFOavjQCI5eQ" key="image_name_key" value="Overwrite"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Rate_base_ObjectNode" name="E_extension_Rate_base_ObjectNode" memberEnd="SysML.E_extension_Rate_base_ObjectNode.extension_Rate SysML.Rate.base_ObjectNode" navigableOwnedEnd="SysML.E_extension_Rate_base_ObjectNode.extension_Rate"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Rate_base_ObjectNode.extension_Rate" name="extension_Rate" type="SysML.Rate" association="SysML.E_extension_Rate_base_ObjectNode"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Rate_base_ObjectNode.extension_Rate.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Probability_base_ParameterSet" name="E_extension_Probability_base_ParameterSet" memberEnd="SysML.E_extension_Probability_base_ParameterSet.extension_Probability SysML.Probability.base_ParameterSet" navigableOwnedEnd="SysML.E_extension_Probability_base_ParameterSet.extension_Probability"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Probability_base_ParameterSet.extension_Probability" name="extension_Probability" type="SysML.Probability" association="SysML.E_extension_Probability_base_ParameterSet"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Probability_base_ParameterSet.extension_Probability.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Overwrite_base_ObjectNode" name="E_extension_Overwrite_base_ObjectNode" memberEnd="SysML.E_extension_Overwrite_base_ObjectNode.extension_Overwrite SysML.Overwrite.base_ObjectNode" navigableOwnedEnd="SysML.E_extension_Overwrite_base_ObjectNode.extension_Overwrite"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Overwrite_base_ObjectNode.extension_Overwrite" name="extension_Overwrite" type="SysML.Overwrite" association="SysML.E_extension_Overwrite_base_ObjectNode"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Overwrite_base_ObjectNode.extension_Overwrite.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Probability_base_ActivityEdge" name="E_extension_Probability_base_ActivityEdge" memberEnd="SysML.E_extension_Probability_base_ActivityEdge.extension_Probability SysML.Probability.base_ActivityEdge" navigableOwnedEnd="SysML.E_extension_Probability_base_ActivityEdge.extension_Probability"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Probability_base_ActivityEdge.extension_Probability" name="extension_Probability" type="SysML.Probability" association="SysML.E_extension_Probability_base_ActivityEdge"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Probability_base_ActivityEdge.extension_Probability.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_ControlOperator_base_Behavior" name="E_extension_ControlOperator_base_Behavior" memberEnd="SysML.E_extension_ControlOperator_base_Behavior.extension_ControlOperator SysML.ControlOperator.base_Behavior" navigableOwnedEnd="SysML.E_extension_ControlOperator_base_Behavior.extension_ControlOperator"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_ControlOperator_base_Behavior.extension_ControlOperator" name="extension_ControlOperator" type="SysML.ControlOperator" association="SysML.E_extension_ControlOperator_base_Behavior"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_ControlOperator_base_Behavior.extension_ControlOperator.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Rate_base_ActivityEdge" name="E_extension_Rate_base_ActivityEdge" memberEnd="SysML.E_extension_Rate_base_ActivityEdge.extension_Rate SysML.Rate.base_ActivityEdge" navigableOwnedEnd="SysML.E_extension_Rate_base_ActivityEdge.extension_Rate"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Rate_base_ActivityEdge.extension_Rate" name="extension_Rate" type="SysML.Rate" association="SysML.E_extension_Rate_base_ActivityEdge"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Rate_base_ActivityEdge.extension_Rate.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Rate_base_Parameter" name="E_extension_Rate_base_Parameter" memberEnd="SysML.E_extension_Rate_base_Parameter.extension_Rate SysML.Rate.base_Parameter" navigableOwnedEnd="SysML.E_extension_Rate_base_Parameter.extension_Rate"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Rate_base_Parameter.extension_Rate" name="extension_Rate" type="SysML.Rate" association="SysML.E_extension_Rate_base_Parameter"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Rate_base_Parameter.extension_Rate.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.NoBuffer" name="NoBuffer"> + <ownedComment xmi:id="SysML.NoBuffer._comment0"> + <body>When the «nobuffer» stereotype is applied to object nodes, tokens arriving at the node are discarded if they are refused by outgoing edges, or refused by actions for object nodes that are input pins. This is typically used with fast or continuously flowing data values, to prevent buffer overrun, or to model transient values, such as electrical signals. For object nodes that are the target of continuous flows, «nobuffer» and «overwrite» have the same effect. The stereotype does not override UML token offering semantics; it just indicates what happens to the token when it is accepted. When the stereotype is not applied, the semantics are as in UML, specifically, tokens arriving at an object node that are refused by outgoing edges, or action for input pins, are held until they can leave the object node.</body> + </ownedComment> + <ownedRule xmi:id="SysML.NoBuffer._rule.Constraint1" name="Constraint1" constrainedElement="SysML.NoBuffer"> + <specification xmi:type="uml:LiteralString" xmi:id="SysML.NoBuffer._rule.Constraint1.constraintSpec1" name="constraintSpec1" value="The «nobuffer» and «overwrite» stereotypes cannot be applied to the same element at the same time."/> + </ownedRule> + <ownedAttribute xmi:id="SysML.NoBuffer.base_ObjectNode" name="base_ObjectNode" association="SysML.E_extension_NoBuffer_base_ObjectNode"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ObjectNode"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.NoBuffer.base_ObjectNode.lowerValue0"/> + </ownedAttribute> + <icon xmi:id="__KYU1PXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/NoBuffer.gif"> + <eAnnotations xmi:id="__KYU1fXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KYU1vXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KYU1_XoEeeFOavjQCI5eQ" key="image_name_key" value="NoBuffer"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Optional_base_Parameter" name="E_extension_Optional_base_Parameter" memberEnd="SysML.E_extension_Optional_base_Parameter.extension_Optional SysML.Optional.base_Parameter" navigableOwnedEnd="SysML.E_extension_Optional_base_Parameter.extension_Optional"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Optional_base_Parameter.extension_Optional" name="extension_Optional" type="SysML.Optional" association="SysML.E_extension_Optional_base_Parameter"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Optional_base_Parameter.extension_Optional.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Probability" name="Probability"> + <ownedComment xmi:id="SysML.Probability._comment0"> + <body>When the «probability» stereotype is applied to edges coming out of decision nodes and object nodes, it provides an expression for the probability that the edge will be traversed. These shall be between zero and one inclusive, and add up to one for edges with same source at the time the probabilities are used. When the «probability» stereotype is applied to output parameter sets, it gives the probability the parameter set will be given values at runtime. These shall be between zero and one inclusive, and add up to one for output parameter sets of the same behavior at the time the probabilities are used.</body> + </ownedComment> + <ownedRule xmi:id="SysML.Probability._rule.Constraint4" name="Constraint4" constrainedElement="SysML.Probability"> + <specification xmi:type="uml:LiteralString" xmi:id="SysML.Probability._rule.Constraint4.constraintSpec4" name="constraintSpec4" value="When the «probability» stereotype is applied to an output parameter set, all the output parameters shall be in some parameter set."/> + </ownedRule> + <ownedRule xmi:id="SysML.Probability._rule.Constraint3" name="Constraint3" constrainedElement="SysML.Probability"> + <specification xmi:type="uml:LiteralString" xmi:id="SysML.Probability._rule.Constraint3.constraintSpec3" name="constraintSpec3" value="When the «probability» stereotype is applied to an output parameter set, it shall be applied to all the parameter sets of the behavior or operation owning the original parameter set."/> + </ownedRule> + <ownedRule xmi:id="SysML.Probability._rule.Constraint1" name="Constraint1" constrainedElement="SysML.Probability"> + <specification xmi:type="uml:LiteralString" xmi:id="SysML.Probability._rule.Constraint1.constraintSpec1" name="constraintSpec1" value="The «probability» stereotype shall only be applied to activity edges that have decision nodes or object nodes as sources, or to output parameter sets."/> + </ownedRule> + <ownedRule xmi:id="SysML.Probability._rule.Constraint2" name="Constraint2" constrainedElement="SysML.Probability"> + <specification xmi:type="uml:LiteralString" xmi:id="SysML.Probability._rule.Constraint2.constraintSpec2" name="constraintSpec2" value="When the «probability» stereotype is applied to an activity edge, then it shall be applied to all edges coming out of the same source."/> + </ownedRule> + <ownedAttribute xmi:id="SysML.Probability.base_ActivityEdge" name="base_ActivityEdge" association="SysML.E_extension_Probability_base_ActivityEdge"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ActivityEdge"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Probability.base_ActivityEdge.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.Probability.base_ParameterSet" name="base_ParameterSet" association="SysML.E_extension_Probability_base_ParameterSet"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ParameterSet"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Probability.base_ParameterSet.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.Probability.probability" name="probability"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ValueSpecification"/> + </ownedAttribute> + <icon xmi:id="__KY74PXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Probability.gif"> + <eAnnotations xmi:id="__KY74fXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KY74vXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KY74_XoEeeFOavjQCI5eQ" key="image_name_key" value="Probability"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_NoBuffer_base_ObjectNode" name="E_extension_NoBuffer_base_ObjectNode" memberEnd="SysML.E_extension_NoBuffer_base_ObjectNode.extension_NoBuffer SysML.NoBuffer.base_ObjectNode" navigableOwnedEnd="SysML.E_extension_NoBuffer_base_ObjectNode.extension_NoBuffer"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_NoBuffer_base_ObjectNode.extension_NoBuffer" name="extension_NoBuffer" type="SysML.NoBuffer" association="SysML.E_extension_NoBuffer_base_ObjectNode"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_NoBuffer_base_ObjectNode.extension_NoBuffer.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Rate" name="Rate"> + <ownedComment xmi:id="SysML.Rate._comment0"> + <body>When the «rate» stereotype is applied to an activity edge, it specifies the expected value of the number of objects and values that traverse the edge per time interval, that is, the expected value rate at which they leave the source node and arrive at the target node. It does not refer to the rate at which a value changes over time. When the stereotype is applied to a parameter, the parameter shall be streaming, and the stereotype gives the number of objects or values that flow in or out of the parameter per time interval while the behavior or operation is executing. Streaming is a characteristic of UML behavior parameters that supports the input and output of items while a behavior is executing, rather than only when the behavior starts and stops. The flow may be continuous or discrete, see the specialized rates in 11.3.2.1, Continuous and 11.3.2.3, Discrete. The «rate» stereotype has a rate property of type InstanceSpecification. The values of this property shall be instances of classifiers stereotyped by «valueType» or «distributionDefinition», see Clause 8, “Blocks.” In particular, the denominator for units used in the rate property shall be time units.</body> + </ownedComment> + <ownedRule xmi:id="SysML.Rate._rule.Constraint2" name="Constraint2" constrainedElement="SysML.Rate"> + <specification xmi:type="uml:LiteralString" xmi:id="SysML.Rate._rule.Constraint2.constraintSpec2" name="constraintSpec2" value="The rate of a parameter shall be less than or equal to rates on edges that come into or go out from pins and parameters nodes corresponding to the parameter."/> + </ownedRule> + <ownedRule xmi:id="SysML.Rate._rule.Constraint1" name="Constraint1" constrainedElement="SysML.Rate"> + <specification xmi:type="uml:LiteralString" xmi:id="SysML.Rate._rule.Constraint1.constraintSpec1" name="constraintSpec1" value="When the «rate» stereotype is applied to a parameter, the parameter shall be streaming."/> + </ownedRule> + <ownedAttribute xmi:id="SysML.Rate.base_ActivityEdge" name="base_ActivityEdge" association="SysML.E_extension_Rate_base_ActivityEdge"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ActivityEdge"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Rate.base_ActivityEdge.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.Rate.base_ObjectNode" name="base_ObjectNode" association="SysML.E_extension_Rate_base_ObjectNode"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ObjectNode"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Rate.base_ObjectNode.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.Rate.base_Parameter" name="base_Parameter" association="SysML.E_extension_Rate_base_Parameter"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Parameter"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Rate.base_Parameter.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.Rate.rate" name="rate"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#InstanceSpecification"/> + </ownedAttribute> + <icon xmi:id="__KY75PXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Rate.gif"> + <eAnnotations xmi:id="__KY75fXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KY75vXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KY75_XoEeeFOavjQCI5eQ" key="image_name_key" value="Rate"/> + </eAnnotations> + </icon> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="SysML.Blocks" name="Blocks"> + <packagedElement xmi:type="uml:Association" xmi:id="SysML.A_elementPropertyPath_propertyPath" name="A_elementPropertyPath_propertyPath" memberEnd="SysML.A_elementPropertyPath_propertyPath.elementPropertyPath SysML.ElementPropertyPath.propertyPath"> + <ownedEnd xmi:id="SysML.A_elementPropertyPath_propertyPath.elementPropertyPath" name="elementPropertyPath" type="SysML.ElementPropertyPath" association="SysML.A_elementPropertyPath_propertyPath"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.A_elementPropertyPath_propertyPath.elementPropertyPath.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.A_elementPropertyPath_propertyPath.elementPropertyPath.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="SysML.A_adjunctProperty_principal" name="A_adjunctProperty_principal" memberEnd="SysML.AdjunctProperty.principal SysML.A_adjunctProperty_principal.adjunctProperty"> + <ownedEnd xmi:id="SysML.A_adjunctProperty_principal.adjunctProperty" name="adjunctProperty" type="SysML.AdjunctProperty" association="SysML.A_adjunctProperty_principal"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.A_adjunctProperty_principal.adjunctProperty.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.A_adjunctProperty_principal.adjunctProperty.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_ValueType_base_DataType" name="E_extension_ValueType_base_DataType" memberEnd="SysML.E_extension_ValueType_base_DataType.extension_ValueType SysML.ValueType.base_DataType" navigableOwnedEnd="SysML.E_extension_ValueType_base_DataType.extension_ValueType"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_ValueType_base_DataType.extension_ValueType" name="extension_ValueType" type="SysML.ValueType" association="SysML.E_extension_ValueType_base_DataType"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_ValueType_base_DataType.extension_ValueType.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_ClassifierBehaviorProperty_base_Property" name="E_extension_ClassifierBehaviorProperty_base_Property" memberEnd="SysML.ClassifierBehaviorProperty.base_Property SysML.E_extension_ClassifierBehaviorProperty_base_Property.extension_ClassifierBehaviorProperty" navigableOwnedEnd="SysML.E_extension_ClassifierBehaviorProperty_base_Property.extension_ClassifierBehaviorProperty"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_ClassifierBehaviorProperty_base_Property.extension_ClassifierBehaviorProperty" name="extension_ClassifierBehaviorProperty" type="SysML.ClassifierBehaviorProperty" association="SysML.E_extension_ClassifierBehaviorProperty_base_Property"/> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_DistributedProperty_base_Property" name="E_extension_DistributedProperty_base_Property" memberEnd="SysML.E_extension_DistributedProperty_base_Property.extension_DistributedProperty SysML.DistributedProperty.base_Property" navigableOwnedEnd="SysML.E_extension_DistributedProperty_base_Property.extension_DistributedProperty"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_DistributedProperty_base_Property.extension_DistributedProperty" name="extension_DistributedProperty" type="SysML.DistributedProperty" association="SysML.E_extension_DistributedProperty_base_Property"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_DistributedProperty_base_Property.extension_DistributedProperty.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.DistributedProperty" name="DistributedProperty"> + <ownedComment xmi:id="SysML.DistributedProperty._comment0"> + <body> DistributedProperty is a stereotype of Property used to apply a probability distribution to the values of the property. Specific distributions should be defined as subclasses of the DistributedProperty stereotype with the operands of the distributions represented by properties of those stereotype subclasses. </body> + </ownedComment> + <ownedAttribute xmi:id="SysML.DistributedProperty.base_Property" name="base_Property" association="SysML.E_extension_DistributedProperty_base_Property"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.DistributedProperty.base_Property.lowerValue0"/> + </ownedAttribute> + <icon xmi:id="__KZi8PXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/DistributedProperty.gif"> + <eAnnotations xmi:id="__KZi8fXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KZi8vXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KZi8_XoEeeFOavjQCI5eQ" key="image_name_key" value="DistributedProperty"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_PropertySpecificType_base_Classifier" name="E_extension_PropertySpecificType_base_Classifier" memberEnd="SysML.E_extension_PropertySpecificType_base_Classifier.extension_PropertySpecificType SysML.PropertySpecificType.base_Classifier" navigableOwnedEnd="SysML.E_extension_PropertySpecificType_base_Classifier.extension_PropertySpecificType"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_PropertySpecificType_base_Classifier.extension_PropertySpecificType" name="extension_PropertySpecificType" type="SysML.PropertySpecificType" association="SysML.E_extension_PropertySpecificType_base_Classifier"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_PropertySpecificType_base_Classifier.extension_PropertySpecificType.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.ElementPropertyPath" name="ElementPropertyPath" isAbstract="true"> + <ownedAttribute xmi:id="SysML.ElementPropertyPath.base_Element" name="base_Element" association="SysML.E_extension_ElementPropertyPath_base_Element"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ElementPropertyPath.base_Element.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.ElementPropertyPath.propertyPath" name="propertyPath" isOrdered="true" isUnique="false" association="SysML.A_elementPropertyPath_propertyPath"> + <ownedComment xmi:id="SysML.ElementPropertyPath.propertyPath._comment0"> + <body> The propertyPath list of the NestedConnectorEnd stereotype must identify a path of containing properties that identify the connected property in the context of the block that owns the connector. The ordering of properties is from a property of the block that owns the connector, through a property of each intermediate block that types the preceding property, until a property is reached that contains a connector end property within its type. The connector end property is not included in the propertyPath list, but instead is held by the role property of the UML ConnectorEnd metaclass. </body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.ElementPropertyPath.propertyPath.upperValue0" value="*"/> + </ownedAttribute> + <icon xmi:id="__KZi9PXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ElementPropertyPath.gif"> + <eAnnotations xmi:id="__KZi9fXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KZi9vXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KaKAPXoEeeFOavjQCI5eQ" key="image_name_key" value="ElementPropertyPath"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.AdjunctProperty" name="AdjunctProperty"> + <ownedComment xmi:id="SysML.AdjunctProperty._comment0"> + <body> The AdjunctProperty stereotype can be applied to properties to constrain their values to the values of connectors typed by association blocks, call actions, object nodes, variables, or parameters, interaction uses, and submachine states. The values of connectors typed by association blocks are the instances of the association block typing a connector in the block having the stereotyped property. The values of call actions are the executions of behaviors invoked by the behavior having the call action and the stereotyped property (see Subclause 11.3.1.1.1 for more about this use of the stereotype). The values of object nodes are the values of tokens in the object nodes of the behavior having the stereotyped property (see Subclause 11.3.1.4.1 for more about this use of the stereotype). The values of variables are those assigned by executions of activities that have the stereotyped property. The values of parameters are those assigned by executions of behaviors that have the stereotyped property. The keyword «adjunct» before a property name indicates the property is stereotyped by AdjunctProperty. </body> + </ownedComment> + <ownedAttribute xmi:id="SysML.AdjunctProperty.base_Property" name="base_Property" association="SysML.E_extension_AdjunctProperty_base_Property"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.AdjunctProperty.base_Property.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.AdjunctProperty.principal" name="principal" association="SysML.A_adjunctProperty_principal"> + <ownedComment xmi:id="SysML.AdjunctProperty.principal._comment0"> + <body>Gives the element that determines the values of the property. Must be a connector, call action, object node, variable, or parameter.</body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> + </ownedAttribute> + <icon xmi:id="__KaKAfXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/AdjunctProperty.gif"> + <eAnnotations xmi:id="__KaKAvXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KaKA_XoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KaKBPXoEeeFOavjQCI5eQ" key="image_name_key" value="AdjunctProperty"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="SysML.A_directedRelationshipPropertyPath_targetContext" name="A_directedRelationshipPropertyPath_targetContext" memberEnd="SysML.DirectedRelationshipPropertyPath.targetContext SysML.A_directedRelationshipPropertyPath_targetContext.directedRelationshipPropertyPath"> + <ownedEnd xmi:id="SysML.A_directedRelationshipPropertyPath_targetContext.directedRelationshipPropertyPath" name="directedRelationshipPropertyPath" type="SysML.DirectedRelationshipPropertyPath" association="SysML.A_directedRelationshipPropertyPath_targetContext"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.A_directedRelationshipPropertyPath_targetContext.directedRelationshipPropertyPath.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.A_directedRelationshipPropertyPath_targetContext.directedRelationshipPropertyPath.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_ElementPropertyPath_base_Element" name="E_extension_ElementPropertyPath_base_Element" memberEnd="SysML.ElementPropertyPath.base_Element SysML.E_extension_ElementPropertyPath_base_Element.extension_ElementPropertyPath" navigableOwnedEnd="SysML.E_extension_ElementPropertyPath_base_Element.extension_ElementPropertyPath"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_ElementPropertyPath_base_Element.extension_ElementPropertyPath" name="extension_ElementPropertyPath" type="SysML.ElementPropertyPath" association="SysML.E_extension_ElementPropertyPath_base_Element"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_ElementPropertyPath_base_Element.extension_ElementPropertyPath.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.EndPathMultiplicity" name="EndPathMultiplicity"> + <ownedAttribute xmi:id="SysML.EndPathMultiplicity.base_Property" name="base_Property" association="SysML.E_extension_EndPathMultiplicity_base_Property"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.EndPathMultiplicity.base_Property.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.EndPathMultiplicity.lower" name="lower"> + <ownedComment xmi:id="SysML.EndPathMultiplicity.lower._comment0"> + <body>Gives the minimum number of values of the property at the end of the related bindingPath, for each object reached by navigation along the bindingPath from an instance of the block owning the property to which EndPathMultiplicity is applied</body> + </ownedComment> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Integer"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.EndPathMultiplicity.lower.lowerValue0"/> + <defaultValue xmi:type="uml:LiteralInteger" xmi:id="SysML.EndPathMultiplicity.lower.defaultValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.EndPathMultiplicity.upper" name="upper"> + <ownedComment xmi:id="SysML.EndPathMultiplicity.upper._comment0"> + <body>Gives the maximum number of values of the property at the end of the related bindingPath, for each object reached by navigation along the bindingPath from an instance of the block owning the property to which EndPathMultiplicity is applied.</body> + </ownedComment> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#UnlimitedNatural"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.EndPathMultiplicity.upper.lowerValue0"/> + <defaultValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.EndPathMultiplicity.upper.defaultValue0" value="*"/> + </ownedAttribute> + <icon xmi:id="__KaKBfXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/EndPathMultiplicity.gif"> + <eAnnotations xmi:id="__KaKBvXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KaKB_XoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KaKCPXoEeeFOavjQCI5eQ" key="image_name_key" value="EndPathMultiplicity"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.ParticipantProperty" name="ParticipantProperty"> + <ownedComment xmi:id="SysML.ParticipantProperty._comment0"> + <body> The Block stereotype extends Class, so it can be applied to any specialization of Class, including Association Classes. These are informally called “association blocks.” An association block can own properties and connectors, like any other block. Each instance of an association block can link together instances of the end classifiers of the association. To refer to linked objects and values of an instance of an association block, it is necessary for the modeler to specify which (participant) properties of the association block identify the instances being linked at which end of the association. The value of a participant property on an instance (link) of the association block is the value or object at the end of the link corresponding to this end of the association. </body> + </ownedComment> + <ownedAttribute xmi:id="SysML.ParticipantProperty.base_Property" name="base_Property" association="SysML.E_extension_ParticipantProperty_base_Property"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ParticipantProperty.base_Property.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.ParticipantProperty.end" name="end"> + <ownedComment xmi:id="SysML.ParticipantProperty.end._comment0"> + <body>A member end of the association block owning the property on which the stereotype is applied.</body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + </ownedAttribute> + <icon xmi:id="__KaKCfXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ParticipantProperty.gif"> + <eAnnotations xmi:id="__KaxEPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KaxEfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KaxEvXoEeeFOavjQCI5eQ" key="image_name_key" value="ParticipantProperty"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Block_base_Class" name="E_extension_Block_base_Class" memberEnd="SysML.E_extension_Block_base_Class.extension_Block SysML.Block.base_Class" navigableOwnedEnd="SysML.E_extension_Block_base_Class.extension_Block"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Block_base_Class.extension_Block" name="extension_Block" type="SysML.Block" association="SysML.E_extension_Block_base_Class"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Block_base_Class.extension_Block.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Block" name="Block"> + <ownedComment xmi:id="SysML.Block._comment0"> + <body> A Block is a modular unit that describes the structure of a system or element. It may include both structural and behavioral features, such as properties and operations, that represent the state of the system and behavior that the system may exhibit. Some of these properties may hold parts of a system, which can also be described by blocks. A block may include a structure of connectors between its properties to indicate how its parts or other properties relate to one another. SysML blocks provide a general-purpose capability to describe the architecture of a system. They provide the ability to represent a system hierarchy, in which a system at one level is composed of systems at a more basic level. They can describe not only the connectivity relationships between the systems at any level, but also quantitative values or other information about a system. SysML does not restrict the kind of system or system element that may be described by a block. Any reusable form of description that may be applied to a system or a set of system characteristics may be described by a block. Such reusable descriptions, for example, may be applied to purely conceptual aspects of a system design, such as relationships that hold between parts or properties of a system. Connectors owned by SysML blocks may be used to define relationships between parts or other properties of the same containing block. The type of a connector or its connected ends may specify the semantic interpretation of a specific connector. </body> + </ownedComment> + <ownedAttribute xmi:id="SysML.Block.base_Class" name="base_Class" association="SysML.E_extension_Block_base_Class"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Block.base_Class.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.Block.isEncapsulated" name="isEncapsulated"> + <ownedComment xmi:id="SysML.Block.isEncapsulated._comment0"> + <body> If true, then the block is treated as a black box; a part typed by this black box can only be connected via its ports or directly to its outer boundary. If false, or if a value is not present, then connections can be established to elements of its internal structure via deep-nested connector ends. </body> + </ownedComment> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Block.isEncapsulated.lowerValue0"/> + </ownedAttribute> + <ownedOperation xmi:id="_VU-tIPFnEeefg-uwXxvTkQ" name="getReferences"> + <ownedComment xmi:id="_VU-tIfFnEeefg-uwXxvTkQ" annotatedElement="_VU-tIPFnEeefg-uwXxvTkQ"> + <body>TODO @papyrus.req org.eclipse.papyrus.sysml#REQ-SYSML14-Block-References</body> + </ownedComment> + <ownedParameter xmi:id="_VU-tIvFnEeefg-uwXxvTkQ" name="references" direction="return"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_VU-tI_FnEeefg-uwXxvTkQ"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_VU-tJPFnEeefg-uwXxvTkQ" value="*"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:id="_VU_UMPFnEeefg-uwXxvTkQ" name="getParts"> + <ownedParameter xmi:id="_VU_UMfFnEeefg-uwXxvTkQ" name="parts" direction="return"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_VU_UMvFnEeefg-uwXxvTkQ"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_VU_UM_FnEeefg-uwXxvTkQ" value="*"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:id="_VU_UNPFnEeefg-uwXxvTkQ" name="getFlowProperties"> + <ownedParameter xmi:id="_VU_UNfFnEeefg-uwXxvTkQ" name="flowProperties" direction="return"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_VU_UNvFnEeefg-uwXxvTkQ"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_VU_UN_FnEeefg-uwXxvTkQ" value="*"/> + </ownedParameter> + </ownedOperation> + <icon xmi:id="__KaxE_XoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Block.gif"> + <eAnnotations xmi:id="__KaxFPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KaxFfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KaxFvXoEeeFOavjQCI5eQ" key="image_name_key" value="Block"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="SysML.A_directedRelationshipPropertyPath_sourceContext" name="A_directedRelationshipPropertyPath_sourceContext" memberEnd="SysML.DirectedRelationshipPropertyPath.sourceContext SysML.A_directedRelationshipPropertyPath_sourceContext.directedRelationshipPropertyPath"> + <ownedEnd xmi:id="SysML.A_directedRelationshipPropertyPath_sourceContext.directedRelationshipPropertyPath" name="directedRelationshipPropertyPath" type="SysML.DirectedRelationshipPropertyPath" association="SysML.A_directedRelationshipPropertyPath_sourceContext"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.A_directedRelationshipPropertyPath_sourceContext.directedRelationshipPropertyPath.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.A_directedRelationshipPropertyPath_sourceContext.directedRelationshipPropertyPath.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_EndPathMultiplicity_base_Property" name="E_extension_EndPathMultiplicity_base_Property" memberEnd="SysML.EndPathMultiplicity.base_Property SysML.E_extension_EndPathMultiplicity_base_Property.extension_EndPathMultiplicity" navigableOwnedEnd="SysML.E_extension_EndPathMultiplicity_base_Property.extension_EndPathMultiplicity"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_EndPathMultiplicity_base_Property.extension_EndPathMultiplicity" name="extension_EndPathMultiplicity" type="SysML.EndPathMultiplicity" association="SysML.E_extension_EndPathMultiplicity_base_Property"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_EndPathMultiplicity_base_Property.extension_EndPathMultiplicity.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_ConnectorProperty_base_Property" name="E_extension_ConnectorProperty_base_Property" memberEnd="SysML.E_extension_ConnectorProperty_base_Property.extension_ConnectorProperty SysML.ConnectorProperty.base_Property" navigableOwnedEnd="SysML.E_extension_ConnectorProperty_base_Property.extension_ConnectorProperty"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_ConnectorProperty_base_Property.extension_ConnectorProperty" name="extension_ConnectorProperty" type="SysML.ConnectorProperty" association="SysML.E_extension_ConnectorProperty_base_Property"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_ConnectorProperty_base_Property.extension_ConnectorProperty.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_ParticipantProperty_base_Property" name="E_extension_ParticipantProperty_base_Property" memberEnd="SysML.E_extension_ParticipantProperty_base_Property.extension_ParticipantProperty SysML.ParticipantProperty.base_Property" navigableOwnedEnd="SysML.E_extension_ParticipantProperty_base_Property.extension_ParticipantProperty"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_ParticipantProperty_base_Property.extension_ParticipantProperty" name="extension_ParticipantProperty" type="SysML.ParticipantProperty" association="SysML.E_extension_ParticipantProperty_base_Property"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_ParticipantProperty_base_Property.extension_ParticipantProperty.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.ConnectorProperty" name="ConnectorProperty"> + <ownedComment xmi:id="SysML.ConnectorProperty._comment0"> + <body> Connectors can be typed by association classes that are stereotyped by Block (association blocks). These connectors specify instances (links) of the association block that exist due to instantiation of the block owning or inheriting the connector. The value of a connector property on an instance of a block will be exactly those link objects that are instances of the association block typing the connector referred to by the connector property. </body> + </ownedComment> + <ownedAttribute xmi:id="SysML.ConnectorProperty.base_Property" name="base_Property" association="SysML.E_extension_ConnectorProperty_base_Property"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ConnectorProperty.base_Property.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.ConnectorProperty.connector" name="connector"> + <ownedComment xmi:id="SysML.ConnectorProperty.connector._comment0"> + <body>A connector of the block owning the property on which the stereotype is applied.</body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Connector"/> + </ownedAttribute> + <icon xmi:id="__KbYIPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ConnectorProperty.gif"> + <eAnnotations xmi:id="__KbYIfXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KbYIvXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KbYI_XoEeeFOavjQCI5eQ" key="image_name_key" value="ConnectorProperty"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.BindingConnector" name="BindingConnector"> + <ownedComment xmi:id="SysML.BindingConnector._comment0"> + <body> A Binding Connector is a connector which specifies that the properties at both ends of the connector have equal values. If the properties at the ends of a binding connector are typed by a DataType or ValueType, the connector specifies that the instances of the properties must hold equal values, recursively through any nested properties within the connected properties. If the properties at the ends of a binding connector are typed by a Block, the connector specifies that the instances of the properties must refer to the same block instance. As with any connector owned by a SysML Block, the ends of a binding connector may be nested within a multi-level path of properties accessible from the owning block. The NestedConnectorEnd stereotype is used to represent such nested ends just as for nested ends of other SysML connectors. </body> + </ownedComment> + <ownedAttribute xmi:id="SysML.BindingConnector.base_Connector" name="base_Connector" association="SysML.E_extension_BindingConnector_base_Connector"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Connector"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.BindingConnector.base_Connector.lowerValue0"/> + </ownedAttribute> + <icon xmi:id="__KbYJPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/BindingConnector.gif"> + <eAnnotations xmi:id="__KbYJfXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KbYJvXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KbYJ_XoEeeFOavjQCI5eQ" key="image_name_key" value="BindingConnector"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="SysML.A_directedRelationshipPropertyPath_targetPropertyPath" name="A_directedRelationshipPropertyPath_targetPropertyPath" memberEnd="SysML.DirectedRelationshipPropertyPath.targetPropertyPath SysML.A_directedRelationshipPropertyPath_targetPropertyPath.directedRelationshipPropertyPath"> + <ownedEnd xmi:id="SysML.A_directedRelationshipPropertyPath_targetPropertyPath.directedRelationshipPropertyPath" name="directedRelationshipPropertyPath" type="SysML.DirectedRelationshipPropertyPath" association="SysML.A_directedRelationshipPropertyPath_targetPropertyPath"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.A_directedRelationshipPropertyPath_targetPropertyPath.directedRelationshipPropertyPath.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.A_directedRelationshipPropertyPath_targetPropertyPath.directedRelationshipPropertyPath.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.ClassifierBehaviorProperty" name="ClassifierBehaviorProperty"> + <ownedComment xmi:id="SysML.ClassifierBehaviorProperty._comment0"> + <body> The ClassifierBehaviorProperty stereotype can be applied to properties to constrain their values to be the executions of classifier behaviors. The value of properties with ClassifierBehaviorProperty applied are the executions of classifier behaviors invoked by instantiation of the block that owns the stereotyped property or one of its specializations. </body> + </ownedComment> + <ownedAttribute xmi:id="SysML.ClassifierBehaviorProperty.base_Property" name="base_Property" association="SysML.E_extension_ClassifierBehaviorProperty_base_Property"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ClassifierBehaviorProperty.base_Property.lowerValue0"/> + </ownedAttribute> + <icon xmi:id="__KbYKPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ClassifierBehaviorProperty.gif"> + <eAnnotations xmi:id="__KbYKfXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__Kb_MPXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__Kb_MfXoEeeFOavjQCI5eQ" key="image_name_key" value="ClassifierBehaviorProperty"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.BoundReference" name="BoundReference"> + <generalization xmi:id="SysML.BoundReference._generalization.SysML.EndPathMultiplicity" general="SysML.EndPathMultiplicity"/> + <ownedAttribute xmi:id="SysML.BoundReference.bindingPath" name="bindingPath" isOrdered="true" isUnique="false" isDerived="true"> + <ownedComment xmi:id="SysML.BoundReference.bindingPath._comment0"> + <body>Gives the propertyPath of the NestedConnectorEnd applied, if any, to the boundEnd, appended to the role of the boundEnd. </body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.BoundReference.bindingPath.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.BoundReference.boundEnd" name="boundEnd"> + <ownedComment xmi:id="SysML.BoundReference.boundEnd._comment0"> + <body>Gives a connector end of a binding connector opposite to the end linked to the stereotyped property, or linked to a property that generalizes the stereotyped one through redefinition.</body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ConnectorEnd"/> + </ownedAttribute> + <icon xmi:id="__Kb_MvXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/BoundReference.gif"> + <eAnnotations xmi:id="__Kb_M_XoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__Kb_NPXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__Kb_NfXoEeeFOavjQCI5eQ" key="image_name_key" value="BoundReference"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_BindingConnector_base_Connector" name="E_extension_BindingConnector_base_Connector" memberEnd="SysML.E_extension_BindingConnector_base_Connector.extension_BindingConnector SysML.BindingConnector.base_Connector" navigableOwnedEnd="SysML.E_extension_BindingConnector_base_Connector.extension_BindingConnector"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_BindingConnector_base_Connector.extension_BindingConnector" name="extension_BindingConnector" type="SysML.BindingConnector" association="SysML.E_extension_BindingConnector_base_Connector"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_BindingConnector_base_Connector.extension_BindingConnector.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="SysML.A_directedRelationshipPropertyPath_sourcePropertyPath" name="A_directedRelationshipPropertyPath_sourcePropertyPath" memberEnd="SysML.DirectedRelationshipPropertyPath.sourcePropertyPath SysML.A_directedRelationshipPropertyPath_sourcePropertyPath.directedRelationshipPropertyPath"> + <ownedEnd xmi:id="SysML.A_directedRelationshipPropertyPath_sourcePropertyPath.directedRelationshipPropertyPath" name="directedRelationshipPropertyPath" type="SysML.DirectedRelationshipPropertyPath" association="SysML.A_directedRelationshipPropertyPath_sourcePropertyPath"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.A_directedRelationshipPropertyPath_sourcePropertyPath.directedRelationshipPropertyPath.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.A_directedRelationshipPropertyPath_sourcePropertyPath.directedRelationshipPropertyPath.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship" name="E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship" memberEnd="SysML.DirectedRelationshipPropertyPath.base_DirectedRelationship SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship.extension_DirectedRelationshipPropertyPath" navigableOwnedEnd="SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship.extension_DirectedRelationshipPropertyPath"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship.extension_DirectedRelationshipPropertyPath" name="extension_DirectedRelationshipPropertyPath" type="SysML.DirectedRelationshipPropertyPath" association="SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship.extension_DirectedRelationshipPropertyPath.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_NestedConnectorEnd_base_ConnectorEnd" name="E_extension_NestedConnectorEnd_base_ConnectorEnd" memberEnd="SysML.E_extension_NestedConnectorEnd_base_ConnectorEnd.extension_NestedConnectorEnd SysML.NestedConnectorEnd.base_ConnectorEnd" navigableOwnedEnd="SysML.E_extension_NestedConnectorEnd_base_ConnectorEnd.extension_NestedConnectorEnd"> + <generalization xmi:id="SysML.E_extension_NestedConnectorEnd_base_ConnectorEnd._generalization.SysML.E_extension_ElementPropertyPath_base_Element" general="SysML.E_extension_ElementPropertyPath_base_Element"/> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_NestedConnectorEnd_base_ConnectorEnd.extension_NestedConnectorEnd" name="extension_NestedConnectorEnd" type="SysML.NestedConnectorEnd" redefinedProperty="SysML.E_extension_ElementPropertyPath_base_Element.extension_ElementPropertyPath" association="SysML.E_extension_NestedConnectorEnd_base_ConnectorEnd"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_NestedConnectorEnd_base_ConnectorEnd.extension_NestedConnectorEnd.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.PropertySpecificType" name="PropertySpecificType"> + <ownedComment xmi:id="SysML.PropertySpecificType._comment0"> + <body>The PropertySpecificType stereotype should automatically be applied to the classifier which types a property with a propertyspecific type. This classifier can contain definitions of new or redefined features which extend the original classifier referenced by the property-specific type.</body> + </ownedComment> + <ownedAttribute xmi:id="SysML.PropertySpecificType.base_Classifier" name="base_Classifier" association="SysML.E_extension_PropertySpecificType_base_Classifier"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Classifier"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.PropertySpecificType.base_Classifier.lowerValue0"/> + </ownedAttribute> + <icon xmi:id="__Kb_NvXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/PropertySpecificType.gif"> + <eAnnotations xmi:id="__KcmQPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KcmQfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KcmQvXoEeeFOavjQCI5eQ" key="image_name_key" value="PropertySpecificType"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="SysML.A_valueType_unit" name="A_valueType_unit" memberEnd="SysML.A_valueType_unit.valueType SysML.ValueType.unit"> + <ownedEnd xmi:id="SysML.A_valueType_unit.valueType" name="valueType" type="SysML.ValueType" association="SysML.A_valueType_unit"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.A_valueType_unit.valueType.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.A_valueType_unit.valueType.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.NestedConnectorEnd" name="NestedConnectorEnd"> + <ownedComment xmi:id="SysML.NestedConnectorEnd._comment0"> + <body>The NestedConnectorEnd stereotype of UML ConnectorEnd extends a UML ConnectorEnd so that the connected property may be identified by a multi-level path of accessible properties from the block that owns the connector.</body> + </ownedComment> + <generalization xmi:id="SysML.NestedConnectorEnd._generalization.SysML.ElementPropertyPath" general="SysML.ElementPropertyPath"/> + <ownedAttribute xmi:id="SysML.NestedConnectorEnd.base_ConnectorEnd" name="base_ConnectorEnd" redefinedProperty="SysML.ElementPropertyPath.base_Element" association="SysML.E_extension_NestedConnectorEnd_base_ConnectorEnd"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ConnectorEnd"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.NestedConnectorEnd.base_ConnectorEnd.lowerValue0"/> + </ownedAttribute> + <icon xmi:id="__KcmQ_XoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/NestedConnectorEnd.gif"> + <eAnnotations xmi:id="__KcmRPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KcmRfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KcmRvXoEeeFOavjQCI5eQ" key="image_name_key" value="NestedConnectorEnd"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.ValueType" name="ValueType"> + <ownedComment xmi:id="SysML.ValueType._comment0"> + <body> A ValueType defines types of values that may be used to express information about a system, but cannot be identified as the target of any reference. Since a value cannot be identified except by means of the value itself, each such value within a model is independent of any other, unless other forms of constraints are imposed. Value types may be used to type properties, operation parameters, or potentially other elements within SysML. SysML defines ValueType as a stereotype of UML DataType to establish a more neutral term for system values that may never be given a concrete data representation. </body> + </ownedComment> + <ownedAttribute xmi:id="SysML.ValueType.base_DataType" name="base_DataType" association="SysML.E_extension_ValueType_base_DataType"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DataType"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ValueType.base_DataType.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.ValueType.quantityKind" name="quantityKind" association="SysML.A_valueType_quantityKind"> + <ownedComment xmi:id="SysML.ValueType.quantityKind._comment0"> + <body> A kind of quantity that may be stated by means of defined units, as identified by an instance of the Dimension stereotype. A value type may optionally specify a dimension without any unit. Such a value has no concrete representation, but may be used to express a value in an abstract form independent of any specific units. </body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#InstanceSpecification"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ValueType.quantityKind.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.ValueType.unit" name="unit" association="SysML.A_valueType_unit"> + <ownedComment xmi:id="SysML.ValueType.unit._comment0"> + <body>A quantity in terms of which the magnitudes of other quantities that have the same dimension can be stated, as identified by an instance of the Unit stereotype.</body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#InstanceSpecification"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ValueType.unit.lowerValue0"/> + </ownedAttribute> + <icon xmi:id="__KcmR_XoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ValueType.gif"> + <eAnnotations xmi:id="__KcmSPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KcmSfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KcmSvXoEeeFOavjQCI5eQ" key="image_name_key" value="ValueType"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="SysML.A_valueType_quantityKind" name="A_valueType_quantityKind" memberEnd="SysML.A_valueType_quantityKind.valueType SysML.ValueType.quantityKind"> + <ownedEnd xmi:id="SysML.A_valueType_quantityKind.valueType" name="valueType" type="SysML.ValueType" association="SysML.A_valueType_quantityKind"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.A_valueType_quantityKind.valueType.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.A_valueType_quantityKind.valueType.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.DirectedRelationshipPropertyPath" name="DirectedRelationshipPropertyPath" isAbstract="true"> + <ownedAttribute xmi:id="SysML.DirectedRelationshipPropertyPath.base_DirectedRelationship" name="base_DirectedRelationship" association="SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DirectedRelationship"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.DirectedRelationshipPropertyPath.base_DirectedRelationship.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.DirectedRelationshipPropertyPath.sourceContext" name="sourceContext" association="SysML.A_directedRelationshipPropertyPath_sourceContext"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Classifier"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.DirectedRelationshipPropertyPath.sourceContext.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.DirectedRelationshipPropertyPath.sourcePropertyPath" name="sourcePropertyPath" isOrdered="true" isUnique="false" association="SysML.A_directedRelationshipPropertyPath_sourcePropertyPath"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.DirectedRelationshipPropertyPath.sourcePropertyPath.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.DirectedRelationshipPropertyPath.sourcePropertyPath.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.DirectedRelationshipPropertyPath.targetContext" name="targetContext" association="SysML.A_directedRelationshipPropertyPath_targetContext"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Classifier"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.DirectedRelationshipPropertyPath.targetContext.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.DirectedRelationshipPropertyPath.targetPropertyPath" name="targetPropertyPath" isOrdered="true" isUnique="false" association="SysML.A_directedRelationshipPropertyPath_targetPropertyPath"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.DirectedRelationshipPropertyPath.targetPropertyPath.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.DirectedRelationshipPropertyPath.targetPropertyPath.upperValue0" value="*"/> + </ownedAttribute> + <icon xmi:id="__KdNUPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/DirectedRelationshipPropertyPath.gif"> + <eAnnotations xmi:id="__KdNUfXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KdNUvXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KdNU_XoEeeFOavjQCI5eQ" key="image_name_key" value="DirectedRelationshipPropertyPath"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_AdjunctProperty_base_Property" name="E_extension_AdjunctProperty_base_Property" memberEnd="SysML.AdjunctProperty.base_Property SysML.E_extension_AdjunctProperty_base_Property.extension_AdjunctProperty" navigableOwnedEnd="SysML.E_extension_AdjunctProperty_base_Property.extension_AdjunctProperty"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_AdjunctProperty_base_Property.extension_AdjunctProperty" name="extension_AdjunctProperty" type="SysML.AdjunctProperty" association="SysML.E_extension_AdjunctProperty_base_Property"/> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="SysML.Allocations" name="Allocations"> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_AllocateActivityPartition_base_ActivityPartition" name="E_extension_AllocateActivityPartition_base_ActivityPartition" memberEnd="SysML.E_extension_AllocateActivityPartition_base_ActivityPartition.extension_AllocateActivityPartition SysML.AllocateActivityPartition.base_ActivityPartition" navigableOwnedEnd="SysML.E_extension_AllocateActivityPartition_base_ActivityPartition.extension_AllocateActivityPartition"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_AllocateActivityPartition_base_ActivityPartition.extension_AllocateActivityPartition" name="extension_AllocateActivityPartition" type="SysML.AllocateActivityPartition" association="SysML.E_extension_AllocateActivityPartition_base_ActivityPartition"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_AllocateActivityPartition_base_ActivityPartition.extension_AllocateActivityPartition.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Allocate_base_Abstraction" name="E_extension_Allocate_base_Abstraction" memberEnd="SysML.E_extension_Allocate_base_Abstraction.extension_Allocate SysML.Allocate.base_Abstraction" navigableOwnedEnd="SysML.E_extension_Allocate_base_Abstraction.extension_Allocate"> + <generalization xmi:id="SysML.E_extension_Allocate_base_Abstraction._generalization.SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship" general="SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship"/> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Allocate_base_Abstraction.extension_Allocate" name="extension_Allocate" type="SysML.Allocate" redefinedProperty="SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship.extension_DirectedRelationshipPropertyPath" association="SysML.E_extension_Allocate_base_Abstraction"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Allocate_base_Abstraction.extension_Allocate.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Allocate" name="Allocate"> + <ownedComment xmi:id="SysML.Allocate._comment0"> + <body> Allocate is a dependency based on UML::abstraction. It is a mechanism for associating elements of different types, or in different hierarchies, at an abstract level. Allocate is used for assessing user model consistency and directing future design activity. It is expected that an «allocate» relationship between model elements is a precursor to a more concrete relationship between the elements, their properties, operations, attributes, or sub-classes. </body> + </ownedComment> + <generalization xmi:id="SysML.Allocate._generalization.SysML.DirectedRelationshipPropertyPath" general="SysML.DirectedRelationshipPropertyPath"/> + <ownedAttribute xmi:id="SysML.Allocate.base_Abstraction" name="base_Abstraction" redefinedProperty="SysML.DirectedRelationshipPropertyPath.base_DirectedRelationship" association="SysML.E_extension_Allocate_base_Abstraction"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Abstraction"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Allocate.base_Abstraction.lowerValue0"/> + </ownedAttribute> + <ownedOperation xmi:id="SysML.Allocate.getAllocatedFrom_NamedElement" name="getAllocatedFrom" isStatic="true" isQuery="true"> + <ownedParameter xmi:id="SysML.Allocate.getAllocatedFrom_NamedElement.ref" name="ref" effect="create"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> + </ownedParameter> + <ownedParameter xmi:id="SysML.Allocate.getAllocatedFrom_NamedElement.result" name="result" direction="return" effect="create"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Allocate.getAllocatedFrom_NamedElement.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Allocate.getAllocatedFrom_NamedElement.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:id="SysML.Allocate.getAllocatedTo_NamedElement" name="getAllocatedTo" isStatic="true" isQuery="true"> + <ownedParameter xmi:id="SysML.Allocate.getAllocatedTo_NamedElement.ref" name="ref" effect="create"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> + </ownedParameter> + <ownedParameter xmi:id="SysML.Allocate.getAllocatedTo_NamedElement.result" name="result" direction="return" effect="create"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Allocate.getAllocatedTo_NamedElement.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Allocate.getAllocatedTo_NamedElement.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <icon xmi:id="__KdNVPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Allocate.gif"> + <eAnnotations xmi:id="__KdNVfXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KdNVvXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KdNV_XoEeeFOavjQCI5eQ" key="image_name_key" value="Allocate"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.AllocateActivityPartition" name="AllocateActivityPartition"> + <ownedComment xmi:id="SysML.AllocateActivityPartition._comment0"> + <body>AllocateActivityPartition is used to depict an «allocate» relationship on an Activity diagram. The AllocateActivityPartition is a standard UML2::ActivityPartition, with modified constraints as stated in the paragraph below.</body> + </ownedComment> + <ownedAttribute xmi:id="SysML.AllocateActivityPartition.base_ActivityPartition" name="base_ActivityPartition" association="SysML.E_extension_AllocateActivityPartition_base_ActivityPartition"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ActivityPartition"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.AllocateActivityPartition.base_ActivityPartition.lowerValue0"/> + </ownedAttribute> + <icon xmi:id="__KebcPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/AllocateActivityPartition.gif"> + <eAnnotations xmi:id="__KebcfXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KebcvXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__Kebc_XoEeeFOavjQCI5eQ" key="image_name_key" value="AllocateActivityPartition"/> + </eAnnotations> + </icon> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="SysML.Requirements" name="Requirements"> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Copy" name="Copy"> + <ownedComment xmi:id="SysML.Copy._comment0"> + <body>A Copy relationship is a dependency between a supplier requirement and a client requirement that specifies that the text of the client requirement is a read-only copy of the text of the supplier requirement.</body> + </ownedComment> + <generalization xmi:id="SysML.Copy._generalization.SysML.Trace" general="SysML.Trace" isSubstitutable="false"/> + <icon xmi:id="__KebdPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Copy.gif"> + <eAnnotations xmi:id="__KebdfXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KebdvXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__Kebd_XoEeeFOavjQCI5eQ" key="image_name_key" value="Copy"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Refine_base_Abstraction" name="E_extension_Refine_base_Abstraction" memberEnd="SysML.Refine.base_Abstraction SysML.E_extension_Refine_base_Abstraction.extension_Refine" navigableOwnedEnd="SysML.E_extension_Refine_base_Abstraction.extension_Refine"> + <generalization xmi:id="SysML.E_extension_Refine_base_Abstraction._generalization.StandardProfile.Abstraction_Refine"> + <general xmi:type="uml:Classifier" href="http://www.omg.org/spec/UML/20131001/StandardProfile.xmi#Abstraction_Refine"/> + </generalization> + <generalization xmi:id="SysML.E_extension_Refine_base_Abstraction._generalization.SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship" general="SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship"/> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Refine_base_Abstraction.extension_Refine" name="extension_Refine" type="SysML.Refine" association="SysML.E_extension_Refine_base_Abstraction"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Refine_base_Abstraction.extension_Refine.lowerValue0"/> + <redefinedProperty xmi:type="uml:ExtensionEnd" href="pathmap://UML_PROFILES/Standard.profile.uml#Abstraction_Refine-extension_Refine"/> + <redefinedProperty xmi:type="uml:ExtensionEnd" href="#SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship.extension_DirectedRelationshipPropertyPath"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Trace" name="Trace"> + <generalization xmi:id="SysML.Trace._generalization.SysML.DirectedRelationshipPropertyPath" general="SysML.DirectedRelationshipPropertyPath"/> + <ownedAttribute xmi:id="SysML.Trace.base_Abstraction" name="base_Abstraction" association="SysML.E_extension_Trace_base_Abstraction"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Abstraction"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Trace.base_Abstraction.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Trace.base_Abstraction.upperValue0" value="1"/> + <redefinedProperty href="#SysML.DirectedRelationshipPropertyPath.base_DirectedRelationship"/> + <redefinedProperty href="pathmap://UML_PROFILES/Standard.profile.uml#Trace-base_Abstraction"/> + </ownedAttribute> + <ownedOperation xmi:id="SysML.Trace.getTracedFrom_NamedElement" name="getTracedFrom" isStatic="true" bodyCondition="SysML.Trace.getTracedFrom_NamedElement._rule.getTracedFrom_body" isQuery="true"> + <ownedRule xmi:id="SysML.Trace.getTracedFrom_NamedElement._rule.getTracedFrom_body" name="getTracedFrom_body"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="SysML.Trace.getTracedFrom_NamedElement._rule.getTracedFrom_body.getTracedFrom_body_specification" name="getTracedFrom_body_specification" type="SysML.AbstractRequirement"> + <language>OCL</language> + <body>AbstractRequirement.allInstances()-&gt;select(tracedTo-&gt;includes(ref))</body> + </specification> + </ownedRule> + <ownedParameter xmi:id="SysML.Trace.getTracedFrom_NamedElement.ref" name="ref" effect="create"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> + </ownedParameter> + <ownedParameter xmi:id="SysML.Trace.getTracedFrom_NamedElement.result" name="result" type="SysML.AbstractRequirement" direction="return" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Trace.getTracedFrom_NamedElement.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Trace.getTracedFrom_NamedElement.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <icon xmi:id="__KebePXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Trace.gif"> + <eAnnotations xmi:id="__KfCgPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KfCgfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KfCgvXoEeeFOavjQCI5eQ" key="image_name_key" value="Trace"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Trace_base_Abstraction" name="E_extension_Trace_base_Abstraction" memberEnd="SysML.Trace.base_Abstraction SysML.E_extension_Trace_base_Abstraction.extension_Trace" navigableOwnedEnd="SysML.E_extension_Trace_base_Abstraction.extension_Trace"> + <generalization xmi:id="SysML.E_extension_Trace_base_Abstraction._generalization.StandardProfile.Abstraction_Trace"> + <general xmi:type="uml:Classifier" href="http://www.omg.org/spec/UML/20131001/StandardProfile.xmi#Abstraction_Trace"/> + </generalization> + <generalization xmi:id="SysML.E_extension_Trace_base_Abstraction._generalization.SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship" general="SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship"/> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Trace_base_Abstraction.extension_Trace" name="extension_Trace" type="SysML.Trace" association="SysML.E_extension_Trace_base_Abstraction"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Trace_base_Abstraction.extension_Trace.lowerValue0"/> + <redefinedProperty xmi:type="uml:ExtensionEnd" href="pathmap://UML_PROFILES/Standard.profile.uml#Abstraction_Trace-extension_Trace"/> + <redefinedProperty xmi:type="uml:ExtensionEnd" href="#SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship.extension_DirectedRelationshipPropertyPath"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Enumeration" xmi:id="SysML_dataType.VerdictKind" name="VerdictKind"> + <ownedComment xmi:id="SysML_dataType.VerdictKind._comment0"> + <body>Type of a return parameter of a TestCase must be VerdictKind, consistent with the UML Testing Profile.</body> + </ownedComment> + <ownedLiteral xmi:id="SysML.error" name="error"/> + <ownedLiteral xmi:id="SysML.fail" name="fail"/> + <ownedLiteral xmi:id="SysML.inconclusive" name="inconclusive"/> + <ownedLiteral xmi:id="SysML.pass" name="pass"/> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.DeriveReqt" name="DeriveReqt"> + <ownedComment xmi:id="SysML.DeriveReqt._comment0"> + <body> A DeriveReqt relationship is a dependency between two requirements in which a client requirement can be derived from the supplier requirement. As with other dependencies, the arrow direction points from the derived (client) requirement to the (supplier) requirement from which it is derived. </body> + </ownedComment> + <generalization xmi:id="SysML.DeriveReqt._generalization.SysML.Trace" general="SysML.Trace" isSubstitutable="false"/> + <icon xmi:id="__KfCg_XoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/DeriveReqt.gif"> + <eAnnotations xmi:id="__KfChPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KfChfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KfChvXoEeeFOavjQCI5eQ" key="image_name_key" value="DeriveReqt"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.AbstractRequirement" name="AbstractRequirement" isAbstract="true"> + <ownedComment xmi:id="SysML.AbstractRequirement._comment0"> + <body>An AbstractRequirement establishes the attributes and relationships essential to any potential kind of requirement. Any intended requirement kind should subclass AbstractRequirement. The only normative stereotype based on AbstractRequirement is the Requirement stereotype, described in section 16.3.2.5. Examples of additional non-normative stereotypes based on AbstractRequirement are included in Annex E.8.</body> + </ownedComment> + <ownedAttribute xmi:id="SysML.AbstractRequirement.base_NamedElement" name="base_NamedElement"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.AbstractRequirement.base_NamedElement.lowerValue0" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.AbstractRequirement.base_NamedElement.upperValue0" value="1"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.AbstractRequirement.derived" name="derived" type="SysML.AbstractRequirement" isDerived="true"> + <ownedComment xmi:id="SysML.AbstractRequirement.derived._comment0"> + <body>Derived from all requirements that are the client of a «deriveReqt» relationship for which this requirement is a supplier.</body> + </ownedComment> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.AbstractRequirement.derived.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.AbstractRequirement.derived.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.AbstractRequirement.derivedFrom" name="derivedFrom" type="SysML.AbstractRequirement" isDerived="true"> + <ownedComment xmi:id="SysML.AbstractRequirement.derivedFrom._comment0"> + <body>Derived from all requirements that are the supplier of a «deriveReqt» relationship for which this requirement is a client.</body> + </ownedComment> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.AbstractRequirement.derivedFrom.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.AbstractRequirement.derivedFrom.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.AbstractRequirement.id" name="id"> + <ownedComment xmi:id="SysML.AbstractRequirement.id._comment0"> + <body>The unique id of the requirement.</body> + </ownedComment> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <defaultValue xmi:type="uml:LiteralString" xmi:id="SysML.AbstractRequirement.id.defaultValue0" value=""/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.AbstractRequirement.master" name="master" type="SysML.AbstractRequirement" isDerived="true"> + <ownedComment xmi:id="SysML.AbstractRequirement.master._comment0"> + <body>This is a derived property that lists the master requirement for this slave requirement. The master attribute is derived from the supplier of the Copy dependency that has this requirement as the slave.</body> + </ownedComment> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.AbstractRequirement.master.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.AbstractRequirement.master.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.AbstractRequirement.refinedBy" name="refinedBy" isDerived="true"> + <ownedComment xmi:id="SysML.AbstractRequirement.refinedBy._comment0"> + <body>Derived from all elements that are the client of a «refine» relationship for which this requirement is a supplier.</body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.AbstractRequirement.refinedBy.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.AbstractRequirement.refinedBy.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.AbstractRequirement.satisfiedBy" name="satisfiedBy" isDerived="true"> + <ownedComment xmi:id="SysML.AbstractRequirement.satisfiedBy._comment0"> + <body>Derived from all elements that are the client of a «satisfy» relationship for which this requirement is a supplier.</body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.AbstractRequirement.satisfiedBy.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.AbstractRequirement.satisfiedBy.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.AbstractRequirement.text" name="text"> + <ownedComment xmi:id="SysML.AbstractRequirement.text._comment0"> + <body>The textual representation or a reference to the textual representation of the requirement.</body> + </ownedComment> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <defaultValue xmi:type="uml:LiteralString" xmi:id="SysML.AbstractRequirement.text.defaultValue0" value=""/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.AbstractRequirement.tracedTo" name="tracedTo" isDerived="true"> + <ownedComment xmi:id="SysML.AbstractRequirement.tracedTo._comment0"> + <body>Derived from all elements that are the client of a «trace» relationship for which this requirement is a supplier.</body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.AbstractRequirement.tracedTo.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.AbstractRequirement.tracedTo.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.AbstractRequirement.verifiedBy" name="verifiedBy" isDerived="true"> + <ownedComment xmi:id="SysML.AbstractRequirement.verifiedBy._comment0"> + <body>Derived from all elements that are the client of a «verify» relationship for which this requirement is a supplier.</body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.AbstractRequirement.verifiedBy.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.AbstractRequirement.verifiedBy.upperValue0" value="*"/> + </ownedAttribute> + <icon xmi:id="__KfCh_XoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/AbstractRequirement.gif"> + <eAnnotations xmi:id="__KfpkPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KfpkfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KfpkvXoEeeFOavjQCI5eQ" key="image_name_key" value="AbstractRequirement"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Verify" name="Verify"> + <ownedComment xmi:id="SysML.Verify._comment0"> + <body>A Verify relationship is a dependency between a requirement and a test case or other model element that can determine whether a system fulfills the requirement. As with other dependencies, the arrow direction points from the (client) element to the (supplier) requirement.</body> + </ownedComment> + <generalization xmi:id="SysML.Verify._generalization.SysML.Trace" general="SysML.Trace" isSubstitutable="false"/> + <ownedOperation xmi:id="SysML.Verify.getVerifies_NamedElement" name="getVerifies" isStatic="true" bodyCondition="SysML.Verify.getVerifies_NamedElement._rule.getVerifies_body" isQuery="true"> + <ownedRule xmi:id="SysML.Verify.getVerifies_NamedElement._rule.getVerifies_body" name="getVerifies_body"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="SysML.Verify.getVerifies_NamedElement._rule.getVerifies_body.getVerifies_body_specification" name="getVerifies_body_specification" type="SysML.AbstractRequirement"> + <language>OCL</language> + <body>Verify.allInstances()-&gt;select(base_Abstraction.client=ref).base_Abstraction.supplier</body> + </specification> + </ownedRule> + <ownedParameter xmi:id="SysML.Verify.getVerifies_NamedElement.ref" name="ref" effect="create"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> + </ownedParameter> + <ownedParameter xmi:id="SysML.Verify.getVerifies_NamedElement.result" name="result" type="SysML.AbstractRequirement" direction="return" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Verify.getVerifies_NamedElement.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Verify.getVerifies_NamedElement.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <icon xmi:id="__Kfpk_XoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Verify.gif"> + <eAnnotations xmi:id="__KfplPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KfplfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KfplvXoEeeFOavjQCI5eQ" key="image_name_key" value="Verify"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_TestCase_base_Operation" name="E_extension_TestCase_base_Operation" memberEnd="SysML.E_extension_TestCase_base_Operation.extension_TestCase SysML.TestCase.base_Operation" navigableOwnedEnd="SysML.E_extension_TestCase_base_Operation.extension_TestCase"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_TestCase_base_Operation.extension_TestCase" name="extension_TestCase" type="SysML.TestCase" association="SysML.E_extension_TestCase_base_Operation"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_TestCase_base_Operation.extension_TestCase.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Requirement_base_Class" name="E_extension_Requirement_base_Class" memberEnd="SysML.E_extension_Requirement_base_Class.extension_Requirement SysML.Requirement.base_Class" navigableOwnedEnd="SysML.E_extension_Requirement_base_Class.extension_Requirement"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Requirement_base_Class.extension_Requirement" name="extension_Requirement" type="SysML.Requirement" association="SysML.E_extension_Requirement_base_Class"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Requirement_base_Class.extension_Requirement.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Refine" name="Refine"> + <generalization xmi:id="SysML.Refine._generalization.SysML.DirectedRelationshipPropertyPath" general="SysML.DirectedRelationshipPropertyPath"/> + <ownedAttribute xmi:id="SysML.Refine.base_Abstraction" name="base_Abstraction" association="SysML.E_extension_Refine_base_Abstraction"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Abstraction"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Refine.base_Abstraction.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Refine.base_Abstraction.upperValue0" value="1"/> + <redefinedProperty href="#SysML.DirectedRelationshipPropertyPath.base_DirectedRelationship"/> + <redefinedProperty href="pathmap://UML_PROFILES/Standard.profile.uml#Refine-base_Abstraction"/> + </ownedAttribute> + <ownedOperation xmi:id="SysML.Refine.getRefines_NamedElement" name="getRefines" isStatic="true" bodyCondition="SysML.Refine.getRefines_NamedElement._rule.getRefines_body" isQuery="true"> + <ownedRule xmi:id="SysML.Refine.getRefines_NamedElement._rule.getRefines_body" name="getRefines_body"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="SysML.Refine.getRefines_NamedElement._rule.getRefines_body.getRefines_body_specification" name="getRefines_body_specification" type="SysML.AbstractRequirement"> + <language>OCL</language> + <body>Refine.allInstances()-&gt;select(base_Abstraction.client=ref).base_Abstraction.supplier</body> + </specification> + </ownedRule> + <ownedParameter xmi:id="SysML.Refine.getRefines_NamedElement.ref" name="ref" effect="create"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> + </ownedParameter> + <ownedParameter xmi:id="SysML.Refine.getRefines_NamedElement.result" name="result" type="SysML.AbstractRequirement" direction="return" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Refine.getRefines_NamedElement.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Refine.getRefines_NamedElement.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <icon xmi:id="__KgQoPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Refine.gif"> + <eAnnotations xmi:id="__KgQofXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KgQovXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KgQo_XoEeeFOavjQCI5eQ" key="image_name_key" value="Refine"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Satisfy" name="Satisfy"> + <ownedComment xmi:id="SysML.Satisfy._comment0"> + <body>A Satisfy relationship is a dependency between a requirement and a model element that fulfills the requirement. As with other dependencies, the arrow direction points from the satisfying (client) model element to the (supplier) requirement that is satisfied.</body> + </ownedComment> + <generalization xmi:id="SysML.Satisfy._generalization.SysML.Trace" general="SysML.Trace"/> + <ownedOperation xmi:id="SysML.Satisfy.getSatisfies_NamedElement" name="getSatisfies" isStatic="true" bodyCondition="SysML.Satisfy.getSatisfies_NamedElement._rule.getSatisfies_body" isQuery="true"> + <ownedRule xmi:id="SysML.Satisfy.getSatisfies_NamedElement._rule.getSatisfies_body" name="getSatisfies_body"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="SysML.Satisfy.getSatisfies_NamedElement._rule.getSatisfies_body.getSatisfies_body_specification" name="getSatisfies_body_specification" type="SysML.AbstractRequirement"> + <language>OCL</language> + <body>Satisfy.allInstances()-&gt;select(base_Abstraction.client=ref).base_Abstraction.supplier</body> + </specification> + </ownedRule> + <ownedParameter xmi:id="SysML.Satisfy.getSatisfies_NamedElement.ref" name="ref" effect="create"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> + </ownedParameter> + <ownedParameter xmi:id="SysML.Satisfy.getSatisfies_NamedElement.result" name="result" type="SysML.AbstractRequirement" direction="return" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Satisfy.getSatisfies_NamedElement.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Satisfy.getSatisfies_NamedElement.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <icon xmi:id="__KgQpPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Satisfy.gif"> + <eAnnotations xmi:id="__KgQpfXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KgQpvXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KgQp_XoEeeFOavjQCI5eQ" key="image_name_key" value="Satisfy"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.TestCase" name="TestCase"> + <ownedComment xmi:id="SysML.TestCase._comment0"> + <body>A test case is a method for verifying a requirement is satisfied.</body> + </ownedComment> + <ownedAttribute xmi:id="SysML.TestCase.base_Behavior" name="base_Behavior" association="SysML.E_extension_TestCase_base_Behavior"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Behavior"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.TestCase.base_Behavior.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.TestCase.base_Operation" name="base_Operation" association="SysML.E_extension_TestCase_base_Operation"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Operation"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.TestCase.base_Operation.lowerValue0"/> + </ownedAttribute> + <icon xmi:id="__KgQqPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/TestCase.gif"> + <eAnnotations xmi:id="__KgQqfXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__Kg3sPXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__Kg3sfXoEeeFOavjQCI5eQ" key="image_name_key" value="TestCase"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Requirement" name="Requirement"> + <ownedComment xmi:id="SysML.Requirement._comment0"> + <body> A requirement specifies a capability or condition that must (or should) be satisfied. A requirement may specify a function that a system must perform or a performance condition that a system must satisfy. Requirements are used to establish a contract between the customer (or other stakeholder) and those responsible for designing and implementing the system. </body> + </ownedComment> + <generalization xmi:id="SysML.Requirement._generalization.SysML.AbstractRequirement" general="SysML.AbstractRequirement"/> + <ownedAttribute xmi:id="SysML.Requirement.base_Class" name="base_Class" redefinedProperty="SysML.AbstractRequirement.base_NamedElement" association="SysML.E_extension_Requirement_base_Class"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Requirement.base_Class.lowerValue0" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Requirement.base_Class.upperValue0" value="1"/> + </ownedAttribute> + <icon xmi:id="__Kg3svXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Requirement.gif"> + <eAnnotations xmi:id="__Kg3s_XoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__Kg3tPXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__Kg3tfXoEeeFOavjQCI5eQ" key="image_name_key" value="Requirement"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_TestCase_base_Behavior" name="E_extension_TestCase_base_Behavior" memberEnd="SysML.E_extension_TestCase_base_Behavior.extension_TestCase SysML.TestCase.base_Behavior" navigableOwnedEnd="SysML.E_extension_TestCase_base_Behavior.extension_TestCase"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_TestCase_base_Behavior.extension_TestCase" name="extension_TestCase" type="SysML.TestCase" association="SysML.E_extension_TestCase_base_Behavior"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_TestCase_base_Behavior.extension_TestCase.lowerValue0"/> + </ownedEnd> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="SysML.ModelElements" name="ModelElements"> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Conform" name="Conform"> + <ownedComment xmi:id="SysML.Conform._comment0"> + <body> A Conform relationship is a dependency between a view and a viewpoint. The view conforms to the specified rules and conventions detailed in the viewpoint. Conform is a specialization of the UML dependency, and as with other dependencies the arrow direction points from the (client/source) to the (supplier/target). </body> + </ownedComment> + <ownedAttribute xmi:id="SysML.Conform.base_Generalization" name="base_Generalization" association="SysML.E_extension_Conform_base_Generalization"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Generalization"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Conform.base_Generalization.lowerValue0"/> + </ownedAttribute> + <icon xmi:id="__Kg3tvXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Conform.gif"> + <eAnnotations xmi:id="__Kg3t_XoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__Kg3uPXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__Kg3ufXoEeeFOavjQCI5eQ" key="image_name_key" value="Conform"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Expose_base_Dependency" name="E_extension_Expose_base_Dependency" memberEnd="SysML.Expose.base_Dependency SysML.E_extension_Expose_base_Dependency.extension_Expose" navigableOwnedEnd="SysML.E_extension_Expose_base_Dependency.extension_Expose"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Expose_base_Dependency.extension_Expose" name="extension_Expose" type="SysML.Expose" association="SysML.E_extension_Expose_base_Dependency"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Expose_base_Dependency.extension_Expose.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Problem" name="Problem"> + <ownedComment xmi:id="SysML.Problem._comment0"> + <body> A Problem documents a deficiency, limitation, or failure of one or more model elements to satisfy a requirement or need, or other undesired outcome. It may be used to capture problems identified during analysis, design, verification, or manufacture and associate the problem with the relevant model elements. Problem is a stereotype of comment and may be attached to any other model element in the same manner as a comment. </body> + </ownedComment> + <ownedAttribute xmi:id="SysML.Problem.base_Comment" name="base_Comment" association="SysML.E_extension_Problem_base_Comment"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Comment"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Problem.base_Comment.lowerValue0"/> + </ownedAttribute> + <icon xmi:id="__Kg3uvXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Problem.gif"> + <eAnnotations xmi:id="__KhewPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KhewfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KhewvXoEeeFOavjQCI5eQ" key="image_name_key" value="Problem"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Viewpoint_base_Class" name="E_extension_Viewpoint_base_Class" memberEnd="SysML.E_extension_Viewpoint_base_Class.extension_Viewpoint SysML.Viewpoint.base_Class" navigableOwnedEnd="SysML.E_extension_Viewpoint_base_Class.extension_Viewpoint"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Viewpoint_base_Class.extension_Viewpoint" name="extension_Viewpoint" type="SysML.Viewpoint" association="SysML.E_extension_Viewpoint_base_Class"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Viewpoint_base_Class.extension_Viewpoint.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Viewpoint" name="Viewpoint"> + <ownedComment xmi:id="SysML.Viewpoint._comment0"> + <body> A Viewpoint is a specification of the conventions and rules for constructing and using a view for the purpose of addressing a set of stakeholder concerns. The languages and methods for specifying a view may reference languages and methods in another viewpoint. They specify the elements expected to be represented in the view, and may be formally or informally defined. For example, the security viewpoint may require the security requirements, security functional and physical architecture, and security test cases. </body> + </ownedComment> + <ownedAttribute xmi:id="SysML.Viewpoint.base_Class" name="base_Class" association="SysML.E_extension_Viewpoint_base_Class"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Viewpoint.base_Class.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.Viewpoint.concern" name="concern" isDerived="true"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Viewpoint.concern.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Viewpoint.concern.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.Viewpoint.concernList" name="concernList"> + <ownedComment xmi:id="SysML.Viewpoint.concernList._comment0"> + <body>The interest of the stakeholders.</body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Comment"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Viewpoint.concernList.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Viewpoint.concernList.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.Viewpoint.language" name="language"> + <ownedComment xmi:id="SysML.Viewpoint.language._comment0"> + <body>The languages used to construct the viewpoint.</body> + </ownedComment> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Viewpoint.language.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Viewpoint.language.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.Viewpoint.method" name="method" isDerived="true"> + <ownedComment xmi:id="SysML.Viewpoint.method._comment0"> + <body>The methods used to construct the views for this viewpoint.</body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Behavior"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Viewpoint.method.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Viewpoint.method.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.Viewpoint.presentation" name="presentation"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Viewpoint.presentation.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Viewpoint.presentation.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.Viewpoint.purpose" name="purpose"> + <ownedComment xmi:id="SysML.Viewpoint.purpose._comment0"> + <body>The purpose addresses the stakeholder concerns.</body> + </ownedComment> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.Viewpoint.stakeholder" name="stakeholder" type="SysML.Stakeholder"> + <ownedComment xmi:id="SysML.Viewpoint.stakeholder._comment0"> + <body>Set of stakeholders.</body> + </ownedComment> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Viewpoint.stakeholder.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Viewpoint.stakeholder.upperValue0" value="*"/> + </ownedAttribute> + <icon xmi:id="__Khew_XoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Viewpoint.gif"> + <eAnnotations xmi:id="__KhexPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KhexfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KhexvXoEeeFOavjQCI5eQ" key="image_name_key" value="Viewpoint"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Rationale" name="Rationale"> + <ownedComment xmi:id="SysML.Rationale._comment0"> + <body> A Rationale documents the justification for decisions and the requirements, design, and other decisions. A Rationale can be attached to any model element including relationships. It allows the user, for example, to specify a rationale that may reference more detailed documentation such as a trade study or analysis report. Rationale is a stereotype of comment and may be attached to any other model element in the same manner as a comment. </body> + </ownedComment> + <ownedAttribute xmi:id="SysML.Rationale.base_Comment" name="base_Comment" association="SysML.E_extension_Rationale_base_Comment"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Comment"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Rationale.base_Comment.lowerValue0"/> + </ownedAttribute> + <icon xmi:id="__Khex_XoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Rationale.gif"> + <eAnnotations xmi:id="__KheyPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KheyfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KheyvXoEeeFOavjQCI5eQ" key="image_name_key" value="Rationale"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Rationale_base_Comment" name="E_extension_Rationale_base_Comment" memberEnd="SysML.E_extension_Rationale_base_Comment.extension_Rationale SysML.Rationale.base_Comment" navigableOwnedEnd="SysML.E_extension_Rationale_base_Comment.extension_Rationale"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Rationale_base_Comment.extension_Rationale" name="extension_Rationale" type="SysML.Rationale" association="SysML.E_extension_Rationale_base_Comment"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Rationale_base_Comment.extension_Rationale.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Conform_base_Generalization" name="E_extension_Conform_base_Generalization" memberEnd="SysML.Conform.base_Generalization SysML.E_extension_Conform_base_Generalization.extension_Conform" navigableOwnedEnd="SysML.E_extension_Conform_base_Generalization.extension_Conform"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Conform_base_Generalization.extension_Conform" name="extension_Conform" type="SysML.Conform" association="SysML.E_extension_Conform_base_Generalization"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Conform_base_Generalization.extension_Conform.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Expose" name="Expose"> + <ownedAttribute xmi:id="SysML.Expose.base_Dependency" name="base_Dependency" association="SysML.E_extension_Expose_base_Dependency"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Dependency"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Expose.base_Dependency.lowerValue0"/> + </ownedAttribute> + <icon xmi:id="__KiF0PXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Expose.gif"> + <eAnnotations xmi:id="__KiF0fXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KiF0vXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KiF0_XoEeeFOavjQCI5eQ" key="image_name_key" value="Expose"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_ElementGroup_base_Comment" name="E_extension_ElementGroup_base_Comment" memberEnd="SysML.ElementGroup.base_Comment SysML.E_extension_ElementGroup_base_Comment.extension_ElementGroup" navigableOwnedEnd="SysML.E_extension_ElementGroup_base_Comment.extension_ElementGroup"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_ElementGroup_base_Comment.extension_ElementGroup" name="extension_ElementGroup" type="SysML.ElementGroup" association="SysML.E_extension_ElementGroup_base_Comment"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_ElementGroup_base_Comment.extension_ElementGroup.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Stakeholder_base_Classifier" name="E_extension_Stakeholder_base_Classifier" memberEnd="SysML.Stakeholder.base_Classifier SysML.E_extension_Stakeholder_base_Classifier.extension_Stakeholder" navigableOwnedEnd="SysML.E_extension_Stakeholder_base_Classifier.extension_Stakeholder"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Stakeholder_base_Classifier.extension_Stakeholder" name="extension_Stakeholder" type="SysML.Stakeholder" association="SysML.E_extension_Stakeholder_base_Classifier"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Stakeholder_base_Classifier.extension_Stakeholder.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.View" name="View"> + <ownedComment xmi:id="SysML.View._comment0"> + <body>A View is a representation of a whole system or subsystem from the perspective of a single viewpoint. Views are allowed to import other elements including other packages and other views that conform to the viewpoint.</body> + </ownedComment> + <ownedAttribute xmi:id="SysML.View.base_Class" name="base_Class" association="SysML.E_extension_View_base_Class"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.View.base_Class.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.View.stakeholder" name="stakeholder" type="SysML.Stakeholder" isDerived="true"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.View.stakeholder.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.View.stakeholder.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.View.viewPoint" name="viewPoint" type="SysML.Viewpoint" isDerived="true"> + <ownedComment xmi:id="SysML.View.viewPoint._comment0"> + <body>The viewpoint for this View, derived from the supplier of the «conform» dependency whose client is this View.</body> + </ownedComment> + </ownedAttribute> + <icon xmi:id="__KiF1PXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/View.gif"> + <eAnnotations xmi:id="__KiF1fXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KiF1vXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KiF1_XoEeeFOavjQCI5eQ" key="image_name_key" value="View"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Problem_base_Comment" name="E_extension_Problem_base_Comment" memberEnd="SysML.E_extension_Problem_base_Comment.extension_Problem SysML.Problem.base_Comment" navigableOwnedEnd="SysML.E_extension_Problem_base_Comment.extension_Problem"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Problem_base_Comment.extension_Problem" name="extension_Problem" type="SysML.Problem" association="SysML.E_extension_Problem_base_Comment"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Problem_base_Comment.extension_Problem.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Stakeholder" name="Stakeholder"> + <ownedAttribute xmi:id="SysML.Stakeholder.base_Classifier" name="base_Classifier" association="SysML.E_extension_Stakeholder_base_Classifier"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Classifier"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Stakeholder.base_Classifier.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.Stakeholder.concern" name="concern" isDerived="true"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Stakeholder.concern.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Stakeholder.concern.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.Stakeholder.concernList" name="concernList"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Comment"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Stakeholder.concernList.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Stakeholder.concernList.upperValue0" value="*"/> + </ownedAttribute> + <icon xmi:id="__KiF2PXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Stakeholder.gif"> + <eAnnotations xmi:id="__KiF2fXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KiF2vXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KiF2_XoEeeFOavjQCI5eQ" key="image_name_key" value="Stakeholder"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_View_base_Class" name="E_extension_View_base_Class" memberEnd="SysML.View.base_Class SysML.E_extension_View_base_Class.extension_View" navigableOwnedEnd="SysML.E_extension_View_base_Class.extension_View"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_View_base_Class.extension_View" name="extension_View" type="SysML.View" association="SysML.E_extension_View_base_Class"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_View_base_Class.extension_View.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.ElementGroup" name="ElementGroup"> + <ownedAttribute xmi:id="SysML.ElementGroup.base_Comment" name="base_Comment" association="SysML.E_extension_ElementGroup_base_Comment"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Comment"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ElementGroup.base_Comment.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.ElementGroup.criterion" name="criterion" isDerived="true"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.ElementGroup.member" name="member" isDerived="true"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ElementGroup.member.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.ElementGroup.member.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.ElementGroup.name" name="name"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.ElementGroup.orderedMemeber" name="orderedMemeber" isOrdered="true" subsettedProperty="SysML.ElementGroup.member"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ElementGroup.orderedMemeber.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.ElementGroup.orderedMemeber.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.ElementGroup.size" name="size" isDerived="true"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Integer"/> + </ownedAttribute> + <ownedOperation xmi:id="SysML.ElementGroup.allGroups_Element" name="allGroups" isStatic="true" isQuery="true"> + <ownedParameter xmi:id="SysML.ElementGroup.allGroups_Element.e" name="e" effect="create"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> + </ownedParameter> + <ownedParameter xmi:id="SysML.ElementGroup.allGroups_Element.result" name="result" type="SysML.ElementGroup" direction="return" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ElementGroup.allGroups_Element.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.ElementGroup.allGroups_Element.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:id="SysML.ElementGroup.criterion_" name="criterion" isQuery="true"> + <ownedParameter xmi:id="SysML.ElementGroup.criterion_.result" name="result" direction="return" effect="create"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ElementGroup.criterion_.result.lowerValue0"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:id="SysML.ElementGroup.member_" name="member" isQuery="true"> + <ownedParameter xmi:id="SysML.ElementGroup.member_.result" name="result" direction="return" effect="create"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ElementGroup.member_.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.ElementGroup.member_.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:id="SysML.ElementGroup.size_" name="size" isQuery="true"> + <ownedParameter xmi:id="SysML.ElementGroup.size_.result" name="result" direction="return" effect="create"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Integer"/> + </ownedParameter> + </ownedOperation> + <icon xmi:id="__Kis4PXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ElementGroup.gif"> + <eAnnotations xmi:id="__Kis4fXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__Kis4vXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__Kis4_XoEeeFOavjQCI5eQ" key="image_name_key" value="ElementGroup"/> + </eAnnotations> + </icon> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="SysML.DeprecatedElements" name="DeprecatedElements"> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_FlowPort_base_Port" name="E_extension_FlowPort_base_Port" memberEnd="SysML.E_extension_FlowPort_base_Port.extension_FlowPort SysML.FlowPort.base_Port" navigableOwnedEnd="SysML.E_extension_FlowPort_base_Port.extension_FlowPort"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_FlowPort_base_Port.extension_FlowPort" name="extension_FlowPort" type="SysML.FlowPort" association="SysML.E_extension_FlowPort_base_Port"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_FlowPort_base_Port.extension_FlowPort.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_FlowSpecification_base_Interface" name="E_extension_FlowSpecification_base_Interface" memberEnd="SysML.E_extension_FlowSpecification_base_Interface.extension_FlowSpecification SysML.FlowSpecification.base_Interface" navigableOwnedEnd="SysML.E_extension_FlowSpecification_base_Interface.extension_FlowSpecification"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_FlowSpecification_base_Interface.extension_FlowSpecification" name="extension_FlowSpecification" type="SysML.FlowSpecification" association="SysML.E_extension_FlowSpecification_base_Interface"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_FlowSpecification_base_Interface.extension_FlowSpecification.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.FlowPort" name="FlowPort"> + <ownedComment xmi:id="SysML.FlowPort._comment0"> + <body> A FlowPort is an interaction point through which input and/or output of items such as data, material, or energy may flow. This enables the owning block to declare which items it may exchange with its environment and the interaction points through which the exchange is made. We distinguish between atomic flow port and a nonatomic flow port. Atomic flow ports relay items that are classified by a single Block, ValueType, DataType, or Signal classifier. A nonatomic flow port relays items of several types as specified by a FlowSpecification. Flow ports and associated flow specifications define “what can flow” between the block and its environment, whereas item flows specify “what does flow” in a specific usage context. Flow ports relay items to their owning block or to a connector that connects them with their owner’s internal parts (internal connector). </body> + </ownedComment> + <ownedAttribute xmi:id="SysML.FlowPort.base_Port" name="base_Port" association="SysML.E_extension_FlowPort_base_Port"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.FlowPort.direction" name="direction" type="SysML_dataType.FlowDirection"> + <ownedComment xmi:id="SysML.FlowPort.direction._comment0"> + <body> Indicates the direction in which an atomic flow port relays its items. If the direction is set to “in,” then the items are relayed from an external connector via the flow port into the flow port’s owner (or one of its parts). If the direction is set to “out,” then the items are relayed from the flow port’s owner, via the flow port, through an external connector attached to the flow port. If the direction is set to “inout,” then items can flow both ways. By default, the value is inout. </body> + </ownedComment> + <defaultValue xmi:type="uml:InstanceValue" xmi:id="SysML.FlowPort.direction.defaultValue0" instance="SysML.inout"/> + </ownedAttribute> + <ownedAttribute xmi:id="SysML.FlowPort.isAtomic" name="isAtomic" isDerived="true"> + <ownedComment xmi:id="SysML.FlowPort.isAtomic._comment0"> + <body>This is a derived attribute (derived from the flow port’s type). For a flow port typed by a flow specification the value of this attribute is False, otherwise the value is True.</body> + </ownedComment> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> + </ownedAttribute> + <ownedOperation xmi:id="_mpjzUPFnEeefg-uwXxvTkQ" name="getIcon"> + <ownedParameter xmi:id="_mpjzUfFnEeefg-uwXxvTkQ" name="img" direction="return"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Image"/> + </ownedParameter> + </ownedOperation> + <icon xmi:id="_mpjzUvFnEeefg-uwXxvTkQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowPort_IN.gif"> + <eAnnotations xmi:id="_mpjzU_FnEeefg-uwXxvTkQ" source="image_papyrus"> + <details xmi:id="_mpjzVPFnEeefg-uwXxvTkQ" key="image_kind_key" value="icon"/> + <details xmi:id="_mpjzVfFnEeefg-uwXxvTkQ" key="image_name_key" value="FlowPort_IN"/> + </eAnnotations> + </icon> + <icon xmi:id="_mpjzVvFnEeefg-uwXxvTkQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowPort_OUT.gif"> + <eAnnotations xmi:id="_mpjzV_FnEeefg-uwXxvTkQ" source="image_papyrus"> + <details xmi:id="_mpjzWPFnEeefg-uwXxvTkQ" key="image_kind_key" value="icon"/> + <details xmi:id="_mpjzWfFnEeefg-uwXxvTkQ" key="image_name_key" value="FlowPort_OUT"/> + </eAnnotations> + </icon> + <icon xmi:id="_mpjzWvFnEeefg-uwXxvTkQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowPort_INOUT.gif"> + <eAnnotations xmi:id="_mpjzW_FnEeefg-uwXxvTkQ" source="image_papyrus"> + <details xmi:id="_mpjzXPFnEeefg-uwXxvTkQ" key="image_kind_key" value="icon"/> + <details xmi:id="_mpjzXfFnEeefg-uwXxvTkQ" key="image_name_key" value="FlowPort_INOUT"/> + </eAnnotations> + </icon> + <icon xmi:id="_mpjzXvFnEeefg-uwXxvTkQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowPort_NA.gif"> + <eAnnotations xmi:id="_mpjzX_FnEeefg-uwXxvTkQ" source="image_papyrus"> + <details xmi:id="_mpjzYPFnEeefg-uwXxvTkQ" key="image_kind_key" value="icon"/> + <details xmi:id="_mpjzYfFnEeefg-uwXxvTkQ" key="image_name_key" value="FlowPort_NA"/> + </eAnnotations> + </icon> + <icon xmi:id="_mpjzYvFnEeefg-uwXxvTkQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowPort.gif"> + <eAnnotations xmi:id="_mpjzY_FnEeefg-uwXxvTkQ" source="image_papyrus"> + <details xmi:id="_mpjzZPFnEeefg-uwXxvTkQ" key="image_kind_key" value="icon"/> + <details xmi:id="_mpjzZfFnEeefg-uwXxvTkQ" key="image_name_key" value="FlowPort"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.FlowSpecification" name="FlowSpecification"> + <ownedComment xmi:id="SysML.FlowSpecification._comment0"> + <body>A FlowSpecification specifies inputs and outputs as a set of flow properties. A flow specification is used by flow ports to specify what items can flow via the port.</body> + </ownedComment> + <ownedAttribute xmi:id="SysML.FlowSpecification.base_Interface" name="base_Interface" association="SysML.E_extension_FlowSpecification_base_Interface"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Interface"/> + </ownedAttribute> + <ownedOperation xmi:id="_n_N-sPFnEeefg-uwXxvTkQ" name="getFlowProperties"> + <ownedParameter xmi:id="_n_N-sfFnEeefg-uwXxvTkQ" name="flowProperties" direction="return"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_n_N-svFnEeefg-uwXxvTkQ"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_n_N-s_FnEeefg-uwXxvTkQ" value="*"/> + </ownedParameter> + </ownedOperation> + <icon xmi:id="_n_OlwPFnEeefg-uwXxvTkQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowSpecification.gif"> + <eAnnotations xmi:id="_n_OlwfFnEeefg-uwXxvTkQ" source="image_papyrus"> + <details xmi:id="_n_OlwvFnEeefg-uwXxvTkQ" key="image_kind_key" value="icon"/> + </eAnnotations> + </icon> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="SysML.ConstraintBlocks" name="ConstraintBlocks"> + <packageImport xmi:id="SysML.ConstraintBlocks._packageImport.SysML.Blocks" importedPackage="SysML.Blocks"/> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_ConstraintBlock_base_Class" name="E_extension_ConstraintBlock_base_Class" memberEnd="SysML.E_extension_ConstraintBlock_base_Class.extension_ConstraintBlock SysML.ConstraintBlock.base_Class" navigableOwnedEnd="SysML.E_extension_ConstraintBlock_base_Class.extension_ConstraintBlock"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_ConstraintBlock_base_Class.extension_ConstraintBlock" name="extension_ConstraintBlock" type="SysML.ConstraintBlock" association="SysML.E_extension_ConstraintBlock_base_Class"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_ConstraintBlock_base_Class.extension_ConstraintBlock.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.ConstraintBlock" name="ConstraintBlock"> + <ownedComment xmi:id="SysML.ConstraintBlock._comment0"> + <body> A constraint block is a block that packages the statement of a constraint so it may be applied in a reusable way to constrain properties of other blocks. A constraint block typically defines one or more constraint parameters, which are bound to properties of other blocks in a surrounding context where the constraint is used. Binding connectors, as defined in Chapter 8: Blocks, are used to bind each parameter of the constraint block to a property in the surrounding context. All properties of a constraint block are constraint parameters, with the exception of constraint properties that hold internally nested usages of other constraint blocks. </body> + </ownedComment> + <generalization xmi:id="SysML.ConstraintBlock._generalization.SysML.Block" general="SysML.Block" isSubstitutable="false"/> + <ownedAttribute xmi:id="SysML.ConstraintBlock.base_Class" name="base_Class" association="SysML.E_extension_ConstraintBlock_base_Class"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ConstraintBlock.base_Class.lowerValue0"/> + </ownedAttribute> + <ownedOperation xmi:id="_Z_HhAPFnEeefg-uwXxvTkQ" name="getParameters"> + <ownedParameter xmi:id="_Z_HhAfFnEeefg-uwXxvTkQ" name="parameters" direction="return"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Z_HhAvFnEeefg-uwXxvTkQ"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_Z_HhA_FnEeefg-uwXxvTkQ" value="*"/> + </ownedParameter> + </ownedOperation> + <icon xmi:id="__KjT8PXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ConstraintBlock.gif"> + <eAnnotations xmi:id="__KjT8fXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:id="__KjT8vXoEeeFOavjQCI5eQ" key="image_kind_key" value="icons"/> + <details xmi:id="__KjT8_XoEeeFOavjQCI5eQ" key="image_name_key" value="ConstraintBlock"/> + </eAnnotations> + </icon> + </packagedElement> + </packagedElement> + <profileApplication xmi:id="SysML._profileApplication.StandardProfile"> + <appliedProfile href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/> + </profileApplication> + </uml:Profile> + <Ecore:EPackage xmi:id="_dZfREJvkEeSpx5CUmLYZ-g" base_Package="SysML.Blocks" packageName="blocks" nsPrefix="Blocks" nsURI="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Blocks" basePackage="org.eclipse.papyrus.sysml" prefix="Blocks"/> + <Ecore:EPackage xmi:id="_fGLcYJvkEeSpx5CUmLYZ-g" base_Package="SysML.PortsAndFlows" packageName="portsandflows" nsPrefix="PortsAndFlows" nsURI="http://www.eclipse.org/papyrus/sysml/1.5/SysML/PortsAndFlows" basePackage="org.eclipse.papyrus.sysml" prefix="Portsandflows"/> + <Ecore:EPackage xmi:id="_fya3UJvkEeSpx5CUmLYZ-g" base_Package="SysML.Activities" packageName="activities" nsPrefix="Activities" nsURI="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Activities" basePackage="org.eclipse.papyrus.sysml" prefix="Activities"/> + <Ecore:EPackage xmi:id="_gQxnQJvkEeSpx5CUmLYZ-g" base_Package="SysML.ModelElements" packageName="modelelements" nsPrefix="ModelElements" nsURI="http://www.eclipse.org/papyrus/sysml/1.5/SysML/ModelElements" basePackage="org.eclipse.papyrus.sysml" prefix="Modelelements"/> + <Ecore:EPackage xmi:id="_g0eKMJvkEeSpx5CUmLYZ-g" base_Package="SysML.ConstraintBlocks" packageName="constraintblocks" nsPrefix="ConstraintBlocks" nsURI="http://www.eclipse.org/papyrus/sysml/1.5/SysML/ConstraintBlocks" basePackage="org.eclipse.papyrus.sysml" prefix="Constraintblocks"/> + <Ecore:EPackage xmi:id="_hUK98JvkEeSpx5CUmLYZ-g" base_Package="SysML.Allocations" packageName="allocations" nsPrefix="Allocations" nsURI="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Allocations" basePackage="org.eclipse.papyrus.sysml" prefix="Allocations"/> + <Ecore:EPackage xmi:id="_hzXbYJvkEeSpx5CUmLYZ-g" base_Package="SysML.Requirements" packageName="requirements" nsPrefix="Requirements" nsURI="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Requirements" basePackage="org.eclipse.papyrus.sysml" prefix="Requirements"/> + <Ecore:EPackage xmi:id="_iUUMUJvkEeSpx5CUmLYZ-g" base_Package="SysML.DeprecatedElements" packageName="deprecatedelements" nsPrefix="DeprecatedElements" nsURI="http://www.eclipse.org/papyrus/sysml/1.5/SysML/DeprecatedElements" basePackage="org.eclipse.papyrus.sysml" prefix="Deprecatedelements"/> + <Ecore:EPackage xmi:id="_Aa0lgJvoEeSpx5CUmLYZ-g" base_Package="SysML" packageName="sysml" nsPrefix="SysML" nsURI="http://www.eclipse.org/papyrus/sysml/1.5/SysML" basePackage="org.eclipse.papyrus" prefix="SysML"/> +</xmi:XMI>
diff --git a/core/org.eclipse.papyrus.sysml14.tests/build.properties b/core/org.eclipse.papyrus.sysml.tests/build.properties similarity index 100% rename from core/org.eclipse.papyrus.sysml14.tests/build.properties rename to core/org.eclipse.papyrus.sysml.tests/build.properties
diff --git a/core/org.eclipse.papyrus.sysml.tests/plugin.properties b/core/org.eclipse.papyrus.sysml.tests/plugin.properties new file mode 100644 index 0000000..a68fcf5 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.tests/plugin.properties
@@ -0,0 +1,13 @@ +################################################################################# +# Copyright (c) 2015 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: +# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation +################################################################################## +Bundle-Name=Papyrus SysML 1.5 Profile Tests +Bundle-Description=This plug-in contains the tests for SyML profile +Bundle-Vendor=Eclipse Modeling Project \ No newline at end of file
diff --git a/core/org.eclipse.papyrus.sysml.tests/pom.xml b/core/org.eclipse.papyrus.sysml.tests/pom.xml new file mode 100644 index 0000000..168363d --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.tests/pom.xml
@@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" + xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>org.eclipse.papyrus.sysml.core</artifactId> + <groupId>org.eclipse.papyrus.sysml</groupId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.tests</artifactId> + <packaging>eclipse-test-plugin</packaging> + <name>org.eclipse.papyrus.sysml.tests</name> + <description>This plug-in contains the unit tests for SyML profile.</description> +</project>
diff --git a/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/CDOIntegration.java b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/CDOIntegration.java new file mode 100644 index 0000000..0140078 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/CDOIntegration.java
@@ -0,0 +1,134 @@ +/***************************************************************************** + * Copyright (c) 2016 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.tests; + +import org.eclipse.emf.common.util.TreeIterator; +import org.eclipse.emf.ecore.EAnnotation; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.emf.ecore.EGenericType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.papyrus.sysml.SysMLPackage; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.junit.Test; + +/** + * This class is here to check that the profile will work correctly with CDO + * The solution to have something working is: + * - adding a DummyElement in the .ecore (not in the profile) + * - it will generate the correct code + * - this test will catch any regression + * + * This is clearly not a "good" solution and is open to improvement, but: + * - avoid changing the profile (Keep the normative file) + * - avoid using/maintain a custom generator + * + */ +@SuppressWarnings("nls") +public class CDOIntegration { + + + @Test + public void testBlock() { + checkCrossResourceURIs(BlocksPackage.eINSTANCE); + checkCrossResourceURIs(SysMLPackage.eINSTANCE); + } + + // This method is copy-pasted from CDOUTIL (do not modify it) + public static void checkCrossResourceURIs(EPackage ePackage) + { + TreeIterator<EObject> it = ePackage.eAllContents(); + while (it.hasNext()) + { + EObject e = it.next(); + + if (e instanceof EAnnotation) + { + // we don't need to validate the structure of annotations. The applications that + // define annotations will have to take what they can get + it.prune(); + } + else + { + for (EObject r : e.eCrossReferences()) + { + EObject refTarget = null; + + if (r.eIsProxy()) + { + String msg = "Package '%s' contains unresolved proxy '%s'"; + msg = String.format(msg, ePackage.getNsURI(), ((InternalEObject)r).eProxyURI()); + throw new IllegalStateException(msg); + } + + if (r.eResource() != null && r.eResource() != e.eResource()) + { + // It's a ref into another resource + EPackage pkg = null; + if (r instanceof EClassifier) + { + refTarget = r; + pkg = ((EClassifier)r).getEPackage(); + } + else if (r instanceof EStructuralFeature) + { + refTarget = r; + EStructuralFeature feature = (EStructuralFeature)r; + EClass ownerClass = (EClass)feature.eContainer(); + pkg = ownerClass.getEPackage(); + } + else if (r instanceof EGenericType) + { + EGenericType genType = (EGenericType)r; + EClassifier c = genType.getEClassifier(); + if (c != null) + { + refTarget = c; + pkg = c.getEPackage(); + } + } + + if (pkg == null) + { + continue; + } + + while (pkg.getESuperPackage() != null) + { + pkg = pkg.getESuperPackage(); + } + + Resource eResource = refTarget.eResource(); + String resourceURI = eResource.getURI().toString(); + if (!resourceURI.equals(pkg.getNsURI())) + { + String msg = "URI of the resource (%s) does not match the nsURI (%s) of the top-level package;%n" + + "this can be fixed by calling Resource.setURI(URI) after loading the packages,%n" + + "or by configuring a URI mapping from nsURI's to location URI's before loading the packages,%n" + + "and then loading them with their nsURI's"; + msg = String.format(msg, resourceURI, pkg.getNsURI()); + throw new IllegalStateException(msg); + } + } + } + } + } + } + + +}
diff --git a/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/SysmlProfileTest.java b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/SysmlProfileTest.java new file mode 100644 index 0000000..abbeaa5 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/SysmlProfileTest.java
@@ -0,0 +1,45 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.tests; + +import java.util.Map; + +import org.eclipse.emf.common.util.URI; +import org.eclipse.uml2.uml.UMLPlugin; +import org.junit.Assert; +import org.junit.Test; + +/** + * Basic test for SysML profile + * + */ +@SuppressWarnings("nls") +public class SysmlProfileTest { + + /** + * Check that we have a profile registered here : + * "http://www.eclipse.org/papyrus/sysml/1.5/SysML" + */ + @Test + public void testProfilRegistration() { + Map<String, URI> ePackageNsURIToProfileLocationMap = UMLPlugin.getEPackageNsURIToProfileLocationMap(); + Assert.assertNotNull( + ePackageNsURIToProfileLocationMap.get("http://www.eclipse.org/papyrus/sysml/1.5/SysML")); + } + + + + + +}
diff --git a/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/blocks/BlockTest.java b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/blocks/BlockTest.java new file mode 100644 index 0000000..8dade8d --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/blocks/BlockTest.java
@@ -0,0 +1,158 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * + * 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: + * Francois Le Fevre (CEA LIST) francois.le-fevre@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.tests.blocks; + +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.uml2.uml.AggregationKind; +import org.eclipse.uml2.uml.Association; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; + +/** + * A test case for the model object '<em><b>Block</b></em>'. + * + * <p> + * The following features are tested: + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.Block#getReferences <em>References</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.Block#getParts <em>Parts</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.Block#getFlowProperties <em>FlowProperties</em>}</li> + * </ul> + * </p> + */ +@SuppressWarnings("nls") +public class BlockTest { + + private Block owningAgregationBlock=null; + + private Block owningCompositionBlock=null; + + private Block flowPropertiesBlock=null; + + /** + * @see junit.framework.TestCase#setUp() + */ + @Before + public void setUp() { + // Prepare Model test + Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + StereotypeApplicationHelper stereotypeApplicationHelper = StereotypeApplicationHelper.getInstance(null); + /* + * create an association + */ + Class owningAgregationBlockClass1=model.createOwnedClass("Block1", false); + owningAgregationBlock = (Block) stereotypeApplicationHelper.applyStereotype(owningAgregationBlockClass1, BlocksPackage.eINSTANCE.getBlock()); + + Class ownedBlockClass2=model.createOwnedClass("Block2", false); + stereotypeApplicationHelper.applyStereotype(ownedBlockClass2, BlocksPackage.eINSTANCE.getBlock()); + + Property p1Inblock1 = owningAgregationBlockClass1.createOwnedAttribute("P1", ownedBlockClass2); + + Association associationAgregation = UMLFactory.eINSTANCE.createAssociation(); + Property p1InAsso = associationAgregation.createOwnedEnd("P1", owningAgregationBlockClass1); + associationAgregation.getMemberEnds().add(p1Inblock1); + associationAgregation.getMemberEnds().add(p1InAsso); + + p1Inblock1.setAggregation(AggregationKind.SHARED_LITERAL); + p1InAsso.setAggregation(AggregationKind.NONE_LITERAL); + + associationAgregation.setPackage(model); + + /* + * create a composition + */ + Class owningCompositionBlockClass3 = model.createOwnedClass("Block3", false); + owningCompositionBlock = (Block) stereotypeApplicationHelper.applyStereotype(owningCompositionBlockClass3, BlocksPackage.eINSTANCE.getBlock()); + + Property p1Inblock3 = owningCompositionBlockClass3.createOwnedAttribute("P1", ownedBlockClass2); + + Association compositionAssociation = UMLFactory.eINSTANCE.createAssociation(); + Property p1InAsso3 = compositionAssociation.createOwnedEnd("P1", owningCompositionBlockClass3); + compositionAssociation.getMemberEnds().add(p1Inblock3); + compositionAssociation.getMemberEnds().add(p1InAsso3); + + p1Inblock3.setAggregation(AggregationKind.COMPOSITE_LITERAL); + p1InAsso3.setAggregation(AggregationKind.NONE_LITERAL); + + compositionAssociation.setPackage(model); + + /* + * create a flow property and add it to the Block + */ + Class flowPropertyClass = model.createOwnedClass("FPClass1", false); + flowPropertiesBlock = (Block) stereotypeApplicationHelper.applyStereotype(flowPropertyClass, BlocksPackage.eINSTANCE.getBlock()); + Property p0 = flowPropertyClass.createOwnedAttribute("p0", null); + StereotypeApplicationHelper.getInstance(null).applyStereotype(p0, PortsandflowsPackage.eINSTANCE.getFlowProperty()); + } + + /** + * Tests the '{@link org.eclipse.papyrus.sysml.blocks.Block#getReferences() + * <em>Reference</em>}' feature getter. + * @see org.eclipse.papyrus.sysml.blocks.Block#getReferences() + */ + @Test + public void testGetReferences() { + /* + * Test if association Aggregation is operational + */ + Assert.assertNotNull("References should not be null", owningAgregationBlock.getReferences()); + Assert.assertEquals("References size should be 1", 1,owningAgregationBlock.getReferences().size()); + /* + * Test if association Composition is not interfering + */ + Assert.assertNotNull("References should not be null", owningCompositionBlock.getReferences()); + Assert.assertEquals("References size should be 0", 0,owningCompositionBlock.getReferences().size()); + + } + + /** + * Tests the '{@link org.eclipse.papyrus.sysml.blocks.Block#getParts() + * <em>Part</em>}' feature getter. + * @see org.eclipse.papyrus.sysml.blocks.Block#getParts() + */ + @Test + public void testGetParts() { + /* + * Test if association Composition is not interfering + */ + Assert.assertNotNull("References should not be null", owningCompositionBlock.getParts()); + Assert.assertEquals("References size should be 1", 1,owningCompositionBlock.getParts().size()); + + } + + + /** + * Tests the '{@link org.eclipse.papyrus.sysml.blocks.Block#getFlowProperties() + * <em>FlowProperty</em>}' feature getter. + * @see org.eclipse.papyrus.sysml.blocks.Block#getFlowProperties() + */ + @Test + public void testGetFlowProperties() { + Assert.assertNotNull("FlowProperties should not be null", flowPropertiesBlock.getFlowProperties()); + Assert.assertEquals("FlowProperties size should be 1", 1, flowPropertiesBlock.getFlowProperties().size()); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/blocks/BoundReferenceTest.java b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/blocks/BoundReferenceTest.java new file mode 100644 index 0000000..c820a59 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/blocks/BoundReferenceTest.java
@@ -0,0 +1,95 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - write the test + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.tests.blocks; + + +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.blocks.BoundReference; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Connector; +import org.eclipse.uml2.uml.ConnectorEnd; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; +/** + * A test case for the model object '<em><b>BoundReference</b></em>'. + * See the requirement <b>{@papyrus.req org.eclipse.papyrus.sysml#Req016}</b>. + * <p> + * The following features are tested: + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.BoundReferenceTest#testGetBindingPath <em>BindingPath</em>}</li> + * </ul> + * </p> + */ +@SuppressWarnings("nls") +public class BoundReferenceTest { + + private BoundReference defaultBoundReference=null; + + private Property p1=null; + + /** + * @see junit.framework.TestCase#setUp() + */ + @Before + public void setUp() { + // Prepare test + Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + StereotypeApplicationHelper stereotypeApplicationHelper = StereotypeApplicationHelper.getInstance(null); + + + Class composite=model.createOwnedClass("mainComposite", false); + stereotypeApplicationHelper.applyStereotype(composite, BlocksPackage.eINSTANCE.getBlock()); + Class block1=model.createOwnedClass("Block1", false); + stereotypeApplicationHelper.applyStereotype(block1, BlocksPackage.eINSTANCE.getBlock()); + + Class block2=model.createOwnedClass("Block2", false); + stereotypeApplicationHelper.applyStereotype(block2, BlocksPackage.eINSTANCE.getBlock()); + p1 = composite.createOwnedAttribute("P1", block1); + + Property p2=composite.createOwnedAttribute("P2", block2); + defaultBoundReference = (BoundReference)stereotypeApplicationHelper.applyStereotype(p2, BlocksPackage.eINSTANCE.getBoundReference()); + + Connector connector=composite.createOwnedConnector("connector"); + stereotypeApplicationHelper.applyStereotype(connector, BlocksPackage.eINSTANCE.getBindingConnector()); + + ConnectorEnd connectorEnd1= connector.createEnd(); + connectorEnd1.setRole(p1); + stereotypeApplicationHelper.applyStereotype(connector, BlocksPackage.eINSTANCE.getNestedConnectorEnd()); + + ConnectorEnd connectorEnd2= connector.createEnd(); + connectorEnd2.setRole(p2); + defaultBoundReference.setBoundEnd(connectorEnd1); + } + /** + * Tests the '{@link org.eclipse.papyrus.sysml.blocks.BoundReference#testGetBindingPath() + * <em>BindingPath</em>}' feature getter. + * @see org.eclipse.papyrus.sysml.blocks.BoundReference#getBindingPath() + */ + @Test + public void testGetBindingPath() { + Assert.assertNotNull("bindingpath of bound reference can never be null", defaultBoundReference.getBindingPath()); + Assert.assertEquals("In this context the binding paht must be equals to 1", 1, defaultBoundReference.getBindingPath().size()); + Assert.assertTrue("The boundEnd is not contained in the BindingPath", defaultBoundReference.getBindingPath().contains(p1)); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/constraintblocks/ConstraintBlockTest.java b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/constraintblocks/ConstraintBlockTest.java new file mode 100644 index 0000000..2127b20 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/constraintblocks/ConstraintBlockTest.java
@@ -0,0 +1,86 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * + * 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: + * Francois Le Fevre (CEA LIST) francois.le-fevre@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.tests.constraintblocks; + +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.constraintblocks.ConstraintBlock; +import org.eclipse.papyrus.sysml.constraintblocks.ConstraintblocksPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; + +/** + * A test case for the model object '<em><b>Block</b></em>'. + * + * <p> + * The following features are tested: + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.constraintblocks.ConstraintBlock#getParameters <em>Parameters</em>}</li> + * </ul> + * </p> + */ +@SuppressWarnings("nls") +public class ConstraintBlockTest { + + private ConstraintBlock constraintBlock=null; + + /** + * @see junit.framework.TestCase#setUp() + */ + @Before + public void setUp() { + // Prepare Model test + Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + StereotypeApplicationHelper stereotypeApplicationHelper = StereotypeApplicationHelper.getInstance(null); + +/* Constraint blocks support a special form of compartment, with the label “parameters,” which may contain declarations for + some or all of its constraint parameters. Properties of a constraint block should be shown either in the constraints + compartment, for org eclipse uml2 create nested constraint properties, or within the parameters compartment. +*/ + + Class ownedBlockClass3=model.createOwnedClass("Block3", false); + stereotypeApplicationHelper.applyStereotype(ownedBlockClass3, BlocksPackage.eINSTANCE.getBlock()); + + //The root constraintBlock + Class constraintBlockClass = model.createOwnedClass("ConstraintBlock", false); + constraintBlock = (ConstraintBlock) stereotypeApplicationHelper.applyStereotype(constraintBlockClass, ConstraintblocksPackage.eINSTANCE.getConstraintBlock()); + + Class ownedBlockClass2=model.createOwnedClass("Block2", false); + stereotypeApplicationHelper.applyStereotype(ownedBlockClass2, BlocksPackage.eINSTANCE.getBlock()); + + //create a owned property type by a ConstraintBlock + constraintBlockClass.createOwnedAttribute("cbProperty", constraintBlockClass); + //create a owned property type by a Block + constraintBlockClass.createOwnedAttribute("uncbProperty", ownedBlockClass2); + } + + /** + * Tests the '{@link org.eclipse.papyrus.sysml.constraintblocks.ConstraintBlock#getParameters() + * <em>FlowProperty</em>}' feature getter. + * @see org.eclipse.papyrus.sysml.constraintblocks.ConstraintBlock#getParameters + */ + @Test + public void testGetParameters() { + Assert.assertNotNull("Parameters should not be null", constraintBlock.getParameters()); + Assert.assertEquals("Parameters size should be 1", 1, constraintBlock.getParameters().size()); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/deprecatedelements/FlowPortTest.java b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/deprecatedelements/FlowPortTest.java new file mode 100644 index 0000000..f42df51 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/deprecatedelements/FlowPortTest.java
@@ -0,0 +1,148 @@ +/***************************************************************************** + * Copyright (c) 2009, 2014 CEA LIST and others. + * + * + * 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: + * Yann Tanguy (CEA LIST) yann.tanguy@cea.fr - Initial API and implementation + * Christian W. Damus (CEA) - bug 422257 + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Transcode the test to SysML + *****************************************************************************/ +package org.eclipse.papyrus.sysml.tests.deprecatedelements; + +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsPackage; +import org.eclipse.papyrus.sysml.deprecatedelements.FlowPort; +import org.eclipse.papyrus.sysml.deprecatedelements.FlowPortCustomImpl; +import org.eclipse.papyrus.sysml.portsandflows.FlowDirection; +import org.eclipse.papyrus.sysml.util.DeprecatedElementUtil; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Image; +import org.eclipse.uml2.uml.Interface; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.PrimitiveType; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; + +/** + * A test case for the model object ' + * <em><b>Flow Port</b></em>'. + * <p> + * The following features are tested: + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.deprecatedelements.FlowPort#isAtomic() + * <em>Is Atomic</em>}</li> + * </ul> + * </p> + * <p> + * The following operations are tested: + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.deprecatedelements.FlowPort#getIcon() + * <em>Get Icon</em>}</li> + * </ul> + * </p> + * + */ +@SuppressWarnings("nls") +public class FlowPortTest { + + private Port p0 = null; + + private FlowPort fpDefault = null; + + private FlowPort fpOut = null; + + private FlowPort fpIn = null; + + /** + * @see junit.framework.TestCase#setUp() + */ + @Before + public void setUp() { + // Prepare test + Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + // Create classes & interface + Class c0 = model.createOwnedClass("c0", false); + Interface i2 = model.createOwnedInterface("i2"); + + // Create type + PrimitiveType ptype = model.createOwnedPrimitiveType("type"); + + // Create ports + p0 = c0.createOwnedPort("p0", null); + Port p1 = c0.createOwnedPort("p1", ptype); + Port p2 = c0.createOwnedPort("p2", i2); //$NON-NLS-1$ + + // Add FlowPort stereotypes + StereotypeApplicationHelper stereotypeApplicationHelper = StereotypeApplicationHelper.getInstance(null); + fpDefault = (FlowPort) stereotypeApplicationHelper.applyStereotype(p0, + DeprecatedelementsPackage.eINSTANCE.getFlowPort()); + + fpOut = (FlowPort) stereotypeApplicationHelper.applyStereotype(p1, + DeprecatedelementsPackage.eINSTANCE.getFlowPort()); + fpOut.setDirection(FlowDirection.OUT); + fpIn = (FlowPort) stereotypeApplicationHelper.applyStereotype(p2, + DeprecatedelementsPackage.eINSTANCE.getFlowPort()); + fpIn.setDirection(FlowDirection.IN); + + p2.setIsConjugated(true); + + // Add FlowSpecification + stereotypeApplicationHelper.applyStereotype(i2, DeprecatedelementsPackage.eINSTANCE.getFlowSpecification()); + } + + /** + * Tests the ' + * {@link org.eclipse.papyrus.sysml.deprecatedelements.FlowPort#isAtomic() + * <em>Is Atomic</em>}' feature getter. + * + * @see org.eclipse.papyrus.sysml.deprecatedelements.FlowPort#isAtomic() + */ + @Test + public void testIsAtomic() { + Assert.assertTrue("FlowPort without type is Atomic", fpDefault.isAtomic()); + Assert.assertTrue("FlowPort type is not a FlowSpecification",fpOut.isAtomic()); + Assert.assertFalse("FlowPort type is a FlowSpecification", fpIn.isAtomic()); + } + + /** + * Tests the ' + * {@link org.eclipse.papyrus.sysml.deprecatedelements.FlowPort#getIcon() <em>Get Icon</em>}' operation. + * + * @see org.eclipse.papyrus.sysml.deprecatedelements.FlowPort#getIcon() + * + */ + @Test + public void testGetIcon() { + Image imageIn = FlowPortCustomImpl.getIcons(fpIn).get("FlowPort_IN"); + Image imageOut = FlowPortCustomImpl.getIcons(fpOut).get("FlowPort_OUT"); + Image imageInOut = FlowPortCustomImpl.getIcons(fpDefault).get("FlowPort_INOUT"); + + Assert.assertEquals("A Flow property with an INOUT direction must have the INOUT image",imageInOut,fpDefault.getIcon()); + Assert.assertEquals("A Flow property with an OUT direction must have the OUT image",imageOut,fpOut.getIcon()); + Assert.assertEquals("A Flow property with an IN direction must have the IN image",imageIn,fpIn.getIcon()); + } + + /** + * Tests the ' + * {@link org.eclipse.papyrus.sysml.util.DeprecatedElementUtil#isDeprecatedElement() + * <em>Is Deprecated</em>}' feature getter. + * + * @see org.eclipse.papyrus.sysml.util.DeprecatedElementUtil#isDeprecatedElement() + */ + @Test + public void testIsDeprecated() { + Assert.assertTrue("FlowPort is deprecated", DeprecatedElementUtil.isDeprecatedElement(p0)); + Assert.assertTrue("FlowPort is deprecated", DeprecatedElementUtil.isDeprecatedElement(fpOut)); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/deprecatedelements/FlowSpecificationTest.java b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/deprecatedelements/FlowSpecificationTest.java new file mode 100644 index 0000000..48ca662 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/deprecatedelements/FlowSpecificationTest.java
@@ -0,0 +1,97 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * + * 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: + * Francois Le Fevre (CEA LIST) francois.le-fevre@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.tests.deprecatedelements; + +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsPackage; +import org.eclipse.papyrus.sysml.deprecatedelements.FlowSpecification; +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.uml2.uml.Interface; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; + +/** + * A test case for the model object '<em><b>FlowSpecification</b></em>'. + * + * <p> + * The following features are tested: + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.deprecatedelements.FlowSpecification#getFlowProperties <em>FlowProperties</em>}</li> + * </ul> + * </p> + */ +@SuppressWarnings("nls") +public class FlowSpecificationTest { + + private FlowSpecification flowSpecification=null; + + /** + * @see junit.framework.TestCase#setUp() + */ + @Before + public void setUp() { + // Prepare Model test + Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + StereotypeApplicationHelper stereotypeApplicationHelper = StereotypeApplicationHelper.getInstance(null); + /* + * create a FlowSpecification + */ + Interface flowSpecificationInterface=model.createOwnedInterface("FlowSpecification1"); + flowSpecification = (FlowSpecification) stereotypeApplicationHelper.applyStereotype(flowSpecificationInterface, DeprecatedelementsPackage.eINSTANCE.getFlowSpecification()); + + /* + * create a flow property and add it to the FlowSpecification + */ + Property property1 = flowSpecificationInterface.createOwnedAttribute("property1", null); + StereotypeApplicationHelper.getInstance(null).applyStereotype(property1, PortsandflowsPackage.eINSTANCE.getFlowProperty()); + + } + + /** + * @pap.req Flow specifications cannot own operations or receptions (they can only own FlowProperties) + */ + @Test + public void testGetOperations() { + Assert.assertEquals("Operations size should be 0", 0, flowSpecification.getBase_Interface().getAllOperations().size()); + } + + /** + * @pap.req Flow specifications cannot own operations or receptions (they can only own FlowProperties) + */ + @Test + public void testGetReceptions() { + Assert.assertEquals("Receptions size should be 0", 0, flowSpecification.getBase_Interface().getOwnedReceptions().size()); + } + + /** + * Tests the '{@link org.eclipse.papyrus.sysml.deprecatedelements.FlowSpecification#getFlowProperties() + * <em>FlowProperty</em>}' feature getter. + * @see org.eclipse.papyrus.sysml.deprecatedelements.FlowSpecification#getFlowProperties() + */ + @Test + public void testGetFlowProperties() { + Assert.assertNotNull("FlowProperties should not be null", flowSpecification.getFlowProperties()); + Assert.assertEquals("FlowProperties size should be 1", 1, flowSpecification.getFlowProperties().size()); + } + + + +}
diff --git a/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/library/QUDVTest.java b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/library/QUDVTest.java new file mode 100644 index 0000000..b62c219 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/library/QUDVTest.java
@@ -0,0 +1,44 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.tests.library; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.ecore.util.Diagnostician; +import org.eclipse.papyrus.sysml.Activator; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test the QUDV model : + * - validate the model + */ +public class QUDVTest { + + public static final String QUDV_PATH = Activator.PLUGIN_ID +"/resources/library/QUDV.uml"; //$NON-NLS-1$ + + /** + * Validate the model with the rules defined in the meta-model tooling + */ + @Test + public void validatePropertiesModel() { + URI createPlatformPluginURI = URI.createPlatformPluginURI(QUDV_PATH, true); + Resource resource = new ResourceSetImpl().getResource(createPlatformPluginURI, true); + Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); + // FIXME the model provided by OMG is raising warnings + Assert.assertEquals("The QUDV.uml model is not valid ", Diagnostic.WARNING, diagnostic.getSeverity()); //$NON-NLS-1$ + } +}
diff --git a/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/library/SysMLStandardLibraryTest.java b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/library/SysMLStandardLibraryTest.java new file mode 100644 index 0000000..db34f88 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/library/SysMLStandardLibraryTest.java
@@ -0,0 +1,44 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.tests.library; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.ecore.util.Diagnostician; +import org.eclipse.papyrus.sysml.Activator; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test the library model : + * - validate the model + * + */ +public class SysMLStandardLibraryTest { + + public static final String LIBRARY_PATH = Activator.PLUGIN_ID +"/resources/library/SysML-Standard-Library.uml"; //$NON-NLS-1$ + + /** + * Validate the model with the rules defined in the meta-model tooling + */ + @Test + public void validatePropertiesModel() { + URI createPlatformPluginURI = URI.createPlatformPluginURI(LIBRARY_PATH, true); + Resource resource = new ResourceSetImpl().getResource(createPlatformPluginURI, true); + Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); + Assert.assertEquals("The SysML-Standard-Library is not valid ", Diagnostic.OK, diagnostic.getSeverity()); //$NON-NLS-1$ + } +}
diff --git a/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/modelelements/ElementGroupTest.java b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/modelelements/ElementGroupTest.java new file mode 100644 index 0000000..71f4ec5 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/modelelements/ElementGroupTest.java
@@ -0,0 +1,102 @@ +/***************************************************************************** + * Copyright (c) 2009, 2014 CEA LIST and others. + * + * + * 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: + * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.tests.modelelements; + +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.papyrus.sysml.modelelements.ElementGroup; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Comment; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; + +/** + * A test case for the model object '<em><b>ElementGroupTest</b></em>'. + * See the requirement <b>{@papyrus.req org.eclipse.papyrus.sysml#Req014}</b>. + * <p> + * The following features are tested: + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.ElementGroup#getCriterion <em>Criterion</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.ElementGroup#getSize <em>Size</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.ElementGroup#getMember <em>Member</em>}</li> + * </ul> + * </p> + */ +@SuppressWarnings("nls") +public class ElementGroupTest { + + private static final String CRITERION = "Authored by Patrick"; + + private ElementGroup defaultElementgroup=null; + + private Class class1=null; + + private Class class2=null; + + /** + * @see junit.framework.TestCase#setUp() + */ + @Before + public void setUp() { + + // Prepare test + Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); + + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + // Create comments & class + Comment defaultComment= model.createOwnedComment(); + defaultElementgroup = (ElementGroup)StereotypeApplicationHelper.getInstance(null).applyStereotype(defaultComment, ModelelementsPackage.eINSTANCE.getElementGroup()); + defaultComment.setBody(CRITERION); + class1 = model.createOwnedClass("Class1", false); + class2 = model.createOwnedClass("Class2", false); + defaultComment.getAnnotatedElements().add(class1); + defaultComment.getAnnotatedElements().add(class2); + + + } + + /** + * Tests the '{@link org.eclipse.papyrus.sysml.modelelements.ElementGroup#getCriterion() + * <em>criterion</em>}' feature getter. + * @see org.eclipse.papyrus.sysml.modelelements.ElementGroup#getCriterion() + */ + @Test + public void testGetCriterion() { + Assert.assertEquals("The criterion of Elementgroup is badly computed, it must be equals to the body of the comment",CRITERION, defaultElementgroup.getCriterion()); + } + /** + * Tests the '{@link org.eclipse.papyrus.sysml.modelelements.ElementGroup#getSize() + * <em>Size</em>}' feature getter. + * @see org.eclipse.papyrus.sysml.modelelements.ElementGroup#getSize() + */ + @Test + public void testGetSize() { + Assert.assertEquals("Size of ElementGroup is badly computed. It must contain two elements",2,defaultElementgroup.getSize()); + } + /** + * Tests the '{@link org.eclipse.papyrus.sysml.modelelements.ElementGroup#getMember() + * <em>Member</em>}' feature getter. + * @see org.eclipse.papyrus.sysml.modelelements.ElementGroup#getMember() + */ + @Test + public void testGetMember() { + Assert.assertEquals("Member of elementGroup is badly computed, the content of the list member is not correct",class1,defaultElementgroup.getMember().get(0)); + Assert.assertEquals("Member of elementGroup is badly computed, the content of the list member is not correct",class2,defaultElementgroup.getMember().get(1)); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/modelelements/StakeholderTest.java b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/modelelements/StakeholderTest.java new file mode 100644 index 0000000..3d3611a --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/modelelements/StakeholderTest.java
@@ -0,0 +1,88 @@ +/***************************************************************************** + * Copyright (c) 2009, 2014 CEA LIST and others. + * + * + * 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: + * Patrick Tessier (CEA LIST)Patrick.tessier@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.tests.modelelements; + + + +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; +import org.eclipse.papyrus.sysml.modelelements.Stakeholder; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Comment; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; + +/** + * A test case for the model object '<em><b>Stakeholder</b></em>'. + * See the requirement <b>{@papyrus.req org.eclipse.papyrus.sysml#Req012}</b>. + * <p> + * The following features are tested: + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.StakeholderTest#testGetConcern <em>Concern</em>}</li> + * </ul> + * </p> + */ +@SuppressWarnings("nls") +public class StakeholderTest { + + private static final String THIS_IS_THE_BODY_OF_COMMENT2 = "this is the body of comment2"; + + private static final String THIS_IS_THE_BODY_OF_COMMENT1 = "this is the body of comment1"; + + private Stakeholder defaultStakeholder= null; + + /** + * @see junit.framework.TestCase#setUp() + */ + @Before + public void setUp() { + // Prepare test + Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); + + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + // Create classes & interface + Class defaultClass = model.createOwnedClass("defaultClass", false); + + // Add stakeholder stereotypes + defaultStakeholder = (Stakeholder)StereotypeApplicationHelper.getInstance(null).applyStereotype(defaultClass, ModelelementsPackage.eINSTANCE.getStakeholder()); + Comment comment1=UMLFactory.eINSTANCE.createComment(); + comment1.setBody(THIS_IS_THE_BODY_OF_COMMENT1); + model.getOwnedComments().add(comment1); + Comment comment2=UMLFactory.eINSTANCE.createComment(); + comment2.setBody(THIS_IS_THE_BODY_OF_COMMENT2); + model.getOwnedComments().add(comment2); + defaultStakeholder.getConcernList().add(comment1); + defaultStakeholder.getConcernList().add(comment2); + } + + + /** + * Tests the '{@link org.eclipse.papyrus.sysml.modelelements.Stakeholder#getConcern() + * <em>concern</em>}' feature getter. + * @see org.eclipse.papyrus.sysml.modelelements.Stakeholder#getConcern() + */ + @Test + public void testGetConcern() { + Assert.assertEquals("The derived property concern is badly calculated, the size of the list must be 2.", 2, defaultStakeholder.getConcern().size()); + Assert.assertEquals("The derived property concern is badly calculated, the body of the first comment is not at the first place",THIS_IS_THE_BODY_OF_COMMENT1,defaultStakeholder.getConcern().get(0)); + Assert.assertEquals("The derived property concern is badly calculated, the body of the second comment is not à the second place",THIS_IS_THE_BODY_OF_COMMENT2,defaultStakeholder.getConcern().get(1)); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/modelelements/ViewPointTest.java b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/modelelements/ViewPointTest.java new file mode 100644 index 0000000..33edf5c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/modelelements/ViewPointTest.java
@@ -0,0 +1,109 @@ +/***************************************************************************** + * Copyright (c) 2009, 2014 CEA LIST and others. + * + * + * 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: + * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.tests.modelelements; + +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; +import org.eclipse.papyrus.sysml.modelelements.Viewpoint; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.uml2.uml.Behavior; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Comment; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Operation; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.UMLPackage; +import org.eclipse.uml2.uml.profile.standard.StandardPackage; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; + +/** + * A test case for the model object '<em><b>ViewPoint</b></em>'. + * See the requirement <b>{@papyrus.req org.eclipse.papyrus.sysml#Req013}</b>. + * <p> + * The following features are tested: + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.Viewpoint#getConcern <em>Concern</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.Viewpoint#getMethod <em>Method</em>}</li> + * </ul> + * </p> + */ +@SuppressWarnings("nls") +public class ViewPointTest { + + private static final String THIS_IS_THE_BODY_OF_COMMENT2 = "this is the body of comment2"; + + private static final String THIS_IS_THE_BODY_OF_COMMENT1 = "this is the body of comment1"; + + private Viewpoint defaultViewpoint = null; + + private Behavior ownedBehavior = null; + + /** + * @see junit.framework.TestCase#setUp() + */ + @Before + public void setUp() { + + // Prepare test + Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); + + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + // Create classes & interface + Class defaultClass = model.createOwnedClass("defaultClass", false); + + // Add viewPoint stereotypes + StereotypeApplicationHelper stereotypeApplicationHelper = StereotypeApplicationHelper.getInstance(null); + defaultViewpoint = (Viewpoint)stereotypeApplicationHelper.applyStereotype(defaultClass, ModelelementsPackage.eINSTANCE.getViewpoint()); + Comment comment1=UMLFactory.eINSTANCE.createComment(); + comment1.setBody(THIS_IS_THE_BODY_OF_COMMENT1); + model.getOwnedComments().add(comment1); + Comment comment2=UMLFactory.eINSTANCE.createComment(); + comment2.setBody(THIS_IS_THE_BODY_OF_COMMENT2); + model.getOwnedComments().add(comment2); + defaultViewpoint.getConcernList().add(comment1); + defaultViewpoint.getConcernList().add(comment2); + Operation createOperation= UMLFactory.eINSTANCE.createOperation(); + createOperation.setName("View"); + defaultClass.getOwnedOperations().add(createOperation); + ownedBehavior = defaultClass.createOwnedBehavior("aBehavior", UMLPackage.eINSTANCE.getActivity()); + createOperation.getMethods().add(ownedBehavior); + stereotypeApplicationHelper.applyStereotype(createOperation, StandardPackage.eINSTANCE.getCreate()); + } + + /** + * Tests the '{@link org.eclipse.papyrus.sysml.modelelements.viewpoint#getConcern() + * <em>concern</em>}' feature getter. + * @see org.eclipse.papyrus.sysml.modelelements.viewpoint#getConcern() + */ + @Test + public void testGetConcern() { + Assert.assertEquals("The derived property concern is badly calculated.The size of the list must 2.", 2, defaultViewpoint.getConcern().size()); + Assert.assertEquals("The derived property concern is badly calculated. Concern must contain at the first place the body of the first comment",THIS_IS_THE_BODY_OF_COMMENT1,defaultViewpoint.getConcern().get(0)); + Assert.assertEquals("The derived property concern is badly calculated. Concern must contain at the second place the body of the second comment",THIS_IS_THE_BODY_OF_COMMENT2,defaultViewpoint.getConcern().get(1)); + } + /** + * Tests the '{@link org.eclipse.papyrus.sysml.modelelements.viewpoint#getBehavior() + * <em>behavior</em>}' feature getter. + * @see org.eclipse.papyrus.sysml.modelelements.viewpoint#getBehavior() + */ + @Test + public void testGetMethod() { + Assert.assertEquals("The derived property method is badly calculated. The size of the list must 1",1,defaultViewpoint.getMethod().size()); + Assert.assertEquals("The derived property method is badly calculated. The view point must contained in the list",ownedBehavior,defaultViewpoint.getMethod().get(0)); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/modelelements/ViewTest.java b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/modelelements/ViewTest.java new file mode 100644 index 0000000..0a88e0f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/modelelements/ViewTest.java
@@ -0,0 +1,105 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * + * 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: + * Patrick.tessier (CEA LIST) patrick.tessier@cea.fr - refactor all the test + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.tests.modelelements; + +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; +import org.eclipse.papyrus.sysml.modelelements.Stakeholder; +import org.eclipse.papyrus.sysml.modelelements.View; +import org.eclipse.papyrus.sysml.modelelements.Viewpoint; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Generalization; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; + +/** + * A test case for the model object '<em><b>View</b></em>'. + * <p> See the requirement <b>{@papyrus.req org.eclipse.papyrus.sysml#Req015}</b>. + * The following features are tested: + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.View#getViewPoint() <em>View Point</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.View#getStakeholder() <em>Stakeholder</em>}</li> + * </ul> + * </p> + */ +@SuppressWarnings("nls") +public class ViewTest { + + private Viewpoint viewpoint = null; + + private View defaultView = null; + + private Stakeholder stakeholder; + + /** + * @see junit.framework.TestCase#setUp() + */ + @Before + public void setUp() { + + // Prepare test + Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); + + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + // Create class + Class defaultClass = model.createOwnedClass("View1", false); + + Class class1 = model.createOwnedClass("Viewpoint1", false); + Class class2= model.createOwnedClass("stakeholder", false); + + // Add View stereotype + + defaultView = (View)StereotypeApplicationHelper.getInstance(null).applyStereotype(defaultClass, ModelelementsPackage.eINSTANCE.getView()); + + // Add ViewPoint stereotype + viewpoint = (Viewpoint)StereotypeApplicationHelper.getInstance(null).applyStereotype(class1, ModelelementsPackage.eINSTANCE.getViewpoint()); + stakeholder = (Stakeholder)StereotypeApplicationHelper.getInstance(null).applyStereotype(class2, ModelelementsPackage.eINSTANCE.getStakeholder()); + + + // create conform link based on Generalization + Generalization generalization=defaultClass.createGeneralization(class1); + StereotypeApplicationHelper.getInstance(null).applyStereotype(generalization, ModelelementsPackage.eINSTANCE.getConform()); + + //add stakeholder to the viewpoint + viewpoint.getStakeholder().add(stakeholder); + + } + + /** + * Tests the '{@link org.eclipse.papyrus.sysml.modelelements.View#getViewPoint() + * <em>View Point</em>}' feature getter. + * @see org.eclipse.papyrus.sysml.modelelements.View#getViewPoint() + */ + @Test + public void testGetViewPoint() { + Assert.assertNotNull("The derived property viewpoint is baldy computed for View, it must not be null", defaultView.getViewPoint()); + Assert.assertEquals("The derived property viewpoint is baldy computed for View, it must not be equal to view point",viewpoint, defaultView.getViewPoint()); + } + /** + * Tests the '{@link org.eclipse.papyrus.sysml.modelelements.View#getStakeholder() + * <em>Stakeholder</em>}' feature getter. + * @see org.eclipse.papyrus.sysml.modelelements.View#getStakeholder() + */ + @Test + public void testGetStakeholder() { + Assert.assertEquals("The derived property Stakeholder is baldy computed for View, it must not be equal to 1",1, defaultView.getStakeholder().size()); + Assert.assertTrue("The derived property Stakeholder is baldy computed for View, it must not be equal to the stakeholder",defaultView.getStakeholder().contains(stakeholder)); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/portsandflows/FlowPropertyTest.java b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/portsandflows/FlowPropertyTest.java new file mode 100644 index 0000000..56bd84f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/portsandflows/FlowPropertyTest.java
@@ -0,0 +1,104 @@ +/***************************************************************************** + * Copyright (c) 2009, 2014 CEA LIST and others. + * + * + * 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: + * Yann Tanguy (CEA LIST) yann.tanguy@cea.fr - Initial API and implementation + * Christian W. Damus (CEA) - bug 422257 + * Benoit Maggi (CEA LIST) - bug 476430 + *****************************************************************************/ +package org.eclipse.papyrus.sysml.tests.portsandflows; + +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.papyrus.sysml.portsandflows.FlowDirection; +import org.eclipse.papyrus.sysml.portsandflows.FlowProperty; +import org.eclipse.papyrus.sysml.portsandflows.FlowPropertyCustomImpl; +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.uml2.uml.Image; +import org.eclipse.uml2.uml.Interface; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; + +/** + * A test case for the model object '<em><b>Flow Property</b></em>'. + * <p> + * The following operations are tested: + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.FlowProperty#getIcon() <em>Get Icon</em>}</li> + * </ul> + * </p> + * <p> + * The following operations are tested: + * <ul> + * <li>{@link org.eclipse.papyrus.sysm14.portsandflows.FlowProperty#getIcon() + * <em>Get Icon</em>}</li> + * </ul> + * </p> + */ +@SuppressWarnings("nls") +public class FlowPropertyTest { + + private FlowProperty fpIn = null; + + private FlowProperty fpOut = null; + + private FlowProperty fpInOut = null; + /** + * @see junit.framework.TestCase#setUp() + */ + @Before + public void setUp(){ + // Prepare test + Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); + + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + // Create interface + Interface i = model.createOwnedInterface("i"); + + // Create properties + Property p0 = i.createOwnedAttribute("p0", null); + Property p1 = i.createOwnedAttribute("p1", null); + Property p2 = i.createOwnedAttribute("p2", null); + + // Add FlowPort stereotypes + fpIn = (FlowProperty)StereotypeApplicationHelper.getInstance(null).applyStereotype(p0, PortsandflowsPackage.eINSTANCE.getFlowProperty()); + fpIn.setDirection(FlowDirection.IN); + + fpOut = (FlowProperty)StereotypeApplicationHelper.getInstance(null).applyStereotype(p1, PortsandflowsPackage.eINSTANCE.getFlowProperty()); + fpOut.setDirection(FlowDirection.OUT); + + fpInOut = (FlowProperty)StereotypeApplicationHelper.getInstance(null).applyStereotype(p2, PortsandflowsPackage.eINSTANCE.getFlowProperty()); + fpInOut.setDirection(FlowDirection.INOUT); + + } + + /** + * Tests the '{@link org.eclipse.papyrus.sysm14.portsandflows.FlowProperty#getIcon() + * <em>Get Icon</em>}' operation. + * + * @see org.eclipse.papyrus.sysm14.portsandflows.FlowProperty#getIcon() + * + */ + @Test + public void testGetIcon() { + Image imageIn = FlowPropertyCustomImpl.getIcons(fpIn).get("FlowProperty_IN"); + Image imageOut = FlowPropertyCustomImpl.getIcons(fpOut).get("FlowProperty_OUT"); + Image imageInOut = FlowPropertyCustomImpl.getIcons(fpInOut).get("FlowProperty_INOUT"); + + Assert.assertEquals("A Flow property with an INOUT direction must have the INOUT image",imageInOut,fpInOut.getIcon()); + Assert.assertEquals("A Flow property with an OUT direction must have the OUT image",imageOut,fpOut.getIcon()); + Assert.assertEquals("A Flow property with an IN direction must have the IN image",imageIn,fpIn.getIcon()); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/requirements/RequirementTest.java b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/requirements/RequirementTest.java new file mode 100644 index 0000000..adee2e2 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/requirements/RequirementTest.java
@@ -0,0 +1,407 @@ +/***************************************************************************** + * Copyright (c) 2009, 2016 CEA LIST and others. + * + * + * 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: + * Yann Tanguy (CEA LIST) yann.tanguy@cea.fr - Initial API and implementation + * Christian W. Damus (CEA) - bug 422257 + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Check Read only derived attribute + *****************************************************************************/ +package org.eclipse.papyrus.sysml.tests.requirements; + +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.papyrus.sysml.requirements.Requirement; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.NamedElement; +import org.eclipse.uml2.uml.Operation; +import org.eclipse.uml2.uml.Realization; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; + +/** + * A test case for the model object '<em><b>Requirement</b></em>'. + * + * See the requirement org.eclipse.papyrus.sysml.Req011 + * <p> + * The following features are tested: + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.requirements.Requirement#getDerived() <em>Derived</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.requirements.Requirement#getDerivedFrom() <em>Derived From</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.requirements.Requirement#getSatisfiedBy() <em>Satisfied By</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.requirements.Requirement#getRefinedBy() <em>Refined By</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.requirements.Requirement#getTracedTo() <em>Traced To</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.requirements.Requirement#getVerifiedBy() <em>Verified By</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.requirements.Requirement#getMaster() <em>Master</em>}</li> + * </ul> + * </p> + * + * + */ +@SuppressWarnings("nls") +public class RequirementTest { + + private Requirement defaultReq = null; + + private Class copy = null; + + private Requirement copyReq = null; + + private Requirement masterReq = null; + + private Class derived1 = null; + + private Class derived2 = null; + + private Requirement derive1Req = null; + + private Requirement derive2Req = null; + + private Requirement derived1Req = null; + + private Requirement derived2Req = null; + + private Class satisfyingNE1 = null; + + private Class satisfyingNE2 = null; + + private Requirement satisfiedReq = null; + + private Class refiningNE1 = null; + + private Class refiningNE2 = null; + + private Requirement refinedReq = null; + + private Class traced1 = null; + + private Class traced2 = null; + + private Requirement traceReq = null; + + private Requirement verifiedReq = null; + + private org.eclipse.papyrus.sysml.requirements.TestCase testCase1 = null; + + private NamedElement verifierNamedElement = null; + + private org.eclipse.papyrus.sysml.requirements.TestCase testCase2 = null; + + /** + * @see junit.framework.TestCase#setUp() + */ + @Before + public void setUp() { + // Prepare test + Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); + + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + // Create classes & interface + Class defaultClass = model.createOwnedClass("defaultClass", false); + + // Add Requirement stereotypes + defaultReq = (Requirement)StereotypeApplicationHelper.getInstance(null).applyStereotype(defaultClass, RequirementsPackage.eINSTANCE.getRequirement()); + + // //////////////////////////////////////////////////////////////////// + // Prepare getMaster test elements + // //////////////////////////////////////////////////////////////////// + + Class master = model.createOwnedClass("master", false); + masterReq = (Requirement)StereotypeApplicationHelper.getInstance(null).applyStereotype(master, RequirementsPackage.eINSTANCE.getRequirement()); + copy = model.createOwnedClass("copy", false); + copyReq = (Requirement)StereotypeApplicationHelper.getInstance(null).applyStereotype(copy, RequirementsPackage.eINSTANCE.getRequirement()); + + // Add "copy" (Abstraction) between master and copy + // copy -> master + Abstraction copy2Master = UMLFactory.eINSTANCE.createAbstraction(); + copy2Master.getClients().add(copy); + copy2Master.getSuppliers().add(master); + model.getPackagedElements().add(copy2Master); + StereotypeApplicationHelper.getInstance(null).applyStereotype(copy2Master, RequirementsPackage.eINSTANCE.getCopy()); + + // //////////////////////////////////////////////////////////////////// + + // //////////////////////////////////////////////////////////////////// + // Prepare getDerived / getDerivedFrom test elements + // //////////////////////////////////////////////////////////////////// + + Class derive1 = model.createOwnedClass("d1", false); + derive1Req = (Requirement)StereotypeApplicationHelper.getInstance(null).applyStereotype(derive1, RequirementsPackage.eINSTANCE.getRequirement()); + + Class derive2 = model.createOwnedClass("d2", false); + derive2Req = (Requirement)StereotypeApplicationHelper.getInstance(null).applyStereotype(derive2, RequirementsPackage.eINSTANCE.getRequirement()); + + derived1 = model.createOwnedClass("dd1", false); + derived1Req = (Requirement)StereotypeApplicationHelper.getInstance(null).applyStereotype(derived1, RequirementsPackage.eINSTANCE.getRequirement()); + + derived2 = model.createOwnedClass("dd2", false); + derived2Req = (Requirement)StereotypeApplicationHelper.getInstance(null).applyStereotype(derived2, RequirementsPackage.eINSTANCE.getRequirement()); + + // Add "DeriveReqt" (Abstraction) between derive and derived + // derived1 -> derive1, derive2 + // derived2 -> derive2 + Abstraction d11 = UMLFactory.eINSTANCE.createAbstraction(); + d11.getClients().add(derived1); + d11.getSuppliers().add(derive1); + model.getPackagedElements().add(d11); + StereotypeApplicationHelper.getInstance(null).applyStereotype(d11, RequirementsPackage.eINSTANCE.getDeriveReqt()); + + Abstraction d12 = UMLFactory.eINSTANCE.createAbstraction(); + d12.getClients().add(derived1); + d12.getSuppliers().add(derive2); + model.getPackagedElements().add(d12); + StereotypeApplicationHelper.getInstance(null).applyStereotype(d12, RequirementsPackage.eINSTANCE.getDeriveReqt()); + + Abstraction d22 = UMLFactory.eINSTANCE.createAbstraction(); + d22.getClients().add(derived2); + d22.getSuppliers().add(derive2); + model.getPackagedElements().add(d22); + StereotypeApplicationHelper.getInstance(null).applyStereotype(d22, RequirementsPackage.eINSTANCE.getDeriveReqt()); + + // //////////////////////////////////////////////////////////////////// + + // //////////////////////////////////////////////////////////////////// + // Prepare getSatisfiedBy test elements + // //////////////////////////////////////////////////////////////////// + + Class satisfied = model.createOwnedClass("satisfied", false); + satisfiedReq = (Requirement)StereotypeApplicationHelper.getInstance(null).applyStereotype(satisfied, RequirementsPackage.eINSTANCE.getRequirement()); + + satisfyingNE1 = model.createOwnedClass("sNE1", false); + satisfyingNE2 = model.createOwnedClass("sNE2", false); + + // Add "Satisfy" (Realization) between satisfyingNE(s) and satisfied + // requirement + // satisfyingNE1, satisfyingNE2 -> satisfied + Realization ne12S1 = UMLFactory.eINSTANCE.createRealization(); + ne12S1.getClients().add(satisfyingNE1); + ne12S1.getSuppliers().add(satisfied); + model.getPackagedElements().add(ne12S1); + StereotypeApplicationHelper.getInstance(null).applyStereotype(ne12S1, RequirementsPackage.eINSTANCE.getSatisfy()); + + Realization ne22S1 = UMLFactory.eINSTANCE.createRealization(); + ne22S1.getClients().add(satisfyingNE2); + ne22S1.getSuppliers().add(satisfied); + model.getPackagedElements().add(ne22S1); + StereotypeApplicationHelper.getInstance(null).applyStereotype(ne22S1, RequirementsPackage.eINSTANCE.getSatisfy()); + + // //////////////////////////////////////////////////////////////////// + + // //////////////////////////////////////////////////////////////////// + // Prepare getRefinedBy test elements + // //////////////////////////////////////////////////////////////////// + + Class refined = model.createOwnedClass("refined", false); + refinedReq = (Requirement)StereotypeApplicationHelper.getInstance(null).applyStereotype(refined, RequirementsPackage.eINSTANCE.getRequirement()); + + refiningNE1 = model.createOwnedClass("rNE1", false); + refiningNE2 = model.createOwnedClass("rNE2", false); + + // Add "Refine" (Abstraction) between refiningNE(s) and refined + // requirement + // refiningNE1, refiningNE2 -> refined + Abstraction rne12S1 = UMLFactory.eINSTANCE.createAbstraction(); + rne12S1.getClients().add(refiningNE1); + rne12S1.getSuppliers().add(refined); + model.getPackagedElements().add(rne12S1); + StereotypeApplicationHelper.getInstance(null).applyStereotype(rne12S1, RequirementsPackage.eINSTANCE.getRefine()); + + Abstraction rne22S1 = UMLFactory.eINSTANCE.createAbstraction(); + rne22S1.getClients().add(refiningNE2); + rne22S1.getSuppliers().add(refined); + model.getPackagedElements().add(rne22S1); + StereotypeApplicationHelper.getInstance(null).applyStereotype(rne22S1, RequirementsPackage.eINSTANCE.getRefine()); + + // //////////////////////////////////////////////////////////////////// + + // //////////////////////////////////////////////////////////////////// + // Prepare getTracedTo test elements + // //////////////////////////////////////////////////////////////////// + + traced1 = model.createOwnedClass("traced1", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(traced1, RequirementsPackage.eINSTANCE.getRequirement()); + + traced2 = model.createOwnedClass("traced2", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(traced2, RequirementsPackage.eINSTANCE.getRequirement()); + + Class trace = model.createOwnedClass("trace", false); + traceReq = (Requirement)StereotypeApplicationHelper.getInstance(null).applyStereotype(trace, RequirementsPackage.eINSTANCE.getRequirement()); + + // Add "Trace" (Abstraction) + // [traced1, traced2] -> trace + Abstraction t11 = UMLFactory.eINSTANCE.createAbstraction(); + t11.getClients().add(traced1); + t11.getSuppliers().add(trace); + model.getPackagedElements().add(t11); + StereotypeApplicationHelper.getInstance(null).applyStereotype(t11, RequirementsPackage.eINSTANCE.getTrace()); + + Abstraction t12 = UMLFactory.eINSTANCE.createAbstraction(); + t12.getClients().add(traced2); + t12.getSuppliers().add(trace); + model.getPackagedElements().add(t12); + StereotypeApplicationHelper.getInstance(null).applyStereotype(t12, RequirementsPackage.eINSTANCE.getTrace()); + + // //////////////////////////////////////////////////////////////////// + + // //////////////////////////////////////////////////////////////////// + // Prepare getVerifiedBy test elements + // //////////////////////////////////////////////////////////////////// + + verifierNamedElement = model.createOwnedClass("verifierNamedElement", false); + + Class verified = model.createOwnedClass("verified", false); + verifiedReq = (Requirement)StereotypeApplicationHelper.getInstance(null).applyStereotype(verified, RequirementsPackage.eINSTANCE.getRequirement()); + + Class testClass = model.createOwnedClass("testClass", false); + Operation op1 = testClass.createOwnedOperation("op1", null, null, null); + Operation op2 = testClass.createOwnedOperation("op2", null, null, null); + + testCase1 = (org.eclipse.papyrus.sysml.requirements.TestCase)StereotypeApplicationHelper.getInstance(null).applyStereotype(op1, RequirementsPackage.eINSTANCE.getTestCase()); + testCase2 = (org.eclipse.papyrus.sysml.requirements.TestCase)StereotypeApplicationHelper.getInstance(null).applyStereotype(op2, RequirementsPackage.eINSTANCE.getTestCase()); + + // Add "Verify" (Abstraction) + // testCase1, testCase2 -> verified + Abstraction t12V = UMLFactory.eINSTANCE.createAbstraction(); + t12V.getClients().add(op1); + t12V.getSuppliers().add(verified); + model.getPackagedElements().add(t12V); + StereotypeApplicationHelper.getInstance(null).applyStereotype(t12V, RequirementsPackage.eINSTANCE.getVerify()); + + Abstraction t22V = UMLFactory.eINSTANCE.createAbstraction(); + t22V.getClients().add(op2); + t22V.getSuppliers().add(verified); + model.getPackagedElements().add(t22V); + StereotypeApplicationHelper.getInstance(null).applyStereotype(t22V, RequirementsPackage.eINSTANCE.getVerify()); + + // Add "Verify" (Abstraction) + // verifierNamedElement -> verified + Abstraction t32V = UMLFactory.eINSTANCE.createAbstraction(); + t32V.getClients().add(verifierNamedElement); + t32V.getSuppliers().add(verified); + model.getPackagedElements().add(t32V); + StereotypeApplicationHelper.getInstance(null).applyStereotype(t32V, RequirementsPackage.eINSTANCE.getVerify()); + + // //////////////////////////////////////////////////////////////////// + } + + + /** + * Tests the '{@link org.eclipse.papyrus.sysml.requirements.Requirement#getDerived() + * <em>Derived</em>}' feature getter. + * @see org.eclipse.papyrus.sysml.requirements.Requirement#getDerived() + */ + @Test + public void testGetDerived() { + Assert.assertTrue("Isolated requirement : default_req.getDerived() = []", defaultReq.getDerived().isEmpty()); + Assert.assertTrue("Verifies : derive1_req.getDerived() = [derived1_req]", derive1Req.getDerived().contains(derived1Req)); + Assert.assertTrue("Verifies : derive2_req.getDerived() = [derived1_req, derived2_req]",derive2Req.getDerived().contains(derived1Req)); + Assert.assertTrue("Verifies : derive2_req.getDerived() = [derived1_req, derived2_req]",derive2Req.getDerived().contains(derived2Req)); + } + + /** + * Tests the '{@link org.eclipse.papyrus.sysml.requirements.Requirement#getDerivedFrom() + * <em>Derived From</em>}' feature getter. + * @see org.eclipse.papyrus.sysml.requirements.Requirement#getDerivedFrom() + */ + @Test + public void testGetDerivedFrom() { + Assert.assertTrue("Isolated requirement : default_req.getDerivedFrom() = []",defaultReq.getDerivedFrom().isEmpty()); + Assert.assertTrue("Verifies : derived2_req.getDerivedFrom() = [derive2_req]",derived2Req.getDerivedFrom().contains(derive2Req)); + Assert.assertTrue("Verifies : derived1_req.getDerivedFrom() = [derive1_req, derive2_req]",derived1Req.getDerivedFrom().contains(derive1Req)); + Assert.assertTrue("Verifies : derived1_req.getDerivedFrom() = [derive1_req, derive2_req]",derived1Req.getDerivedFrom().contains(derive2Req)); + } + + /** + * Tests the '{@link org.eclipse.papyrus.sysml.requirements.Requirement#getMaster() + * <em>Master</em>}' feature getter. + * @see org.eclipse.papyrus.sysml.requirements.Requirement#getMaster() + */ + @Test + public void testGetMaster() { + Assert.assertTrue("Isolated requirement : default_req.getMaster() = []", defaultReq.getMaster().isEmpty()); + Assert.assertTrue("Try retrieving Master from Copy requirement",copyReq.getMaster().contains(masterReq)); + } + + /** + * Tests the '{@link org.eclipse.papyrus.sysml.requirements.Requirement#getRefinedBy() + * <em>Refined By</em>}' feature getter. + * @see org.eclipse.papyrus.sysml.requirements.Requirement#getRefinedBy() + */ + @Test + public void testGetRefinedBy() { + Assert.assertTrue("Isolated requirement : default_req.getRefinedBy() = []", defaultReq.getRefinedBy().isEmpty()); + Assert.assertTrue("Verifies : refined_req.getRefinedBy() = [refiningNE1, refiningNE2]",refinedReq.getRefinedBy().contains(refiningNE1)); + Assert.assertTrue("Verifies : refined_req.getRefinedBy() = [refiningNE1, refiningNE2]",refinedReq.getRefinedBy().contains(refiningNE2)); + } + + /** + * Tests the '{@link org.eclipse.papyrus.sysml.requirements.Requirement#getSatisfiedBy() + * <em>Satisfied By</em>}' feature getter. + * + * @see org.eclipse.papyrus.sysml.requirements.Requirement#getSatisfiedBy() + */ + @Test + public void testGetSatisfiedBy() { + Assert.assertTrue("Isolated requirement : default_req.getSatisfiedBy() = []",defaultReq.getSatisfiedBy().isEmpty()); + Assert.assertTrue("Verifies : satisfied_req.getSatisfiedBy() = [satisfyingNE1, satisfyingNE2]",satisfiedReq.getSatisfiedBy().contains(satisfyingNE1)); + Assert.assertTrue("Verifies : satisfied_req.getSatisfiedBy() = [satisfyingNE1, satisfyingNE2]",satisfiedReq.getSatisfiedBy().contains(satisfyingNE2)); + } + + /** + * Tests the '{@link org.eclipse.papyrus.sysml.requirements.Requirement#getTracedTo() + * <em>Traced To</em>}' feature getter. + * @see org.eclipse.papyrus.sysml.requirements.Requirement#getTracedTo() + */ + @Test + public void testGetTracedTo() { + Assert.assertTrue("Isolated requirement : default_req.getTracedTo = []",defaultReq.getTracedTo().isEmpty()); + // DeriveReqt / Verify / Copy inherits from Trace + Assert.assertFalse("Test getter through Copy (should not be taken into account see bug #352563)",masterReq.getTracedTo().contains(copy)); + // Test getter through DeriveReqt (tracedTo = Clients) + Assert.assertFalse("derived1 -> [derive1_req, derive2_req] (should not be taken into account see bug #352563)",derive1Req.getTracedTo().contains(derived1)); + Assert.assertFalse("derived1 -> [derive1_req, derive2_req] (should not be taken into account see bug #352563)",derive2Req.getTracedTo().contains(derived1)); + Assert.assertFalse("derived2 -> [derive2_req] (should not be taken into account see bug #352563)",derive2Req.getTracedTo().contains(derived2)); + // Should not happen... + // Direct test + Assert.assertTrue("Test getter through Verify (should not be taken into account see bug #352563)",traceReq.getTracedTo().contains(traced1)); + Assert.assertTrue("Test getter through Verify (should not be taken into account see bug #352563)",traceReq.getTracedTo().contains(traced2)); + } + + /** + * Tests the '{@link org.eclipse.papyrus.sysml.requirements.Requirement#getVerifiedBy() + * <em>Verified By</em>}' feature getter. + * @see org.eclipse.papyrus.sysml.requirements.Requirement#getVerifiedBy() + */ + @Test + public void testGetVerifiedBy() { + Assert.assertTrue("Isolated requirement : default_req.getVerifiedBy() = []", defaultReq.getVerifiedBy().isEmpty()); + Assert.assertTrue("Test getVerifiedBy getter for [testCase1, testCase2, verifierNamedElement] -> verified_req", verifiedReq.getVerifiedBy().contains(testCase1.getBase_Operation())); + Assert.assertTrue("Test getVerifiedBy getter for [testCase1, testCase2, verifierNamedElement] -> verified_req", verifiedReq.getVerifiedBy().contains(testCase2.getBase_Operation())); + Assert.assertTrue("Test getVerifiedBy getter for [testCase1, testCase2, verifierNamedElement] -> verified_req", verifiedReq.getVerifiedBy().contains(verifierNamedElement)); + } + + /** + * Verify that derived attribute is read only (Not present in the official SysML 1.4, hop fully will in SysML 1.5) + * This is required to have a working copy paste in Papyrus + */ + @Test(expected=IllegalArgumentException.class) + public void testReadOnlyDerived() { + EReference derivedEReference = RequirementsPackage.eINSTANCE.getAbstractRequirement_Derived(); + defaultReq.eSet(derivedEReference, ""); + } + + +}
diff --git a/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/resources/ModelValidationTest.java b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/resources/ModelValidationTest.java new file mode 100644 index 0000000..d1ce8db --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/resources/ModelValidationTest.java
@@ -0,0 +1,78 @@ +/***************************************************************************** + * Copyright (c) 2017 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.tests.resources; + +import java.util.Arrays; +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.ecore.util.Diagnostician; +import org.eclipse.papyrus.sysml.Activator; +import org.junit.Assert; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.Parameterized; +import org.junit.runners.Parameterized.Parameters; + +/** + * This is a parameterized test to validate all model in the plugin + * + */ +@SuppressWarnings("nls") +@RunWith(Parameterized.class) +public class ModelValidationTest { + + @Parameters + public static Collection<Object[]> data() { + return Arrays.asList(new Object[][] { + //FIXME Invalid {"/resources/library/QUDV.uml"}, + //FIXME Invalid {"/resources/profile/SysML.profile.uml"}, + {"/resources/library/SysML-Standard-Library.uml"}, + }); + } + + private String modelPath; + + public ModelValidationTest(String modelPath) { + this.modelPath = modelPath; + } + + /** + * Validate the model with the rules defined in the meta-model tooling + */ + @Test + public void validateModel() { + String fullPath = Activator.PLUGIN_ID + this.modelPath; + URI modelPlatformURI = URI.createPlatformPluginURI(fullPath, true); + Resource resource = new ResourceSetImpl().getResource(modelPlatformURI, true); + Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); + Assert.assertEquals("The "+modelPath+" model is invalid "+print(diagnostic), Diagnostic.OK, diagnostic.getSeverity()); + } + + // FIXME : Something should exist in API to do that + private String print(Diagnostic diagnostic) { + List<Diagnostic> children = diagnostic.getChildren(); + StringBuilder stringBuilder = new StringBuilder(diagnostic.getMessage()); + for (Diagnostic diagnosticChildren : children) { + stringBuilder.append("\n"); //$NON-NLS-1$ + stringBuilder.append(diagnosticChildren.getMessage()); + } + return stringBuilder.toString(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/util/DeprecatedElementUtilTest.java b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/util/DeprecatedElementUtilTest.java new file mode 100644 index 0000000..8b08773 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/util/DeprecatedElementUtilTest.java
@@ -0,0 +1,72 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.tests.util; + +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsPackage; +import org.eclipse.papyrus.sysml.deprecatedelements.FlowPort; +import org.eclipse.papyrus.sysml.deprecatedelements.FlowSpecification; +import org.eclipse.papyrus.sysml.util.DeprecatedElementUtil; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Interface; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Tests for deprecated utility class + * + */ +@SuppressWarnings("nls") +public class DeprecatedElementUtilTest { + + /** + * Check that FlowPort and FlowSpecification are deprecated + */ + @Test + public void testIsDeprecatedElement() { + // Prepare Model test + Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + StereotypeApplicationHelper stereotypeApplicationHelper = StereotypeApplicationHelper.getInstance(null); + Class c0 = model.createOwnedClass("class", false); + + // Create ports + Port port = c0.createOwnedPort("port", null); + + FlowPort fpDefault = (FlowPort) stereotypeApplicationHelper.applyStereotype(port, + DeprecatedelementsPackage.eINSTANCE.getFlowPort()); + + Assert.assertTrue("FlowPort should be deprecated", DeprecatedElementUtil.isDeprecatedElement(fpDefault)); + Assert.assertTrue("FlowPort should be deprecated", DeprecatedElementUtil.isDeprecatedElement(port)); + + Interface flowSpecificationInterface=model.createOwnedInterface("FlowSpecification1"); + FlowSpecification flowSpecification = (FlowSpecification) stereotypeApplicationHelper.applyStereotype(flowSpecificationInterface, DeprecatedelementsPackage.eINSTANCE.getFlowSpecification()); + Assert.assertTrue("FlowSpecification should be deprecated", DeprecatedElementUtil.isDeprecatedElement(flowSpecificationInterface)); + Assert.assertTrue("FlowSpecification should be deprecated", DeprecatedElementUtil.isDeprecatedElement(flowSpecification)); + + Class blockClass=model.createOwnedClass("Block1", false); + Block block = (Block) stereotypeApplicationHelper.applyStereotype(blockClass, BlocksPackage.eINSTANCE.getBlock()); + Assert.assertFalse("Class should not be deprecated", DeprecatedElementUtil.isDeprecatedElement(blockClass)); + Assert.assertFalse("Block should not be deprecated", DeprecatedElementUtil.isDeprecatedElement(block)); + + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/util/SysmlResourceTest.java b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/util/SysmlResourceTest.java new file mode 100644 index 0000000..8dca0ec --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.tests/src/org/eclipse/papyrus/sysml/tests/util/SysmlResourceTest.java
@@ -0,0 +1,115 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Francois Le Fevre (CEA LIST) francois.le-fevre@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.tests.util; + +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.ResourceSet; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Package; +import org.eclipse.uml2.uml.Profile; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.UMLPackage; +import org.junit.Assert; +import org.junit.Test; + +/** + * Basic test for SysML profile + * + */ +@SuppressWarnings("nls") +public class SysmlResourceTest { + + /** + * Check that profile application lookup is well implemented + */ + @Test + public void testGetFirstSysMLMatchingContainerProfiledBySysMLProfile4UMLModel() { + //Model tree is umlModel>nestedPackage,rootPackage>secondPackage + Package rootPackage,secondPackage,nestedPackage; + Package resultPackage,pakage; + + Model umlModel = UMLFactory.eINSTANCE.createModel(); + pakage = SysMLResource.getFirstSysMLMatchingContainerProfiledBySysMLProfile(umlModel); + Assert.assertNull("Initial model should not match any SysML profile",pakage); + + nestedPackage = umlModel.createNestedPackage("myNestedPackage"); + pakage = SysMLResource.getFirstSysMLMatchingContainerProfiledBySysMLProfile(nestedPackage); + Assert.assertNull("Nested package should not match any SysML profile",pakage); + + rootPackage = (Package)umlModel.createPackagedElement("myRootPackage", UMLPackage.eINSTANCE.getPackage()); + resultPackage = SysMLResource.getFirstSysMLMatchingContainerProfiledBySysMLProfile(rootPackage); + Assert.assertNull("Root package should not match any SysML profil",resultPackage); + + secondPackage = (Package)rootPackage.createPackagedElement("myPackage2", UMLPackage.eINSTANCE.getPackage()); + resultPackage = SysMLResource.getFirstSysMLMatchingContainerProfiledBySysMLProfile(pakage); + Assert.assertNull("Secund level package should not match any SysML profile",resultPackage); + + ResourceSet resourceSet= new ResourceSetImpl(); + Resource sysmlProfileResource = resourceSet.getResource(URI.createURI(SysMLResource.PROFILE_PATH), true); + Profile sysmlProfile = (Profile) EcoreUtil.getObjectByType(sysmlProfileResource.getContents(), UMLPackage.Literals.PACKAGE); + rootPackage.applyProfile(sysmlProfile); + resultPackage = SysMLResource.getFirstSysMLMatchingContainerProfiledBySysMLProfile(rootPackage); + Assert.assertNotNull("Should retrieve a root package with SysML applied profile",resultPackage); + Assert.assertEquals("Should retrieve the root package with SysML applied profile",rootPackage,resultPackage); + + resultPackage = SysMLResource.getFirstSysMLMatchingContainerProfiledBySysMLProfile(secondPackage); + Assert.assertNotNull("Should retrieve a root package from the level2 package with SysML applied profile",resultPackage); + Assert.assertEquals("Should retrieve the root package from the level2 package with SysML applied profile",rootPackage,resultPackage); + } + + /** + * Check that profile application lookup is well implemented + */ + @Test + public void testGetFirstSysMLMatchingContainerProfiledBySysMLProfile4SysMLModel() { + //Model tree is model>rootPackage>secondPackage + Package rootPackage,secondPackage; + Package resultPackage; + + Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + resultPackage = SysMLResource.getFirstSysMLMatchingContainerProfiledBySysMLProfile(model); + Assert.assertNotNull("Model is the first level with SysML applied profil",resultPackage); + Assert.assertEquals(model,resultPackage); + + rootPackage = (Package)model.createPackagedElement("rootPackage", UMLPackage.eINSTANCE.getPackage()); + resultPackage = SysMLResource.getFirstSysMLMatchingContainerProfiledBySysMLProfile(rootPackage); + Assert.assertNotNull("Should retrieve a package",resultPackage); + Assert.assertEquals("Should retrieve the root model",model,resultPackage); + + secondPackage = (Package)rootPackage.createPackagedElement("myPackage2", UMLPackage.eINSTANCE.getPackage()); + resultPackage = SysMLResource.getFirstSysMLMatchingContainerProfiledBySysMLProfile(secondPackage); + Assert.assertNotNull("Should retrieve a result from the level2 package",resultPackage); + Assert.assertEquals("Should retrieve the root model",model,resultPackage); + + ResourceSet resourceSet= new ResourceSetImpl(); + Resource sysmlProfileResource = resourceSet.getResource(URI.createURI(SysMLResource.PROFILE_PATH), true); + Profile sysmlProfile = (Profile) EcoreUtil.getObjectByType(sysmlProfileResource.getContents(), UMLPackage.Literals.PACKAGE); + rootPackage.applyProfile(sysmlProfile); + resultPackage = SysMLResource.getFirstSysMLMatchingContainerProfiledBySysMLProfile(rootPackage); + Assert.assertNotNull("Should retrieve a package with applied sysml profil",resultPackage); + Assert.assertEquals("Should retrieve the root package with applied sysml profil",rootPackage,resultPackage); + + resultPackage = SysMLResource.getFirstSysMLMatchingContainerProfiledBySysMLProfile(secondPackage); + Assert.assertNotNull("Should retrieve a package from the level2 package with applied sysml profil ",resultPackage); + Assert.assertEquals("Should retrieve the root package from the level2 package with applied sysml profil",rootPackage,resultPackage); + + } + +}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/.classpath b/core/org.eclipse.papyrus.sysml.validation.tests/.classpath similarity index 100% rename from core/org.eclipse.papyrus.sysml14.validation.tests/.classpath rename to core/org.eclipse.papyrus.sysml.validation.tests/.classpath
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/.project b/core/org.eclipse.papyrus.sysml.validation.tests/.project new file mode 100644 index 0000000..a55d34f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/.project
@@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.validation.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> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription>
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/.settings/org.eclipse.jdt.core.prefs b/core/org.eclipse.papyrus.sysml.validation.tests/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from core/org.eclipse.papyrus.sysml14.validation.tests/.settings/org.eclipse.jdt.core.prefs rename to core/org.eclipse.papyrus.sysml.validation.tests/.settings/org.eclipse.jdt.core.prefs
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/META-INF/MANIFEST.MF b/core/org.eclipse.papyrus.sysml.validation.tests/META-INF/MANIFEST.MF new file mode 100644 index 0000000..bd4c9ba --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/META-INF/MANIFEST.MF
@@ -0,0 +1,17 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name +Bundle-SymbolicName: org.eclipse.papyrus.sysml.validation.tests +Bundle-Version: 4.0.0.qualifier +Fragment-Host: org.eclipse.papyrus.sysml.validation +Require-Bundle: org.junit;bundle-version="[4.11.0,5.0.0)", + org.eclipse.papyrus.uml.service.validation;bundle-version="[2.0.0,3.0.0)", + org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="[3.0.0,4.0.0)" +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Bundle-Localization: plugin +Export-Package: org.eclipse.papyrus.sysml.validation.tests.ocl, + org.eclipse.papyrus.sysml.validation.tests.rules.activities, + org.eclipse.papyrus.sysml.validation.tests.rules.blocks, + org.eclipse.papyrus.sysml.validation.tests.rules.modelelements, + org.eclipse.papyrus.sysml.validation.tests.rules.portsandflows, + org.eclipse.papyrus.sysml.validation.tests.rules.requirements
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/build.properties b/core/org.eclipse.papyrus.sysml.validation.tests/build.properties similarity index 100% rename from core/org.eclipse.papyrus.sysml14.validation.tests/build.properties rename to core/org.eclipse.papyrus.sysml.validation.tests/build.properties
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/plugin.properties b/core/org.eclipse.papyrus.sysml.validation.tests/plugin.properties new file mode 100644 index 0000000..94e0bae --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/plugin.properties
@@ -0,0 +1,13 @@ +################################################################################# +# Copyright (c) 2016 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: +# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation +################################################################################## +Bundle-Name=Papyrus SysML 1.5 Validation Test +Bundle-Description=This plug-in contains test for SyML model validation +Bundle-Vendor=Eclipse Modeling Project
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/pom.xml b/core/org.eclipse.papyrus.sysml.validation.tests/pom.xml new file mode 100644 index 0000000..fab9e88 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/pom.xml
@@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" + xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>org.eclipse.papyrus.sysml.core</artifactId> + <groupId>org.eclipse.papyrus.sysml</groupId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.validation.tests</artifactId> + <packaging>eclipse-test-plugin</packaging> + <name>org.eclipse.papyrus.sysml.validation.tests</name> + <description>This plug-in contains the unit tests for SyML validation.</description> +</project>
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/ocl/RequirementIdTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/ocl/RequirementIdTest.java new file mode 100644 index 0000000..32875c4 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/ocl/RequirementIdTest.java
@@ -0,0 +1,86 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.ocl; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.requirements.Requirement; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on RequirementId constraint + * + */ +@SuppressWarnings("nls") +public class RequirementIdTest { + + public static final String CONSTRAINT_ID = "constraint.requirement.requireId"; + + /** + * Test method for {@link org.eclipse.papyrus.sysml.service.types.command.SetNestedPathCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)}. + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class valid = model.createOwnedClass("valid", false); + Requirement req1 = (Requirement)StereotypeApplicationHelper.getInstance(null).applyStereotype(valid, RequirementsPackage.eINSTANCE.getRequirement()); + req1.setId("1"); + Class invalid = model.createOwnedClass("invalid", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalid, RequirementsPackage.eINSTANCE.getRequirement()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this requirement", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, valid).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this requirement", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalid).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/ocl/RequirementTextTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/ocl/RequirementTextTest.java new file mode 100644 index 0000000..5eb2361 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/ocl/RequirementTextTest.java
@@ -0,0 +1,86 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.ocl; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.requirements.Requirement; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on RequirementId constraint + * + */ +@SuppressWarnings("nls") +public class RequirementTextTest { + + public static final String CONSTRAINT_ID = "constraint.requirement.requireText"; + + /** + * Test method for {@link org.eclipse.papyrus.sysml.service.types.command.SetNestedPathCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)}. + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class valid = model.createOwnedClass("valid", false); + Requirement req1 = (Requirement)StereotypeApplicationHelper.getInstance(null).applyStereotype(valid, RequirementsPackage.eINSTANCE.getRequirement()); + req1.setText("1"); + Class invalid = model.createOwnedClass("invalid", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalid, RequirementsPackage.eINSTANCE.getRequirement()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this requirement", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, valid).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this requirement", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalid).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/activities/DiscreteNoContinuousModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/activities/DiscreteNoContinuousModelConstraintTest.java new file mode 100644 index 0000000..347e4cf --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/activities/DiscreteNoContinuousModelConstraintTest.java
@@ -0,0 +1,89 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.activities; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Activity; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Parameter; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on RequirementId constraint + * + */ +@SuppressWarnings("nls") +public class DiscreteNoContinuousModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.discrete.nocontinuous"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + Activity activity = UMLFactory.eINSTANCE.createActivity(); + activity.setPackage(model); + Parameter validParameter = activity.createOwnedParameter("validParameter", null); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validParameter, ActivitiesPackage.eINSTANCE.getDiscrete()); + + Parameter invalidParameter = activity.createOwnedParameter("invalidParameter", null); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidParameter, ActivitiesPackage.eINSTANCE.getDiscrete()); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidParameter, ActivitiesPackage.eINSTANCE.getContinuous()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validParameter).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidParameter).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/activities/NoBufferNoOverwriteModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/activities/NoBufferNoOverwriteModelConstraintTest.java new file mode 100644 index 0000000..5f79b84 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/activities/NoBufferNoOverwriteModelConstraintTest.java
@@ -0,0 +1,91 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.activities; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Activity; +import org.eclipse.uml2.uml.InputPin; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.StructuredActivityNode; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on RequirementId constraint + * + */ +@SuppressWarnings("nls") +public class NoBufferNoOverwriteModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.nobuffer.nooverwrite"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + Activity activity = UMLFactory.eINSTANCE.createActivity(); + activity.setPackage(model); + StructuredActivityNode structuredNode = activity.createStructuredNode("StructuredNode"); + InputPin validStructuredNodeInput = structuredNode.createStructuredNodeInput("validStructuredNodeInput", null); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validStructuredNodeInput, ActivitiesPackage.eINSTANCE.getNoBuffer()); + + InputPin invalidStructuredNodeInput = structuredNode.createStructuredNodeInput("invalidStructuredNodeInput", null); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidStructuredNodeInput, ActivitiesPackage.eINSTANCE.getNoBuffer()); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidStructuredNodeInput, ActivitiesPackage.eINSTANCE.getOverwrite()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validStructuredNodeInput).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidStructuredNodeInput).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/activities/OptionalMultiplicityModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/activities/OptionalMultiplicityModelConstraintTest.java new file mode 100644 index 0000000..3cee83e --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/activities/OptionalMultiplicityModelConstraintTest.java
@@ -0,0 +1,90 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.activities; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Activity; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Parameter; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on RequirementId constraint + * + */ +@SuppressWarnings("nls") +public class OptionalMultiplicityModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.optional.multiplicity"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + Activity activity = UMLFactory.eINSTANCE.createActivity(); + activity.setPackage(model); + Parameter validParameter = activity.createOwnedParameter("validParameter", null); + validParameter.setLower(0); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validParameter, ActivitiesPackage.eINSTANCE.getOptional()); + + Parameter invalidParameter = activity.createOwnedParameter("invalidParameter", null); + invalidParameter.setLower(1); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidParameter, ActivitiesPackage.eINSTANCE.getOptional()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validParameter).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidParameter).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/activities/OverwriteNoNoBufferModelConstraintModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/activities/OverwriteNoNoBufferModelConstraintModelConstraintTest.java new file mode 100644 index 0000000..b8c5199 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/activities/OverwriteNoNoBufferModelConstraintModelConstraintTest.java
@@ -0,0 +1,91 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.activities; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Activity; +import org.eclipse.uml2.uml.InputPin; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.StructuredActivityNode; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID constraint + * + */ +@SuppressWarnings("nls") +public class OverwriteNoNoBufferModelConstraintModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.overwrite.nonobuffer"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + Activity activity = UMLFactory.eINSTANCE.createActivity(); + activity.setPackage(model); + StructuredActivityNode structuredNode = activity.createStructuredNode("StructuredNode"); + InputPin validStructuredNodeInput = structuredNode.createStructuredNodeInput("validStructuredNodeInput", null); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validStructuredNodeInput, ActivitiesPackage.eINSTANCE.getOverwrite()); + + InputPin invalidStructuredNodeInput = structuredNode.createStructuredNodeInput("invalidStructuredNodeInput", null); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidStructuredNodeInput, ActivitiesPackage.eINSTANCE.getOverwrite()); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidStructuredNodeInput, ActivitiesPackage.eINSTANCE.getNoBuffer()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validStructuredNodeInput).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidStructuredNodeInput).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/activities/RateParameterIsStreamModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/activities/RateParameterIsStreamModelConstraintTest.java new file mode 100644 index 0000000..f15dd97 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/activities/RateParameterIsStreamModelConstraintTest.java
@@ -0,0 +1,91 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.activities; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Activity; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Parameter; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on RequirementId constraint + * + */ +@SuppressWarnings("nls") +public class RateParameterIsStreamModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.rate.parameterisstream"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + Activity activity = UMLFactory.eINSTANCE.createActivity(); + activity.setPackage(model); + + Parameter validParameter = activity.createOwnedParameter("validParameter", null); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validParameter, ActivitiesPackage.eINSTANCE.getRate()); + validParameter.setIsStream(true); + + Parameter invalidParameter = activity.createOwnedParameter("invalidParameter", null); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidParameter, ActivitiesPackage.eINSTANCE.getRate()); + invalidParameter.setIsStream(false); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validParameter).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidParameter).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/allocations/AllocateOneClientSupplierModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/allocations/AllocateOneClientSupplierModelConstraintTest.java new file mode 100644 index 0000000..938acaa --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/allocations/AllocateOneClientSupplierModelConstraintTest.java
@@ -0,0 +1,98 @@ +/***************************************************************************** + * Copyright (c) 2017 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.allocations; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.allocations.AllocationsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID constraint + * + */ +@SuppressWarnings("nls") +public class AllocateOneClientSupplierModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.allocate.oneclientsupplier"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class class1 = model.createOwnedClass("Class1", false); + Abstraction validAbstraction = UMLFactory.eINSTANCE.createAbstraction(); + model.getPackagedElements().add(validAbstraction); + validAbstraction.getSuppliers().add(class1); + validAbstraction.getClients().add(class1); + + StereotypeApplicationHelper.getInstance(null).applyStereotype(validAbstraction, AllocationsPackage.eINSTANCE.getAllocate()); + + Abstraction invalidAbstraction = UMLFactory.eINSTANCE.createAbstraction(); + model.getPackagedElements().add(invalidAbstraction); + invalidAbstraction.getSuppliers().add(class1); + Class class2 = model.createOwnedClass("Class2", false); + invalidAbstraction.getSuppliers().add(class2); + invalidAbstraction.getClients().add(class1); + + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidAbstraction, AllocationsPackage.eINSTANCE.getAllocate()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validAbstraction).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidAbstraction).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/allocations/AllocateOnlyAbstractionModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/allocations/AllocateOnlyAbstractionModelConstraintTest.java new file mode 100644 index 0000000..5b2573c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/allocations/AllocateOnlyAbstractionModelConstraintTest.java
@@ -0,0 +1,94 @@ +/***************************************************************************** + * Copyright (c) 2017 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.allocations; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.allocations.AllocationsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Realization; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID constraint + * + */ +@SuppressWarnings("nls") +public class AllocateOnlyAbstractionModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.allocate.onlyabstraction"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Abstraction validAllocate = UMLFactory.eINSTANCE.createAbstraction(); + validAllocate.setName("validAllocate"); + model.getPackagedElements().add(validAllocate); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validAllocate, AllocationsPackage.eINSTANCE.getAllocate()); + + Realization invalidAllocate = UMLFactory.eINSTANCE.createRealization(); + invalidAllocate.setName("invalidAllocate"); + model.getPackagedElements().add(invalidAllocate); + + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidAllocate, AllocationsPackage.eINSTANCE.getAllocate()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validAllocate).size()); + + //FIXME the diagnostic is returning 2 failures instead of one + //Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidAllocate).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/AssociationBlockModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/AssociationBlockModelConstraintTest.java new file mode 100644 index 0000000..4343136 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/AssociationBlockModelConstraintTest.java
@@ -0,0 +1,95 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.blocks; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.AggregationKind; +import org.eclipse.uml2.uml.Association; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +@Ignore // test not working Selector seems to be not working +public class AssociationBlockModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.block.associationBlock"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class validBlock = model.createOwnedClass("validBlock", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validBlock, BlocksPackage.eINSTANCE.getBlock()); + Association validassociation = validBlock.createAssociation(true, AggregationKind.NONE_LITERAL, "", 0, 0, validBlock, true, AggregationKind.NONE_LITERAL, "", 0, 0); + validassociation.setPackage(model); + + Class invalidBlock = model.createOwnedClass("invalidBlock", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidBlock, BlocksPackage.eINSTANCE.getBlock()); + Association invalidassociation = invalidBlock.createAssociation(true, AggregationKind.NONE_LITERAL, "", 0, 0, invalidBlock, true, AggregationKind.NONE_LITERAL, "", 0, 0); + Property invalidAttribute = invalidBlock.createOwnedAttribute("invalidAttribute", null); + invalidassociation.getMemberEnds().add(invalidAttribute); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validassociation).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidassociation).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/BindingConnectorSameEndsTypeModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/BindingConnectorSameEndsTypeModelConstraintTest.java new file mode 100644 index 0000000..82ab88f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/BindingConnectorSameEndsTypeModelConstraintTest.java
@@ -0,0 +1,106 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.blocks; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Connector; +import org.eclipse.uml2.uml.ConnectorEnd; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +public class BindingConnectorSameEndsTypeModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.bindingconnector.sameendstype"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class clazz = model.createOwnedClass("Class", false); + Class clazz2 = model.createOwnedClass("Class2", false); + Property sameType1 = clazz.createOwnedAttribute("sameType", clazz); + Property sameType2 = clazz.createOwnedAttribute("sameType", clazz); + Property differentType = clazz.createOwnedAttribute("differentType", clazz2); + + Connector validBindingConnector = clazz.createOwnedConnector("validBindingConnector"); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validBindingConnector, BlocksPackage.eINSTANCE.getBindingConnector()); + + // Add source connector end + ConnectorEnd connectorEndSameType1 = UMLFactory.eINSTANCE.createConnectorEnd(); + connectorEndSameType1.setRole(sameType1); + ConnectorEnd connectorEndSameType2 = UMLFactory.eINSTANCE.createConnectorEnd(); + connectorEndSameType2.setRole(sameType2); + validBindingConnector.getEnds().add(connectorEndSameType1); + validBindingConnector.getEnds().add(connectorEndSameType2); + + Connector invalidBindingConnector = clazz.createOwnedConnector("invalidBindingConnector"); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidBindingConnector, BlocksPackage.eINSTANCE.getBindingConnector()); + ConnectorEnd connectorEndDifferentType = UMLFactory.eINSTANCE.createConnectorEnd(); + connectorEndDifferentType.setRole(differentType); + invalidBindingConnector.getEnds().add(connectorEndSameType1); + invalidBindingConnector.getEnds().add(connectorEndDifferentType); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validBindingConnector).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidBindingConnector).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/BlockPropertyCompositeModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/BlockPropertyCompositeModelConstraintTest.java new file mode 100644 index 0000000..d5d09db --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/BlockPropertyCompositeModelConstraintTest.java
@@ -0,0 +1,96 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.blocks; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.AggregationKind; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.DataType; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +public class BlockPropertyCompositeModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.block.propertycomposite"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + DataType valueType = UMLFactory.eINSTANCE.createDataType(); + valueType.setPackage(model); + StereotypeApplicationHelper.getInstance(null).applyStereotype(valueType, BlocksPackage.eINSTANCE.getValueType()); + + Class validBlock = model.createOwnedClass("validBlock", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validBlock, BlocksPackage.eINSTANCE.getBlock()); + Property validAttribute = validBlock.createOwnedAttribute("validAttribute", valueType); + validAttribute.setAggregation(AggregationKind.COMPOSITE_LITERAL); + + Class invalidBlock = model.createOwnedClass("invalidBlock", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidBlock, BlocksPackage.eINSTANCE.getBlock()); + Property invalidAttribute = invalidBlock.createOwnedAttribute("invalidAttribute", valueType); + invalidAttribute.setAggregation(AggregationKind.NONE_LITERAL); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validBlock).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidBlock).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/BlockPropertyNoNameModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/BlockPropertyNoNameModelConstraintTest.java new file mode 100644 index 0000000..aeb8b13 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/BlockPropertyNoNameModelConstraintTest.java
@@ -0,0 +1,96 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.blocks; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.AggregationKind; +import org.eclipse.uml2.uml.Association; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +public class BlockPropertyNoNameModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.block.propertynoname"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class validBlock = model.createOwnedClass("validBlock", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validBlock, BlocksPackage.eINSTANCE.getBlock()); + Property validAttribute = validBlock.createOwnedAttribute("", validBlock); + Association validassociation = validBlock.createAssociation(true, AggregationKind.NONE_LITERAL, "", 0, 0, validBlock, true, AggregationKind.NONE_LITERAL, "", 0, 0); + validAttribute.setOwningAssociation(validassociation); + validassociation.getMemberEnds().add(validAttribute); + + Class invalidBlock = model.createOwnedClass("invalidBlock", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidBlock, BlocksPackage.eINSTANCE.getBlock()); + Property invalidAttribute = invalidBlock.createOwnedAttribute("invalidAttribute", invalidBlock); + Association invalidassociation = validBlock.createAssociation(true, AggregationKind.NONE_LITERAL, "", 0, 0, validBlock, true, AggregationKind.NONE_LITERAL, "", 0, 0); + invalidAttribute.setOwningAssociation(invalidassociation); + invalidassociation.getMemberEnds().add(invalidAttribute); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validAttribute).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidAttribute).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/BlockSpecializationModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/BlockSpecializationModelConstraintTest.java new file mode 100644 index 0000000..9d6c9cb --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/BlockSpecializationModelConstraintTest.java
@@ -0,0 +1,91 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.blocks; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +public class BlockSpecializationModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.block.specialization"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class validBlock = model.createOwnedClass("validBlock", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validBlock, BlocksPackage.eINSTANCE.getBlock()); + + Class parentValidBlock = model.createOwnedClass("parentValidBlock", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(parentValidBlock, BlocksPackage.eINSTANCE.getBlock()); + validBlock.createGeneralization(parentValidBlock); + + Class invalidBlock = model.createOwnedClass("invalidBlock", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidBlock, BlocksPackage.eINSTANCE.getBlock()); + Class invalidClass = model.createOwnedClass("invalidClass", false); + invalidClass.createGeneralization(invalidBlock); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validBlock).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidClass).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ClassifierBehaviorPropertyIsCompositeModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ClassifierBehaviorPropertyIsCompositeModelConstraintTest.java new file mode 100644 index 0000000..3481ff1 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ClassifierBehaviorPropertyIsCompositeModelConstraintTest.java
@@ -0,0 +1,91 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.blocks; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.AggregationKind; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +public class ClassifierBehaviorPropertyIsCompositeModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.classifierbehaviorproperty.iscomposite"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class clazz = model.createOwnedClass("Class", false); + + Property validClassifierBehaviorProperty = clazz.createOwnedAttribute("validClassifierBehaviorProperty", clazz); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validClassifierBehaviorProperty, BlocksPackage.eINSTANCE.getClassifierBehaviorProperty()); + validClassifierBehaviorProperty.setAggregation(AggregationKind.COMPOSITE_LITERAL); + + Property invalidClassifierBehaviorProperty = clazz.createOwnedAttribute("invalidClassifierBehaviorProperty", clazz); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidClassifierBehaviorProperty, BlocksPackage.eINSTANCE.getClassifierBehaviorProperty()); + invalidClassifierBehaviorProperty.setAggregation(AggregationKind.NONE_LITERAL); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validClassifierBehaviorProperty).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidClassifierBehaviorProperty).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ClassifierBehaviorPropertyOnBlockModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ClassifierBehaviorPropertyOnBlockModelConstraintTest.java new file mode 100644 index 0000000..935d545 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ClassifierBehaviorPropertyOnBlockModelConstraintTest.java
@@ -0,0 +1,93 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.blocks; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.UMLPackage; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +public class ClassifierBehaviorPropertyOnBlockModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.classifierbehaviorproperty.onblock"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class validBlock = model.createOwnedClass("validBlock", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validBlock, BlocksPackage.eINSTANCE.getBlock()); + validBlock.createClassifierBehavior("validClassifierBehavior", UMLPackage.eINSTANCE.getActivity()); + + Property validClassifierBehaviorProperty = validBlock.createOwnedAttribute("validClassifierBehaviorProperty", validBlock); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validClassifierBehaviorProperty, BlocksPackage.eINSTANCE.getClassifierBehaviorProperty()); + + Class invalidBlock = model.createOwnedClass("invalidBlock", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidBlock, BlocksPackage.eINSTANCE.getBlock()); + Property invalidClassifierBehaviorProperty = invalidBlock.createOwnedAttribute("invalidClassifierBehaviorProperty", null); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidClassifierBehaviorProperty, BlocksPackage.eINSTANCE.getClassifierBehaviorProperty()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validClassifierBehaviorProperty).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidClassifierBehaviorProperty).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ClassifierBehaviorPropertyTypedByModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ClassifierBehaviorPropertyTypedByModelConstraintTest.java new file mode 100644 index 0000000..0d05e7f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ClassifierBehaviorPropertyTypedByModelConstraintTest.java
@@ -0,0 +1,96 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.blocks; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Behavior; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.UMLPackage; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +public class ClassifierBehaviorPropertyTypedByModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.classifierbehaviorproperty.typedby"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class validBlock = model.createOwnedClass("validBlock", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validBlock, BlocksPackage.eINSTANCE.getBlock()); + Behavior createClassifierBehavior = validBlock.createClassifierBehavior("validClassifierBehavior", UMLPackage.eINSTANCE.getActivity()); + + Property validClassifierBehaviorProperty = validBlock.createOwnedAttribute("validClassifierBehaviorProperty", validBlock); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validClassifierBehaviorProperty, BlocksPackage.eINSTANCE.getClassifierBehaviorProperty()); + validClassifierBehaviorProperty.setType(createClassifierBehavior); + + Class invalidBlock = model.createOwnedClass("invalidBlock", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidBlock, BlocksPackage.eINSTANCE.getBlock()); + Property invalidClassifierBehaviorProperty = invalidBlock.createOwnedAttribute("invalidClassifierBehaviorProperty", null); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidClassifierBehaviorProperty, BlocksPackage.eINSTANCE.getClassifierBehaviorProperty()); + invalidClassifierBehaviorProperty.setType(validBlock); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validClassifierBehaviorProperty).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidClassifierBehaviorProperty).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ConnectorPropertyOnlyCompositeModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ConnectorPropertyOnlyCompositeModelConstraintTest.java new file mode 100644 index 0000000..3a8f955 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ConnectorPropertyOnlyCompositeModelConstraintTest.java
@@ -0,0 +1,91 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.blocks; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +public class ConnectorPropertyOnlyCompositeModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.connectorproperty.onlycomposite"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class clazz = model.createOwnedClass("Class", false); + + Property validConnectorProperty = clazz.createOwnedAttribute("validConnectorProperty", clazz); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validConnectorProperty, BlocksPackage.eINSTANCE.getConnectorProperty()); + validConnectorProperty.setIsComposite(true); + + + Property invalidConnectorProperty = clazz.createOwnedAttribute("invalidConnectorProperty", clazz); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidConnectorProperty, BlocksPackage.eINSTANCE.getConnectorProperty()); + invalidConnectorProperty.setIsComposite(false); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validConnectorProperty).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidConnectorProperty).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ConnectorPropertyOnlyOnBlockModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ConnectorPropertyOnlyOnBlockModelConstraintTest.java new file mode 100644 index 0000000..20a9d3b --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ConnectorPropertyOnlyOnBlockModelConstraintTest.java
@@ -0,0 +1,90 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.blocks; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +public class ConnectorPropertyOnlyOnBlockModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.connectorproperty.onlyonblock"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class clazz = model.createOwnedClass("Class", false); + Class block = model.createOwnedClass("Block", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(block, BlocksPackage.eINSTANCE.getBlock()); + + Property validConnectorProperty = block.createOwnedAttribute("validConnectorProperty", block); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validConnectorProperty, BlocksPackage.eINSTANCE.getConnectorProperty()); + + Property invalidConnectorProperty = clazz.createOwnedAttribute("invalidConnectorProperty", clazz); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidConnectorProperty, BlocksPackage.eINSTANCE.getConnectorProperty()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validConnectorProperty).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidConnectorProperty).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ConnectorPropertyReferOwnedConnectorModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ConnectorPropertyReferOwnedConnectorModelConstraintTest.java new file mode 100644 index 0000000..e7bda7c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ConnectorPropertyReferOwnedConnectorModelConstraintTest.java
@@ -0,0 +1,95 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.blocks; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.blocks.ConnectorProperty; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Connector; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +public class ConnectorPropertyReferOwnedConnectorModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.connectorproperty.referownedconnector"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class clazz = model.createOwnedClass("Class", false); + Class block = model.createOwnedClass("Block", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(block, BlocksPackage.eINSTANCE.getBlock()); + + Property validProperty = block.createOwnedAttribute("validProperty", block); + ConnectorProperty validConnectorProperty = (ConnectorProperty) StereotypeApplicationHelper.getInstance(null).applyStereotype(validProperty, BlocksPackage.eINSTANCE.getConnectorProperty()); + Connector ownedConnector = block.createOwnedConnector("ownedConnector"); + validConnectorProperty.setConnector(ownedConnector); + + Property invalidProperty = clazz.createOwnedAttribute("invalidProperty", clazz); + ConnectorProperty invalidConnectorProperty = (ConnectorProperty) StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidProperty, BlocksPackage.eINSTANCE.getConnectorProperty()); + invalidConnectorProperty.setConnector(ownedConnector); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validProperty).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidProperty).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ConnectorPropertySameNameModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ConnectorPropertySameNameModelConstraintTest.java new file mode 100644 index 0000000..23522eb --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ConnectorPropertySameNameModelConstraintTest.java
@@ -0,0 +1,103 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.blocks; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.blocks.ConnectorProperty; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.AggregationKind; +import org.eclipse.uml2.uml.Association; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Connector; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +public class ConnectorPropertySameNameModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.connectorproperty.samename"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class clazz = model.createOwnedClass("Class", false); + Class block = model.createOwnedClass("Block", false); + + Association association = clazz.createAssociation(true, AggregationKind.NONE_LITERAL, "", 0, 0, clazz, true, AggregationKind.NONE_LITERAL, "", 0, 0); + + StereotypeApplicationHelper.getInstance(null).applyStereotype(block, BlocksPackage.eINSTANCE.getBlock()); + + Property validProperty = block.createOwnedAttribute("validProperty", block); + validProperty.setType(association); + ConnectorProperty validConnectorProperty = (ConnectorProperty) StereotypeApplicationHelper.getInstance(null).applyStereotype(validProperty, BlocksPackage.eINSTANCE.getConnectorProperty()); + Connector ownedConnector = block.createOwnedConnector("ownedConnector"); + validConnectorProperty.setConnector(ownedConnector); + ownedConnector.setName("validProperty"); + ownedConnector.setType(association); + + Property invalidProperty = clazz.createOwnedAttribute("invalidProperty", clazz); + ConnectorProperty invalidConnectorProperty = (ConnectorProperty) StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidProperty, BlocksPackage.eINSTANCE.getConnectorProperty()); + invalidConnectorProperty.setConnector(ownedConnector); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validProperty).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidProperty).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ConnectorPropertyTypedByAssociationBlockModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ConnectorPropertyTypedByAssociationBlockModelConstraintTest.java new file mode 100644 index 0000000..b874ee5 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ConnectorPropertyTypedByAssociationBlockModelConstraintTest.java
@@ -0,0 +1,109 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.blocks; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.blocks.ConnectorProperty; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.AggregationKind; +import org.eclipse.uml2.uml.Association; +import org.eclipse.uml2.uml.AssociationClass; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Connector; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +public class ConnectorPropertyTypedByAssociationBlockModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.connectorproperty.typedbyassociationblock"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class clazz = model.createOwnedClass("Class", false); + Class block = model.createOwnedClass("Block", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(block, BlocksPackage.eINSTANCE.getBlock()); + + AssociationClass createAssociationClass = UMLFactory.eINSTANCE.createAssociationClass(); + createAssociationClass.setPackage(model); + StereotypeApplicationHelper.getInstance(null).applyStereotype(createAssociationClass, BlocksPackage.eINSTANCE.getBlock()); + + Property validProperty = block.createOwnedAttribute("validProperty", block); + ConnectorProperty validConnectorProperty = (ConnectorProperty) StereotypeApplicationHelper.getInstance(null).applyStereotype(validProperty, BlocksPackage.eINSTANCE.getConnectorProperty()); + Connector validOwnedConnector = block.createOwnedConnector("validOwnedConnector"); + validConnectorProperty.setConnector(validOwnedConnector); + validOwnedConnector.setType(createAssociationClass); + + Property invalidProperty = clazz.createOwnedAttribute("invalidProperty", clazz); + ConnectorProperty invalidConnectorProperty = (ConnectorProperty) StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidProperty, BlocksPackage.eINSTANCE.getConnectorProperty()); + Connector invalidOwnedConnector = block.createOwnedConnector("invalidOwnedConnector"); + invalidConnectorProperty.setConnector(invalidOwnedConnector); + Association association = clazz.createAssociation(true, AggregationKind.NONE_LITERAL, "", 0, 0, clazz, true, AggregationKind.NONE_LITERAL, "", 0, 0); + invalidOwnedConnector.setType(association); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validProperty).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidProperty).size()); + } + +} +
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/DistributedPropertyTypedByModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/DistributedPropertyTypedByModelConstraintTest.java new file mode 100644 index 0000000..3fb30f4 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/DistributedPropertyTypedByModelConstraintTest.java
@@ -0,0 +1,90 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.blocks; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +public class DistributedPropertyTypedByModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.distributedproperty.typedby"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class clazz = model.createOwnedClass("Class", false); + Class block = model.createOwnedClass("Block", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(block, BlocksPackage.eINSTANCE.getBlock()); + + Property validDistributedProperty = clazz.createOwnedAttribute("validDistributedProperty", block); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validDistributedProperty, BlocksPackage.eINSTANCE.getDistributedProperty()); + + Property invalidDistributedProperty = clazz.createOwnedAttribute("invalidDistributedProperty", clazz); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidDistributedProperty, BlocksPackage.eINSTANCE.getDistributedProperty()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validDistributedProperty).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidDistributedProperty).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/EndPathMultiplicityNotNegativeModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/EndPathMultiplicityNotNegativeModelConstraintTest.java new file mode 100644 index 0000000..94769a9 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/EndPathMultiplicityNotNegativeModelConstraintTest.java
@@ -0,0 +1,91 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.blocks; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.blocks.EndPathMultiplicity; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +public class EndPathMultiplicityNotNegativeModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.endpathmultiplicity.notnegative"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class clazz = model.createOwnedClass("Class", false); + + Property validEndPathMultiplicity = clazz.createOwnedAttribute("validEndPathMultiplicity", clazz); + EndPathMultiplicity validEndPathMultiplicityStereotype= (EndPathMultiplicity) StereotypeApplicationHelper.getInstance(null).applyStereotype(validEndPathMultiplicity, BlocksPackage.eINSTANCE.getEndPathMultiplicity()); + validEndPathMultiplicityStereotype.setLower(1); + + Property invalidEndPathMultiplicity = clazz.createOwnedAttribute("invalidEndPathMultiplicity", clazz); + EndPathMultiplicity invalidEndPathMultiplicityStereotype= (EndPathMultiplicity) StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidEndPathMultiplicity, BlocksPackage.eINSTANCE.getEndPathMultiplicity()); + invalidEndPathMultiplicityStereotype.setLower(-1); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validEndPathMultiplicity).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidEndPathMultiplicity).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ParticipantPropertyEndMultiplicityModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ParticipantPropertyEndMultiplicityModelConstraintTest.java new file mode 100644 index 0000000..b123bae --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ParticipantPropertyEndMultiplicityModelConstraintTest.java
@@ -0,0 +1,92 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.blocks; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +public class ParticipantPropertyEndMultiplicityModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.participantproperty.endmultiplicity"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class clazz = model.createOwnedClass("Class", false); + + Property validProperty = clazz.createOwnedAttribute("validProperty", clazz); + validProperty.setUpper(1); + validProperty.setLower(1); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validProperty, BlocksPackage.eINSTANCE.getParticipantProperty()); + + Property invalidProperty = clazz.createOwnedAttribute("invalidProperty", clazz); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidProperty, BlocksPackage.eINSTANCE.getParticipantProperty()); + invalidProperty.setUpper(2); + invalidProperty.setLower(0); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validProperty).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidProperty).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ParticipantPropertyNoAssociationMemberEndsModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ParticipantPropertyNoAssociationMemberEndsModelConstraintTest.java new file mode 100644 index 0000000..92be5bf --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ParticipantPropertyNoAssociationMemberEndsModelConstraintTest.java
@@ -0,0 +1,93 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.blocks; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.AggregationKind; +import org.eclipse.uml2.uml.Association; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +public class ParticipantPropertyNoAssociationMemberEndsModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.participantproperty.noassociationmemberends"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class clazz = model.createOwnedClass("Class", false); + + + Property validProperty = clazz.createOwnedAttribute("validProperty", clazz); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validProperty, BlocksPackage.eINSTANCE.getParticipantProperty()); + + Property invalidProperty = clazz.createOwnedAttribute("invalidProperty", clazz); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidProperty, BlocksPackage.eINSTANCE.getParticipantProperty()); + Association association = clazz.createAssociation(true, AggregationKind.NONE_LITERAL, "", 0, 0, clazz, true, AggregationKind.NONE_LITERAL, "", 0, 0); + invalidProperty.setAssociation(association); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validProperty).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidProperty).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ParticipantPropertyOnlyAssociationBlockModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ParticipantPropertyOnlyAssociationBlockModelConstraintTest.java new file mode 100644 index 0000000..fc58a67 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ParticipantPropertyOnlyAssociationBlockModelConstraintTest.java
@@ -0,0 +1,94 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.blocks; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.AssociationClass; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +public class ParticipantPropertyOnlyAssociationBlockModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.participantproperty.onlyassociationblock"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class clazz = model.createOwnedClass("Class", false); + + AssociationClass createAssociationClass = UMLFactory.eINSTANCE.createAssociationClass(); + createAssociationClass.setPackage(model); + StereotypeApplicationHelper.getInstance(null).applyStereotype(createAssociationClass, BlocksPackage.eINSTANCE.getBlock()); + + Property validProperty = createAssociationClass.createOwnedAttribute("validProperty", clazz); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validProperty, BlocksPackage.eINSTANCE.getParticipantProperty()); + + Property invalidProperty = clazz.createOwnedAttribute("invalidProperty", clazz); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidProperty, BlocksPackage.eINSTANCE.getParticipantProperty()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validProperty).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidProperty).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ParticipantPropertyOnlyNoneAggregationModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ParticipantPropertyOnlyNoneAggregationModelConstraintTest.java new file mode 100644 index 0000000..2cde9fd --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ParticipantPropertyOnlyNoneAggregationModelConstraintTest.java
@@ -0,0 +1,91 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.blocks; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.AggregationKind; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +public class ParticipantPropertyOnlyNoneAggregationModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.participantproperty.onlynoneaggregation"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class clazz = model.createOwnedClass("Class", false); + + Property validProperty = clazz.createOwnedAttribute("validProperty", clazz); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validProperty, BlocksPackage.eINSTANCE.getParticipantProperty()); + validProperty.setAggregation(AggregationKind.NONE_LITERAL); + + Property invalidProperty = clazz.createOwnedAttribute("invalidProperty", clazz); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidProperty, BlocksPackage.eINSTANCE.getParticipantProperty()); + invalidProperty.setAggregation(AggregationKind.COMPOSITE_LITERAL); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validProperty).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidProperty).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ParticipantPropertySameEndModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ParticipantPropertySameEndModelConstraintTest.java new file mode 100644 index 0000000..c37da7d --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ParticipantPropertySameEndModelConstraintTest.java
@@ -0,0 +1,105 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.blocks; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.blocks.ParticipantProperty; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.AssociationClass; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +public class ParticipantPropertySameEndModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.participantproperty.sameend"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class clazz = model.createOwnedClass("Class", false); + Class clazz2 = model.createOwnedClass("Class2", false); + + AssociationClass createAssociationClass = UMLFactory.eINSTANCE.createAssociationClass(); + createAssociationClass.setPackage(model); + + + Property endSameType = createAssociationClass.createOwnedAttribute("endSameType", clazz); + Property endDiffType = createAssociationClass.createOwnedAttribute("endDiffType", clazz2); + + createAssociationClass.getMemberEnds().add(endSameType); + + StereotypeApplicationHelper.getInstance(null).applyStereotype(createAssociationClass, BlocksPackage.eINSTANCE.getBlock()); + + Property validProperty = createAssociationClass.createOwnedAttribute("validProperty", clazz); + ParticipantProperty validParticipantProperty = (ParticipantProperty) StereotypeApplicationHelper.getInstance(null).applyStereotype(validProperty, BlocksPackage.eINSTANCE.getParticipantProperty()); + validParticipantProperty.setEnd(endSameType); + + Property invalidProperty = createAssociationClass.createOwnedAttribute("invalidProperty", clazz); + ParticipantProperty invalidParticipantProperty = (ParticipantProperty) StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidProperty, BlocksPackage.eINSTANCE.getParticipantProperty()); + invalidParticipantProperty.setEnd(endDiffType); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validProperty).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidProperty).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ParticipantPropertySameTypeModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ParticipantPropertySameTypeModelConstraintTest.java new file mode 100644 index 0000000..d1469eb --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/ParticipantPropertySameTypeModelConstraintTest.java
@@ -0,0 +1,94 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.blocks; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.blocks.ParticipantProperty; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +public class ParticipantPropertySameTypeModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.participantproperty.sametype"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class clazz = model.createOwnedClass("Class", false); + Class clazz2 = model.createOwnedClass("Class2", false); + Property endSameType = clazz.createOwnedAttribute("validProperty", clazz); + Property endDiffType = clazz.createOwnedAttribute("validProperty", clazz2); + + Property validProperty = clazz.createOwnedAttribute("validProperty", clazz); + ParticipantProperty validParticipantProperty = (ParticipantProperty) StereotypeApplicationHelper.getInstance(null).applyStereotype(validProperty, BlocksPackage.eINSTANCE.getParticipantProperty()); + validParticipantProperty.setEnd(endSameType); + + Property invalidProperty = clazz.createOwnedAttribute("invalidProperty", clazz); + ParticipantProperty invalidParticipantProperty = (ParticipantProperty) StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidProperty, BlocksPackage.eINSTANCE.getParticipantProperty()); + invalidParticipantProperty.setEnd(endDiffType); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validProperty).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidProperty).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/PropertySpecificTypeMissingNameModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/PropertySpecificTypeMissingNameModelConstraintTest.java new file mode 100644 index 0000000..6e8d0ae --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/PropertySpecificTypeMissingNameModelConstraintTest.java
@@ -0,0 +1,85 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.blocks; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +public class PropertySpecificTypeMissingNameModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.propertyspecifictype.missingname"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class validClass = model.createOwnedClass(null, false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validClass, BlocksPackage.eINSTANCE.getPropertySpecificType()); + + Class invalidClass = model.createOwnedClass("invalidClass", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidClass, BlocksPackage.eINSTANCE.getPropertySpecificType()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validClass).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidClass).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/PropertySpecificTypeUniquePropertyModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/PropertySpecificTypeUniquePropertyModelConstraintTest.java new file mode 100644 index 0000000..1ea40f1 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/blocks/PropertySpecificTypeUniquePropertyModelConstraintTest.java
@@ -0,0 +1,88 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.blocks; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +public class PropertySpecificTypeUniquePropertyModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.propertyspecifictype.uniqueproperty"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class validClass = model.createOwnedClass("validClass", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validClass, BlocksPackage.eINSTANCE.getPropertySpecificType()); + validClass.createOwnedAttribute("typeUniqueAttribute", validClass); + + Class invalidClass = model.createOwnedClass("invalidClass", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidClass, BlocksPackage.eINSTANCE.getPropertySpecificType()); + invalidClass.createOwnedAttribute("typeDoubleAttribute", invalidClass); + invalidClass.createOwnedAttribute("typeDoubleAttribute2", invalidClass); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validClass).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidClass).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/modelelements/ConformGeneralClassifierViewpointModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/modelelements/ConformGeneralClassifierViewpointModelConstraintTest.java new file mode 100644 index 0000000..18c5511 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/modelelements/ConformGeneralClassifierViewpointModelConstraintTest.java
@@ -0,0 +1,90 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.modelelements; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Generalization; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +public class ConformGeneralClassifierViewpointModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.conform.generalviewpoint"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class clazz = model.createOwnedClass("Class", false); + Class viewpoint = model.createOwnedClass("Viewpoint", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(viewpoint, ModelelementsPackage.eINSTANCE.getViewpoint()); + + Generalization validConform = clazz.createGeneralization(viewpoint); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validConform, ModelelementsPackage.eINSTANCE.getConform()); + + Generalization invalidConform = clazz.createGeneralization(clazz); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidConform, ModelelementsPackage.eINSTANCE.getConform()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validConform).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidConform).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/modelelements/ConformSpecificClassifierViewModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/modelelements/ConformSpecificClassifierViewModelConstraintTest.java new file mode 100644 index 0000000..8324abc --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/modelelements/ConformSpecificClassifierViewModelConstraintTest.java
@@ -0,0 +1,90 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.modelelements; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Generalization; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +public class ConformSpecificClassifierViewModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.conform.specificview"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class clazz = model.createOwnedClass("Class", false); + Class view = model.createOwnedClass("View", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(view, ModelelementsPackage.eINSTANCE.getView()); + + Generalization validConform = view.createGeneralization(clazz); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validConform, ModelelementsPackage.eINSTANCE.getConform()); + + Generalization invalidConform = clazz.createGeneralization(clazz); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidConform, ModelelementsPackage.eINSTANCE.getConform()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validConform).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidConform).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/modelelements/ExposeClientStereotypedByViewModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/modelelements/ExposeClientStereotypedByViewModelConstraintTest.java new file mode 100644 index 0000000..11ec429 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/modelelements/ExposeClientStereotypedByViewModelConstraintTest.java
@@ -0,0 +1,90 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.modelelements; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Dependency; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +public class ExposeClientStereotypedByViewModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.expose.clientview"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class clazz = model.createOwnedClass("Class", false); + Class view = model.createOwnedClass("View", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(view, ModelelementsPackage.eINSTANCE.getView()); + + Dependency validExpose = view.createDependency(clazz); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validExpose, ModelelementsPackage.eINSTANCE.getExpose()); + + Dependency invalidExpose = clazz.createDependency(clazz); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidExpose, ModelelementsPackage.eINSTANCE.getExpose()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validExpose).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidExpose).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/modelelements/ViewSingleViewpointModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/modelelements/ViewSingleViewpointModelConstraintTest.java new file mode 100644 index 0000000..3e1bf89 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/modelelements/ViewSingleViewpointModelConstraintTest.java
@@ -0,0 +1,98 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.modelelements; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Generalization; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +public class ViewSingleViewpointModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.view.singleviewpoint"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class viewpoint = model.createOwnedClass("viewpoint", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(viewpoint, ModelelementsPackage.eINSTANCE.getViewpoint()); + + Class validView = model.createOwnedClass("validView", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validView, ModelelementsPackage.eINSTANCE.getView()); + + Generalization validConform = validView.createGeneralization(viewpoint); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validConform, ModelelementsPackage.eINSTANCE.getConform()); + + Class invalidView = model.createOwnedClass("invalidView", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidView, ModelelementsPackage.eINSTANCE.getView()); + + Generalization invalidConform1 = invalidView.createGeneralization(viewpoint); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidConform1, ModelelementsPackage.eINSTANCE.getConform()); + Generalization invalidConform2 = invalidView.createGeneralization(viewpoint); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidConform2, ModelelementsPackage.eINSTANCE.getConform()); + + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validView).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidView).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/modelelements/ViewpointOwnedViewModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/modelelements/ViewpointOwnedViewModelConstraintTest.java new file mode 100644 index 0000000..a37d885 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/modelelements/ViewpointOwnedViewModelConstraintTest.java
@@ -0,0 +1,91 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.modelelements; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Operation; +import org.eclipse.uml2.uml.profile.standard.StandardPackage; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID + * + */ +@SuppressWarnings("nls") +public class ViewpointOwnedViewModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.viewpoint.ownedview"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class validViewpoint = model.createOwnedClass("validViewpoint", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validViewpoint, ModelelementsPackage.eINSTANCE.getViewpoint()); + + Operation validOwnedOperation = validViewpoint.createOwnedOperation("View", null, null); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validOwnedOperation,StandardPackage.eINSTANCE.getCreate()); + + Class invalidViewpoint = model.createOwnedClass("invalidViewpoint", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidViewpoint, ModelelementsPackage.eINSTANCE.getViewpoint()); + + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validViewpoint).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidViewpoint).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/FlowPropertyTypedByModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/FlowPropertyTypedByModelConstraintTest.java new file mode 100644 index 0000000..6d93f33 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/FlowPropertyTypedByModelConstraintTest.java
@@ -0,0 +1,92 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.portsandflows; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on FlowPropertyTypedByModelConstraint + * + */ +@SuppressWarnings("nls") +public class FlowPropertyTypedByModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.flowproperty.typedby"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class clazz = model.createOwnedClass("Class", false); + Class block = model.createOwnedClass("Block", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(block, BlocksPackage.eINSTANCE.getBlock()); + + Property validFlowProperty = clazz.createOwnedAttribute("validFlowProperty", block); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validFlowProperty, PortsandflowsPackage.eINSTANCE.getFlowProperty()); + + + Property invalidFlowProperty = clazz.createOwnedAttribute("invalidFlowProperty", clazz); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidFlowProperty, PortsandflowsPackage.eINSTANCE.getFlowProperty()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validFlowProperty).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidFlowProperty).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/FullPortNotBehavioralModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/FullPortNotBehavioralModelConstraintTest.java new file mode 100644 index 0000000..6cf46ff --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/FullPortNotBehavioralModelConstraintTest.java
@@ -0,0 +1,89 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.portsandflows; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on FullPortNotBehavioral constraint + * + */ +@SuppressWarnings("nls") +public class FullPortNotBehavioralModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.fullport.notbehavioral"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class clazz = model.createOwnedClass("Class", false); + Port validPort = clazz.createOwnedPort("validPort", null); + validPort.setIsBehavior(false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validPort, PortsandflowsPackage.eINSTANCE.getFullPort()); + + Port invalidPort = clazz.createOwnedPort("invalidPort", null); + invalidPort.setIsBehavior(true); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidPort, PortsandflowsPackage.eINSTANCE.getFullPort()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validPort).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidPort).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/FullPortNotConjugatedModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/FullPortNotConjugatedModelConstraintTest.java new file mode 100644 index 0000000..483155d --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/FullPortNotConjugatedModelConstraintTest.java
@@ -0,0 +1,88 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.portsandflows; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on FullPortNotConjugated constraint + * + */ +@SuppressWarnings("nls") +public class FullPortNotConjugatedModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.fullport.notconjugated"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class clazz = model.createOwnedClass("Class", false); + Port validPort = clazz.createOwnedPort("validPort", null); + validPort.setIsConjugated(false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validPort, PortsandflowsPackage.eINSTANCE.getFullPort()); + Port invalidPort = clazz.createOwnedPort("invalidPort", null); + invalidPort.setIsConjugated(true); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidPort, PortsandflowsPackage.eINSTANCE.getFullPort()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validPort).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidPort).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/FullPortNotProxyPortModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/FullPortNotProxyPortModelConstraintTest.java new file mode 100644 index 0000000..4a6748d --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/FullPortNotProxyPortModelConstraintTest.java
@@ -0,0 +1,87 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.portsandflows; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on FullPortNotProxyPort constraint + * + */ +@SuppressWarnings("nls") +public class FullPortNotProxyPortModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.fullport.notproxyport"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class clazz = model.createOwnedClass("Class", false); + Port validPort = clazz.createOwnedPort("validPort", null); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validPort, PortsandflowsPackage.eINSTANCE.getFullPort()); + Port invalidPort = clazz.createOwnedPort("invalidPort", null); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidPort, PortsandflowsPackage.eINSTANCE.getFullPort()); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidPort, PortsandflowsPackage.eINSTANCE.getProxyPort()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validPort).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidPort).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/InterfaceBlockNoBehaviorConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/InterfaceBlockNoBehaviorConstraintTest.java new file mode 100644 index 0000000..c0a8185 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/InterfaceBlockNoBehaviorConstraintTest.java
@@ -0,0 +1,87 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.portsandflows; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.UMLPackage; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID constraint + * + */ +@SuppressWarnings("nls") +public class InterfaceBlockNoBehaviorConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.interfaceblock.nobehavior"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class validInterfaceBlock = model.createOwnedClass("validInterfaceBlock", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validInterfaceBlock, PortsandflowsPackage.eINSTANCE.getInterfaceBlock()); + + Class invalidInterfaceBlock = model.createOwnedClass("invalidInterfaceBlock", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidInterfaceBlock, PortsandflowsPackage.eINSTANCE.getInterfaceBlock()); + invalidInterfaceBlock.createClassifierBehavior("invalidClassifierBehavior", UMLPackage.eINSTANCE.getActivity()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validInterfaceBlock).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidInterfaceBlock).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/InterfaceBlockNoCompositePropertyModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/InterfaceBlockNoCompositePropertyModelConstraintTest.java new file mode 100644 index 0000000..dfeb040 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/InterfaceBlockNoCompositePropertyModelConstraintTest.java
@@ -0,0 +1,90 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.portsandflows; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.AggregationKind; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID constraint + * + */ +@SuppressWarnings("nls") +public class InterfaceBlockNoCompositePropertyModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.interfaceblock.nocompositeproperty"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class validInterfaceBlock = model.createOwnedClass("validInterfaceBlock", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validInterfaceBlock, PortsandflowsPackage.eINSTANCE.getInterfaceBlock()); + validInterfaceBlock.createOwnedAttribute("valideProperty", null); + + Class invalidInterfaceBlock = model.createOwnedClass("invalidInterfaceBlock", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidInterfaceBlock, PortsandflowsPackage.eINSTANCE.getInterfaceBlock()); + Property invalideProperty = invalidInterfaceBlock.createOwnedAttribute("invalideProperty", null); + invalideProperty.setAggregation(AggregationKind.COMPOSITE_LITERAL); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validInterfaceBlock).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidInterfaceBlock).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/InterfaceBlockPortTypeModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/InterfaceBlockPortTypeModelConstraintTest.java new file mode 100644 index 0000000..16a3253 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/InterfaceBlockPortTypeModelConstraintTest.java
@@ -0,0 +1,91 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.portsandflows; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID constraint + * + */ +@SuppressWarnings("nls") +public class InterfaceBlockPortTypeModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.interfaceblock.porttype"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class validInterfaceBlock = model.createOwnedClass("validInterfaceBlock", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validInterfaceBlock, PortsandflowsPackage.eINSTANCE.getInterfaceBlock()); + Port validePort = validInterfaceBlock.createOwnedPort("validePort", null); + validePort.setType(validInterfaceBlock); + + Class invalidInterfaceBlock = model.createOwnedClass("invalidInterfaceBlock", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidInterfaceBlock, PortsandflowsPackage.eINSTANCE.getInterfaceBlock()); + Property invalidePort = invalidInterfaceBlock.createOwnedPort("invalidePort", null); + invalidePort.setType(model.createOwnedClass("Class", false)); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validInterfaceBlock).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidInterfaceBlock).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/ProxyPortForceInnerProxyPortModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/ProxyPortForceInnerProxyPortModelConstraintTest.java new file mode 100644 index 0000000..e41690e --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/ProxyPortForceInnerProxyPortModelConstraintTest.java
@@ -0,0 +1,96 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.portsandflows; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on FullPortNotProxyPort constraint + * + */ +@SuppressWarnings("nls") +public class ProxyPortForceInnerProxyPortModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.proxyport.innerproxyport"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class clazz = model.createOwnedClass("Class", false); + Port validPort = clazz.createOwnedPort("validPort", null); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validPort, PortsandflowsPackage.eINSTANCE.getProxyPort()); + + Class clazzWithOnlyProxyPort = model.createOwnedClass("clazzWithOnlyProxyPort", false); + Port innerProxyPort = clazzWithOnlyProxyPort.createOwnedPort("innerProxyPort", null); + StereotypeApplicationHelper.getInstance(null).applyStereotype(innerProxyPort, PortsandflowsPackage.eINSTANCE.getProxyPort()); + validPort.setType(clazzWithOnlyProxyPort); + + Port invalidPort = clazz.createOwnedPort("invalidPort", null); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidPort, PortsandflowsPackage.eINSTANCE.getProxyPort()); + + Class clazzWithStandardPort = model.createOwnedClass("clazzWithStandardPort", false); + clazzWithStandardPort.createOwnedPort("innerProxyPort", null); + invalidPort.setType(clazzWithStandardPort); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validPort).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidPort).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/ProxyPortNotFullPortModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/ProxyPortNotFullPortModelConstraintTest.java new file mode 100644 index 0000000..f2113ac --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/ProxyPortNotFullPortModelConstraintTest.java
@@ -0,0 +1,87 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.portsandflows; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on FullPortNotProxyPort constraint + * + */ +@SuppressWarnings("nls") +public class ProxyPortNotFullPortModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.proxyport.notfullport"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class clazz = model.createOwnedClass("Class", false); + Port validPort = clazz.createOwnedPort("validPort", null); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validPort, PortsandflowsPackage.eINSTANCE.getProxyPort()); + Port invalidPort = clazz.createOwnedPort("invalidPort", null); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidPort, PortsandflowsPackage.eINSTANCE.getProxyPort()); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidPort, PortsandflowsPackage.eINSTANCE.getFullPort()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validPort).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidPort).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/ProxyPortTypedByInterfaceBlockModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/ProxyPortTypedByInterfaceBlockModelConstraintTest.java new file mode 100644 index 0000000..a5c0d33 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/portsandflows/ProxyPortTypedByInterfaceBlockModelConstraintTest.java
@@ -0,0 +1,93 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.portsandflows; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on FullPortNotProxyPort constraint + * + */ +@SuppressWarnings("nls") +public class ProxyPortTypedByInterfaceBlockModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.proxyport.typedinterfaceblock"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class clazz = model.createOwnedClass("Class", false); + Port validPort = clazz.createOwnedPort("validPort", null); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validPort, PortsandflowsPackage.eINSTANCE.getProxyPort()); + + Class interfaceBlock = model.createOwnedClass("interfaceBlock", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(interfaceBlock, PortsandflowsPackage.eINSTANCE.getInterfaceBlock()); + validPort.setType(interfaceBlock); + + Port invalidPort = clazz.createOwnedPort("invalidPort", null); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidPort, PortsandflowsPackage.eINSTANCE.getProxyPort()); + Class noStereotypeClazz = model.createOwnedClass("noStereotypeClazz", false); + invalidPort.setType(noStereotypeClazz); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validPort).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidPort).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/CopyBetweenRequirementsModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/CopyBetweenRequirementsModelConstraintTest.java new file mode 100644 index 0000000..7e021a0 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/CopyBetweenRequirementsModelConstraintTest.java
@@ -0,0 +1,97 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.requirements; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on Refine One Client and One Supplier constraint + * + */ +@SuppressWarnings("nls") +public class CopyBetweenRequirementsModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.copy.betweenrequirements"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Abstraction copyValid = UMLFactory.eINSTANCE.createAbstraction(); + model.getPackagedElements().add(copyValid); + Class requirementSupplier = model.createOwnedClass("requirementSupplier", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(requirementSupplier, RequirementsPackage.eINSTANCE.getRequirement()); + copyValid.getSuppliers().add(requirementSupplier); + Class requirementClient = model.createOwnedClass("requirementClient", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(requirementClient, RequirementsPackage.eINSTANCE.getRequirement()); + copyValid.getClients().add(requirementClient); + StereotypeApplicationHelper.getInstance(null).applyStereotype(copyValid, RequirementsPackage.eINSTANCE.getCopy()); + + Abstraction copyInvalid = UMLFactory.eINSTANCE.createAbstraction(); + model.getPackagedElements().add(copyInvalid); + copyInvalid.getSuppliers().add(model.createOwnedClass("classsupplier", false)); + copyInvalid.getClients().add(model.createOwnedClass("classclien", false)); + StereotypeApplicationHelper.getInstance(null).applyStereotype(copyInvalid, RequirementsPackage.eINSTANCE.getCopy()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, copyValid).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, copyInvalid).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/CopyReadOnlyModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/CopyReadOnlyModelConstraintTest.java new file mode 100644 index 0000000..00f73b5 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/CopyReadOnlyModelConstraintTest.java
@@ -0,0 +1,106 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.requirements; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.requirements.Requirement; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on Refine One Client and One Supplier constraint + * + */ +@SuppressWarnings("nls") +public class CopyReadOnlyModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.copy.readonly"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Abstraction copyValid = UMLFactory.eINSTANCE.createAbstraction(); + model.getPackagedElements().add(copyValid); + Class requirementSupplier = model.createOwnedClass("requirementSupplier", false); + Requirement requirementSupplierStereotypeplication = (Requirement) StereotypeApplicationHelper.getInstance(null).applyStereotype(requirementSupplier, RequirementsPackage.eINSTANCE.getRequirement()); + requirementSupplierStereotypeplication.setText("Copied text"); + copyValid.getSuppliers().add(requirementSupplier); + Class requirementClient = model.createOwnedClass("requirementClient", false); + Requirement requirementSupplierStereotypeplication2 = (Requirement) StereotypeApplicationHelper.getInstance(null).applyStereotype(requirementClient, RequirementsPackage.eINSTANCE.getRequirement()); + requirementSupplierStereotypeplication2.setText("Copied text"); + copyValid.getClients().add(requirementClient); + StereotypeApplicationHelper.getInstance(null).applyStereotype(copyValid, RequirementsPackage.eINSTANCE.getCopy()); + + Abstraction copyInvalid = UMLFactory.eINSTANCE.createAbstraction(); + model.getPackagedElements().add(copyInvalid); + Class requirementSupplierInvalid = model.createOwnedClass("requirementSupplier", false); + Requirement requirementSupplierStereotypeplication3 = (Requirement) StereotypeApplicationHelper.getInstance(null).applyStereotype(requirementSupplierInvalid, RequirementsPackage.eINSTANCE.getRequirement()); + requirementSupplierStereotypeplication3.setText("Copied text"); + copyInvalid.getSuppliers().add(requirementSupplierInvalid); + Class requirementClientInvalid = model.createOwnedClass("requirementClient", false); + Requirement requirementSupplierStereotypeplication4 = (Requirement) StereotypeApplicationHelper.getInstance(null).applyStereotype(requirementClientInvalid, RequirementsPackage.eINSTANCE.getRequirement()); + requirementSupplierStereotypeplication4.setText("Different Copied text"); + copyInvalid.getClients().add(requirementClientInvalid); + StereotypeApplicationHelper.getInstance(null).applyStereotype(copyInvalid, RequirementsPackage.eINSTANCE.getCopy()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, copyValid).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, copyInvalid).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/DeriveReqtClientModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/DeriveReqtClientModelConstraintTest.java new file mode 100644 index 0000000..420f98a --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/DeriveReqtClientModelConstraintTest.java
@@ -0,0 +1,96 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.requirements; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on DeriveReqt Client constraint + * + */ +@SuppressWarnings("nls") +public class DeriveReqtClientModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.derivereqt.client"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class clientRequirement = model.createOwnedClass("ClientRequirement", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(clientRequirement, RequirementsPackage.eINSTANCE.getRequirement()); + Abstraction deriveReqtValid = UMLFactory.eINSTANCE.createAbstraction(); + model.getPackagedElements().add(deriveReqtValid); + deriveReqtValid.getClients().add(clientRequirement); + deriveReqtValid.getSuppliers().add(model.createOwnedClass("uselessSupplier1", false)); + StereotypeApplicationHelper.getInstance(null).applyStereotype(deriveReqtValid, RequirementsPackage.eINSTANCE.getDeriveReqt()); + + Class clientClass = model.createOwnedClass("ClientClass", false); + Abstraction deriveReqtInvalid = UMLFactory.eINSTANCE.createAbstraction(); + model.getPackagedElements().add(deriveReqtInvalid); + deriveReqtInvalid.getClients().add(clientClass); + deriveReqtInvalid.getSuppliers().add(model.createOwnedClass("uselessSupplier2", false)); + StereotypeApplicationHelper.getInstance(null).applyStereotype(deriveReqtInvalid, RequirementsPackage.eINSTANCE.getDeriveReqt()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, deriveReqtValid).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, deriveReqtInvalid).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/DeriveReqtSupplierModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/DeriveReqtSupplierModelConstraintTest.java new file mode 100644 index 0000000..a420cd3 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/DeriveReqtSupplierModelConstraintTest.java
@@ -0,0 +1,96 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.requirements; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on DeriveReqt Supplier constraint + * + */ +@SuppressWarnings("nls") +public class DeriveReqtSupplierModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.derivereqt.supplier"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class supplierRequirement = model.createOwnedClass("SupplierRequirement", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(supplierRequirement, RequirementsPackage.eINSTANCE.getRequirement()); + Abstraction deriveReqtValid = UMLFactory.eINSTANCE.createAbstraction(); + model.getPackagedElements().add(deriveReqtValid); + deriveReqtValid.getSuppliers().add(supplierRequirement); + deriveReqtValid.getClients().add(model.createOwnedClass("uselessClient1", false)); + StereotypeApplicationHelper.getInstance(null).applyStereotype(deriveReqtValid, RequirementsPackage.eINSTANCE.getDeriveReqt()); + + Class supplierClass = model.createOwnedClass("SupplierClass", false); + Abstraction deriveReqtInvalid = UMLFactory.eINSTANCE.createAbstraction(); + model.getPackagedElements().add(deriveReqtInvalid); + deriveReqtInvalid.getSuppliers().add(supplierClass); + deriveReqtInvalid.getClients().add(model.createOwnedClass("uselessClient2", false)); + StereotypeApplicationHelper.getInstance(null).applyStereotype(deriveReqtInvalid, RequirementsPackage.eINSTANCE.getDeriveReqt()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, deriveReqtValid).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, deriveReqtInvalid).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/RefineDependencyModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/RefineDependencyModelConstraintTest.java new file mode 100644 index 0000000..457cab4 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/RefineDependencyModelConstraintTest.java
@@ -0,0 +1,88 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.requirements; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.Generalization; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on Refine One Client and One Supplier constraint + * + */ +@SuppressWarnings("nls") +public class RefineDependencyModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.refine.dependency"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Abstraction refineValid = UMLFactory.eINSTANCE.createAbstraction(); + model.getPackagedElements().add(refineValid); + StereotypeApplicationHelper.getInstance(null).applyStereotype(refineValid, RequirementsPackage.eINSTANCE.getRefine()); + + Generalization refineInvalid = model.createOwnedClass("Child", false).createGeneralization(model.createOwnedClass("Parent", false)); + StereotypeApplicationHelper.getInstance(null).applyStereotype(refineInvalid, RequirementsPackage.eINSTANCE.getRefine()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, refineValid).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, refineInvalid).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/RefineOneClientSupplierModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/RefineOneClientSupplierModelConstraintTest.java new file mode 100644 index 0000000..52ecea9 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/RefineOneClientSupplierModelConstraintTest.java
@@ -0,0 +1,90 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.requirements; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on Refine One Client and One Supplier constraint + * + */ +@SuppressWarnings("nls") +public class RefineOneClientSupplierModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.refine.oneclientsupplier"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Abstraction refineValid = UMLFactory.eINSTANCE.createAbstraction(); + model.getPackagedElements().add(refineValid); + refineValid.getClients().add(model.createOwnedClass("client", false)); + refineValid.getSuppliers().add(model.createOwnedClass("supplier", false)); + StereotypeApplicationHelper.getInstance(null).applyStereotype(refineValid, RequirementsPackage.eINSTANCE.getRefine()); + + Abstraction refineInvalid = UMLFactory.eINSTANCE.createAbstraction(); + model.getPackagedElements().add(refineInvalid); + StereotypeApplicationHelper.getInstance(null).applyStereotype(refineInvalid, RequirementsPackage.eINSTANCE.getRefine()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, refineValid).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, refineInvalid).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/RequirementEmptyOwnedAttributeModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/RequirementEmptyOwnedAttributeModelConstraintTest.java new file mode 100644 index 0000000..685716a --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/RequirementEmptyOwnedAttributeModelConstraintTest.java
@@ -0,0 +1,85 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.requirements; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID constraint + * + */ +@SuppressWarnings("nls") +public class RequirementEmptyOwnedAttributeModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.requirement.emptyownedattribute"; + + /** + * Test method for {@link org.eclipse.papyrus.sysml.service.types.command.SetNestedPathCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)}. + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class valid = model.createOwnedClass("valid", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(valid, RequirementsPackage.eINSTANCE.getRequirement()); + + Class invalid = model.createOwnedClass("invalid", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalid, RequirementsPackage.eINSTANCE.getRequirement()); + invalid.createOwnedAttribute("invalidAttribute", null); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this requirement", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, valid).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this requirement", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalid).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/RequirementEmptyOwnedOperationModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/RequirementEmptyOwnedOperationModelConstraintTest.java new file mode 100644 index 0000000..a08d0fe --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/RequirementEmptyOwnedOperationModelConstraintTest.java
@@ -0,0 +1,85 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.requirements; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID constraint + * + */ +@SuppressWarnings("nls") +public class RequirementEmptyOwnedOperationModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.requirement.emptyownedoperation"; + + /** + * Test method for {@link org.eclipse.papyrus.sysml.service.types.command.SetNestedPathCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)}. + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class valid = model.createOwnedClass("valid", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(valid, RequirementsPackage.eINSTANCE.getRequirement()); + + Class invalid = model.createOwnedClass("invalid", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalid, RequirementsPackage.eINSTANCE.getRequirement()); + invalid.createOwnedOperation("invalidOperation", null, null); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this requirement", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, valid).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this requirement", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalid).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/RequirementNestedRequirementModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/RequirementNestedRequirementModelConstraintTest.java new file mode 100644 index 0000000..5717578 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/RequirementNestedRequirementModelConstraintTest.java
@@ -0,0 +1,88 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.requirements; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID constraint + * + */ +@SuppressWarnings("nls") +public class RequirementNestedRequirementModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.requirement.nestedrequirement"; + + /** + * Test method for {@link org.eclipse.papyrus.sysml.service.types.command.SetNestedPathCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)}. + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class valid = model.createOwnedClass("valid", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(valid, RequirementsPackage.eINSTANCE.getRequirement()); + Classifier validNestedRequirement = valid.createNestedClassifier("validNestedClassifier", valid.eClass()); + StereotypeApplicationHelper.getInstance(null).applyStereotype(validNestedRequirement, RequirementsPackage.eINSTANCE.getRequirement()); + + Class invalid = model.createOwnedClass("invalid", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalid, RequirementsPackage.eINSTANCE.getRequirement()); + invalid.createNestedClassifier("invalidNestedClassifier", invalid.eClass()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this requirement", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, valid).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this requirement", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalid).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/RequirementNoAssociationModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/RequirementNoAssociationModelConstraintTest.java new file mode 100644 index 0000000..1a506e9 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/RequirementNoAssociationModelConstraintTest.java
@@ -0,0 +1,86 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.requirements; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.AggregationKind; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID constraint + * + */ +@SuppressWarnings("nls") +public class RequirementNoAssociationModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.requirement.noassociation"; + + /** + * Test method for {@link org.eclipse.papyrus.sysml.service.types.command.SetNestedPathCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)}. + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class valid = model.createOwnedClass("valid", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(valid, RequirementsPackage.eINSTANCE.getRequirement()); + + Class invalid = model.createOwnedClass("invalid", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalid, RequirementsPackage.eINSTANCE.getRequirement()); + invalid.createAssociation(true, AggregationKind.NONE_LITERAL, "", 0, 0, invalid, true, AggregationKind.NONE_LITERAL, "", 0, 0); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this requirement", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, valid).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this requirement", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalid).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/RequirementNoGeneralizationModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/RequirementNoGeneralizationModelConstraintTest.java new file mode 100644 index 0000000..32d3086 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/RequirementNoGeneralizationModelConstraintTest.java
@@ -0,0 +1,85 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.requirements; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID constraint + * + */ +@SuppressWarnings("nls") +public class RequirementNoGeneralizationModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.requirement.nogeneralization"; + + /** + * Test method for {@link org.eclipse.papyrus.sysml.service.types.command.SetNestedPathCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)}. + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class valid = model.createOwnedClass("valid", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(valid, RequirementsPackage.eINSTANCE.getRequirement()); + + Class invalid = model.createOwnedClass("invalid", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalid, RequirementsPackage.eINSTANCE.getRequirement()); + invalid.createGeneralization(invalid); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this requirement", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, valid).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this requirement", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalid).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/RequirementNotTypeModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/RequirementNotTypeModelConstraintTest.java new file mode 100644 index 0000000..5dd05a4 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/RequirementNotTypeModelConstraintTest.java
@@ -0,0 +1,85 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.requirements; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on CONSTRAINT_ID constraint + * + */ +@SuppressWarnings("nls") +public class RequirementNotTypeModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.requirement.notype"; + + /** + * Test method for {@link org.eclipse.papyrus.sysml.service.types.command.SetNestedPathCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)}. + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Class valid = model.createOwnedClass("valid", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(valid, RequirementsPackage.eINSTANCE.getRequirement()); + + Class invalid = model.createOwnedClass("invalid", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(invalid, RequirementsPackage.eINSTANCE.getRequirement()); + invalid.createOwnedAttribute("invalidrequirementType", invalid); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this requirement", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, valid).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this requirement", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalid).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/SatisfySupplierModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/SatisfySupplierModelConstraintTest.java new file mode 100644 index 0000000..c079a17 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/SatisfySupplierModelConstraintTest.java
@@ -0,0 +1,93 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.requirements; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on Refine One Client and One Supplier constraint + * + */ +@SuppressWarnings("nls") +public class SatisfySupplierModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.satisfy.supplier"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Abstraction satisfyValid = UMLFactory.eINSTANCE.createAbstraction(); + model.getPackagedElements().add(satisfyValid); + Class requirementSupplier = model.createOwnedClass("supplier", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(requirementSupplier, RequirementsPackage.eINSTANCE.getRequirement()); + satisfyValid.getSuppliers().add(requirementSupplier); + StereotypeApplicationHelper.getInstance(null).applyStereotype(satisfyValid, RequirementsPackage.eINSTANCE.getSatisfy()); + + Abstraction satisfyInvalid = UMLFactory.eINSTANCE.createAbstraction(); + model.getPackagedElements().add(satisfyInvalid); + satisfyInvalid.getSuppliers().add(model.createOwnedClass("fakesupplier", false)); + StereotypeApplicationHelper.getInstance(null).applyStereotype(satisfyInvalid, RequirementsPackage.eINSTANCE.getSatisfy()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, satisfyValid).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, satisfyInvalid).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/TestCaseParameterVerdictKindModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/TestCaseParameterVerdictKindModelConstraintTest.java new file mode 100644 index 0000000..2200be0 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/TestCaseParameterVerdictKindModelConstraintTest.java
@@ -0,0 +1,94 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.requirements; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Type; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Ignore; +import org.junit.Test; + +/** + * Test on Refine One Client and One Supplier constraint + * + */ +@SuppressWarnings("nls") +public class TestCaseParameterVerdictKindModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.testcase.parameterverdictkind"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Ignore + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + + Class testCaseValid = model.createOwnedClass("Class", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(testCaseValid, RequirementsPackage.eINSTANCE.getTestCase()); + Type returnType = model.createOwnedType("VerdictKind", testCaseValid.eClass()); + testCaseValid.createOwnedOperation("operation", null, null, returnType); + + Class testCaseInvalid = model.createOwnedClass("testCaseInvalid", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(testCaseInvalid, RequirementsPackage.eINSTANCE.getTestCase()); + Type returnTypeInvalid = model.createOwnedType("NotVerdictKind", testCaseInvalid.eClass()); + testCaseInvalid.createOwnedOperation("operation", null, null, returnTypeInvalid); + + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, testCaseValid).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, testCaseInvalid).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/TraceDependencyModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/TraceDependencyModelConstraintTest.java new file mode 100644 index 0000000..ca493f3 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/TraceDependencyModelConstraintTest.java
@@ -0,0 +1,88 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.requirements; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.Generalization; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on Trace One Client and One Supplier constraint + * + */ +@SuppressWarnings("nls") +public class TraceDependencyModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.trace.dependency"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Abstraction traceValid = UMLFactory.eINSTANCE.createAbstraction(); + model.getPackagedElements().add(traceValid); + StereotypeApplicationHelper.getInstance(null).applyStereotype(traceValid, RequirementsPackage.eINSTANCE.getTrace()); + + Generalization traceInvalid = model.createOwnedClass("Child", false).createGeneralization(model.createOwnedClass("Parent", false)); + StereotypeApplicationHelper.getInstance(null).applyStereotype(traceInvalid, RequirementsPackage.eINSTANCE.getTrace()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, traceValid).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, traceInvalid).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/TraceOneClientSupplierModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/TraceOneClientSupplierModelConstraintTest.java new file mode 100644 index 0000000..5489492 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/TraceOneClientSupplierModelConstraintTest.java
@@ -0,0 +1,90 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.requirements; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on Trace One Client and One Supplier constraint + * + */ +@SuppressWarnings("nls") +public class TraceOneClientSupplierModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.trace.supplier"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Abstraction traceValid = UMLFactory.eINSTANCE.createAbstraction(); + model.getPackagedElements().add(traceValid); + traceValid.getClients().add(model.createOwnedClass("client", false)); + traceValid.getSuppliers().add(model.createOwnedClass("supplier", false)); + StereotypeApplicationHelper.getInstance(null).applyStereotype(traceValid, RequirementsPackage.eINSTANCE.getTrace()); + + Abstraction traceInvalid = UMLFactory.eINSTANCE.createAbstraction(); + model.getPackagedElements().add(traceInvalid); + StereotypeApplicationHelper.getInstance(null).applyStereotype(traceInvalid, RequirementsPackage.eINSTANCE.getTrace()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, traceValid).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, traceInvalid).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/VerifySupplierModelConstraintTest.java b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/VerifySupplierModelConstraintTest.java new file mode 100644 index 0000000..cee5741 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation.tests/src/org/eclipse/papyrus/sysml/validation/tests/rules/requirements/VerifySupplierModelConstraintTest.java
@@ -0,0 +1,93 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.validation.tests.rules.requirements; + +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.emf.transaction.TransactionalEditingDomain; +import org.eclipse.emf.transaction.impl.InternalTransaction; +import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.service.ConstraintRegistry; +import org.eclipse.emf.validation.service.IConstraintDescriptor; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.sysml.validation.Activator; +import org.eclipse.papyrus.sysml.validation.internal.utils.DiagnosticUtil; +import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test on Refine One Client and One Supplier constraint + * + */ +@SuppressWarnings("nls") +public class VerifySupplierModelConstraintTest { + + public static final String CONSTRAINT_ID = "constraint.verify.supplier"; + + /** + * Test method for the constraint + * + * @throws InterruptedException + * @throws RollbackException + */ + @Test + public void checkRuleValidation() throws InterruptedException, RollbackException { + ResourceSetImpl resourceSet = new ResourceSetImpl(); + Model model = SysMLResource.createSysMLModel(resourceSet); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + + Abstraction verifyValid = UMLFactory.eINSTANCE.createAbstraction(); + model.getPackagedElements().add(verifyValid); + Class requirementSupplier = model.createOwnedClass("supplier", false); + StereotypeApplicationHelper.getInstance(null).applyStereotype(requirementSupplier, RequirementsPackage.eINSTANCE.getRequirement()); + verifyValid.getSuppliers().add(requirementSupplier); + StereotypeApplicationHelper.getInstance(null).applyStereotype(verifyValid, RequirementsPackage.eINSTANCE.getVerify()); + + Abstraction verifyInvalid = UMLFactory.eINSTANCE.createAbstraction(); + model.getPackagedElements().add(verifyInvalid); + verifyInvalid.getSuppliers().add(model.createOwnedClass("fakesupplier", false)); + StereotypeApplicationHelper.getInstance(null).applyStereotype(verifyInvalid, RequirementsPackage.eINSTANCE.getVerify()); + + TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); + InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); + + final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); + + InternalTransaction startTransaction = editingDomain.startTransaction(false, null); + editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); + startTransaction.commit(); + // check that the constraint exist + ConstraintRegistry instance = ConstraintRegistry.getInstance(); + IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); + Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); + + List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); + + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, verifyValid).size()); + Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, verifyInvalid).size()); + } +}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/.classpath b/core/org.eclipse.papyrus.sysml.validation/.classpath similarity index 100% rename from core/org.eclipse.papyrus.sysml14.validation/.classpath rename to core/org.eclipse.papyrus.sysml.validation/.classpath
diff --git a/core/org.eclipse.papyrus.sysml.validation/.project b/core/org.eclipse.papyrus.sysml.validation/.project new file mode 100644 index 0000000..58e5743 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/.project
@@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.validation</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> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription>
diff --git a/core/org.eclipse.papyrus.sysml14.validation/.settings/org.eclipse.jdt.core.prefs b/core/org.eclipse.papyrus.sysml.validation/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from core/org.eclipse.papyrus.sysml14.validation/.settings/org.eclipse.jdt.core.prefs rename to core/org.eclipse.papyrus.sysml.validation/.settings/org.eclipse.jdt.core.prefs
diff --git a/core/org.eclipse.papyrus.sysml.validation/META-INF/MANIFEST.MF b/core/org.eclipse.papyrus.sysml.validation/META-INF/MANIFEST.MF new file mode 100644 index 0000000..e98829e --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/META-INF/MANIFEST.MF
@@ -0,0 +1,32 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name +Bundle-Vendor: %Bundle-Vendor +Bundle-SymbolicName: org.eclipse.papyrus.sysml.validation;singleton:=true +Bundle-Version: 4.0.0.qualifier +Bundle-Activator: org.eclipse.papyrus.sysml.validation.Activator +Require-Bundle: org.eclipse.core.resources;bundle-version="[3.9.0,4.0.0)", + org.eclipse.emf.validation.ocl;bundle-version="[1.4.0,2.0.0)", + org.eclipse.ocl.pivot;bundle-version="[1.1.0,2.0.0)", + org.eclipse.ocl.pivot.uml;bundle-version="[1.1.0,2.0.0)", + org.eclipse.ocl.uml;bundle-version="[5.2.0,6.0.0)", + org.eclipse.ocl.ecore;bundle-version="[3.6.0,4.0.0)", + org.eclipse.uml2.uml.validation;bundle-version="[5.0.0,6.0.0)", + org.eclipse.papyrus.infra.services.validation;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.oclconstraintevaluation;bundle-version="[1.2.0,2.0.0)", + org.eclipse.papyrus.uml.xtext.integration.validation;bundle-version="[2.0.0,3.0.0)", + org.eclipse.papyrus.uml.textedit.constraintwithessentialocl.xtext;bundle-version="[1.2.0,2.0.0)", + org.eclipse.papyrus.sysml;bundle-version="1.0.0" +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Bundle-ActivationPolicy: lazy +Bundle-Localization: plugin +Export-Package: org.eclipse.papyrus.sysml.validation, + org.eclipse.papyrus.sysml.validation.internal.utils, + org.eclipse.papyrus.sysml.validation.rules.activities, + org.eclipse.papyrus.sysml.validation.rules.allocations, + org.eclipse.papyrus.sysml.validation.rules.blocks, + org.eclipse.papyrus.sysml.validation.rules.modelelements, + org.eclipse.papyrus.sysml.validation.rules.nonnormative, + org.eclipse.papyrus.sysml.validation.rules.portsandflows, + org.eclipse.papyrus.sysml.validation.rules.requirements, + org.eclipse.papyrus.sysml.validation.selectors
diff --git a/core/org.eclipse.papyrus.sysml14.validation/build.properties b/core/org.eclipse.papyrus.sysml.validation/build.properties similarity index 100% rename from core/org.eclipse.papyrus.sysml14.validation/build.properties rename to core/org.eclipse.papyrus.sysml.validation/build.properties
diff --git a/core/org.eclipse.papyrus.sysml.validation/plugin.properties b/core/org.eclipse.papyrus.sysml.validation/plugin.properties new file mode 100644 index 0000000..71c8ddb --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/plugin.properties
@@ -0,0 +1,274 @@ +################################################################################# +# Copyright (c) 2016 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: +# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation +################################################################################## +Bundle-Name=Papyrus SysML 1.5 Validation +Bundle-Description=This plug-in contains the rules for SyML model validation +Bundle-Vendor=Eclipse Modeling Project + +##### Non normative ##### +inv_RequirementId=Requirement is missing an id +ocl_RequirementId=id <> '' +inv_RequirementText=Requirement is missing a text +ocl_RequirementText=text <> '' +# FIXME : there seems to be no constraint in the norm for Requirement id and text + +inv_NestedConnectorEndMissing=NestedConnectorEnd stereotype should be applied to the <Connector end> {0}. + + +##### End Non normative ##### + +#Conform +inv_ConformGeneralClassifierViewpoint=Conform [1] The general classifier must be an element stereotyped by Viewpoint. +ocl_ConformGeneralClassifierViewpoint=Viewpoint.allInstances()->exists(v | v.base_Class = self.base_Generalization.general) +inv_ConformSpecificClassifierView=Conform [2] The specific classifier must be an element that is stereotyped by View. +ocl_ConformSpecificClassifierView=View.allInstances()->exists(v | v.base_Class = self.base_Generalization.specific) + +# Expose +inv_ExposeClientStereotypedByView=Expose [1] The client must be an element stereotyped by View. + +#View +# FIXME: the constraint should only ensure one conform generalization +inv_ViewSingleViewpoint=View [1] A view must only conform to a single viewpoint. +#FIXME: not a constraint (query?): View [2] The derived value of the viewpoint is the classifier stereotyped by Viewpoint that is the general classifier of the generalization relationship stereotyped by Conform for which the View is the specific classifier. +#FIXME: not a constraint (query?): View [3] The derived values of the stakeholder attribute are the names of the classifiers stereotyped by Stakeholder that are the values of the stakeholder attribute of the general classifier of the generalization relationship stereotyped by Conform for which the View is the specific classifier. + +#Viewpoint +#FIXME: not a constraint (query?):Viewpoint [1] The derived values of the method attribute are the names of the methods of the operations stereotyped by the UML Create stereotype on the classifier stereotyped by Viewpoint. +inv_ViewpointOwnedView=Viewpoint [2] The property ownedOperation must include at least one operation named «View» with the UML Create stereotype applied. + +#Binding Connector +inv_BindingConnectorSameEndsType=Binding Connector [1] The two ends of a binding connector must have either the same type or types that are compatible so that equality of their values can be defined. +#FIXME can have more that 2 ends + +# Block +inv_AssociationBlock=Block [1] For an association in which both ends are typed by blocks, the number of ends must be exactly two. +inv_BlockConnectorTwoEnds=Block [2] The number of ends of a connector owned by a block must be exactly two. +#(In SysML, a binding connector is not typed by an association, so this constraint is not implied entirely by the preceding constraint.) +inv_BlockPropertyNoName=Block [3] In the UML metamodel on which SysML is built, any instance of the Property metaclass that is typed by a block (a Class with the «block» stereotype applied) and which is owned by an Association may not have a name and may not be defined as a navigable owned end of the association. (While the Property has a «name» property as defined by its NamedElement +inv_BlockPropertyAssociationEnd=Block [4] In the UML metamodel on which SysML is built, a Property that is typed by a block must be defined as an end of an association. (An inverse end of this association, whether owned by another block or the association itself, must always be present so there is always a metamodel element to record the inverse multiplicity of the reference.) +#No Implementation [5] The following constraint under sub clause 9.3.6, «Connector» in the UML 2 Superstructure Specification is removed by SysML: «[3] The ConnectableElements attached as roles to each ConnectorEnd owned by a Connector must be roles of the Classifier that owned the Connector, or they must be ports of such roles.» +inv_BlockPropertyComposite=Block [6] If a property owned by a SysML Block or SysML ValueType is typed by a SysML ValueType, then the aggregation attribute of the property must be «composite.» +#Need more explanation +#TODO[7] Within an instance of a SysML Block, the values of any property with composite aggregation (aggregation = composite) must not contain the block in any of its own properties that also have composite aggregation, or within any unbroken chain of properties that all have composite aggregation. (Within an instance of a SysML Block, the instances of properties with composite aggregation must form an acyclic graph.) +inv_BlockSpecialization=Block [8] Any classifier that specializes a Block must also have the Block stereotype or one of its specializations applied. +#No Implementation [9] The following constraint under sub clause 9.3.7, «ConnectorEnd» in the UML 2 Superstructure Specification is removed by SysML: «[3] The property held in self.partWithPort must not be a Port.» + +#BoundReference +inv_BoundReference1=BoundReference [1] Properties to which BoundReference is applied must be the role of a connector end of at least one binding connector, or generalized by such a property through redefinition. +ocl_BoundReference1=BindingConnector.allInstances().base_Connector.end.role->exists(r | r=self.base_Property or self.base_Property->closure(redefinedElement)->includes(r)) +inv_BoundReference2=BoundReference [2] The value of boundEnd must be a connector end of a binding connector, as identified in constraint BoundReference [1], opposite the property, as identified in constraint BoundReference [1]. +ocl_BoundReference2=let opposite: UML::ConnectorEnd = BindingConnector.allInstances().base_Connector.end->any(e | e.role=self.base_Property or self.base_Property->closure(redefinedElement)->includes(e.role)) in self.boundEnd = opposite.owner.oclAsType(UML::Connector).end->any(e | e<>opposite) +#unclear-- [3] The role of boundEnd must be a property accessible by navigation from instances of the block owning the property to which BoundReference is applied, but must not be the property to which BoundReference is applied, or one that it is related to by redefinition. +inv_BoundReference4=BoundReference [4] The last value of bindingPath is the role of boundEnd, and the other values are the propertyPath of the NestedConnectorEnd applied to boundEnd, if any. +ocl_BoundReference4=self.boundEnd = self.bindingPath->last() and (let nce: NestedConnectorEnd = NestedConnectorEnd.allInstances()->any(n| n.base_ConnectorEnd=self.boundEnd) in nce->oclIsUndefined() or self.bindingPath->subSequence(1, self.bindingPath->size()-1) = nce.propertyPath) +inv_BoundReference5=BoundReference [5] Properties to which BoundReference is applied must either be a reference properties or value properties. +ocl_BoundReference5=ValueType.allInstances().base_DataType->includes(self.base_Property.type) or not self.base_Property.isComposite() +inv_BoundReference6=BoundReference [6] Properties with BoundReference applied that have an upper multiplicity greater than one must be ordered and non-unique. +ocl_BoundReference6=self.base_Property.upper > 1 implies self.base_Property.isOrdered and not self.base_Property.isUnique +inv_BoundReference7=BoundReference [7] BoundReferences must not be applied to properties that are related by redefinition to other properties with BoundReference applied. +ocl_BoundReference7=self.base_Property.redefinedElement->notEmpty() implies BoundReference.allInstances().base_Property->excludesAll(self.base_Property.redefinedElement) +inv_BoundReference8=BoundReference [8] The binding connector identified in constraint BoundReference [1] must not have the same property on both ends, or properties related by redefinition. +ocl_BoundReference8=let e1: UML::ConnectorEnd = self.boundEnd.owner.oclAsType(UML::Connector).end->at(1) in let e2: UML::ConnectorEnd = self.boundEnd.owner.oclAsType(UML::Connector).end->at(2) in e1.role <> e2.role and (e1.role.oclIsKindOf(UML::Property) and e2.role.oclIsKindOf(UML::Property) implies e1.role.oclAsType(UML::Property).redefinedElement->excludes(e2.role) and e2.role.oclAsType(UML::Property).redefinedElement->excludes(e1.role)) + +#ClassifierBehaviorProperty +inv_ClassifierBehaviorPropertyOnBlock=ClassifierBehaviorProperty [1] ClassifierBehaviorProperty may only be applied to properties owned (not inherited) by blocks that have classifier behaviors. +inv_ClassifierBehaviorPropertyIsComposite=ClassifierBehaviorProperty [2] Properties to which ClassifierBehaviorProperty applied must be composite. +ocl_ClassifierBehaviorPropertyIsComposite=base_Property.isComposite() +inv_ClassifierBehaviorPropertyTypedBy=ClassifierBehaviorProperty [3] Properties to which ClassifierBehaviorProperty applied must be typed by the classifier behavior of their owning block or a generalization of the classifier behavior. + +#ConnectorProperty +inv_ConnectorPropertyOnlyOnBlock=ConnectorProperty [1] ConnectorProperty may only be applied to properties of classes stereotyped by Block. +#inv inv_ConnectorPropertyOnlyOnBlock: self.base_Property.owner.getAppliedStereotype('Blocks::Block')->notEmpty() +inv_ConnectorPropertyReferOwnedConnector=ConnectorProperty [2] The connector attribute of the applied stereotype must refer to a connector owned or inherited by a block owning the property on which the stereotype is applied. +inv_ConnectorPropertyOnlyComposite=ConnectorProperty [3] The aggregation of a property stereotyped by ConnectorProperty must be composite. +ocl_ConnectorPropertyOnlyComposite=base_Property.isComposite() +inv_ConnectorPropertyTypedByAssociationBlock=ConnectorProperty [4] The type of the connector referred to by a connector attribute must be an association class stereotyped by Block. +inv_ConnectorPropertySameName=ConnectorProperty [5] A property stereotyped by ConnectorProperty must have the same name and type as the connector referred to by the connector attribute. + + +#DirectedRelationshipPropertyPath +inv_DirectedRelationshipPropertyPathRequireSourceContext=DirectedRelationshipPropertyPath [1] source#context must have a value when sourcePropertyPath has a value. +inv_DirectedRelationshipPropertyPathRequireTargetContext=DirectedRelationshipPropertyPath [2] target#context must have a value when targetPropertyPath has a value. +inv_DirectedRelationshipPropertyPathSourceFirst=DirectedRelationshipPropertyPath [3] The property in the first position of the sourcePropertyPath list, if any, must be owned by the source#context or one of its generalizations. +inv_DirectedRelationshipPropertyPathTargetFirst=DirectedRelationshipPropertyPath [4] The property in the first position of the targetPropertyPath list, if any, must be owned by the target#context or one of its generalizations. +#TODO [5] The property at each successive position of the sourcePropertyPath and targetPropertyPath, following the first position, must be owned by the Block or ValueType that types the property at the immediately preceding position, or a generalization of the Block or ValueType. +inv_DirectedRelationshipPropertyPathSourceLast=DirectedRelationshipPropertyPath [6] The type of the property at the last position of the sourcePropertyPath list must own or inherit the source of the stereotyped directed relationship. +inv_DirectedRelationshipPropertyPathTargetLast=DirectedRelationshipPropertyPath [7] The type of the property at the last position of the targetPropertyPath list must own or inherit the target of the stereotyped directed relationship. + +#DistributedProperty +inv_DistributedPropertyTypedBy=DistributedProperty [1] The DistributedProperty stereotype may be applied only to properties of classifiers stereotyped by Block or ValueType. +#inv inv_DistributedPropertyOnlyOnBlock: self.base_Property.owner.getAppliedStereotype('Blocks::Block')->notEmpty() or self.base_Property.owner.getAppliedStereotype('Blocks::ValueType')->notEmpty() + +#ElementPropertyPath +inv_ElementPropertyPathPropertiesOwner=ElementPropertyPath [1] The property at each successive position of the propertyPath attribute, following the first position, must be owned by the Block or ValueType that types the property at the immediately preceding position, or a generalization of the Block or ValueType. + +# EndPathMultiplicity +inv_EndPathMultiplicityBoundReferenceProperty=EndPathMultiplicity [1] Properties to which EndPathMultiplicity is applied must be related by redefinition to a property to which BoundReference is applied. +inv_EndPathMultiplicityNotNegative=EndPathMultiplicity [2] endPathLower must be non-negative. +ocl_EndPathMultiplicityNotNegative=lower >= 0 + +#NestedConnectorEnd +inv_NestedConnectorEndFirstProperty=NestedConnectorEnd [1] The first property in propertyPath must be owned by the block that owns the connector, or one of the block's generalizations. +inv_NestedConnectorEndLastProperty=NestedConnectorEnd [2] The type of the property at the last position of the propertyPath list must own or inherit the role property of the stereotyped connector end. +inv_NestedConnectorEndOnlyConnectorEnds=NestedConnectorEnd [3] NestedConnectorEnd may only be applied to connector ends + +#ParticipantProperty +inv_ParticipantPropertyOnlyAssociationBlock=ParticipantProperty [1] ParticipantProperty may only be applied to properties of association classes stereotyped by Block. +inv_ParticipantPropertyNoAssociationMemberEnds=ParticipantProperty [2] ParticipantProperty may not be applied to properties that are member ends of an association. +inv_ParticipantPropertyOnlyNoneAggregation=ParticipantProperty [3] The aggregation of a property stereotyped by ParticipantProperty must be none. +inv_ParticipantPropertySameEnd=ParticipantProperty [4] The end attribute of the applied stereotype must refer to a member end of the association block owning the property on which the stereotype is applied. +inv_ParticipantPropertySameType=ParticipantProperty [5] A property stereotyped by ParticipantProperty must have the same type as the property referred to by the end attribute. +inv_ParticipantPropertyEndMultiplicity=ParticipantProperty [6] The property referred to by end must have a multiplicity of 1. + +#PropertySpecificType +inv_PropertySpecificTypeUniqueProperty=PropertySpecificType [1] A classifier to which the PropertySpecificType stereotype is applied must be referenced as the type of one and only one property. +inv_PropertySpecificTypeMissingName=PropertySpecificType [2] The name of a classifier to which a PropertySpecificType is applied must be missing. (The «name» attribute of the NamedElement metaclass must be empty.) + +#ValueType +#[1] Any classifier that specializes a ValueType must also have the ValueType stereotype applied. +#[2] The unit of a ValueType, if any, must be an InstanceSpecification classified by SysML's Unit block in the UnitAndQuantityKind model library or a specialization of it. +#inv: unit->notEmpty() and unit.classifier->notEmpty()implies unit.classifier-> +#[3] The quantityKind of a ValueType, if any, must be an InstanceSpecification classified by SysML's QuantityKind block in the UnitAndQuantityKind model library or a specialization of it. +#inv: quantityKind->notEmpty() and quantityKind.classifier->notEmpty() implies + +#AcceptChangeStructuralFeatureEventAction +#inv_AcceptChangeStructuralFeatureEventActionOneTrigger=9.3.2.1 AcceptChangeStructuralFeatureEventAction [1] The action has exactly one trigger, the event of which must be a change structural feature event. +#[2] The action has two result pins with type and ordering the same as the type and ordering of the structural feature of the trigger event, and multiplicity compatible with the multiplicity of the structural feature. +#[3] The structural feature of the trigger event must be owned by or inherited by the #context of the behavior containing the action. (The #context of a behavior is either its owning block or itself if it is not owned by a block. See definition in the UML 2 Superstructure Specification.) +#[4] Visibility of the structural feature of the trigger event must allow access to the object performing the action. +#No implementation[5] The constraint under sub clause 11.3.2, «AcceptEventAction» in the UML 2 Superstructure Specification, «[2] There are no output pins if the trigger events are only ChangeEvents,» is removed for accept event actions that have AcceptChangeStructuralFeatureEventAction applied. + +#ChangeStructuralFeatureEvent +inv_ChangeStructuralFeatureEventNotStatic=ChangeStructuralFeatureEvent [1] The structural feature must not be static. +#inv inv_StructuralFeatureNotStatic: self.base_Class. FIXME : structural feature <- Property what is the link with the base_Class? +inv_ChangeStructuralFeatureEventOneFeaturingClassifier=ChangeStructuralFeatureEvent [2] The structural feature must have exactly one featuringClassifier. + +#DirectedFeature +inv_DirectedFeatureOnlyBehavioral=DirectedFeature [1] DirectedFeature can only be applied to behavioral features, or to properties that do not have FlowProperty applied, including on subsetted or redefined features. +#FIXME: what is the link? non-provided direction enum, but no idea for the rest +#TODO [2] A non-provided operation cannot be associated with a behavior as its method. + +#FeatureDirection +inv_FlowPropertyTypedBy=FeatureDirection [1] A FlowProperty is typed by a ValueType, Block, or Signal. + +#FullPort +inv_FullPortNotProxyPort=FullPort [1]: Full ports cannot also be proxy ports. This applies even if some of the stereotypes are on subsetted or redefined ports. +#[2] Binding connectors cannot link full ports (either directly or indirectly through other binding connectors) to other composite properties of the block owning the full port (or that block's generalizations or specializations), unless the composite properties are non-full ports. +inv_FullPortNotBehavioral=FullPort [3]: Full ports cannot be behavioral (isBehavior=false). +ocl_FullPortNotBehavioral=base_Port.isBehavior = false +inv_FullPortNotConjugated=FullPort [4]: Full ports cannot be conjugated (isConjugated=false). +ocl_FullPortNotConjugated=base_Port.isConjugated = false + +#InterfaceBlock +inv_InterfaceBlockNoBehavior=InterfaceBlock [1] Interface blocks cannot own or inherit behaviors, have classifier behaviors, or methods for their behavioral features. +inv_InterfaceBlockNoCompositeProperty=InterfaceBlock [2] Interface blocks cannot have composite properties that are not ports. +inv_InterfaceBlockPortType=InterfaceBlock [3] Ports owned by interface blocks can only be typed by interface blocks. + +#InvocationOnNestedPortAction +inv_InvocationOnNestedPortActionRequiredOnPort=InvocationOnNestedPortAction [1] The onPort property of an invocation action must have a value when this stereotype is applied. +#[2] The port at the first position in the onNestedPort list must be owned (directly or via inheritance) by a block that types the target pin of the invocation action, or one of the block\u2019s generalizations. +# Where comes the constraint from ? +#TODO[3] The first constraint of ElementPropertyPath applies to onNestedPort. +#[4] The type of the port at the last position of the onNestedPort list must own or inherit the onPort port of the stereotyped invocation action. +inv_InvocationOnNestedPortActionOnlyInvocationAction=InvocationOnNestedPortAction [5] InvocationOnNestedPortAction may only be applied to invocation actions. + +#ItemFlow +#[1] A Connector or an Association, or an inherited Association must exist between the source and the target of the InformationFlow. +inv_ItemFlowSamePropertyTypedBy=ItemFlow [2] An ItemFlow itemProperty is typed by a ValueType, Block, or Signal. +#inv inv_ItemFlowItemPropertyTypedByValueTypeBlockSignal: self.itemProperty.type.getAppliedStereotype('Blocks::ValueType')->notEmpty() or self.itemProperty.type.getAppliedStereotype('Blocks::Block')->notEmpty() or self.itemProperty.type.oclIsTypeOf(UML::Signal) +#[3] itemProperty is a property of the common (possibly indirect) owner of the source and the target. +#[4] itemProperty cannot have a value if the item flow is realized by an Association. +#[5] If an ItemFlow has an itemProperty, one of the classifiers of conveyed items must be the same as the type of the item property. +# FIXME the item flow doesn't have a name (should be information flow) +inv_ItemFlowSamePropertyName=ItemFlow [6] If an ItemFlow has an itemProperty, its name should be the same as the name of the item flow. + +#ProxyPort +inv_ProxyPortNotFullPort=ProxyPort [1] Proxy ports cannot also be full ports. This applies even if some of the stereotypes are on subsetted or redefined ports. +inv_ProxyPortTypedByInterfaceBlock=ProxyPort [2] Proxy ports can only be typed by interface blocks. +inv_ProxyPortForceInnerProxyPort=ProxyPort [3] Ports owned by the type of a proxy port must be proxy ports. +# +#TriggerOnNestedPort +#[1] The port property of the stereotyped trigger must have exactly one value, and the value cannot be a full port. +#[2] The values of the onNestedPort property must not be full ports. +#[3] The port at the first position in the onNestedPort list must be owned by a block in which the trigger is used, or one of the block\u2019s generalizations. +#[4] The first constraint of ElementPropertyPath applies to onNestedPort. +#[5] The type of the port at the last position of the onNestedPort list must own or inherit the port port of must own or inherit the port port of +#Bad description [6] the stereotyped invocation action the stereotyped invocation action. + +#Discrete +inv_DiscreteNoContinuous=Discrete [1] The «discrete» and «continuous» stereotypes cannot be applied to the same element at the same time. + +#NoBuffer +inv_NoBufferNoOverwrite=NoBuffer [1] The «nobuffer» and «overwrite» stereotypes cannot be applied to the same element at the same time. +ocl_NoBufferNoOverwrite=base_ObjectNode.getAppliedStereotype('SysML::Activities::Overwrite')->isEmpty() + +#Overwrite +inv_OverwriteNoNoBuffer=Overwrite [1] The «overwrite» and «nobuffer» stereotypes cannot be applied to the same element at the same time. +ocl_OverwriteNoNoBuffer=base_ObjectNode.getAppliedStereotype('SysML::Activities::NoBuffer')->isEmpty() + +#Optional +inv_OptionalParameterMultiplicity=Optional [1] Optional parameter lower value has to be 0 +ocl_OptionalParameterMultiplicity=base_Parameter.lower = 0 + +#Probability +inv_ProbabilityBaseElement=Probability [1] The «probability» stereotype can only be applied to activity edges that have decision nodes or object nodes as sources, or to output parameter sets. +inv_ProbabilityAllEdges=Probability [2] When the «probability» stereotype is applied to an activity edge, then it must be applied to all edges coming out of the same source. +inv_ProbabilityToAllParameterSet=Probability [3] When the «probability» stereotype is applied to an output parameter set, it must also be applied to all the parameter sets of the behavior or operation owning the original parameter set. . +inv_ProbabilityOutputParameters=Probability [4] When the «probability» stereotype is applied to an output parameter set, all the output parameters must be in some parameter set. + +#Rate +inv_RateParameterIsStream=Rate [1] When the «rate» stereotype is applied to a parameter, the parameter must be streaming. +inv_RateParameterLessInout=Rate [2] The rate of a parameter must be less than or equal to rates on edges that come into or go out from pins and parameters nodes corresponding to the parameter. + +#Allocate(from Allocations) +inv_AllocateOnlyAbstraction=Allocate [1] The Allocate stereotype may only be applied to abstractions. +inv_AllocateOneClientSupplier=Allocate [2] A single «allocate» dependency shall have only one client (from) and one supplier (to). +#No implementation [3] If subtypes of the «allocate» dependency are introduced to represent more specialized forms of allocation, then they should have constraints applied to supplier and client as appropriate. + + +#AllocateActivityPartition(from Allocations) +# FIXME avoid "will" when defining a constraint +#No implementation [1] An Action appearing in an «AllocateActivityPartition» will be the /client (from) end of an «allocate» dependency. The element that represents the «AllocateActivityPartition» will be the /supplier (to) end of the same «allocate» dependency. In the «AllocateActivityPartition» name field, Properties are designated by the use of a fully qualified name (including colon, e.g., «part_name:Block_Name»), and Classifiers are designated by a simple name (no colons, e.g., «Block_Name»). +#No implementation [2] The «AllocateActivityPartition» maintains the constraints, but not the semantics, of the UML2::ActivityPartition. Classifiers or Properties represented by an «AllocateActivityPartition» do not have any direct responsibility for invoking behavior depicted within the partition boundaries. To depict this kind of direct responsibility, the modeler is directed to the UML 2 Superstructure specification, sub clause 12.3.10, «ActivityPartition,» Semantics topic. + +#Copy +inv_CopyBetweenRequirementsModelConstraint=Copy [1] A Copy dependency may only be created between two classes that have the «requirement»stereotype, or a subtype of the «requirement» stereotype applied. +inv_CopyReadOnlyModelConstraint=Copy [2] The text property of the client requirement is constrained to be a read-only copy of the text property of the supplier requirement. + +#DeriveReqt +inv_DeriveReqtSupplierModelConstraint=DeriveReqt [1] The supplier must be an element stereotyped by «requirement» or one of «requirement» subtypes. +inv_DeriveReqtClientModelConstraint=DeriveReqt [2] The client must be an element stereotyped by «requirement» or one of «requirement» subtypes. + +#Refine +inv_RefineDependencyModelConstraint=Refine [1] The Refine stereotype may only be applied to dependencies. +inv_RefineOneClientSupplierModelConstraint=Refine [2] Dependencies with a Refine stereotype or one of its specializations applied must have exactly one client and one supplier. + +#Requirement +inv_RequirementEmptyOwnedOperation=Requirement [1] The property «ownedOperation» must be empty. +ocl_RequirementEmptyOwnedOperation=base_Class.ownedOperation->isEmpty() +inv_RequirementEmptyOwnedAttribute=Requirement [2] The property «ownedAttribute» must be empty. +ocl_RequirementEmptyOwnedAttribute=base_Class.ownedAttribute->isEmpty() +inv_RequirementNoAssociationModelConstraint=Requirement [3] Classes stereotyped by «requirement» may not participate in associations. +inv_RequirementNoGeneralizationModelConstraint=Requirement [4] Classes stereotyped by «requirement» may not participate in generalizations. +inv_RequirementNestedRequirementModelConstraint=Requirement [5] A nested classifier of a class stereotyped by «requirement» must also be stereotyped by «requirement». +inv_RequirementNotType=Requirement [6] Classes stereotyped by «requirement» may not be used to type any other model element. + +#TestCase +inv_TestCaseParameterVerdictKindModelConstraint=TestCase [1] The type of return parameter of the stereotyped model element must be VerdictKind. + +#Satisfy +inv_SatisfySupplierModelConstraint=Satisfy [1] The supplier must be an element stereotyped by «requirement» or one of «requirement» subtypes. + +#Trace +inv_TraceDependencyModelConstraint=Trace [1] The Trace stereotype may only be applied to dependencies. +inv_TraceOneClientSupplierModelConstraint=Trace [2] Dependencies with a Trace stereotype or one of its specializations applied must have exactly one client and one supplier. + +#Verify +inv_VerifySupplierModelConstraint=Verify [1] The supplier must be an element stereotyped by «requirement» or one of «requirement» subtypes.
diff --git a/core/org.eclipse.papyrus.sysml.validation/plugin.xml b/core/org.eclipse.papyrus.sysml.validation/plugin.xml new file mode 100644 index 0000000..f9bf0e4 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/plugin.xml
@@ -0,0 +1,964 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<?eclipse version="3.4"?> +<plugin> + <extension name="org.eclipse.papyrus.sysml.validation.constraintProviders" point="org.eclipse.emf.validation.constraintProviders"> + <category id="org.eclipse.papyrus.sysml.validation.category.normative" mandatory="false" name="SysML 1.5 normative constraints"> + Constraints listed in SysML 1.5 norm. + </category> + <category id="org.eclipse.papyrus.sysml.validation.category.optional" mandatory="false" name="SysML 1.5 optional constraints"> + Constraints provided to help the modeler but not required by the norm. + </category> + + <!-- Constraints on UML elements --> + <constraintProvider cache="false" mode="Batch"> + <package namespaceUri="http://www.eclipse.org/uml2/5.0.0/UML"/> + <constraints categories="org.eclipse.papyrus.sysml.validation.category.normative"> + <constraint id="constraint.block.associationBlock" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="block.associationBlock" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.AssociationBlockModelConstraint"> + <message>%inv_AssociationBlock</message> + <description>%inv_AssociationBlock</description> + </constraint> + + <constraint id="constraint.block.property.asssociationend" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="property.asssociationend" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.BlockPropertyAssociationEndModelConstraint"> + <message>%inv_BlockPropertyAssociationEnd</message> + <description>%inv_BlockPropertyAssociationEnd</description> + </constraint> + + <constraint id="constraint.block.specialization" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="block.specialization" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.BlockSpecializationModelConstraint"> + <message>%inv_BlockSpecialization</message> + <description>%inv_BlockSpecialization</description> + </constraint> + + <constraint id="constraint.block.propertynoname" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="block.propertynoname" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.BlockPropertyNoNameModelConstraint"> + <message>%inv_BlockPropertyNoName</message> + <description>%inv_BlockPropertyNoName</description> + </constraint> + + </constraints> + <constraints categories="org.eclipse.papyrus.sysml.validation.category.optional"> + <constraint id="constraint.nestedConnectorEnd.missing" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="nestedConnectorEnd.missing" + class="org.eclipse.papyrus.sysml.validation.rules.nonnormative.NestedConnectorEndMissingConstraintModelConstraint"> + <message>%inv_NestedConnectorEndMissing</message> + <description>%inv_NestedConnectorEndMissing</description> + </constraint> + </constraints> + + + + </constraintProvider> + + <constraintProvider cache="false" mode="Batch"> + <package namespaceUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Requirements"/> + <constraints categories="org.eclipse.papyrus.sysml.validation.category.optional"> + <constraint id="constraint.requirement.requireId" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="WARNING" statusCode="1" name="requirement.requireId"> + <message>%inv_RequirementId</message> + <description>%inv_RequirementId</description> + <![CDATA[%ocl_RequirementId]]> + </constraint> + <constraint id="constraint.requirement.requireText" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="WARNING" statusCode="1" name="requirement.requireText"> + <message>%inv_RequirementText</message> + <description>%inv_RequirementText</description> + <![CDATA[%ocl_RequirementText]]> + </constraint> + </constraints> + + <constraints categories="org.eclipse.papyrus.sysml.validation.category.normative"> + <constraint id="constraint.requirement.emptyownedattribute" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="requirement.emptyownedattribute"> + <message>%inv_RequirementEmptyOwnedAttribute</message> + <description>%inv_RequirementEmptyOwnedAttribute</description> + <![CDATA[%ocl_RequirementEmptyOwnedAttribute]]> + </constraint> + <constraint id="constraint.requirement.emptyownedoperation" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="requirement.emptyownedoperation"> + <message>%inv_RequirementEmptyOwnedOperation</message> + <description>%inv_RequirementEmptyOwnedOperation</description> + <![CDATA[%ocl_RequirementEmptyOwnedOperation]]> + </constraint> + + <constraint id="constraint.requirement.nestedrequirement" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="requirement.nestedrequirement" + class="org.eclipse.papyrus.sysml.validation.rules.requirements.RequirementNestedRequirementModelConstraint"> + <message>%inv_RequirementNestedRequirementModelConstraint</message> + <description>%inv_RequirementNestedRequirementModelConstraint</description> + </constraint> + <constraint id="constraint.requirement.noassociation" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="requirement.noassociation" + class="org.eclipse.papyrus.sysml.validation.rules.requirements.RequirementNoAssociationModelConstraint"> + <message>%inv_RequirementNoAssociationModelConstraint</message> + <description>%inv_RequirementNoAssociationModelConstraint</description> + </constraint> + <constraint id="constraint.requirement.nogeneralization" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="requirement.nogeneralization" + class="org.eclipse.papyrus.sysml.validation.rules.requirements.RequirementNoGeneralizationModelConstraint"> + <message>%inv_RequirementNoGeneralizationModelConstraint</message> + <description>%inv_RequirementNoGeneralizationModelConstraint</description> + </constraint> + + <constraint id="constraint.requirement.notype" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="requirement.notype" + class="org.eclipse.papyrus.sysml.validation.rules.requirements.RequirementNotTypeModelConstraint"> + <message>%inv_RequirementNotType</message> + <description>%inv_RequirementNotType</description> + </constraint> + + + <constraint id="constraint.derivereqt.client" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="derivereqt.client" + class="org.eclipse.papyrus.sysml.validation.rules.requirements.DeriveReqtClientModelConstraint"> + <message>%inv_DeriveReqtClientModelConstraint</message> + <description>%inv_DeriveReqtClientModelConstraint</description> + </constraint> + + <constraint id="constraint.derivereqt.supplier" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="derivereqt.supplier" + class="org.eclipse.papyrus.sysml.validation.rules.requirements.DeriveReqtSupplierModelConstraint"> + <message>%inv_DeriveReqtSupplierModelConstraint</message> + <description>%inv_DeriveReqtSupplierModelConstraint</description> + </constraint> + <constraint id="constraint.refine.dependency" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="refine.dependency" + class="org.eclipse.papyrus.sysml.validation.rules.requirements.RefineDependencyModelConstraint"> + <message>%inv_RefineDependencyModelConstraint</message> + <description>%inv_RefineDependencyModelConstraint</description> + </constraint> + <constraint id="constraint.refine.oneclientsupplier" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="refine.oneclientsupplier" + class="org.eclipse.papyrus.sysml.validation.rules.requirements.RefineOneClientSupplierModelConstraint"> + <message>%inv_RefineOneClientSupplierModelConstraint</message> + <description>%inv_RefineOneClientSupplierModelConstraint</description> + </constraint> + <constraint id="constraint.verify.supplier" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="verify.supplier" + class="org.eclipse.papyrus.sysml.validation.rules.requirements.VerifySupplierModelConstraint"> + <message>%inv_VerifySupplierModelConstraint</message> + <description>%inv_VerifySupplierModelConstraint</description> + </constraint> + <constraint id="constraint.satisfy.supplier" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="satisfy.supplier" + class="org.eclipse.papyrus.sysml.validation.rules.requirements.SatisfySupplierModelConstraint"> + <message>%inv_SatisfySupplierModelConstraint</message> + <description>%inv_SatisfySupplierModelConstraint</description> + </constraint> + <constraint id="constraint.trace.dependency" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="trace.dependency" + class="org.eclipse.papyrus.sysml.validation.rules.requirements.TraceDependencyModelConstraint"> + <message>%inv_TraceDependencyModelConstraint</message> + <description>%inv_TraceDependencyModelConstraint</description> + </constraint> + <constraint id="constraint.trace.supplier" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="trace.supplier" + class="org.eclipse.papyrus.sysml.validation.rules.requirements.TraceOneClientSupplierModelConstraint"> + <message>%inv_TraceOneClientSupplierModelConstraint</message> + <description>%inv_TraceOneClientSupplierModelConstraint</description> + </constraint> + <constraint id="constraint.copy.betweenrequirements" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="copy.betweenrequirements" + class="org.eclipse.papyrus.sysml.validation.rules.requirements.CopyBetweenRequirementsModelConstraint"> + <message>%inv_CopyBetweenRequirementsModelConstraint</message> + <description>%inv_CopyBetweenRequirementsModelConstraint</description> + </constraint> + <constraint id="constraint.copy.readonly" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="copy.readonly" + class="org.eclipse.papyrus.sysml.validation.rules.requirements.CopyReadOnlyModelConstraint"> + <message>%inv_CopyReadOnlyModelConstraint</message> + <description>%inv_CopyReadOnlyModelConstraint</description> + </constraint> + <constraint id="constraint.testcase.parameterverdictkind" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="testcase.parameterverdictkind" + class="org.eclipse.papyrus.sysml.validation.rules.requirements.TestCaseParamVerdictKindModelConstraint"> + <message>%inv_TestCaseParameterVerdictKindModelConstraint</message> + <description>%inv_TestCaseParameterVerdictKindModelConstraint</description> + </constraint> + </constraints> + </constraintProvider> + + <constraintProvider cache="false" mode="Batch"> + <package namespaceUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Activities"/> + <constraints categories="org.eclipse.papyrus.sysml.validation.category.normative"> + <constraint id="constraint.optional.multiplicity" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="optional.multiplicity"> + <message>%inv_OptionalParameterMultiplicity</message> + <description>%inv_OptionalParameterMultiplicity</description> + <![CDATA[%ocl_OptionalParameterMultiplicity]]> + </constraint> + + <constraint id="constraint.discrete.nocontinuous" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="discrete.nocontinuous" + class="org.eclipse.papyrus.sysml.validation.rules.activities.DiscreteNoContinuousModelConstraint"> + <message>%inv_DiscreteNoContinuous</message> + <description>%inv_DiscreteNoContinuous</description> + </constraint> + + <constraint id="constraint.nobuffer.nooverwrite" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="nobuffer.nooverwrite"> + <message>%inv_NoBufferNoOverwrite</message> + <description>%inv_NoBufferNoOverwrite</description> + <![CDATA[%ocl_NoBufferNoOverwrite]]> + </constraint> + + <constraint id="constraint.overwrite.nonobuffer" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="overwrite.nonobuffer"> + <message>%inv_OverwriteNoNoBuffer</message> + <description>%inv_OverwriteNoNoBuffer</description> + <![CDATA[%ocl_OverwriteNoNoBuffer]]> + </constraint> + + <constraint id="constraint.rate.parameterisstream" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="rate.parameterisstream" + class="org.eclipse.papyrus.sysml.validation.rules.activities.RateParameterIsStreamModelConstraint"> + <message>%inv_RateParameterIsStream</message> + <description>%inv_RateParameterIsStream</description> + </constraint> + + <constraint id="constraint.rate.parameterlessinout" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="rate.parameterlessinout" + class="org.eclipse.papyrus.sysml.validation.rules.activities.RateParameterLessInoutModelConstraint"> + <message>%inv_RateParameterLessInout</message> + <description>%inv_RateParameterLessInout</description> + </constraint> + + <constraint id="constraint.probability.alledges" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="probability.alledges" + class="org.eclipse.papyrus.sysml.validation.rules.activities.ProbabilityAllEdgesModelConstraint"> + <message>%inv_ProbabilityAllEdges</message> + <description>%inv_ProbabilityAllEdges</description> + </constraint> + + <constraint id="constraint.probability.baseelement" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="probability.baseelement" + class="org.eclipse.papyrus.sysml.validation.rules.activities.ProbabilityBaseElementModelConstraint"> + <message>%inv_ProbabilityBaseElement</message> + <description>%inv_ProbabilityBaseElement</description> + </constraint> + + <constraint id="constraint.probability.outputparameters" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="probability.outputparameters" + class="org.eclipse.papyrus.sysml.validation.rules.activities.ProbabilityOutputParametersModelConstraint"> + <message>%inv_ProbabilityOutputParameters</message> + <description>%inv_ProbabilityOutputParameters</description> + </constraint> + + <constraint id="constraint.probability.allparameterset" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="probability.allparameterset" + class="org.eclipse.papyrus.sysml.validation.rules.activities.ProbabilityToAllParameterSetModelConstraint"> + <message>%inv_ProbabilityToAllParameterSet</message> + <description>%inv_ProbabilityToAllParameterSet</description> + </constraint> + + </constraints> + </constraintProvider> + + <constraintProvider cache="false" mode="Batch"> + <package namespaceUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Allocations"/> + <constraints categories="org.eclipse.papyrus.sysml.validation.category.normative"> + <constraint id="constraint.allocate.oneclientsupplier" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="allocate.oneclientsupplier" + class="org.eclipse.papyrus.sysml.validation.rules.allocations.AllocateOneClientSupplierModelConstraint"> + <message>%inv_AllocateOneClientSupplier</message> + <description>%inv_AllocateOneClientSupplier</description> + </constraint> + <constraint id="constraint.allocate.onlyabstraction" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="allocate.onlyabstraction" + class="org.eclipse.papyrus.sysml.validation.rules.allocations.AllocateOnlyAbstractionModelConstraint"> + <message>%inv_AllocateOnlyAbstraction</message> + <description>%inv_AllocateOnlyAbstraction</description> + </constraint> + + </constraints> + </constraintProvider> + + + + <constraintProvider cache="false" mode="Batch"> + <package namespaceUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Blocks"/> + <constraints categories="org.eclipse.papyrus.sysml.validation.category.normative"> + + <constraint id="constraint.boundreference.1" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="BoundReference [1]"> + <message>%inv_BoundReference1</message> + <description>%inv_BoundReference1</description> + <![CDATA[%ocl_BoundReference1]]> + </constraint> + <constraint id="constraint.boundreference.2" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="BoundReference [2]"> + <message>%inv_BoundReference2</message> + <description>%inv_BoundReference2</description> + <![CDATA[%ocl_BoundReference2]]> + </constraint> + + <constraint id="constraint.boundreference.4" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="BoundReference [4]"> + <message>%inv_BoundReference4</message> + <description>%inv_BoundReference4</description> + <![CDATA[%ocl_BoundReference4]]> + </constraint> + <constraint id="constraint.boundreference.5" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="BoundReference [5]"> + <message>%inv_BoundReference5</message> + <description>%inv_BoundReference5</description> + <![CDATA[%ocl_BoundReference5]]> + </constraint> + <constraint id="constraint.boundreference.6" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="BoundReference [6]"> + <message>%inv_BoundReference6</message> + <description>%inv_BoundReference6</description> + <![CDATA[%ocl_BoundReference6]]> + </constraint> + <constraint id="constraint.boundreference.7" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="BoundReference [7]"> + <message>%inv_BoundReference7</message> + <description>%inv_BoundReference7</description> + <![CDATA[%ocl_BoundReference7]]> + </constraint> + <constraint id="constraint.boundreference.8" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="BoundReference [8]"> + <message>%inv_BoundReference8</message> + <description>%inv_BoundReference8</description> + <![CDATA[%ocl_BoundReference8]]> + </constraint> + + <constraint id="constraint.directedrelationshippropertypath.requiresourcecontext" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="directedrelationshippropertypath.requiresourcecontext" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.DirectedRelationshipPropertyPathRequireSourceContextModelConstraint"> + <message>%inv_DirectedRelationshipPropertyPathRequireSourceContext</message> + <description>%inv_DirectedRelationshipPropertyPathRequireSourceContext</description> + </constraint> + <constraint id="constraint.directedrelationshippropertypath.requiretargetcontext" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="directedrelationshippropertypath.requiretargetcontext" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.DirectedRelationshipPropertyPathRequireTargetContextModelConstraint"> + <message>%inv_DirectedRelationshipPropertyPathRequireTargetContext</message> + <description>%inv_DirectedRelationshipPropertyPathRequireTargetContext</description> + </constraint> + <constraint id="constraint.directedrelationshippropertypath.sourcefirst" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="directedrelationshippropertypath.sourcefirst" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.DirectedRelationshipPropertyPathSourceFirstModelConstraint"> + <message>%inv_DirectedRelationshipPropertyPathSourceFirst</message> + <description>%inv_DirectedRelationshipPropertyPathSourceFirst</description> + </constraint> + <constraint id="constraint.directedrelationshippropertypath.targetfirst" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="directedrelationshippropertypath.targetfirst" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.DirectedRelationshipPropertyPathTargetFirstModelConstraint"> + <message>%inv_DirectedRelationshipPropertyPathTargetFirst</message> + <description>%inv_DirectedRelationshipPropertyPathTargetFirst</description> + </constraint> + <constraint id="constraint.directedrelationshippropertypath.sourcelast" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="directedrelationshippropertypath.sourcelast" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.DirectedRelationshipPropertyPathSourceLastModelConstraint"> + <message>%inv_DirectedRelationshipPropertyPathSourceLast</message> + <description>%inv_DirectedRelationshipPropertyPathSourceLast</description> + </constraint> + <constraint id="constraint.directedrelationshippropertypath.targetlast" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="directedrelationshippropertypath.targetlast" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.DirectedRelationshipPropertyPathRequireSourceContextModelConstraint"> + <message>%inv_DirectedRelationshipPropertyPathTargetLast</message> + <description>%inv_DirectedRelationshipPropertyPathTargetLast</description> + </constraint> + <constraint id="constraint.block.propertycomposite" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="block.propertycomposite" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.BlockPropertyCompositeModelConstraint"> + <message>%inv_BlockPropertyComposite</message> + <description>%inv_BlockPropertyComposite</description> + </constraint> + + <constraint id="constraint.block.connectortwoends" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="block.connectortwoends" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.BlockConnectorTwoEndsModelConstraint"> + <message>%inv_BlockConnectorTwoEnds</message> + <description>%inv_BlockConnectorTwoEnds</description> + </constraint> + + <constraint id="constraint.elementpropertypath.propertiesowner" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="elementpropertypath.propertiesowner" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.ElementPropertyPathPropertiesOwnerModelConstraint"> + <message>%inv_ElementPropertyPathPropertiesOwner</message> + <description>%inv_ElementPropertyPathPropertiesOwner</description> + </constraint> + + <constraint id="constraint.nestedconnectorend.onlyconnectorends" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="nestedconnectorend.onlyconnectorends" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.NestedConnectorEndOnlyConnectorEndsModelConstraint"> + <message>%inv_NestedConnectorEndOnlyConnectorEnds</message> + <description>%inv_NestedConnectorEndOnlyConnectorEnds</description> + </constraint> + + <constraint id="constraint.nestedconnectorend.lastproperty" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="nestedconnectorend.lastproperty" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.NestedConnectorEndLastPropertyModelConstraint"> + <message>%inv_NestedConnectorEndLastProperty</message> + <description>%inv_NestedConnectorEndLastProperty</description> + </constraint> + + <constraint id="constraint.nestedconnectorend.firstproperty" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="nestedconnectorend.firstproperty" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.NestedConnectorEndFirstPropertyModelConstraint"> + <message>%inv_NestedConnectorEndFirstProperty</message> + <description>%inv_NestedConnectorEndFirstProperty</description> + </constraint> + + <constraint id="constraint.propertyspecifictype.missingname" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="propertyspecifictype.missingname" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.PropertySpecificTypeMissingNameModelConstraint"> + <message>%inv_PropertySpecificTypeMissingName</message> + <description>%inv_PropertySpecificTypeMissingName</description> + </constraint> + + <constraint id="constraint.propertyspecifictype.uniqueproperty" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="propertyspecifictype.uniqueproperty" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.PropertySpecificTypeUniquePropertyModelConstraint"> + <message>%inv_PropertySpecificTypeUniqueProperty</message> + <description>%inv_PropertySpecificTypeUniqueProperty</description> + </constraint> + + + <constraint id="constraint.endpathmultiplicity.boundreferenceproperty" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="endpathmultiplicity.boundreferenceproperty" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.EndPathMultiplicityBoundReferencePropertyModelConstraint"> + <message>%inv_EndPathMultiplicityBoundReferenceProperty</message> + <description>%inv_EndPathMultiplicityBoundReferenceProperty</description> + </constraint> + + <constraint id="constraint.endpathmultiplicity.notnegative" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="endpathmultiplicity.notnegative"> + <message>%inv_EndPathMultiplicityNotNegative</message> + <description>%inv_EndPathMultiplicityNotNegative</description> + <![CDATA[%ocl_EndPathMultiplicityNotNegative]]> + </constraint> + + <constraint id="constraint.distributedproperty.typedby" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="distributedproperty.typedby" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.DistributedPropertyTypedByModelConstraint"> + <message>%inv_DistributedPropertyTypedBy</message> + <description>%inv_DistributedPropertyTypedBy</description> + </constraint> + + <constraint id="constraint.classifierbehaviorproperty.iscomposite" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="classifierbehaviorproperty.iscomposite"> + <message>%inv_ClassifierBehaviorPropertyIsComposite</message> + <description>%inv_ClassifierBehaviorPropertyIsComposite</description> + <![CDATA[%ocl_ClassifierBehaviorPropertyIsComposite]]> + </constraint> + + <constraint id="constraint.classifierbehaviorproperty.onblock" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="classifierbehaviorproperty.onblock" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.ClassifierBehaviorPropertyOnBlockModelConstraint"> + <message>%inv_ClassifierBehaviorPropertyOnBlock</message> + <description>%inv_ClassifierBehaviorPropertyOnBlock</description> + </constraint> + + <constraint id="constraint.classifierbehaviorproperty.typedby" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="classifierbehaviorproperty.typedby" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.ClassifierBehaviorPropertyTypedByModelConstraint"> + <message>%inv_ClassifierBehaviorPropertyTypedBy</message> + <description>%inv_ClassifierBehaviorPropertyTypedBy</description> + </constraint> + + <constraint id="constraint.connectorproperty.onlycomposite" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="connectorproperty.onlycomposite" > + <message>%inv_ConnectorPropertyOnlyComposite</message> + <description>%inv_ConnectorPropertyOnlyComposite</description> + <![CDATA[%ocl_ConnectorPropertyOnlyComposite]]> + </constraint> + + <constraint id="constraint.connectorproperty.onlyonblock" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="connectorproperty.onlyonblock" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.ConnectorPropertyOnlyOnBlockModelConstraint"> + <message>%inv_ConnectorPropertyOnlyOnBlock</message> + <description>%inv_ConnectorPropertyOnlyOnBlock</description> + </constraint> + <constraint id="constraint.connectorproperty.referownedconnector" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="connectorproperty.referownedconnector" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.ConnectorPropertyReferOwnedConnectorModelConstraint"> + <message>%inv_ConnectorPropertyReferOwnedConnector</message> + <description>%inv_ConnectorPropertyReferOwnedConnector</description> + </constraint> + <constraint id="constraint.connectorproperty.samename" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="connectorproperty.samename" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.ConnectorPropertySameNameModelConstraint"> + <message>%inv_ConnectorPropertySameName</message> + <description>%inv_ConnectorPropertySameName</description> + </constraint> + <constraint id="constraint.connectorproperty.typedbyassociationblock" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="connectorproperty.typedbyassociationblock" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.ConnectorPropertyTypedByAssociationBlockModelConstraint"> + <message>%inv_ConnectorPropertyTypedByAssociationBlock</message> + <description>%inv_ConnectorPropertyTypedByAssociationBlock</description> + </constraint> + + <constraint id="constraint.bindingconnector.sameendstype" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="bindingconnector.sameendstype" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.BindingConnectorSameEndsTypeModelConstraint"> + <message>%inv_BindingConnectorSameEndsType</message> + <description>%inv_BindingConnectorSameEndsType</description> + </constraint> + + + <constraint id="constraint.participantproperty.endmultiplicity" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="participantproperty.endmultiplicity" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.ParticipantPropertyEndMultiplicityModelConstraint"> + <message>%inv_ParticipantPropertyEndMultiplicity</message> + <description>%inv_ParticipantPropertyEndMultiplicity</description> + </constraint> + + <constraint id="constraint.participantproperty.noassociationmemberends" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="participantproperty.noassociationmemberends" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.ParticipantPropertyNoAssociationMemberEndsModelConstraint"> + <message>%inv_ParticipantPropertyNoAssociationMemberEnds</message> + <description>%inv_ParticipantPropertyNoAssociationMemberEnds</description> + </constraint> + + <constraint id="constraint.participantproperty.onlyassociationblock" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="participantproperty.onlyassociationblock" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.ParticipantPropertyOnlyAssociationBlockModelConstraint"> + <message>%inv_ParticipantPropertyOnlyAssociationBlock</message> + <description>%inv_ParticipantPropertyOnlyAssociationBlock</description> + </constraint> + + <constraint id="constraint.participantproperty.onlynoneaggregation" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="participantproperty.onlynoneaggregation" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.ParticipantPropertyOnlyNoneAggregationModelConstraint"> + <message>%inv_ParticipantPropertyOnlyNoneAggregation</message> + <description>%inv_ParticipantPropertyOnlyNoneAggregation</description> + </constraint> + + <constraint id="constraint.participantproperty.sameend" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="participantproperty.sameend" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.ParticipantPropertySameEndModelConstraint"> + <message>%inv_ParticipantPropertySameEnd</message> + <description>%inv_ParticipantPropertySameEnd</description> + </constraint> + + <constraint id="constraint.participantproperty.sametype" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="participantproperty.sametype" + class="org.eclipse.papyrus.sysml.validation.rules.blocks.ParticipantPropertySameTypeModelConstraint"> + <message>%inv_ParticipantPropertySameType</message> + <description>%inv_ParticipantPropertySameType</description> + </constraint> + + + </constraints> + </constraintProvider> + + <constraintProvider cache="false" mode="Batch"> + <package namespaceUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/ModelElements"/> + <constraints categories="org.eclipse.papyrus.sysml.validation.category.normative"> + + <constraint id="constraint.view.singleviewpoint" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="view.singleviewpoint" + class="org.eclipse.papyrus.sysml.validation.rules.modelelements.ViewSingleViewpointModelConstraint"> + <message>%inv_ViewSingleViewpoint</message> + <description>%inv_ViewSingleViewpoint</description> + </constraint> + + <constraint id="constraint.viewpoint.ownedview" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="viewpoint.ownedview" + class="org.eclipse.papyrus.sysml.validation.rules.modelelements.ViewpointOwnedViewModelConstraint"> + <message>%inv_ViewpointOwnedView</message> + <description>%inv_ViewpointOwnedView</description> + </constraint> + + <constraint id="constraint.expose.clientview" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="expose.clientview" + class="org.eclipse.papyrus.sysml.validation.rules.modelelements.ExposeClientStereotypedByViewModelConstraint"> + <message>%inv_ExposeClientStereotypedByView</message> + <description>%inv_ExposeClientStereotypedByView</description> + </constraint> + + <constraint id="constraint.conform.generalviewpoint" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="conform.generalviewpoint"> + <message>%inv_ConformGeneralClassifierViewpoint</message> + <description>%inv_ConformGeneralClassifierViewpoint</description> + <![CDATA[%ocl_ConformGeneralClassifierViewpoint]]> + </constraint> + + <constraint id="constraint.conform.specificview" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="conform.specificview"> + <message>%inv_ConformSpecificClassifierView</message> + <description>%inv_ConformSpecificClassifierView</description> + <![CDATA[%ocl_ConformSpecificClassifierView]]> + </constraint> + + </constraints> + </constraintProvider> + + + <constraintProvider cache="false" mode="Batch"> + <package namespaceUri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/PortsAndFlows"/> + <constraints categories="org.eclipse.papyrus.sysml.validation.category.normative"> + + + <constraint id="constraint.itemflow.sameproperty" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="itemflow.sameproperty" + class="org.eclipse.papyrus.sysml.validation.rules.portsandflows.ItemFlowSamePropertyNameModelConstraint"> + <message>%inv_ItemFlowSamePropertyName</message> + <description>%inv_ItemFlowSamePropertyName</description> + </constraint> + <constraint id="constraint.itemflow.propertytypedby" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="itemflow.propertytypedby" + class="org.eclipse.papyrus.sysml.validation.rules.portsandflows.ItemFlowSamePropertyTypedByModelConstraint"> + <message>%inv_ItemFlowSamePropertyTypedBy</message> + <description>%inv_ItemFlowSamePropertyTypedBy</description> + </constraint> + + <constraint id="constraint.invocationonnestedportaction.onlyinvocationaction" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="invocationonnestedportaction.onlyinvocationaction" + class="org.eclipse.papyrus.sysml.validation.rules.portsandflows.InvocationOnNestedPortActionOnlyInvocationActionModelConstraint"> + <message>%inv_InvocationOnNestedPortActionOnlyInvocationAction</message> + <description>%inv_InvocationOnNestedPortActionOnlyInvocationAction</description> + </constraint> + <constraint id="constraint.invocationonnestedportaction.requiredonport" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="invocationonnestedport.requiredonport" + class="org.eclipse.papyrus.sysml.validation.rules.portsandflows.InvocationOnNestedPortActionRequiredOnPortModelConstraint"> + <message>%inv_InvocationOnNestedPortActionRequiredOnPort</message> + <description>%inv_InvocationOnNestedPortActionRequiredOnPort</description> + </constraint> + + <constraint id="constraint.directedfeature.onlybehavioral" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="directedfeature.onlybehavioral" + class="org.eclipse.papyrus.sysml.validation.rules.portsandflows.DirectedFeatureOnlyBehavioralModelConstraint"> + <message>%inv_DirectedFeatureOnlyBehavioral</message> + <description>%inv_DirectedFeatureOnlyBehavioral</description> + </constraint> + + <constraint id="constraint.changestrucuralfeatureevent.notstatic" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="changestrucuralfeatureevent.notstatic" + class="org.eclipse.papyrus.sysml.validation.rules.portsandflows.ChangeStructuralFeatureEventNotStaticModelConstraint"> + <message>%inv_ChangeStructuralFeatureEventNotStatic</message> + <description>%inv_ChangeStructuralFeatureEventNotStatic</description> + </constraint> + + + <constraint id="constraint.changestrucuralfeatureevent.onefeaturingclassifier" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="changestrucuralfeatureevent.onefeaturingclassifier" + class="org.eclipse.papyrus.sysml.validation.rules.portsandflows.ChangeStructuralFeatureEventOneFeaturingClassifierModelConstraint"> + <message>%inv_ChangeStructuralFeatureEventOneFeaturingClassifier</message> + <description>%inv_ChangeStructuralFeatureEventOneFeaturingClassifier</description> + </constraint> + + <constraint id="constraint.flowproperty.typedby" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="flowproperty.typedby" + class="org.eclipse.papyrus.sysml.validation.rules.portsandflows.FlowPropertyTypedByModelConstraint"> + <message>%inv_FlowPropertyTypedBy</message> + <description>%inv_FlowPropertyTypedBy</description> + </constraint> + <constraint id="constraint.fullport.notproxyport" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="fullport.notproxyport" + class="org.eclipse.papyrus.sysml.validation.rules.portsandflows.FullPortNotProxyPortModelConstraint"> + <message>%inv_FullPortNotProxyPort</message> + <description>%inv_FullPortNotProxyPort</description> + </constraint> + <constraint id="constraint.fullport.notbehavioral" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="fullport.notbehavioral"> + <message>%inv_FullPortNotBehavioral</message> + <description>%inv_FullPortNotBehavioral</description> + <![CDATA[%ocl_FullPortNotBehavioral]]> + </constraint> + <constraint id="constraint.fullport.notconjugated" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="fullport.notconjugated"> + <message>%inv_FullPortNotConjugated</message> + <description>%inv_FullPortNotConjugated</description> + <![CDATA[%ocl_FullPortNotConjugated]]> + </constraint> + + <constraint id="constraint.proxyport.notfullport" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="proxyport.notfullport" + class="org.eclipse.papyrus.sysml.validation.rules.portsandflows.ProxyPortNotFullPortModelConstraint"> + <message>%inv_ProxyPortNotFullPort</message> + <description>%inv_ProxyPortNotFullPort</description> + </constraint> + <constraint id="constraint.proxyport.typedinterfaceblock" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="proxyport.typedinterfaceblock" + class="org.eclipse.papyrus.sysml.validation.rules.portsandflows.ProxyPortTypedByInterfaceBlockModelConstraint"> + <message>%inv_ProxyPortTypedByInterfaceBlock</message> + <description>%inv_ProxyPortTypedByInterfaceBlock</description> + </constraint> + <constraint id="constraint.proxyport.innerproxyport" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="proxyport.innerproxyport" + class="org.eclipse.papyrus.sysml.validation.rules.portsandflows.ProxyPortForceInnerProxyPortModelConstraint"> + <message>%inv_ProxyPortForceInnerProxyPort</message> + <description>%inv_ProxyPortForceInnerProxyPort</description> + </constraint> + + <constraint id="constraint.interfaceblock.porttype" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="interfaceblock.porttype" + class="org.eclipse.papyrus.sysml.validation.rules.portsandflows.InterfaceBlockPortTypeModelConstraint"> + <message>%inv_InterfaceBlockPortType</message> + <description>%inv_InterfaceBlockPortType</description> + </constraint> + + <constraint id="constraint.interfaceblock.nobehavior" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="interfaceblock.nobehavior" + class="org.eclipse.papyrus.sysml.validation.rules.portsandflows.InterfaceBlockNoBehaviorConstraint"> + <message>%inv_InterfaceBlockNoBehavior</message> + <description>%inv_InterfaceBlockNoBehavior</description> + </constraint> + + <constraint id="constraint.interfaceblock.nocompositeproperty" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="interfaceblock.nocompositeproperty" + class="org.eclipse.papyrus.sysml.validation.rules.portsandflows.InterfaceBlockNoCompositePropertyModelConstraint"> + <message>%inv_InterfaceBlockNoCompositeProperty</message> + <description>%inv_InterfaceBlockNoCompositeProperty</description> + </constraint> + + </constraints> + </constraintProvider> + </extension> + <extension name="org.eclipse.papyrus.sysml.validation.constraintBindings" point="org.eclipse.emf.validation.constraintBindings"> + + <!-- UML fake context (should be replaced by filter see Bug 487500)--> + <clientContext id="TrueContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.TrueSelector"/> + </clientContext> + <binding context="TrueContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.block.property.asssociationend"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.block.associationBlock"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.block.specialization"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.block.propertynoname"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.nestedConnectorEnd.missing"/> + </binding> + + <!-- Requirement Context --> + <clientContext id="CopyClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.CopySelector"/> + </clientContext> + <binding context="CopyClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.copy.betweenrequirements"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.copy.readonly"/> + </binding> + <clientContext id="DeriveReqtClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.DeriveReqtSelector"/> + </clientContext> + <binding context="DeriveReqtClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.derivereqt.client"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.derivereqt.supplier"/> + </binding> + <clientContext id="RefineClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.RefineSelector"/> + </clientContext> + <binding context="RefineClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.refine.dependency"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.refine.oneclientsupplier"/> + </binding> + <clientContext id="RequirementClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.RequirementSelector"/> + </clientContext> + <binding context="RequirementClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.requirement.requireId"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.requirement.requireText"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.requirement.emptyownedattribute"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.requirement.emptyownedoperation"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.requirement.nestedrequirement"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.requirement.noassociation"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.requirement.nogeneralization"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.requirement.notype"/> + </binding> + <clientContext id="TestCaseClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.TestCaseSelector"/> + </clientContext> + <binding context="TestCaseClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.testcase.parameterverdictkind"/> + </binding> + <clientContext id="SatisfyClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.SatisfySelector"/> + </clientContext> + <binding context="SatisfyClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.satisfy.supplier"/> + </binding> + <clientContext id="TraceClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.TraceSelector"/> + </clientContext> + <binding context="TraceClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.trace.supplier"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.trace.dependency"/> + </binding> + <clientContext id="VerifyClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.VerifySelector"/> + </clientContext> + <binding context="VerifyClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.verify.supplier"/> + </binding> + + <!-- Blocks context --> + + <clientContext id="BoundReferenceContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.BoundReferenceSelector"/> + </clientContext> + <binding context="BoundReferenceContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.boundreference.1"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.boundreference.2"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.boundreference.4"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.boundreference.5"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.boundreference.6"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.boundreference.7"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.boundreference.8"/> + </binding> + + <clientContext id="DirectedRelationshipPropertyPathContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.DirectedRelationshipPropertyPathSelector"/> + </clientContext> + <binding context="DirectedRelationshipPropertyPathContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.directedrelationshippropertypath.requiresourcecontext"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.directedrelationshippropertypath.requiretargetcontext"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.directedrelationshippropertypath.sourcefirst"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.directedrelationshippropertypath.targetfirst"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.directedrelationshippropertypath.sourcelast"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.directedrelationshippropertypath.targetlast"/> + </binding> + + <clientContext id="BlockContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.BlockSelector"/> + </clientContext> + <binding context="BlockContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.block.propertycomposite"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.block.connectortwoends"/> + </binding> + + <clientContext id="ElementPropertyPathContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.ElementPropertyPathSelector"/> + </clientContext> + <binding context="ElementPropertyPathContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.elementpropertypath.propertiesowner"/> + </binding> + + <clientContext id="NestedConnectorEndClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.NestedConnectorEndSelector"/> + </clientContext> + <binding context="NestedConnectorEndClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.nestedconnectorend.onlyconnectorends"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.nestedconnectorend.lastproperty"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.nestedconnectorend.firstproperty"/> + </binding> + + <clientContext id="PropertySpecificTypeMissingNameClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.PropertySpecificTypeSelector"/> + </clientContext> + <binding context="PropertySpecificTypeMissingNameClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.propertyspecifictype.missingname"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.propertyspecifictype.uniqueproperty"/> + </binding> + + <clientContext id="EndPathMultiplicityClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.EndPathMultiplicitySelector"/> + </clientContext> + <binding context="EndPathMultiplicityClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.endpathmultiplicity.boundreferenceproperty"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.endpathmultiplicity.notnegative"/> + </binding> + + <clientContext id="DistributedPropertyClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.DistributedPropertySelector"/> + </clientContext> + <binding context="DistributedPropertyClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.distributedproperty.typedby"/> + </binding> + + <clientContext id="ClassifierBehaviorPropertyContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.ClassifierBehaviorPropertySelector"/> + </clientContext> + <binding context="ClassifierBehaviorPropertyContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.classifierbehaviorproperty.onblock"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.classifierbehaviorproperty.iscomposite"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.classifierbehaviorproperty.typedby"/> + </binding> + + <clientContext id="ConnectorPropertyClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.ConnectorPropertySelector"/> + </clientContext> + <binding context="ConnectorPropertyClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.connectorproperty.onlyonblock"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.connectorproperty.onlycomposite"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.connectorproperty.referownedconnector"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.connectorproperty.samename"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.connectorproperty.typedbyassociationblock"/> + </binding> + + <clientContext id="BindingConnectorClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.BindingConnectorSelector"/> + </clientContext> + <binding context="BindingConnectorClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.bindingconnector.sameendstype"/> + </binding> + + <clientContext id="ParticipantPropertyClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.ParticipantPropertySelector"/> + </clientContext> + <binding context="ParticipantPropertyClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.participantproperty.endmultiplicity"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.participantproperty.noassociationmemberends"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.participantproperty.onlyassociationblock"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.participantproperty.onlynoneaggregation"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.participantproperty.sameend"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.participantproperty.sametype"/> + </binding> + <!-- ModelElements context --> + <clientContext id="ExposeClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.ExposeSelector"/> + </clientContext> + <binding context="ExposeClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.expose.clientview"/> + </binding> + <clientContext id="ConformClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.ConformSelector"/> + </clientContext> + <binding context="ConformClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.conform.generalviewpoint"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.conform.specificview"/> + </binding> + + <clientContext id="ViewClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.ViewSelector"/> + </clientContext> + <binding context="ViewClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.view.singleviewpoint"/> + </binding> + + <clientContext id="ViewpointClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.ViewpointSelector"/> + </clientContext> + <binding context="ViewpointClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.viewpoint.ownedview"/> + </binding> + + <!-- Activities context --> + <clientContext id="OptionalClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.OptionalSelector"/> + </clientContext> + <binding context="OptionalClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.optional.multiplicity"/> + </binding> + + <clientContext id="DiscreteClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.DiscreteSelector"/> + </clientContext> + <binding context="DiscreteClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.discrete.nocontinuous"/> + </binding> + + <clientContext id="NoBufferClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.NoBufferSelector"/> + </clientContext> + <binding context="NoBufferClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.nobuffer.nooverwrite"/> + </binding> + + <clientContext id="OverwriteClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.OverwriteSelector"/> + </clientContext> + <binding context="OverwriteClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.overwrite.nonobuffer"/> + </binding> + + <clientContext id="RateClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.RateSelector"/> + </clientContext> + <binding context="RateClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.rate.parameterisstream"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.rate.parameterlessinout"/> + </binding> + + <clientContext id="ProbabilityClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.ProbabilitySelector"/> + </clientContext> + <binding context="ProbabilityClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.probability.alledges"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.probability.baseelement"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.probability.outputparameters"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.probability.allparameterset"/> + </binding> + + <!-- Alocations context --> + <clientContext id="AllocateClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.AllocateSelector"/> + </clientContext> + <binding context="AllocateClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.allocate.oneclientsupplier"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.onlyabstraction"/> + </binding> + + <!-- 9 Ports and Flows --> + <clientContext id="ItemFlowClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.ItemFlowSelector"/> + </clientContext> + <binding context="ItemFlowClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.itemflow.sameproperty"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.itemflow.propertytypedby"/> + </binding> + + <clientContext id="InvocationOnNestedPortActionClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.InvocationOnNestedPortActionSelector"/> + </clientContext> + <binding context="InvocationOnNestedPortActionClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.invocationonnestedportaction.onlyinvocationaction"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.invocationonnestedportaction.requiredonport"/> + </binding> + + <clientContext id="DirectedFeatureClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.DirectedFeatureSelector"/> + </clientContext> + <binding context="DirectedFeatureClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.directedfeature.onlybehavioral"/> + </binding> + + <clientContext id="ChangeStructuralFeatureEventClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.ChangeStructuralFeatureEventSelector"/> + </clientContext> + <binding context="ChangeStructuralFeatureEventClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.changestrucuralfeatureevent.onefeaturingclassifier"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.changestrucuralfeatureevent.notstatic"/> + </binding> + + <clientContext id="ChangeStructuralFeatureEventClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.ChangeStructuralFeatureEventSelector"/> + </clientContext> + <binding context="ChangeStructuralFeatureEventClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.changestrucuralfeatureevent.onefeaturingclassifier"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.changestrucuralfeatureevent.notstatic"/> + </binding> + + <clientContext id="FlowPropertyClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.FlowPropertySelector"/> + </clientContext> + <binding context="FlowPropertyClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.flowproperty.typedby"/> + </binding> + + <clientContext id="FullPortClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.FullPortSelector"/> + </clientContext> + <binding context="FullPortClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.fullport.notproxyport"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.fullport.notbehavioral"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.fullport.notconjugated"/> + </binding> + <clientContext id="InterfaceBlockClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.InterfaceBlockSelector"/> + </clientContext> + <binding context="InterfaceBlockClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.interfaceblock.porttype"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.interfaceblock.nobehavior"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.interfaceblock.nocompositeproperty"/> + </binding> + + <clientContext id="ProxyPortClientContext"> + <selector class="org.eclipse.papyrus.sysml.validation.selectors.ProxyPortSelector"/> + </clientContext> + <binding context="ProxyPortClientContext"> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.proxyport.notfullport"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.proxyport.typedinterfaceblock"/> + <constraint ref="org.eclipse.papyrus.sysml.validation.constraint.proxyport.innerproxyport"/> + </binding> + </extension> +</plugin>
diff --git a/core/org.eclipse.papyrus.sysml.validation/pom.xml b/core/org.eclipse.papyrus.sysml.validation/pom.xml new file mode 100644 index 0000000..e1d670d --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/pom.xml
@@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>org.eclipse.papyrus.sysml.core</artifactId> + <groupId>org.eclipse.papyrus.sysml</groupId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.validation</artifactId> + <packaging>eclipse-plugin</packaging> + <description>This plug-in contains the tooling to validate ocl rules on SysML models.</description> +</project> \ No newline at end of file
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/Activator.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/Activator.java new file mode 100644 index 0000000..34cede7 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/Activator.java
@@ -0,0 +1,62 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation; + +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.sysml.validation"; //$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/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/internal/utils/DiagnosticUtil.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/internal/utils/DiagnosticUtil.java new file mode 100644 index 0000000..00849d9 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/internal/utils/DiagnosticUtil.java
@@ -0,0 +1,70 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.internal.utils; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.uml2.uml.Element; + +/** + * This is an utility class for managing Diagnostic + * + */ +// TODO : this functionalities should be provided by papyrus core or other upper framework +public final class DiagnosticUtil { + + private DiagnosticUtil() {} + + /** + * Find diagnostic by source (Should be unique per element if the source is correctly defined) + * @param diagnostic + * @param source + * @return + */ + public static List<Diagnostic> findDiagnosticBySource(Diagnostic diagnostic, String source) { + List<Diagnostic> foundDiagnostic = new ArrayList<>(); + List<Diagnostic> children = diagnostic.getChildren(); + if (source.equals(diagnostic.getSource())) { + foundDiagnostic.add(diagnostic); + } + if (children != null && !children.isEmpty()) { + for (Diagnostic diagnosticChild : children) { + foundDiagnostic.addAll(findDiagnosticBySource(diagnosticChild, source)); + } + } + return foundDiagnostic; + } + + /** + * Get diagnostics by element + * @param diagnostics + * @param element + * @return + */ + public static List<Diagnostic> filterDiagnosticsByElement(List<Diagnostic> diagnostics, Element element) { + List<Diagnostic> filteredDiagnostics = new ArrayList<>(); + for (Diagnostic diagnostic : diagnostics) { + List<?> datas = diagnostic.getData(); + if (datas != null && !datas.isEmpty()) { + //According to Diagnostic#getData() documentation : The first element is typically the object that is the primary source of the problem; + if (element.equals(datas.get(0))) { + filteredDiagnostics.add(diagnostic); + } + } + } + return filteredDiagnostics; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/activities/DiscreteNoContinuousModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/activities/DiscreteNoContinuousModelConstraint.java new file mode 100644 index 0000000..44a007f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/activities/DiscreteNoContinuousModelConstraint.java
@@ -0,0 +1,67 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.activities; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.activities.Continuous; +import org.eclipse.papyrus.sysml.activities.Discrete; +import org.eclipse.uml2.uml.ActivityEdge; +import org.eclipse.uml2.uml.ObjectNode; +import org.eclipse.uml2.uml.Parameter; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * + * 11.3.2.3 Discrete [1] The «discrete» and «continuous» stereotypes cannot be + * applied to the same element at the same time. + */ +public class DiscreteNoContinuousModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + Discrete noBuffer = (Discrete) context.getTarget(); + + Parameter parameter = noBuffer.getBase_Parameter(); + if (parameter != null) { + if (UMLUtil.getStereotypeApplication(parameter, Continuous.class) != null) { + return context.createFailureStatus(context.getTarget()); + } + } + + ObjectNode objectNode = noBuffer.getBase_ObjectNode(); + if (objectNode != null) { + if (UMLUtil.getStereotypeApplication(objectNode, Continuous.class) != null) { + return context.createFailureStatus(context.getTarget()); + } + } + + ActivityEdge activityEdge = noBuffer.getBase_ActivityEdge(); + if (activityEdge != null) { + if (UMLUtil.getStereotypeApplication(activityEdge, Continuous.class) != null) { + return context.createFailureStatus(context.getTarget()); + } + } + + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/activities/ProbabilityAllEdgesModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/activities/ProbabilityAllEdgesModelConstraint.java new file mode 100644 index 0000000..e34e15c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/activities/ProbabilityAllEdgesModelConstraint.java
@@ -0,0 +1,61 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.activities; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.activities.Probability; +import org.eclipse.uml2.uml.ActivityEdge; +import org.eclipse.uml2.uml.ActivityNode; +import org.eclipse.uml2.uml.DecisionNode; +import org.eclipse.uml2.uml.ObjectNode; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * 11.3.2.7 Probability [2] When the «probability» stereotype is applied to an + * activity edge, then it must be applied to all edges coming out of the same + * source. + */ +public class ProbabilityAllEdgesModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + Probability probability = (Probability) context.getTarget(); + ActivityEdge activityEdge = probability.getBase_ActivityEdge(); + if (activityEdge != null) { + ActivityNode source = activityEdge.getSource(); + if (source != null) { + EList<ActivityEdge> outgoings = source.getOutgoings(); + for (ActivityEdge outActivityEdge : outgoings) { + if (UMLUtil.getStereotypeApplication(outActivityEdge, Probability.class) != null) { + return context.createFailureStatus(context.getTarget()); + } + } + } + if (!(source instanceof DecisionNode) && !(source instanceof ObjectNode)) { + return context.createFailureStatus(context.getTarget()); + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/activities/ProbabilityBaseElementModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/activities/ProbabilityBaseElementModelConstraint.java new file mode 100644 index 0000000..3e75b52 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/activities/ProbabilityBaseElementModelConstraint.java
@@ -0,0 +1,66 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.activities; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.activities.Probability; +import org.eclipse.uml2.uml.ActivityEdge; +import org.eclipse.uml2.uml.ActivityNode; +import org.eclipse.uml2.uml.DecisionNode; +import org.eclipse.uml2.uml.ObjectNode; +import org.eclipse.uml2.uml.Parameter; +import org.eclipse.uml2.uml.ParameterDirectionKind; +import org.eclipse.uml2.uml.ParameterSet; + +/** + * 11.3.2.7 Probability [1] The <<probability>> stereotype can only be applied to + * activity edges that have decision nodes or object nodes as sources, or to + * output parameter sets. + */ +public class ProbabilityBaseElementModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + Probability probability = (Probability) context.getTarget(); + ActivityEdge activityEdge = probability.getBase_ActivityEdge(); + if (activityEdge != null) { + ActivityNode source = activityEdge.getSource(); + if (!(source instanceof DecisionNode) && !(source instanceof ObjectNode)) { + return context.createFailureStatus(context.getTarget()); + } + } + ParameterSet parameterSet = probability.getBase_ParameterSet(); + // What is an output parameter set? (I chose all parameters are OUT) + if (parameterSet != null) { + EList<Parameter> parameters = parameterSet.getParameters(); + for (Parameter parameter : parameters) { + if (!ParameterDirectionKind.OUT_LITERAL.equals(parameter.getDirection())){ + return context.createFailureStatus(context.getTarget()); + } + } + } + + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/activities/ProbabilityOutputParametersModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/activities/ProbabilityOutputParametersModelConstraint.java new file mode 100644 index 0000000..308099f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/activities/ProbabilityOutputParametersModelConstraint.java
@@ -0,0 +1,54 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.activities; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.activities.Probability; +import org.eclipse.uml2.uml.Parameter; +import org.eclipse.uml2.uml.ParameterSet; + +/** + * 11.3.2.7 Probability [4] When the <<probability>> stereotype is applied to an + * output parameter set, all the output parameters must be in some parameter + * set. + */ +public class ProbabilityOutputParametersModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + Probability probability = (Probability) context.getTarget(); + ParameterSet parameterSet = probability.getBase_ParameterSet(); + //What is an output parameter set? (I chose all parameters are OUT) + if (parameterSet != null) { + EList<Parameter> parameters = parameterSet.getParameters(); + for (Parameter parameter : parameters) { + EList<ParameterSet> parameterSets = parameter.getParameterSets(); + if (parameterSets == null || parameterSets.isEmpty()) { + return context.createFailureStatus(context.getTarget()); + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/activities/ProbabilityToAllParameterSetModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/activities/ProbabilityToAllParameterSetModelConstraint.java new file mode 100644 index 0000000..4ceb090 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/activities/ProbabilityToAllParameterSetModelConstraint.java
@@ -0,0 +1,70 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.activities; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.activities.Probability; +import org.eclipse.uml2.uml.Behavior; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.Operation; +import org.eclipse.uml2.uml.ParameterSet; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * 11.3.2.7 Probability [3] When the «probability» stereotype is applied to an + * output parameter set, it must also be applied to all the parameter sets of + * the behavior or operation owning the original parameter set. + */ +public class ProbabilityToAllParameterSetModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + Probability probability = (Probability) context.getTarget(); + ParameterSet parameterSet = probability.getBase_ParameterSet(); + if (parameterSet != null) { + Element owner = parameterSet.getOwner(); + + // FIXME what is the link (constraint) to behavior or operation? + if (owner instanceof Behavior) { + Behavior behavior = (Behavior) owner; + EList<ParameterSet> ownedParameterSets = behavior.getOwnedParameterSets(); + for (ParameterSet ownedParameterSet : ownedParameterSets) { + if (UMLUtil.getStereotypeApplication(ownedParameterSet, Probability.class) != null) { + return context.createFailureStatus(context.getTarget()); + } + } + } + if (owner instanceof Operation) { + Operation operation = (Operation) owner; + EList<ParameterSet> ownedParameterSets = operation.getOwnedParameterSets(); + for (ParameterSet ownedParameterSet : ownedParameterSets) { + if (UMLUtil.getStereotypeApplication(ownedParameterSet, Probability.class) != null) { + return context.createFailureStatus(context.getTarget()); + } + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/activities/RateParameterIsStreamModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/activities/RateParameterIsStreamModelConstraint.java new file mode 100644 index 0000000..5d3db0a --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/activities/RateParameterIsStreamModelConstraint.java
@@ -0,0 +1,44 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.activities; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.activities.Rate; +import org.eclipse.uml2.uml.Parameter; +/** + * + * 11.3.2.8 Rate + * [1] When the Rate stereotype is applied to a parameter, the parameter must be streaming. + * + */ +public class RateParameterIsStreamModelConstraint extends AbstractModelConstraint { + + /* (non-Javadoc) + * @see org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse.emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + Rate rate = (Rate) context.getTarget(); + Parameter parameter = rate.getBase_Parameter(); + + if (parameter != null) { + if (!parameter.isStream()) { + return context.createFailureStatus(context.getTarget()); + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/activities/RateParameterLessInoutModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/activities/RateParameterLessInoutModelConstraint.java new file mode 100644 index 0000000..2b48874 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/activities/RateParameterLessInoutModelConstraint.java
@@ -0,0 +1,70 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.activities; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.activities.Rate; +import org.eclipse.uml2.uml.ActivityEdge; +import org.eclipse.uml2.uml.ActivityNode; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.Parameter; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * 11.3.2.8 Rate [2] The rate of a parameter must be less than or equal to rates + * on edges that come into or go out from pins and parameters nodes + * corresponding to the parameter. + */ +public class RateParameterLessInoutModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + Rate rate = (Rate) context.getTarget(); + Parameter parameter = rate.getBase_Parameter(); + if (parameter != null) { + Element owner = parameter.getOwner(); + if (owner instanceof ActivityNode) { + ActivityNode activityNode = (ActivityNode) owner; + EList<ActivityEdge> incomings = activityNode.getIncomings(); + int sumRateValue = 0; + for (ActivityEdge activityEdge : incomings) { + Rate edgeRate = UMLUtil.getStereotypeApplication(activityEdge, Rate.class); + if (edgeRate != null) { + sumRateValue += getRateValue(edgeRate); + } + } + if (sumRateValue > getRateValue(rate)) { + return context.createFailureStatus(context.getTarget()); + } + } + + } + return context.createSuccessStatus(); + } + + // FIXME : add the method in rate + private int getRateValue(Rate rate) { + return 0; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/allocations/AllocateOneClientSupplierModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/allocations/AllocateOneClientSupplierModelConstraint.java new file mode 100644 index 0000000..84db0d2 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/allocations/AllocateOneClientSupplierModelConstraint.java
@@ -0,0 +1,47 @@ +/***************************************************************************** + * Copyright (c) 2017 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.allocations; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.allocations.Allocate; +import org.eclipse.uml2.uml.Abstraction; + +/** + * 15.3.2.1 Allocate[2] A single «allocate» dependency shall have only one client + * (from) and one supplier (to). + */ +public class AllocateOneClientSupplierModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + Allocate allocate = (Allocate) context.getTarget(); + + Abstraction abstraction = allocate.getBase_Abstraction(); + if (abstraction != null){ // 15.3.2.1 Allocate[1] will fail + if (abstraction.getClients().size() != 1 || abstraction.getSuppliers().size() != 1) { + return context.createFailureStatus(context.getTarget()); + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/allocations/AllocateOnlyAbstractionModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/allocations/AllocateOnlyAbstractionModelConstraint.java new file mode 100644 index 0000000..3e366ac --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/allocations/AllocateOnlyAbstractionModelConstraint.java
@@ -0,0 +1,52 @@ +/***************************************************************************** + * Copyright (c) 2017 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.allocations; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.allocations.Allocate; +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.DirectedRelationship; + +/** + * 15.3.2.1 Allocate[1] The Allocate stereotype may only be applied to + * abstractions. + */ +public class AllocateOnlyAbstractionModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + Allocate allocate = (Allocate) context.getTarget(); + + DirectedRelationship directedRelationship = allocate.getBase_DirectedRelationship(); + if (directedRelationship != null && !(directedRelationship instanceof Abstraction)) { + return context.createFailureStatus(context.getTarget()); + } + + Abstraction abstraction = allocate.getBase_Abstraction(); + if (abstraction == null) { + return context.createFailureStatus(context.getTarget()); + } + + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/AssociationBlockModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/AssociationBlockModelConstraint.java new file mode 100644 index 0000000..c3f4c7d --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/AssociationBlockModelConstraint.java
@@ -0,0 +1,65 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.uml2.uml.Association; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * 8.3.2.3 Block [1] For an association in which both ends are typed by blocks, + * the number of ends must be exactly two. + */ +public class AssociationBlockModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + EObject target = context.getTarget(); + if (target instanceof Association) { + Association association = (Association) target; + EList<Property> memberEnds = association.getMemberEnds(); + if (memberEnds != null && memberEnds.size() >= 2) { + Property firstProperty = memberEnds.get(0); + Property secondProperty = memberEnds.get(1); + if (firstProperty != null && secondProperty != null) { + Type firstType = firstProperty.getType(); + Type secondType = secondProperty.getType(); + if (firstType != null && secondType != null) { + if (memberEnds.size() != 2) { + if (UMLUtil.getStereotypeApplication(firstType, Block.class) != null + && UMLUtil.getStereotypeApplication(secondType, Block.class) != null) { + return context.createFailureStatus(target); + } + } + } + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/BindingConnectorSameEndsTypeModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/BindingConnectorSameEndsTypeModelConstraint.java new file mode 100644 index 0000000..b57613e --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/BindingConnectorSameEndsTypeModelConstraint.java
@@ -0,0 +1,62 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.BindingConnector; +import org.eclipse.uml2.uml.ConnectableElement; +import org.eclipse.uml2.uml.Connector; +import org.eclipse.uml2.uml.ConnectorEnd; +import org.eclipse.uml2.uml.Type; + +/** + * 8.3.2.2 Binding Connector [1] The two ends of a binding connector must have + * either the same type or types that are compatible so that equality of their + * values can be defined. + * + */ +public class BindingConnectorSameEndsTypeModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + BindingConnector bindingConnector = (BindingConnector) context.getTarget(); + Connector connector = bindingConnector.getBase_Connector(); + if (connector != null) { + EList<ConnectorEnd> ends = connector.getEnds(); + Type sharedType = null; + for (ConnectorEnd connectorEnd : ends) { + ConnectableElement role = connectorEnd.getRole(); + if (role != null) { + Type type = role.getType(); + if (sharedType == null) { + sharedType = type; + } else if (!sharedType.equals(type)) { + return context.createFailureStatus(context.getTarget()); + } + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/BlockConnectorTwoEndsModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/BlockConnectorTwoEndsModelConstraint.java new file mode 100644 index 0000000..0ee4955 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/BlockConnectorTwoEndsModelConstraint.java
@@ -0,0 +1,53 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Connector; +import org.eclipse.uml2.uml.ConnectorEnd; + +/** + * 8.3.2.3 Block [2] The number of ends of a connector owned by a block must be + * exactly two. + */ +public class BlockConnectorTwoEndsModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + Block block = (Block) context.getTarget(); + Class clazz = block.getBase_Class(); + if (clazz != null) { + EList<Connector> ownedConnectors = clazz.getOwnedConnectors(); + for (Connector connector : ownedConnectors) { + EList<ConnectorEnd> ends = connector.getEnds(); + if (ends == null || ends.size() != 2) { + return context.createFailureStatus(context.getTarget()); + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/BlockPropertyAssociationEndModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/BlockPropertyAssociationEndModelConstraint.java new file mode 100644 index 0000000..18bf06a --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/BlockPropertyAssociationEndModelConstraint.java
@@ -0,0 +1,59 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * Benoit Maggi (CEA LIST) - Bug 487500 + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * 8.3.2.3 Block [4] In the UML metamodel on which SysML is built, + * a Property that is typed by a block must be defined as an end of an association. + * (An inverse end of this association, whether owned by + * another block or the association itself, must always be present so there + * is always a metamodel element to record the inverse multiplicity of the reference.) + */ +public class BlockPropertyAssociationEndModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + EObject target = context.getTarget(); + //FIXME: Literally the norm state the constraints for all properties + // but common sense would recommend to skip the constraint on certain Port + // SO: the question should be raised in SysML Forums... (More information: Bug 487500) + if (target instanceof Property && !(target instanceof Port)){ + Property property = (Property) target; + Type type = property.getType(); + if (type != null && property.getAssociation() == null) { + if (UMLUtil.getStereotypeApplication(type, Block.class) != null) { + return context.createFailureStatus(target); + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/BlockPropertyCompositeModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/BlockPropertyCompositeModelConstraint.java new file mode 100644 index 0000000..bef899c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/BlockPropertyCompositeModelConstraint.java
@@ -0,0 +1,60 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.papyrus.sysml.blocks.ValueType; +import org.eclipse.uml2.uml.AggregationKind; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * 8.3.2.3 Block [6] If a property owned by a SysML Block or SysML ValueType is + * typed by a SysML ValueType, then the aggregation attribute of the property + * must be «composite.» + * + */ +public class BlockPropertyCompositeModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + Block block = (Block) context.getTarget(); + Class clazz = block.getBase_Class(); + if (clazz != null) { + EList<Property> attributes = clazz.getAttributes(); + for (Property property : attributes) { + Type type = property.getType(); + if (type != null && UMLUtil.getStereotypeApplication(type, ValueType.class) != null) { + if (!AggregationKind.COMPOSITE_LITERAL.equals(property.getAggregation())) { + return context.createFailureStatus(context.getTarget()); + } + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/BlockPropertyNoNameModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/BlockPropertyNoNameModelConstraint.java new file mode 100644 index 0000000..13c06ad --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/BlockPropertyNoNameModelConstraint.java
@@ -0,0 +1,67 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.uml2.uml.Association; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * 8.3.2.3 Block [3] In the UML metamodel on which SysML is built, any instance + * of the Property metaclass that is typed by a block (a Class with the «block» + * stereotype applied) and which is owned by an Association may not have a name + * and may not be defined as a navigable owned end of the association. (While + * the Property has a «name» property as defined by its NamedElement + */ +public class BlockPropertyNoNameModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + EObject target = context.getTarget(); + if (target instanceof Property) { + Property property = (Property) target; + Element owner = property.getOwner(); + if (owner instanceof Association) { + Association association = (Association) owner; + Type type = property.getType(); + if (type != null && UMLUtil.getStereotypeApplication(type, Block.class) != null) { + String name = property.getName(); + if (name != null && !"".equals(name)) {//$NON-NLS-1$ + return context.createFailureStatus(context.getTarget()); + } + + if (association.getNavigableOwnedEnds().contains(property)) { + return context.createFailureStatus(context.getTarget()); + } + } + + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/BlockSpecializationModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/BlockSpecializationModelConstraint.java new file mode 100644 index 0000000..1761c46 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/BlockSpecializationModelConstraint.java
@@ -0,0 +1,56 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.Generalization; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * 8.3.2.3 Block [8] Any classifier that specializes a Block must also have the + * Block stereotype or one of its specializations applied. + */ +public class BlockSpecializationModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + EObject target = context.getTarget(); + if (target instanceof Classifier) { + Classifier classifier = (Classifier) target; + if (UMLUtil.getStereotypeApplication(classifier, Block.class) == null) { + EList<Generalization> generalizations = classifier.getGeneralizations(); + for (Generalization generalization : generalizations) { + Classifier general = generalization.getGeneral(); + if (UMLUtil.getStereotypeApplication(general, Block.class) != null) { + return context.createFailureStatus(classifier); + } + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ClassifierBehaviorPropertyOnBlockModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ClassifierBehaviorPropertyOnBlockModelConstraint.java new file mode 100644 index 0000000..1487de9 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ClassifierBehaviorPropertyOnBlockModelConstraint.java
@@ -0,0 +1,54 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.papyrus.sysml.blocks.ClassifierBehaviorProperty; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + *8.3.2.5 ClassifierBehaviorProperty + *[1] ClassifierBehaviorProperty may only be applied to properties owned (not inherited) by blocks that have classifier behaviors. + */ +public class ClassifierBehaviorPropertyOnBlockModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + ClassifierBehaviorProperty classifierBehaviorProperty = (ClassifierBehaviorProperty) context.getTarget(); + Property property = classifierBehaviorProperty.getBase_Property(); + if (property != null) { + Element owner = property.getOwner(); + if (owner instanceof org.eclipse.uml2.uml.Class) { + org.eclipse.uml2.uml.Class clazz = (org.eclipse.uml2.uml.Class) owner; + if (UMLUtil.getStereotypeApplication(clazz, Block.class) == null + || clazz.getClassifierBehavior() == null ) { + return context.createFailureStatus(context.getTarget()); + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ClassifierBehaviorPropertyTypedByModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ClassifierBehaviorPropertyTypedByModelConstraint.java new file mode 100644 index 0000000..185f79f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ClassifierBehaviorPropertyTypedByModelConstraint.java
@@ -0,0 +1,59 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.ClassifierBehaviorProperty; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; + +/** + * 8.3.2.5 ClassifierBehaviorProperty [3] Properties to which + * ClassifierBehaviorProperty applied must be typed by the classifier behavior + * of their owning block or a generalization of the classifier behavior. + * + */ +public class ClassifierBehaviorPropertyTypedByModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + ClassifierBehaviorProperty classifierBehaviorProperty = (ClassifierBehaviorProperty) context.getTarget(); + Property property = classifierBehaviorProperty.getBase_Property(); + if (property != null) { + Type type = property.getType(); + if (type != null) { + Element owner = property.getOwner(); + if (owner instanceof org.eclipse.uml2.uml.Class) { + // is a block by constraint 8.3.2.5 [1] + org.eclipse.uml2.uml.Class clazz = (org.eclipse.uml2.uml.Class) owner; + if (!type.equals(clazz.getClassifierBehavior())) { + return context.createFailureStatus(context.getTarget()); + } + } + } + + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ConnectorPropertyOnlyOnBlockModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ConnectorPropertyOnlyOnBlockModelConstraint.java new file mode 100644 index 0000000..efc731c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ConnectorPropertyOnlyOnBlockModelConstraint.java
@@ -0,0 +1,51 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.papyrus.sysml.blocks.ConnectorProperty; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * 8.3.2.6 ConnectorProperty [1] ConnectorProperty may only be applied to + * properties of classes stereotyped by Block. + * + */ +public class ConnectorPropertyOnlyOnBlockModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + ConnectorProperty connectorProperty = (ConnectorProperty) context.getTarget(); + Property property = connectorProperty.getBase_Property(); + if (property != null) { + Element owner = property.getOwner(); + if (owner == null || UMLUtil.getStereotypeApplication(owner, Block.class) == null) { + return context.createFailureStatus(context.getTarget()); + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ConnectorPropertyReferOwnedConnectorModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ConnectorPropertyReferOwnedConnectorModelConstraint.java new file mode 100644 index 0000000..d7e18e3 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ConnectorPropertyReferOwnedConnectorModelConstraint.java
@@ -0,0 +1,56 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.ConnectorProperty; +import org.eclipse.uml2.uml.Connector; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.Property; + +/** + * 8.3.2.6 ConnectorProperty [2] The connector attribute of the applied + * stereotype must refer to a connector owned or inherited by a block owning the + * property on which the stereotype is applied. + * + */ +public class ConnectorPropertyReferOwnedConnectorModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + ConnectorProperty connectorProperty = (ConnectorProperty) context.getTarget(); + Property property = connectorProperty.getBase_Property(); + if (property != null) { + Element owner = property.getOwner(); + if (owner!=null){ + Connector connector = connectorProperty.getConnector(); + if (connector != null){ + if (!owner.equals(connector.getOwner())){ + return context.createFailureStatus(context.getTarget()); + } + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ConnectorPropertySameNameModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ConnectorPropertySameNameModelConstraint.java new file mode 100644 index 0000000..9949b2f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ConnectorPropertySameNameModelConstraint.java
@@ -0,0 +1,58 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.ConnectorProperty; +import org.eclipse.uml2.uml.Connector; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; + +/** + * 8.3.2.6 ConnectorProperty [5] A property stereotyped by ConnectorProperty + * must have the same name and type as the connector referred to by the + * connector attribute. + * + */ +public class ConnectorPropertySameNameModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + ConnectorProperty connectorProperty = (ConnectorProperty) context.getTarget(); + Property property = connectorProperty.getBase_Property(); + if (property != null) { + Connector connector = connectorProperty.getConnector(); + if (connector!=null){ + String name = connector.getName(); + if (name!= null && !name.equals(property.getName())){ + return context.createFailureStatus(context.getTarget()); + } + Type type = connector.getType(); + if (type!= null && !type.equals(property.getType())){ + return context.createFailureStatus(context.getTarget()); + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ConnectorPropertyTypedByAssociationBlockModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ConnectorPropertyTypedByAssociationBlockModelConstraint.java new file mode 100644 index 0000000..83e916e --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ConnectorPropertyTypedByAssociationBlockModelConstraint.java
@@ -0,0 +1,54 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.papyrus.sysml.blocks.ConnectorProperty; +import org.eclipse.uml2.uml.Association; +import org.eclipse.uml2.uml.AssociationClass; +import org.eclipse.uml2.uml.Connector; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * 8.3.2.6 ConnectorProperty [4] The type of the connector referred to by a + * connector attribute must be an association class stereotyped by Block. + * + */ +public class ConnectorPropertyTypedByAssociationBlockModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + ConnectorProperty connectorProperty = (ConnectorProperty) context.getTarget(); + Connector connector = connectorProperty.getConnector(); + if (connector != null) { + Association type = connector.getType(); + if (type != null){ + if (!(type instanceof AssociationClass)||UMLUtil.getStereotypeApplication(type, Block.class) == null) { + return context.createFailureStatus(context.getTarget()); + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/DirectedRelationshipPropertyPathRequireSourceContextModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/DirectedRelationshipPropertyPathRequireSourceContextModelConstraint.java new file mode 100644 index 0000000..e29a7b5 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/DirectedRelationshipPropertyPathRequireSourceContextModelConstraint.java
@@ -0,0 +1,48 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath; +import org.eclipse.uml2.uml.Property; + +/** + * 8.3.2.7 DirectedRelationshipPropertyPath [1] source#context must have a value + * when sourcePropertyPath has a value. + */ +public class DirectedRelationshipPropertyPathRequireSourceContextModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + DirectedRelationshipPropertyPath directedRelationshipPropertyPath = (DirectedRelationshipPropertyPath) context + .getTarget(); + EList<Property> sourcePropertyPath = directedRelationshipPropertyPath.getSourcePropertyPath(); + if (sourcePropertyPath != null && !sourcePropertyPath.isEmpty()) { + if (directedRelationshipPropertyPath.getSourceContext() == null) { + return context.createFailureStatus(context.getTarget()); + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/DirectedRelationshipPropertyPathRequireTargetContextModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/DirectedRelationshipPropertyPathRequireTargetContextModelConstraint.java new file mode 100644 index 0000000..728ef56 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/DirectedRelationshipPropertyPathRequireTargetContextModelConstraint.java
@@ -0,0 +1,48 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath; +import org.eclipse.uml2.uml.Property; + +/** + * 8.3.2.7 DirectedRelationshipPropertyPath [1] target#context must have a value + * when targetPropertyPath has a value. + */ +public class DirectedRelationshipPropertyPathRequireTargetContextModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + DirectedRelationshipPropertyPath directedRelationshipPropertyPath = (DirectedRelationshipPropertyPath) context + .getTarget(); + EList<Property> targetPropertyPath = directedRelationshipPropertyPath.getTargetPropertyPath(); + if (targetPropertyPath != null && !targetPropertyPath.isEmpty()) { + if (directedRelationshipPropertyPath.getTargetContext() == null) { + return context.createFailureStatus(context.getTarget()); + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/DirectedRelationshipPropertyPathSourceFirstModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/DirectedRelationshipPropertyPathSourceFirstModelConstraint.java new file mode 100644 index 0000000..4c56462 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/DirectedRelationshipPropertyPathSourceFirstModelConstraint.java
@@ -0,0 +1,53 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath; +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.Property; + +/** + * 8.3.2.7 DirectedRelationshipPropertyPath [3] The property in the first + * position of the sourcePropertyPath list, if any, must be owned by the + * source#context or one of its generalizations. + */ +public class DirectedRelationshipPropertyPathSourceFirstModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + DirectedRelationshipPropertyPath directedRelationshipPropertyPath = (DirectedRelationshipPropertyPath) context + .getTarget(); + EList<Property> sourcePropertyPath = directedRelationshipPropertyPath.getSourcePropertyPath(); + if (sourcePropertyPath != null && !sourcePropertyPath.isEmpty()) { + Property property = sourcePropertyPath.get(0); + Classifier sourceContext = directedRelationshipPropertyPath.getSourceContext(); + if (sourceContext != null) { + if (!sourceContext.getAllAttributes().contains(property)) { + return context.createFailureStatus(context.getTarget()); + } + } + } + return context.createSuccessStatus(); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/DirectedRelationshipPropertyPathSourceLastModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/DirectedRelationshipPropertyPathSourceLastModelConstraint.java new file mode 100644 index 0000000..b828ac9 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/DirectedRelationshipPropertyPathSourceLastModelConstraint.java
@@ -0,0 +1,68 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath; +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.DirectedRelationship; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; + +/** + * 8.3.2.7 DirectedRelationshipPropertyPath [6] The type of the property at the + * last position of the sourcePropertyPath list must own or inherit the source + * of the stereotyped directed relationship. + */ +public class DirectedRelationshipPropertyPathSourceLastModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + DirectedRelationshipPropertyPath directedRelationshipPropertyPath = (DirectedRelationshipPropertyPath) context + .getTarget(); + EList<Property> sourcePropertyPath = directedRelationshipPropertyPath.getSourcePropertyPath(); + if (sourcePropertyPath != null && !sourcePropertyPath.isEmpty()) { + Property property = sourcePropertyPath.get(sourcePropertyPath.size() - 1); + Type type = property.getType(); + if (type != null) { + DirectedRelationship directedRelationship = directedRelationshipPropertyPath + .getBase_DirectedRelationship(); + if (directedRelationship != null) { + EList<Element> sources = directedRelationship.getSources(); + if (sources != null && !sources.isEmpty() && !type.getOwnedElements().contains(sources.get(0))){ + if (type instanceof Classifier){ + Classifier classifier = (Classifier) type; + if (!classifier.getInheritedMembers().contains(sources.get(0))){ + return context.createFailureStatus(context.getTarget()); + } + } else { + return context.createFailureStatus(context.getTarget()); + } + } + } + } + } + return context.createSuccessStatus(); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/DirectedRelationshipPropertyPathTargetFirstModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/DirectedRelationshipPropertyPathTargetFirstModelConstraint.java new file mode 100644 index 0000000..1a0ec39 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/DirectedRelationshipPropertyPathTargetFirstModelConstraint.java
@@ -0,0 +1,53 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath; +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.Property; + +/** + * 8.3.2.7 DirectedRelationshipPropertyPath [4] The property in the first + * position of the targetPropertyPath list, if any, must be owned by the + * target#context or one of its generalizations. + */ +public class DirectedRelationshipPropertyPathTargetFirstModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + DirectedRelationshipPropertyPath directedRelationshipPropertyPath = (DirectedRelationshipPropertyPath) context + .getTarget(); + EList<Property> targetPropertyPath = directedRelationshipPropertyPath.getTargetPropertyPath(); + if (targetPropertyPath != null && !targetPropertyPath.isEmpty()) { + Property property = targetPropertyPath.get(0); + Classifier targetContext = directedRelationshipPropertyPath.getTargetContext(); + if (targetContext != null) { + if (!targetContext.getAllAttributes().contains(property)) { + return context.createFailureStatus(context.getTarget()); + } + } + } + return context.createSuccessStatus(); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/DirectedRelationshipPropertyPathTargetLastModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/DirectedRelationshipPropertyPathTargetLastModelConstraint.java new file mode 100644 index 0000000..41bf1a9 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/DirectedRelationshipPropertyPathTargetLastModelConstraint.java
@@ -0,0 +1,68 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Bug 515283 + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath; +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.DirectedRelationship; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; + +/** + * 8.3.2.7 DirectedRelationshipPropertyPath [7] The type of the property at the + * last position of the targetPropertyPath list must own or inherit the target + * of the stereotyped directed relationship. + */ +public class DirectedRelationshipPropertyPathTargetLastModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + DirectedRelationshipPropertyPath directedRelationshipPropertyPath = (DirectedRelationshipPropertyPath) context + .getTarget(); + EList<Property> targetPropertyPath = directedRelationshipPropertyPath.getTargetPropertyPath(); + if (targetPropertyPath != null && !targetPropertyPath.isEmpty()) { + Property property = targetPropertyPath.get(targetPropertyPath.size() - 1); + Type type = property.getType(); + if (type != null) { + DirectedRelationship directedRelationship = directedRelationshipPropertyPath + .getBase_DirectedRelationship(); + if (directedRelationship != null) { + EList<Element> targets = directedRelationship.getTargets(); + if (targets != null && !targets.isEmpty() && !type.getOwnedElements().contains(targets.get(0))){ + if (type instanceof Classifier){ + Classifier classifier = (Classifier) type; + if (!classifier.getInheritedMembers().contains(targets.get(0))){ + return context.createFailureStatus(context.getTarget()); + } + } else { + return context.createFailureStatus(context.getTarget()); + } + } + } + } + } + return context.createSuccessStatus(); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/DistributedPropertyTypedByModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/DistributedPropertyTypedByModelConstraint.java new file mode 100644 index 0000000..a99fa0a --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/DistributedPropertyTypedByModelConstraint.java
@@ -0,0 +1,54 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.papyrus.sysml.blocks.DistributedProperty; +import org.eclipse.papyrus.sysml.blocks.ValueType; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * 8.3.2.8 DistributedProperty [1] The DistributedProperty stereotype may be applied only to properties of classifiers stereotyped by Block or ValueType. + * + */ +public class DistributedPropertyTypedByModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + DistributedProperty distributedProperty = (DistributedProperty) context.getTarget(); + Property property = distributedProperty.getBase_Property(); + if (property != null) { + Type type = property.getType(); + if (type != null) { + if (UMLUtil.getStereotypeApplication(type, ValueType.class) == null + && UMLUtil.getStereotypeApplication(type, Block.class) == null) { + return context.createFailureStatus(context.getTarget()); + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ElementPropertyPathPropertiesOwnerModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ElementPropertyPathPropertiesOwnerModelConstraint.java new file mode 100644 index 0000000..c677eca --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ElementPropertyPathPropertiesOwnerModelConstraint.java
@@ -0,0 +1,60 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.ElementPropertyPath; +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; + +/** + * 8.3.2.9 ElementPropertyPath [1] The property at each successive position of + * the propertyPath attribute, following the first position, must be owned by + * the Block or ValueType that types the property at the immediately preceding + * position, or a generalization of the Block or ValueType. + */ +public class ElementPropertyPathPropertiesOwnerModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + ElementPropertyPath elementPropertyPath = (ElementPropertyPath) context.getTarget(); + EList<Property> propertyPath = elementPropertyPath.getPropertyPath(); + Classifier classifier = null; + for (Property property : propertyPath) { + if (classifier != null && !classifier.getAllAttributes().contains(property)) { + return context.createFailureStatus(context.getTarget()); + } + Type type = property.getType(); + if (type instanceof Classifier) { + // FIXME: this constraint seems to assume that the + // type is a classifier + classifier = (Classifier) type; + } else { + classifier = null; + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/EndPathMultiplicityBoundReferencePropertyModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/EndPathMultiplicityBoundReferencePropertyModelConstraint.java new file mode 100644 index 0000000..77082ed --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/EndPathMultiplicityBoundReferencePropertyModelConstraint.java
@@ -0,0 +1,53 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.BoundReference; +import org.eclipse.papyrus.sysml.blocks.EndPathMultiplicity; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * 8.3.2.10 EndPathMultiplicity [1] Properties to which EndPathMultiplicity is + * applied must be related by redefinition to a property to which BoundReference + * is applied. + */ +public class EndPathMultiplicityBoundReferencePropertyModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + EndPathMultiplicity endPathMultiplicity = (EndPathMultiplicity) context.getTarget(); + Property property = endPathMultiplicity.getBase_Property(); + if (property != null) { + EList<Property> redefinedProperties = property.getRedefinedProperties(); + for (Property redefinedProperty : redefinedProperties) { + if (UMLUtil.getStereotypeApplication(redefinedProperty, BoundReference.class) == null) { + return context.createFailureStatus(context.getTarget()); + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/NestedConnectorEndFirstPropertyModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/NestedConnectorEndFirstPropertyModelConstraint.java new file mode 100644 index 0000000..f6b2ae2 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/NestedConnectorEndFirstPropertyModelConstraint.java
@@ -0,0 +1,63 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd; +import org.eclipse.uml2.uml.Connector; +import org.eclipse.uml2.uml.ConnectorEnd; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.Property; + +/** + * 8.3.2.11 NestedConnectorEnd [1] The first property in propertyPath must be + * owned by the block that owns the connector, or one of the block's + * generalizations. + */ +public class NestedConnectorEndFirstPropertyModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + NestedConnectorEnd nestedConnectorEnd = (NestedConnectorEnd) context.getTarget(); + ConnectorEnd connectorEnd = nestedConnectorEnd.getBase_ConnectorEnd(); + if (connectorEnd != null) { + EObject eContainer = connectorEnd.eContainer(); + if (eContainer instanceof Connector) { + Element connectorOwner = ((Connector) eContainer).getOwner(); + if (connectorOwner != null) { + EList<Property> propertyPath = nestedConnectorEnd.getPropertyPath(); + if (propertyPath != null && !propertyPath.isEmpty()) { + Property firstProperty = propertyPath.get(0); + if (!connectorOwner.equals(firstProperty.getOwner())) { + return context.createFailureStatus(context.getTarget()); + } + } + } + } + } + + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/NestedConnectorEndLastPropertyModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/NestedConnectorEndLastPropertyModelConstraint.java new file mode 100644 index 0000000..03c296c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/NestedConnectorEndLastPropertyModelConstraint.java
@@ -0,0 +1,71 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd; +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.ConnectableElement; +import org.eclipse.uml2.uml.ConnectorEnd; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; + +/** + * 8.3.2.11 NestedConnectorEnd [2] The type of the property at the last position + * of the propertyPath list must own or inherit the role property of the + * stereotyped connector end. + * + */ +public class NestedConnectorEndLastPropertyModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + NestedConnectorEnd nestedConnectorEnd = (NestedConnectorEnd) context.getTarget(); + ConnectorEnd connectorEnd = nestedConnectorEnd.getBase_ConnectorEnd(); + if (connectorEnd != null) { + // FIXME: this constraint seems to assume that the connectable + // element is a property + ConnectableElement role = connectorEnd.getRole(); + if (role instanceof Property) { + Property property = (Property) role; + EList<Property> propertyPath = nestedConnectorEnd.getPropertyPath(); + if (propertyPath != null && !propertyPath.isEmpty()) { + Property lastProperty = propertyPath.get(propertyPath.size() - 1); + if (lastProperty != null) { + Type type = lastProperty.getType(); + if (type instanceof Classifier) { + // FIXME: this constraint seems to assume that the + // type is a classifier + Classifier classifier = (Classifier) type; + if (!classifier.getAllAttributes().contains(property)) { + return context.createFailureStatus(context.getTarget()); + } + } + } + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/NestedConnectorEndOnlyConnectorEndsModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/NestedConnectorEndOnlyConnectorEndsModelConstraint.java new file mode 100644 index 0000000..54016ae --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/NestedConnectorEndOnlyConnectorEndsModelConstraint.java
@@ -0,0 +1,44 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd; +import org.eclipse.uml2.uml.ConnectorEnd; +import org.eclipse.uml2.uml.Element; + +/** + * 8.3.2.11 NestedConnectorEnd [3] NestedConnectorEnd may only be applied to + * connector ends + */ +public class NestedConnectorEndOnlyConnectorEndsModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + NestedConnectorEnd nestedConnectorEnd = (NestedConnectorEnd) context.getTarget(); + Element element = nestedConnectorEnd.getBase_Element(); + if (element != null && !(element instanceof ConnectorEnd)) { + return context.createFailureStatus(context.getTarget()); + } + return context.createSuccessStatus(); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ParticipantPropertyEndMultiplicityModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ParticipantPropertyEndMultiplicityModelConstraint.java new file mode 100644 index 0000000..d7174b0 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ParticipantPropertyEndMultiplicityModelConstraint.java
@@ -0,0 +1,45 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.ParticipantProperty; +import org.eclipse.uml2.uml.Property; + +/** + * 8.3.2.12 ParticipantProperty [6] The property referred to by end must have a + * multiplicity of 1. + * + */ +public class ParticipantPropertyEndMultiplicityModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + ParticipantProperty participantProperty = (ParticipantProperty) context.getTarget(); + Property property = participantProperty.getBase_Property(); + if (property != null && (property.upperBound() != 1 || property.lowerBound() != 1)) { + return context.createFailureStatus(context.getTarget()); + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ParticipantPropertyNoAssociationMemberEndsModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ParticipantPropertyNoAssociationMemberEndsModelConstraint.java new file mode 100644 index 0000000..ca10d38 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ParticipantPropertyNoAssociationMemberEndsModelConstraint.java
@@ -0,0 +1,46 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.ParticipantProperty; +import org.eclipse.uml2.uml.Property; + +/** + * 8.3.2.12 ParticipantProperty [2] ParticipantProperty may not be applied to + * properties that are member ends of an association. + */ +public class ParticipantPropertyNoAssociationMemberEndsModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + ParticipantProperty participantProperty = (ParticipantProperty) context.getTarget(); + Property property = participantProperty.getBase_Property(); + if (property != null) { + if (property.getAssociation()!=null) { + return context.createFailureStatus(context.getTarget()); + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ParticipantPropertyOnlyAssociationBlockModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ParticipantPropertyOnlyAssociationBlockModelConstraint.java new file mode 100644 index 0000000..f44206e --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ParticipantPropertyOnlyAssociationBlockModelConstraint.java
@@ -0,0 +1,50 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.papyrus.sysml.blocks.ParticipantProperty; +import org.eclipse.uml2.uml.AssociationClass; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * 8.3.2.12 ParticipantProperty [1] ParticipantProperty may only be applied to properties of association classes stereotyped by Block. + * + */ +public class ParticipantPropertyOnlyAssociationBlockModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + ParticipantProperty participantProperty = (ParticipantProperty) context.getTarget(); + Property property = participantProperty.getBase_Property(); + if (property != null) { + Element owner = property.getOwner(); + if ((!(owner instanceof AssociationClass)) || UMLUtil.getStereotypeApplication(owner, Block.class) == null) { + return context.createFailureStatus(context.getTarget()); + } + } + return context.createSuccessStatus(); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ParticipantPropertyOnlyNoneAggregationModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ParticipantPropertyOnlyNoneAggregationModelConstraint.java new file mode 100644 index 0000000..db81b2b --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ParticipantPropertyOnlyNoneAggregationModelConstraint.java
@@ -0,0 +1,47 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.ParticipantProperty; +import org.eclipse.uml2.uml.AggregationKind; +import org.eclipse.uml2.uml.Property; + +/** + * 8.3.2.12 ParticipantProperty [3] The aggregation of a property stereotyped by + * ParticipantProperty must be none. + */ +public class ParticipantPropertyOnlyNoneAggregationModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + ParticipantProperty participantProperty = (ParticipantProperty) context.getTarget(); + Property property = participantProperty.getBase_Property(); + if (property != null) { + if (!AggregationKind.NONE_LITERAL.equals(property.getAggregation())) { + return context.createFailureStatus(context.getTarget()); + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ParticipantPropertySameEndModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ParticipantPropertySameEndModelConstraint.java new file mode 100644 index 0000000..b2335ef --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ParticipantPropertySameEndModelConstraint.java
@@ -0,0 +1,57 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.ParticipantProperty; +import org.eclipse.uml2.uml.AssociationClass; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.Property; + +/** + * 8.3.2.12 ParticipantProperty [4] The end attribute of the applied stereotype + * must refer to a member end of the association block owning the property on + * which the stereotype is applied. + * + */ +public class ParticipantPropertySameEndModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + ParticipantProperty participantProperty = (ParticipantProperty) context.getTarget(); + Property endProperty = participantProperty.getEnd(); + if (endProperty != null) { + Property property = participantProperty.getBase_Property(); + if (property != null){ + Element owner = property.getOwner(); + if (owner instanceof AssociationClass){ + AssociationClass associationClass = (AssociationClass) owner; + if (!associationClass.getMemberEnds().contains(endProperty)){ + return context.createFailureStatus(context.getTarget()); + } + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ParticipantPropertySameTypeModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ParticipantPropertySameTypeModelConstraint.java new file mode 100644 index 0000000..fec797e --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/ParticipantPropertySameTypeModelConstraint.java
@@ -0,0 +1,54 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.ParticipantProperty; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; + +/** + * 8.3.2.12 ParticipantProperty [5] A property stereotyped by + * ParticipantProperty must have the same type as the property referred to by + * the end attribute. + */ +public class ParticipantPropertySameTypeModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + ParticipantProperty participantProperty = (ParticipantProperty) context.getTarget(); + Property property = participantProperty.getBase_Property(); + if (property != null) { + Type type = property.getType(); + if (type != null) { + Property endProperty = participantProperty.getEnd(); + if (endProperty != null) { + if (!type.equals(endProperty.getType())) { + return context.createFailureStatus(context.getTarget()); + } + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/PropertySpecificTypeMissingNameModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/PropertySpecificTypeMissingNameModelConstraint.java new file mode 100644 index 0000000..b84d68e --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/PropertySpecificTypeMissingNameModelConstraint.java
@@ -0,0 +1,49 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.PropertySpecificType; +import org.eclipse.uml2.uml.Classifier; + +/** + * 8.3.2.13 PropertySpecificType [2] The name of a classifier to which a + * PropertySpecificType is applied must be missing. (The «name» attribute of the + * NamedElement metaclass must be empty.) + * + */ +public class PropertySpecificTypeMissingNameModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + PropertySpecificType propertySpecificType = (PropertySpecificType) context.getTarget(); + Classifier classifier = propertySpecificType.getBase_Classifier(); + if (classifier != null) { + String name = classifier.getName(); + if (name!= null && !"".equals(name)) { //$NON-NLS-1$ + return context.createFailureStatus(context.getTarget()); + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/PropertySpecificTypeUniquePropertyModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/PropertySpecificTypeUniquePropertyModelConstraint.java new file mode 100644 index 0000000..f6bda11 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/blocks/PropertySpecificTypeUniquePropertyModelConstraint.java
@@ -0,0 +1,54 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.blocks; + +import java.util.Set; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.gmf.runtime.emf.core.util.CrossReferenceAdapter; +import org.eclipse.papyrus.sysml.blocks.PropertySpecificType; +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.UMLPackage; + +/** + * 8.3.2.13 PropertySpecificType [1] A classifier to which the + * PropertySpecificType stereotype is applied must be referenced as the type of + * one and only one property. + */ +public class PropertySpecificTypeUniquePropertyModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + PropertySpecificType propertySpecificType = (PropertySpecificType) context.getTarget(); + Classifier classifier = propertySpecificType.getBase_Classifier(); + if (classifier != null) { + CrossReferenceAdapter crossReferenceAdapter = CrossReferenceAdapter.getCrossReferenceAdapter(TransactionUtil.getEditingDomain(classifier).getResourceSet()); + Set inverseReferencers = crossReferenceAdapter.getInverseReferencers(classifier, UMLPackage.eINSTANCE.getTypedElement_Type(), null); + if (inverseReferencers != null && inverseReferencers.size() != 1) { + return context.createFailureStatus(context.getTarget()); + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/modelelements/ExposeClientStereotypedByViewModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/modelelements/ExposeClientStereotypedByViewModelConstraint.java new file mode 100644 index 0000000..65cf187 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/modelelements/ExposeClientStereotypedByViewModelConstraint.java
@@ -0,0 +1,53 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.modelelements; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.modelelements.Expose; +import org.eclipse.papyrus.sysml.modelelements.View; +import org.eclipse.uml2.uml.Dependency; +import org.eclipse.uml2.uml.NamedElement; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * 7.3.2.3 Expose [1] The client must be an element stereotyped by View. + * FIXME : the norm is incorrect there may be many client, the rule will apply to all clients + * + */ +public class ExposeClientStereotypedByViewModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + Expose expose = (Expose) context.getTarget(); + Dependency dependency = expose.getBase_Dependency(); + if (dependency != null) { + EList<NamedElement> clients = dependency.getClients(); + for (NamedElement namedElement : clients) { + if (UMLUtil.getStereotypeApplication(namedElement, View.class) == null) { + return context.createFailureStatus(context.getTarget()); + } + } + } + return context.createSuccessStatus(); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/modelelements/ViewSingleViewpointModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/modelelements/ViewSingleViewpointModelConstraint.java new file mode 100644 index 0000000..3855978 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/modelelements/ViewSingleViewpointModelConstraint.java
@@ -0,0 +1,57 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.modelelements; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.modelelements.Conform; +import org.eclipse.papyrus.sysml.modelelements.View; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Generalization; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * 7.3.2.7 View [1] A view must only conform to a single viewpoint. + */ +public class ViewSingleViewpointModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + View view = (View) context.getTarget(); + Class clazz = view.getBase_Class(); + if (clazz != null) { + EList<Generalization> generalizations = clazz.getGeneralizations(); + if (generalizations != null) { + int countConform = 0; + for (Generalization generalization : generalizations) { + if (UMLUtil.getStereotypeApplication(generalization, Conform.class) != null) { + countConform++; + } + } + if (countConform != 1) { + return context.createFailureStatus(context.getTarget()); + } + } + } + return context.createSuccessStatus(); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/modelelements/ViewpointOwnedViewModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/modelelements/ViewpointOwnedViewModelConstraint.java new file mode 100644 index 0000000..d3d4aa1 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/modelelements/ViewpointOwnedViewModelConstraint.java
@@ -0,0 +1,60 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.modelelements; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.modelelements.Viewpoint; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Operation; +import org.eclipse.uml2.uml.profile.standard.Create; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * 7.3.2.8 Viewpoint [2] The property ownedOperation must include at least one + * operation named «View» with the UML Create stereotype applied. + */ +public class ViewpointOwnedViewModelConstraint extends AbstractModelConstraint { + + // expected name of the operation fixed by the norm + private static final String VIEW = "View"; //$NON-NLS-1$ + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + Viewpoint viewpoint = (Viewpoint) context.getTarget(); + Class clazz = viewpoint.getBase_Class(); + if (clazz != null) { + EList<Operation> operations = clazz.getOperations(); + boolean found = false; + for (Operation operation : operations) { + if (VIEW.equals(operation.getName()) + && UMLUtil.getStereotypeApplication(operation, Create.class) != null) { + found = true; + } + } + if (!found) { + return context.createFailureStatus(context.getTarget()); + } + } + return context.createSuccessStatus(); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/nonnormative/NestedConnectorEndMissingConstraintModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/nonnormative/NestedConnectorEndMissingConstraintModelConstraint.java new file mode 100644 index 0000000..9f37297 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/nonnormative/NestedConnectorEndMissingConstraintModelConstraint.java
@@ -0,0 +1,61 @@ +/***************************************************************************** + * Copyright (c) 2017 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.nonnormative; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd; +import org.eclipse.papyrus.sysml.constraintblocks.ConstraintBlock; +import org.eclipse.uml2.uml.ConnectableElement; +import org.eclipse.uml2.uml.Connector; +import org.eclipse.uml2.uml.ConnectorEnd; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * + */ +public class NestedConnectorEndMissingConstraintModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + EObject target = context.getTarget(); + if (target instanceof ConnectorEnd) { + ConnectorEnd connectorEnd = (ConnectorEnd) target; + Element owner = connectorEnd.getOwner(); + if (owner instanceof Connector) { + Connector connector = (Connector) owner; + ConnectableElement role = connectorEnd.getRole(); + Element connectorOwner = connector.getOwner(); + if (role != null && !role.getOwner().equals(connectorOwner)) { + if (UMLUtil.getStereotypeApplication(connectorOwner, Block.class) != null || UMLUtil.getStereotypeApplication(connectorOwner, ConstraintBlock.class) != null) { + if (UMLUtil.getStereotypeApplication(connectorEnd, NestedConnectorEnd.class) == null) { + return context.createFailureStatus(role.getName()); + } + } + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/ChangeStructuralFeatureEventNotStaticModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/ChangeStructuralFeatureEventNotStaticModelConstraint.java new file mode 100644 index 0000000..24ec584 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/ChangeStructuralFeatureEventNotStaticModelConstraint.java
@@ -0,0 +1,46 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.portsandflows; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.portsandflows.ChangeStructuralFeatureEvent; +import org.eclipse.uml2.uml.StructuralFeature; + +/** + * 9.3.2.3 ChangeStructuralFeatureEvent [1] The structural feature must not be + * static. + */ +public class ChangeStructuralFeatureEventNotStaticModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + ChangeStructuralFeatureEvent changeStructuralFeatureEvent = (ChangeStructuralFeatureEvent) context.getTarget(); + StructuralFeature structuralFeature = changeStructuralFeatureEvent.getStructuralFeature(); + if (structuralFeature != null) { + if (structuralFeature.isStatic()) { + return context.createFailureStatus(context.getTarget()); + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/ChangeStructuralFeatureEventOneFeaturingClassifierModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/ChangeStructuralFeatureEventOneFeaturingClassifierModelConstraint.java new file mode 100644 index 0000000..a751e24 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/ChangeStructuralFeatureEventOneFeaturingClassifierModelConstraint.java
@@ -0,0 +1,49 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.portsandflows; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.portsandflows.ChangeStructuralFeatureEvent; +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.StructuralFeature; + +/** + * 9.3.2.3 ChangeStructuralFeatureEvent [2] The structural feature must have + * exactly one featuringClassifier. + */ +public class ChangeStructuralFeatureEventOneFeaturingClassifierModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + ChangeStructuralFeatureEvent changeStructuralFeatureEvent = (ChangeStructuralFeatureEvent) context.getTarget(); + StructuralFeature structuralFeature = changeStructuralFeatureEvent.getStructuralFeature(); + if (structuralFeature != null) { + EList<Classifier> featuringClassifiers = structuralFeature.getFeaturingClassifiers(); + if (featuringClassifiers == null || featuringClassifiers.size() != 1) { + return context.createFailureStatus(context.getTarget()); + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/DirectedFeatureOnlyBehavioralModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/DirectedFeatureOnlyBehavioralModelConstraint.java new file mode 100644 index 0000000..2a6a504 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/DirectedFeatureOnlyBehavioralModelConstraint.java
@@ -0,0 +1,54 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.portsandflows; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.portsandflows.DirectedFeature; +import org.eclipse.papyrus.sysml.portsandflows.FlowProperty; +import org.eclipse.uml2.uml.BehavioralFeature; +import org.eclipse.uml2.uml.Feature; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * 9.3.2.4 DirectedFeature [1] DirectedFeature can only be applied to behavioral + * features, or to properties that do not have FlowProperty applied, including + * on subsetted or redefined features. + */ +public class DirectedFeatureOnlyBehavioralModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + DirectedFeature directedFeature = (DirectedFeature) context.getTarget(); + Feature feature = directedFeature.getBase_Feature(); + if (feature != null) { + if (!(feature instanceof BehavioralFeature || feature instanceof Property)) { + return context.createFailureStatus(context.getTarget()); + } + if (feature instanceof Property && UMLUtil.getStereotypeApplication(feature, FlowProperty.class) != null) { + return context.createFailureStatus(context.getTarget()); + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/FlowPropertyTypedByModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/FlowPropertyTypedByModelConstraint.java new file mode 100644 index 0000000..df8280c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/FlowPropertyTypedByModelConstraint.java
@@ -0,0 +1,56 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.portsandflows; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.papyrus.sysml.blocks.ValueType; +import org.eclipse.papyrus.sysml.portsandflows.FlowProperty; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Signal; +import org.eclipse.uml2.uml.Type; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * 9.3.2.5 FeatureDirection [1] A FlowProperty is typed by a ValueType, Block, or Signal. + * + */ +public class FlowPropertyTypedByModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + FlowProperty flowProperty = (FlowProperty) context.getTarget(); + Property property = flowProperty.getBase_Property(); + if (property != null) { + Type type = property.getType(); + if (type != null) { + if (UMLUtil.getStereotypeApplication(type, ValueType.class) == null + && UMLUtil.getStereotypeApplication(type, Block.class) == null + && !(type instanceof Signal)) { + return context.createFailureStatus(context.getTarget()); + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/FullPortNotProxyPortModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/FullPortNotProxyPortModelConstraint.java new file mode 100644 index 0000000..9b94337 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/FullPortNotProxyPortModelConstraint.java
@@ -0,0 +1,52 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.portsandflows; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.portsandflows.FullPort; +import org.eclipse.papyrus.sysml.portsandflows.ProxyPort; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * + * 9.3.2.8 FullPort : + * Constraints [1] Full ports cannot also be proxy + * ports. This applies even if some of the stereotypes are on subsetted or + * redefined ports. + * + */ +public class FullPortNotProxyPortModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + FullPort fullPort = (FullPort) context.getTarget(); + Port port = fullPort.getBase_Port(); + if (port != null) { + if (UMLUtil.getStereotypeApplication(port, ProxyPort.class) != null) { + return context.createFailureStatus(context.getTarget()); + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/InterfaceBlockNoBehaviorConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/InterfaceBlockNoBehaviorConstraint.java new file mode 100644 index 0000000..297a347 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/InterfaceBlockNoBehaviorConstraint.java
@@ -0,0 +1,53 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.portsandflows; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.portsandflows.InterfaceBlock; +import org.eclipse.uml2.uml.Behavior; +import org.eclipse.uml2.uml.Class; + +/** + * + * 9.3.2.9 InterfaceBlock [1] Interface blocks cannot own or inherit behaviors, + * have classifier behaviors, or methods for their behavioral features + * + */ +public class InterfaceBlockNoBehaviorConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + InterfaceBlock interfaceBlock = (InterfaceBlock) context.getTarget(); + Class clazz = interfaceBlock.getBase_Class(); + if (clazz != null) { + if (clazz.getClassifierBehavior() != null) { + return context.createFailureStatus(context.getTarget()); + } + EList<Behavior> ownedBehaviors = clazz.getOwnedBehaviors(); + if (ownedBehaviors != null && !ownedBehaviors.isEmpty()) { + return context.createFailureStatus(context.getTarget()); + } + } + return context.createSuccessStatus(); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/InterfaceBlockNoCompositePropertyModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/InterfaceBlockNoCompositePropertyModelConstraint.java new file mode 100644 index 0000000..660fd34 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/InterfaceBlockNoCompositePropertyModelConstraint.java
@@ -0,0 +1,53 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.portsandflows; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.portsandflows.InterfaceBlock; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.Property; + +/** + * + * 9.3.2.9 [2] Interface blocks cannot have composite properties that are not ports. + * + */ +public class InterfaceBlockNoCompositePropertyModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + InterfaceBlock interfaceBlock = (InterfaceBlock) context.getTarget(); + Class clazz = interfaceBlock.getBase_Class(); + if (clazz != null) { + EList<Property> allAttributes = clazz.getAllAttributes(); + for (Property property : allAttributes) { + if (!(property instanceof Port) && property.isComposite()) { + return context.createFailureStatus(context.getTarget()); + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/InterfaceBlockPortTypeModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/InterfaceBlockPortTypeModelConstraint.java new file mode 100644 index 0000000..bf88059 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/InterfaceBlockPortTypeModelConstraint.java
@@ -0,0 +1,60 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.portsandflows; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.portsandflows.InterfaceBlock; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * + * 9.3.2.9 InterfaceBlock [3] Ports owned by interface blocks can only be typed + * by interface blocks + * + */ +public class InterfaceBlockPortTypeModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + InterfaceBlock interfaceBlock = (InterfaceBlock) context.getTarget(); + Class clazz = interfaceBlock.getBase_Class(); + if (clazz != null) { + EList<Property> allAttributes = clazz.getAllAttributes(); + for (Property property : allAttributes) { + if (property instanceof Port) { + Port port = (Port) property; + Type type = port.getType(); + if (type != null && UMLUtil.getStereotypeApplication(type, InterfaceBlock.class) == null) { + return context.createFailureStatus(context.getTarget()); + } + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/InvocationOnNestedPortActionOnlyInvocationActionModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/InvocationOnNestedPortActionOnlyInvocationActionModelConstraint.java new file mode 100644 index 0000000..3e6a590 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/InvocationOnNestedPortActionOnlyInvocationActionModelConstraint.java
@@ -0,0 +1,45 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.portsandflows; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.portsandflows.InvocationOnNestedPortAction; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.InvocationAction; + +/** + * 9.3.2.10 InvocationOnNestedPortAction [5] InvocationOnNestedPortAction may + * only be applied to invocation actions. + */ +public class InvocationOnNestedPortActionOnlyInvocationActionModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + InvocationOnNestedPortAction invocationOnNestedPortAction = (InvocationOnNestedPortAction) context.getTarget(); + Element element = invocationOnNestedPortAction.getBase_Element(); + if (element != null && !(element instanceof InvocationAction)) { + return context.createFailureStatus(context.getTarget()); + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/InvocationOnNestedPortActionRequiredOnPortModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/InvocationOnNestedPortActionRequiredOnPortModelConstraint.java new file mode 100644 index 0000000..0ce592c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/InvocationOnNestedPortActionRequiredOnPortModelConstraint.java
@@ -0,0 +1,46 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.portsandflows; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.portsandflows.InvocationOnNestedPortAction; +import org.eclipse.uml2.uml.InvocationAction; + +/** + * 9.3.2.10 InvocationOnNestedPortAction [1] The onPort property of an + * invocation action must have a value when this stereotype is applied. + */ +public class InvocationOnNestedPortActionRequiredOnPortModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + InvocationOnNestedPortAction invocationOnNestedPortAction = (InvocationOnNestedPortAction) context.getTarget(); + InvocationAction invocationAction = invocationOnNestedPortAction.getBase_InvocationAction(); + if (invocationAction != null) { + if (invocationAction.getOnPort() == null) { + return context.createFailureStatus(context.getTarget()); + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/ItemFlowSamePropertyNameModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/ItemFlowSamePropertyNameModelConstraint.java new file mode 100644 index 0000000..b16add7 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/ItemFlowSamePropertyNameModelConstraint.java
@@ -0,0 +1,51 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.portsandflows; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.portsandflows.ItemFlow; +import org.eclipse.uml2.uml.InformationFlow; +import org.eclipse.uml2.uml.Property; + +/** + * 9.3.2.11 ItemFlow [6] If an ItemFlow has an itemProperty, its name should be + * the same as the name of the item flow. + */ +public class ItemFlowSamePropertyNameModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + ItemFlow itemFlow = (ItemFlow) context.getTarget(); + Property itemProperty = itemFlow.getItemProperty(); + if (itemProperty != null) { + InformationFlow informationFlow = itemFlow.getBase_InformationFlow(); + if (informationFlow != null){ + String name = informationFlow.getName(); + if (name != null && !name.equals(itemProperty.getName())){ + return context.createFailureStatus(context.getTarget()); + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/ItemFlowSamePropertyTypedByModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/ItemFlowSamePropertyTypedByModelConstraint.java new file mode 100644 index 0000000..66e41b6 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/ItemFlowSamePropertyTypedByModelConstraint.java
@@ -0,0 +1,56 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.portsandflows; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.papyrus.sysml.blocks.ValueType; +import org.eclipse.papyrus.sysml.portsandflows.ItemFlow; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Signal; +import org.eclipse.uml2.uml.Type; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * 9.3.2.11 ItemFlow [2] An ItemFlow itemProperty is typed by a ValueType, + * Block, or Signal. + */ +public class ItemFlowSamePropertyTypedByModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + ItemFlow itemFlow = (ItemFlow) context.getTarget(); + Property itemProperty = itemFlow.getItemProperty(); + if (itemProperty != null) { + Type type = itemProperty.getType(); + if (type != null) { + if (UMLUtil.getStereotypeApplication(type, ValueType.class) != null + && UMLUtil.getStereotypeApplication(type, Block.class) != null + && UMLUtil.getStereotypeApplication(type, Signal.class) != null) { + return context.createFailureStatus(context.getTarget()); + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/ProxyPortForceInnerProxyPortModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/ProxyPortForceInnerProxyPortModelConstraint.java new file mode 100644 index 0000000..81eb925 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/ProxyPortForceInnerProxyPortModelConstraint.java
@@ -0,0 +1,62 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.portsandflows; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.portsandflows.ProxyPort; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * + *9.3.2.12 ProxyPort + *[3] Ports owned by the type of a proxy port must be proxy ports + * + */ +public class ProxyPortForceInnerProxyPortModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + ProxyPort proxyPort = (ProxyPort) context.getTarget(); + Port port = proxyPort.getBase_Port(); + if (port != null) { + Type type = port.getType(); + if (type instanceof org.eclipse.uml2.uml.Class) { // Class due to constraint 9.3.2.12 ProxyPort [2] + org.eclipse.uml2.uml.Class clazz = (org.eclipse.uml2.uml.Class) type; + EList<Property> ownedAttributes = clazz.getOwnedAttributes(); + for (Property property : ownedAttributes) { + if (property instanceof Port) { + Port innerport = (Port) property; + if (UMLUtil.getStereotypeApplication(innerport, ProxyPort.class) == null) { + return context.createFailureStatus(context.getTarget()); + } + } + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/ProxyPortNotFullPortModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/ProxyPortNotFullPortModelConstraint.java new file mode 100644 index 0000000..058ed1b --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/ProxyPortNotFullPortModelConstraint.java
@@ -0,0 +1,50 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.portsandflows; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.portsandflows.FullPort; +import org.eclipse.papyrus.sysml.portsandflows.ProxyPort; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * + *9.3.2.12 ProxyPort + * [1] Proxy ports cannot also be full ports. This applies even if some of the stereotypes are on subsetted or redefined ports.. + * + */ +public class ProxyPortNotFullPortModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + ProxyPort proxyPort = (ProxyPort) context.getTarget(); + Port port = proxyPort.getBase_Port(); + if (port != null) { + if (UMLUtil.getStereotypeApplication(port, FullPort.class) != null) { + return context.createFailureStatus(context.getTarget()); + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/ProxyPortTypedByInterfaceBlockModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/ProxyPortTypedByInterfaceBlockModelConstraint.java new file mode 100644 index 0000000..b2e14ae --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/portsandflows/ProxyPortTypedByInterfaceBlockModelConstraint.java
@@ -0,0 +1,52 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.portsandflows; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.portsandflows.InterfaceBlock; +import org.eclipse.papyrus.sysml.portsandflows.ProxyPort; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.Type; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * + *9.3.2.12 ProxyPort + * [2] Proxy ports can only be typed by interface blocks + * + */ +public class ProxyPortTypedByInterfaceBlockModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + ProxyPort proxyPort = (ProxyPort) context.getTarget(); + Port port = proxyPort.getBase_Port(); + if (port != null) { + Type type = port.getType(); + if (type != null && UMLUtil.getStereotypeApplication(type, InterfaceBlock.class) == null) { + return context.createFailureStatus(context.getTarget()); + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/CopyBetweenRequirementsModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/CopyBetweenRequirementsModelConstraint.java new file mode 100644 index 0000000..d158a67 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/CopyBetweenRequirementsModelConstraint.java
@@ -0,0 +1,58 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.requirements; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.requirements.Copy; +import org.eclipse.papyrus.sysml.requirements.Requirement; +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.NamedElement; +import org.eclipse.uml2.uml.util.UMLUtil; +/** + * + * 16.3.2.1 Copy + * Constraints + * [1]A Copy dependency may only be created between two classes that have the ârequirementâ? + * stereotype, or a subtype of the ârequirementâ? stereotype applied. + * + */ +public class CopyBetweenRequirementsModelConstraint extends AbstractModelConstraint { + + /* (non-Javadoc) + * @see org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse.emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + Copy copy = (Copy) context.getTarget(); + Abstraction abstraction = copy.getBase_Abstraction(); + if (abstraction != null){ + EList<NamedElement> suppliers = abstraction.getSuppliers(); + if (suppliers != null && !suppliers.isEmpty()){ + if(UMLUtil.getStereotypeApplication(suppliers.get(0), Requirement.class)==null){ + return context.createFailureStatus(context.getTarget()); + } + } + EList<NamedElement> clients = abstraction.getClients(); + if (clients != null && !clients.isEmpty()){ + if(UMLUtil.getStereotypeApplication(clients.get(0), Requirement.class)==null){ + return context.createFailureStatus(context.getTarget()); + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/CopyReadOnlyModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/CopyReadOnlyModelConstraint.java new file mode 100644 index 0000000..4e4bad9 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/CopyReadOnlyModelConstraint.java
@@ -0,0 +1,56 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.requirements; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.requirements.Copy; +import org.eclipse.papyrus.sysml.requirements.Requirement; +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.NamedElement; +import org.eclipse.uml2.uml.util.UMLUtil; +/** + * + * 16.3.2.1 Copy + * Constraints + * [2]The text property of the client requirement is constrained to be a read-only copy of the text property of the supplier requirement. + * + * The rule implementation will only check that get Text is returning the same result for both requirement + */ + +public class CopyReadOnlyModelConstraint extends AbstractModelConstraint { + + /* (non-Javadoc) + * @see org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse.emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + Copy copy = (Copy) context.getTarget(); + Abstraction abstraction = copy.getBase_Abstraction(); + if (abstraction != null){ + EList<NamedElement> suppliers = abstraction.getSuppliers(); + EList<NamedElement> clients = abstraction.getClients(); + if (suppliers != null && !suppliers.isEmpty()&&clients != null && !clients.isEmpty()){ + Requirement supplierRequirement = UMLUtil.getStereotypeApplication(suppliers.get(0), Requirement.class); + Requirement clientRequirement = UMLUtil.getStereotypeApplication(clients.get(0), Requirement.class); + if(supplierRequirement!=null && clientRequirement!=null && !supplierRequirement.getText().equals(clientRequirement.getText())){ + return context.createFailureStatus(context.getTarget()); + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/DeriveReqtClientModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/DeriveReqtClientModelConstraint.java new file mode 100644 index 0000000..df92890 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/DeriveReqtClientModelConstraint.java
@@ -0,0 +1,50 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.requirements; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.requirements.DeriveReqt; +import org.eclipse.papyrus.sysml.requirements.Requirement; +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.NamedElement; +import org.eclipse.uml2.uml.util.UMLUtil; +/** + * 16.3.2.2 DeriveReqt + * Constraints + * [2] The client must be an element stereotyped by Requirement or one of Requirement subtypes. + */ +//TODO : I reported an issue since the constraint is not "correct" in SysML http://issues.omg.org/browse/SYSMLR-240 +public class DeriveReqtClientModelConstraint extends AbstractModelConstraint { + + /* (non-Javadoc) + * @see org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse.emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + DeriveReqt deriveReqt = (DeriveReqt) context.getTarget(); + Abstraction abstraction = deriveReqt.getBase_Abstraction(); + if (abstraction != null){ + EList<NamedElement> clients = abstraction.getClients(); + if (clients != null && !clients.isEmpty()){ + if(UMLUtil.getStereotypeApplication(clients.get(0), Requirement.class)==null){ + return context.createFailureStatus(context.getTarget()); + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/DeriveReqtSupplierModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/DeriveReqtSupplierModelConstraint.java new file mode 100644 index 0000000..2626ab2 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/DeriveReqtSupplierModelConstraint.java
@@ -0,0 +1,52 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.requirements; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.requirements.DeriveReqt; +import org.eclipse.papyrus.sysml.requirements.Requirement; +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.NamedElement; +import org.eclipse.uml2.uml.util.UMLUtil; +/** + * + * 16.3.2.2 DeriveReqt + * Constraints + * [1] The supplier must be an element stereotyped by Requirement or one of Requirement subtypes. + * + */ +// TODO : I reported an issue since the constraint is not "correct" in SysML http://issues.omg.org/browse/SYSMLR-240 +public class DeriveReqtSupplierModelConstraint extends AbstractModelConstraint { + + /* (non-Javadoc) + * @see org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse.emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + DeriveReqt deriveReqt = (DeriveReqt) context.getTarget(); + Abstraction abstraction = deriveReqt.getBase_Abstraction(); + if (abstraction != null){ + EList<NamedElement> suppliers = abstraction.getSuppliers(); + if (suppliers != null && !suppliers.isEmpty()){ + if(UMLUtil.getStereotypeApplication(suppliers.get(0), Requirement.class)==null){ + return context.createFailureStatus(context.getTarget()); + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/RefineDependencyModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/RefineDependencyModelConstraint.java new file mode 100644 index 0000000..64a4578 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/RefineDependencyModelConstraint.java
@@ -0,0 +1,43 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.requirements; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.requirements.Refine; +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.Dependency; +import org.eclipse.uml2.uml.DirectedRelationship; +/** + * + * 16.3.2.3 Refine + * [1]The Refine stereotype may only be applied to dependencies. + * + */ +public class RefineDependencyModelConstraint extends AbstractModelConstraint { + + /* (non-Javadoc) + * @see org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse.emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + Refine refine = (Refine) context.getTarget(); + Abstraction abstraction = refine.getBase_Abstraction(); + DirectedRelationship directedRelationship = refine.getBase_DirectedRelationship(); + if (!(abstraction instanceof Dependency && directedRelationship instanceof Dependency)) { + return context.createFailureStatus(context.getTarget()); + } + return context.createSuccessStatus(); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/RefineOneClientSupplierModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/RefineOneClientSupplierModelConstraint.java new file mode 100644 index 0000000..cb6ef6e --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/RefineOneClientSupplierModelConstraint.java
@@ -0,0 +1,49 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.requirements; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.requirements.Refine; +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.NamedElement; +/** + * + * 16.3.2.3 Refine + * [2]Dependencies with a Refine stereotype or one of its specializations applied must have exactly one client and one supplier. + * + */ +public class RefineOneClientSupplierModelConstraint extends AbstractModelConstraint { + + + /* (non-Javadoc) + * @see org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse.emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + Refine refine = (Refine) context.getTarget(); + Abstraction abstraction = refine.getBase_Abstraction(); + if (abstraction == null) { + return context.createFailureStatus(context.getTarget()); + } + EList<NamedElement> clients = abstraction.getClients(); + EList<NamedElement> suppliers = abstraction.getSuppliers(); + if (clients == null || clients.size()!= 1 || suppliers == null || suppliers.size() != 1) { + return context.createFailureStatus(context.getTarget()); + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/RequirementNestedRequirementModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/RequirementNestedRequirementModelConstraint.java new file mode 100644 index 0000000..eb73190 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/RequirementNestedRequirementModelConstraint.java
@@ -0,0 +1,54 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.requirements; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.requirements.Requirement; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * + * 16.3.2.4 Requirement [5] A nested classifier of a class stereotyped by + * «requirement» must also be stereotyped by «requirement». + * + */ +public class RequirementNestedRequirementModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + Requirement requirement = (Requirement) context.getTarget(); + Class clazz = requirement.getBase_Class(); + if (clazz != null) { + EList<Classifier> nestedClassifiers = clazz.getNestedClassifiers(); + for (Classifier classifier : nestedClassifiers) { + if (UMLUtil.getStereotypeApplication(classifier, Requirement.class) == null) { + return context.createFailureStatus(context.getTarget()); + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/RequirementNoAssociationModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/RequirementNoAssociationModelConstraint.java new file mode 100644 index 0000000..17e3449 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/RequirementNoAssociationModelConstraint.java
@@ -0,0 +1,51 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.requirements; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.requirements.Requirement; +import org.eclipse.uml2.uml.Association; +import org.eclipse.uml2.uml.Class; + +/** + * + * 16.3.2.4 Requirement [3] Classes stereotyped by «requirement» may not + * participate in associations. + * + */ +public class RequirementNoAssociationModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + Requirement requirement = (Requirement) context.getTarget(); + Class clazz = requirement.getBase_Class(); + if (clazz != null) { + EList<Association> associations = clazz.getAssociations(); + if (associations != null && !associations.isEmpty()) { + return context.createFailureStatus(context.getTarget()); + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/RequirementNoGeneralizationModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/RequirementNoGeneralizationModelConstraint.java new file mode 100644 index 0000000..8aaf5c4 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/RequirementNoGeneralizationModelConstraint.java
@@ -0,0 +1,51 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.requirements; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.requirements.Requirement; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Generalization; + +/** + * + * 16.3.2.4 Requirement [4] Classes stereotyped by «requirement» may not + * participate in generalizations. + * + */ +public class RequirementNoGeneralizationModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + Requirement requirement = (Requirement) context.getTarget(); + Class clazz = requirement.getBase_Class(); + if (clazz != null) { + EList<Generalization> generalizations = clazz.getGeneralizations(); + if (generalizations != null && !generalizations.isEmpty()) { + return context.createFailureStatus(context.getTarget()); + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/RequirementNotTypeModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/RequirementNotTypeModelConstraint.java new file mode 100644 index 0000000..ae2967a --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/RequirementNotTypeModelConstraint.java
@@ -0,0 +1,55 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.requirements; + +import java.util.Set; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.transaction.util.TransactionUtil; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.gmf.runtime.emf.core.util.CrossReferenceAdapter; +import org.eclipse.papyrus.sysml.requirements.Requirement; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.UMLPackage; + +/** + * 16.3.2.4 Requirement [6] Classes stereotyped by «requirement» may not be used + * to type any other model element. + */ +public class RequirementNotTypeModelConstraint extends AbstractModelConstraint { + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. + * emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + Requirement requirement = (Requirement) context.getTarget(); + Class clazz = requirement.getBase_Class(); + if (clazz != null) { + CrossReferenceAdapter crossReferenceAdapter = CrossReferenceAdapter + .getCrossReferenceAdapter(TransactionUtil.getEditingDomain(clazz).getResourceSet()); + Set inverseReferencers = crossReferenceAdapter.getInverseReferencers(clazz, + UMLPackage.eINSTANCE.getTypedElement_Type(), null); + if (inverseReferencers != null && !inverseReferencers.isEmpty()) { + return context.createFailureStatus(context.getTarget()); + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/SatisfySupplierModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/SatisfySupplierModelConstraint.java new file mode 100644 index 0000000..8861274 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/SatisfySupplierModelConstraint.java
@@ -0,0 +1,51 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.requirements; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.requirements.Requirement; +import org.eclipse.papyrus.sysml.requirements.Satisfy; +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.NamedElement; +import org.eclipse.uml2.uml.util.UMLUtil; +/** + * + * 16.3.2.2 Satisfy + * Constraints + * [1] The supplier must be an element stereotyped by «requirement» or one of «requirement» subtypes. + * + */ +public class SatisfySupplierModelConstraint extends AbstractModelConstraint { + + /* (non-Javadoc) + * @see org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse.emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + Satisfy satisfy = (Satisfy) context.getTarget(); + Abstraction abstraction = satisfy.getBase_Abstraction(); + if (abstraction != null){ + EList<NamedElement> suppliers = abstraction.getSuppliers(); + if (suppliers != null && !suppliers.isEmpty()){ + if(UMLUtil.getStereotypeApplication(suppliers.get(0), Requirement.class)==null){ + return context.createFailureStatus(context.getTarget()); + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/TestCaseParamVerdictKindModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/TestCaseParamVerdictKindModelConstraint.java new file mode 100644 index 0000000..b53874c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/TestCaseParamVerdictKindModelConstraint.java
@@ -0,0 +1,57 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.requirements; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.requirements.TestCase; +import org.eclipse.uml2.uml.Operation; +import org.eclipse.uml2.uml.Parameter; +import org.eclipse.uml2.uml.ParameterDirectionKind; +import org.eclipse.uml2.uml.Type; +/** + * + * 16.3.2.5 TestCase + * Constraints + * [1]The type of return parameter of the stereotyped model element must be VerdictKind. + * (note this is consistent with the UML Testing Profile). + * + */ +public class TestCaseParamVerdictKindModelConstraint extends AbstractModelConstraint { + + /* (non-Javadoc) + * @see org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse.emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + TestCase testCase = (TestCase) context.getTarget(); + Operation operation = testCase.getBase_Operation(); + if (operation != null){ + EList<Parameter> ownedParameters = operation.getOwnedParameters(); + if (ownedParameters != null && !ownedParameters.isEmpty()){ + for (Parameter parameter : ownedParameters) { + if (ParameterDirectionKind.RETURN_LITERAL.equals(parameter.getDirection())) { + Type type = parameter.getType(); + if (type == null || !"VerdictKind".equals(type.getName())) { // FIXME get the value from the correct constant + return context.createFailureStatus(context.getTarget()); + } + } + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/TraceDependencyModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/TraceDependencyModelConstraint.java new file mode 100644 index 0000000..b1df3b1 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/TraceDependencyModelConstraint.java
@@ -0,0 +1,43 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.requirements; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.requirements.Trace; +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.Dependency; +import org.eclipse.uml2.uml.DirectedRelationship; +/** + * + * 16.3.2.7 Trace + * [1]The Trace stereotype may only be applied to dependencies. + * + */ +public class TraceDependencyModelConstraint extends AbstractModelConstraint { + + /* (non-Javadoc) + * @see org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse.emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + Trace trace = (Trace) context.getTarget(); + Abstraction abstraction = trace.getBase_Abstraction(); + DirectedRelationship directedRelationship = trace.getBase_DirectedRelationship(); + if (!(abstraction instanceof Dependency && directedRelationship instanceof Dependency)) { + return context.createFailureStatus(context.getTarget()); + } + return context.createSuccessStatus(); + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/TraceOneClientSupplierModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/TraceOneClientSupplierModelConstraint.java new file mode 100644 index 0000000..90adca0 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/TraceOneClientSupplierModelConstraint.java
@@ -0,0 +1,49 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.requirements; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.requirements.Trace; +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.NamedElement; +/** + * + * 16.3.2.6 Trace + * [1]The supplier must be an element stereotyped by «requirement» or one of «requirement» subtypes. + * + */ +public class TraceOneClientSupplierModelConstraint extends AbstractModelConstraint { + + + /* (non-Javadoc) + * @see org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse.emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + Trace trace = (Trace) context.getTarget(); + Abstraction abstraction = trace.getBase_Abstraction(); + if (abstraction == null) { + return context.createFailureStatus(context.getTarget()); + } + EList<NamedElement> clients = abstraction.getClients(); + EList<NamedElement> suppliers = abstraction.getSuppliers(); + if (clients == null || clients.size()!= 1 || suppliers == null || suppliers.size() != 1) { + return context.createFailureStatus(context.getTarget()); + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/VerifySupplierModelConstraint.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/VerifySupplierModelConstraint.java new file mode 100644 index 0000000..cd0577d --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/rules/requirements/VerifySupplierModelConstraint.java
@@ -0,0 +1,51 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.rules.requirements; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.validation.AbstractModelConstraint; +import org.eclipse.emf.validation.IValidationContext; +import org.eclipse.papyrus.sysml.requirements.Requirement; +import org.eclipse.papyrus.sysml.requirements.Verify; +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.NamedElement; +import org.eclipse.uml2.uml.util.UMLUtil; +/** + * + * 16.3.2.8 Verify + * Constraints + * [1]The supplier must be an element stereotyped by «requirement» or one of «requirement» subtypes. + * + */ +public class VerifySupplierModelConstraint extends AbstractModelConstraint { + + /* (non-Javadoc) + * @see org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse.emf.validation.IValidationContext) + */ + @Override + public IStatus validate(IValidationContext context) { + Verify verify = (Verify) context.getTarget(); + Abstraction abstraction = verify.getBase_Abstraction(); + if (abstraction != null){ + EList<NamedElement> suppliers = abstraction.getSuppliers(); + if (suppliers != null && !suppliers.isEmpty()){ + if(UMLUtil.getStereotypeApplication(suppliers.get(0), Requirement.class)==null){ + return context.createFailureStatus(context.getTarget()); + } + } + } + return context.createSuccessStatus(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/AcceptChangeStructuralFeatureEventActionSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/AcceptChangeStructuralFeatureEventActionSelector.java new file mode 100644 index 0000000..243368a --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/AcceptChangeStructuralFeatureEventActionSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.portsandflows.AcceptChangeStructuralFeatureEventAction; + +public class AcceptChangeStructuralFeatureEventActionSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof AcceptChangeStructuralFeatureEventAction; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/AllocateActivityPartitionSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/AllocateActivityPartitionSelector.java new file mode 100644 index 0000000..6284b21 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/AllocateActivityPartitionSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.allocations.AllocateActivityPartition; + +public class AllocateActivityPartitionSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof AllocateActivityPartition; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/AllocateSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/AllocateSelector.java new file mode 100644 index 0000000..5d65245 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/AllocateSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2017 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.allocations.Allocate; + +public class AllocateSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof Allocate; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/BindingConnectorSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/BindingConnectorSelector.java new file mode 100644 index 0000000..67fbc65 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/BindingConnectorSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.blocks.BindingConnector; + +public class BindingConnectorSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof BindingConnector; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/BlockSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/BlockSelector.java new file mode 100644 index 0000000..cb9ba79 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/BlockSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.blocks.Block; + +public class BlockSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof Block; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/BoundReferenceSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/BoundReferenceSelector.java new file mode 100644 index 0000000..b721474 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/BoundReferenceSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.blocks.BoundReference; + +public class BoundReferenceSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof BoundReference; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ChangeStructuralFeatureEventSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ChangeStructuralFeatureEventSelector.java new file mode 100644 index 0000000..5170aca --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ChangeStructuralFeatureEventSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.portsandflows.ChangeStructuralFeatureEvent; + +public class ChangeStructuralFeatureEventSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof ChangeStructuralFeatureEvent; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ClassifierBehaviorPropertySelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ClassifierBehaviorPropertySelector.java new file mode 100644 index 0000000..3aa1852 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ClassifierBehaviorPropertySelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.blocks.ClassifierBehaviorProperty; + +public class ClassifierBehaviorPropertySelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof ClassifierBehaviorProperty; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ConformSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ConformSelector.java new file mode 100644 index 0000000..313bc83 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ConformSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.modelelements.Conform; + +public class ConformSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof Conform; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ConnectorPropertySelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ConnectorPropertySelector.java new file mode 100644 index 0000000..2855077 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ConnectorPropertySelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.blocks.ConnectorProperty; + +public class ConnectorPropertySelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof ConnectorProperty; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/CopySelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/CopySelector.java new file mode 100644 index 0000000..74b96e4 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/CopySelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.requirements.Copy; + +public class CopySelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof Copy; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/DeriveReqtSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/DeriveReqtSelector.java new file mode 100644 index 0000000..60b8e61 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/DeriveReqtSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.requirements.DeriveReqt; + +public class DeriveReqtSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof DeriveReqt; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/DirectedFeatureSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/DirectedFeatureSelector.java new file mode 100644 index 0000000..cd2ac45 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/DirectedFeatureSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.portsandflows.DirectedFeature; + +public class DirectedFeatureSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof DirectedFeature; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/DirectedRelationshipPropertyPathSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/DirectedRelationshipPropertyPathSelector.java new file mode 100644 index 0000000..f045b38 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/DirectedRelationshipPropertyPathSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath; + +public class DirectedRelationshipPropertyPathSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof DirectedRelationshipPropertyPath; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/DiscreteSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/DiscreteSelector.java new file mode 100644 index 0000000..c0d876c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/DiscreteSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.activities.Discrete; + +public class DiscreteSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof Discrete; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/DistributedPropertySelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/DistributedPropertySelector.java new file mode 100644 index 0000000..5423161 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/DistributedPropertySelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.blocks.DistributedProperty; + +public class DistributedPropertySelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof DistributedProperty; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ElementPropertyPathSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ElementPropertyPathSelector.java new file mode 100644 index 0000000..57e4fe5 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ElementPropertyPathSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.blocks.ElementPropertyPath; + +public class ElementPropertyPathSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof ElementPropertyPath; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/EndPathMultiplicitySelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/EndPathMultiplicitySelector.java new file mode 100644 index 0000000..c65e615 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/EndPathMultiplicitySelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.blocks.EndPathMultiplicity; + +public class EndPathMultiplicitySelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof EndPathMultiplicity; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ExposeSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ExposeSelector.java new file mode 100644 index 0000000..ac57f81 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ExposeSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.modelelements.Expose; + +public class ExposeSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof Expose; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/FlowPropertySelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/FlowPropertySelector.java new file mode 100644 index 0000000..ba2956b --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/FlowPropertySelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.portsandflows.FlowProperty; + +public class FlowPropertySelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof FlowProperty; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/FullPortSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/FullPortSelector.java new file mode 100644 index 0000000..a70fd70 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/FullPortSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.portsandflows.FullPort; + +public class FullPortSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof FullPort; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/InterfaceBlockSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/InterfaceBlockSelector.java new file mode 100644 index 0000000..41fd531 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/InterfaceBlockSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.portsandflows.InterfaceBlock; + +public class InterfaceBlockSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof InterfaceBlock; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/InvocationOnNestedPortActionSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/InvocationOnNestedPortActionSelector.java new file mode 100644 index 0000000..4e6d8c7 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/InvocationOnNestedPortActionSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.portsandflows.InvocationOnNestedPortAction; + +public class InvocationOnNestedPortActionSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof InvocationOnNestedPortAction; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ItemFlowSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ItemFlowSelector.java new file mode 100644 index 0000000..b7ce2f2 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ItemFlowSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.portsandflows.ItemFlow; + +public class ItemFlowSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof ItemFlow; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/NestedConnectorEndSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/NestedConnectorEndSelector.java new file mode 100644 index 0000000..12bb0da --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/NestedConnectorEndSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd; + +public class NestedConnectorEndSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof NestedConnectorEnd; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/NoBufferSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/NoBufferSelector.java new file mode 100644 index 0000000..a2fa90c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/NoBufferSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.activities.NoBuffer; + +public class NoBufferSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof NoBuffer; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/OptionalSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/OptionalSelector.java new file mode 100644 index 0000000..a32b769 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/OptionalSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.activities.Optional; + +public class OptionalSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof Optional; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/OverwriteSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/OverwriteSelector.java new file mode 100644 index 0000000..7c6c4ba --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/OverwriteSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.activities.Overwrite; + +public class OverwriteSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof Overwrite; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ParticipantPropertySelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ParticipantPropertySelector.java new file mode 100644 index 0000000..2b6f24b --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ParticipantPropertySelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.blocks.ParticipantProperty; + +public class ParticipantPropertySelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof ParticipantProperty; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ProbabilitySelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ProbabilitySelector.java new file mode 100644 index 0000000..fec11b9 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ProbabilitySelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.activities.Probability; + +public class ProbabilitySelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof Probability; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/PropertySpecificTypeSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/PropertySpecificTypeSelector.java new file mode 100644 index 0000000..04528a0 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/PropertySpecificTypeSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.blocks.PropertySpecificType; + +public class PropertySpecificTypeSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof PropertySpecificType; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ProxyPortSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ProxyPortSelector.java new file mode 100644 index 0000000..215eb41 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ProxyPortSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.portsandflows.ProxyPort; + +public class ProxyPortSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof ProxyPort; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/RateSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/RateSelector.java new file mode 100644 index 0000000..8c6dce5 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/RateSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.activities.Rate; + +public class RateSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof Rate; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/RefineSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/RefineSelector.java new file mode 100644 index 0000000..dfa0f9a --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/RefineSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.requirements.Refine; + +public class RefineSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof Refine; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/RequirementSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/RequirementSelector.java new file mode 100644 index 0000000..494dde9 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/RequirementSelector.java
@@ -0,0 +1,25 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.requirements.Requirement; + +public class RequirementSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof Requirement; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/SatisfySelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/SatisfySelector.java new file mode 100644 index 0000000..49df5c4 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/SatisfySelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.requirements.Satisfy; + +public class SatisfySelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof Satisfy; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/TestCaseSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/TestCaseSelector.java new file mode 100644 index 0000000..2196c2e --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/TestCaseSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.requirements.TestCase; + +public class TestCaseSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof TestCase; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/TraceSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/TraceSelector.java new file mode 100644 index 0000000..bbb2505 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/TraceSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.requirements.Trace; + +public class TraceSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof Trace; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/TriggerOnNestedPortSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/TriggerOnNestedPortSelector.java new file mode 100644 index 0000000..2497e5c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/TriggerOnNestedPortSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.portsandflows.TriggerOnNestedPort; + +public class TriggerOnNestedPortSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof TriggerOnNestedPort; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/TrueSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/TrueSelector.java new file mode 100644 index 0000000..30adb2d --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/TrueSelector.java
@@ -0,0 +1,30 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; + + + +/** + * Temporary solution to execute validation on uml context + * @deprecated + */ +@Deprecated // to remove once Bug 507734 is solved +public class TrueSelector implements IClientSelector { + + @Override + public boolean selects(Object object) { + return true; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ValueTypeSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ValueTypeSelector.java new file mode 100644 index 0000000..a4b7d47 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ValueTypeSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.blocks.ValueType; + +public class ValueTypeSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof ValueType; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/VerifySelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/VerifySelector.java new file mode 100644 index 0000000..31516c3 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/VerifySelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.requirements.Verify; + +public class VerifySelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof Verify; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ViewSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ViewSelector.java new file mode 100644 index 0000000..f366229 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ViewSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.modelelements.View; + +public class ViewSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof View; + } +}
diff --git a/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ViewpointSelector.java b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ViewpointSelector.java new file mode 100644 index 0000000..18858b9 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml.validation/src/org/eclipse/papyrus/sysml/validation/selectors/ViewpointSelector.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.validation.selectors; + +import org.eclipse.emf.validation.model.IClientSelector; +import org.eclipse.papyrus.sysml.modelelements.Viewpoint; + +public class ViewpointSelector implements IClientSelector { + + @Override + public boolean selects(Object stereoApplicationObj) { + return stereoApplicationObj instanceof Viewpoint; + } +}
diff --git a/core/org.eclipse.papyrus.sysml14/.classpath b/core/org.eclipse.papyrus.sysml/.classpath similarity index 100% rename from core/org.eclipse.papyrus.sysml14/.classpath rename to core/org.eclipse.papyrus.sysml/.classpath
diff --git a/core/org.eclipse.papyrus.sysml/.project b/core/org.eclipse.papyrus.sysml/.project new file mode 100644 index 0000000..f539696 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/.project
@@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml</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> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription>
diff --git a/core/org.eclipse.papyrus.sysml14/.settings/org.eclipse.core.resources.prefs b/core/org.eclipse.papyrus.sysml/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from core/org.eclipse.papyrus.sysml14/.settings/org.eclipse.core.resources.prefs rename to core/org.eclipse.papyrus.sysml/.settings/org.eclipse.core.resources.prefs
diff --git a/core/org.eclipse.papyrus.sysml14/.settings/org.eclipse.jdt.core.prefs b/core/org.eclipse.papyrus.sysml/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from core/org.eclipse.papyrus.sysml14/.settings/org.eclipse.jdt.core.prefs rename to core/org.eclipse.papyrus.sysml/.settings/org.eclipse.jdt.core.prefs
diff --git a/core/org.eclipse.papyrus.sysml14/.settings/org.eclipse.jdt.ui.prefs b/core/org.eclipse.papyrus.sysml/.settings/org.eclipse.jdt.ui.prefs similarity index 100% rename from core/org.eclipse.papyrus.sysml14/.settings/org.eclipse.jdt.ui.prefs rename to core/org.eclipse.papyrus.sysml/.settings/org.eclipse.jdt.ui.prefs
diff --git a/core/org.eclipse.papyrus.sysml14/.settings/org.eclipse.m2e.core.prefs b/core/org.eclipse.papyrus.sysml/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from core/org.eclipse.papyrus.sysml14/.settings/org.eclipse.m2e.core.prefs rename to core/org.eclipse.papyrus.sysml/.settings/org.eclipse.m2e.core.prefs
diff --git a/core/org.eclipse.papyrus.sysml/META-INF/MANIFEST.MF b/core/org.eclipse.papyrus.sysml/META-INF/MANIFEST.MF new file mode 100644 index 0000000..314e67a --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/META-INF/MANIFEST.MF
@@ -0,0 +1,46 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name +Bundle-SymbolicName: org.eclipse.papyrus.sysml;singleton:=true +Bundle-Version: 4.0.0.qualifier +Bundle-ClassPath: . +Bundle-Activator: org.eclipse.papyrus.sysml.Activator +Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.11.1,4.0.0)", + org.eclipse.emf.ecore;bundle-version="[2.11.2,3.0.0)";visibility:=reexport, + org.eclipse.uml2.uml.profile.standard;bundle-version="[1.0.100,2.0.0)";visibility:=reexport, + org.eclipse.uml2.types;bundle-version="[2.0.0,3.0.0)";visibility:=reexport, + org.eclipse.uml2.uml;bundle-version="[5.1.0,6.0.0)";visibility:=reexport, + org.eclipse.uml2.uml.resources;bundle-version="[5.1.0,6.0.0)" +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Export-Package: org.eclipse.papyrus.sysml, + org.eclipse.papyrus.sysml.activities, + org.eclipse.papyrus.sysml.activities.internal.impl;x-internal:=true, + org.eclipse.papyrus.sysml.activities.util, + org.eclipse.papyrus.sysml.allocations, + org.eclipse.papyrus.sysml.allocations.internal.impl;x-internal:=true, + org.eclipse.papyrus.sysml.allocations.util, + org.eclipse.papyrus.sysml.blocks, + org.eclipse.papyrus.sysml.blocks.internal.impl;x-internal:=true, + org.eclipse.papyrus.sysml.blocks.util, + org.eclipse.papyrus.sysml.constraintblocks, + org.eclipse.papyrus.sysml.constraintblocks.internal.impl;x-internal:=true, + org.eclipse.papyrus.sysml.constraintblocks.util, + org.eclipse.papyrus.sysml.deprecatedelements, + org.eclipse.papyrus.sysml.deprecatedelements.internal.impl;x-internal:=true, + org.eclipse.papyrus.sysml.deprecatedelements.util, + org.eclipse.papyrus.sysml.internal.impl, + org.eclipse.papyrus.sysml.internal.util;x-internal:=true, + org.eclipse.papyrus.sysml.modelelements, + org.eclipse.papyrus.sysml.modelelements.internal.impl;x-internal:=true, + org.eclipse.papyrus.sysml.modelelements.util, + org.eclipse.papyrus.sysml.portsandflows, + org.eclipse.papyrus.sysml.portsandflows.internal.impl;x-internal:=true, + org.eclipse.papyrus.sysml.portsandflows.util, + org.eclipse.papyrus.sysml.requirements, + org.eclipse.papyrus.sysml.requirements.internal.impl;x-internal:=true, + org.eclipse.papyrus.sysml.requirements.util, + org.eclipse.papyrus.sysml.util +Bundle-ActivationPolicy: lazy +Bundle-Localization: plugin +Bundle-Description: %Bundle-Description +Bundle-Vendor: %Bundle-Vendor
diff --git a/core/org.eclipse.papyrus.sysml/README.md b/core/org.eclipse.papyrus.sysml/README.md new file mode 100644 index 0000000..c52e471 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/README.md
@@ -0,0 +1,15 @@ +# SysML +A Papyrus DSML for the SysML 1.5 OMG norm + +### Module structure ### + +src-gen : generated code from the SysML profile +src : java code (mostly for derived properties) +doc/omg.sysml14.autoreq.tsv: list of requirements extracted from the normative pdf +doc/omg.sysml.{uml,notation,di}: model with the auto extracted requirements +doc/org.eclipse.papyrus.sysml.{uml,notation,di}: documentation model for the profile (Requirements,TestCase ...) +doc/SysML-Extension.{uml,notation,di}: model to track all addition done to the official SysML profile +resources/icons : icon for SysML profile +resources/library/QUDV.{uml,notation,di}: official OMG QUDV library (modified to be eclipse compliant) +resources/library/SysML-Standard-Library.{uml,notation,di}: library extracted from official OMG SysML profile (non Stereotype elements) +resources/profile/SysML.profile.{uml,notation,di}: official OMG SysML profile (modified to be eclipse compliant) \ No newline at end of file
diff --git a/core/org.eclipse.papyrus.sysml14/about.html b/core/org.eclipse.papyrus.sysml/about.html similarity index 100% rename from core/org.eclipse.papyrus.sysml14/about.html rename to core/org.eclipse.papyrus.sysml/about.html
diff --git a/core/org.eclipse.papyrus.sysml14/build.properties b/core/org.eclipse.papyrus.sysml/build.properties similarity index 100% rename from core/org.eclipse.papyrus.sysml14/build.properties rename to core/org.eclipse.papyrus.sysml/build.properties
diff --git a/core/org.eclipse.papyrus.sysml/plugin.properties b/core/org.eclipse.papyrus.sysml/plugin.properties new file mode 100644 index 0000000..5da908e --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/plugin.properties
@@ -0,0 +1,13 @@ +################################################################################# +# Copyright (c) 2018 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: +# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation +################################################################################## +Bundle-Name=Papyrus SysML 1.5 Profile +Bundle-Description=This plug-in contains the SyML 1.5 profile. +Bundle-Vendor=Eclipse Modeling Project
diff --git a/core/org.eclipse.papyrus.sysml/plugin.xml b/core/org.eclipse.papyrus.sysml/plugin.xml new file mode 100644 index 0000000..d67429f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/plugin.xml
@@ -0,0 +1,157 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.0"?> + +<!-- + Copyright (c) 2015 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: + Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + +--> + +<plugin> + + + <extension point="org.eclipse.emf.ecore.generated_package"> + <!-- @generated SysML.profile --> + <package + uri="http://www.eclipse.org/papyrus/sysml/1.5/SysML" + class="org.eclipse.papyrus.sysml.SysMLPackage" + genModel="resources/profile/SysML.profile.genmodel"/> + </extension> + + <extension point="org.eclipse.emf.ecore.generated_package"> + <!-- @generated SysML.profile --> + <package + uri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/PortsAndFlows" + class="org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage" + genModel="resources/profile/SysML.profile.genmodel"/> + </extension> + + <extension point="org.eclipse.emf.ecore.generated_package"> + <!-- @generated SysML.profile --> + <package + uri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Blocks" + class="org.eclipse.papyrus.sysml.blocks.BlocksPackage" + genModel="resources/profile/SysML.profile.genmodel"/> + </extension> + + <extension point="org.eclipse.emf.ecore.generated_package"> + <!-- @generated SysML.profile --> + <package + uri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Activities" + class="org.eclipse.papyrus.sysml.activities.ActivitiesPackage" + genModel="resources/profile/SysML.profile.genmodel"/> + </extension> + + <extension point="org.eclipse.emf.ecore.generated_package"> + <!-- @generated SysML.profile --> + <package + uri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Allocations" + class="org.eclipse.papyrus.sysml.allocations.AllocationsPackage" + genModel="resources/profile/SysML.profile.genmodel"/> + </extension> + + <extension point="org.eclipse.emf.ecore.generated_package"> + <!-- @generated SysML.profile --> + <package + uri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Requirements" + class="org.eclipse.papyrus.sysml.requirements.RequirementsPackage" + genModel="resources/profile/SysML.profile.genmodel"/> + </extension> + + <extension point="org.eclipse.emf.ecore.generated_package"> + <!-- @generated SysML.profile --> + <package + uri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/ModelElements" + class="org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage" + genModel="resources/profile/SysML.profile.genmodel"/> + </extension> + + <extension point="org.eclipse.emf.ecore.generated_package"> + <!-- @generated SysML.profile --> + <package + uri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/DeprecatedElements" + class="org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsPackage" + genModel="resources/profile/SysML.profile.genmodel"/> + </extension> + + <extension point="org.eclipse.emf.ecore.generated_package"> + <!-- @generated SysML.profile --> + <package + uri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/ConstraintBlocks" + class="org.eclipse.papyrus.sysml.constraintblocks.ConstraintblocksPackage" + genModel="resources/profile/SysML.profile.genmodel"/> + </extension> + + <extension + point="org.eclipse.emf.ecore.uri_mapping"> + <mapping + source="pathmap://SysML15_LIBRARIES/" + target="platform:/plugin/org.eclipse.papyrus.sysml/resources/library/"/> + <mapping + source="pathmap://SysML15_PROFILES/" + target="platform:/plugin/org.eclipse.papyrus.sysml/resources/profile/"/> + <!-- TO remove ? --> + <mapping + source="pathmap://SysML15_OMG/" + target="platform:/plugin/org.eclipse.papyrus.sysml/resources/doc/"> + </mapping> + </extension> + + <extension + point="org.eclipse.emf.ecore.factory_override"> + <factory + class="org.eclipse.papyrus.sysml.blocks.BlocksFactoryCustomImpl" + uri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Blocks"> + </factory> + </extension> + <extension + point="org.eclipse.emf.ecore.factory_override"> + <factory + class="org.eclipse.papyrus.sysml.constraintblocks.ConstraintBlocksFactoryCustomImpl" + uri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/ConstraintBlocks"> + </factory> + </extension> + <extension + point="org.eclipse.emf.ecore.factory_override"> + <factory + class="org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsCustomFactoryImpl" + uri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/DeprecatedElements"> + </factory> + </extension> + <extension + point="org.eclipse.emf.ecore.factory_override"> + <factory + class="org.eclipse.papyrus.sysml.requirements.RequirementsFactoryCustomImpl" + uri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Requirements"> + </factory> + </extension> + <extension + point="org.eclipse.emf.ecore.factory_override"> + <factory + class="org.eclipse.papyrus.sysml.modelelements.ModelelementsFactoryCustomImpl" + uri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/ModelElements"> + </factory> + </extension> + + <extension + point="org.eclipse.emf.ecore.factory_override"> + <factory + class="org.eclipse.papyrus.sysml.portsandflows.PortsandflowsCustomFactoryImpl" + uri="http://www.eclipse.org/papyrus/sysml/1.5/SysML/PortsAndFlows"> + </factory> + </extension> + + <extension point="org.eclipse.uml2.uml.generated_package"> + <profile uri="http://www.eclipse.org/papyrus/sysml/1.5/SysML" + location="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML"/> + </extension> + + +</plugin>
diff --git a/core/org.eclipse.papyrus.sysml/pom.xml b/core/org.eclipse.papyrus.sysml/pom.xml new file mode 100644 index 0000000..fe7d26b --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/pom.xml
@@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>org.eclipse.papyrus.sysml.core</artifactId> + <groupId>org.eclipse.papyrus.sysml</groupId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml</artifactId> + <packaging>eclipse-plugin</packaging> + <description>This plug-in contains the OMG SyML 1.5 profile and its associated QUDV library.</description> +</project> \ No newline at end of file
diff --git a/core/org.eclipse.papyrus.sysml14/resources/doc/SysML-Extension.di b/core/org.eclipse.papyrus.sysml/resources/doc/SysML-Extension.di similarity index 100% rename from core/org.eclipse.papyrus.sysml14/resources/doc/SysML-Extension.di rename to core/org.eclipse.papyrus.sysml/resources/doc/SysML-Extension.di
diff --git a/core/org.eclipse.papyrus.sysml14/resources/doc/SysML-Extension.notation b/core/org.eclipse.papyrus.sysml/resources/doc/SysML-Extension.notation similarity index 100% rename from core/org.eclipse.papyrus.sysml14/resources/doc/SysML-Extension.notation rename to core/org.eclipse.papyrus.sysml/resources/doc/SysML-Extension.notation
diff --git a/core/org.eclipse.papyrus.sysml/resources/doc/SysML-Extension.uml b/core/org.eclipse.papyrus.sysml/resources/doc/SysML-Extension.uml new file mode 100644 index 0000000..65f43ea --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/resources/doc/SysML-Extension.uml
@@ -0,0 +1,134 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Requirements="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"> + <uml:Model xmi:id="_82iTcFFiEeWDrM-hgr_-Kg" name="SysML"> + <packagedElement xmi:type="uml:Package" xmi:id="_M8sesFFjEeWDrM-hgr_-Kg" name="DeprecatedElements"> + <packagedElement xmi:type="uml:Class" xmi:id="_PWXr0FFjEeWDrM-hgr_-Kg" name="FlowPort"> + <ownedOperation xmi:type="uml:Operation" xmi:id="_XgZG8FFjEeWDrM-hgr_-Kg" name="getIcon"> + <ownedParameter xmi:type="uml:Parameter" xmi:id="_XgZG8VFjEeWDrM-hgr_-Kg" name="img" direction="return"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Image"/> + </ownedParameter> + </ownedOperation> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_nViSUFFxEeWFqsbjn0GMrw" name="Satisfy1" client="_XgZG8FFjEeWDrM-hgr_-Kg"> + <supplier xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_b0XAEFFvEeWFqsbjn0GMrw"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_PEJF4Ga4EeW5JrLha2pcnA" name="FlowSpecification"> + <ownedOperation xmi:type="uml:Operation" xmi:id="_XE7sgGa4EeW5JrLha2pcnA" name="getFlowProperties"> + <ownedParameter xmi:type="uml:Parameter" xmi:id="_XE7sgWa4EeW5JrLha2pcnA" name="flowProperties" direction="out"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_XE7sgma4EeW5JrLha2pcnA"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_XE7sg2a4EeW5JrLha2pcnA" value="*"/> + </ownedParameter> + </ownedOperation> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="_lUJKsFFjEeWDrM-hgr_-Kg" name="PortsAndFlows"> + <packagedElement xmi:type="uml:Class" xmi:id="_j0IwgFFjEeWDrM-hgr_-Kg" name="FlowProperty"> + <ownedOperation xmi:type="uml:Operation" xmi:id="_bkbkIFFjEeWDrM-hgr_-Kg" name="getIcon"> + <ownedParameter xmi:type="uml:Parameter" xmi:id="_bkbkIVFjEeWDrM-hgr_-Kg" name="img" direction="return"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Image"/> + </ownedParameter> + </ownedOperation> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_4mO-EFFxEeWFqsbjn0GMrw" name="Satisfy1" client="_bkbkIFFjEeWDrM-hgr_-Kg"> + <supplier xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_5W_iEFFwEeWFqsbjn0GMrw"/> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="_DjFlkFIUEeWHYvssogj-zQ" name="Blocks"> + <packagedElement xmi:type="uml:Class" xmi:id="_Mh_aQFIUEeWHYvssogj-zQ" name="Block"> + <ownedOperation xmi:type="uml:Operation" xmi:id="_RQB2sFIUEeWHYvssogj-zQ" name="getReferences"> + <ownedParameter xmi:type="uml:Parameter" xmi:id="_5V4qYFIWEeWOVPwTUSkFAw" name="references" direction="return"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_JptMQFIZEeWOVPwTUSkFAw"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_JpxdsFIZEeWOVPwTUSkFAw" value="*"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:type="uml:Operation" xmi:id="_kEJocFYDEeW77p7V_ZuW3Q" name="getParts"> + <ownedParameter xmi:type="uml:Parameter" xmi:id="_rMeWAFYDEeW77p7V_ZuW3Q" name="parts" direction="return"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_f5D2IFYFEeW77p7V_ZuW3Q"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_gpIoMFYFEeW77p7V_ZuW3Q" value="*"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:type="uml:Operation" xmi:id="_K4WW8GE-EeWbSMDuSXx8SQ" name="getFlowProperties"> + <ownedParameter xmi:type="uml:Parameter" xmi:id="_QHhKgGE-EeWbSMDuSXx8SQ" name="flowProperties" direction="out"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_UXmfoGE-EeWbSMDuSXx8SQ"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_U6nGEGE-EeWbSMDuSXx8SQ" value="*"/> + </ownedParameter> + </ownedOperation> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_839tMFIaEeWOVPwTUSkFAw" client="_RQB2sFIUEeWHYvssogj-zQ"> + <supplier xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_ZyAskFIZEeWOVPwTUSkFAw"/> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="_YYHkIACyEeabH6-I0dvpUQ" name="ConstraintBlocks"> + <packagedElement xmi:type="uml:Class" xmi:id="_fe0hEACyEeabH6-I0dvpUQ" name="ConstraintBlock"> + <ownedOperation xmi:type="uml:Operation" xmi:id="_pFeSQACyEeabH6-I0dvpUQ" name="getParameters"> + <ownedParameter xmi:type="uml:Parameter" xmi:id="_pFeSQQCyEeabH6-I0dvpUQ" name="parameters" direction="return"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_56uYIACyEeabH6-I0dvpUQ"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_56wNUACyEeabH6-I0dvpUQ" value="*"/> + </ownedParameter> + </ownedOperation> + </packagedElement> + </packagedElement> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_F7ccQJoQEeeXz9m6CNxSgg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_F7dqYJoQEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#/"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_F7eRcJoQEeeXz9m6CNxSgg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_F7e4gJoQEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//activities"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Activities"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_F7e4gZoQEeeXz9m6CNxSgg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_F7ffkJoQEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//allocations"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Allocations"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_F7gGoJoQEeeXz9m6CNxSgg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_F7gGoZoQEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//blocks"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_F7gtsJoQEeeXz9m6CNxSgg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_F7hUwJoQEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//constraintblocks"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ConstraintBlocks"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_F7h70JoQEeeXz9m6CNxSgg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_F7h70ZoQEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//deprecatedelements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_DeprecatedElements"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_F7ii4JoQEeeXz9m6CNxSgg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_F7ii4ZoQEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//modelelements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ModelElements"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_F7jJ8JoQEeeXz9m6CNxSgg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_F7jxAJoQEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//portsandflows"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_F7kYEJoQEeeXz9m6CNxSgg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_F7k_IJoQEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements"/> + </profileApplication> + </uml:Model> + <Requirements:Satisfy xmi:id="_nVoY8FFxEeWFqsbjn0GMrw" base_Abstraction="_nViSUFFxEeWFqsbjn0GMrw"/> + <Requirements:Satisfy xmi:id="_4mSocFFxEeWFqsbjn0GMrw" base_Abstraction="_4mO-EFFxEeWFqsbjn0GMrw"/> + <Requirements:Satisfy xmi:id="_-e_8cFIaEeWOVPwTUSkFAw" base_Abstraction="_839tMFIaEeWOVPwTUSkFAw"/> +</xmi:XMI>
diff --git a/core/org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.di b/core/org.eclipse.papyrus.sysml/resources/doc/omg.sysml.di similarity index 100% rename from core/org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.di rename to core/org.eclipse.papyrus.sysml/resources/doc/omg.sysml.di
diff --git a/core/org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.notation b/core/org.eclipse.papyrus.sysml/resources/doc/omg.sysml.notation similarity index 100% rename from core/org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.notation rename to core/org.eclipse.papyrus.sysml/resources/doc/omg.sysml.notation
diff --git a/core/org.eclipse.papyrus.sysml/resources/doc/omg.sysml.uml b/core/org.eclipse.papyrus.sysml/resources/doc/omg.sysml.uml new file mode 100644 index 0000000..10c8c3e --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/resources/doc/omg.sysml.uml
@@ -0,0 +1,947 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Requirements="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"> + <uml:Model xmi:id="_d7ALQDqsEeWNg8WvR7UDoQ" name="SysML14 Norm"> + <packagedElement xmi:type="uml:Class" xmi:id="_66C6MDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-0 OMG Systems Modeling Language"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66DhQDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-1 Scope"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66DhQjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-1.1 General"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66DhRDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-2 Normative References"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66DhRjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-2.1 Overview"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66DhSDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-2.2 OMG Documents"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66DhSjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-2.3 Other Documents"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66DhTDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-3 Additional Information"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66DhTjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-3.1 Relationships to Other Standards"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66EIUDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-3.2 How to Read this Specification"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66EIUjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-3.3 Acknowledgments"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66EIVDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-4 Language Architecture"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66EIVjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-4.1 General"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66EIWDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-4.2 Design Principles"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66EIWjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-4.3 Architecture"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66EIXDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-4.4 Extension Mechanisms"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66EIXjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-4.5 SysML Diagrams"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66EIYDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-5 Conformance"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66EvYTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-5.1 Overview"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66EvYzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-5.2 Conformance Types"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66EvZTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-6 Language Formalism"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66EvZzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-6.1 Levels of Formalism"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66EvaTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-6.2 Clause Structure"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Evazq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-6.2.1 Overview"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66EvbTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-6.2.2 Diagram Elements"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Evbzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-6.2.3 UML Extensions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66FWcTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-6.2.4 Usage Examples"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66FWczq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-6.3 Conventions and Typography"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66FWdTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7 Model Elements"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66FWdzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.1 Overview"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66FWeTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.1.1 View and Viewpoint"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66FWezq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.2 Diagram Elements"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66F9gDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.3 UML Extensions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66F9gjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.3.1 Diagram Extensions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66F9hDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.3.1.1 UML Diagram Elements not Included in SysML"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66F9hjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.3.2 Stereotypes"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66F9iDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.3.2.1 Conform"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66F9ijq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.3.2.2 ElementGroup"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66F9jDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.3.2.3 Expose"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66F9jjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.3.2.4 Problem"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66F9kDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.3.2.5 Rationale"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66GkkTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.3.2.6 Stakeholder"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Gkkzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.3.2.7 View"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66GklTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.3.2.8 Viewpoint"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Gklzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.4 Usage Examples"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66GkmTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8 Blocks"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Gkmzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.1 Overview"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66GknTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.2 Diagram Elements"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Gknzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.2.1 Block Definition Diagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66HLoTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.2.2 Internal Block Diagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66HLozq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3 UML Extensions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66HLpTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1 Diagram Extensions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66HLpzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.1 Block Definition Diagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66HLqTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.1.1 Block and ValueType Definitions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66HLqzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.1.2 Default «block» stereotype on unlabeled box"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66HysDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.1.3 Labeled compartments"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Hysjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.1.4 Behavior compartment"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66HytDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.1.5 Constraints compartment"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Hytjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.1.6 Namespace compartment"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66HyuDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.1.7 Structure compartment"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66IZwTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.1.8 BoundReference compartment"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66IZwzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.1.9 Default multiplicities"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66IZxTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.1.10 Property-specific type"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66IZxzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.2 Internal Block Diagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66IZyTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.2.1 Property types"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66IZyzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.2.2 Block reference in diagram frame"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66IZzTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.2.3 Compartments on internal properties"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66IZzzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.2.4 Compartments on a diagram frame"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66JA0Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.2.5 Property path name"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66JA0zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.2.6 Nested connector end"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66JA1Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.2.7 Property-specific type"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66JA1zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.2.8 Initial values compartment"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66JA2Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.2.9 Default multiplicities"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66JA2zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.3 UML Diagram Elements not Included in SysML Block Definition Diagrams"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Jn4Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.4 UML Diagram Elements not Included in SysML Internal Block Diagrams"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Jn4zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2 Stereotypes"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Jn5Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.1 AdjunctProperty"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Jn5zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.2 Binding Connector"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Jn6Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.3 Block"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Jn6zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.4 Bound Reference"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Jn7Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.5 ClassifierBehaviorProperty"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66KO8Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.6 ConnectorProperty"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66KO8jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.7 DirectedRelationshipPropertyPath"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66KO9Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.8 DistributedProperty"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66KO9jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.9 ElementPropertyPath"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66KO-Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.10 EndPathMultiplicity"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66KO-jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.11 NestedConnectorEnd"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66K2ATq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.12 ParticipantProperty"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66K2Azq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.13 PropertySpecificType"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66K2BTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.14 ValueType"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66K2Bzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.3 Model Libraries"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66K2CTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.3.1 Package PrimitiveValueTypes"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66K2Czq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.3.1.1 Boolean"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66K2DTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.3.1.2 Complex"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66K2Dzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.3.1.3 Integer"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66LdETq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.3.1.4 Number"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66LdEzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.3.1.5 Real"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66LdFTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.3.1.6 String"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66LdFzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.3.2 Package UnitAndQuantityKind"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66LdGTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.3.2.1 QuantityKind"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66LdGzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.3.2.2 Unit"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66LdHTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.4 Usage Examples"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66LdHzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.4.1 Wheel Hub Assembly"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66MEITq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.4.2 Example Value Type Definitions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66MEIzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.4.3 Design Configuration for SUV EPA Fuel Economy Test"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66MEJTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.4.4 Water Delivery"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66MEJzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.4.5 Constraining Decomposition"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66MEKTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.4.6 Units and Quantity Kinds"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66MEKzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9 Ports and Flows"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66MELTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.1 Overview"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66MrMTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.1.1 Ports"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66MrMzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.1.2 Flow Properties, Provided and Required Features, and Nested Ports"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66MrNTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.1.3 Proxy Ports and Full Ports"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66MrNzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.1.4 Item Flows"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66MrOTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.1.5 Deprecation of Flow Ports and Flow Specifications"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66MrOzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.2 Diagram Elements"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66MrPTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.2.1 Block Definition Diagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66MrPzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.2.2 Internal Block Diagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66NSQTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.3 UML Extensions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66N5Ujq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.3.1 Diagram Extensions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66N5VDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.3.1.1 DirectedFeature"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66N5Vjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.3.1.2 FlowProperty"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66N5WDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.3.1.3 FullPort"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66N5Wjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.3.1.4 InvocationOnNestedPortAction"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66N5XDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.3.1.5 ItemFlow"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66N5Xjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.3.1.6 Port"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66N5YDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.3.1.7 ProxyPort"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66OgYTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.3.1.8 TriggerOnNestedPort"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xZ8N8GdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2 Stereotypes"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xZ81AWdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2.1 AcceptChangeStructuralFeatureEventAction"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xZ81A2dTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2.2 Block"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xZ81BWdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2.3 ChangeStructuralFeatureEvent"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xZ81B2dTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2.4 DirectedFeature"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xZ81CWdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2.5 FeatureDirection"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xZ81C2dTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2.6 FlowDirection"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xZ9cEGdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2.7 FlowProperty"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xZ9cEmdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2.8 FullPort"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xZ9cFGdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2.9 InterfaceBlock"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xZ9cFmdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2.10 InvocationOnNestedPortAction"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xZ9cGGdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2.11 ItemFlow"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xZ9cGmdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2.12 ProxyPort"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xZ9cHGdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2.13 TriggerOnNestedPort"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Ogazq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.4 Usage Examples"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66OgbTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.4.1 Ports with Required and Provided Features"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Ogbzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.4.2 Flow Ports and Item Flows"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66PHcTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.4.3 Ports with Flow Properties"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66PHczq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.4.4 Proxy and Full Ports"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66PHdTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.4.5 Association and Port Decomposition"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66PHdzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.4.6 Item Flow Decomposition"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66PHeTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10 Constraint Blocks"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66PHezq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.1 Overview"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66PHfTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.2 Diagram Elements"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66PHfzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.2.1 Block Definition Diagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66PHgTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.2.2 Parametric Diagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66PugTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.3 UML Extensions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Pugzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.3.1 Diagram Extensions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66PuhTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.3.1.1 Block Definition Diagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Puhzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.3.1.1.1 Constraint block definition"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66PuiTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.3.1.1.2 Parameters compartment"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Puizq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.3.1.2 Parametric Diagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66PujTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.3.2 Stereotypes"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Pujzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.3.2.1 ConstraintBlock"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66PukTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.4 Usage Examples"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66QVkTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.4.1 Definition of Constraint Blocks on a Block Definition Diagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66QVkzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.4.2 Usage of Constraint Blocks on a Parametric Diagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66QVlTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11 Activities"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66QVlzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.1 Overview"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66QVmTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.1.1 Control as Data"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66QVmzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.1.2 Continuous Systems"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66QVnTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.1.3 Probability"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66QVnzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.1.4 Activities as Blocks"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Q8oTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.1.5 Timelines"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Q8ozq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.2 Diagram Elements"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Q8pTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.2.1 Activity Diagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Q8pzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3 UML Extensions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Q8qTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.1 Diagram Extensions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Q8qzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.1.1 Activity"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Q8rTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.1.1.1 Notation"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Q8rzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.1.2 CallBehaviorAction"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66RjsTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.1.3 ControlFlow"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Rjszq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.1.3.1 Presentation Option"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66RjtTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.1.4 ObjectNode, Variables, and Parameters"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Rjtzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.1.4.1 Notation"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66RjuTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.2 Stereotypes"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Rjuzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.2.1 Continuous"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66RjvTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.2.2 ControlOperator"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Rjvzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.2.3 Discrete"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66SKwTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.2.4 NoBuffer"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66SKwzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.2.5 Overwrite"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66SKxTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.2.6 Optional"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66SKxzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.2.7 Probability"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66SKyTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.2.8 Rate"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66SKyzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.3 Model Libraries"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66SKzTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.3.1 Package ControlValues"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Sx0Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.3.1.1 ControlValue"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Sx0jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.4 Usage Examples"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Sx1Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-12 Interactions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Sx1jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-12.1 Overview"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Sx2Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-12.2 Diagram Elements"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Sx2jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-12.2.1 Sequence Diagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Sx3Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-12.3 UML Extensions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66TY4Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-12.3.1 Diagram Extensions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66TY4jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-12.3.1.1 Exclusion of Communication Diagram, Interaction Overview Diagram, and Timing Diagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66TY5Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-12.3.1.2 Interactions and Parameters"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66TY5jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-12.3.1.2.1 Notation"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66TY6Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-12.4 Usage Examples"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66TY6jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-12.4.1 Sequence Diagrams"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66TY7Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-13 State Machines"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66TY7jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-13.1 Overview"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66T_8Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-13.2 Diagram Elements"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66T_8zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-13.2.1 State Machine Diagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66T_9Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-13.3 UML Extensions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66T_9zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-13.3.1 Diagram Extensions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66T_-Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-13.3.1.1 State Machines and Parameters"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66T_-zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-13.3.1.1.1 Notation"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66T__Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-13.4 Usage Examples"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66UnADq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-13.4.1 State Machine Diagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66UnAjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-14 Use Cases"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66UnBDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-14.1 Overview"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66UnBjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-14.2 Diagram Elements"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66UnCDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-14.2.1 Use Case Diagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66UnCjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-14.3 UML Extensions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66UnDDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-14.4 Usage Examples"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66UnDjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15 Allocations"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66UnEDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15.1 Overview"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66VOETq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15.2 Diagram Elements"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66VOEzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15.2.1 Representing Allocation on Diagrams"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66VOFTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15.3 UML Extensions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66VOHTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15.3.1 Diagram Extensions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66VOHzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15.3.1.1 Tables"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66V1ITq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15.3.1.2 Allocate Relationship Rendering"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xaCUkGdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-15.3.1.3 Allocation Compartment Format"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xaCUkmdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-15.3.1.4 Allocation Callout Format"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xaCUlGdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-15.3.1.5 AllocatedActivityPartition Label"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xaCUlmdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-15.3.2 Stereotypes"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xaCUmGdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-15.3.2.1 Allocate(from Allocations)"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xaCUmmdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-15.3.2.2 AllocateActivityPartition(from Allocations)"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66V1Izq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15.4 Usage Examples"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66V1JTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15.4.1 Behavior Allocation of Actions to Parts and Activities to Blocks"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66V1Jzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15.4.2 Allocate Flow"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66V1KTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15.4.2.1 Allocating Structure"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66V1Kzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15.4.2.2 Automotive Example"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66V1LTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15.4.3 Tabular Representation"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66WcMDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16 Requirements"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66WcMjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.1 Overview"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66WcNDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.2 Diagram Elements"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66WcNjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.2.1 Requirement Diagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66WcODq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3 UML Extensions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66WcOjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.1 Diagram Extensions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66WcPDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.1.1 Requirement Diagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66WcPjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.1.2 Requirement Notation"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66WcQDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.1.3 Requirement Property Callout Format"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66XDQTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.1.4 Requirements on Other Diagrams"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66XDQzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.1.5 Requirements Table"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66XDRTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.2 Stereotypes"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66XDRzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.2.1 Copy"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66XDSTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.2.2 DeriveReqt"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66XDSzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.2.3 Refine"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66XDTTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.2.4 Requirement"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66XDTzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.2.5 TestCase"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66XDUTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.2.6 Satisfy"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66XqUTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.2.7 Trace"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66XqUzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.2.8 Verify"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66XqVTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.4 Usage Examples"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66XqVzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.4.1 Requirement Decomposition and Traceability"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66XqWTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.4.2 Requirements and Design Elements"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66XqWzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.4.3 Requirements Reuse"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66XqXTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.4.4 Verification Procedure (Test Case)"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66XqXzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17 Profiles & Model Libraries"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66XqYTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.1 Overview"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66XqYzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.2 Diagram Elements"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66YRYTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.2.1 Profile Definition in Package Diagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66YRYzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.2.1.1 Extension"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66YRZTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.2.2 Stereotypes Used On Diagrams"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66YRZzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.2.2.1 StereotypeInNode"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66YRaTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.2.2.2 StereotypeInComment"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66YRazq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.2.2.3 StereotypeInCompartment"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66YRbTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.3 UML Extensions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66YRbzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.4 Usage Examples"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66YRcTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.4.1 Defining a Profile"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Y4cTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.4.2 Adding Stereotypes to a Profile"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Y4czq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.4.3 Defining a Model Library that Uses a Profile"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Y4dTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.4.4 Guidance on Whether to Use a Stereotype or Class"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Y4dzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.4.5 Using a Profile"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Y4eTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.4.6 Using a Stereotype"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Y4ezq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.4.7 Using a Model Library Element"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xaFX4GdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-Annex A: Diagrams"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Y4fzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-A.1 Overview"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Y4gTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-A.2 Guidelines"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xaFX4mdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-Annex B: SysML Diagram Interchange"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Zfgzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.1 Overview"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66ZfhTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2 Stereotypes"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Zfhzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2.1 SysMLActivityDiagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66ZfiTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2.2 SysMLBehaviorDiagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Zfizq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2.3 SysMLBlockDefinitionDiagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66ZfjTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2.4 SysMLDiagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66Zfjzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2.5 SysMLDiagramElement"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66aGkTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2.6 SysMLDiagramWithAssociations"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66aGkzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2.7 SysMLInteractionDiagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66aGlTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2.8 SysMLInternalBlockDiagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66aGlzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2.9 SysMLPackageDiagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66aGmTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2.10 SysMLParametricDiagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66aGmzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2.11 SysMLRequirementDiagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66atoDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2.12 SysMLStateMachineDiagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66atojq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2.13 SysMLUseCaseDiagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66atpDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.3 SysML DI usage notes"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66atpjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.4 SysML Notation and DI representation"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xaF-8GdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-Annex C: Deprecated Elements"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66atqjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.1 Overview"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66atrDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.1.1 Flow Ports"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66atrjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.2 Diagram Elements"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66bUsDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.2.1 Block Definition Diagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66bUsjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.2.2 Internal Block Diagram"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66bUtDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.3 UML Extensions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66bUtjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.3.1 Diagram Extensions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66bUuDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.3.1.1 FlowPort"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66bUujq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.3.1.2 FlowSpecification"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66bUvDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.3.2 Stereotypes"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66bUvjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.3.2.1 Package Ports&Flows"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66bUwDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.3.2.2 FlowPort"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66b7wTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.3.2.3 Semantic Variation Points"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66b7wzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.3.2.4 FlowSpecification"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66b7xTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.3.2.5 ItemFlow (deprecated compatibility rule)"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66b7xzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.4 Transitioning SysML 1.2 Flow Ports to SysML 1.3 Ports (informative)"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66b7yTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.5 Transitioning SysML 1.3 Viewpoint and View to SysML 1.4 (informative)"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66b7yzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.6 Transitioning SysML 1.3 Units and QuantityKinds to SysML 1.4 (informative)"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xaHNEGdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-Annex D: Sample Problem"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66ci0Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.1 Purpose"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66ci0jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.2 Scope"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66ci1Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.3 Problem Summary"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66ci1jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4 Diagrams"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66ci2Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.1 Package Overview (Structure of the Sample Model)"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66ci2jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.1.1 Package Diagram - Applying the SysML Profile"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66ci3Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.1.2 Package Diagram - Showing Package Structure of the Model"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66ci3jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.2 Setting the Context (Boundaries and Use Cases)"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66dJ4Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.2.1 Internal Block Diagram - Setting Context"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66dJ4zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.2.2 Use Case Diagram - Top Level Use Cases"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66dJ5Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.2.3 Use Case Diagram - Operational Use Cases"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66dJ5zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.3 Elaborating Behavior (Sequence and State Machine Diagrams)"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66dJ6Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.3.1 Sequence Diagram - Drive Black Box"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66dJ6zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.3.2 State Machine Diagram - HSUV Operational States"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66dJ7Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.3.3 Sequence Diagram - Start Vehicle Black Box & White Box"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66dw8Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.4 Establishing Requirements (Requirements Diagrams and Tables)"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66dw8jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.4.1 Requirement Diagram - HSUV Requirement Hierarchy"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66dw9Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.4.2 Requirement Diagram - Derived Requirements"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66dw9jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.4.3 Requirement Diagram - Acceleration Requirement Relationships"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66dw-Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.4.4 Table - Requirements Table"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66dw-jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.5 Breaking Down the Pieces (Block Definition Diagrams, Internal Block Diagrams)"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66dw_Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.5.1 Block Definition Diagram - Automotive Domain"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66eYADq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.5.2 Block Definition Diagram - Hybrid SUV"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66eYAjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.5.3 Internal Block Diagram - Hybrid SUV"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66eYBDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.5.4 Block Definition Diagram - Power Subsystem"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66eYBjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.5.5 Internal Block Diagram for the âPower Subsystemâ"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66eYCDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.6 Defining Ports and Flows"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66eYCjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.6.1 Block Definition Diagram - ICE Flow Properties"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66eYDDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.6.2 Internal Block Diagram - CANbus"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66e_ETq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.6.3 Block Definition Diagram - Fuel Flow Properties"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66e_Ezq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.6.4 Parametric Diagram - Fuel Flow"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66e_FTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.6.5 Internal Block Diagram - Fuel Distribution"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66e_Fzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.7 Analyze Performance (Constraint Diagrams, Timing Diagrams, Views)"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66e_GTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.7.1 Block Definition Diagram - Analysis Context"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66fmIDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.7.2 Package Diagram - Performance View Definition"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66fmIjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.7.3 Package Diagram - Viewpoint Definition"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66fmJDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.7.4 Package Diagram - View Definition"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66fmJjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.7.5 Package Diagram - View Hierarchy"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66fmKDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.7.6 Parametric Diagram - Measures of Effectiveness"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66fmKjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.7.7 Parametric Diagram - Economy"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66fmLDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.7.8 Parametric Diagram - Dynamics"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66fmLjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.7.9 (Non-Normative) Timing Diagram - 100hp Acceleration"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66gNMTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.8 Defining, Decomposing, and Allocating Activities"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66gNMzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.8.1 Activity Diagram - Acceleration (top level)"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66gNNTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.8.2 Block Definition Diagram - Acceleration"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66gNNzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.8.3 Activity Diagram (EFFBD) - Acceleration (detail)"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66gNOTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.8.4 Internal Block Diagram - Power Subsystem Behavioral and Flow Allocation"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66gNOzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.8.5 Table - Acceleration Allocation"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66gNPTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.8.6 Internal Block Diagram: Property Specific Values - EPA Fuel Economy Test"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xaJpUGdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-Annex E: Non-normative Extensions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66g0Qjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.1 Overview"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66g0RDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.2 Activity Diagram Extensions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66g0Rjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.2.1 Overview"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66g0SDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.2.2 Stereotypes"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66g0Sjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.2.3 Stereotype Examples"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66g0TDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.3 Requirements Diagram Extensions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66g0Tjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.3.1 Overview"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66hbUDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.3.2 Stereotypes"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66hbUjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.3.3 Stereotype Examples"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66hbVDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.4 Parametric Diagram Extensions for Trade Studies"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66hbVjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.4.1 Overview"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66hbWDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.4.2 Stereotypes"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66hbWjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.4.3 Stereotype Examples"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66hbXDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5 Model Library for Quantities, Units, Dimensions, and Values (QUDV)"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66hbXjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.1 Overview"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66iCYTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2 Abstract Syntax"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66iCYzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.1 AffineConversionUnit"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66iCZTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.2 ConversionBasedUnit"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66iCZzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.3 DerivedQuantityKind"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66iCaTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.4 DerivedUnit"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66iCazq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.5 Dimension"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66iCbTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.6 GeneralConversionUnit"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66ipcTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.7 LinearConversionUnit"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66ipczq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.8 Prefix"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66ipdTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.9 PrefixedUnit"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66ipdzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.10 QuantityKind"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66ipeTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.11 QuantityKindFactor"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66ipezq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.12 Rational"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66jQgTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.13 SimpleQuantityKind"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66jQgzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.14 SimpleUnit"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66jQhTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.15 SystemOfQuantities"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66jQhzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.16 SystemOfUnits"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66j3kTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.17 Unit"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66j3kzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.18 UnitFactor"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66j3lTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.3 References"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66j3lzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.4 Usage Examples"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66keoDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.4.1 SI Unit and QuantityKind examples"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66keojq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.4.2 Spring Example"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66kepDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6 Model Library of SysML Quantity Kinds and Units for ISO 80000"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66kepjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6.1 Overview"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66keqDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6.2 Units and Quantity Kinds"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66lFsTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6.3 ISO 80000-1 Prefixes"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66lFszq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6.4 ISO 80000-2 Mathematical Signs and Symbols"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66lFtTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6.5 Summary of the covered parts of ISO 80000"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66lFtzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6.5.1 ISO 80000-3 Space and Time"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66lFuTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6.5.2 ISO 80000-4 Mechanics"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66lswTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6.5.3 ISO 80000-5 Thermodynamics"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66lswzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6.5.4 ISO 80000-6 Electromagnetism"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66lsxTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6.5.5 ISO 80000-7 Light"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66lsxzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6.5.6 ISO 80000-9 Physical Chemistry and Molecular Physic"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66lsyTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6.5.7 ISO 80000-10 Atomic and Nuclear Physics"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66mT0Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6.5.8 ISO 80000-13 Information Science and Technology"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66mT0zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.7 Distribution Extensions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66mT1Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.7.1 Overview"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66mT1zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.7.2 Stereotypes"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66mT2Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.7.2.1 Package Distributions"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66m64Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.7.3 Usage Example"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xaTaUGdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-Annex F: Requirements Traceability"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xaTaUmdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-Annex G: Model Interchange"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66m65zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-G.1 Overview"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66m66Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-G.2 Context for Model Interchange"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66nh8Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-G.3 XMI Serialization of SysML"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66nh8jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-G.4 SysML Model Interchange Using AP233"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66nh9Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-G.4.1 Scope of AP233"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66nh9jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-G.4.2 STEP Architecture"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66nh-Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-G.4.3 EXPRESS"/> + <packagedElement xmi:type="uml:Class" xmi:id="_66oJADq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-G.4.4 SysML-AP233 Mapping"/> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_zB6m8JoOEeeXz9m6CNxSgg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zCLssJoOEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#/"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_zDJWAJoOEeeXz9m6CNxSgg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zDJWAZoOEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//activities"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Activities"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_zDQDsJoOEeeXz9m6CNxSgg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zDQDsZoOEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//allocations"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Allocations"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_zDTHAJoOEeeXz9m6CNxSgg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zDTHAZoOEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//blocks"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_zDsvoJoOEeeXz9m6CNxSgg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zDtWsJoOEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//constraintblocks"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ConstraintBlocks"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_zDvy8JoOEeeXz9m6CNxSgg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zDwaAJoOEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//deprecatedelements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_DeprecatedElements"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_zDy2QJoOEeeXz9m6CNxSgg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zDzdUJoOEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//modelelements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ModelElements"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_zD1SgJoOEeeXz9m6CNxSgg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zD15kJoOEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//portsandflows"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_zD4V0JoOEeeXz9m6CNxSgg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zD4V0ZoOEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements"/> + </profileApplication> + </uml:Model> + <Requirements:Requirement xmi:id="_66C6MTq8EeW79ofuztDyTA" base_Class="_66C6MDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-0" text="OMG details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=1"/> + <Requirements:Requirement xmi:id="_66DhQTq8EeW79ofuztDyTA" base_Class="_66DhQDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-1" text="Scope details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=28"/> + <Requirements:Requirement xmi:id="_66DhQzq8EeW79ofuztDyTA" base_Class="_66DhQjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-1.1" text="General details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=28"/> + <Requirements:Requirement xmi:id="_66DhRTq8EeW79ofuztDyTA" base_Class="_66DhRDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-2" text="Normative References details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=28"/> + <Requirements:Requirement xmi:id="_66DhRzq8EeW79ofuztDyTA" base_Class="_66DhRjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-2.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=28"/> + <Requirements:Requirement xmi:id="_66DhSTq8EeW79ofuztDyTA" base_Class="_66DhSDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-2.2" text="OMG Documents details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=28"/> + <Requirements:Requirement xmi:id="_66DhSzq8EeW79ofuztDyTA" base_Class="_66DhSjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-2.3" text="Other Documents details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=29"/> + <Requirements:Requirement xmi:id="_66DhTTq8EeW79ofuztDyTA" base_Class="_66DhTDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-3" text="Additional Information details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=29"/> + <Requirements:Requirement xmi:id="_66DhTzq8EeW79ofuztDyTA" base_Class="_66DhTjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-3.1" text="Relationships to Other Standards details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=29"/> + <Requirements:Requirement xmi:id="_66EIUTq8EeW79ofuztDyTA" base_Class="_66EIUDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-3.2" text="How to Read this Specification details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=29"/> + <Requirements:Requirement xmi:id="_66EIUzq8EeW79ofuztDyTA" base_Class="_66EIUjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-3.3" text="Acknowledgments details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=30"/> + <Requirements:Requirement xmi:id="_66EIVTq8EeW79ofuztDyTA" base_Class="_66EIVDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-4" text="Language Architecture details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=32"/> + <Requirements:Requirement xmi:id="_66EIVzq8EeW79ofuztDyTA" base_Class="_66EIVjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-4.1" text="General details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=32"/> + <Requirements:Requirement xmi:id="_66EIWTq8EeW79ofuztDyTA" base_Class="_66EIWDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-4.2" text="Design Principles details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=35"/> + <Requirements:Requirement xmi:id="_66EIWzq8EeW79ofuztDyTA" base_Class="_66EIWjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-4.3" text="Architecture details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=35"/> + <Requirements:Requirement xmi:id="_66EIXTq8EeW79ofuztDyTA" base_Class="_66EIXDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-4.4" text="Extension Mechanisms details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=37"/> + <Requirements:Requirement xmi:id="_66EIXzq8EeW79ofuztDyTA" base_Class="_66EIXjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-4.5" text="SysML Diagrams details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=38"/> + <Requirements:Requirement xmi:id="_66EvYDq8EeW79ofuztDyTA" base_Class="_66EIYDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-5" text="Conformance details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=40"/> + <Requirements:Requirement xmi:id="_66EvYjq8EeW79ofuztDyTA" base_Class="_66EvYTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-5.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=40"/> + <Requirements:Requirement xmi:id="_66EvZDq8EeW79ofuztDyTA" base_Class="_66EvYzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-5.2" text="Conformance Types details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=40"/> + <Requirements:Requirement xmi:id="_66EvZjq8EeW79ofuztDyTA" base_Class="_66EvZTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-6" text="Language Formalism details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=42"/> + <Requirements:Requirement xmi:id="_66EvaDq8EeW79ofuztDyTA" base_Class="_66EvZzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-6.1" text="Levels of Formalism details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=42"/> + <Requirements:Requirement xmi:id="_66Evajq8EeW79ofuztDyTA" base_Class="_66EvaTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-6.2" text="Clause Structure details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=42"/> + <Requirements:Requirement xmi:id="_66EvbDq8EeW79ofuztDyTA" base_Class="_66Evazq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-6.2.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=42"/> + <Requirements:Requirement xmi:id="_66Evbjq8EeW79ofuztDyTA" base_Class="_66EvbTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-6.2.2" text="Diagram Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=42"/> + <Requirements:Requirement xmi:id="_66FWcDq8EeW79ofuztDyTA" base_Class="_66Evbzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-6.2.3" text="UML Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=42"/> + <Requirements:Requirement xmi:id="_66FWcjq8EeW79ofuztDyTA" base_Class="_66FWcTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-6.2.4" text="Usage Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=43"/> + <Requirements:Requirement xmi:id="_66FWdDq8EeW79ofuztDyTA" base_Class="_66FWczq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-6.3" text="Conventions and Typography details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=43"/> + <Requirements:Requirement xmi:id="_66FWdjq8EeW79ofuztDyTA" base_Class="_66FWdTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7" text="Model Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=46"/> + <Requirements:Requirement xmi:id="_66FWeDq8EeW79ofuztDyTA" base_Class="_66FWdzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=46"/> + <Requirements:Requirement xmi:id="_66FWejq8EeW79ofuztDyTA" base_Class="_66FWeTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.1.1" text="View and Viewpoint details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=46"/> + <Requirements:Requirement xmi:id="_66FWfDq8EeW79ofuztDyTA" base_Class="_66FWezq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.2" text="Diagram Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=47"/> + <Requirements:Requirement xmi:id="_66F9gTq8EeW79ofuztDyTA" base_Class="_66F9gDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.3" text="UML Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=50"/> + <Requirements:Requirement xmi:id="_66F9gzq8EeW79ofuztDyTA" base_Class="_66F9gjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.3.1" text="Diagram Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=50"/> + <Requirements:Requirement xmi:id="_66F9hTq8EeW79ofuztDyTA" base_Class="_66F9hDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.3.1.1" text="UML Diagram Elements not Included in SysML details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=50"/> + <Requirements:Requirement xmi:id="_66F9hzq8EeW79ofuztDyTA" base_Class="_66F9hjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.3.2" text="Stereotypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=51"/> + <Requirements:Requirement xmi:id="_66F9iTq8EeW79ofuztDyTA" base_Class="_66F9iDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.3.2.1" text="Conform details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=51"/> + <Requirements:Requirement xmi:id="_66F9izq8EeW79ofuztDyTA" base_Class="_66F9ijq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.3.2.2" text="ElementGroup details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=52"/> + <Requirements:Requirement xmi:id="_66F9jTq8EeW79ofuztDyTA" base_Class="_66F9jDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.3.2.3" text="Expose details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=53"/> + <Requirements:Requirement xmi:id="_66F9jzq8EeW79ofuztDyTA" base_Class="_66F9jjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.3.2.4" text="Problem details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=53"/> + <Requirements:Requirement xmi:id="_66GkkDq8EeW79ofuztDyTA" base_Class="_66F9kDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.3.2.5" text="Rationale details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=54"/> + <Requirements:Requirement xmi:id="_66Gkkjq8EeW79ofuztDyTA" base_Class="_66GkkTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.3.2.6" text="Stakeholder details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=54"/> + <Requirements:Requirement xmi:id="_66GklDq8EeW79ofuztDyTA" base_Class="_66Gkkzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.3.2.7" text="View details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=54"/> + <Requirements:Requirement xmi:id="_66Gkljq8EeW79ofuztDyTA" base_Class="_66GklTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.3.2.8" text="Viewpoint details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=55"/> + <Requirements:Requirement xmi:id="_66GkmDq8EeW79ofuztDyTA" base_Class="_66Gklzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.4" text="Usage Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=55"/> + <Requirements:Requirement xmi:id="_66Gkmjq8EeW79ofuztDyTA" base_Class="_66GkmTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8" text="Blocks details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=58"/> + <Requirements:Requirement xmi:id="_66GknDq8EeW79ofuztDyTA" base_Class="_66Gkmzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=58"/> + <Requirements:Requirement xmi:id="_66Gknjq8EeW79ofuztDyTA" base_Class="_66GknTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.2" text="Diagram Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=59"/> + <Requirements:Requirement xmi:id="_66HLoDq8EeW79ofuztDyTA" base_Class="_66Gknzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.2.1" text="Block Definition Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=59"/> + <Requirements:Requirement xmi:id="_66HLojq8EeW79ofuztDyTA" base_Class="_66HLoTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.2.2" text="Internal Block Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=65"/> + <Requirements:Requirement xmi:id="_66HLpDq8EeW79ofuztDyTA" base_Class="_66HLozq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3" text="UML Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=67"/> + <Requirements:Requirement xmi:id="_66HLpjq8EeW79ofuztDyTA" base_Class="_66HLpTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1" text="Diagram Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=67"/> + <Requirements:Requirement xmi:id="_66HLqDq8EeW79ofuztDyTA" base_Class="_66HLpzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.1" text="Block Definition Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=67"/> + <Requirements:Requirement xmi:id="_66HLqjq8EeW79ofuztDyTA" base_Class="_66HLqTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.1.1" text="Block and ValueType Definitions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=67"/> + <Requirements:Requirement xmi:id="_66HLrDq8EeW79ofuztDyTA" base_Class="_66HLqzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.1.2" text="Default «block» stereotype on unlabeled box details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=67"/> + <Requirements:Requirement xmi:id="_66HysTq8EeW79ofuztDyTA" base_Class="_66HysDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.1.3" text="Labeled compartments details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=67"/> + <Requirements:Requirement xmi:id="_66Hyszq8EeW79ofuztDyTA" base_Class="_66Hysjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.1.4" text="Behavior compartment details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=67"/> + <Requirements:Requirement xmi:id="_66HytTq8EeW79ofuztDyTA" base_Class="_66HytDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.1.5" text="Constraints compartment details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=68"/> + <Requirements:Requirement xmi:id="_66Hytzq8EeW79ofuztDyTA" base_Class="_66Hytjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.1.6" text="Namespace compartment details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=68"/> + <Requirements:Requirement xmi:id="_66IZwDq8EeW79ofuztDyTA" base_Class="_66HyuDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.1.7" text="Structure compartment details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=68"/> + <Requirements:Requirement xmi:id="_66IZwjq8EeW79ofuztDyTA" base_Class="_66IZwTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.1.8" text="BoundReference compartment details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=68"/> + <Requirements:Requirement xmi:id="_66IZxDq8EeW79ofuztDyTA" base_Class="_66IZwzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.1.9" text="Default multiplicities details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=68"/> + <Requirements:Requirement xmi:id="_66IZxjq8EeW79ofuztDyTA" base_Class="_66IZxTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.1.10" text="Property-specific type details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=69"/> + <Requirements:Requirement xmi:id="_66IZyDq8EeW79ofuztDyTA" base_Class="_66IZxzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.2" text="Internal Block Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=69"/> + <Requirements:Requirement xmi:id="_66IZyjq8EeW79ofuztDyTA" base_Class="_66IZyTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.2.1" text="Property types details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=69"/> + <Requirements:Requirement xmi:id="_66IZzDq8EeW79ofuztDyTA" base_Class="_66IZyzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.2.2" text="Block reference in diagram frame details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=69"/> + <Requirements:Requirement xmi:id="_66IZzjq8EeW79ofuztDyTA" base_Class="_66IZzTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.2.3" text="Compartments on internal properties details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=69"/> + <Requirements:Requirement xmi:id="_66JA0Dq8EeW79ofuztDyTA" base_Class="_66IZzzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.2.4" text="Compartments on a diagram frame details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=69"/> + <Requirements:Requirement xmi:id="_66JA0jq8EeW79ofuztDyTA" base_Class="_66JA0Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.2.5" text="Property path name details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=70"/> + <Requirements:Requirement xmi:id="_66JA1Dq8EeW79ofuztDyTA" base_Class="_66JA0zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.2.6" text="Nested connector end details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=70"/> + <Requirements:Requirement xmi:id="_66JA1jq8EeW79ofuztDyTA" base_Class="_66JA1Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.2.7" text="Property-specific type details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=70"/> + <Requirements:Requirement xmi:id="_66JA2Dq8EeW79ofuztDyTA" base_Class="_66JA1zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.2.8" text="Initial values compartment details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=71"/> + <Requirements:Requirement xmi:id="_66JA2jq8EeW79ofuztDyTA" base_Class="_66JA2Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.2.9" text="Default multiplicities details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=71"/> + <Requirements:Requirement xmi:id="_66Jn4Dq8EeW79ofuztDyTA" base_Class="_66JA2zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.3" text="UML Diagram Elements not Included in SysML Block Definition Diagrams details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=71"/> + <Requirements:Requirement xmi:id="_66Jn4jq8EeW79ofuztDyTA" base_Class="_66Jn4Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.4" text="UML Diagram Elements not Included in SysML Internal Block Diagrams details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=71"/> + <Requirements:Requirement xmi:id="_66Jn5Dq8EeW79ofuztDyTA" base_Class="_66Jn4zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2" text="Stereotypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=71"/> + <Requirements:Requirement xmi:id="_66Jn5jq8EeW79ofuztDyTA" base_Class="_66Jn5Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.1" text="AdjunctProperty details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=74"/> + <Requirements:Requirement xmi:id="_66Jn6Dq8EeW79ofuztDyTA" base_Class="_66Jn5zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.2" text="Binding Connector details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=75"/> + <Requirements:Requirement xmi:id="_66Jn6jq8EeW79ofuztDyTA" base_Class="_66Jn6Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.3" text="Block details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=76"/> + <Requirements:Requirement xmi:id="_66Jn7Dq8EeW79ofuztDyTA" base_Class="_66Jn6zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.4" text="Bound Reference details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=78"/> + <Requirements:Requirement xmi:id="_66Jn7jq8EeW79ofuztDyTA" base_Class="_66Jn7Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.5" text="ClassifierBehaviorProperty details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=79"/> + <Requirements:Requirement xmi:id="_66KO8Tq8EeW79ofuztDyTA" base_Class="_66KO8Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.6" text="ConnectorProperty details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=79"/> + <Requirements:Requirement xmi:id="_66KO8zq8EeW79ofuztDyTA" base_Class="_66KO8jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.7" text="DirectedRelationshipPropertyPath details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=80"/> + <Requirements:Requirement xmi:id="_66KO9Tq8EeW79ofuztDyTA" base_Class="_66KO9Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.8" text="DistributedProperty details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=81"/> + <Requirements:Requirement xmi:id="_66KO9zq8EeW79ofuztDyTA" base_Class="_66KO9jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.9" text="ElementPropertyPath details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=81"/> + <Requirements:Requirement xmi:id="_66KO-Tq8EeW79ofuztDyTA" base_Class="_66KO-Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.10" text="EndPathMultiplicity details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=81"/> + <Requirements:Requirement xmi:id="_66K2ADq8EeW79ofuztDyTA" base_Class="_66KO-jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.11" text="NestedConnectorEnd details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=82"/> + <Requirements:Requirement xmi:id="_66K2Ajq8EeW79ofuztDyTA" base_Class="_66K2ATq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.12" text="ParticipantProperty details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=82"/> + <Requirements:Requirement xmi:id="_66K2BDq8EeW79ofuztDyTA" base_Class="_66K2Azq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.13" text="PropertySpecificType details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=83"/> + <Requirements:Requirement xmi:id="_66K2Bjq8EeW79ofuztDyTA" base_Class="_66K2BTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.14" text="ValueType details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=83"/> + <Requirements:Requirement xmi:id="_66K2CDq8EeW79ofuztDyTA" base_Class="_66K2Bzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.3" text="Model Libraries details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=84"/> + <Requirements:Requirement xmi:id="_66K2Cjq8EeW79ofuztDyTA" base_Class="_66K2CTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.3.1" text="Package PrimitiveValueTypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=84"/> + <Requirements:Requirement xmi:id="_66K2DDq8EeW79ofuztDyTA" base_Class="_66K2Czq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.3.1.1" text="Boolean details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=84"/> + <Requirements:Requirement xmi:id="_66K2Djq8EeW79ofuztDyTA" base_Class="_66K2DTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.3.1.2" text="Complex details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=85"/> + <Requirements:Requirement xmi:id="_66LdEDq8EeW79ofuztDyTA" base_Class="_66K2Dzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.3.1.3" text="Integer details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=85"/> + <Requirements:Requirement xmi:id="_66LdEjq8EeW79ofuztDyTA" base_Class="_66LdETq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.3.1.4" text="Number details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=85"/> + <Requirements:Requirement xmi:id="_66LdFDq8EeW79ofuztDyTA" base_Class="_66LdEzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.3.1.5" text="Real details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=85"/> + <Requirements:Requirement xmi:id="_66LdFjq8EeW79ofuztDyTA" base_Class="_66LdFTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.3.1.6" text="String details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=85"/> + <Requirements:Requirement xmi:id="_66LdGDq8EeW79ofuztDyTA" base_Class="_66LdFzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.3.2" text="Package UnitAndQuantityKind details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=85"/> + <Requirements:Requirement xmi:id="_66LdGjq8EeW79ofuztDyTA" base_Class="_66LdGTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.3.2.1" text="QuantityKind details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=86"/> + <Requirements:Requirement xmi:id="_66LdHDq8EeW79ofuztDyTA" base_Class="_66LdGzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.3.2.2" text="Unit details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=86"/> + <Requirements:Requirement xmi:id="_66LdHjq8EeW79ofuztDyTA" base_Class="_66LdHTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.4" text="Usage Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=87"/> + <Requirements:Requirement xmi:id="_66MEIDq8EeW79ofuztDyTA" base_Class="_66LdHzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.4.1" text="Wheel Hub Assembly details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=87"/> + <Requirements:Requirement xmi:id="_66MEIjq8EeW79ofuztDyTA" base_Class="_66MEITq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.4.2" text="Example Value Type Definitions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=89"/> + <Requirements:Requirement xmi:id="_66MEJDq8EeW79ofuztDyTA" base_Class="_66MEIzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.4.3" text="Design Configuration for SUV EPA Fuel Economy Test details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=90"/> + <Requirements:Requirement xmi:id="_66MEJjq8EeW79ofuztDyTA" base_Class="_66MEJTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.4.4" text="Water Delivery details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=90"/> + <Requirements:Requirement xmi:id="_66MEKDq8EeW79ofuztDyTA" base_Class="_66MEJzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.4.5" text="Constraining Decomposition details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=90"/> + <Requirements:Requirement xmi:id="_66MEKjq8EeW79ofuztDyTA" base_Class="_66MEKTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.4.6" text="Units and Quantity Kinds details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=92"/> + <Requirements:Requirement xmi:id="_66MELDq8EeW79ofuztDyTA" base_Class="_66MEKzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9" text="Ports and Flows details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=96"/> + <Requirements:Requirement xmi:id="_66MrMDq8EeW79ofuztDyTA" base_Class="_66MELTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=96"/> + <Requirements:Requirement xmi:id="_66MrMjq8EeW79ofuztDyTA" base_Class="_66MrMTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.1.1" text="Ports details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=96"/> + <Requirements:Requirement xmi:id="_66MrNDq8EeW79ofuztDyTA" base_Class="_66MrMzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.1.2" text="Flow Properties, Provided and Required Features, and Nested Ports details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=96"/> + <Requirements:Requirement xmi:id="_66MrNjq8EeW79ofuztDyTA" base_Class="_66MrNTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.1.3" text="Proxy Ports and Full Ports details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=96"/> + <Requirements:Requirement xmi:id="_66MrODq8EeW79ofuztDyTA" base_Class="_66MrNzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.1.4" text="Item Flows details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=97"/> + <Requirements:Requirement xmi:id="_66MrOjq8EeW79ofuztDyTA" base_Class="_66MrOTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.1.5" text="Deprecation of Flow Ports and Flow Specifications details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=97"/> + <Requirements:Requirement xmi:id="_66MrPDq8EeW79ofuztDyTA" base_Class="_66MrOzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.2" text="Diagram Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=98"/> + <Requirements:Requirement xmi:id="_66MrPjq8EeW79ofuztDyTA" base_Class="_66MrPTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.2.1" text="Block Definition Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=98"/> + <Requirements:Requirement xmi:id="_66NSQDq8EeW79ofuztDyTA" base_Class="_66MrPzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.2.2" text="Internal Block Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=101"/> + <Requirements:Requirement xmi:id="_66NSQjq8EeW79ofuztDyTA" base_Class="_66NSQTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.3" text="UML Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=103"/> + <Requirements:Requirement xmi:id="_66N5Uzq8EeW79ofuztDyTA" base_Class="_66N5Ujq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.3.1" text="Diagram Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=103"/> + <Requirements:Requirement xmi:id="_66N5VTq8EeW79ofuztDyTA" base_Class="_66N5VDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.3.1.1" text="DirectedFeature details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=103"/> + <Requirements:Requirement xmi:id="_66N5Vzq8EeW79ofuztDyTA" base_Class="_66N5Vjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.3.1.2" text="FlowProperty details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=103"/> + <Requirements:Requirement xmi:id="_66N5WTq8EeW79ofuztDyTA" base_Class="_66N5WDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.3.1.3" text="FullPort details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=103"/> + <Requirements:Requirement xmi:id="_66N5Wzq8EeW79ofuztDyTA" base_Class="_66N5Wjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.3.1.4" text="InvocationOnNestedPortAction details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=103"/> + <Requirements:Requirement xmi:id="_66N5XTq8EeW79ofuztDyTA" base_Class="_66N5XDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.3.1.5" text="ItemFlow details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=103"/> + <Requirements:Requirement xmi:id="_66N5Xzq8EeW79ofuztDyTA" base_Class="_66N5Xjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.3.1.6" text="Port details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=103"/> + <Requirements:Requirement xmi:id="_66OgYDq8EeW79ofuztDyTA" base_Class="_66N5YDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.3.1.7" text="ProxyPort details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=104"/> + <Requirements:Requirement xmi:id="_66OgYjq8EeW79ofuztDyTA" base_Class="_66OgYTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.3.1.8" text="TriggerOnNestedPort details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=104"/> + <Requirements:Requirement xmi:id="_xZ81AGdTEeWH4tlTg5LI-A" base_Class="_xZ8N8GdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2" text="Stereotypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=104"/> + <Requirements:Requirement xmi:id="_xZ81AmdTEeWH4tlTg5LI-A" base_Class="_xZ81AWdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2.1" text="AcceptChangeStructuralFeatureEventAction details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=106"/> + <Requirements:Requirement xmi:id="_xZ81BGdTEeWH4tlTg5LI-A" base_Class="_xZ81A2dTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2.2" text="Block details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=107"/> + <Requirements:Requirement xmi:id="_xZ81BmdTEeWH4tlTg5LI-A" base_Class="_xZ81BWdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2.3" text="ChangeStructuralFeatureEvent details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=107"/> + <Requirements:Requirement xmi:id="_xZ81CGdTEeWH4tlTg5LI-A" base_Class="_xZ81B2dTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2.4" text="DirectedFeature details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=107"/> + <Requirements:Requirement xmi:id="_xZ81CmdTEeWH4tlTg5LI-A" base_Class="_xZ81CWdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2.5" text="FeatureDirection details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=108"/> + <Requirements:Requirement xmi:id="_xZ81DGdTEeWH4tlTg5LI-A" base_Class="_xZ81C2dTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2.6" text="FlowDirection details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=109"/> + <Requirements:Requirement xmi:id="_xZ9cEWdTEeWH4tlTg5LI-A" base_Class="_xZ9cEGdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2.7" text="FlowProperty details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=109"/> + <Requirements:Requirement xmi:id="_xZ9cE2dTEeWH4tlTg5LI-A" base_Class="_xZ9cEmdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2.8" text="FullPort details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=110"/> + <Requirements:Requirement xmi:id="_xZ9cFWdTEeWH4tlTg5LI-A" base_Class="_xZ9cFGdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2.9" text="InterfaceBlock details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=111"/> + <Requirements:Requirement xmi:id="_xZ9cF2dTEeWH4tlTg5LI-A" base_Class="_xZ9cFmdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2.10" text="InvocationOnNestedPortAction details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=111"/> + <Requirements:Requirement xmi:id="_xZ9cGWdTEeWH4tlTg5LI-A" base_Class="_xZ9cGGdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2.11" text="ItemFlow details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=111"/> + <Requirements:Requirement xmi:id="_xZ9cG2dTEeWH4tlTg5LI-A" base_Class="_xZ9cGmdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2.12" text="ProxyPort details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=112"/> + <Requirements:Requirement xmi:id="_xZ9cHWdTEeWH4tlTg5LI-A" base_Class="_xZ9cHGdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2.13" text="TriggerOnNestedPort details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=113"/> + <Requirements:Requirement xmi:id="_66OgbDq8EeW79ofuztDyTA" base_Class="_66Ogazq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.4" text="Usage Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=114"/> + <Requirements:Requirement xmi:id="_66Ogbjq8EeW79ofuztDyTA" base_Class="_66OgbTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.4.1" text="Ports with Required and Provided Features details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=114"/> + <Requirements:Requirement xmi:id="_66PHcDq8EeW79ofuztDyTA" base_Class="_66Ogbzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.4.2" text="Flow Ports and Item Flows details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=114"/> + <Requirements:Requirement xmi:id="_66PHcjq8EeW79ofuztDyTA" base_Class="_66PHcTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.4.3" text="Ports with Flow Properties details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=115"/> + <Requirements:Requirement xmi:id="_66PHdDq8EeW79ofuztDyTA" base_Class="_66PHczq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.4.4" text="Proxy and Full Ports details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=115"/> + <Requirements:Requirement xmi:id="_66PHdjq8EeW79ofuztDyTA" base_Class="_66PHdTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.4.5" text="Association and Port Decomposition details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=116"/> + <Requirements:Requirement xmi:id="_66PHeDq8EeW79ofuztDyTA" base_Class="_66PHdzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.4.6" text="Item Flow Decomposition details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=120"/> + <Requirements:Requirement xmi:id="_66PHejq8EeW79ofuztDyTA" base_Class="_66PHeTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10" text="Constraint Blocks details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=122"/> + <Requirements:Requirement xmi:id="_66PHfDq8EeW79ofuztDyTA" base_Class="_66PHezq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=122"/> + <Requirements:Requirement xmi:id="_66PHfjq8EeW79ofuztDyTA" base_Class="_66PHfTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.2" text="Diagram Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=123"/> + <Requirements:Requirement xmi:id="_66PHgDq8EeW79ofuztDyTA" base_Class="_66PHfzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.2.1" text="Block Definition Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=123"/> + <Requirements:Requirement xmi:id="_66PugDq8EeW79ofuztDyTA" base_Class="_66PHgTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.2.2" text="Parametric Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=123"/> + <Requirements:Requirement xmi:id="_66Pugjq8EeW79ofuztDyTA" base_Class="_66PugTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.3" text="UML Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=124"/> + <Requirements:Requirement xmi:id="_66PuhDq8EeW79ofuztDyTA" base_Class="_66Pugzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.3.1" text="Diagram Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=124"/> + <Requirements:Requirement xmi:id="_66Puhjq8EeW79ofuztDyTA" base_Class="_66PuhTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.3.1.1" text="Block Definition Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=124"/> + <Requirements:Requirement xmi:id="_66PuiDq8EeW79ofuztDyTA" base_Class="_66Puhzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.3.1.1.1" text="Constraint block definition details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=124"/> + <Requirements:Requirement xmi:id="_66Puijq8EeW79ofuztDyTA" base_Class="_66PuiTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.3.1.1.2" text="Parameters compartment details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=124"/> + <Requirements:Requirement xmi:id="_66PujDq8EeW79ofuztDyTA" base_Class="_66Puizq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.3.1.2" text="Parametric Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=125"/> + <Requirements:Requirement xmi:id="_66Pujjq8EeW79ofuztDyTA" base_Class="_66PujTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.3.2" text="Stereotypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=125"/> + <Requirements:Requirement xmi:id="_66PukDq8EeW79ofuztDyTA" base_Class="_66Pujzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.3.2.1" text="ConstraintBlock details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=126"/> + <Requirements:Requirement xmi:id="_66QVkDq8EeW79ofuztDyTA" base_Class="_66PukTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.4" text="Usage Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=126"/> + <Requirements:Requirement xmi:id="_66QVkjq8EeW79ofuztDyTA" base_Class="_66QVkTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.4.1" text="Definition of Constraint Blocks on a Block Definition Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=126"/> + <Requirements:Requirement xmi:id="_66QVlDq8EeW79ofuztDyTA" base_Class="_66QVkzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.4.2" text="Usage of Constraint Blocks on a Parametric Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=126"/> + <Requirements:Requirement xmi:id="_66QVljq8EeW79ofuztDyTA" base_Class="_66QVlTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11" text="Activities details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=130"/> + <Requirements:Requirement xmi:id="_66QVmDq8EeW79ofuztDyTA" base_Class="_66QVlzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=130"/> + <Requirements:Requirement xmi:id="_66QVmjq8EeW79ofuztDyTA" base_Class="_66QVmTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.1.1" text="Control as Data details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=130"/> + <Requirements:Requirement xmi:id="_66QVnDq8EeW79ofuztDyTA" base_Class="_66QVmzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.1.2" text="Continuous Systems details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=130"/> + <Requirements:Requirement xmi:id="_66QVnjq8EeW79ofuztDyTA" base_Class="_66QVnTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.1.3" text="Probability details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=130"/> + <Requirements:Requirement xmi:id="_66Q8oDq8EeW79ofuztDyTA" base_Class="_66QVnzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.1.4" text="Activities as Blocks details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=131"/> + <Requirements:Requirement xmi:id="_66Q8ojq8EeW79ofuztDyTA" base_Class="_66Q8oTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.1.5" text="Timelines details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=131"/> + <Requirements:Requirement xmi:id="_66Q8pDq8EeW79ofuztDyTA" base_Class="_66Q8ozq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.2" text="Diagram Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=131"/> + <Requirements:Requirement xmi:id="_66Q8pjq8EeW79ofuztDyTA" base_Class="_66Q8pTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.2.1" text="Activity Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=131"/> + <Requirements:Requirement xmi:id="_66Q8qDq8EeW79ofuztDyTA" base_Class="_66Q8pzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3" text="UML Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=140"/> + <Requirements:Requirement xmi:id="_66Q8qjq8EeW79ofuztDyTA" base_Class="_66Q8qTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.1" text="Diagram Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=140"/> + <Requirements:Requirement xmi:id="_66Q8rDq8EeW79ofuztDyTA" base_Class="_66Q8qzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.1.1" text="Activity details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=140"/> + <Requirements:Requirement xmi:id="_66Q8rjq8EeW79ofuztDyTA" base_Class="_66Q8rTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.1.1.1" text="Notation details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=140"/> + <Requirements:Requirement xmi:id="_66RjsDq8EeW79ofuztDyTA" base_Class="_66Q8rzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.1.2" text="CallBehaviorAction details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=141"/> + <Requirements:Requirement xmi:id="_66Rjsjq8EeW79ofuztDyTA" base_Class="_66RjsTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.1.3" text="ControlFlow details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=141"/> + <Requirements:Requirement xmi:id="_66RjtDq8EeW79ofuztDyTA" base_Class="_66Rjszq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.1.3.1" text="Presentation Option details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=141"/> + <Requirements:Requirement xmi:id="_66Rjtjq8EeW79ofuztDyTA" base_Class="_66RjtTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.1.4" text="ObjectNode, Variables, and Parameters details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=141"/> + <Requirements:Requirement xmi:id="_66RjuDq8EeW79ofuztDyTA" base_Class="_66Rjtzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.1.4.1" text="Notation details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=141"/> + <Requirements:Requirement xmi:id="_66Rjujq8EeW79ofuztDyTA" base_Class="_66RjuTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.2" text="Stereotypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=143"/> + <Requirements:Requirement xmi:id="_66RjvDq8EeW79ofuztDyTA" base_Class="_66Rjuzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.2.1" text="Continuous details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=143"/> + <Requirements:Requirement xmi:id="_66Rjvjq8EeW79ofuztDyTA" base_Class="_66RjvTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.2.2" text="ControlOperator details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=144"/> + <Requirements:Requirement xmi:id="_66SKwDq8EeW79ofuztDyTA" base_Class="_66Rjvzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.2.3" text="Discrete details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=144"/> + <Requirements:Requirement xmi:id="_66SKwjq8EeW79ofuztDyTA" base_Class="_66SKwTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.2.4" text="NoBuffer details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=144"/> + <Requirements:Requirement xmi:id="_66SKxDq8EeW79ofuztDyTA" base_Class="_66SKwzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.2.5" text="Overwrite details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=145"/> + <Requirements:Requirement xmi:id="_66SKxjq8EeW79ofuztDyTA" base_Class="_66SKxTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.2.6" text="Optional details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=145"/> + <Requirements:Requirement xmi:id="_66SKyDq8EeW79ofuztDyTA" base_Class="_66SKxzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.2.7" text="Probability details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=145"/> + <Requirements:Requirement xmi:id="_66SKyjq8EeW79ofuztDyTA" base_Class="_66SKyTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.2.8" text="Rate details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=146"/> + <Requirements:Requirement xmi:id="_66SKzDq8EeW79ofuztDyTA" base_Class="_66SKyzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.3" text="Model Libraries details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=146"/> + <Requirements:Requirement xmi:id="_66SKzjq8EeW79ofuztDyTA" base_Class="_66SKzTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.3.1" text="Package ControlValues details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=146"/> + <Requirements:Requirement xmi:id="_66Sx0Tq8EeW79ofuztDyTA" base_Class="_66Sx0Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.3.1.1" text="ControlValue details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=146"/> + <Requirements:Requirement xmi:id="_66Sx0zq8EeW79ofuztDyTA" base_Class="_66Sx0jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.4" text="Usage Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=147"/> + <Requirements:Requirement xmi:id="_66Sx1Tq8EeW79ofuztDyTA" base_Class="_66Sx1Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-12" text="Interactions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=152"/> + <Requirements:Requirement xmi:id="_66Sx1zq8EeW79ofuztDyTA" base_Class="_66Sx1jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-12.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=152"/> + <Requirements:Requirement xmi:id="_66Sx2Tq8EeW79ofuztDyTA" base_Class="_66Sx2Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-12.2" text="Diagram Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=153"/> + <Requirements:Requirement xmi:id="_66Sx2zq8EeW79ofuztDyTA" base_Class="_66Sx2jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-12.2.1" text="Sequence Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=153"/> + <Requirements:Requirement xmi:id="_66Sx3Tq8EeW79ofuztDyTA" base_Class="_66Sx3Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-12.3" text="UML Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=158"/> + <Requirements:Requirement xmi:id="_66TY4Tq8EeW79ofuztDyTA" base_Class="_66TY4Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-12.3.1" text="Diagram Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=158"/> + <Requirements:Requirement xmi:id="_66TY4zq8EeW79ofuztDyTA" base_Class="_66TY4jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-12.3.1.1" text="Exclusion of Communication Diagram, Interaction Overview Diagram, and Timing Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=158"/> + <Requirements:Requirement xmi:id="_66TY5Tq8EeW79ofuztDyTA" base_Class="_66TY5Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-12.3.1.2" text="Interactions and Parameters details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=158"/> + <Requirements:Requirement xmi:id="_66TY5zq8EeW79ofuztDyTA" base_Class="_66TY5jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-12.3.1.2.1" text="Notation details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=158"/> + <Requirements:Requirement xmi:id="_66TY6Tq8EeW79ofuztDyTA" base_Class="_66TY6Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-12.4" text="Usage Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=159"/> + <Requirements:Requirement xmi:id="_66TY6zq8EeW79ofuztDyTA" base_Class="_66TY6jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-12.4.1" text="Sequence Diagrams details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=159"/> + <Requirements:Requirement xmi:id="_66TY7Tq8EeW79ofuztDyTA" base_Class="_66TY7Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-13" text="State Machines details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=160"/> + <Requirements:Requirement xmi:id="_66T_8Dq8EeW79ofuztDyTA" base_Class="_66TY7jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-13.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=160"/> + <Requirements:Requirement xmi:id="_66T_8jq8EeW79ofuztDyTA" base_Class="_66T_8Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-13.2" text="Diagram Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=160"/> + <Requirements:Requirement xmi:id="_66T_9Dq8EeW79ofuztDyTA" base_Class="_66T_8zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-13.2.1" text="State Machine Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=160"/> + <Requirements:Requirement xmi:id="_66T_9jq8EeW79ofuztDyTA" base_Class="_66T_9Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-13.3" text="UML Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=165"/> + <Requirements:Requirement xmi:id="_66T_-Dq8EeW79ofuztDyTA" base_Class="_66T_9zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-13.3.1" text="Diagram Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=165"/> + <Requirements:Requirement xmi:id="_66T_-jq8EeW79ofuztDyTA" base_Class="_66T_-Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-13.3.1.1" text="State Machines and Parameters details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=165"/> + <Requirements:Requirement xmi:id="_66T__Dq8EeW79ofuztDyTA" base_Class="_66T_-zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-13.3.1.1.1" text="Notation details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=165"/> + <Requirements:Requirement xmi:id="_66T__jq8EeW79ofuztDyTA" base_Class="_66T__Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-13.4" text="Usage Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=165"/> + <Requirements:Requirement xmi:id="_66UnATq8EeW79ofuztDyTA" base_Class="_66UnADq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-13.4.1" text="State Machine Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=165"/> + <Requirements:Requirement xmi:id="_66UnAzq8EeW79ofuztDyTA" base_Class="_66UnAjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-14" text="Use Cases details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=166"/> + <Requirements:Requirement xmi:id="_66UnBTq8EeW79ofuztDyTA" base_Class="_66UnBDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-14.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=166"/> + <Requirements:Requirement xmi:id="_66UnBzq8EeW79ofuztDyTA" base_Class="_66UnBjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-14.2" text="Diagram Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=167"/> + <Requirements:Requirement xmi:id="_66UnCTq8EeW79ofuztDyTA" base_Class="_66UnCDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-14.2.1" text="Use Case Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=167"/> + <Requirements:Requirement xmi:id="_66UnCzq8EeW79ofuztDyTA" base_Class="_66UnCjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-14.3" text="UML Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=168"/> + <Requirements:Requirement xmi:id="_66UnDTq8EeW79ofuztDyTA" base_Class="_66UnDDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-14.4" text="Usage Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=168"/> + <Requirements:Requirement xmi:id="_66UnDzq8EeW79ofuztDyTA" base_Class="_66UnDjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15" text="Allocations details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=172"/> + <Requirements:Requirement xmi:id="_66VOEDq8EeW79ofuztDyTA" base_Class="_66UnEDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=172"/> + <Requirements:Requirement xmi:id="_66VOEjq8EeW79ofuztDyTA" base_Class="_66VOETq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15.2" text="Diagram Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=172"/> + <Requirements:Requirement xmi:id="_66VOFDq8EeW79ofuztDyTA" base_Class="_66VOEzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15.2.1" text="Representing Allocation on Diagrams details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=173"/> + <Requirements:Requirement xmi:id="_66VOFjq8EeW79ofuztDyTA" base_Class="_66VOFTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15.3" text="UML Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=174"/> + <Requirements:Requirement xmi:id="_66VOHjq8EeW79ofuztDyTA" base_Class="_66VOHTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15.3.1" text="Diagram Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=174"/> + <Requirements:Requirement xmi:id="_66V1IDq8EeW79ofuztDyTA" base_Class="_66VOHzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15.3.1.1" text="Tables details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=174"/> + <Requirements:Requirement xmi:id="_66V1Ijq8EeW79ofuztDyTA" base_Class="_66V1ITq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15.3.1.2" text="Allocate Relationship Rendering details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=174"/> + <Requirements:Requirement xmi:id="_xaCUkWdTEeWH4tlTg5LI-A" base_Class="_xaCUkGdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-15.3.1.3" text="Allocation Compartment Format details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=174"/> + <Requirements:Requirement xmi:id="_xaCUk2dTEeWH4tlTg5LI-A" base_Class="_xaCUkmdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-15.3.1.4" text="Allocation Callout Format details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=174"/> + <Requirements:Requirement xmi:id="_xaCUlWdTEeWH4tlTg5LI-A" base_Class="_xaCUlGdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-15.3.1.5" text="AllocatedActivityPartition Label details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=174"/> + <Requirements:Requirement xmi:id="_xaCUl2dTEeWH4tlTg5LI-A" base_Class="_xaCUlmdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-15.3.2" text="Stereotypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=175"/> + <Requirements:Requirement xmi:id="_xaCUmWdTEeWH4tlTg5LI-A" base_Class="_xaCUmGdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-15.3.2.1" text="Allocate(from Allocations) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=175"/> + <Requirements:Requirement xmi:id="_xaCUm2dTEeWH4tlTg5LI-A" base_Class="_xaCUmmdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-15.3.2.2" text="AllocateActivityPartition(from Allocations) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=176"/> + <Requirements:Requirement xmi:id="_66V1JDq8EeW79ofuztDyTA" base_Class="_66V1Izq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15.4" text="Usage Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=177"/> + <Requirements:Requirement xmi:id="_66V1Jjq8EeW79ofuztDyTA" base_Class="_66V1JTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15.4.1" text="Behavior Allocation of Actions to Parts and Activities to Blocks details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=177"/> + <Requirements:Requirement xmi:id="_66V1KDq8EeW79ofuztDyTA" base_Class="_66V1Jzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15.4.2" text="Allocate Flow details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=178"/> + <Requirements:Requirement xmi:id="_66V1Kjq8EeW79ofuztDyTA" base_Class="_66V1KTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15.4.2.1" text="Allocating Structure details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=179"/> + <Requirements:Requirement xmi:id="_66V1LDq8EeW79ofuztDyTA" base_Class="_66V1Kzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15.4.2.2" text="Automotive Example details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=179"/> + <Requirements:Requirement xmi:id="_66V1Ljq8EeW79ofuztDyTA" base_Class="_66V1LTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15.4.3" text="Tabular Representation details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=180"/> + <Requirements:Requirement xmi:id="_66WcMTq8EeW79ofuztDyTA" base_Class="_66WcMDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16" text="Requirements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=182"/> + <Requirements:Requirement xmi:id="_66WcMzq8EeW79ofuztDyTA" base_Class="_66WcMjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=182"/> + <Requirements:Requirement xmi:id="_66WcNTq8EeW79ofuztDyTA" base_Class="_66WcNDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.2" text="Diagram Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=184"/> + <Requirements:Requirement xmi:id="_66WcNzq8EeW79ofuztDyTA" base_Class="_66WcNjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.2.1" text="Requirement Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=184"/> + <Requirements:Requirement xmi:id="_66WcOTq8EeW79ofuztDyTA" base_Class="_66WcODq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3" text="UML Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=187"/> + <Requirements:Requirement xmi:id="_66WcOzq8EeW79ofuztDyTA" base_Class="_66WcOjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.1" text="Diagram Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=187"/> + <Requirements:Requirement xmi:id="_66WcPTq8EeW79ofuztDyTA" base_Class="_66WcPDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.1.1" text="Requirement Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=187"/> + <Requirements:Requirement xmi:id="_66WcPzq8EeW79ofuztDyTA" base_Class="_66WcPjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.1.2" text="Requirement Notation details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=187"/> + <Requirements:Requirement xmi:id="_66XDQDq8EeW79ofuztDyTA" base_Class="_66WcQDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.1.3" text="Requirement Property Callout Format details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=187"/> + <Requirements:Requirement xmi:id="_66XDQjq8EeW79ofuztDyTA" base_Class="_66XDQTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.1.4" text="Requirements on Other Diagrams details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=187"/> + <Requirements:Requirement xmi:id="_66XDRDq8EeW79ofuztDyTA" base_Class="_66XDQzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.1.5" text="Requirements Table details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=188"/> + <Requirements:Requirement xmi:id="_66XDRjq8EeW79ofuztDyTA" base_Class="_66XDRTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.2" text="Stereotypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=189"/> + <Requirements:Requirement xmi:id="_66XDSDq8EeW79ofuztDyTA" base_Class="_66XDRzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.2.1" text="Copy details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=189"/> + <Requirements:Requirement xmi:id="_66XDSjq8EeW79ofuztDyTA" base_Class="_66XDSTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.2.2" text="DeriveReqt details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=190"/> + <Requirements:Requirement xmi:id="_66XDTDq8EeW79ofuztDyTA" base_Class="_66XDSzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.2.3" text="Refine details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=190"/> + <Requirements:Requirement xmi:id="_66XDTjq8EeW79ofuztDyTA" base_Class="_66XDTTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.2.4" text="Requirement details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=190"/> + <Requirements:Requirement xmi:id="_66XDUDq8EeW79ofuztDyTA" base_Class="_66XDTzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.2.5" text="TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=192"/> + <Requirements:Requirement xmi:id="_66XqUDq8EeW79ofuztDyTA" base_Class="_66XDUTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.2.6" text="Satisfy details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=192"/> + <Requirements:Requirement xmi:id="_66XqUjq8EeW79ofuztDyTA" base_Class="_66XqUTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.2.7" text="Trace details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=192"/> + <Requirements:Requirement xmi:id="_66XqVDq8EeW79ofuztDyTA" base_Class="_66XqUzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.2.8" text="Verify details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=193"/> + <Requirements:Requirement xmi:id="_66XqVjq8EeW79ofuztDyTA" base_Class="_66XqVTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.4" text="Usage Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=193"/> + <Requirements:Requirement xmi:id="_66XqWDq8EeW79ofuztDyTA" base_Class="_66XqVzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.4.1" text="Requirement Decomposition and Traceability details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=193"/> + <Requirements:Requirement xmi:id="_66XqWjq8EeW79ofuztDyTA" base_Class="_66XqWTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.4.2" text="Requirements and Design Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=194"/> + <Requirements:Requirement xmi:id="_66XqXDq8EeW79ofuztDyTA" base_Class="_66XqWzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.4.3" text="Requirements Reuse details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=196"/> + <Requirements:Requirement xmi:id="_66XqXjq8EeW79ofuztDyTA" base_Class="_66XqXTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.4.4" text="Verification Procedure (Test Case) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=197"/> + <Requirements:Requirement xmi:id="_66XqYDq8EeW79ofuztDyTA" base_Class="_66XqXzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17" text="Profiles & Model Libraries details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=200"/> + <Requirements:Requirement xmi:id="_66XqYjq8EeW79ofuztDyTA" base_Class="_66XqYTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=200"/> + <Requirements:Requirement xmi:id="_66YRYDq8EeW79ofuztDyTA" base_Class="_66XqYzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.2" text="Diagram Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=201"/> + <Requirements:Requirement xmi:id="_66YRYjq8EeW79ofuztDyTA" base_Class="_66YRYTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.2.1" text="Profile Definition in Package Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=201"/> + <Requirements:Requirement xmi:id="_66YRZDq8EeW79ofuztDyTA" base_Class="_66YRYzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.2.1.1" text="Extension details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=203"/> + <Requirements:Requirement xmi:id="_66YRZjq8EeW79ofuztDyTA" base_Class="_66YRZTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.2.2" text="Stereotypes Used On Diagrams details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=203"/> + <Requirements:Requirement xmi:id="_66YRaDq8EeW79ofuztDyTA" base_Class="_66YRZzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.2.2.1" text="StereotypeInNode details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=204"/> + <Requirements:Requirement xmi:id="_66YRajq8EeW79ofuztDyTA" base_Class="_66YRaTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.2.2.2" text="StereotypeInComment details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=205"/> + <Requirements:Requirement xmi:id="_66YRbDq8EeW79ofuztDyTA" base_Class="_66YRazq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.2.2.3" text="StereotypeInCompartment details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=205"/> + <Requirements:Requirement xmi:id="_66YRbjq8EeW79ofuztDyTA" base_Class="_66YRbTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.3" text="UML Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=205"/> + <Requirements:Requirement xmi:id="_66YRcDq8EeW79ofuztDyTA" base_Class="_66YRbzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.4" text="Usage Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=205"/> + <Requirements:Requirement xmi:id="_66Y4cDq8EeW79ofuztDyTA" base_Class="_66YRcTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.4.1" text="Defining a Profile details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=205"/> + <Requirements:Requirement xmi:id="_66Y4cjq8EeW79ofuztDyTA" base_Class="_66Y4cTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.4.2" text="Adding Stereotypes to a Profile details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=206"/> + <Requirements:Requirement xmi:id="_66Y4dDq8EeW79ofuztDyTA" base_Class="_66Y4czq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.4.3" text="Defining a Model Library that Uses a Profile details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=207"/> + <Requirements:Requirement xmi:id="_66Y4djq8EeW79ofuztDyTA" base_Class="_66Y4dTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.4.4" text="Guidance on Whether to Use a Stereotype or Class details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=208"/> + <Requirements:Requirement xmi:id="_66Y4eDq8EeW79ofuztDyTA" base_Class="_66Y4dzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.4.5" text="Using a Profile details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=208"/> + <Requirements:Requirement xmi:id="_66Y4ejq8EeW79ofuztDyTA" base_Class="_66Y4eTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.4.6" text="Using a Stereotype details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=209"/> + <Requirements:Requirement xmi:id="_66Y4fDq8EeW79ofuztDyTA" base_Class="_66Y4ezq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.4.7" text="Using a Model Library Element details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=209"/> + <Requirements:Requirement xmi:id="_xaFX4WdTEeWH4tlTg5LI-A" base_Class="_xaFX4GdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-Annex" text="A: Diagrams details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=212"/> + <Requirements:Requirement xmi:id="_66Y4gDq8EeW79ofuztDyTA" base_Class="_66Y4fzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-A.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=212"/> + <Requirements:Requirement xmi:id="_66ZfgDq8EeW79ofuztDyTA" base_Class="_66Y4gTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-A.2" text="Guidelines details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=216"/> + <Requirements:Requirement xmi:id="_xaFX42dTEeWH4tlTg5LI-A" base_Class="_xaFX4mdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-Annex" text="B: SysML Diagram Interchange details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=218"/> + <Requirements:Requirement xmi:id="_66ZfhDq8EeW79ofuztDyTA" base_Class="_66Zfgzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=218"/> + <Requirements:Requirement xmi:id="_66Zfhjq8EeW79ofuztDyTA" base_Class="_66ZfhTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2" text="Stereotypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=219"/> + <Requirements:Requirement xmi:id="_66ZfiDq8EeW79ofuztDyTA" base_Class="_66Zfhzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2.1" text="SysMLActivityDiagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=220"/> + <Requirements:Requirement xmi:id="_66Zfijq8EeW79ofuztDyTA" base_Class="_66ZfiTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2.2" text="SysMLBehaviorDiagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=220"/> + <Requirements:Requirement xmi:id="_66ZfjDq8EeW79ofuztDyTA" base_Class="_66Zfizq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2.3" text="SysMLBlockDefinitionDiagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=221"/> + <Requirements:Requirement xmi:id="_66Zfjjq8EeW79ofuztDyTA" base_Class="_66ZfjTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2.4" text="SysMLDiagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=221"/> + <Requirements:Requirement xmi:id="_66aGkDq8EeW79ofuztDyTA" base_Class="_66Zfjzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2.5" text="SysMLDiagramElement details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=221"/> + <Requirements:Requirement xmi:id="_66aGkjq8EeW79ofuztDyTA" base_Class="_66aGkTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2.6" text="SysMLDiagramWithAssociations details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=221"/> + <Requirements:Requirement xmi:id="_66aGlDq8EeW79ofuztDyTA" base_Class="_66aGkzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2.7" text="SysMLInteractionDiagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=222"/> + <Requirements:Requirement xmi:id="_66aGljq8EeW79ofuztDyTA" base_Class="_66aGlTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2.8" text="SysMLInternalBlockDiagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=222"/> + <Requirements:Requirement xmi:id="_66aGmDq8EeW79ofuztDyTA" base_Class="_66aGlzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2.9" text="SysMLPackageDiagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=222"/> + <Requirements:Requirement xmi:id="_66aGmjq8EeW79ofuztDyTA" base_Class="_66aGmTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2.10" text="SysMLParametricDiagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=222"/> + <Requirements:Requirement xmi:id="_66aGnDq8EeW79ofuztDyTA" base_Class="_66aGmzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2.11" text="SysMLRequirementDiagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=223"/> + <Requirements:Requirement xmi:id="_66atoTq8EeW79ofuztDyTA" base_Class="_66atoDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2.12" text="SysMLStateMachineDiagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=223"/> + <Requirements:Requirement xmi:id="_66atozq8EeW79ofuztDyTA" base_Class="_66atojq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2.13" text="SysMLUseCaseDiagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=223"/> + <Requirements:Requirement xmi:id="_66atpTq8EeW79ofuztDyTA" base_Class="_66atpDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.3" text="SysML DI usage notes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=223"/> + <Requirements:Requirement xmi:id="_66atpzq8EeW79ofuztDyTA" base_Class="_66atpjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.4" text="SysML Notation and DI representation details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=224"/> + <Requirements:Requirement xmi:id="_xaF-8WdTEeWH4tlTg5LI-A" base_Class="_xaF-8GdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-Annex" text="C: Deprecated Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=228"/> + <Requirements:Requirement xmi:id="_66atqzq8EeW79ofuztDyTA" base_Class="_66atqjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=228"/> + <Requirements:Requirement xmi:id="_66atrTq8EeW79ofuztDyTA" base_Class="_66atrDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.1.1" text="Flow Ports details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=228"/> + <Requirements:Requirement xmi:id="_66atrzq8EeW79ofuztDyTA" base_Class="_66atrjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.2" text="Diagram Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=229"/> + <Requirements:Requirement xmi:id="_66bUsTq8EeW79ofuztDyTA" base_Class="_66bUsDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.2.1" text="Block Definition Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=229"/> + <Requirements:Requirement xmi:id="_66bUszq8EeW79ofuztDyTA" base_Class="_66bUsjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.2.2" text="Internal Block Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=230"/> + <Requirements:Requirement xmi:id="_66bUtTq8EeW79ofuztDyTA" base_Class="_66bUtDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.3" text="UML Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=231"/> + <Requirements:Requirement xmi:id="_66bUtzq8EeW79ofuztDyTA" base_Class="_66bUtjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.3.1" text="Diagram Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=231"/> + <Requirements:Requirement xmi:id="_66bUuTq8EeW79ofuztDyTA" base_Class="_66bUuDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.3.1.1" text="FlowPort details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=231"/> + <Requirements:Requirement xmi:id="_66bUuzq8EeW79ofuztDyTA" base_Class="_66bUujq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.3.1.2" text="FlowSpecification details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=231"/> + <Requirements:Requirement xmi:id="_66bUvTq8EeW79ofuztDyTA" base_Class="_66bUvDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.3.2" text="Stereotypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=231"/> + <Requirements:Requirement xmi:id="_66bUvzq8EeW79ofuztDyTA" base_Class="_66bUvjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.3.2.1" text="Package Ports&Flows details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=231"/> + <Requirements:Requirement xmi:id="_66b7wDq8EeW79ofuztDyTA" base_Class="_66bUwDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.3.2.2" text="FlowPort details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=231"/> + <Requirements:Requirement xmi:id="_66b7wjq8EeW79ofuztDyTA" base_Class="_66b7wTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.3.2.3" text="Semantic Variation Points details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=232"/> + <Requirements:Requirement xmi:id="_66b7xDq8EeW79ofuztDyTA" base_Class="_66b7wzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.3.2.4" text="FlowSpecification details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=233"/> + <Requirements:Requirement xmi:id="_66b7xjq8EeW79ofuztDyTA" base_Class="_66b7xTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.3.2.5" text="ItemFlow (deprecated compatibility rule) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=233"/> + <Requirements:Requirement xmi:id="_66b7yDq8EeW79ofuztDyTA" base_Class="_66b7xzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.4" text="Transitioning SysML 1.2 Flow Ports to SysML 1.3 Ports (informative) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=233"/> + <Requirements:Requirement xmi:id="_66b7yjq8EeW79ofuztDyTA" base_Class="_66b7yTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.5" text="Transitioning SysML 1.3 Viewpoint and View to SysML 1.4 (informative) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=234"/> + <Requirements:Requirement xmi:id="_66b7zDq8EeW79ofuztDyTA" base_Class="_66b7yzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.6" text="Transitioning SysML 1.3 Units and QuantityKinds to SysML 1.4 (informative) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=234"/> + <Requirements:Requirement xmi:id="_xaHNEWdTEeWH4tlTg5LI-A" base_Class="_xaHNEGdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-Annex" text="D: Sample Problem details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=236"/> + <Requirements:Requirement xmi:id="_66ci0Tq8EeW79ofuztDyTA" base_Class="_66ci0Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.1" text="Purpose details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=236"/> + <Requirements:Requirement xmi:id="_66ci0zq8EeW79ofuztDyTA" base_Class="_66ci0jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.2" text="Scope details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=236"/> + <Requirements:Requirement xmi:id="_66ci1Tq8EeW79ofuztDyTA" base_Class="_66ci1Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.3" text="Problem Summary details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=236"/> + <Requirements:Requirement xmi:id="_66ci1zq8EeW79ofuztDyTA" base_Class="_66ci1jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4" text="Diagrams details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=237"/> + <Requirements:Requirement xmi:id="_66ci2Tq8EeW79ofuztDyTA" base_Class="_66ci2Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.1" text="Package Overview (Structure of the Sample Model) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=237"/> + <Requirements:Requirement xmi:id="_66ci2zq8EeW79ofuztDyTA" base_Class="_66ci2jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.1.1" text="Package Diagram - Applying the SysML Profile details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=237"/> + <Requirements:Requirement xmi:id="_66ci3Tq8EeW79ofuztDyTA" base_Class="_66ci3Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.1.2" text="Package Diagram - Showing Package Structure of the Model details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=238"/> + <Requirements:Requirement xmi:id="_66dJ4Dq8EeW79ofuztDyTA" base_Class="_66ci3jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.2" text="Setting the Context (Boundaries and Use Cases) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=239"/> + <Requirements:Requirement xmi:id="_66dJ4jq8EeW79ofuztDyTA" base_Class="_66dJ4Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.2.1" text="Internal Block Diagram - Setting Context details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=239"/> + <Requirements:Requirement xmi:id="_66dJ5Dq8EeW79ofuztDyTA" base_Class="_66dJ4zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.2.2" text="Use Case Diagram - Top Level Use Cases details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=240"/> + <Requirements:Requirement xmi:id="_66dJ5jq8EeW79ofuztDyTA" base_Class="_66dJ5Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.2.3" text="Use Case Diagram - Operational Use Cases details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=241"/> + <Requirements:Requirement xmi:id="_66dJ6Dq8EeW79ofuztDyTA" base_Class="_66dJ5zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.3" text="Elaborating Behavior (Sequence and State Machine Diagrams) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=242"/> + <Requirements:Requirement xmi:id="_66dJ6jq8EeW79ofuztDyTA" base_Class="_66dJ6Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.3.1" text="Sequence Diagram - Drive Black Box details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=242"/> + <Requirements:Requirement xmi:id="_66dJ7Dq8EeW79ofuztDyTA" base_Class="_66dJ6zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.3.2" text="State Machine Diagram - HSUV Operational States details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=243"/> + <Requirements:Requirement xmi:id="_66dJ7jq8EeW79ofuztDyTA" base_Class="_66dJ7Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.3.3" text="Sequence Diagram - Start Vehicle Black Box & White Box details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=244"/> + <Requirements:Requirement xmi:id="_66dw8Tq8EeW79ofuztDyTA" base_Class="_66dw8Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.4" text="Establishing Requirements (Requirements Diagrams and Tables) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=245"/> + <Requirements:Requirement xmi:id="_66dw8zq8EeW79ofuztDyTA" base_Class="_66dw8jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.4.1" text="Requirement Diagram - HSUV Requirement Hierarchy details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=245"/> + <Requirements:Requirement xmi:id="_66dw9Tq8EeW79ofuztDyTA" base_Class="_66dw9Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.4.2" text="Requirement Diagram - Derived Requirements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=246"/> + <Requirements:Requirement xmi:id="_66dw9zq8EeW79ofuztDyTA" base_Class="_66dw9jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.4.3" text="Requirement Diagram - Acceleration Requirement Relationships details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=247"/> + <Requirements:Requirement xmi:id="_66dw-Tq8EeW79ofuztDyTA" base_Class="_66dw-Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.4.4" text="Table - Requirements Table details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=248"/> + <Requirements:Requirement xmi:id="_66dw-zq8EeW79ofuztDyTA" base_Class="_66dw-jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.5" text="Breaking Down the Pieces (Block Definition Diagrams, Internal Block Diagrams) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=249"/> + <Requirements:Requirement xmi:id="_66dw_Tq8EeW79ofuztDyTA" base_Class="_66dw_Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.5.1" text="Block Definition Diagram - Automotive Domain details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=249"/> + <Requirements:Requirement xmi:id="_66eYATq8EeW79ofuztDyTA" base_Class="_66eYADq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.5.2" text="Block Definition Diagram - Hybrid SUV details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=250"/> + <Requirements:Requirement xmi:id="_66eYAzq8EeW79ofuztDyTA" base_Class="_66eYAjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.5.3" text="Internal Block Diagram - Hybrid SUV details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=251"/> + <Requirements:Requirement xmi:id="_66eYBTq8EeW79ofuztDyTA" base_Class="_66eYBDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.5.4" text="Block Definition Diagram - Power Subsystem details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=251"/> + <Requirements:Requirement xmi:id="_66eYBzq8EeW79ofuztDyTA" base_Class="_66eYBjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.5.5" text="Internal Block Diagram for the âPower Subsystemâ details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=252"/> + <Requirements:Requirement xmi:id="_66eYCTq8EeW79ofuztDyTA" base_Class="_66eYCDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.6" text="Defining Ports and Flows details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=253"/> + <Requirements:Requirement xmi:id="_66eYCzq8EeW79ofuztDyTA" base_Class="_66eYCjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.6.1" text="Block Definition Diagram - ICE Flow Properties details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=253"/> + <Requirements:Requirement xmi:id="_66e_EDq8EeW79ofuztDyTA" base_Class="_66eYDDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.6.2" text="Internal Block Diagram - CANbus details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=254"/> + <Requirements:Requirement xmi:id="_66e_Ejq8EeW79ofuztDyTA" base_Class="_66e_ETq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.6.3" text="Block Definition Diagram - Fuel Flow Properties details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=255"/> + <Requirements:Requirement xmi:id="_66e_FDq8EeW79ofuztDyTA" base_Class="_66e_Ezq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.6.4" text="Parametric Diagram - Fuel Flow details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=255"/> + <Requirements:Requirement xmi:id="_66e_Fjq8EeW79ofuztDyTA" base_Class="_66e_FTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.6.5" text="Internal Block Diagram - Fuel Distribution details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=256"/> + <Requirements:Requirement xmi:id="_66e_GDq8EeW79ofuztDyTA" base_Class="_66e_Fzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.7" text="Analyze Performance (Constraint Diagrams, Timing Diagrams, Views) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=256"/> + <Requirements:Requirement xmi:id="_66e_Gjq8EeW79ofuztDyTA" base_Class="_66e_GTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.7.1" text="Block Definition Diagram - Analysis Context details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=256"/> + <Requirements:Requirement xmi:id="_66fmITq8EeW79ofuztDyTA" base_Class="_66fmIDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.7.2" text="Package Diagram - Performance View Definition details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=257"/> + <Requirements:Requirement xmi:id="_66fmIzq8EeW79ofuztDyTA" base_Class="_66fmIjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.7.3" text="Package Diagram - Viewpoint Definition details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=258"/> + <Requirements:Requirement xmi:id="_66fmJTq8EeW79ofuztDyTA" base_Class="_66fmJDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.7.4" text="Package Diagram - View Definition details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=259"/> + <Requirements:Requirement xmi:id="_66fmJzq8EeW79ofuztDyTA" base_Class="_66fmJjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.7.5" text="Package Diagram - View Hierarchy details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=260"/> + <Requirements:Requirement xmi:id="_66fmKTq8EeW79ofuztDyTA" base_Class="_66fmKDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.7.6" text="Parametric Diagram - Measures of Effectiveness details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=261"/> + <Requirements:Requirement xmi:id="_66fmKzq8EeW79ofuztDyTA" base_Class="_66fmKjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.7.7" text="Parametric Diagram - Economy details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=262"/> + <Requirements:Requirement xmi:id="_66fmLTq8EeW79ofuztDyTA" base_Class="_66fmLDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.7.8" text="Parametric Diagram - Dynamics details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=263"/> + <Requirements:Requirement xmi:id="_66gNMDq8EeW79ofuztDyTA" base_Class="_66fmLjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.7.9" text="(Non-Normative) Timing Diagram - 100hp Acceleration details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=265"/> + <Requirements:Requirement xmi:id="_66gNMjq8EeW79ofuztDyTA" base_Class="_66gNMTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.8" text="Defining, Decomposing, and Allocating Activities details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=267"/> + <Requirements:Requirement xmi:id="_66gNNDq8EeW79ofuztDyTA" base_Class="_66gNMzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.8.1" text="Activity Diagram - Acceleration (top level) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=267"/> + <Requirements:Requirement xmi:id="_66gNNjq8EeW79ofuztDyTA" base_Class="_66gNNTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.8.2" text="Block Definition Diagram - Acceleration details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=268"/> + <Requirements:Requirement xmi:id="_66gNODq8EeW79ofuztDyTA" base_Class="_66gNNzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.8.3" text="Activity Diagram (EFFBD) - Acceleration (detail) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=268"/> + <Requirements:Requirement xmi:id="_66gNOjq8EeW79ofuztDyTA" base_Class="_66gNOTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.8.4" text="Internal Block Diagram - Power Subsystem Behavioral and Flow Allocation details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=269"/> + <Requirements:Requirement xmi:id="_66gNPDq8EeW79ofuztDyTA" base_Class="_66gNOzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.8.5" text="Table - Acceleration Allocation details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=270"/> + <Requirements:Requirement xmi:id="_66gNPjq8EeW79ofuztDyTA" base_Class="_66gNPTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.8.6" text="Internal Block Diagram: Property Specific Values - EPA Fuel Economy Test details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=270"/> + <Requirements:Requirement xmi:id="_xaJpUWdTEeWH4tlTg5LI-A" base_Class="_xaJpUGdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-Annex" text="E: Non-normative Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=272"/> + <Requirements:Requirement xmi:id="_66g0Qzq8EeW79ofuztDyTA" base_Class="_66g0Qjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=272"/> + <Requirements:Requirement xmi:id="_66g0RTq8EeW79ofuztDyTA" base_Class="_66g0RDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.2" text="Activity Diagram Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=272"/> + <Requirements:Requirement xmi:id="_66g0Rzq8EeW79ofuztDyTA" base_Class="_66g0Rjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.2.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=272"/> + <Requirements:Requirement xmi:id="_66g0STq8EeW79ofuztDyTA" base_Class="_66g0SDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.2.2" text="Stereotypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=272"/> + <Requirements:Requirement xmi:id="_66g0Szq8EeW79ofuztDyTA" base_Class="_66g0Sjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.2.3" text="Stereotype Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=273"/> + <Requirements:Requirement xmi:id="_66g0TTq8EeW79ofuztDyTA" base_Class="_66g0TDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.3" text="Requirements Diagram Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=275"/> + <Requirements:Requirement xmi:id="_66g0Tzq8EeW79ofuztDyTA" base_Class="_66g0Tjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.3.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=275"/> + <Requirements:Requirement xmi:id="_66hbUTq8EeW79ofuztDyTA" base_Class="_66hbUDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.3.2" text="Stereotypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=275"/> + <Requirements:Requirement xmi:id="_66hbUzq8EeW79ofuztDyTA" base_Class="_66hbUjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.3.3" text="Stereotype Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=276"/> + <Requirements:Requirement xmi:id="_66hbVTq8EeW79ofuztDyTA" base_Class="_66hbVDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.4" text="Parametric Diagram Extensions for Trade Studies details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=277"/> + <Requirements:Requirement xmi:id="_66hbVzq8EeW79ofuztDyTA" base_Class="_66hbVjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.4.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=277"/> + <Requirements:Requirement xmi:id="_66hbWTq8EeW79ofuztDyTA" base_Class="_66hbWDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.4.2" text="Stereotypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=278"/> + <Requirements:Requirement xmi:id="_66hbWzq8EeW79ofuztDyTA" base_Class="_66hbWjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.4.3" text="Stereotype Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=278"/> + <Requirements:Requirement xmi:id="_66hbXTq8EeW79ofuztDyTA" base_Class="_66hbXDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5" text="Model Library for Quantities, Units, Dimensions, and Values (QUDV) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=279"/> + <Requirements:Requirement xmi:id="_66iCYDq8EeW79ofuztDyTA" base_Class="_66hbXjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=279"/> + <Requirements:Requirement xmi:id="_66iCYjq8EeW79ofuztDyTA" base_Class="_66iCYTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2" text="Abstract Syntax details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=279"/> + <Requirements:Requirement xmi:id="_66iCZDq8EeW79ofuztDyTA" base_Class="_66iCYzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.1" text="AffineConversionUnit details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=282"/> + <Requirements:Requirement xmi:id="_66iCZjq8EeW79ofuztDyTA" base_Class="_66iCZTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.2" text="ConversionBasedUnit details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=282"/> + <Requirements:Requirement xmi:id="_66iCaDq8EeW79ofuztDyTA" base_Class="_66iCZzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.3" text="DerivedQuantityKind details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=282"/> + <Requirements:Requirement xmi:id="_66iCajq8EeW79ofuztDyTA" base_Class="_66iCaTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.4" text="DerivedUnit details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=283"/> + <Requirements:Requirement xmi:id="_66iCbDq8EeW79ofuztDyTA" base_Class="_66iCazq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.5" text="Dimension details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=284"/> + <Requirements:Requirement xmi:id="_66ipcDq8EeW79ofuztDyTA" base_Class="_66iCbTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.6" text="GeneralConversionUnit details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=284"/> + <Requirements:Requirement xmi:id="_66ipcjq8EeW79ofuztDyTA" base_Class="_66ipcTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.7" text="LinearConversionUnit details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=285"/> + <Requirements:Requirement xmi:id="_66ipdDq8EeW79ofuztDyTA" base_Class="_66ipczq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.8" text="Prefix details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=285"/> + <Requirements:Requirement xmi:id="_66ipdjq8EeW79ofuztDyTA" base_Class="_66ipdTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.9" text="PrefixedUnit details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=285"/> + <Requirements:Requirement xmi:id="_66ipeDq8EeW79ofuztDyTA" base_Class="_66ipdzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.10" text="QuantityKind details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=286"/> + <Requirements:Requirement xmi:id="_66ipejq8EeW79ofuztDyTA" base_Class="_66ipeTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.11" text="QuantityKindFactor details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=287"/> + <Requirements:Requirement xmi:id="_66jQgDq8EeW79ofuztDyTA" base_Class="_66ipezq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.12" text="Rational details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=287"/> + <Requirements:Requirement xmi:id="_66jQgjq8EeW79ofuztDyTA" base_Class="_66jQgTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.13" text="SimpleQuantityKind details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=288"/> + <Requirements:Requirement xmi:id="_66jQhDq8EeW79ofuztDyTA" base_Class="_66jQgzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.14" text="SimpleUnit details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=288"/> + <Requirements:Requirement xmi:id="_66jQhjq8EeW79ofuztDyTA" base_Class="_66jQhTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.15" text="SystemOfQuantities details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=288"/> + <Requirements:Requirement xmi:id="_66j3kDq8EeW79ofuztDyTA" base_Class="_66jQhzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.16" text="SystemOfUnits details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=293"/> + <Requirements:Requirement xmi:id="_66j3kjq8EeW79ofuztDyTA" base_Class="_66j3kTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.17" text="Unit details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=297"/> + <Requirements:Requirement xmi:id="_66j3lDq8EeW79ofuztDyTA" base_Class="_66j3kzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.18" text="UnitFactor details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=297"/> + <Requirements:Requirement xmi:id="_66j3ljq8EeW79ofuztDyTA" base_Class="_66j3lTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.3" text="References details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=298"/> + <Requirements:Requirement xmi:id="_66j3mDq8EeW79ofuztDyTA" base_Class="_66j3lzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.4" text="Usage Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=298"/> + <Requirements:Requirement xmi:id="_66keoTq8EeW79ofuztDyTA" base_Class="_66keoDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.4.1" text="SI Unit and QuantityKind examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=298"/> + <Requirements:Requirement xmi:id="_66keozq8EeW79ofuztDyTA" base_Class="_66keojq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.4.2" text="Spring Example details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=300"/> + <Requirements:Requirement xmi:id="_66kepTq8EeW79ofuztDyTA" base_Class="_66kepDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6" text="Model Library of SysML Quantity Kinds and Units for ISO 80000 details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=300"/> + <Requirements:Requirement xmi:id="_66kepzq8EeW79ofuztDyTA" base_Class="_66kepjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=300"/> + <Requirements:Requirement xmi:id="_66lFsDq8EeW79ofuztDyTA" base_Class="_66keqDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6.2" text="Units and Quantity Kinds details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=301"/> + <Requirements:Requirement xmi:id="_66lFsjq8EeW79ofuztDyTA" base_Class="_66lFsTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6.3" text="ISO 80000-1 Prefixes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=308"/> + <Requirements:Requirement xmi:id="_66lFtDq8EeW79ofuztDyTA" base_Class="_66lFszq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6.4" text="ISO 80000-2 Mathematical Signs and Symbols details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=310"/> + <Requirements:Requirement xmi:id="_66lFtjq8EeW79ofuztDyTA" base_Class="_66lFtTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6.5" text="Summary of the covered parts of ISO 80000 details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=311"/> + <Requirements:Requirement xmi:id="_66lFuDq8EeW79ofuztDyTA" base_Class="_66lFtzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6.5.1" text="ISO 80000-3 Space and Time details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=311"/> + <Requirements:Requirement xmi:id="_66lswDq8EeW79ofuztDyTA" base_Class="_66lFuTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6.5.2" text="ISO 80000-4 Mechanics details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=315"/> + <Requirements:Requirement xmi:id="_66lswjq8EeW79ofuztDyTA" base_Class="_66lswTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6.5.3" text="ISO 80000-5 Thermodynamics details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=321"/> + <Requirements:Requirement xmi:id="_66lsxDq8EeW79ofuztDyTA" base_Class="_66lswzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6.5.4" text="ISO 80000-6 Electromagnetism details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=327"/> + <Requirements:Requirement xmi:id="_66lsxjq8EeW79ofuztDyTA" base_Class="_66lsxTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6.5.5" text="ISO 80000-7 Light details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=334"/> + <Requirements:Requirement xmi:id="_66lsyDq8EeW79ofuztDyTA" base_Class="_66lsxzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6.5.6" text="ISO 80000-9 Physical Chemistry and Molecular Physic details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=335"/> + <Requirements:Requirement xmi:id="_66mT0Dq8EeW79ofuztDyTA" base_Class="_66lsyTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6.5.7" text="ISO 80000-10 Atomic and Nuclear Physics details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=336"/> + <Requirements:Requirement xmi:id="_66mT0jq8EeW79ofuztDyTA" base_Class="_66mT0Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6.5.8" text="ISO 80000-13 Information Science and Technology details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=336"/> + <Requirements:Requirement xmi:id="_66mT1Dq8EeW79ofuztDyTA" base_Class="_66mT0zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.7" text="Distribution Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=337"/> + <Requirements:Requirement xmi:id="_66mT1jq8EeW79ofuztDyTA" base_Class="_66mT1Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.7.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=337"/> + <Requirements:Requirement xmi:id="_66mT2Dq8EeW79ofuztDyTA" base_Class="_66mT1zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.7.2" text="Stereotypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=337"/> + <Requirements:Requirement xmi:id="_66m64Dq8EeW79ofuztDyTA" base_Class="_66mT2Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.7.2.1" text="Package Distributions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=337"/> + <Requirements:Requirement xmi:id="_66m64jq8EeW79ofuztDyTA" base_Class="_66m64Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.7.3" text="Usage Example details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=339"/> + <Requirements:Requirement xmi:id="_xaTaUWdTEeWH4tlTg5LI-A" base_Class="_xaTaUGdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-Annex" text="F: Requirements Traceability details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=340"/> + <Requirements:Requirement xmi:id="_xaTaU2dTEeWH4tlTg5LI-A" base_Class="_xaTaUmdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-Annex" text="G: Model Interchange details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=342"/> + <Requirements:Requirement xmi:id="_66m66Dq8EeW79ofuztDyTA" base_Class="_66m65zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-G.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=342"/> + <Requirements:Requirement xmi:id="_66m66jq8EeW79ofuztDyTA" base_Class="_66m66Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-G.2" text="Context for Model Interchange details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=342"/> + <Requirements:Requirement xmi:id="_66nh8Tq8EeW79ofuztDyTA" base_Class="_66nh8Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-G.3" text="XMI Serialization of SysML details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=342"/> + <Requirements:Requirement xmi:id="_66nh8zq8EeW79ofuztDyTA" base_Class="_66nh8jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-G.4" text="SysML Model Interchange Using AP233 details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=343"/> + <Requirements:Requirement xmi:id="_66nh9Tq8EeW79ofuztDyTA" base_Class="_66nh9Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-G.4.1" text="Scope of AP233 details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=343"/> + <Requirements:Requirement xmi:id="_66nh9zq8EeW79ofuztDyTA" base_Class="_66nh9jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-G.4.2" text="STEP Architecture details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=344"/> + <Requirements:Requirement xmi:id="_66nh-Tq8EeW79ofuztDyTA" base_Class="_66nh-Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-G.4.3" text="EXPRESS details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=344"/> + <Requirements:Requirement xmi:id="_66oJATq8EeW79ofuztDyTA" base_Class="_66oJADq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-G.4.4" text="SysML-AP233 Mapping details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=345"/> +</xmi:XMI>
diff --git a/core/org.eclipse.papyrus.sysml14/resources/doc/omg.sysml14.req.tsv b/core/org.eclipse.papyrus.sysml/resources/doc/omg.sysml14.req.tsv similarity index 100% rename from core/org.eclipse.papyrus.sysml14/resources/doc/omg.sysml14.req.tsv rename to core/org.eclipse.papyrus.sysml/resources/doc/omg.sysml14.req.tsv
diff --git a/core/org.eclipse.papyrus.sysml14/resources/doc/org.eclipse.papyrus.sysml14.di b/core/org.eclipse.papyrus.sysml/resources/doc/org.eclipse.papyrus.sysml14.di similarity index 100% rename from core/org.eclipse.papyrus.sysml14/resources/doc/org.eclipse.papyrus.sysml14.di rename to core/org.eclipse.papyrus.sysml/resources/doc/org.eclipse.papyrus.sysml14.di
diff --git a/core/org.eclipse.papyrus.sysml/resources/doc/org.eclipse.papyrus.sysml14.notation b/core/org.eclipse.papyrus.sysml/resources/doc/org.eclipse.papyrus.sysml14.notation new file mode 100644 index 0000000..2a701b2 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/resources/doc/org.eclipse.papyrus.sysml14.notation
@@ -0,0 +1,1807 @@ +<?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:configuration="http://www.eclipse.org/papyrus/infra/viewpoints/configuration" xmlns:css="http://www.eclipse.org/papyrus/infra/gmfdiag/css" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:nattable="http://www.eclipse.org/papyrus/nattable/model" xmlns:nattableaxis="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis" xmlns:nattableaxisconfiguration="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration" xmlns:nattableaxisprovider="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider" xmlns:nattableconfiguration="http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:style_1="http://www.eclipse.org/papyrus/infra/gmfdiag/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis http://www.eclipse.org/papyrus/nattable/model#//nattableaxis http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration http://www.eclipse.org/papyrus/nattable/model#//nattableaxisconfiguration http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider http://www.eclipse.org/papyrus/nattable/model#//nattableaxisprovider http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration http://www.eclipse.org/papyrus/nattable/model#//nattableconfiguration"> + <notation:Diagram xmi:id="_PzEKoJsTEeSu6pfLknKE4A" type="PapyrusUMLClassDiagram" name="Overview" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_PzEKoZsTEeSu6pfLknKE4A" type="Model_Shape"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_hinhEJvNEeSpmINNlcjABQ" source="PapyrusHyperLink_Page"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hinhEZvNEeSpmINNlcjABQ" key="tooltip_text" value="Requirements"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hinhEpvNEeSpmINNlcjABQ" key="pageName" value="PapyrusHyperLink_Page"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hinhE5vNEeSpmINNlcjABQ" key="is_default_navigation" value="true"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_PzEKopsTEeSu6pfLknKE4A" type="Model_NameLabel"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_MHFY0FdZEee6UuspFlbpuA" type="Model_PackagedElementCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_PzEKpJsTEeSu6pfLknKE4A"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_PzEKpZsTEeSu6pfLknKE4A"/> + </children> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.uml#_Py6ZopsTEeSu6pfLknKE4A"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_PzEKppsTEeSu6pfLknKE4A" x="201" y="38"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_PzEKp5sTEeSu6pfLknKE4A" type="Model_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_PzEKqJsTEeSu6pfLknKE4A" type="Model_NameLabel"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_MHH1EFdZEee6UuspFlbpuA" type="Model_PackagedElementCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_PzEKqpsTEeSu6pfLknKE4A"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_PzEKq5sTEeSu6pfLknKE4A"/> + </children> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.uml#_Py6Zo5sTEeSu6pfLknKE4A"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_PzEKrJsTEeSu6pfLknKE4A" x="204" y="173"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_PzEKrZsTEeSu6pfLknKE4A" type="Model_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_PzEKrpsTEeSu6pfLknKE4A" type="Model_NameLabel"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_MHIcIFdZEee6UuspFlbpuA" type="Model_PackagedElementCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_PzEKsJsTEeSu6pfLknKE4A"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_PzEKsZsTEeSu6pfLknKE4A"/> + </children> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.uml#_Py6ZppsTEeSu6pfLknKE4A"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_PzEKspsTEeSu6pfLknKE4A" x="206" y="329"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_PzEKs5sTEeSu6pfLknKE4A" type="Model_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_PzEKtJsTEeSu6pfLknKE4A" type="Model_NameLabel"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_MHIcIVdZEee6UuspFlbpuA" type="Model_PackagedElementCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_PzEKtpsTEeSu6pfLknKE4A"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_PzEKt5sTEeSu6pfLknKE4A"/> + </children> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.uml#_Py6ZqJsTEeSu6pfLknKE4A"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_PzEKuJsTEeSu6pfLknKE4A" x="633" y="200"/> + </children> + <styles xmi:type="notation:DiagramStyle" xmi:id="_PzEKuZsTEeSu6pfLknKE4A"/> + <styles xmi:type="style:PapyrusViewStyle" xmi:id="_PzEKupsTEeSu6pfLknKE4A"> + <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.uml#_Py6ZoJsTEeSu6pfLknKE4A"/> + <configuration xmi:type="configuration:PapyrusDiagram" href="platform:/plugin/org.eclipse.papyrus.infra.viewpoints.policy/builtin/default.configuration#_7wLmpNxhEeOqHvRyiN87hA"/> + </styles> + <styles xmi:type="notation:StringValueStyle" xmi:id="_Z8sBoCYeEeWtn6hjmtufug" name="diagram_compatibility_version" stringValue="1.3.0"/> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.uml#_Py6ZoJsTEeSu6pfLknKE4A"/> + <edges xmi:type="notation:Connector" xmi:id="_PzEKu5sTEeSu6pfLknKE4A" type="Abstraction_Edge" source="_PzEKp5sTEeSu6pfLknKE4A" target="_PzEKoZsTEeSu6pfLknKE4A"> + <children xmi:type="notation:DecorationNode" xmi:id="_PzEKvJsTEeSu6pfLknKE4A" visible="false" type="Abstraction_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_PzEKvZsTEeSu6pfLknKE4A" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_PzEKvpsTEeSu6pfLknKE4A" visible="false" type="Abstraction_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_PzEKv5sTEeSu6pfLknKE4A" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_PzEKwJsTEeSu6pfLknKE4A"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_Py6ZpJsTEeSu6pfLknKE4A"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_PzEKwZsTEeSu6pfLknKE4A" points="[-2, -10, 8, 48]$[-27, -45, -17, 13]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_PzEKwpsTEeSu6pfLknKE4A" id="(0.305,0.1)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_PzEKw5sTEeSu6pfLknKE4A" id="(0.27,0.87)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_PzEKxJsTEeSu6pfLknKE4A" type="Abstraction_Edge" source="_PzEKrZsTEeSu6pfLknKE4A" target="_PzEKp5sTEeSu6pfLknKE4A"> + <children xmi:type="notation:DecorationNode" xmi:id="_PzEKxZsTEeSu6pfLknKE4A" visible="false" type="Abstraction_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_PzEKxpsTEeSu6pfLknKE4A" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_PzEKx5sTEeSu6pfLknKE4A" visible="false" type="Abstraction_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_PzEKyJsTEeSu6pfLknKE4A" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_PzEKyZsTEeSu6pfLknKE4A"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_Py6Zp5sTEeSu6pfLknKE4A"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_PzEKypsTEeSu6pfLknKE4A" points="[-9, -16, 0, 67]$[-24, -72, -15, 11]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_PzEKy5sTEeSu6pfLknKE4A" id="(0.27,0.16)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_PzEKzJsTEeSu6pfLknKE4A" id="(0.235,0.89)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_PzEKzZsTEeSu6pfLknKE4A" type="Dependency_Edge" source="_PzEKs5sTEeSu6pfLknKE4A" target="_PzEKp5sTEeSu6pfLknKE4A"> + <children xmi:type="notation:DecorationNode" xmi:id="_PzEKzpsTEeSu6pfLknKE4A" visible="false" type="Dependency_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_RHFvAFdZEee6UuspFlbpuA" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_PzEKz5sTEeSu6pfLknKE4A" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_PzEK0JsTEeSu6pfLknKE4A" visible="false" type="Dependency_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_RHjpEFdZEee6UuspFlbpuA" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_PzEK0ZsTEeSu6pfLknKE4A" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_PzEK0psTEeSu6pfLknKE4A"/> + <element xmi:type="uml:Dependency" href="org.eclipse.papyrus.sysml14.uml#_Py6ZqZsTEeSu6pfLknKE4A"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_PzEK05sTEeSu6pfLknKE4A" points="[-46, -20, 265, 113]$[-275, -135, 36, -2]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_PzEK1JsTEeSu6pfLknKE4A" id="(0.0,0.4)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_PzEK1ZsTEeSu6pfLknKE4A" id="(1.0,0.67)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_PzEK1psTEeSu6pfLknKE4A" type="Dependency_Edge" source="_PzEKs5sTEeSu6pfLknKE4A" target="_PzEKrZsTEeSu6pfLknKE4A"> + <children xmi:type="notation:DecorationNode" xmi:id="_PzEK15sTEeSu6pfLknKE4A" visible="false" type="Dependency_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_RH6OYFdZEee6UuspFlbpuA" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_PzEK2JsTEeSu6pfLknKE4A" x="-2" y="37"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_PzEK2ZsTEeSu6pfLknKE4A" visible="false" type="Dependency_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_RIKGAFdZEee6UuspFlbpuA" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_PzEK2psTEeSu6pfLknKE4A" x="2" y="57"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_PzEK25sTEeSu6pfLknKE4A"/> + <element xmi:type="uml:Dependency" href="org.eclipse.papyrus.sysml14.uml#_Py6ZqpsTEeSu6pfLknKE4A"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_PzEK3JsTEeSu6pfLknKE4A" points="[-40, 1, 262, -12]$[-267, 20, 35, 7]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_PzEK3ZsTEeSu6pfLknKE4A" id="(0.0,0.6)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_PzEK3psTEeSu6pfLknKE4A" id="(1.0,0.71)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_dAKZsCYeEeWtn6hjmtufug" type="Dependency_Edge" source="_PzEKs5sTEeSu6pfLknKE4A" target="_PzEKoZsTEeSu6pfLknKE4A"> + <children xmi:type="notation:DecorationNode" xmi:id="_dAM18CYeEeWtn6hjmtufug" type="Dependency_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_RIjuoFdZEee6UuspFlbpuA" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_dAM18SYeEeWtn6hjmtufug" x="-1" y="38"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_dANdACYeEeWtn6hjmtufug" type="Dependency_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_RI00YFdZEee6UuspFlbpuA" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_dANdASYeEeWtn6hjmtufug" x="-1" y="58"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_dAKZsSYeEeWtn6hjmtufug"/> + <element xmi:type="uml:Dependency" href="org.eclipse.papyrus.sysml14.uml#_c_gSYCYeEeWtn6hjmtufug"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_dAKZsiYeEeWtn6hjmtufug" points="[-12, -10, 269, 232]$[-259, -241, 22, 1]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_dA-SACYeEeWtn6hjmtufug" id="(0.0,0.2)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_dA-5ECYeEeWtn6hjmtufug" id="(1.0,0.62)"/> + </edges> + </notation:Diagram> + <css:ModelStyleSheets xmi:id="_25Gy8JvMEeSpmINNlcjABQ"/> + <notation:Diagram xmi:id="_mg0i0EvJEeWZWeCQhncKfA" type="PapyrusUMLClassDiagram" name="Tests requirements" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_tx5jwEvJEeWZWeCQhncKfA" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_tx6x4EvJEeWZWeCQhncKfA" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_tx6x4UvJEeWZWeCQhncKfA" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_tx6x4kvJEeWZWeCQhncKfA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_tx91MEvJEeWZWeCQhncKfA" visible="false" type="Class_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_tx91MUvJEeWZWeCQhncKfA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_tx91MkvJEeWZWeCQhncKfA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_tx91M0vJEeWZWeCQhncKfA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_tx91NEvJEeWZWeCQhncKfA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_tx-cQEvJEeWZWeCQhncKfA" type="Class_OperationCompartment"> + <children xmi:type="notation:Shape" xmi:id="_hIE4UEvQEeW7GL09oTsTMQ" type="Operation_ClassOperationLabel"> + <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_hHaxAEvQEeW7GL09oTsTMQ"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_hIE4UUvQEeW7GL09oTsTMQ"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_kvRBcEvQEeW7GL09oTsTMQ" type="Operation_ClassOperationLabel"> + <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_kvCX8EvQEeW7GL09oTsTMQ"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_kvRBcUvQEeW7GL09oTsTMQ"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_lZuTsEvQEeW7GL09oTsTMQ" type="Operation_ClassOperationLabel"> + <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_lZitgEvQEeW7GL09oTsTMQ"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_lZuTsUvQEeW7GL09oTsTMQ"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_lwNhEEvQEeW7GL09oTsTMQ" type="Operation_ClassOperationLabel"> + <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_lwB64EvQEeW7GL09oTsTMQ"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_lwNhEUvQEeW7GL09oTsTMQ"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_mFZG4EvQEeW7GL09oTsTMQ" type="Operation_ClassOperationLabel"> + <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_mFLrgEvQEeW7GL09oTsTMQ"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_mFZG4UvQEeW7GL09oTsTMQ"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_mYY7YEvQEeW7GL09oTsTMQ" type="Operation_ClassOperationLabel"> + <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_mYLgAEvQEeW7GL09oTsTMQ"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_mYY7YUvQEeW7GL09oTsTMQ"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_ms06UEvQEeW7GL09oTsTMQ" type="Operation_ClassOperationLabel"> + <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_msotEEvQEeW7GL09oTsTMQ"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ms06UUvQEeW7GL09oTsTMQ"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_tx-cQUvJEeWZWeCQhncKfA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_tx-cQkvJEeWZWeCQhncKfA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_tx-cQ0vJEeWZWeCQhncKfA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_tx-cREvJEeWZWeCQhncKfA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_tx-cRUvJEeWZWeCQhncKfA" visible="false" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_tx-cRkvJEeWZWeCQhncKfA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_tx-cR0vJEeWZWeCQhncKfA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_tx-cSEvJEeWZWeCQhncKfA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_tx-cSUvJEeWZWeCQhncKfA"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_5TRa0JoPEeeXz9m6CNxSgg" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_5TSB4JoPEeeXz9m6CNxSgg" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_5TTQAJoPEeeXz9m6CNxSgg" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_5TUeIJoPEeeXz9m6CNxSgg" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_5TVFMJoPEeeXz9m6CNxSgg" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_5TW6YJoPEeeXz9m6CNxSgg" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_5TYIgJoPEeeXz9m6CNxSgg" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_5TZWoJoPEeeXz9m6CNxSgg" type="Parameters"/> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_tx15YEvJEeWZWeCQhncKfA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_tx5jwUvJEeWZWeCQhncKfA" x="81" y="314" width="173" height="143"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_0Yv78EvJEeWZWeCQhncKfA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_0Yv78UvJEeWZWeCQhncKfA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_0Yv780vJEeWZWeCQhncKfA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_zFDfcEvJEeWZWeCQhncKfA"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0Yv78kvJEeWZWeCQhncKfA" x="281" y="214"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_LaRW0EvKEeWZWeCQhncKfA" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_LaRW0kvKEeWZWeCQhncKfA" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_LaRW00vKEeWZWeCQhncKfA" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_LaRW1EvKEeWZWeCQhncKfA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_LaR94EvKEeWZWeCQhncKfA" visible="false" type="Class_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_LaR94UvKEeWZWeCQhncKfA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_LaR94kvKEeWZWeCQhncKfA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_LaR940vKEeWZWeCQhncKfA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LaR95EvKEeWZWeCQhncKfA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_LaR95UvKEeWZWeCQhncKfA" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_LaR95kvKEeWZWeCQhncKfA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_LaR950vKEeWZWeCQhncKfA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_LaR96EvKEeWZWeCQhncKfA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LaR96UvKEeWZWeCQhncKfA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_LaR96kvKEeWZWeCQhncKfA" visible="false" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_LaR960vKEeWZWeCQhncKfA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_LaR97EvKEeWZWeCQhncKfA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_LaR97UvKEeWZWeCQhncKfA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LaR97kvKEeWZWeCQhncKfA"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_5TrDcJoPEeeXz9m6CNxSgg" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="_5TrDcZoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5TrDcpoPEeeXz9m6CNxSgg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_5TwjAJoPEeeXz9m6CNxSgg" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="_5TwjAZoPEeeXz9m6CNxSgg"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_5TwjApoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5TwjA5oPEeeXz9m6CNxSgg"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_5TzmUJoPEeeXz9m6CNxSgg" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_5T00cJoPEeeXz9m6CNxSgg" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_5T2CkJoPEeeXz9m6CNxSgg" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_5T3QsJoPEeeXz9m6CNxSgg" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_5T4e0JoPEeeXz9m6CNxSgg" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_5T5s8JoPEeeXz9m6CNxSgg" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_5T67EJoPEeeXz9m6CNxSgg" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_5T8wQJoPEeeXz9m6CNxSgg" type="Parameters"/> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_7YhKcEvJEeWZWeCQhncKfA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LaRW0UvKEeWZWeCQhncKfA" x="75" y="162" height="57"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_Lak40EvKEeWZWeCQhncKfA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_Lak40UvKEeWZWeCQhncKfA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Lak400vKEeWZWeCQhncKfA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_7YhKcEvJEeWZWeCQhncKfA"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Lak40kvKEeWZWeCQhncKfA" x="200"/> + </children> + <styles xmi:type="notation:StringValueStyle" xmi:id="_mg0i0UvJEeWZWeCQhncKfA" name="diagram_compatibility_version" stringValue="1.3.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_mg0i0kvJEeWZWeCQhncKfA"/> + <styles xmi:type="style_1:PapyrusDiagramStyle" xmi:id="_5SGWIJoPEeeXz9m6CNxSgg" diagramKindId="org.eclipse.papyrus.uml.diagram.class"> + <owner xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_gcnOkEvSEeW7GL09oTsTMQ"/> + </styles> + <element xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_gcnOkEvSEeW7GL09oTsTMQ"/> + <edges xmi:type="notation:Connector" xmi:id="_zFMCUEvJEeWZWeCQhncKfA" type="Abstraction_Edge" source="_tx5jwEvJEeWZWeCQhncKfA" target="_LaRW0EvKEeWZWeCQhncKfA"> + <children xmi:type="notation:DecorationNode" xmi:id="_zFMpYEvJEeWZWeCQhncKfA" type="Abstraction_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_zFMpYUvJEeWZWeCQhncKfA" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_zFMpYkvJEeWZWeCQhncKfA" type="Abstraction_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_zFMpY0vJEeWZWeCQhncKfA" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_zFMCUUvJEeWZWeCQhncKfA"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_zFDfcEvJEeWZWeCQhncKfA"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_zFMCUkvJEeWZWeCQhncKfA" points="[2, -9, -46, 176]$[43, -173, -5, 12]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zG3dUEvJEeWZWeCQhncKfA" id="(0.6184971098265896,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zG4EYEvJEeWZWeCQhncKfA" id="(0.551219512195122,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_0Yv79EvJEeWZWeCQhncKfA" type="StereotypeCommentLink" source="_zFMCUEvJEeWZWeCQhncKfA" target="_0Yv78EvJEeWZWeCQhncKfA"> + <styles xmi:type="notation:FontStyle" xmi:id="_0Yv79UvJEeWZWeCQhncKfA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_0YwjAEvJEeWZWeCQhncKfA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_zFDfcEvJEeWZWeCQhncKfA"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_0Yv79kvJEeWZWeCQhncKfA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_0Yv790vJEeWZWeCQhncKfA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_0Yv7-EvJEeWZWeCQhncKfA"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_Lalf4EvKEeWZWeCQhncKfA" type="StereotypeCommentLink" source="_LaRW0EvKEeWZWeCQhncKfA" target="_Lak40EvKEeWZWeCQhncKfA"> + <styles xmi:type="notation:FontStyle" xmi:id="_Lalf4UvKEeWZWeCQhncKfA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Lalf5UvKEeWZWeCQhncKfA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_7YhKcEvJEeWZWeCQhncKfA"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Lalf4kvKEeWZWeCQhncKfA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Lalf40vKEeWZWeCQhncKfA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Lalf5EvKEeWZWeCQhncKfA"/> + </edges> + </notation:Diagram> + <notation:Diagram xmi:id="_cRvUIEvTEeW7GL09oTsTMQ" type="PapyrusUMLClassDiagram" name="Tests modelelements" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_ek9T8EvTEeW7GL09oTsTMQ" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_ek97AEvTEeW7GL09oTsTMQ" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_ek97AUvTEeW7GL09oTsTMQ" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ek97AkvTEeW7GL09oTsTMQ" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_ek97A0vTEeW7GL09oTsTMQ" visible="false" type="Class_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_ek97BEvTEeW7GL09oTsTMQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_ek97BUvTEeW7GL09oTsTMQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_ek97BkvTEeW7GL09oTsTMQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ek97B0vTEeW7GL09oTsTMQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_ek97CEvTEeW7GL09oTsTMQ" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_ek97CUvTEeW7GL09oTsTMQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_ek97CkvTEeW7GL09oTsTMQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_ek97C0vTEeW7GL09oTsTMQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ek97DEvTEeW7GL09oTsTMQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_ek-iEEvTEeW7GL09oTsTMQ" visible="false" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_ek-iEUvTEeW7GL09oTsTMQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_ek-iEkvTEeW7GL09oTsTMQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_ek-iE0vTEeW7GL09oTsTMQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ek-iFEvTEeW7GL09oTsTMQ"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_9CVtkJoPEeeXz9m6CNxSgg" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="_9CVtkZoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9CVtkpoPEeeXz9m6CNxSgg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_9CZ_AJoPEeeXz9m6CNxSgg" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="_9CZ_AZoPEeeXz9m6CNxSgg"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_9CZ_ApoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9CZ_A5oPEeeXz9m6CNxSgg"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_9Cb0MJoPEeeXz9m6CNxSgg" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_9CdCUJoPEeeXz9m6CNxSgg" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_9CdpYJoPEeeXz9m6CNxSgg" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_9CeQcJoPEeeXz9m6CNxSgg" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_9Ce3gJoPEeeXz9m6CNxSgg" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_9CfekJoPEeeXz9m6CNxSgg" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_9CgFoJoPEeeXz9m6CNxSgg" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_9ChTwJoPEeeXz9m6CNxSgg" type="Parameters"/> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_v8yNUEvREeW7GL09oTsTMQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ek9T8UvTEeW7GL09oTsTMQ" x="113" y="46" width="228" height="55"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_elSEE0vTEeW7GL09oTsTMQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_elSEFEvTEeW7GL09oTsTMQ" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_elSrIEvTEeW7GL09oTsTMQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_v8yNUEvREeW7GL09oTsTMQ"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_elSEFUvTEeW7GL09oTsTMQ" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_hdGlwEvTEeW7GL09oTsTMQ" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_hdGlwkvTEeW7GL09oTsTMQ" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_hdGlw0vTEeW7GL09oTsTMQ" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_hdGlxEvTEeW7GL09oTsTMQ" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_hdHM0EvTEeW7GL09oTsTMQ" visible="false" type="Class_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_hdHM0UvTEeW7GL09oTsTMQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_hdHM0kvTEeW7GL09oTsTMQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_hdHM00vTEeW7GL09oTsTMQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hdHM1EvTEeW7GL09oTsTMQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_hdHM1UvTEeW7GL09oTsTMQ" type="Class_OperationCompartment"> + <children xmi:type="notation:Shape" xmi:id="_sHsgMEvTEeW7GL09oTsTMQ" type="Operation_ClassOperationLabel"> + <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_sHiIIEvTEeW7GL09oTsTMQ"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_sHsgMUvTEeW7GL09oTsTMQ"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_hdHM1kvTEeW7GL09oTsTMQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_hdHM10vTEeW7GL09oTsTMQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_hdHM2EvTEeW7GL09oTsTMQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hdHM2UvTEeW7GL09oTsTMQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_hdHM2kvTEeW7GL09oTsTMQ" visible="false" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_hdHM20vTEeW7GL09oTsTMQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_hdHM3EvTEeW7GL09oTsTMQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_hdHM3UvTEeW7GL09oTsTMQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hdHM3kvTEeW7GL09oTsTMQ"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_9DCRIJoPEeeXz9m6CNxSgg" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_9DDfQJoPEeeXz9m6CNxSgg" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_9DEGUJoPEeeXz9m6CNxSgg" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_9DEtYJoPEeeXz9m6CNxSgg" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_9DFUcJoPEeeXz9m6CNxSgg" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_9DGikJoPEeeXz9m6CNxSgg" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_9DHwsJoPEeeXz9m6CNxSgg" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_9DI-0JoPEeeXz9m6CNxSgg" type="Parameters"/> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_hdDicEvTEeW7GL09oTsTMQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hdGlwUvTEeW7GL09oTsTMQ" x="120" y="180" width="221" height="61"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_psmWw0vTEeW7GL09oTsTMQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_psmWxEvTEeW7GL09oTsTMQ" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_psmWxkvTEeW7GL09oTsTMQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_iM_xoEvTEeW7GL09oTsTMQ"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_psmWxUvTEeW7GL09oTsTMQ" x="320" y="80"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_VI4ToEyaEeW4oLNX8bopVA" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_VI6I0EyaEeW4oLNX8bopVA" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_VI6I0UyaEeW4oLNX8bopVA" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_VI6I0kyaEeW4oLNX8bopVA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_VI6v4EyaEeW4oLNX8bopVA" visible="false" type="Class_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_VI6v4UyaEeW4oLNX8bopVA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_VI6v4kyaEeW4oLNX8bopVA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_VI6v40yaEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VI6v5EyaEeW4oLNX8bopVA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_VI6v5UyaEeW4oLNX8bopVA" type="Class_OperationCompartment"> + <children xmi:type="notation:Shape" xmi:id="_Y7d0cEyaEeW4oLNX8bopVA" type="Operation_ClassOperationLabel"> + <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_Y7N80EyaEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_Y7d0cUyaEeW4oLNX8bopVA"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_aYB5EEyaEeW4oLNX8bopVA" type="Operation_ClassOperationLabel"> + <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_aX1r0EyaEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_aYB5EUyaEeW4oLNX8bopVA"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_VI6v5kyaEeW4oLNX8bopVA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_VI6v50yaEeW4oLNX8bopVA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_VI6v6EyaEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VI6v6UyaEeW4oLNX8bopVA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_VI6v6kyaEeW4oLNX8bopVA" visible="false" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_VI6v60yaEeW4oLNX8bopVA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_VI6v7EyaEeW4oLNX8bopVA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_VI6v7UyaEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VI6v7kyaEeW4oLNX8bopVA"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_9DVzIJoPEeeXz9m6CNxSgg" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_9DXBQJoPEeeXz9m6CNxSgg" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_9DYPYJoPEeeXz9m6CNxSgg" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_9DZdgJoPEeeXz9m6CNxSgg" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_9DaEkJoPEeeXz9m6CNxSgg" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_9DbSsJoPEeeXz9m6CNxSgg" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_9Dcg0JoPEeeXz9m6CNxSgg" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_9Ddu8JoPEeeXz9m6CNxSgg" type="Parameters"/> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_VIuioEyaEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VI4ToUyaEeW4oLNX8bopVA" x="460" y="180" height="61"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_debpUEyaEeW4oLNX8bopVA" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_decQYEyaEeW4oLNX8bopVA" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_decQYUyaEeW4oLNX8bopVA" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_decQYkyaEeW4oLNX8bopVA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_decQY0yaEeW4oLNX8bopVA" visible="false" type="Class_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_decQZEyaEeW4oLNX8bopVA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_decQZUyaEeW4oLNX8bopVA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_decQZkyaEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_decQZ0yaEeW4oLNX8bopVA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_dec3cEyaEeW4oLNX8bopVA" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_dec3cUyaEeW4oLNX8bopVA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_dec3ckyaEeW4oLNX8bopVA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_dec3c0yaEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_dec3dEyaEeW4oLNX8bopVA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_dec3dUyaEeW4oLNX8bopVA" visible="false" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_dec3dkyaEeW4oLNX8bopVA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_dec3d0yaEeW4oLNX8bopVA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_dec3eEyaEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_dec3eUyaEeW4oLNX8bopVA"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_9DpVIJoPEeeXz9m6CNxSgg" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="_9DpVIZoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9DpVIpoPEeeXz9m6CNxSgg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_9DtmkJoPEeeXz9m6CNxSgg" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="_9DtmkZoPEeeXz9m6CNxSgg"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_9DtmkpoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9Dtmk5oPEeeXz9m6CNxSgg"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_9DvbwJoPEeeXz9m6CNxSgg" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_9Dwp4JoPEeeXz9m6CNxSgg" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_9DxQ8JoPEeeXz9m6CNxSgg" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_9DyfEJoPEeeXz9m6CNxSgg" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_9DzGIJoPEeeXz9m6CNxSgg" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_9D0UQJoPEeeXz9m6CNxSgg" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_9D1iYJoPEeeXz9m6CNxSgg" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_9D3XkJoPEeeXz9m6CNxSgg" type="Parameters"/> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_Fcc3AEyaEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_debpUUyaEeW4oLNX8bopVA" x="440" y="40" width="201" height="61"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_deyOoEyaEeW4oLNX8bopVA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_deyOoUyaEeW4oLNX8bopVA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_deyOo0yaEeW4oLNX8bopVA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_Fcc3AEyaEeW4oLNX8bopVA"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_deyOokyaEeW4oLNX8bopVA" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_hqhPQ0yaEeW4oLNX8bopVA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_hqhPREyaEeW4oLNX8bopVA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_hqhPRkyaEeW4oLNX8bopVA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_f0oEoEyaEeW4oLNX8bopVA"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hqhPRUyaEeW4oLNX8bopVA" x="660" y="80"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_AK-rcEycEeW4oLNX8bopVA" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_AK_5kEycEeW4oLNX8bopVA" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_AK_5kUycEeW4oLNX8bopVA" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ALAgoEycEeW4oLNX8bopVA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_ALAgoUycEeW4oLNX8bopVA" visible="false" type="Class_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_ALAgokycEeW4oLNX8bopVA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_ALAgo0ycEeW4oLNX8bopVA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_ALAgpEycEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ALAgpUycEeW4oLNX8bopVA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_ALAgpkycEeW4oLNX8bopVA" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_ALAgp0ycEeW4oLNX8bopVA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_ALAgqEycEeW4oLNX8bopVA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_ALAgqUycEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ALAgqkycEeW4oLNX8bopVA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_ALAgq0ycEeW4oLNX8bopVA" visible="false" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_ALAgrEycEeW4oLNX8bopVA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_ALAgrUycEeW4oLNX8bopVA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_ALAgrkycEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ALAgr0ycEeW4oLNX8bopVA"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_9EV4sJoPEeeXz9m6CNxSgg" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="_9EV4sZoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9EV4spoPEeeXz9m6CNxSgg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_9EbYQJoPEeeXz9m6CNxSgg" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="_9EbYQZoPEeeXz9m6CNxSgg"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_9EbYQpoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9EbYQ5oPEeeXz9m6CNxSgg"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_9Ed0gJoPEeeXz9m6CNxSgg" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_9EebkJoPEeeXz9m6CNxSgg" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_9EfpsJoPEeeXz9m6CNxSgg" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_9Eg30JoPEeeXz9m6CNxSgg" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_9EiF8JoPEeeXz9m6CNxSgg" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_9Ej7IJoPEeeXz9m6CNxSgg" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_9ElJQJoPEeeXz9m6CNxSgg" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_9EmXYJoPEeeXz9m6CNxSgg" type="Parameters"/> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_k3o2EEybEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_AK-rcUycEeW4oLNX8bopVA" x="680" y="40" height="61"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_ALQ_U0ycEeW4oLNX8bopVA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_ALQ_VEycEeW4oLNX8bopVA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_ALRmYEycEeW4oLNX8bopVA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_k3o2EEybEeW4oLNX8bopVA"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ALQ_VUycEeW4oLNX8bopVA" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_CDvj4EycEeW4oLNX8bopVA" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_CDvj4kycEeW4oLNX8bopVA" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_CDvj40ycEeW4oLNX8bopVA" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_CDvj5EycEeW4oLNX8bopVA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_CDvj5UycEeW4oLNX8bopVA" visible="false" type="Class_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_CDvj5kycEeW4oLNX8bopVA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_CDvj50ycEeW4oLNX8bopVA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_CDvj6EycEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CDvj6UycEeW4oLNX8bopVA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_CDvj6kycEeW4oLNX8bopVA" type="Class_OperationCompartment"> + <children xmi:type="notation:Shape" xmi:id="_HkeokEycEeW4oLNX8bopVA" type="Operation_ClassOperationLabel"> + <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_HkR0QEycEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_HkeokUycEeW4oLNX8bopVA"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_JjlZkEycEeW4oLNX8bopVA" type="Operation_ClassOperationLabel"> + <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_JjX-MEycEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_JjlZkUycEeW4oLNX8bopVA"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_LppHIEycEeW4oLNX8bopVA" type="Operation_ClassOperationLabel"> + <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_LpeIAEycEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_LppHIUycEeW4oLNX8bopVA"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_CDvj60ycEeW4oLNX8bopVA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_CDvj7EycEeW4oLNX8bopVA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_CDvj7UycEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CDvj7kycEeW4oLNX8bopVA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_CDvj70ycEeW4oLNX8bopVA" visible="false" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_CDvj8EycEeW4oLNX8bopVA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_CDvj8UycEeW4oLNX8bopVA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_CDvj8kycEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CDvj80ycEeW4oLNX8bopVA"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_9FH70JoPEeeXz9m6CNxSgg" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_9FJJ8JoPEeeXz9m6CNxSgg" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_9FJxAJoPEeeXz9m6CNxSgg" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_9FK_IJoPEeeXz9m6CNxSgg" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_9FLmMJoPEeeXz9m6CNxSgg" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_9FM0UJoPEeeXz9m6CNxSgg" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_9FNbYJoPEeeXz9m6CNxSgg" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_9FPQkJoPEeeXz9m6CNxSgg" type="Parameters"/> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_CDtHoEycEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CDvj4UycEeW4oLNX8bopVA" x="680" y="180" width="181" height="81"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_RX3OMEycEeW4oLNX8bopVA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_RX3OMUycEeW4oLNX8bopVA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_RX3OM0ycEeW4oLNX8bopVA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_P4npAEycEeW4oLNX8bopVA"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RX3OMkycEeW4oLNX8bopVA" x="880" y="80"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_wCZ6wE1eEeW4oLNX8bopVA" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_wCah0E1eEeW4oLNX8bopVA" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_wCah0U1eEeW4oLNX8bopVA" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_wCah0k1eEeW4oLNX8bopVA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_wCah001eEeW4oLNX8bopVA" visible="false" type="Class_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_wCah1E1eEeW4oLNX8bopVA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_wCah1U1eEeW4oLNX8bopVA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_wCah1k1eEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wCah101eEeW4oLNX8bopVA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_wCah2E1eEeW4oLNX8bopVA" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_wCah2U1eEeW4oLNX8bopVA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_wCah2k1eEeW4oLNX8bopVA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_wCah201eEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wCah3E1eEeW4oLNX8bopVA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_wCah3U1eEeW4oLNX8bopVA" visible="false" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_wCah3k1eEeW4oLNX8bopVA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_wCah301eEeW4oLNX8bopVA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_wCah4E1eEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wCah4U1eEeW4oLNX8bopVA"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_9FaPsJoPEeeXz9m6CNxSgg" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="_9FaPsZoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9FaPspoPEeeXz9m6CNxSgg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_9FfvQJoPEeeXz9m6CNxSgg" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="_9FfvQZoPEeeXz9m6CNxSgg"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_9FfvQpoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9FfvQ5oPEeeXz9m6CNxSgg"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_9FhkcJoPEeeXz9m6CNxSgg" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_9FiykJoPEeeXz9m6CNxSgg" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_9FkAsJoPEeeXz9m6CNxSgg" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_9FlO0JoPEeeXz9m6CNxSgg" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_9Fmc8JoPEeeXz9m6CNxSgg" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_9FoSIJoPEeeXz9m6CNxSgg" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_9FpgQJoPEeeXz9m6CNxSgg" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_9FquYJoPEeeXz9m6CNxSgg" type="Parameters"/> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_XVTu4E1eEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wCZ6wU1eEeW4oLNX8bopVA" x="980" y="40" height="61"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_wCokQ01eEeW4oLNX8bopVA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_wCokRE1eEeW4oLNX8bopVA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_wCokRk1eEeW4oLNX8bopVA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_XVTu4E1eEeW4oLNX8bopVA"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wCokRU1eEeW4oLNX8bopVA" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_xYfj8E1eEeW4oLNX8bopVA" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_xYgLAE1eEeW4oLNX8bopVA" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_xYgLAU1eEeW4oLNX8bopVA" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_xYgLAk1eEeW4oLNX8bopVA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_xYgLA01eEeW4oLNX8bopVA" visible="false" type="Class_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_xYgLBE1eEeW4oLNX8bopVA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_xYgLBU1eEeW4oLNX8bopVA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_xYgLBk1eEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xYgLB01eEeW4oLNX8bopVA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_xYgLCE1eEeW4oLNX8bopVA" type="Class_OperationCompartment"> + <children xmi:type="notation:Shape" xmi:id="_0in9oE1eEeW4oLNX8bopVA" type="Operation_ClassOperationLabel"> + <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_0iXe8E1eEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_0in9oU1eEeW4oLNX8bopVA"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_3J7-IE1eEeW4oLNX8bopVA" type="Operation_ClassOperationLabel"> + <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_3JrfcE1eEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_3J7-IU1eEeW4oLNX8bopVA"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_xYgLCU1eEeW4oLNX8bopVA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_xYgLCk1eEeW4oLNX8bopVA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_xYgLC01eEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xYgLDE1eEeW4oLNX8bopVA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_xYgLDU1eEeW4oLNX8bopVA" visible="false" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_xYgLDk1eEeW4oLNX8bopVA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_xYgLD01eEeW4oLNX8bopVA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_xYgLEE1eEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xYgLEU1eEeW4oLNX8bopVA"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_9GLrwJoPEeeXz9m6CNxSgg" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_9GMS0JoPEeeXz9m6CNxSgg" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_9GM54JoPEeeXz9m6CNxSgg" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_9GOIAJoPEeeXz9m6CNxSgg" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_9GPWIJoPEeeXz9m6CNxSgg" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_9GP9MJoPEeeXz9m6CNxSgg" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_9GRLUJoPEeeXz9m6CNxSgg" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_9GSZcJoPEeeXz9m6CNxSgg" type="Parameters"/> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_xYeV0E1eEeW4oLNX8bopVA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xYfj8U1eEeW4oLNX8bopVA" x="980" y="180" height="81"/> + </children> + <children xmi:type="notation:Shape" xmi:id="__IZCc01eEeW4oLNX8bopVA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="__IZCdE1eEeW4oLNX8bopVA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="__IZCdk1eEeW4oLNX8bopVA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_9c6YEE1eEeW4oLNX8bopVA"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="__IZCdU1eEeW4oLNX8bopVA" x="1180" y="80"/> + </children> + <styles xmi:type="notation:StringValueStyle" xmi:id="_cRvUIUvTEeW7GL09oTsTMQ" name="diagram_compatibility_version" stringValue="1.3.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_cRvUIkvTEeW7GL09oTsTMQ"/> + <styles xmi:type="style_1:PapyrusDiagramStyle" xmi:id="_9AWJgJoPEeeXz9m6CNxSgg" diagramKindId="org.eclipse.papyrus.uml.diagram.class"> + <owner xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_j1ufcEvSEeW7GL09oTsTMQ"/> + </styles> + <element xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_j1ufcEvSEeW7GL09oTsTMQ"/> + <edges xmi:type="notation:Connector" xmi:id="_elSrIUvTEeW7GL09oTsTMQ" type="StereotypeCommentLink" source="_ek9T8EvTEeW7GL09oTsTMQ" target="_elSEE0vTEeW7GL09oTsTMQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_elSrIkvTEeW7GL09oTsTMQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_elSrJkvTEeW7GL09oTsTMQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_v8yNUEvREeW7GL09oTsTMQ"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_elSrI0vTEeW7GL09oTsTMQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_elSrJEvTEeW7GL09oTsTMQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_elSrJUvTEeW7GL09oTsTMQ"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_iNC08EvTEeW7GL09oTsTMQ" type="Abstraction_Edge" source="_hdGlwEvTEeW7GL09oTsTMQ" target="_ek9T8EvTEeW7GL09oTsTMQ"> + <children xmi:type="notation:DecorationNode" xmi:id="_iNDcAEvTEeW7GL09oTsTMQ" type="Abstraction_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_iNDcAUvTEeW7GL09oTsTMQ" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_iNDcAkvTEeW7GL09oTsTMQ" type="Abstraction_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_iNDcA0vTEeW7GL09oTsTMQ" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_iNC08UvTEeW7GL09oTsTMQ"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_iM_xoEvTEeW7GL09oTsTMQ"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_iNC08kvTEeW7GL09oTsTMQ" points="[-4, -6, -41, 107]$[-71, -85, -108, 28]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_iNdEoEvTEeW7GL09oTsTMQ" id="(0.45248868778280543,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_iNdEoUvTEeW7GL09oTsTMQ" id="(0.4692982456140351,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_psmWx0vTEeW7GL09oTsTMQ" type="StereotypeCommentLink" source="_iNC08EvTEeW7GL09oTsTMQ" target="_psmWw0vTEeW7GL09oTsTMQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_psmWyEvTEeW7GL09oTsTMQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_psm90kvTEeW7GL09oTsTMQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_iM_xoEvTEeW7GL09oTsTMQ"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_psmWyUvTEeW7GL09oTsTMQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_psm90EvTEeW7GL09oTsTMQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_psm90UvTEeW7GL09oTsTMQ"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_dey1sEyaEeW4oLNX8bopVA" type="StereotypeCommentLink" source="_debpUEyaEeW4oLNX8bopVA" target="_deyOoEyaEeW4oLNX8bopVA"> + <styles xmi:type="notation:FontStyle" xmi:id="_dey1sUyaEeW4oLNX8bopVA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_dezcwkyaEeW4oLNX8bopVA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_Fcc3AEyaEeW4oLNX8bopVA"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_dey1skyaEeW4oLNX8bopVA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_dezcwEyaEeW4oLNX8bopVA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_dezcwUyaEeW4oLNX8bopVA"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_f0s9IEyaEeW4oLNX8bopVA" type="Abstraction_Edge" source="_VI4ToEyaEeW4oLNX8bopVA" target="_debpUEyaEeW4oLNX8bopVA"> + <children xmi:type="notation:DecorationNode" xmi:id="_f0tkMEyaEeW4oLNX8bopVA" type="Abstraction_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_f0tkMUyaEeW4oLNX8bopVA" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_f0tkMkyaEeW4oLNX8bopVA" type="Abstraction_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_f0tkM0yaEeW4oLNX8bopVA" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_f0s9IUyaEeW4oLNX8bopVA"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_f0oEoEyaEeW4oLNX8bopVA"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_f0s9IkyaEeW4oLNX8bopVA" points="[-5, -3, 2, 110]$[-5, -82, 2, 31]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_f1Q90EyaEeW4oLNX8bopVA" id="(0.6466165413533834,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_f1Q90UyaEeW4oLNX8bopVA" id="(0.5124378109452736,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_hqhPR0yaEeW4oLNX8bopVA" type="StereotypeCommentLink" source="_f0s9IEyaEeW4oLNX8bopVA" target="_hqhPQ0yaEeW4oLNX8bopVA"> + <styles xmi:type="notation:FontStyle" xmi:id="_hqhPSEyaEeW4oLNX8bopVA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_hqh2UkyaEeW4oLNX8bopVA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_f0oEoEyaEeW4oLNX8bopVA"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_hqhPSUyaEeW4oLNX8bopVA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_hqh2UEyaEeW4oLNX8bopVA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_hqh2UUyaEeW4oLNX8bopVA"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_ALRmYUycEeW4oLNX8bopVA" type="StereotypeCommentLink" source="_AK-rcEycEeW4oLNX8bopVA" target="_ALQ_U0ycEeW4oLNX8bopVA"> + <styles xmi:type="notation:FontStyle" xmi:id="_ALRmYkycEeW4oLNX8bopVA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_ALRmZkycEeW4oLNX8bopVA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_k3o2EEybEeW4oLNX8bopVA"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ALRmY0ycEeW4oLNX8bopVA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ALRmZEycEeW4oLNX8bopVA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ALRmZUycEeW4oLNX8bopVA"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_P4shgEycEeW4oLNX8bopVA" type="Abstraction_Edge" source="_CDvj4EycEeW4oLNX8bopVA" target="_AK-rcEycEeW4oLNX8bopVA"> + <children xmi:type="notation:DecorationNode" xmi:id="_P4tIkEycEeW4oLNX8bopVA" type="Abstraction_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_P4tIkUycEeW4oLNX8bopVA" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_P4tvoEycEeW4oLNX8bopVA" type="Abstraction_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_P4tvoUycEeW4oLNX8bopVA" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_P4shgUycEeW4oLNX8bopVA"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_P4npAEycEeW4oLNX8bopVA"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_P4shgkycEeW4oLNX8bopVA" points="[-7, -3, -5, 110]$[-7, -82, -5, 31]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_P5bhUEycEeW4oLNX8bopVA" id="(0.5303867403314917,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_P5bhUUycEeW4oLNX8bopVA" id="(0.47643979057591623,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_RX3ONEycEeW4oLNX8bopVA" type="StereotypeCommentLink" source="_P4shgEycEeW4oLNX8bopVA" target="_RX3OMEycEeW4oLNX8bopVA"> + <styles xmi:type="notation:FontStyle" xmi:id="_RX3ONUycEeW4oLNX8bopVA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_RX3OOUycEeW4oLNX8bopVA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_P4npAEycEeW4oLNX8bopVA"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_RX3ONkycEeW4oLNX8bopVA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_RX3ON0ycEeW4oLNX8bopVA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_RX3OOEycEeW4oLNX8bopVA"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_wCokR01eEeW4oLNX8bopVA" type="StereotypeCommentLink" source="_wCZ6wE1eEeW4oLNX8bopVA" target="_wCokQ01eEeW4oLNX8bopVA"> + <styles xmi:type="notation:FontStyle" xmi:id="_wCokSE1eEeW4oLNX8bopVA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_wCokTE1eEeW4oLNX8bopVA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_XVTu4E1eEeW4oLNX8bopVA"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_wCokSU1eEeW4oLNX8bopVA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_wCokSk1eEeW4oLNX8bopVA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_wCokS01eEeW4oLNX8bopVA"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_9c80UE1eEeW4oLNX8bopVA" type="Abstraction_Edge" source="_xYfj8E1eEeW4oLNX8bopVA" target="_wCZ6wE1eEeW4oLNX8bopVA"> + <children xmi:type="notation:DecorationNode" xmi:id="_9c80U01eEeW4oLNX8bopVA" type="Abstraction_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_9c80VE1eEeW4oLNX8bopVA" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_9c80VU1eEeW4oLNX8bopVA" type="Abstraction_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_9c9bYE1eEeW4oLNX8bopVA" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_9c80UU1eEeW4oLNX8bopVA"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_9c6YEE1eEeW4oLNX8bopVA"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_9c80Uk1eEeW4oLNX8bopVA" points="[0, -8, 5, 110]$[0, -87, 5, 31]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9dr0IE1eEeW4oLNX8bopVA" id="(0.5533333333333333,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9dr0IU1eEeW4oLNX8bopVA" id="(0.532051282051282,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="__IZCd01eEeW4oLNX8bopVA" type="StereotypeCommentLink" source="_9c80UE1eEeW4oLNX8bopVA" target="__IZCc01eEeW4oLNX8bopVA"> + <styles xmi:type="notation:FontStyle" xmi:id="__IZCeE1eEeW4oLNX8bopVA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="__IZpgk1eEeW4oLNX8bopVA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_9c6YEE1eEeW4oLNX8bopVA"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__IZCeU1eEeW4oLNX8bopVA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="__IZpgE1eEeW4oLNX8bopVA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="__IZpgU1eEeW4oLNX8bopVA"/> + </edges> + </notation:Diagram> + <notation:Diagram xmi:id="_T9g6UFCYEeWWUsSyiZaNIg" type="PapyrusUMLClassDiagram" name="Tests blocks" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_WvjkIFCYEeWWUsSyiZaNIg" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_WvkLMFCYEeWWUsSyiZaNIg" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_WvkLMVCYEeWWUsSyiZaNIg" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_WvkLMlCYEeWWUsSyiZaNIg" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_WvkLM1CYEeWWUsSyiZaNIg" visible="false" type="Class_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_WvkLNFCYEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_WvkLNVCYEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_WvkLNlCYEeWWUsSyiZaNIg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WvkLN1CYEeWWUsSyiZaNIg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_WvkLOFCYEeWWUsSyiZaNIg" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_WvkLOVCYEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_WvkLOlCYEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_WvkLO1CYEeWWUsSyiZaNIg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WvkLPFCYEeWWUsSyiZaNIg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_WvkLPVCYEeWWUsSyiZaNIg" visible="false" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_WvkLPlCYEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_WvkLP1CYEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_WvkLQFCYEeWWUsSyiZaNIg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WvkLQVCYEeWWUsSyiZaNIg"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_-XVxoJoPEeeXz9m6CNxSgg" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="_-XVxoZoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-XVxopoPEeeXz9m6CNxSgg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_-XZcAJoPEeeXz9m6CNxSgg" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="_-XZcAZoPEeeXz9m6CNxSgg"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_-XZcApoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-XZcA5oPEeeXz9m6CNxSgg"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_-XaqIJoPEeeXz9m6CNxSgg" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_-XbRMJoPEeeXz9m6CNxSgg" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_-Xb4QJoPEeeXz9m6CNxSgg" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_-XdGYJoPEeeXz9m6CNxSgg" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_-XdtcJoPEeeXz9m6CNxSgg" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_-XeUgJoPEeeXz9m6CNxSgg" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_-Xe7kJoPEeeXz9m6CNxSgg" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_-XgJsJoPEeeXz9m6CNxSgg" type="Parameters"/> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_fNa8kFB9EeWWUsSyiZaNIg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WvjkIVCYEeWWUsSyiZaNIg" x="40" y="40" height="49"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_Wv14A1CYEeWWUsSyiZaNIg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_Wv14BFCYEeWWUsSyiZaNIg" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Wv2fEFCYEeWWUsSyiZaNIg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_fNa8kFB9EeWWUsSyiZaNIg"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Wv14BVCYEeWWUsSyiZaNIg" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_9vTYcFCnEeWWUsSyiZaNIg" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_9vT_gVCnEeWWUsSyiZaNIg" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_9vT_glCnEeWWUsSyiZaNIg" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_9vT_g1CnEeWWUsSyiZaNIg" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_9vT_hFCnEeWWUsSyiZaNIg" visible="false" type="Class_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_9vT_hVCnEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_9vT_hlCnEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_9vT_h1CnEeWWUsSyiZaNIg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9vT_iFCnEeWWUsSyiZaNIg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_9vUmkFCnEeWWUsSyiZaNIg" type="Class_OperationCompartment"> + <children xmi:type="notation:Shape" xmi:id="_A_nSoFCoEeWWUsSyiZaNIg" type="Operation_ClassOperationLabel"> + <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_A_cTgFCoEeWWUsSyiZaNIg"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_A_nSoVCoEeWWUsSyiZaNIg"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_9vUmkVCnEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_9vUmklCnEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_9vUmk1CnEeWWUsSyiZaNIg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9vUmlFCnEeWWUsSyiZaNIg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_9vUmlVCnEeWWUsSyiZaNIg" visible="false" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_9vUmllCnEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_9vUml1CnEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_9vUmmFCnEeWWUsSyiZaNIg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9vUmmVCnEeWWUsSyiZaNIg"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_-X9csJoPEeeXz9m6CNxSgg" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_-X-DwJoPEeeXz9m6CNxSgg" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_-X_R4JoPEeeXz9m6CNxSgg" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_-X_48JoPEeeXz9m6CNxSgg" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_-YBHEJoPEeeXz9m6CNxSgg" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_-YCVMJoPEeeXz9m6CNxSgg" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_-YC8QJoPEeeXz9m6CNxSgg" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_-YEKYJoPEeeXz9m6CNxSgg" type="Parameters"/> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_9vQVIFCnEeWWUsSyiZaNIg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9vT_gFCnEeWWUsSyiZaNIg" x="40" y="180" width="221" height="61"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_H4--MFCoEeWWUsSyiZaNIg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_H4--MVCoEeWWUsSyiZaNIg" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_H4--M1CoEeWWUsSyiZaNIg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_FdM4QFCoEeWWUsSyiZaNIg"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_H4--MlCoEeWWUsSyiZaNIg" x="520" y="200"/> + </children> + <styles xmi:type="notation:StringValueStyle" xmi:id="_T9g6UVCYEeWWUsSyiZaNIg" name="diagram_compatibility_version" stringValue="1.3.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_T9g6UlCYEeWWUsSyiZaNIg"/> + <styles xmi:type="style_1:PapyrusDiagramStyle" xmi:id="_-WYvYJoPEeeXz9m6CNxSgg" diagramKindId="org.eclipse.papyrus.uml.diagram.class"> + <owner xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_PhZUUFCYEeWWUsSyiZaNIg"/> + </styles> + <element xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_PhZUUFCYEeWWUsSyiZaNIg"/> + <edges xmi:type="notation:Connector" xmi:id="_Wv2fEVCYEeWWUsSyiZaNIg" type="StereotypeCommentLink" source="_WvjkIFCYEeWWUsSyiZaNIg" target="_Wv14A1CYEeWWUsSyiZaNIg"> + <styles xmi:type="notation:FontStyle" xmi:id="_Wv2fElCYEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Wv2fFlCYEeWWUsSyiZaNIg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_fNa8kFB9EeWWUsSyiZaNIg"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Wv2fE1CYEeWWUsSyiZaNIg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Wv2fFFCYEeWWUsSyiZaNIg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Wv2fFVCYEeWWUsSyiZaNIg"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_FdPUgFCoEeWWUsSyiZaNIg" type="Abstraction_Edge" source="_9vTYcFCnEeWWUsSyiZaNIg" target="_WvjkIFCYEeWWUsSyiZaNIg"> + <children xmi:type="notation:DecorationNode" xmi:id="_FdPUg1CoEeWWUsSyiZaNIg" type="Abstraction_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_FdPUhFCoEeWWUsSyiZaNIg" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_FdPUhVCoEeWWUsSyiZaNIg" type="Abstraction_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_FdPUhlCoEeWWUsSyiZaNIg" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_FdPUgVCoEeWWUsSyiZaNIg"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_FdM4QFCoEeWWUsSyiZaNIg"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_FdPUglCoEeWWUsSyiZaNIg" points="[6, -6, 0, 145]$[-3, -134, -9, 17]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FdgaQFCoEeWWUsSyiZaNIg" id="(0.5429864253393665,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FdgaQVCoEeWWUsSyiZaNIg" id="(0.5405405405405406,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_H4--NFCoEeWWUsSyiZaNIg" type="StereotypeCommentLink" source="_FdPUgFCoEeWWUsSyiZaNIg" target="_H4--MFCoEeWWUsSyiZaNIg"> + <styles xmi:type="notation:FontStyle" xmi:id="_H4--NVCoEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_H4--OVCoEeWWUsSyiZaNIg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_FdM4QFCoEeWWUsSyiZaNIg"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_H4--NlCoEeWWUsSyiZaNIg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_H4--N1CoEeWWUsSyiZaNIg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_H4--OFCoEeWWUsSyiZaNIg"/> + </edges> + </notation:Diagram> + <notation:Diagram xmi:id="_fkEZ0FCwEeWWUsSyiZaNIg" type="PapyrusUMLClassDiagram" name="test deprecated elements" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_iUn14FCwEeWWUsSyiZaNIg" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_iUoc8FCwEeWWUsSyiZaNIg" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_iUoc8VCwEeWWUsSyiZaNIg" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_iUoc8lCwEeWWUsSyiZaNIg" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_iUoc81CwEeWWUsSyiZaNIg" visible="false" type="Class_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_iUoc9FCwEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_iUoc9VCwEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_iUoc9lCwEeWWUsSyiZaNIg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iUoc91CwEeWWUsSyiZaNIg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_iUoc-FCwEeWWUsSyiZaNIg" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_iUoc-VCwEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_iUoc-lCwEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_iUoc-1CwEeWWUsSyiZaNIg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iUoc_FCwEeWWUsSyiZaNIg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_iUoc_VCwEeWWUsSyiZaNIg" visible="false" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_iUoc_lCwEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_iUoc_1CwEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_iUodAFCwEeWWUsSyiZaNIg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iUodAVCwEeWWUsSyiZaNIg"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__Y_b4JoPEeeXz9m6CNxSgg" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="__Y_b4ZoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="__Y_b4poPEeeXz9m6CNxSgg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="__ZEUYJoPEeeXz9m6CNxSgg" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="__ZEUYZoPEeeXz9m6CNxSgg"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="__ZEUYpoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="__ZEUY5oPEeeXz9m6CNxSgg"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="__ZFigJoPEeeXz9m6CNxSgg" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="__ZGwoJoPEeeXz9m6CNxSgg" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="__ZHXsJoPEeeXz9m6CNxSgg" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="__ZH-wJoPEeeXz9m6CNxSgg" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="__ZJz8JoPEeeXz9m6CNxSgg" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="__ZKbAJoPEeeXz9m6CNxSgg" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="__ZLpIJoPEeeXz9m6CNxSgg" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="__ZM3QJoPEeeXz9m6CNxSgg" type="Parameters"/> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_zZT7YFCvEeWWUsSyiZaNIg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iUn14VCwEeWWUsSyiZaNIg" x="120" y="20" width="201" height="41"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_iU3Gc1CwEeWWUsSyiZaNIg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_iU3GdFCwEeWWUsSyiZaNIg" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_iU3GdlCwEeWWUsSyiZaNIg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_zZT7YFCvEeWWUsSyiZaNIg"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iU3GdVCwEeWWUsSyiZaNIg" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_jRFeIFCwEeWWUsSyiZaNIg" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_jRFeIlCwEeWWUsSyiZaNIg" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_jRFeI1CwEeWWUsSyiZaNIg" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_jRFeJFCwEeWWUsSyiZaNIg" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_jRFeJVCwEeWWUsSyiZaNIg" visible="false" type="Class_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_jRFeJlCwEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_jRFeJ1CwEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_jRFeKFCwEeWWUsSyiZaNIg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jRFeKVCwEeWWUsSyiZaNIg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_jRFeKlCwEeWWUsSyiZaNIg" type="Class_OperationCompartment"> + <children xmi:type="notation:Shape" xmi:id="_rBHr8FCwEeWWUsSyiZaNIg" type="Operation_ClassOperationLabel"> + <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_rBAXMFCwEeWWUsSyiZaNIg"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_rBHr8VCwEeWWUsSyiZaNIg"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_jRFeK1CwEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_jRFeLFCwEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_jRFeLVCwEeWWUsSyiZaNIg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jRGFMFCwEeWWUsSyiZaNIg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_jRGFMVCwEeWWUsSyiZaNIg" visible="false" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_jRGFMlCwEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_jRGFM1CwEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_jRGFNFCwEeWWUsSyiZaNIg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jRGFNVCwEeWWUsSyiZaNIg"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="__ZqxUJoPEeeXz9m6CNxSgg" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="__ZrYYJoPEeeXz9m6CNxSgg" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="__ZsmgJoPEeeXz9m6CNxSgg" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="__Zt0oJoPEeeXz9m6CNxSgg" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="__ZubsJoPEeeXz9m6CNxSgg" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="__Zvp0JoPEeeXz9m6CNxSgg" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="__Zw38JoPEeeXz9m6CNxSgg" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="__ZyGEJoPEeeXz9m6CNxSgg" type="Parameters"/> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_jRDB4FCwEeWWUsSyiZaNIg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jRFeIVCwEeWWUsSyiZaNIg" x="120" y="120" width="201" height="41"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_n-200FCwEeWWUsSyiZaNIg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_n-200VCwEeWWUsSyiZaNIg" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_n-2001CwEeWWUsSyiZaNIg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_mhEoMFCwEeWWUsSyiZaNIg"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_n-200lCwEeWWUsSyiZaNIg" x="320" y="100"/> + </children> + <styles xmi:type="notation:StringValueStyle" xmi:id="_fkEZ0VCwEeWWUsSyiZaNIg" name="diagram_compatibility_version" stringValue="1.3.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_fkEZ0lCwEeWWUsSyiZaNIg"/> + <styles xmi:type="style_1:PapyrusDiagramStyle" xmi:id="__X4ooJoPEeeXz9m6CNxSgg" diagramKindId="org.eclipse.papyrus.uml.diagram.class"> + <owner xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_Yfgx8FCwEeWWUsSyiZaNIg"/> + </styles> + <element xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_Yfgx8FCwEeWWUsSyiZaNIg"/> + <edges xmi:type="notation:Connector" xmi:id="_iU3Gd1CwEeWWUsSyiZaNIg" type="StereotypeCommentLink" source="_iUn14FCwEeWWUsSyiZaNIg" target="_iU3Gc1CwEeWWUsSyiZaNIg"> + <styles xmi:type="notation:FontStyle" xmi:id="_iU3GeFCwEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_iU3GfFCwEeWWUsSyiZaNIg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_zZT7YFCvEeWWUsSyiZaNIg"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_iU3GeVCwEeWWUsSyiZaNIg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_iU3GelCwEeWWUsSyiZaNIg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_iU3Ge1CwEeWWUsSyiZaNIg"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_mhFPQFCwEeWWUsSyiZaNIg" type="Abstraction_Edge" source="_jRFeIFCwEeWWUsSyiZaNIg" target="_iUn14FCwEeWWUsSyiZaNIg"> + <children xmi:type="notation:DecorationNode" xmi:id="_mhF2UFCwEeWWUsSyiZaNIg" type="Abstraction_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_mhF2UVCwEeWWUsSyiZaNIg" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_mhF2UlCwEeWWUsSyiZaNIg" type="Abstraction_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_mhF2U1CwEeWWUsSyiZaNIg" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_mhFPQVCwEeWWUsSyiZaNIg"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_mhEoMFCwEeWWUsSyiZaNIg"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_mhFPQlCwEeWWUsSyiZaNIg" points="[0, -3, 0, 92]$[-15, -79, -15, 16]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_mhVG4FCwEeWWUsSyiZaNIg" id="(0.4975124378109453,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_mhVG4VCwEeWWUsSyiZaNIg" id="(0.4975124378109453,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_n-201FCwEeWWUsSyiZaNIg" type="StereotypeCommentLink" source="_mhFPQFCwEeWWUsSyiZaNIg" target="_n-200FCwEeWWUsSyiZaNIg"> + <styles xmi:type="notation:FontStyle" xmi:id="_n-201VCwEeWWUsSyiZaNIg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_n-202VCwEeWWUsSyiZaNIg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_mhEoMFCwEeWWUsSyiZaNIg"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_n-201lCwEeWWUsSyiZaNIg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_n-2011CwEeWWUsSyiZaNIg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_n-202FCwEeWWUsSyiZaNIg"/> + </edges> + </notation:Diagram> + <notation:Diagram xmi:id="_mdOcMFFvEeWFqsbjn0GMrw" type="RequirementDiagram" name="FlowPortRequirementsDiagram" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_6ghycFFvEeWFqsbjn0GMrw" type="shape_sysml_requirement_as_classifier"> + <children xmi:type="notation:DecorationNode" xmi:id="_6gjAkFFvEeWFqsbjn0GMrw" type="5029"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_6gjAkVFvEeWFqsbjn0GMrw" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_6gjAklFvEeWFqsbjn0GMrw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_6gjAk1FvEeWFqsbjn0GMrw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_6gjAlFFvEeWFqsbjn0GMrw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6gjAlVFvEeWFqsbjn0GMrw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_6gjAllFvEeWFqsbjn0GMrw" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_6gjAl1FvEeWFqsbjn0GMrw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_6gjAmFFvEeWFqsbjn0GMrw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_6gjAmVFvEeWFqsbjn0GMrw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6gjAmlFvEeWFqsbjn0GMrw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_6gjAm1FvEeWFqsbjn0GMrw" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_6gjAnFFvEeWFqsbjn0GMrw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_6gjAnVFvEeWFqsbjn0GMrw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_6gjAnlFvEeWFqsbjn0GMrw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6gjAn1FvEeWFqsbjn0GMrw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_6gjAoFFvEeWFqsbjn0GMrw" type="compartment_sysml_requirement_idinfo_as_list"> + <children xmi:type="notation:DecorationNode" xmi:id="_6gjnoFFvEeWFqsbjn0GMrw" type="label_sysml_requirement_id"/> + <children xmi:type="notation:DecorationNode" xmi:id="_6gjnoVFvEeWFqsbjn0GMrw" type="label_sysml_requirement_text"/> + <styles xmi:type="notation:TitleStyle" xmi:id="_6gjAoVFvEeWFqsbjn0GMrw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_6gjAolFvEeWFqsbjn0GMrw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_6gjAo1FvEeWFqsbjn0GMrw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6gjApFFvEeWFqsbjn0GMrw"/> + </children> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_Von2kFFvEeWFqsbjn0GMrw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6ghycVFvEeWFqsbjn0GMrw" x="354" y="125"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_6hSnc1FvEeWFqsbjn0GMrw" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_6hSndFFvEeWFqsbjn0GMrw" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_6hSndlFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_Von2kFFvEeWFqsbjn0GMrw"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6hSndVFvEeWFqsbjn0GMrw" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_690ycFFvEeWFqsbjn0GMrw" type="shape_sysml_requirement_as_classifier"> + <children xmi:type="notation:DecorationNode" xmi:id="_692AkFFvEeWFqsbjn0GMrw" type="5029"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_692AkVFvEeWFqsbjn0GMrw" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_692AklFvEeWFqsbjn0GMrw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_692Ak1FvEeWFqsbjn0GMrw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_692AlFFvEeWFqsbjn0GMrw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_692AlVFvEeWFqsbjn0GMrw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_692AllFvEeWFqsbjn0GMrw" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_692Al1FvEeWFqsbjn0GMrw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_692AmFFvEeWFqsbjn0GMrw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_692AmVFvEeWFqsbjn0GMrw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_692AmlFvEeWFqsbjn0GMrw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_692Am1FvEeWFqsbjn0GMrw" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_692AnFFvEeWFqsbjn0GMrw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_692AnVFvEeWFqsbjn0GMrw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_692AnlFvEeWFqsbjn0GMrw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_692An1FvEeWFqsbjn0GMrw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_692AoFFvEeWFqsbjn0GMrw" type="compartment_sysml_requirement_idinfo_as_list"> + <children xmi:type="notation:DecorationNode" xmi:id="_692noFFvEeWFqsbjn0GMrw" type="label_sysml_requirement_id"/> + <children xmi:type="notation:DecorationNode" xmi:id="_692noVFvEeWFqsbjn0GMrw" type="label_sysml_requirement_text"/> + <styles xmi:type="notation:TitleStyle" xmi:id="_692AoVFvEeWFqsbjn0GMrw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_692AolFvEeWFqsbjn0GMrw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_692Ao1FvEeWFqsbjn0GMrw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_692ApFFvEeWFqsbjn0GMrw"/> + </children> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_b0XAEFFvEeWFqsbjn0GMrw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_690ycVFvEeWFqsbjn0GMrw" x="532" y="235"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_6-b2cFFvEeWFqsbjn0GMrw" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_6-b2cVFvEeWFqsbjn0GMrw" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_6-b2c1FvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_b0XAEFFvEeWFqsbjn0GMrw"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6-b2clFvEeWFqsbjn0GMrw" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_7ZOVAFFvEeWFqsbjn0GMrw" type="shape_sysml_requirement_as_classifier"> + <children xmi:type="notation:DecorationNode" xmi:id="_7ZO8EFFvEeWFqsbjn0GMrw" type="5029"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_7ZO8EVFvEeWFqsbjn0GMrw" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_7ZO8ElFvEeWFqsbjn0GMrw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_7ZO8E1FvEeWFqsbjn0GMrw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_7ZO8FFFvEeWFqsbjn0GMrw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7ZO8FVFvEeWFqsbjn0GMrw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_7ZO8FlFvEeWFqsbjn0GMrw" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_7ZO8F1FvEeWFqsbjn0GMrw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_7ZO8GFFvEeWFqsbjn0GMrw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_7ZO8GVFvEeWFqsbjn0GMrw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7ZO8GlFvEeWFqsbjn0GMrw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_7ZPjIFFvEeWFqsbjn0GMrw" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_7ZPjIVFvEeWFqsbjn0GMrw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_7ZPjIlFvEeWFqsbjn0GMrw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_7ZPjI1FvEeWFqsbjn0GMrw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7ZPjJFFvEeWFqsbjn0GMrw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_7ZPjJVFvEeWFqsbjn0GMrw" type="compartment_sysml_requirement_idinfo_as_list"> + <children xmi:type="notation:DecorationNode" xmi:id="_7ZPjKlFvEeWFqsbjn0GMrw" type="label_sysml_requirement_id"/> + <children xmi:type="notation:DecorationNode" xmi:id="_7ZPjK1FvEeWFqsbjn0GMrw" type="label_sysml_requirement_text"/> + <styles xmi:type="notation:TitleStyle" xmi:id="_7ZPjJlFvEeWFqsbjn0GMrw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_7ZPjJ1FvEeWFqsbjn0GMrw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_7ZPjKFFvEeWFqsbjn0GMrw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7ZPjKVFvEeWFqsbjn0GMrw"/> + </children> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_fOtnEFFvEeWFqsbjn0GMrw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7ZOVAVFvEeWFqsbjn0GMrw" x="120" y="120"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_7ZbJU1FvEeWFqsbjn0GMrw" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_7ZbJVFFvEeWFqsbjn0GMrw" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_7ZbwYFFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_fOtnEFFvEeWFqsbjn0GMrw"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7ZbJVVFvEeWFqsbjn0GMrw" x="200"/> + </children> + <styles xmi:type="notation:DiagramStyle" xmi:id="_mdOcMVFvEeWFqsbjn0GMrw"/> + <styles xmi:type="style:PapyrusViewStyle" xmi:id="_mdOcMlFvEeWFqsbjn0GMrw"> + <owner xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_1BmroFFvEeWFqsbjn0GMrw"/> + </styles> + <styles xmi:type="notation:StringValueStyle" xmi:id="_mdqhEFFvEeWFqsbjn0GMrw" name="diagram_compatibility_version" stringValue="1.1.0"/> + <element xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_1BmroFFvEeWFqsbjn0GMrw"/> + <edges xmi:type="notation:Connector" xmi:id="_6hSnd1FvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_6ghycFFvEeWFqsbjn0GMrw" target="_6hSnc1FvEeWFqsbjn0GMrw"> + <styles xmi:type="notation:FontStyle" xmi:id="_6hSneFFvEeWFqsbjn0GMrw"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_6hTOgFFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_Von2kFFvEeWFqsbjn0GMrw"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_6hSneVFvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_6hSnelFvEeWFqsbjn0GMrw"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_6hSne1FvEeWFqsbjn0GMrw"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_6-b2dFFvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_690ycFFvEeWFqsbjn0GMrw" target="_6-b2cFFvEeWFqsbjn0GMrw"> + <styles xmi:type="notation:FontStyle" xmi:id="_6-b2dVFvEeWFqsbjn0GMrw"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_6-cdgFFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_b0XAEFFvEeWFqsbjn0GMrw"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_6-b2dlFvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_6-b2d1FvEeWFqsbjn0GMrw"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_6-b2eFFvEeWFqsbjn0GMrw"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_7ZbwYVFvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_7ZOVAFFvEeWFqsbjn0GMrw" target="_7ZbJU1FvEeWFqsbjn0GMrw"> + <styles xmi:type="notation:FontStyle" xmi:id="_7ZbwYlFvEeWFqsbjn0GMrw"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_7ZbwZlFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_fOtnEFFvEeWFqsbjn0GMrw"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_7ZbwY1FvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_7ZbwZFFvEeWFqsbjn0GMrw"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_7ZbwZVFvEeWFqsbjn0GMrw"/> + </edges> + </notation:Diagram> + <notation:Diagram xmi:id="_qMmbgFFwEeWFqsbjn0GMrw" type="RequirementDiagram" name="FlowPropertyDiagram" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_VdxawFIaEeWOVPwTUSkFAw" type="shape_sysml_requirement_as_classifier"> + <children xmi:type="notation:DecorationNode" xmi:id="_VdxawlIaEeWOVPwTUSkFAw" type="5029"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_VdyB0FIaEeWOVPwTUSkFAw" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_VdyB0VIaEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_VdyB0lIaEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_VdyB01IaEeWOVPwTUSkFAw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VdyB1FIaEeWOVPwTUSkFAw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_VdyB1VIaEeWOVPwTUSkFAw" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_VdyB1lIaEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_VdyB11IaEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_VdyB2FIaEeWOVPwTUSkFAw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VdyB2VIaEeWOVPwTUSkFAw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_VdyB2lIaEeWOVPwTUSkFAw" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_VdyB21IaEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_VdyB3FIaEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_VdyB3VIaEeWOVPwTUSkFAw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VdyB3lIaEeWOVPwTUSkFAw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_VdyB31IaEeWOVPwTUSkFAw" type="compartment_sysml_requirement_idinfo_as_list"> + <children xmi:type="notation:DecorationNode" xmi:id="_VdyB5FIaEeWOVPwTUSkFAw" type="label_sysml_requirement_id"/> + <children xmi:type="notation:DecorationNode" xmi:id="_VdyB5VIaEeWOVPwTUSkFAw" type="label_sysml_requirement_text"/> + <styles xmi:type="notation:TitleStyle" xmi:id="_VdyB4FIaEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_VdyB4VIaEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_VdyB4lIaEeWOVPwTUSkFAw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VdyB41IaEeWOVPwTUSkFAw"/> + </children> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_vgDSIFFwEeWFqsbjn0GMrw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VdxawVIaEeWOVPwTUSkFAw" x="193" y="247"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_Vd1FJVIaEeWOVPwTUSkFAw" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_Vd1FJlIaEeWOVPwTUSkFAw" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Vd1FKFIaEeWOVPwTUSkFAw" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_vgDSIFFwEeWFqsbjn0GMrw"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Vd1FJ1IaEeWOVPwTUSkFAw" x="200"/> + </children> + <styles xmi:type="notation:DiagramStyle" xmi:id="_qMmbgVFwEeWFqsbjn0GMrw"/> + <styles xmi:type="style:PapyrusViewStyle" xmi:id="_qMmbglFwEeWFqsbjn0GMrw"> + <owner xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_gyMWkFFwEeWFqsbjn0GMrw"/> + </styles> + <styles xmi:type="notation:StringValueStyle" xmi:id="_qMwMgFFwEeWFqsbjn0GMrw" name="diagram_compatibility_version" stringValue="1.1.0"/> + <element xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_gyMWkFFwEeWFqsbjn0GMrw"/> + <edges xmi:type="notation:Connector" xmi:id="_Vd1FKVIaEeWOVPwTUSkFAw" type="StereotypeCommentLink" source="_VdxawFIaEeWOVPwTUSkFAw" target="_Vd1FJVIaEeWOVPwTUSkFAw"> + <styles xmi:type="notation:FontStyle" xmi:id="_Vd1FKlIaEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Vd1FLlIaEeWOVPwTUSkFAw" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_vgDSIFFwEeWFqsbjn0GMrw"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Vd1FK1IaEeWOVPwTUSkFAw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Vd1FLFIaEeWOVPwTUSkFAw"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Vd1FLVIaEeWOVPwTUSkFAw"/> + </edges> + </notation:Diagram> + <notation:Diagram xmi:id="_lNfRYFIZEeWOVPwTUSkFAw" type="RequirementDiagram" name="BlockReq" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_lwTDgFIZEeWOVPwTUSkFAw" type="shape_sysml_requirement_as_classifier"> + <children xmi:type="notation:DecorationNode" xmi:id="_lwU4sFIZEeWOVPwTUSkFAw" type="5029"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_lwVfwFIZEeWOVPwTUSkFAw" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_lwVfwVIZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_lwVfwlIZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_lwVfw1IZEeWOVPwTUSkFAw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lwVfxFIZEeWOVPwTUSkFAw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_lwVfxVIZEeWOVPwTUSkFAw" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_lwVfxlIZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_lwVfx1IZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_lwVfyFIZEeWOVPwTUSkFAw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lwVfyVIZEeWOVPwTUSkFAw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_lwVfylIZEeWOVPwTUSkFAw" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_lwVfy1IZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_lwVfzFIZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_lwVfzVIZEeWOVPwTUSkFAw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lwVfzlIZEeWOVPwTUSkFAw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_lwVfz1IZEeWOVPwTUSkFAw" type="compartment_sysml_requirement_idinfo_as_list"> + <children xmi:type="notation:DecorationNode" xmi:id="_lwVf1FIZEeWOVPwTUSkFAw" type="label_sysml_requirement_id"/> + <children xmi:type="notation:DecorationNode" xmi:id="_lwVf1VIZEeWOVPwTUSkFAw" type="label_sysml_requirement_text"/> + <styles xmi:type="notation:TitleStyle" xmi:id="_lwVf0FIZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_lwVf0VIZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_lwVf0lIZEeWOVPwTUSkFAw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lwVf01IZEeWOVPwTUSkFAw"/> + </children> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_ZyAskFIZEeWOVPwTUSkFAw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lwTDgVIZEeWOVPwTUSkFAw" x="213" y="2"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_lwhtAFIZEeWOVPwTUSkFAw" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_lwhtAVIZEeWOVPwTUSkFAw" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_lwiUEFIZEeWOVPwTUSkFAw" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_ZyAskFIZEeWOVPwTUSkFAw"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lwhtAlIZEeWOVPwTUSkFAw" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_mYTesFIZEeWOVPwTUSkFAw" type="shape_sysml_requirement_as_classifier"> + <children xmi:type="notation:DecorationNode" xmi:id="_mYUFwFIZEeWOVPwTUSkFAw" type="5029"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_mYUFwVIZEeWOVPwTUSkFAw" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_mYUFwlIZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_mYUFw1IZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_mYUFxFIZEeWOVPwTUSkFAw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_mYUFxVIZEeWOVPwTUSkFAw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_mYUFxlIZEeWOVPwTUSkFAw" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_mYUFx1IZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_mYUFyFIZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_mYUFyVIZEeWOVPwTUSkFAw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_mYUFylIZEeWOVPwTUSkFAw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_mYUFy1IZEeWOVPwTUSkFAw" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_mYUFzFIZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_mYUFzVIZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_mYUFzlIZEeWOVPwTUSkFAw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_mYUFz1IZEeWOVPwTUSkFAw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_mYUF0FIZEeWOVPwTUSkFAw" type="compartment_sysml_requirement_idinfo_as_list"> + <children xmi:type="notation:DecorationNode" xmi:id="_mYUF1VIZEeWOVPwTUSkFAw" type="label_sysml_requirement_id"/> + <children xmi:type="notation:DecorationNode" xmi:id="_mYUF1lIZEeWOVPwTUSkFAw" type="label_sysml_requirement_text"/> + <styles xmi:type="notation:TitleStyle" xmi:id="_mYUF0VIZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_mYUF0lIZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_mYUF01IZEeWOVPwTUSkFAw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_mYUF1FIZEeWOVPwTUSkFAw"/> + </children> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_fOtnEFFvEeWFqsbjn0GMrw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_mYTesVIZEeWOVPwTUSkFAw" x="29" y="328"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_mYlLgFIZEeWOVPwTUSkFAw" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_mYlLgVIZEeWOVPwTUSkFAw" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_mYlLg1IZEeWOVPwTUSkFAw" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_fOtnEFFvEeWFqsbjn0GMrw"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_mYlLglIZEeWOVPwTUSkFAw" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_xY8ho1IZEeWOVPwTUSkFAw" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_xY8hpFIZEeWOVPwTUSkFAw" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_xY8hplIZEeWOVPwTUSkFAw" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_uNl_8FIZEeWOVPwTUSkFAw"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xY8hpVIZEeWOVPwTUSkFAw" x="406" y="234"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_8Heg4FIZEeWOVPwTUSkFAw" type="shape_sysml_requirement_as_classifier"> + <children xmi:type="notation:DecorationNode" xmi:id="_8Heg4lIZEeWOVPwTUSkFAw" type="5029"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_8Heg41IZEeWOVPwTUSkFAw" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_8Heg5FIZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_8Heg5VIZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_8Heg5lIZEeWOVPwTUSkFAw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8Heg51IZEeWOVPwTUSkFAw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_8Heg6FIZEeWOVPwTUSkFAw" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_8Heg6VIZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_8Heg6lIZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_8Heg61IZEeWOVPwTUSkFAw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8Heg7FIZEeWOVPwTUSkFAw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_8Heg7VIZEeWOVPwTUSkFAw" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_8Heg7lIZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_8Heg71IZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_8Heg8FIZEeWOVPwTUSkFAw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8Heg8VIZEeWOVPwTUSkFAw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_8Heg8lIZEeWOVPwTUSkFAw" type="compartment_sysml_requirement_idinfo_as_list"> + <children xmi:type="notation:DecorationNode" xmi:id="_8Heg91IZEeWOVPwTUSkFAw" type="label_sysml_requirement_id"/> + <children xmi:type="notation:DecorationNode" xmi:id="_8Heg-FIZEeWOVPwTUSkFAw" type="label_sysml_requirement_text"/> + <styles xmi:type="notation:TitleStyle" xmi:id="_8Heg81IZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_8Heg9FIZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_8Heg9VIZEeWOVPwTUSkFAw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8Heg9lIZEeWOVPwTUSkFAw"/> + </children> + <element xmi:type="uml:Class" href="omg.sysml.uml#_66Gknzq8EeW79ofuztDyTA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8Heg4VIZEeWOVPwTUSkFAw" x="455" y="2"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_8Hmcs1IZEeWOVPwTUSkFAw" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_8HmctFIZEeWOVPwTUSkFAw" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8HmctlIZEeWOVPwTUSkFAw" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="omg.sysml.uml#_66Gknzq8EeW79ofuztDyTA"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8HmctVIZEeWOVPwTUSkFAw" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="__gXIQ1IZEeWOVPwTUSkFAw" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="__gXIRFIZEeWOVPwTUSkFAw" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="__gXIRlIZEeWOVPwTUSkFAw" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_9nWYMFIZEeWOVPwTUSkFAw"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="__gXIRVIZEeWOVPwTUSkFAw" x="406" y="234"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_M0nxUFYEEeW77p7V_ZuW3Q" type="shape_sysml_requirement_as_classifier"> + <children xmi:type="notation:DecorationNode" xmi:id="_M0oYYFYEEeW77p7V_ZuW3Q" type="5029"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_M0oYYVYEEeW77p7V_ZuW3Q" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_M0oYYlYEEeW77p7V_ZuW3Q"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_M0oYY1YEEeW77p7V_ZuW3Q"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_M0oYZFYEEeW77p7V_ZuW3Q"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_M0oYZVYEEeW77p7V_ZuW3Q"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_M0oYZlYEEeW77p7V_ZuW3Q" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_M0oYZ1YEEeW77p7V_ZuW3Q"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_M0oYaFYEEeW77p7V_ZuW3Q"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_M0oYaVYEEeW77p7V_ZuW3Q"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_M0oYalYEEeW77p7V_ZuW3Q"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_M0oYa1YEEeW77p7V_ZuW3Q" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_M0oYbFYEEeW77p7V_ZuW3Q"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_M0oYbVYEEeW77p7V_ZuW3Q"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_M0oYblYEEeW77p7V_ZuW3Q"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_M0oYb1YEEeW77p7V_ZuW3Q"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_M0oYcFYEEeW77p7V_ZuW3Q" type="compartment_sysml_requirement_idinfo_as_list"> + <children xmi:type="notation:DecorationNode" xmi:id="_M0oYdVYEEeW77p7V_ZuW3Q" type="label_sysml_requirement_id"/> + <children xmi:type="notation:DecorationNode" xmi:id="_M0oYdlYEEeW77p7V_ZuW3Q" type="label_sysml_requirement_text"/> + <styles xmi:type="notation:TitleStyle" xmi:id="_M0oYcVYEEeW77p7V_ZuW3Q"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_M0oYclYEEeW77p7V_ZuW3Q"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_M0oYc1YEEeW77p7V_ZuW3Q"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_M0oYdFYEEeW77p7V_ZuW3Q"/> + </children> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_GvJA0FYEEeW77p7V_ZuW3Q"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_M0nxUVYEEeW77p7V_ZuW3Q" x="206" y="323"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_M0tQ4FYEEeW77p7V_ZuW3Q" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_M0tQ4VYEEeW77p7V_ZuW3Q" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_M0tQ41YEEeW77p7V_ZuW3Q" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_GvJA0FYEEeW77p7V_ZuW3Q"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_M0tQ4lYEEeW77p7V_ZuW3Q" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_B58LUFeXEeW35uAYw-w4dQ" type="shape_sysml_requirement_as_classifier"> + <children xmi:type="notation:DecorationNode" xmi:id="_B58LUleXEeW35uAYw-w4dQ" type="5029"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_B58LU1eXEeW35uAYw-w4dQ" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_B58LVFeXEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_B58LVVeXEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_B58LVleXEeW35uAYw-w4dQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_B58LV1eXEeW35uAYw-w4dQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_B58LWFeXEeW35uAYw-w4dQ" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_B58LWVeXEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_B58LWleXEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_B58LW1eXEeW35uAYw-w4dQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_B58LXFeXEeW35uAYw-w4dQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_B58LXVeXEeW35uAYw-w4dQ" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_B58LXleXEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_B58LX1eXEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_B58LYFeXEeW35uAYw-w4dQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_B58LYVeXEeW35uAYw-w4dQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_B58LYleXEeW35uAYw-w4dQ" type="compartment_sysml_requirement_idinfo_as_list"> + <children xmi:type="notation:DecorationNode" xmi:id="_B58LZ1eXEeW35uAYw-w4dQ" type="label_sysml_requirement_id"/> + <children xmi:type="notation:DecorationNode" xmi:id="_B58LaFeXEeW35uAYw-w4dQ" type="label_sysml_requirement_text"/> + <styles xmi:type="notation:TitleStyle" xmi:id="_B58LY1eXEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_B58LZFeXEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_B58LZVeXEeW35uAYw-w4dQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_B58LZleXEeW35uAYw-w4dQ"/> + </children> + <element xmi:type="uml:Class" href="omg.sysml.uml#_66Jn6Tq8EeW79ofuztDyTA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_B58LUVeXEeW35uAYw-w4dQ" x="454" y="122"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_B6C5A1eXEeW35uAYw-w4dQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_B6C5BFeXEeW35uAYw-w4dQ" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_B6DgEFeXEeW35uAYw-w4dQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="omg.sysml.uml#_66Jn6Tq8EeW79ofuztDyTA"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_B6C5BVeXEeW35uAYw-w4dQ" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_IGd_A1eXEeW35uAYw-w4dQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_IGd_BFeXEeW35uAYw-w4dQ" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_IGd_BleXEeW35uAYw-w4dQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_HW-bwFeXEeW35uAYw-w4dQ"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_IGd_BVeXEeW35uAYw-w4dQ" x="413" y="-98"/> + </children> + <children xmi:type="notation:Shape" xmi:id="__AQL8FeXEeW35uAYw-w4dQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="__AQL8VeXEeW35uAYw-w4dQ" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="__AQL81eXEeW35uAYw-w4dQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_-MFkEFeXEeW35uAYw-w4dQ"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="__AQL8leXEeW35uAYw-w4dQ" x="406" y="223"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_OAUR0FeYEeW35uAYw-w4dQ" type="shape_sysml_requirement_as_classifier"> + <children xmi:type="notation:DecorationNode" xmi:id="_OAU44FeYEeW35uAYw-w4dQ" type="5029"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_OAU44VeYEeW35uAYw-w4dQ" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_OAU44leYEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_OAU441eYEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_OAU45FeYEeW35uAYw-w4dQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OAU45VeYEeW35uAYw-w4dQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_OAU45leYEeW35uAYw-w4dQ" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_OAU451eYEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_OAU46FeYEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_OAU46VeYEeW35uAYw-w4dQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OAU46leYEeW35uAYw-w4dQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_OAU461eYEeW35uAYw-w4dQ" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_OAU47FeYEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_OAU47VeYEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_OAU47leYEeW35uAYw-w4dQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OAU471eYEeW35uAYw-w4dQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_OAU48FeYEeW35uAYw-w4dQ" type="compartment_sysml_requirement_idinfo_as_list"> + <children xmi:type="notation:DecorationNode" xmi:id="_OAU49VeYEeW35uAYw-w4dQ" type="label_sysml_requirement_id"/> + <children xmi:type="notation:DecorationNode" xmi:id="_OAU49leYEeW35uAYw-w4dQ" type="label_sysml_requirement_text"/> + <styles xmi:type="notation:TitleStyle" xmi:id="_OAU48VeYEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_OAU48leYEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_OAU481eYEeW35uAYw-w4dQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OAU49FeYEeW35uAYw-w4dQ"/> + </children> + <element xmi:type="uml:Class" href="omg.sysml.uml#_66IZyTq8EeW79ofuztDyTA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OAUR0VeYEeW35uAYw-w4dQ" x="455" y="250"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_OAcNoFeYEeW35uAYw-w4dQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_OAcNoVeYEeW35uAYw-w4dQ" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_OAcNo1eYEeW35uAYw-w4dQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="omg.sysml.uml#_66IZyTq8EeW79ofuztDyTA"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OAcNoleYEeW35uAYw-w4dQ" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_QXhZwFeYEeW35uAYw-w4dQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_QXhZwVeYEeW35uAYw-w4dQ" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_QXhZw1eYEeW35uAYw-w4dQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_O7L-oFeYEeW35uAYw-w4dQ"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QXhZwleYEeW35uAYw-w4dQ" x="406" y="223"/> + </children> + <styles xmi:type="notation:DiagramStyle" xmi:id="_lNfRYVIZEeWOVPwTUSkFAw"/> + <styles xmi:type="style:PapyrusViewStyle" xmi:id="_lNfRYlIZEeWOVPwTUSkFAw"> + <owner xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_R-maoFIZEeWOVPwTUSkFAw"/> + </styles> + <styles xmi:type="notation:StringValueStyle" xmi:id="_lNt64FIZEeWOVPwTUSkFAw" name="diagram_compatibility_version" stringValue="1.1.0"/> + <element xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_R-maoFIZEeWOVPwTUSkFAw"/> + <edges xmi:type="notation:Connector" xmi:id="_lwiUEVIZEeWOVPwTUSkFAw" type="StereotypeCommentLink" source="_lwTDgFIZEeWOVPwTUSkFAw" target="_lwhtAFIZEeWOVPwTUSkFAw"> + <styles xmi:type="notation:FontStyle" xmi:id="_lwiUElIZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_lwi7IlIZEeWOVPwTUSkFAw" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_ZyAskFIZEeWOVPwTUSkFAw"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_lwiUE1IZEeWOVPwTUSkFAw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_lwi7IFIZEeWOVPwTUSkFAw"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_lwi7IVIZEeWOVPwTUSkFAw"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_mYlLhFIZEeWOVPwTUSkFAw" type="StereotypeCommentLink" source="_mYTesFIZEeWOVPwTUSkFAw" target="_mYlLgFIZEeWOVPwTUSkFAw"> + <styles xmi:type="notation:FontStyle" xmi:id="_mYlLhVIZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_mYlykFIZEeWOVPwTUSkFAw" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_fOtnEFFvEeWFqsbjn0GMrw"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_mYlLhlIZEeWOVPwTUSkFAw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_mYlLh1IZEeWOVPwTUSkFAw"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_mYlLiFIZEeWOVPwTUSkFAw"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_uNpDQFIZEeWOVPwTUSkFAw" type="4006" source="_lwTDgFIZEeWOVPwTUSkFAw" target="_mYTesFIZEeWOVPwTUSkFAw"> + <children xmi:type="notation:DecorationNode" xmi:id="_uNpqUFIZEeWOVPwTUSkFAw" type="6014"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_uNpqUVIZEeWOVPwTUSkFAw" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_uNpqUlIZEeWOVPwTUSkFAw" type="6015"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_uNpqU1IZEeWOVPwTUSkFAw" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_uNpDQVIZEeWOVPwTUSkFAw"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_uNl_8FIZEeWOVPwTUSkFAw"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_uNpDQlIZEeWOVPwTUSkFAw" points="[0, 0, -68, 287]$[61, -305, -7, -18]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_uOKAoFIZEeWOVPwTUSkFAw" id="(0.0,0.13)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_uOKnsFIZEeWOVPwTUSkFAw" id="(1.0,0.79)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_xY8hp1IZEeWOVPwTUSkFAw" type="StereotypeCommentLink" source="_uNpDQFIZEeWOVPwTUSkFAw" target="_xY8ho1IZEeWOVPwTUSkFAw"> + <styles xmi:type="notation:FontStyle" xmi:id="_xY8hqFIZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_xY8hrFIZEeWOVPwTUSkFAw" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_uNl_8FIZEeWOVPwTUSkFAw"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_xY8hqVIZEeWOVPwTUSkFAw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_xY8hqlIZEeWOVPwTUSkFAw"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_xY8hq1IZEeWOVPwTUSkFAw"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_8Hmct1IZEeWOVPwTUSkFAw" type="StereotypeCommentLink" source="_8Heg4FIZEeWOVPwTUSkFAw" target="_8Hmcs1IZEeWOVPwTUSkFAw"> + <styles xmi:type="notation:FontStyle" xmi:id="_8HmcuFIZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8HmcvFIZEeWOVPwTUSkFAw" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="omg.sysml.uml#_66Gknzq8EeW79ofuztDyTA"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8HmcuVIZEeWOVPwTUSkFAw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8HmculIZEeWOVPwTUSkFAw"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8Hmcu1IZEeWOVPwTUSkFAw"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_9nZbgFIZEeWOVPwTUSkFAw" type="4006" source="_lwTDgFIZEeWOVPwTUSkFAw" target="_8Heg4FIZEeWOVPwTUSkFAw"> + <children xmi:type="notation:DecorationNode" xmi:id="_9naCkFIZEeWOVPwTUSkFAw" type="6014"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_9naCkVIZEeWOVPwTUSkFAw" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_9naCklIZEeWOVPwTUSkFAw" type="6015"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_9naCk1IZEeWOVPwTUSkFAw" x="-6" y="24"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_9nZbgVIZEeWOVPwTUSkFAw"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_9nWYMFIZEeWOVPwTUSkFAw"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_9nZbglIZEeWOVPwTUSkFAw" points="[0, 0, 24, 245]$[28, -268, 52, -23]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9n6Y4FIZEeWOVPwTUSkFAw" id="(1.0,0.17)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9n6Y4VIZEeWOVPwTUSkFAw" id="(0.0,0.4)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="__gXIR1IZEeWOVPwTUSkFAw" type="StereotypeCommentLink" source="_9nZbgFIZEeWOVPwTUSkFAw" target="__gXIQ1IZEeWOVPwTUSkFAw"> + <styles xmi:type="notation:FontStyle" xmi:id="__gXISFIZEeWOVPwTUSkFAw"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="__gXITFIZEeWOVPwTUSkFAw" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_9nWYMFIZEeWOVPwTUSkFAw"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__gXISVIZEeWOVPwTUSkFAw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="__gXISlIZEeWOVPwTUSkFAw"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="__gXIS1IZEeWOVPwTUSkFAw"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_M0t38FYEEeW77p7V_ZuW3Q" type="StereotypeCommentLink" source="_M0nxUFYEEeW77p7V_ZuW3Q" target="_M0tQ4FYEEeW77p7V_ZuW3Q"> + <styles xmi:type="notation:FontStyle" xmi:id="_M0t38VYEEeW77p7V_ZuW3Q"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_M0t39VYEEeW77p7V_ZuW3Q" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_GvJA0FYEEeW77p7V_ZuW3Q"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_M0t38lYEEeW77p7V_ZuW3Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_M0t381YEEeW77p7V_ZuW3Q"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_M0t39FYEEeW77p7V_ZuW3Q"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_B6DgEVeXEeW35uAYw-w4dQ" type="StereotypeCommentLink" source="_B58LUFeXEeW35uAYw-w4dQ" target="_B6C5A1eXEeW35uAYw-w4dQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_B6DgEleXEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_B6DgFleXEeW35uAYw-w4dQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="omg.sysml.uml#_66Jn6Tq8EeW79ofuztDyTA"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_B6DgE1eXEeW35uAYw-w4dQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_B6DgFFeXEeW35uAYw-w4dQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_B6DgFVeXEeW35uAYw-w4dQ"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_HXCtMFeXEeW35uAYw-w4dQ" type="4006" source="_lwTDgFIZEeWOVPwTUSkFAw" target="_B58LUFeXEeW35uAYw-w4dQ"> + <children xmi:type="notation:DecorationNode" xmi:id="_HXDUQFeXEeW35uAYw-w4dQ" type="6014"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_HXDUQVeXEeW35uAYw-w4dQ" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_HXDUQleXEeW35uAYw-w4dQ" type="6015"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_HXDUQ1eXEeW35uAYw-w4dQ" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_HXCtMVeXEeW35uAYw-w4dQ"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_HW-bwFeXEeW35uAYw-w4dQ"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_HXCtMleXEeW35uAYw-w4dQ" points="[0, 0, -185, -67]$[141, 55, -44, -12]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_HXc84FeXEeW35uAYw-w4dQ" id=""/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_HXc84VeXEeW35uAYw-w4dQ" id="(0.0,0.15)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_IGd_B1eXEeW35uAYw-w4dQ" type="StereotypeCommentLink" source="_HXCtMFeXEeW35uAYw-w4dQ" target="_IGd_A1eXEeW35uAYw-w4dQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_IGd_CFeXEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_IGd_DFeXEeW35uAYw-w4dQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_HW-bwFeXEeW35uAYw-w4dQ"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_IGd_CVeXEeW35uAYw-w4dQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_IGd_CleXEeW35uAYw-w4dQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_IGd_C1eXEeW35uAYw-w4dQ"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_-MGyMFeXEeW35uAYw-w4dQ" type="4006" source="_M0nxUFYEEeW77p7V_ZuW3Q" target="_mYTesFIZEeWOVPwTUSkFAw"> + <children xmi:type="notation:DecorationNode" xmi:id="_-MGyM1eXEeW35uAYw-w4dQ" type="6014"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-MGyNFeXEeW35uAYw-w4dQ" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_-MGyNVeXEeW35uAYw-w4dQ" type="6015"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-MGyNleXEeW35uAYw-w4dQ" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_-MGyMVeXEeW35uAYw-w4dQ"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_-MFkEFeXEeW35uAYw-w4dQ"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_-MGyMleXEeW35uAYw-w4dQ" points="[-100, -6, 69, 0]$[-155, -15, 14, -9]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_-Ml6YFeXEeW35uAYw-w4dQ" id="(1.0,0.31)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_-Ml6YVeXEeW35uAYw-w4dQ" id="(1.0,0.21)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="__AQL9FeXEeW35uAYw-w4dQ" type="StereotypeCommentLink" source="_-MGyMFeXEeW35uAYw-w4dQ" target="__AQL8FeXEeW35uAYw-w4dQ"> + <styles xmi:type="notation:FontStyle" xmi:id="__AQL9VeXEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="__AQL-VeXEeW35uAYw-w4dQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_-MFkEFeXEeW35uAYw-w4dQ"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__AQL9leXEeW35uAYw-w4dQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="__AQL91eXEeW35uAYw-w4dQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="__AQL-FeXEeW35uAYw-w4dQ"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_OAcNpFeYEeW35uAYw-w4dQ" type="StereotypeCommentLink" source="_OAUR0FeYEeW35uAYw-w4dQ" target="_OAcNoFeYEeW35uAYw-w4dQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_OAcNpVeYEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_OAcNqVeYEeW35uAYw-w4dQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="omg.sysml.uml#_66IZyTq8EeW79ofuztDyTA"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OAcNpleYEeW35uAYw-w4dQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OAcNp1eYEeW35uAYw-w4dQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OAcNqFeYEeW35uAYw-w4dQ"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_O7PpAFeYEeW35uAYw-w4dQ" type="4006" source="_M0nxUFYEEeW77p7V_ZuW3Q" target="_OAUR0FeYEeW35uAYw-w4dQ"> + <children xmi:type="notation:DecorationNode" xmi:id="_O7QQEFeYEeW35uAYw-w4dQ" type="6014"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_O7QQEVeYEeW35uAYw-w4dQ" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_O7QQEleYEeW35uAYw-w4dQ" type="6015"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_O7QQE1eYEeW35uAYw-w4dQ" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_O7PpAVeYEeW35uAYw-w4dQ"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_O7L-oFeYEeW35uAYw-w4dQ"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_O7PpAleYEeW35uAYw-w4dQ" points="[0, 0, -160, 92]$[149, -95, -11, -3]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_O7xNcFeYEeW35uAYw-w4dQ" id=""/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_O7xNcVeYEeW35uAYw-w4dQ" id="(0.0,0.24)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_QXhZxFeYEeW35uAYw-w4dQ" type="StereotypeCommentLink" source="_O7PpAFeYEeW35uAYw-w4dQ" target="_QXhZwFeYEeW35uAYw-w4dQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_QXhZxVeYEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_QXhZyVeYEeW35uAYw-w4dQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_O7L-oFeYEeW35uAYw-w4dQ"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_QXhZxleYEeW35uAYw-w4dQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_QXhZx1eYEeW35uAYw-w4dQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_QXhZyFeYEeW35uAYw-w4dQ"/> + </edges> + </notation:Diagram> + <nattable:Table xmi:id="_z7W68JoPEeeXz9m6CNxSgg" name="RequirementTable" currentRowAxisProvider="_z7W69JoPEeeXz9m6CNxSgg" currentColumnAxisProvider="_z7W68ZoPEeeXz9m6CNxSgg" tableKindId="org.eclipse.papyrus.sysml14.table.requirement"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_z7YJEJoPEeeXz9m6CNxSgg" source="http://www.eclipse.org/papyrus/infra/nattable/version"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_z7YJEZoPEeeXz9m6CNxSgg" key="version" value="1.3.0"/> + </eAnnotations> + <context xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.uml#_Py6ZopsTEeSu6pfLknKE4A"/> + <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.uml#_Py6ZopsTEeSu6pfLknKE4A"/> + <tableConfiguration xmi:type="nattableconfiguration:TableConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/resources/requirement.nattableconfiguration#/"/> + <columnAxisProvidersHistory xmi:type="nattableaxisprovider:SlaveObjectAxisProvider" xmi:id="_z7W68ZoPEeeXz9m6CNxSgg" description="Provides the columns of the tables with a default configuration" name="Requirements Feature Columns Provider"> + <axis xmi:type="nattableaxis:FeatureIdAxis" xmi:id="_z7W68poPEeeXz9m6CNxSgg" element="property_of_stereotype:/SysML::Requirements::Requirement::id"> + <manager xmi:type="nattableaxisconfiguration:AxisManagerRepresentation" href="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/resources/requirement.nattableconfiguration#//@columnHeaderAxisConfiguration/@axisManagers.1"/> + </axis> + <axis xmi:type="nattableaxis:FeatureIdAxis" xmi:id="_z7W685oPEeeXz9m6CNxSgg" element="property_of_stereotype:/SysML::Requirements::Requirement::text"> + <manager xmi:type="nattableaxisconfiguration:AxisManagerRepresentation" href="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/resources/requirement.nattableconfiguration#//@columnHeaderAxisConfiguration/@axisManagers.1"/> + </axis> + </columnAxisProvidersHistory> + <rowAxisProvidersHistory xmi:type="nattableaxisprovider:MasterObjectAxisProvider" xmi:id="_z7W69JoPEeeXz9m6CNxSgg" description="Provides the requirements directly owned by the context of the table" name="Requirement Axis Provider" disconnectSlave="true"/> + </nattable:Table> +</xmi:XMI>
diff --git a/core/org.eclipse.papyrus.sysml/resources/doc/org.eclipse.papyrus.sysml14.uml b/core/org.eclipse.papyrus.sysml/resources/doc/org.eclipse.papyrus.sysml14.uml new file mode 100644 index 0000000..5a4edea --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/resources/doc/org.eclipse.papyrus.sysml14.uml
@@ -0,0 +1,269 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Requirements="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"> + <uml:Model xmi:id="_Py6ZoJsTEeSu6pfLknKE4A" name="org.eclipse.papyrus.sysml14"> + <packageImport xmi:type="uml:PackageImport" xmi:id="_Py6ZoZsTEeSu6pfLknKE4A"> + <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/> + </packageImport> + <packageImport xmi:type="uml:PackageImport" xmi:id="_YlZWgDrCEeWNg8WvR7UDoQ"> + <importedPackage xmi:type="uml:Package" href="omg.sysml.uml#_hXjKoDqsEeWNg8WvR7UDoQ"/> + </packageImport> + <packageImport xmi:type="uml:PackageImport" xmi:id="_SPzrQEvKEeWZWeCQhncKfA"> + <importedPackage xmi:type="uml:Model" href="omg.sysml.uml#_d7ALQDqsEeWNg8WvR7UDoQ"/> + </packageImport> + <packagedElement xmi:type="uml:Model" xmi:id="_Py6ZopsTEeSu6pfLknKE4A" name="Requirements"> + <packagedElement xmi:type="uml:Class" xmi:id="_PTiQ0JslEeSu6pfLknKE4A" name="DerivedProperties"> + <nestedClassifier xmi:type="uml:Class" xmi:id="_7YhKcEvJEeWZWeCQhncKfA" name="DerivedPropertiesForRequirements"/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_v8yNUEvREeW7GL09oTsTMQ" name="DerivedPropertiesForStakeholder"/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_Fcc3AEyaEeW4oLNX8bopVA" name="DerivedPropertiesForViewPoint"/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_k3o2EEybEeW4oLNX8bopVA" name="DerivedPropertiesForElementGroup"/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_XVTu4E1eEeW4oLNX8bopVA" name="DerivedPropertiesForView"/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_fNa8kFB9EeWWUsSyiZaNIg" name="DerivedPropertiesForBoundReference"/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_zZT7YFCvEeWWUsSyiZaNIg" name="DerivedPropertiesForFlowPort"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_ngV8oJsxEeSYaIZuWOBlYQ" name="ServiceRegistryCall"/> + <packagedElement xmi:type="uml:Class" xmi:id="_Kl7pgJs2EeSYaIZuWOBlYQ" name="Association"> + <nestedClassifier xmi:type="uml:Class" xmi:id="_SI8vAJs2EeSYaIZuWOBlYQ" name="Association must have 2 association ends"/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_gQ_nwJs2EeSYaIZuWOBlYQ" name="OptionalName "/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_EUOlcJs3EeSYaIZuWOBlYQ" name="A property must reference a Block"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_zxkO8Js3EeSYaIZuWOBlYQ" name="connector end of bindingconnector"/> + <packagedElement xmi:type="uml:Class" xmi:id="_p8VYwJtDEeSYaIZuWOBlYQ" name="ConnectorEnd"> + <nestedClassifier xmi:type="uml:Class" xmi:id="_BWfykJtDEeSYaIZuWOBlYQ" name="NestedConnector automatically created"/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_DlXBYJtEEeS5lMkaDojPJg" name="First property in propertyPath"/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_NWLbMJtEEeS5lMkaDojPJg" name="Last property of property path"/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_n3sgIJtGEeS5lMkaDojPJg" name="take in account property is encapsulated of the block"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_HlOKIJv9EeS1Sc9sg-ntVw" name="DisplayOrientedIconPort"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_ijvz0EvKEeWZWeCQhncKfA" client="_7YhKcEvJEeWZWeCQhncKfA"> + <supplier xmi:type="uml:Class" href="omg.sysml.uml#_66XDTTq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_PLg6MEvSEeW7GL09oTsTMQ" client="_v8yNUEvREeW7GL09oTsTMQ"> + <supplier xmi:type="uml:Class" href="omg.sysml.uml#_66GkkTq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_uAOnsEyaEeW4oLNX8bopVA" client="_Fcc3AEyaEeW4oLNX8bopVA"> + <supplier xmi:type="uml:Class" href="omg.sysml.uml#_66GklTq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_8TxwYEybEeW4oLNX8bopVA" client="_k3o2EEybEeW4oLNX8bopVA"> + <supplier xmi:type="uml:Class" href="omg.sysml.uml#_66F9ijq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_sKOvUE1eEeW4oLNX8bopVA" client="_XVTu4E1eEeW4oLNX8bopVA"> + <supplier xmi:type="uml:Class" href="omg.sysml.uml#_66Gkkzq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_vff8kFCAEeWWUsSyiZaNIg" client="_fNa8kFB9EeWWUsSyiZaNIg"> + <supplier xmi:type="uml:Class" href="omg.sysml.uml#_66Jn6zq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_LNlo4FCwEeWWUsSyiZaNIg" client="_zZT7YFCvEeWWUsSyiZaNIg"> + <supplier xmi:type="uml:Class" href="omg.sysml.uml#_66bUwDq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_fOtnEFFvEeWFqsbjn0GMrw" name="SysML-Extension"/> + <packagedElement xmi:type="uml:Package" xmi:id="_1BmroFFvEeWFqsbjn0GMrw" name="DeprecatedElements"> + <packagedElement xmi:type="uml:Class" xmi:id="_Von2kFFvEeWFqsbjn0GMrw" name="FlowPort"> + <nestedClassifier xmi:type="uml:Class" xmi:id="_b0XAEFFvEeWFqsbjn0GMrw" name="FlowPortIcons"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_Bf28EFFwEeWFqsbjn0GMrw" name="DeriveReqt1" client="_b0XAEFFvEeWFqsbjn0GMrw"/> + <packagedElement xmi:type="uml:Class" xmi:id="_RP-kMGE6EeWbSMDuSXx8SQ" name="REQ_001"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_RTxfEGE6EeWbSMDuSXx8SQ" name="DeriveFrom_REQ-OMG-SYSML14-9.1.5 Deprecation of Flow Ports and Flow Specifications" client="_RP-kMGE6EeWbSMDuSXx8SQ"> + <supplier xmi:type="uml:Class" href="omg.sysml.uml#_66MrOTq8EeW79ofuztDyTA"/> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="_gyMWkFFwEeWFqsbjn0GMrw" name="PortsAndFlows"> + <packagedElement xmi:type="uml:Class" xmi:id="_vgDSIFFwEeWFqsbjn0GMrw" name="FlowProperty"> + <nestedClassifier xmi:type="uml:Class" xmi:id="_5W_iEFFwEeWFqsbjn0GMrw" name="FlowPropertyIcons"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_9_9RQFFwEeWFqsbjn0GMrw" name="DeriveReqt1" client="_5W_iEFFwEeWFqsbjn0GMrw" supplier="_fOtnEFFvEeWFqsbjn0GMrw"/> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="_R-maoFIZEeWOVPwTUSkFAw" name="Blocks"> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_uNl_8FIZEeWOVPwTUSkFAw" client="_ZyAskFIZEeWOVPwTUSkFAw" supplier="_fOtnEFFvEeWFqsbjn0GMrw"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_9nWYMFIZEeWOVPwTUSkFAw" client="_ZyAskFIZEeWOVPwTUSkFAw"> + <supplier xmi:type="uml:Class" href="omg.sysml.uml#_66Gknzq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_an2S8FIaEeWOVPwTUSkFAw" name="Block"> + <nestedClassifier xmi:type="uml:Class" xmi:id="_ZyAskFIZEeWOVPwTUSkFAw" name="References"/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_GvJA0FYEEeW77p7V_ZuW3Q" name="Parts"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_HW-bwFeXEeW35uAYw-w4dQ" client="_ZyAskFIZEeWOVPwTUSkFAw"> + <supplier xmi:type="uml:Class" href="omg.sysml.uml#_66Jn6Tq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_-MFkEFeXEeW35uAYw-w4dQ" client="_GvJA0FYEEeW77p7V_ZuW3Q" supplier="_fOtnEFFvEeWFqsbjn0GMrw"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_O7L-oFeYEeW35uAYw-w4dQ" client="_GvJA0FYEEeW77p7V_ZuW3Q"> + <supplier xmi:type="uml:Class" href="omg.sysml.uml#_66IZyTq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_p-rVwGE-EeWbSMDuSXx8SQ" name="REQ_001"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_qAPcAGE-EeWbSMDuSXx8SQ" name="DeriveFrom_REQ-OMG-SYSML14-9.3.0.2 FlowProperty" client="_p-rVwGE-EeWbSMDuSXx8SQ"> + <supplier xmi:type="uml:Class" href="omg.sysml.uml#_66NSRTq8EeW79ofuztDyTA"/> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="_gbUwIACzEeabH6-I0dvpUQ" name="ConstraintBlock"> + <packagedElement xmi:type="uml:Class" xmi:id="_jlxS4ACzEeabH6-I0dvpUQ" name="ConstraintBlock"/> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Model" xmi:id="_Py6Zo5sTEeSu6pfLknKE4A" name="UseCases"> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_Py6ZpJsTEeSu6pfLknKE4A" name="useCasesAbstraction" client="_Py6Zo5sTEeSu6pfLknKE4A" supplier="_Py6ZopsTEeSu6pfLknKE4A"/> + <packagedElement xmi:type="uml:Component" xmi:id="_Py6ZpZsTEeSu6pfLknKE4A" name="MySystem"/> + </packagedElement> + <packagedElement xmi:type="uml:Model" xmi:id="_Py6ZppsTEeSu6pfLknKE4A" name="Design"> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_Py6Zp5sTEeSu6pfLknKE4A" name="DesignAbstraction" client="_Py6ZppsTEeSu6pfLknKE4A" supplier="_Py6Zo5sTEeSu6pfLknKE4A"/> + </packagedElement> + <packagedElement xmi:type="uml:Model" xmi:id="_Py6ZqJsTEeSu6pfLknKE4A" name="Test"> + <packagedElement xmi:type="uml:Dependency" xmi:id="_Py6ZqZsTEeSu6pfLknKE4A" name="Dependency1" client="_Py6ZqJsTEeSu6pfLknKE4A" supplier="_Py6Zo5sTEeSu6pfLknKE4A"/> + <packagedElement xmi:type="uml:Dependency" xmi:id="_Py6ZqpsTEeSu6pfLknKE4A" name="Dependency2" client="_Py6ZqJsTEeSu6pfLknKE4A" supplier="_Py6ZppsTEeSu6pfLknKE4A"/> + <packagedElement xmi:type="uml:Dependency" xmi:id="_c_gSYCYeEeWtn6hjmtufug" client="_Py6ZqJsTEeSu6pfLknKE4A" supplier="_Py6ZopsTEeSu6pfLknKE4A"/> + <packagedElement xmi:type="uml:Package" xmi:id="_oIXvcEvJEeWZWeCQhncKfA" name="org.eclipse.papyrus.sysml14.tests"> + <packagedElement xmi:type="uml:Package" xmi:id="_gcnOkEvSEeW7GL09oTsTMQ" name="requirements"> + <packagedElement xmi:type="uml:Class" xmi:id="_tx15YEvJEeWZWeCQhncKfA" name="RequirementTest"> + <ownedOperation xmi:type="uml:Operation" xmi:id="_hHaxAEvQEeW7GL09oTsTMQ" name="testGetDerived"/> + <ownedOperation xmi:type="uml:Operation" xmi:id="_kvCX8EvQEeW7GL09oTsTMQ" name="testGetDerivedFrom"/> + <ownedOperation xmi:type="uml:Operation" xmi:id="_lZitgEvQEeW7GL09oTsTMQ" name="testGetMaster"/> + <ownedOperation xmi:type="uml:Operation" xmi:id="_lwB64EvQEeW7GL09oTsTMQ" name="testGetRefinedBy"/> + <ownedOperation xmi:type="uml:Operation" xmi:id="_mFLrgEvQEeW7GL09oTsTMQ" name="testGetSatisfiedBy"/> + <ownedOperation xmi:type="uml:Operation" xmi:id="_mYLgAEvQEeW7GL09oTsTMQ" name="testGetTracedTo"/> + <ownedOperation xmi:type="uml:Operation" xmi:id="_msotEEvQEeW7GL09oTsTMQ" name="testGetVerifiedBy"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_zFDfcEvJEeWZWeCQhncKfA" client="_tx15YEvJEeWZWeCQhncKfA" supplier="_7YhKcEvJEeWZWeCQhncKfA"/> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="_j1ufcEvSEeW7GL09oTsTMQ" name="modelelements"> + <packagedElement xmi:type="uml:Class" xmi:id="_hdDicEvTEeW7GL09oTsTMQ" name="StakeholderTest"> + <ownedOperation xmi:type="uml:Operation" xmi:id="_sHiIIEvTEeW7GL09oTsTMQ" name="testGetConcern"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_iM_xoEvTEeW7GL09oTsTMQ" client="_j1ufcEvSEeW7GL09oTsTMQ" supplier="_v8yNUEvREeW7GL09oTsTMQ"/> + <packagedElement xmi:type="uml:Class" xmi:id="_VIuioEyaEeW4oLNX8bopVA" name="ViewpointTest"> + <ownedOperation xmi:type="uml:Operation" xmi:id="_Y7N80EyaEeW4oLNX8bopVA" name="testGetConcern"/> + <ownedOperation xmi:type="uml:Operation" xmi:id="_aX1r0EyaEeW4oLNX8bopVA" name="testGetMethod"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_f0oEoEyaEeW4oLNX8bopVA" client="_VIuioEyaEeW4oLNX8bopVA" supplier="_Fcc3AEyaEeW4oLNX8bopVA"/> + <packagedElement xmi:type="uml:Class" xmi:id="_CDtHoEycEeW4oLNX8bopVA" name="ElementGroupTest"> + <ownedOperation xmi:type="uml:Operation" xmi:id="_HkR0QEycEeW4oLNX8bopVA" name="testGetCriterion"/> + <ownedOperation xmi:type="uml:Operation" xmi:id="_JjX-MEycEeW4oLNX8bopVA" name="testGetSize"/> + <ownedOperation xmi:type="uml:Operation" xmi:id="_LpeIAEycEeW4oLNX8bopVA" name="testGetMember"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_P4npAEycEeW4oLNX8bopVA" client="_CDtHoEycEeW4oLNX8bopVA" supplier="_k3o2EEybEeW4oLNX8bopVA"/> + <packagedElement xmi:type="uml:Class" xmi:id="_xYeV0E1eEeW4oLNX8bopVA" name="ViewTest"> + <ownedOperation xmi:type="uml:Operation" xmi:id="_0iXe8E1eEeW4oLNX8bopVA" name="testGetViewPoint"/> + <ownedOperation xmi:type="uml:Operation" xmi:id="_3JrfcE1eEeW4oLNX8bopVA" name="testGetStakeholder"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_9c6YEE1eEeW4oLNX8bopVA" client="_xYeV0E1eEeW4oLNX8bopVA" supplier="_XVTu4E1eEeW4oLNX8bopVA"/> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="_PhZUUFCYEeWWUsSyiZaNIg" name="blocks"> + <packagedElement xmi:type="uml:Class" xmi:id="_9vQVIFCnEeWWUsSyiZaNIg" name="BoundReferenceTest"> + <ownedOperation xmi:type="uml:Operation" xmi:id="_A_cTgFCoEeWWUsSyiZaNIg" name="testGetBindingPath"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_FdM4QFCoEeWWUsSyiZaNIg" client="_9vQVIFCnEeWWUsSyiZaNIg" supplier="_fNa8kFB9EeWWUsSyiZaNIg"/> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="_Yfgx8FCwEeWWUsSyiZaNIg" name="deprecated"> + <packagedElement xmi:type="uml:Class" xmi:id="_jRDB4FCwEeWWUsSyiZaNIg" name="FlowPortTest"> + <ownedOperation xmi:type="uml:Operation" xmi:id="_rBAXMFCwEeWWUsSyiZaNIg" name="testIsAtomic"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_mhEoMFCwEeWWUsSyiZaNIg" client="_jRDB4FCwEeWWUsSyiZaNIg" supplier="_zZT7YFCvEeWWUsSyiZaNIg"/> + </packagedElement> + </packagedElement> + </packagedElement> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_mETrkJoPEeeXz9m6CNxSgg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mEVgwJoPEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#/"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_mEaZQJoPEeeXz9m6CNxSgg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mEbAUJoPEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//activities"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Activities"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_mEcOcJoPEeeXz9m6CNxSgg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mEc1gJoPEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//allocations"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Allocations"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_mEdckJoPEeeXz9m6CNxSgg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mEf40JoPEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//blocks"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_mEgf4JoPEeeXz9m6CNxSgg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mEhG8JoPEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//constraintblocks"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ConstraintBlocks"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_mEhuAJoPEeeXz9m6CNxSgg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mEiVEJoPEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//deprecatedelements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_DeprecatedElements"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_mEi8IJoPEeeXz9m6CNxSgg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mEi8IZoPEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//modelelements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ModelElements"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_mEkKQJoPEeeXz9m6CNxSgg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mEkKQZoPEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//portsandflows"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_mEkxUJoPEeeXz9m6CNxSgg"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mElYYJoPEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements"/> + </profileApplication> + </uml:Model> + <Requirements:Requirement xmi:id="_PTrawJslEeSu6pfLknKE4A" base_Class="_PTiQ0JslEeSu6pfLknKE4A" id="Req010" text="All derived properties must be compured and updated. "/> + <Requirements:Requirement xmi:id="_ngftoJsxEeSYaIZuWOBlYQ" base_Class="_ngV8oJsxEeSYaIZuWOBlYQ" id="Req_002" text="testif the service registry of SysML can be cal for all SysMLElement"/> + <Requirements:Requirement xmi:id="_Kl7pgZs2EeSYaIZuWOBlYQ" base_Class="_Kl7pgJs2EeSYaIZuWOBlYQ" id="Req_003" text="Association in sysML are specific"/> + <Requirements:Requirement xmi:id="_SJF48Js2EeSYaIZuWOBlYQ" base_Class="_SI8vAJs2EeSYaIZuWOBlYQ" id="Req_004.001" text="For an association in which both ends are typed by blocks, the number of ends must be exactly two. (p50)"/> + <Requirements:Requirement xmi:id="_gQ_nwZs2EeSYaIZuWOBlYQ" base_Class="_gQ_nwJs2EeSYaIZuWOBlYQ" id="Req_004.002" text="In the UML metamodel on which SysML is built, any instance of the Property metaclass that is typed by a block (a Class with the «block» stereotype applied) and which is owned by an Association may not have a name and may not be defined as a navigable owned end of the association. p50"/> + <Requirements:Requirement xmi:id="_EUOlcZs3EeSYaIZuWOBlYQ" base_Class="_EUOlcJs3EeSYaIZuWOBlYQ" id="Req_004.003" text="In the UML metamodel on which SysML is built, a Property that is typed by a block must be defined as an end of an association"/> + <Requirements:Requirement xmi:id="_zxkO8Zs3EeSYaIZuWOBlYQ" base_Class="_zxkO8Js3EeSYaIZuWOBlYQ" id="Req_005" text="The two ends of a binding connector must have either the same type or types that are compatible so that equality of their values can be defined. p48"/> + <Requirements:Requirement xmi:id="_BWfykZtDEeSYaIZuWOBlYQ" base_Class="_BWfykJtDEeSYaIZuWOBlYQ" id="Req_006.001" text="Connectors may be drawn that cross the boundaries of nested properties to connect to properties within them. The connector is owned by the most immediate block that owns both ends of the connector. A NestedConnectorEnd stereotype of a UML ConnectorEnd is automatically applied to any connector end that is nested more than one level deep within a containing context."/> + <Requirements:Requirement xmi:id="_p8VYwZtDEeSYaIZuWOBlYQ" base_Class="_p8VYwJtDEeSYaIZuWOBlYQ" id="Req_006" text="Papyrus must manage SysML connector ends"/> + <Requirements:Requirement xmi:id="_DlgyYJtEEeS5lMkaDojPJg" base_Class="_DlXBYJtEEeS5lMkaDojPJg" id="Req_006.002" text="The first property in propertyPath must be owned by the block that owns the connector, or one of the block’s generalizations."/> + <Requirements:Requirement xmi:id="_NWLbMZtEEeS5lMkaDojPJg" base_Class="_NWLbMJtEEeS5lMkaDojPJg" id="Req_006.003" text="The type of the property at the last position of the propertyPath list must own or inherit the role property of the stereotyped"/> + <Requirements:Requirement xmi:id="_n3sgIZtGEeS5lMkaDojPJg" base_Class="_n3sgIJtGEeS5lMkaDojPJg" id="Req_006.004" text="isEncapsulated: Boolean [0..1], If true, then the block is treated as a black box; a part typed by this black box can only be connected via its ports or directly to its outer boundary. If false, or if a value is not present, then connections can be established to . p50elements of its internal structure via deep-nested connector ends."/> + <Requirements:Requirement xmi:id="_HlRNcJv9EeS1Sc9sg-ntVw" base_Class="_HlOKIJv9EeS1Sc9sg-ntVw" id="Req_007" text="Papyrus should change the icon to always have the arrow of a port orthogonal to its block"/> + <Requirements:Verify xmi:id="_0YbL0EvJEeWZWeCQhncKfA" base_Abstraction="_zFDfcEvJEeWZWeCQhncKfA"/> + <Requirements:Requirement xmi:id="__mj4MEvJEeWZWeCQhncKfA" base_Class="_7YhKcEvJEeWZWeCQhncKfA" id="Req011" text="derived,derivedfrom, satisfyby, refinedby, tracedto, verifiedby master form requirement"/> + <Requirements:DeriveReqt xmi:id="_lS2eYEvKEeWZWeCQhncKfA" base_Abstraction="_ijvz0EvKEeWZWeCQhncKfA"/> + <Requirements:Requirement xmi:id="_0v4v8EvREeW7GL09oTsTMQ" base_Class="_v8yNUEvREeW7GL09oTsTMQ" id="Req012" text="form the norm
/concern: String [*]
The interests of this stakeholder displayed as the body of the comments from concernList."/> + <Requirements:DeriveReqt xmi:id="_QQHKwEvSEeW7GL09oTsTMQ" base_Abstraction="_PLg6MEvSEeW7GL09oTsTMQ"/> + <Requirements:Verify xmi:id="_psea8EvTEeW7GL09oTsTMQ" base_Abstraction="_iM_xoEvTEeW7GL09oTsTMQ"/> + <Requirements:Requirement xmi:id="_JK0mMEyaEeW4oLNX8bopVA" base_Class="_Fcc3AEyaEeW4oLNX8bopVA" id="Req013" text="Thefollowing derived properties must be computed
/concern: String [*]
The interest of the stakeholders displayed as the body of the comments from concernList.
• /method: Behavior [*]
The behavior is derived from the method of the operation with the Create stereotype."/> + <Requirements:Verify xmi:id="_hqYFUEyaEeW4oLNX8bopVA" base_Abstraction="_f0oEoEyaEeW4oLNX8bopVA"/> + <Requirements:DeriveReqt xmi:id="_vASWgEyaEeW4oLNX8bopVA" base_Abstraction="_uAOnsEyaEeW4oLNX8bopVA"/> + <Requirements:Requirement xmi:id="_psY-gEybEeW4oLNX8bopVA" base_Class="_k3o2EEybEeW4oLNX8bopVA" id="Req014" text="Te following properties must be computed.
/criterion[0..1]: String
Specifies the rationale for being member of the group. Adding an element to the group asserts that the criterion
applies to this element.
Derived from Comment::body.
• /size: Integer
Number of members in the group. Derived.
• /member: Element[0..*]
Set specifying the members of the group.
Derived from Comment::annotatedElement."/> + <Requirements:DeriveReqt xmi:id="_9nlhoEybEeW4oLNX8bopVA" base_Abstraction="_8TxwYEybEeW4oLNX8bopVA"/> + <Requirements:Verify xmi:id="_RXvSYEycEeW4oLNX8bopVA" base_Abstraction="_P4npAEycEeW4oLNX8bopVA"/> + <Requirements:Requirement xmi:id="_X-cLcE1eEeW4oLNX8bopVA" base_Class="_XVTu4E1eEeW4oLNX8bopVA" id="Req015" text="• /viewpoint: Viewpoint
The following dervied properties mus be computed:
The viewpoint for this View is derived from the conform relationship.
• /stakeholder: Stakeholder [*]
The list of stakeholders is derived from the viewpoint the view conforms to."/> + <Requirements:DeriveReqt xmi:id="_tw5yME1eEeW4oLNX8bopVA" base_Abstraction="_sKOvUE1eEeW4oLNX8bopVA"/> + <Requirements:Verify xmi:id="__IRtsE1eEeW4oLNX8bopVA" base_Abstraction="_9c6YEE1eEeW4oLNX8bopVA"/> + <Requirements:Requirement xmi:id="_gaBSkFB9EeWWUsSyiZaNIg" base_Class="_fNa8kFB9EeWWUsSyiZaNIg" id="Req016" text="The following properties must be computed:
/bindingPath : Property [1..*] {ordered, nonunique}
Gives the propertyPath of the NestedConnectorEnd applied, if any, to the boundEnd, appended to the role of the
boundEnd.

Note about calculus: The binding path includes the property at the bound end, and before that, the property
path of the bound end, if it is a nested connector end."/> + <Requirements:DeriveReqt xmi:id="_h6cmsFCBEeWWUsSyiZaNIg" base_Abstraction="_vff8kFCAEeWWUsSyiZaNIg"/> + <Requirements:Verify xmi:id="_H43CYFCoEeWWUsSyiZaNIg" base_Abstraction="_FdM4QFCoEeWWUsSyiZaNIg"/> + <Requirements:Requirement xmi:id="_7yAEoFCvEeWWUsSyiZaNIg" base_Class="_zZT7YFCvEeWWUsSyiZaNIg" id="Req017" text="The following property must be computed
/isAtomic : Boolean (derived)
This is a derived attribute (derived from the flow port’s type). For a flow port typed by a flow specification the
value of this attribute is False, otherwise the value is True."/> + <Requirements:DeriveReqt xmi:id="_MTh9QFCwEeWWUsSyiZaNIg" base_Abstraction="_LNlo4FCwEeWWUsSyiZaNIg"/> + <Requirements:Verify xmi:id="_n-u5AFCwEeWWUsSyiZaNIg" base_Abstraction="_mhEoMFCwEeWWUsSyiZaNIg"/> + <Requirements:Requirement xmi:id="_VoxnkFFvEeWFqsbjn0GMrw" base_Class="_Von2kFFvEeWFqsbjn0GMrw" text="Top requirement for all specification related to the FlowPort"/> + <Requirements:Requirement xmi:id="_b0aDYFFvEeWFqsbjn0GMrw" base_Class="_b0XAEFFvEeWFqsbjn0GMrw" text="Flow port should have specific icons depending on FlowDirection"/> + <Requirements:Requirement xmi:id="_fOvcQFFvEeWFqsbjn0GMrw" base_Class="_fOtnEFFvEeWFqsbjn0GMrw"/> + <Requirements:DeriveReqt xmi:id="_Bf-Q0FFwEeWFqsbjn0GMrw" base_Abstraction="_Bf28EFFwEeWFqsbjn0GMrw"/> + <Requirements:Requirement xmi:id="_vgFHUFFwEeWFqsbjn0GMrw" base_Class="_vgDSIFFwEeWFqsbjn0GMrw" text="Top requirement for all specification related to the FlowProperty"/> + <Requirements:Requirement xmi:id="_5XGPwFFwEeWFqsbjn0GMrw" base_Class="_5W_iEFFwEeWFqsbjn0GMrw" text="Flow property should have specific icons depending on FlowDirection"/> + <Requirements:DeriveReqt xmi:id="_-AHCQFFwEeWFqsbjn0GMrw" base_Abstraction="_9_9RQFFwEeWFqsbjn0GMrw"/> + <Requirements:Requirement xmi:id="_ZyB6sFIZEeWOVPwTUSkFAw" base_Class="_ZyAskFIZEeWOVPwTUSkFAw" id="REQ-SYSML14-Block-References" text="norm#31:A block can include properties to specify its values, parts, and references to other blocks.
norm#71:A property typed by a Block that does not have composite aggregation is classified as a reference property. 
"/> + <Requirements:DeriveReqt xmi:id="_xY3CEFIZEeWOVPwTUSkFAw" base_Abstraction="_uNl_8FIZEeWOVPwTUSkFAw"/> + <Requirements:DeriveReqt xmi:id="__gUE8FIZEeWOVPwTUSkFAw" base_Abstraction="_9nWYMFIZEeWOVPwTUSkFAw"/> + <Requirements:Requirement xmi:id="_an26AFIaEeWOVPwTUSkFAw" base_Class="_an2S8FIaEeWOVPwTUSkFAw" id="ReqX"/> + <Requirements:Requirement xmi:id="_GvK2AFYEEeW77p7V_ZuW3Q" base_Class="_GvJA0FYEEeW77p7V_ZuW3Q" id="REQ-SYSML14-Block-References" text="norm#31:A block can include properties to specify its values, parts, and references to other blocks."/> + <Requirements:DeriveReqt xmi:id="_IGa7sFeXEeW35uAYw-w4dQ" base_Abstraction="_HW-bwFeXEeW35uAYw-w4dQ"/> + <Requirements:DeriveReqt xmi:id="__AL6gFeXEeW35uAYw-w4dQ" base_Abstraction="_-MFkEFeXEeW35uAYw-w4dQ"/> + <Requirements:DeriveReqt xmi:id="_QXdvYFeYEeW35uAYw-w4dQ" base_Abstraction="_O7L-oFeYEeW35uAYw-w4dQ"/> + <Requirements:Requirement xmi:id="_RTtNoGE6EeWbSMDuSXx8SQ" base_Class="_RP-kMGE6EeWbSMDuSXx8SQ" id="REQ_001" text="Deprecated elements should be displayed in orange
Deprecation details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=91"/> + <Requirements:DeriveReqt xmi:id="_RTytMGE6EeWbSMDuSXx8SQ" base_Abstraction="_RTxfEGE6EeWbSMDuSXx8SQ"/> + <Requirements:Requirement xmi:id="_qAON4GE-EeWbSMDuSXx8SQ" base_Class="_p-rVwGE-EeWbSMDuSXx8SQ" id="REQ_001" text="@norm: Flow properties are listed in a compartment labeled flow properties.

FlowProperty details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=97"/> + <Requirements:DeriveReqt xmi:id="_qAQDEGE-EeWbSMDuSXx8SQ" base_Abstraction="_qAPcAGE-EeWbSMDuSXx8SQ"/> + <Requirements:Requirement xmi:id="_jlx58ACzEeabH6-I0dvpUQ" base_Class="_jlxS4ACzEeabH6-I0dvpUQ" id="ReqY"/> +</xmi:XMI>
diff --git a/core/org.eclipse.papyrus.sysml14/resources/icons/SysML.gif b/core/org.eclipse.papyrus.sysml/resources/icons/SysML.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14/resources/icons/SysML.gif rename to core/org.eclipse.papyrus.sysml/resources/icons/SysML.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14/resources/icons/SysMLModel.gif b/core/org.eclipse.papyrus.sysml/resources/icons/SysMLModel.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14/resources/icons/SysMLModel.gif rename to core/org.eclipse.papyrus.sysml/resources/icons/SysMLModel.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14/resources/icons/full/obj16/SysML.gif b/core/org.eclipse.papyrus.sysml/resources/icons/full/obj16/SysML.gif similarity index 100% rename from core/org.eclipse.papyrus.sysml14/resources/icons/full/obj16/SysML.gif rename to core/org.eclipse.papyrus.sysml/resources/icons/full/obj16/SysML.gif Binary files differ
diff --git a/core/org.eclipse.papyrus.sysml14/resources/library/QUDV.di b/core/org.eclipse.papyrus.sysml/resources/library/QUDV.di similarity index 100% rename from core/org.eclipse.papyrus.sysml14/resources/library/QUDV.di rename to core/org.eclipse.papyrus.sysml/resources/library/QUDV.di
diff --git a/core/org.eclipse.papyrus.sysml/resources/library/QUDV.notation b/core/org.eclipse.papyrus.sysml/resources/library/QUDV.notation new file mode 100644 index 0000000..fe486e4 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/resources/library/QUDV.notation
@@ -0,0 +1,1603 @@ +<?xml version="1.0" encoding="UTF-8"?> +<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/gmfdiag/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_0Gvw8HJgEeWaaoAi4ttVsA" type="PapyrusUMLClassDiagram" name="QUDVDiagram" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_2RUyIHJgEeWaaoAi4ttVsA" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_2RXOYHJgEeWaaoAi4ttVsA" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_2RXOYXJgEeWaaoAi4ttVsA" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_2RXOYnJgEeWaaoAi4ttVsA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_2RX1cHJgEeWaaoAi4ttVsA" type="Class_AttributeCompartment"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_lMIxsBL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lMIxsRL9EeeY9ueKNJ6bdg" key="visible" value="true"/> + </eAnnotations> + <children xmi:type="notation:Shape" xmi:id="_n0ZNYBL9EeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> + <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_ConversionBasedUnit_ownedAttribute.isInvertible"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_n0ZNYRL9EeeY9ueKNJ6bdg"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_2RX1cXJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_2RX1cnJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_2RX1c3JgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2RX1dHJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_2RX1dXJgEeWaaoAi4ttVsA" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_2RX1dnJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_2RX1d3JgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_2RX1eHJgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2RX1eXJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_2RX1enJgEeWaaoAi4ttVsA" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_2RX1e3JgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_2RX1fHJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_2RX1fXJgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2RX1fnJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_2T8oUHJgEeWaaoAi4ttVsA" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="_2T8oUXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2T8oUnJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_2T9PYHJgEeWaaoAi4ttVsA" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="_2T9PYXJgEeWaaoAi4ttVsA" showTitle="true"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_2T9PYnJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2T9PY3JgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_2UNHAHJgEeWaaoAi4ttVsA" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_2UNuEHJgEeWaaoAi4ttVsA" visible="false" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_2UOVIHJgEeWaaoAi4ttVsA" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_2UOVIXJgEeWaaoAi4ttVsA" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_2UO8MHJgEeWaaoAi4ttVsA" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_2UO8MXJgEeWaaoAi4ttVsA" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_2UPjQHJgEeWaaoAi4ttVsA" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_U4N1IBIqEeeFNrLZFDmeGg" type="Parameters"/> + <element xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_ConversionBasedUnit"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2RUyIXJgEeWaaoAi4ttVsA" x="1640" y="720" width="141" height="161"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_2UWQ8HJgEeWaaoAi4ttVsA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_2UWQ8XJgEeWaaoAi4ttVsA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_2UWQ83JgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_ConversionBasedUnit"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2UWQ8nJgEeWaaoAi4ttVsA" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_3J2VkHJgEeWaaoAi4ttVsA" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_3J2VknJgEeWaaoAi4ttVsA" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_3J2Vk3JgEeWaaoAi4ttVsA" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_3J2VlHJgEeWaaoAi4ttVsA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_3J2VlXJgEeWaaoAi4ttVsA" type="Class_AttributeCompartment"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_uDd-wBL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_uDd-wRL9EeeY9ueKNJ6bdg" key="visible" value="true"/> + </eAnnotations> + <children xmi:type="notation:Shape" xmi:id="_v5Rp0BL9EeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> + <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_Unit_ownedAttribute.dependsOnUnits"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_v5Rp0RL9EeeY9ueKNJ6bdg"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_v5SQ4BL9EeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> + <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_Unit_ownedAttribute.isUnitCountOfEntities"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_v5SQ4RL9EeeY9ueKNJ6bdg"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_v5S38BL9EeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> + <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_Unit_ownedAttribute.isUnitForQuantityOfDimensionOne"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_v5S38RL9EeeY9ueKNJ6bdg"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_3J2VlnJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_3J2Vl3JgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_3J2VmHJgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3J2VmXJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_3J28oHJgEeWaaoAi4ttVsA" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_3J28oXJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_3J28onJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_3J28o3JgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3J28pHJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_3J28pXJgEeWaaoAi4ttVsA" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_3J28pnJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_3J28p3JgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_3J28qHJgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3J28qXJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_3KJ3kHJgEeWaaoAi4ttVsA" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="_3KJ3kXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3KJ3knJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_3KJ3k3JgEeWaaoAi4ttVsA" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="_3KJ3lHJgEeWaaoAi4ttVsA" showTitle="true"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_3KJ3lXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3KJ3lnJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_3KQlQHJgEeWaaoAi4ttVsA" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_3KRMUHJgEeWaaoAi4ttVsA" visible="false" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_3KRMUXJgEeWaaoAi4ttVsA" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_3KRMUnJgEeWaaoAi4ttVsA" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_3KSacHJgEeWaaoAi4ttVsA" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_3KSacXJgEeWaaoAi4ttVsA" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_3KSacnJgEeWaaoAi4ttVsA" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_VEZP8BIqEeeFNrLZFDmeGg" type="Parameters"/> + <element xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_Unit"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3J2VkXJgEeWaaoAi4ttVsA" x="1200" y="720" width="161" height="161"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_3KXS8HJgEeWaaoAi4ttVsA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_3KXS8XJgEeWaaoAi4ttVsA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_3KXS83JgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_Unit"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3KXS8nJgEeWaaoAi4ttVsA" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_39NFIHJgEeWaaoAi4ttVsA" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_39NsMHJgEeWaaoAi4ttVsA" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_39NsMXJgEeWaaoAi4ttVsA" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_39NsMnJgEeWaaoAi4ttVsA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_39NsM3JgEeWaaoAi4ttVsA" visible="false" type="Class_AttributeCompartment"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_0dPXQBOMEeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_0dPXQROMEeeY9ueKNJ6bdg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_39NsNHJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_39NsNXJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_39NsNnJgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_39NsN3JgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_39NsOHJgEeWaaoAi4ttVsA" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_39NsOXJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_39NsOnJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_39NsO3JgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_39NsPHJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_39NsPXJgEeWaaoAi4ttVsA" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_39NsPnJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_39NsP3JgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_39NsQHJgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_39NsQXJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_4AaKIHJgEeWaaoAi4ttVsA" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="_4AaKIXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4AaKInJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4AaKI3JgEeWaaoAi4ttVsA" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4AaKJHJgEeWaaoAi4ttVsA" showTitle="true"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_4AaKJXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4AaKJnJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_4AgQwHJgEeWaaoAi4ttVsA" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_4Ag30HJgEeWaaoAi4ttVsA" visible="false" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_4Ahe4HJgEeWaaoAi4ttVsA" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_4Ahe4XJgEeWaaoAi4ttVsA" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_4Ahe4nJgEeWaaoAi4ttVsA" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_4Ahe43JgEeWaaoAi4ttVsA" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_4AiF8HJgEeWaaoAi4ttVsA" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_VE4YIBIqEeeFNrLZFDmeGg" type="Parameters"/> + <element xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_DerivedQuantityKind"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_39NFIXJgEeWaaoAi4ttVsA" x="256" y="267" width="164" height="104"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_4AlJQHJgEeWaaoAi4ttVsA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4AlJQXJgEeWaaoAi4ttVsA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_4AlJQ3JgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_DerivedQuantityKind"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4AlJQnJgEeWaaoAi4ttVsA" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_4m0p4HJgEeWaaoAi4ttVsA" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_4m1Q8HJgEeWaaoAi4ttVsA" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_4m1Q8XJgEeWaaoAi4ttVsA" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_4m1Q8nJgEeWaaoAi4ttVsA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4m1Q83JgEeWaaoAi4ttVsA" type="Class_AttributeCompartment"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_29WwkBL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_29WwkRL9EeeY9ueKNJ6bdg" key="visible" value="true"/> + </eAnnotations> + <children xmi:type="notation:Shape" xmi:id="_4ZL1YBL9EeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> + <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_QuantityKindFactor_ownedAttribute.exponent"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_4ZL1YRL9EeeY9ueKNJ6bdg"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_4m1Q9HJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_4m1Q9XJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_4m1Q9nJgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4m1Q93JgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4m1Q-HJgEeWaaoAi4ttVsA" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4m1Q-XJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_4m1Q-nJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_4m1Q-3JgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4m1Q_HJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4m1Q_XJgEeWaaoAi4ttVsA" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4m1Q_nJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_4m1Q_3JgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_4m1RAHJgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4m1RAXJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_4pdHIHJgEeWaaoAi4ttVsA" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="_4pdHIXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4pdHInJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_4pdHI3JgEeWaaoAi4ttVsA" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4pdHJHJgEeWaaoAi4ttVsA" showTitle="true"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_4pdHJXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4pdHJnJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_4pj00HJgEeWaaoAi4ttVsA" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_4pkb4HJgEeWaaoAi4ttVsA" visible="false" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_4pkb4XJgEeWaaoAi4ttVsA" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_4pkb4nJgEeWaaoAi4ttVsA" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_4pkb43JgEeWaaoAi4ttVsA" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_4plC8HJgEeWaaoAi4ttVsA" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_4plC8XJgEeWaaoAi4ttVsA" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_VFWSMBIqEeeFNrLZFDmeGg" type="Parameters"/> + <element xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_QuantityKindFactor"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4m0p4XJgEeWaaoAi4ttVsA" x="100" y="480" width="161" height="161"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_4poGQHJgEeWaaoAi4ttVsA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_4poGQXJgEeWaaoAi4ttVsA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_4poGQ3JgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_QuantityKindFactor"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4poGQnJgEeWaaoAi4ttVsA" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_5Y18sHJgEeWaaoAi4ttVsA" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_5Y18snJgEeWaaoAi4ttVsA" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_5Y18s3JgEeWaaoAi4ttVsA" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_5Y18tHJgEeWaaoAi4ttVsA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_5Y18tXJgEeWaaoAi4ttVsA" type="Class_AttributeCompartment"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_QjpqwBL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_QjqR0BL9EeeY9ueKNJ6bdg" key="visible" value="true"/> + </eAnnotations> + <children xmi:type="notation:Shape" xmi:id="_ToHhUBL9EeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> + <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_DerivedUnit_ownedAttribute.hasReducedFactors"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ToHhURL9EeeY9ueKNJ6bdg"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_5Y18tnJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_5Y18t3JgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_5Y18uHJgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5Y18uXJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_5Y18unJgEeWaaoAi4ttVsA" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_5Y18u3JgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_5Y18vHJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_5Y18vXJgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5Y18vnJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_5Y18v3JgEeWaaoAi4ttVsA" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_5Y18wHJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_5Y18wXJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_5Y18wnJgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5Y18w3JgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_5ZXhIHJgEeWaaoAi4ttVsA" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="_5ZXhIXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5ZXhInJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_5ZXhI3JgEeWaaoAi4ttVsA" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="_5ZXhJHJgEeWaaoAi4ttVsA" showTitle="true"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_5ZXhJXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5ZXhJnJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_5ZdnwHJgEeWaaoAi4ttVsA" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_5ZdnwXJgEeWaaoAi4ttVsA" visible="false" type="constraints" showTitle="true"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_aA62cBL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_aA7dgBL9EeeY9ueKNJ6bdg" key="visible" value="true"/> + </eAnnotations> + </children> + <children xmi:type="notation:Compartment" xmi:id="_5ZeO0HJgEeWaaoAi4ttVsA" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_5ZeO0XJgEeWaaoAi4ttVsA" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_5ZeO0nJgEeWaaoAi4ttVsA" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_5ZeO03JgEeWaaoAi4ttVsA" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_5Ze14HJgEeWaaoAi4ttVsA" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_VF32oBIqEeeFNrLZFDmeGg" type="Parameters"/> + <element xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_DerivedUnit"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5Y18sXJgEeWaaoAi4ttVsA" x="1520" y="220" width="159" height="118"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_5Zh5MHJgEeWaaoAi4ttVsA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_5Zh5MXJgEeWaaoAi4ttVsA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_5ZigQHJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_DerivedUnit"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5Zh5MnJgEeWaaoAi4ttVsA" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_6IwWsHJgEeWaaoAi4ttVsA" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_6IwWsnJgEeWaaoAi4ttVsA" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_6IwWs3JgEeWaaoAi4ttVsA" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_6IwWtHJgEeWaaoAi4ttVsA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_6Iw9wHJgEeWaaoAi4ttVsA" type="Class_AttributeCompartment"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_iqNngBL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_iqOOkBL9EeeY9ueKNJ6bdg" key="visible" value="true"/> + </eAnnotations> + <children xmi:type="notation:Shape" xmi:id="_kKypcBL9EeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> + <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_UnitFactor_ownedAttribute.exponent"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_kKypcRL9EeeY9ueKNJ6bdg"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_6Iw9wXJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_6Iw9wnJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_6Iw9w3JgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6Iw9xHJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_6Iw9xXJgEeWaaoAi4ttVsA" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_6Iw9xnJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_6Iw9x3JgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_6Iw9yHJgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6Iw9yXJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_6Iw9ynJgEeWaaoAi4ttVsA" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_6Iw9y3JgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_6Iw9zHJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_6Iw9zXJgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6Iw9znJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_6Jc6QHJgEeWaaoAi4ttVsA" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="_6Jc6QXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6Jc6QnJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_6JdhUHJgEeWaaoAi4ttVsA" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="_6JdhUXJgEeWaaoAi4ttVsA" showTitle="true"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_6JdhUnJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6JdhU3JgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_6JmEMHJgEeWaaoAi4ttVsA" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_6JmEMXJgEeWaaoAi4ttVsA" visible="false" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_6JmEMnJgEeWaaoAi4ttVsA" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_6JmrQHJgEeWaaoAi4ttVsA" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_6JmrQXJgEeWaaoAi4ttVsA" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_6JmrQnJgEeWaaoAi4ttVsA" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_6JmrQ3JgEeWaaoAi4ttVsA" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_VGY0ABIqEeeFNrLZFDmeGg" type="Parameters"/> + <element xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_UnitFactor"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6IwWsXJgEeWaaoAi4ttVsA" x="1520" y="500" width="164" height="113"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_6JqVoHJgEeWaaoAi4ttVsA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_6JqVoXJgEeWaaoAi4ttVsA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_6JqVo3JgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_UnitFactor"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6JqVonJgEeWaaoAi4ttVsA" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_6-dPoHJgEeWaaoAi4ttVsA" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_6-dPonJgEeWaaoAi4ttVsA" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_6-dPo3JgEeWaaoAi4ttVsA" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_6-d2sHJgEeWaaoAi4ttVsA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_6-d2sXJgEeWaaoAi4ttVsA" type="Class_AttributeCompartment"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_0cCqYBL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_0cCqYRL9EeeY9ueKNJ6bdg" key="visible" value="true"/> + </eAnnotations> + <children xmi:type="notation:Shape" xmi:id="_1YxYYBL9EeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> + <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_Dimension_ownedAttribute.symbolicExpression"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_1YxYYRL9EeeY9ueKNJ6bdg"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_6-d2snJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_6-d2s3JgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_6-d2tHJgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6-d2tXJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_6-d2tnJgEeWaaoAi4ttVsA" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_6-d2t3JgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_6-d2uHJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_6-d2uXJgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6-d2unJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_6-d2u3JgEeWaaoAi4ttVsA" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_6-d2vHJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_6-d2vXJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_6-d2vnJgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6-d2v3JgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_6_Qg4HJgEeWaaoAi4ttVsA" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="_6_Qg4XJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6_Qg4nJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_6_RH8HJgEeWaaoAi4ttVsA" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="_6_RH8XJgEeWaaoAi4ttVsA" showTitle="true"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_6_RH8nJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6_RH83JgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_6_X1oHJgEeWaaoAi4ttVsA" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_6_X1oXJgEeWaaoAi4ttVsA" visible="false" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_6_YcsHJgEeWaaoAi4ttVsA" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_6_YcsXJgEeWaaoAi4ttVsA" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_6_ZDwHJgEeWaaoAi4ttVsA" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_6_ZDwXJgEeWaaoAi4ttVsA" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_6_ZDwnJgEeWaaoAi4ttVsA" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_VJADIBIqEeeFNrLZFDmeGg" type="Parameters"/> + <element xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_Dimension"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6-dPoXJgEeWaaoAi4ttVsA" x="20" y="20" width="161" height="181"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_6_cuIHJgEeWaaoAi4ttVsA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_6_cuIXJgEeWaaoAi4ttVsA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_6_cuI3JgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_Dimension"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6_cuInJgEeWaaoAi4ttVsA" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_7wOq0HJgEeWaaoAi4ttVsA" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_7wOq0nJgEeWaaoAi4ttVsA" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_7wOq03JgEeWaaoAi4ttVsA" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_7wOq1HJgEeWaaoAi4ttVsA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_7wPR4HJgEeWaaoAi4ttVsA" type="Class_AttributeCompartment"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_7yq5sBL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7yq5sRL9EeeY9ueKNJ6bdg" key="visible" value="true"/> + </eAnnotations> + <children xmi:type="notation:Shape" xmi:id="_-Ju3sBL9EeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> + <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_QuantityKind_ownedAttribute.dependsOnQuantityKinds"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-Ju3sRL9EeeY9ueKNJ6bdg"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_-JvewBL9EeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> + <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_QuantityKind_ownedAttribute.isNumberOfEntities"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-JvewRL9EeeY9ueKNJ6bdg"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_-JwF0BL9EeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> + <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_QuantityKind_ownedAttribute.isQuantityOfDimensionOne"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-JwF0RL9EeeY9ueKNJ6bdg"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_7wPR4XJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_7wPR4nJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_7wPR43JgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7wPR5HJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_7wPR5XJgEeWaaoAi4ttVsA" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_7wPR5nJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_7wPR53JgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_7wPR6HJgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7wPR6XJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_7wPR6nJgEeWaaoAi4ttVsA" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_7wPR63JgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_7wPR7HJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_7wPR7XJgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7wPR7nJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_7xDKMHJgEeWaaoAi4ttVsA" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="_7xDKMXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7xDKMnJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_7xDxQHJgEeWaaoAi4ttVsA" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="_7xDxQXJgEeWaaoAi4ttVsA" showTitle="true"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_7xDxQnJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7xDxQ3JgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_7xKe8HJgEeWaaoAi4ttVsA" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_7xKe8XJgEeWaaoAi4ttVsA" visible="false" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_7xKe8nJgEeWaaoAi4ttVsA" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_7xKe83JgEeWaaoAi4ttVsA" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_7xLGAHJgEeWaaoAi4ttVsA" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_7xLGAXJgEeWaaoAi4ttVsA" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_7xLGAnJgEeWaaoAi4ttVsA" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_VJhnkBIqEeeFNrLZFDmeGg" type="Parameters"/> + <element xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_QuantityKind"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7wOq0XJgEeWaaoAi4ttVsA" x="500" y="720" width="201" height="161"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_7xOJUHJgEeWaaoAi4ttVsA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_7xOJUXJgEeWaaoAi4ttVsA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_7xOwYHJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_QuantityKind"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7xOJUnJgEeWaaoAi4ttVsA" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_8nrQMHJgEeWaaoAi4ttVsA" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_8nr3QHJgEeWaaoAi4ttVsA" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_8nr3QXJgEeWaaoAi4ttVsA" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_8nr3QnJgEeWaaoAi4ttVsA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_8nr3Q3JgEeWaaoAi4ttVsA" type="Class_AttributeCompartment"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_xb2p4BOMEeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_xb34ABOMEeeY9ueKNJ6bdg" key="visible" value="true"/> + </eAnnotations> + <children xmi:type="notation:Shape" xmi:id="_y4Q9gBOMEeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> + <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.definitionURI"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_y4Q9gROMEeeY9ueKNJ6bdg"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_y4Q9ghOMEeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> + <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.description"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_y4Q9gxOMEeeY9ueKNJ6bdg"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_y4Q9hBOMEeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> + <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.symbol"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_y4Q9hROMEeeY9ueKNJ6bdg"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_8nr3RHJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_8nr3RXJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_8nr3RnJgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8nr3R3JgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_8nr3SHJgEeWaaoAi4ttVsA" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_8nr3SXJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_8nr3SnJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_8nr3S3JgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8nr3THJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_8nr3TXJgEeWaaoAi4ttVsA" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_8nr3TnJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_8nr3T3JgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_8nr3UHJgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8nr3UXJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_8okoEHJgEeWaaoAi4ttVsA" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="_8okoEXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8okoEnJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_8olPIHJgEeWaaoAi4ttVsA" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="_8olPIXJgEeWaaoAi4ttVsA" showTitle="true"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_8olPInJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8olPI3JgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_8orVwHJgEeWaaoAi4ttVsA" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_8or80HJgEeWaaoAi4ttVsA" visible="false" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_8or80XJgEeWaaoAi4ttVsA" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_8or80nJgEeWaaoAi4ttVsA" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_8osj4HJgEeWaaoAi4ttVsA" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_8osj4XJgEeWaaoAi4ttVsA" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_8osj4nJgEeWaaoAi4ttVsA" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_VJ8eUBIqEeeFNrLZFDmeGg" type="Parameters"/> + <element xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_SystemOfQuantities"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8nrQMXJgEeWaaoAi4ttVsA" x="520" y="20" width="161" height="181"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_8owOQHJgEeWaaoAi4ttVsA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_8owOQXJgEeWaaoAi4ttVsA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8ow1UHJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_SystemOfQuantities"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8owOQnJgEeWaaoAi4ttVsA" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_9YlvwHJgEeWaaoAi4ttVsA" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_9YlvwnJgEeWaaoAi4ttVsA" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_9Ylvw3JgEeWaaoAi4ttVsA" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_9YlvxHJgEeWaaoAi4ttVsA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_9YlvxXJgEeWaaoAi4ttVsA" type="Class_AttributeCompartment"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_H6aHkBL-EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_H6aHkRL-EeeY9ueKNJ6bdg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_9YlvxnJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_9Ylvx3JgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_9YlvyHJgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9YlvyXJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_9YmW0HJgEeWaaoAi4ttVsA" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_9YmW0XJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_9YmW0nJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_9YmW03JgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9YmW1HJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_9YmW1XJgEeWaaoAi4ttVsA" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_9YmW1nJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_9YmW13JgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_9YmW2HJgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9YmW2XJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_9ZmcYHJgEeWaaoAi4ttVsA" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="_9ZmcYXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9ZmcYnJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_9ZmcY3JgEeWaaoAi4ttVsA" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="_9ZmcZHJgEeWaaoAi4ttVsA" showTitle="true"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_9ZmcZXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9ZmcZnJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_9ZsjAHJgEeWaaoAi4ttVsA" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_9ZtKEHJgEeWaaoAi4ttVsA" visible="false" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_9ZtKEXJgEeWaaoAi4ttVsA" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_9ZtKEnJgEeWaaoAi4ttVsA" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_9ZtxIHJgEeWaaoAi4ttVsA" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_9ZtxIXJgEeWaaoAi4ttVsA" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_9ZtxInJgEeWaaoAi4ttVsA" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_VKgfABIqEeeFNrLZFDmeGg" type="Parameters"/> + <element xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_SystemOfUnits"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9YlvwXJgEeWaaoAi4ttVsA" x="1200" y="20" width="141" height="134"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_9ZxbgHJgEeWaaoAi4ttVsA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_9ZxbgXJgEeWaaoAi4ttVsA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_9Zxbg3JgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_SystemOfUnits"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9ZxbgnJgEeWaaoAi4ttVsA" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_-IDd0HJgEeWaaoAi4ttVsA" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_-IDd0nJgEeWaaoAi4ttVsA" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_-IDd03JgEeWaaoAi4ttVsA" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-IDd1HJgEeWaaoAi4ttVsA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_-IDd1XJgEeWaaoAi4ttVsA" visible="false" type="Class_AttributeCompartment"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Bjm9kBL-EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Bjm9kRL-EeeY9ueKNJ6bdg" key="visible" value="true"/> + </eAnnotations> + <styles xmi:type="notation:TitleStyle" xmi:id="_-IDd1nJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_-IDd13JgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_-IEE4HJgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-IEE4XJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_-IEE4nJgEeWaaoAi4ttVsA" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_-IEE43JgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_-IEE5HJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_-IEE5XJgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-IEE5nJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_-IEE53JgEeWaaoAi4ttVsA" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_-IEE6HJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_-IEE6XJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_-IEE6nJgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-IEE63JgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_-JH00HJgEeWaaoAi4ttVsA" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="_-JH00XJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-JH00nJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_-JIb4HJgEeWaaoAi4ttVsA" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="_-JIb4XJgEeWaaoAi4ttVsA" showTitle="true"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_-JIb4nJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-JIb43JgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_-JPJkHJgEeWaaoAi4ttVsA" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_-JPJkXJgEeWaaoAi4ttVsA" visible="false" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_-JPJknJgEeWaaoAi4ttVsA" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_-JPJk3JgEeWaaoAi4ttVsA" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_-JPwoHJgEeWaaoAi4ttVsA" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_-JPwoXJgEeWaaoAi4ttVsA" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_-JPwonJgEeWaaoAi4ttVsA" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_VLEfsBIqEeeFNrLZFDmeGg" type="Parameters"/> + <element xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_PrefixedUnit"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-IDd0XJgEeWaaoAi4ttVsA" x="840" y="280" width="141" height="161"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_-JTbAHJgEeWaaoAi4ttVsA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_-JTbAXJgEeWaaoAi4ttVsA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_-JTbA3JgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_PrefixedUnit"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-JTbAnJgEeWaaoAi4ttVsA" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_-17QcHJgEeWaaoAi4ttVsA" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_-17QcnJgEeWaaoAi4ttVsA" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_-173gHJgEeWaaoAi4ttVsA" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-173gXJgEeWaaoAi4ttVsA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_-173gnJgEeWaaoAi4ttVsA" type="Class_AttributeCompartment"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_GRsdUBL-EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_GRsdURL-EeeY9ueKNJ6bdg" key="visible" value="true"/> + </eAnnotations> + <children xmi:type="notation:Shape" xmi:id="_FIgasBONEeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> + <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_Prefix_ownedAttribute.factor"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_FIgasRONEeeY9ueKNJ6bdg"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_FImhUBONEeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> + <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_Prefix_ownedAttribute.symbol"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_FImhURONEeeY9ueKNJ6bdg"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_-173g3JgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_-173hHJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_-173hXJgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-173hnJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_-173h3JgEeWaaoAi4ttVsA" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_-173iHJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_-173iXJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_-173inJgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-173i3JgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_-173jHJgEeWaaoAi4ttVsA" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_-173jXJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_-173jnJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_-173j3JgEeWaaoAi4ttVsA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-173kHJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_-3GVIHJgEeWaaoAi4ttVsA" type="StereotypeLabel"> + <styles xmi:type="notation:StringValueStyle" xmi:id="_-3GVIXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-3GVInJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_-3GVI3JgEeWaaoAi4ttVsA" type="StereotypeBrace"> + <styles xmi:type="notation:TitleStyle" xmi:id="_-3GVJHJgEeWaaoAi4ttVsA" showTitle="true"/> + <styles xmi:type="notation:StringValueStyle" xmi:id="_-3GVJXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> + <element xmi:type="uml:Stereotype" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-3GVJnJgEeWaaoAi4ttVsA"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_-3NC0HJgEeWaaoAi4ttVsA" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_-3NC0XJgEeWaaoAi4ttVsA" visible="false" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_-3Np4HJgEeWaaoAi4ttVsA" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_-3Np4XJgEeWaaoAi4ttVsA" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_-3Np4nJgEeWaaoAi4ttVsA" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_-3Np43JgEeWaaoAi4ttVsA" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_-3OQ8HJgEeWaaoAi4ttVsA" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_VLc6MBIqEeeFNrLZFDmeGg" type="Parameters"/> + <element xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_Prefix"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-17QcXJgEeWaaoAi4ttVsA" x="980" y="520" width="141" height="161"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_-3RUQHJgEeWaaoAi4ttVsA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_-3RUQXJgEeWaaoAi4ttVsA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_-3R7UHJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_Prefix"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-3RUQnJgEeWaaoAi4ttVsA" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_dQph0BL9EeeY9ueKNJ6bdg" type="Constraint_PackagedElementShape"> + <children xmi:type="notation:DecorationNode" xmi:id="_dQqI4BL9EeeY9ueKNJ6bdg" type="Constraint_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_dQqI4RL9EeeY9ueKNJ6bdg" type="Constraint_BodyLabel"/> + <element xmi:type="uml:Constraint" href="QUDV.uml#QUDV.class_packagedElement_DerivedUnit.constraint_ownedRule_mustSpecifyQuantityKind"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_dQph0RL9EeeY9ueKNJ6bdg" x="1667" y="79"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_-20nMBL9EeeY9ueKNJ6bdg" type="Constraint_PackagedElementShape"> + <children xmi:type="notation:DecorationNode" xmi:id="_-21OQBL9EeeY9ueKNJ6bdg" type="Constraint_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_-21OQRL9EeeY9ueKNJ6bdg" type="Constraint_BodyLabel"/> + <element xmi:type="uml:Constraint" href="QUDV.uml#QUDV.class_packagedElement_QuantityKind.constraint_ownedRule_acyclic_quantity_kind_dependencies"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-20nMRL9EeeY9ueKNJ6bdg" x="640" y="960"/> + </children> + <styles xmi:type="notation:StringValueStyle" xmi:id="_0Gvw8XJgEeWaaoAi4ttVsA" name="diagram_compatibility_version" stringValue="1.3.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_0Gvw8nJgEeWaaoAi4ttVsA"/> + <styles xmi:type="style:PapyrusDiagramStyle" xmi:id="_3gCm4FdZEee6UuspFlbpuA" diagramKindId="org.eclipse.papyrus.sysml14.diagram.blockdefinition"> + <owner xmi:type="uml:Package" href="QUDV.uml#QUDV"/> + </styles> + <element xmi:type="uml:Package" href="QUDV.uml#QUDV"/> + <edges xmi:type="notation:Connector" xmi:id="_2UW4AHJgEeWaaoAi4ttVsA" type="StereotypeCommentLink" source="_2RUyIHJgEeWaaoAi4ttVsA" target="_2UWQ8HJgEeWaaoAi4ttVsA"> + <styles xmi:type="notation:FontStyle" xmi:id="_2UW4AXJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_2UW4BXJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_ConversionBasedUnit"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_2UW4AnJgEeWaaoAi4ttVsA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_2UW4A3JgEeWaaoAi4ttVsA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_2UW4BHJgEeWaaoAi4ttVsA"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_3KXS9HJgEeWaaoAi4ttVsA" type="StereotypeCommentLink" source="_3J2VkHJgEeWaaoAi4ttVsA" target="_3KXS8HJgEeWaaoAi4ttVsA"> + <styles xmi:type="notation:FontStyle" xmi:id="_3KXS9XJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_3KXS-XJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_Unit"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_3KXS9nJgEeWaaoAi4ttVsA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_3KXS93JgEeWaaoAi4ttVsA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_3KXS-HJgEeWaaoAi4ttVsA"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_35XuAHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_2RUyIHJgEeWaaoAi4ttVsA" target="_3J2VkHJgEeWaaoAi4ttVsA"> + <children xmi:type="notation:DecorationNode" xmi:id="_35YVEHJgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_n8or0BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_35YVEXJgEeWaaoAi4ttVsA" x="-1" y="-18"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_35YVEnJgEeWaaoAi4ttVsA" type="Association_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_n953IBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_35YVE3JgEeWaaoAi4ttVsA" x="100" y="13"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_35YVFHJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_n-masBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_35YVFXJgEeWaaoAi4ttVsA" x="100" y="-7"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_35YVFnJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_n_ZE4BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_35YVF3JgEeWaaoAi4ttVsA" x="1" y="-7"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_35Y8IHJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_oAGPgBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_35Y8IXJgEeWaaoAi4ttVsA" x="20" y="13"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_35Y8InJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_oAyzEBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_35Y8I3JgEeWaaoAi4ttVsA" x="-19" y="13"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_35XuAXJgEeWaaoAi4ttVsA"/> + <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_conversionBasedUnit_referenceUnit"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_35XuAnJgEeWaaoAi4ttVsA" points="[1000, 801, -643984, -643984]$[900, 940, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DDVFAHJhEeWaaoAi4ttVsA" id="(0.0,0.37267080745341613)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DDVsEHJhEeWaaoAi4ttVsA" id="(1.0,0.37267080745341613)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_4AlwUHJgEeWaaoAi4ttVsA" type="StereotypeCommentLink" source="_39NFIHJgEeWaaoAi4ttVsA" target="_4AlJQHJgEeWaaoAi4ttVsA"> + <styles xmi:type="notation:FontStyle" xmi:id="_4AlwUXJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_4AlwVXJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_DerivedQuantityKind"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_4AlwUnJgEeWaaoAi4ttVsA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_4AlwU3JgEeWaaoAi4ttVsA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_4AlwVHJgEeWaaoAi4ttVsA"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_4poGRHJgEeWaaoAi4ttVsA" type="StereotypeCommentLink" source="_4m0p4HJgEeWaaoAi4ttVsA" target="_4poGQHJgEeWaaoAi4ttVsA"> + <styles xmi:type="notation:FontStyle" xmi:id="_4poGRXJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_4poGSXJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_QuantityKindFactor"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_4poGRnJgEeWaaoAi4ttVsA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_4poGR3JgEeWaaoAi4ttVsA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_4poGSHJgEeWaaoAi4ttVsA"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_5V6kgHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_39NFIHJgEeWaaoAi4ttVsA" target="_4m0p4HJgEeWaaoAi4ttVsA"> + <children xmi:type="notation:DecorationNode" xmi:id="_5V6kg3JgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_Dpoz0BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_5V6khHJgEeWaaoAi4ttVsA" x="1" y="-18"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_5V7LkHJgEeWaaoAi4ttVsA" type="Association_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_DqUJQBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_5V7LkXJgEeWaaoAi4ttVsA" x="19" y="-7"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_5V7LknJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_DuYw8BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_5V7Lk3JgEeWaaoAi4ttVsA" x="17" y="-16"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_5V7LlHJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_DvDfUBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_5V7LlXJgEeWaaoAi4ttVsA" x="-13" y="-20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_5V7LlnJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_Dx5X8BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_5V7Ll3JgEeWaaoAi4ttVsA" x="17" y="32"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_5V7LmHJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_DyjfQBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_5V7LmXJgEeWaaoAi4ttVsA" x="-13" y="20"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_5V6kgXJgEeWaaoAi4ttVsA"/> + <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_derivedQuantityKind_factor"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_5V6kgnJgEeWaaoAi4ttVsA" points="[340, 401, -643984, -643984]$[340, 440, -643984, -643984]$[220, 440, -643984, -643984]$[220, 480, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DHS_AHJhEeWaaoAi4ttVsA" id="(0.49390243902439024,1.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DHTmEHJhEeWaaoAi4ttVsA" id="(0.7453416149068323,0.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_5ZigQXJgEeWaaoAi4ttVsA" type="StereotypeCommentLink" source="_5Y18sHJgEeWaaoAi4ttVsA" target="_5Zh5MHJgEeWaaoAi4ttVsA"> + <styles xmi:type="notation:FontStyle" xmi:id="_5ZigQnJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_5ZigRnJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_DerivedUnit"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_5ZigQ3JgEeWaaoAi4ttVsA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_5ZigRHJgEeWaaoAi4ttVsA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_5ZigRXJgEeWaaoAi4ttVsA"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_6JqVpHJgEeWaaoAi4ttVsA" type="StereotypeCommentLink" source="_6IwWsHJgEeWaaoAi4ttVsA" target="_6JqVoHJgEeWaaoAi4ttVsA"> + <styles xmi:type="notation:FontStyle" xmi:id="_6JqVpXJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_6Jq8snJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_UnitFactor"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_6JqVpnJgEeWaaoAi4ttVsA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_6Jq8sHJgEeWaaoAi4ttVsA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_6Jq8sXJgEeWaaoAi4ttVsA"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_65aXkHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_5Y18sHJgEeWaaoAi4ttVsA" target="_6IwWsHJgEeWaaoAi4ttVsA"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_dfHboBL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_dfHboRL9EeeY9ueKNJ6bdg" key="visible" value="true"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_65a-oHJgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_lj4rwBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_65a-oXJgEeWaaoAi4ttVsA" y="-20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_65a-onJgEeWaaoAi4ttVsA" type="Association_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_llXScBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_65a-o3JgEeWaaoAi4ttVsA" x="6"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_65a-pHJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_lmpr4BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_65a-pXJgEeWaaoAi4ttVsA" x="6"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_65a-pnJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_loF2UBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_65a-p3JgEeWaaoAi4ttVsA" x="-13"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_65a-qHJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_loyZ4BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_65a-qXJgEeWaaoAi4ttVsA" x="6" y="20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_65a-qnJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_lpfkgBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_65a-q3JgEeWaaoAi4ttVsA" x="-13" y="20"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_65aXkXJgEeWaaoAi4ttVsA"/> + <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_derivedUnit_factor"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_65aXknJgEeWaaoAi4ttVsA" points="[1588, 381, -643984, -643984]$[1588, 500, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DM3bgHJhEeWaaoAi4ttVsA" id="(0.425531914893617,1.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DM3bgXJhEeWaaoAi4ttVsA" id="(0.425531914893617,0.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_6_cuJHJgEeWaaoAi4ttVsA" type="StereotypeCommentLink" source="_6-dPoHJgEeWaaoAi4ttVsA" target="_6_cuIHJgEeWaaoAi4ttVsA"> + <styles xmi:type="notation:FontStyle" xmi:id="_6_cuJXJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_6_cuKXJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_Dimension"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_6_cuJnJgEeWaaoAi4ttVsA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_6_cuJ3JgEeWaaoAi4ttVsA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_6_cuKHJgEeWaaoAi4ttVsA"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_7tLW0HJgEeWaaoAi4ttVsA" type="Association_Edge" source="_6-dPoHJgEeWaaoAi4ttVsA" target="_4m0p4HJgEeWaaoAi4ttVsA"> + <children xmi:type="notation:DecorationNode" xmi:id="_7tLW03JgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_CGdJ0BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_7tLW1HJgEeWaaoAi4ttVsA" y="-20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_7tLW1XJgEeWaaoAi4ttVsA" type="Association_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_CIJL4BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_7tLW1nJgEeWaaoAi4ttVsA" x="-11" y="-53"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_7tL94HJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_CJYiABIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_7tL94XJgEeWaaoAi4ttVsA" x="6"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_7tL94nJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_CKjmsBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_7tL943JgEeWaaoAi4ttVsA" x="-13" y="80"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_7tL95HJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_CLYtIBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_7tL95XJgEeWaaoAi4ttVsA" x="6" y="20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_7tL95nJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_CMan4BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_7tL953JgEeWaaoAi4ttVsA" x="-13" y="-20"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_7tLW0XJgEeWaaoAi4ttVsA"/> + <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_dimension_factor"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_7tLW0nJgEeWaaoAi4ttVsA" points="[80, 201, -643984, -643984]$[80, 360, -643984, -643984]$[140, 360, -643984, -643984]$[140, 480, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DKQzcXJhEeWaaoAi4ttVsA" id="(0.37267080745341613,1.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DKQzcnJhEeWaaoAi4ttVsA" id="(0.2484472049689441,0.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_7xOwYXJgEeWaaoAi4ttVsA" type="StereotypeCommentLink" source="_7wOq0HJgEeWaaoAi4ttVsA" target="_7xOJUHJgEeWaaoAi4ttVsA"> + <styles xmi:type="notation:FontStyle" xmi:id="_7xOwYnJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_7xOwZnJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_QuantityKind"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_7xOwY3JgEeWaaoAi4ttVsA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_7xOwZHJgEeWaaoAi4ttVsA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_7xOwZXJgEeWaaoAi4ttVsA"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_8fpVkHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_7wOq0HJgEeWaaoAi4ttVsA" target="_7wOq0HJgEeWaaoAi4ttVsA"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-8S9FBL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-8S9FRL9EeeY9ueKNJ6bdg" key="visible" value="true"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_8fp8oHJgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_vLvW0BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_8fp8oXJgEeWaaoAi4ttVsA" y="-20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_8fp8onJgEeWaaoAi4ttVsA" type="Association_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_vM_7EBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_8fp8o3JgEeWaaoAi4ttVsA" x="-33" y="240"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_8fp8pHJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_vNrQgBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_8fqjsHJgEeWaaoAi4ttVsA" x="60" y="-7"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_8fqjsXJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_vOWl8BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_8fqjsnJgEeWaaoAi4ttVsA" x="-46" y="-60"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_8fqjs3JgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_vPBUUBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_8fqjtHJgEeWaaoAi4ttVsA" x="20" y="13"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_8frKwHJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_vPsCsBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_8frKwXJgEeWaaoAi4ttVsA" x="-26" y="-40"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_8fpVkXJgEeWaaoAi4ttVsA"/> + <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_generalQuantityKind_specificQuantityKind"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8fpVknJgEeWaaoAi4ttVsA" points="[500, 820, -643984, -643984]$[440, 820, -643984, -643984]$[440, 920, -643984, -643984]$[560, 920, -643984, -643984]$[620, 881, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ZwlVcBIuEeeFNrLZFDmeGg" id="(0.0,0.6211180124223602)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ZwlVcRIuEeeFNrLZFDmeGg" id="(0.29850746268656714,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_8i9vUHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_3J2VkHJgEeWaaoAi4ttVsA" target="_3J2VkHJgEeWaaoAi4ttVsA"> + <children xmi:type="notation:DecorationNode" xmi:id="_8i9vU3JgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_pUU3gBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_8i9vVHJgEeWaaoAi4ttVsA" y="-20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_8i9vVXJgEeWaaoAi4ttVsA" type="Association_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_pVtXkBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_8i9vVnJgEeWaaoAi4ttVsA" x="-170" y="-33"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_8i9vV3JgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_pWyVoBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_8i9vWHJgEeWaaoAi4ttVsA" x="60" y="-7"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_8i9vWXJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_pXncEBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_8i-WYHJgEeWaaoAi4ttVsA" x="-6"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_8i-WYXJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_pYSxgBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_8i-WYnJgEeWaaoAi4ttVsA" x="40" y="13"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_8i-WY3JgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_pZAjMBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_8i-WZHJgEeWaaoAi4ttVsA" x="-6" y="-20"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_8i9vUXJgEeWaaoAi4ttVsA"/> + <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_generalUnit_specificUnit"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8i9vUnJgEeWaaoAi4ttVsA" points="[1200, 840, -643984, -643984]$[1140, 840, -643984, -643984]$[1140, 920, -643984, -643984]$[1260, 920, -643984, -643984]$[1300, 881, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GvZHABIvEeeFNrLZFDmeGg" id="(0.0,0.7453416149068323)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_HIAbUBIvEeeFNrLZFDmeGg" id="(0.37267080745341613,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_8ow1UXJgEeWaaoAi4ttVsA" type="StereotypeCommentLink" source="_8nrQMHJgEeWaaoAi4ttVsA" target="_8owOQHJgEeWaaoAi4ttVsA"> + <styles xmi:type="notation:FontStyle" xmi:id="_8ow1UnJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8ow1VnJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_SystemOfQuantities"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8ow1U3JgEeWaaoAi4ttVsA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8ow1VHJgEeWaaoAi4ttVsA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8ow1VXJgEeWaaoAi4ttVsA"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_9VpwgHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_8nrQMHJgEeWaaoAi4ttVsA" target="_8nrQMHJgEeWaaoAi4ttVsA"> + <children xmi:type="notation:DecorationNode" xmi:id="_9Vpwg3JgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_7XXboBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_9VpwhHJgEeWaaoAi4ttVsA" y="-20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_9VpwhXJgEeWaaoAi4ttVsA" type="Association_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_7YxJ0BIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_9VpwhnJgEeWaaoAi4ttVsA" x="-53"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_9Vpwh3JgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_7ZkbEBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_9VpwiHJgEeWaaoAi4ttVsA" x="19" y="-13"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_9VpwiXJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_7a4psBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_9VpwinJgEeWaaoAi4ttVsA" x="-49" y="3"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_9Vpwi3JgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_7cArEBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_9VpwjHJgEeWaaoAi4ttVsA" x="19" y="7"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_9VqXkHJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_7dUSoBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_9VqXkXJgEeWaaoAi4ttVsA" x="-26" y="20"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_9VpwgXJgEeWaaoAi4ttVsA"/> + <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_includedSystemOfQuantities_systemOfQuantities"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_9VpwgnJgEeWaaoAi4ttVsA" points="[681, 160, -643984, -643984]$[720, 160, -643984, -643984]$[720, 240, -643984, -643984]$[640, 240, -643984, -643984]$[640, 201, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Ahc64BIrEeeFNrLZFDmeGg" id="(1.0,0.7734806629834254)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Ahc64RIrEeeFNrLZFDmeGg" id="(0.7453416149068323,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_9ZyCkHJgEeWaaoAi4ttVsA" type="StereotypeCommentLink" source="_9YlvwHJgEeWaaoAi4ttVsA" target="_9ZxbgHJgEeWaaoAi4ttVsA"> + <styles xmi:type="notation:FontStyle" xmi:id="_9ZyCkXJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_9ZyClXJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_SystemOfUnits"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_9ZyCknJgEeWaaoAi4ttVsA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9ZyCk3JgEeWaaoAi4ttVsA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9ZyClHJgEeWaaoAi4ttVsA"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_-FOMQHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_9YlvwHJgEeWaaoAi4ttVsA" target="_9YlvwHJgEeWaaoAi4ttVsA"> + <children xmi:type="notation:DecorationNode" xmi:id="_-FOzUHJgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-Q_UIBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-FOzUXJgEeWaaoAi4ttVsA" y="-20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_-FOzUnJgEeWaaoAi4ttVsA" type="Association_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-SM1EBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-FOzU3JgEeWaaoAi4ttVsA" x="-43"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_-FOzVHJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-TAtYBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-FOzVXJgEeWaaoAi4ttVsA" x="19" y="-13"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_-FOzVnJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-TywgBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-FOzV3JgEeWaaoAi4ttVsA" x="-46"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_-FOzWHJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-VVBkBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-FOzWXJgEeWaaoAi4ttVsA" x="19" y="7"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_-FPaYHJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-WEBYBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-FPaYXJgEeWaaoAi4ttVsA" x="-26" y="20"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_-FOMQXJgEeWaaoAi4ttVsA"/> + <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_includedSystemOfUnits_systemOfUnits"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_-FOMQnJgEeWaaoAi4ttVsA" points="[1341, 160, -643984, -643984]$[1400, 160, -643984, -643984]$[1400, 240, -643984, -643984]$[1320, 240, -643984, -643984]$[1320, 201, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Al4ScBIsEeeFNrLZFDmeGg" id="(1.0,0.7734806629834254)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_AXhtYBIsEeeFNrLZFDmeGg" id="(0.851063829787234,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_-JTbBHJgEeWaaoAi4ttVsA" type="StereotypeCommentLink" source="_-IDd0HJgEeWaaoAi4ttVsA" target="_-JTbAHJgEeWaaoAi4ttVsA"> + <styles xmi:type="notation:FontStyle" xmi:id="_-JTbBXJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_-JTbCXJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_PrefixedUnit"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_-JTbBnJgEeWaaoAi4ttVsA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_-JTbB3JgEeWaaoAi4ttVsA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_-JTbCHJgEeWaaoAi4ttVsA"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_-y9cAHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_7wOq0HJgEeWaaoAi4ttVsA" target="_-IDd0HJgEeWaaoAi4ttVsA"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-8RH4BL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-8RH4RL9EeeY9ueKNJ6bdg" key="visible" value="true"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_-y-DEHJgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_uIl3wBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-y-DEXJgEeWaaoAi4ttVsA" x="2" y="-17"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_-y-DEnJgEeWaaoAi4ttVsA" type="Association_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_uKDQUBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-y-DE3JgEeWaaoAi4ttVsA" x="-170" y="-93"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_-y-DFHJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_uKwa8BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-y-DFXJgEeWaaoAi4ttVsA" x="33"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_-y-DFnJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_uLdlkBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-y-DF3JgEeWaaoAi4ttVsA" x="-6" y="-100"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_-y-DGHJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_uMI7ABIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-y-DGXJgEeWaaoAi4ttVsA" x="33" y="-20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_-y-DGnJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_uMzpYBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-y-DG3JgEeWaaoAi4ttVsA" x="-6"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_-y9cAXJgEeWaaoAi4ttVsA"/> + <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_noQuantityKind_prefixedUnit"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_-y9cAnJgEeWaaoAi4ttVsA" points="[680, 720, -643984, -643984]$[660, 680, -643984, -643984]$[880, 680, -643984, -643984]$[880, 441, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DUyBYHJhEeWaaoAi4ttVsA" id="(0.7960199004975125,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DUyBYXJhEeWaaoAi4ttVsA" id="(0.28368794326241137,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_-3R7UXJgEeWaaoAi4ttVsA" type="StereotypeCommentLink" source="_-17QcHJgEeWaaoAi4ttVsA" target="_-3RUQHJgEeWaaoAi4ttVsA"> + <styles xmi:type="notation:FontStyle" xmi:id="_-3R7UnJgEeWaaoAi4ttVsA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_-3R7VnJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_Prefix"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_-3R7U3JgEeWaaoAi4ttVsA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_-3R7VHJgEeWaaoAi4ttVsA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_-3R7VXJgEeWaaoAi4ttVsA"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="__gug8HJgEeWaaoAi4ttVsA" type="Association_Edge" source="_-IDd0HJgEeWaaoAi4ttVsA" target="_-17QcHJgEeWaaoAi4ttVsA"> + <children xmi:type="notation:DecorationNode" xmi:id="__gvIAHJgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_o2JtwBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__gvIAXJgEeWaaoAi4ttVsA" x="1" y="-18"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__gvIAnJgEeWaaoAi4ttVsA" type="Association_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_o3cHMBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__gvIA3JgEeWaaoAi4ttVsA" x="-31" y="-13"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__gvIBHJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_o4Kf8BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__gvIBXJgEeWaaoAi4ttVsA" x="6"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__gvIBnJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_o42ccBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__gvIB3JgEeWaaoAi4ttVsA" x="-13" y="80"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__gvICHJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_o5k1MBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__gvvEHJgEeWaaoAi4ttVsA" x="6" y="20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__gvvEXJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_o6Z7oBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__gvvEnJgEeWaaoAi4ttVsA" x="-13" y="-20"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="__gug8XJgEeWaaoAi4ttVsA"/> + <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_prefixedUnit_prefix"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__gug8nJgEeWaaoAi4ttVsA" points="[940, 441, -643984, -643984]$[940, 480, -643984, -643984]$[1020, 480, -643984, -643984]$[1020, 520, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DeR7oHJhEeWaaoAi4ttVsA" id="(0.7092198581560284,1.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DeSisHJhEeWaaoAi4ttVsA" id="(0.28368794326241137,0.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="__jv_wHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_4m0p4HJgEeWaaoAi4ttVsA" target="_7wOq0HJgEeWaaoAi4ttVsA"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-8TkIhL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-8TkIxL9EeeY9ueKNJ6bdg" key="visible" value="true"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="__jwm0HJgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_Dkd_8BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__jwm0XJgEeWaaoAi4ttVsA" y="-19"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__jwm0nJgEeWaaoAi4ttVsA" type="Association_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_DlsH8BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__jwm03JgEeWaaoAi4ttVsA" x="-71" y="-13"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__jwm1HJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_DmmG4BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__jwm1XJgEeWaaoAi4ttVsA" x="6"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__jwm1nJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_DnVGsBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__jwm13JgEeWaaoAi4ttVsA" x="-13" y="120"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__jwm2HJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_DoRh4BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__jwm2XJgEeWaaoAi4ttVsA" x="6" y="20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__jwm2nJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_Do-FcBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__jwm23JgEeWaaoAi4ttVsA" x="-13"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="__jv_wXJgEeWaaoAi4ttVsA"/> + <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_quantityKindFactor_quantityKind"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__jv_wnJgEeWaaoAi4ttVsA" points="[180, 641, -643984, -643984]$[180, 680, -643984, -643984]$[540, 680, -643984, -643984]$[540, 720, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DKQMYHJhEeWaaoAi4ttVsA" id="(0.4968944099378882,1.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DKQzcHJhEeWaaoAi4ttVsA" id="(0.19900497512437812,0.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="__m2-IHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_7wOq0HJgEeWaaoAi4ttVsA" target="_3J2VkHJgEeWaaoAi4ttVsA"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-8TkIBL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-8TkIRL9EeeY9ueKNJ6bdg" key="visible" value="true"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="__m3lMHJgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_pZymUBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__m3lMXJgEeWaaoAi4ttVsA" x="1" y="-18"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__m3lMnJgEeWaaoAi4ttVsA" type="Association_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_paei0BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__m3lM3JgEeWaaoAi4ttVsA" x="-91" y="7"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__m3lNHJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_pes7gBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__m3lNXJgEeWaaoAi4ttVsA" x="19" y="-13"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__m3lNnJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_pi9wcBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__m3lN3JgEeWaaoAi4ttVsA" x="-100" y="-13"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__m4MQHJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_pj49gBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__m4MQXJgEeWaaoAi4ttVsA" x="39" y="7"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__m4MQnJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_poWmwBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__m4MQ3JgEeWaaoAi4ttVsA" x="-40" y="7"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="__m2-IXJgEeWaaoAi4ttVsA"/> + <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_quantityKind_measurementUnit"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__m2-InJgEeWaaoAi4ttVsA" points="[701, 800, -643984, -643984]$[1200, 800, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DFxVAHJhEeWaaoAi4ttVsA" id="(1.0,0.4968944099378882)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DFxVAXJhEeWaaoAi4ttVsA" id="(0.0,0.4968944099378882)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="__qI7oHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_8nrQMHJgEeWaaoAi4ttVsA" target="_7wOq0HJgEeWaaoAi4ttVsA"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-8S9EBL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-8S9ERL9EeeY9ueKNJ6bdg" key="visible" value="true"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="__qJisHJgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_7hqnIBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__qJisXJgEeWaaoAi4ttVsA" y="19"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__qJisnJgEeWaaoAi4ttVsA" type="Association_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_7i0dsBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__qJis3JgEeWaaoAi4ttVsA" x="86" y="220"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__qJitHJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_7x8e0BIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__qJitXJgEeWaaoAi4ttVsA" x="106" y="120"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__qJitnJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_7ysswBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__qJit3JgEeWaaoAi4ttVsA" x="-93" y="120"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__qJiuHJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_724pMBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__qJiuXJgEeWaaoAi4ttVsA" x="106"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__qKJwHJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_733goBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__qKJwXJgEeWaaoAi4ttVsA" x="-93"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="__qI7oXJgEeWaaoAi4ttVsA"/> + <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_systemOfQuantities_baseQuantityKind"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__qI7onJgEeWaaoAi4ttVsA" points="[560, 201, -643984, -643984]$[480, 1000, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DUyocHJhEeWaaoAi4ttVsA" id="(0.37267080745341613,1.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DUyocXJhEeWaaoAi4ttVsA" id="(0.39800995024875624,0.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="__u0nUHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_8nrQMHJgEeWaaoAi4ttVsA" target="_6-dPoHJgEeWaaoAi4ttVsA"> + <children xmi:type="notation:DecorationNode" xmi:id="__u0nU3JgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_78fh8BIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__u1OYHJgEeWaaoAi4ttVsA" x="-1" y="-19"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__u1OYXJgEeWaaoAi4ttVsA" type="Association_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_79YSwBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__u1OYnJgEeWaaoAi4ttVsA" x="62" y="56"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__u1OY3JgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8BfWsBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__u1OZHJgEeWaaoAi4ttVsA" x="119" y="-22"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__u1OZXJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8C5r8BIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__u1OZnJgEeWaaoAi4ttVsA" x="-10" y="26"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__u1OZ3JgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8DuyYBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__u1OaHJgEeWaaoAi4ttVsA" x="25" y="15"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__u1OaXJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8E0-kBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__u1OanJgEeWaaoAi4ttVsA" x="-14" y="-19"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="__u0nUXJgEeWaaoAi4ttVsA"/> + <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_systemOfQuantities_dimension"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__u0nUnJgEeWaaoAi4ttVsA" points="[500, 80, -643984, -643984]$[160, 20, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DQ6OAHJhEeWaaoAi4ttVsA" id="(0.0,0.3314917127071823)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DQ61EHJhEeWaaoAi4ttVsA" id="(1.0,0.3314917127071823)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="__yBFQHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_8nrQMHJgEeWaaoAi4ttVsA" target="_7wOq0HJgEeWaaoAi4ttVsA"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-8S9EhL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-8S9ExL9EeeY9ueKNJ6bdg" key="visible" value="true"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="__yBsUHJgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8FtIUBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__yBsUXJgEeWaaoAi4ttVsA" y="19"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__yBsUnJgEeWaaoAi4ttVsA" type="Association_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8HFBUBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__yBsU3JgEeWaaoAi4ttVsA" x="26"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__yBsVHJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8ID4wBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__yBsVXJgEeWaaoAi4ttVsA" x="126"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__yBsVnJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8I3KABIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__yBsV3JgEeWaaoAi4ttVsA" x="-73"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__yBsWHJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8Jmw4BIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__yBsWXJgEeWaaoAi4ttVsA" x="126" y="20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__yBsWnJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8Mpd0BIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__yBsW3JgEeWaaoAi4ttVsA" x="-73" y="20"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="__yBFQXJgEeWaaoAi4ttVsA"/> + <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_systemOfQuantities_quantityKind"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__yBFQnJgEeWaaoAi4ttVsA" points="[580, 201, -643984, -643984]$[560, 1000, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DUzPgHJhEeWaaoAi4ttVsA" id="(0.6211180124223602,1.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DUzPgXJhEeWaaoAi4ttVsA" id="(0.5970149253731343,0.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="__1Tp0HJgEeWaaoAi4ttVsA" type="Association_Edge" source="_9YlvwHJgEeWaaoAi4ttVsA" target="_3J2VkHJgEeWaaoAi4ttVsA"> + <children xmi:type="notation:DecorationNode" xmi:id="__1UQ4HJgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-XMp0BIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__1UQ4XJgEeWaaoAi4ttVsA" y="-19"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__1UQ4nJgEeWaaoAi4ttVsA" type="Association_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-aDJgBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__1UQ43JgEeWaaoAi4ttVsA" x="26"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__1UQ5HJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-c2l4BIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__1UQ5XJgEeWaaoAi4ttVsA" x="186"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__1UQ5nJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-dsTYBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__1U38HJgEeWaaoAi4ttVsA" x="-93"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__1U38XJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-gg94BIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__1U38nJgEeWaaoAi4ttVsA" x="166" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__1U383JgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-hM6YBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__1U39HJgEeWaaoAi4ttVsA" x="-93" y="20"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="__1Tp0XJgEeWaaoAi4ttVsA"/> + <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_systemOfUnits_baseUnit"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__1Tp0nJgEeWaaoAi4ttVsA" points="[1120, 201, -643984, -643984]$[1000, 940, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DFx8E3JhEeWaaoAi4ttVsA" id="(0.7092198581560284,1.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DFyjIHJhEeWaaoAi4ttVsA" id="(0.6211180124223602,0.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="__6sgIHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_9YlvwHJgEeWaaoAi4ttVsA" target="_-17QcHJgEeWaaoAi4ttVsA"> + <children xmi:type="notation:DecorationNode" xmi:id="__6tHMHJgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-h7TIBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__6tHMXJgEeWaaoAi4ttVsA" y="19"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__6tHMnJgEeWaaoAi4ttVsA" type="Association_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-k2EQBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__6tHM3JgEeWaaoAi4ttVsA" x="39" y="-7"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__6tHNHJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-lgyoBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__6tHNXJgEeWaaoAi4ttVsA" x="34" y="15"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__6tHNnJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-ouesBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__6tHN3JgEeWaaoAi4ttVsA" x="-13"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__6tHOHJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-peFkBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__6tHOXJgEeWaaoAi4ttVsA" x="86"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__6tHOnJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-qKCEBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__6tHO3JgEeWaaoAi4ttVsA" x="-13" y="20"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="__6sgIXJgEeWaaoAi4ttVsA"/> + <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_systemOfUnits_prefix"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__6sgInJgEeWaaoAi4ttVsA" points="[1240, 201, -643984, -643984]$[1240, 320, -643984, -643984]$[1080, 320, -643984, -643984]$[1060, 520, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Da1mEHJhEeWaaoAi4ttVsA" id="(0.28368794326241137,1.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Da1mEXJhEeWaaoAi4ttVsA" id="(0.7092198581560284,0.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="__-HnkHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_9YlvwHJgEeWaaoAi4ttVsA" target="_8nrQMHJgEeWaaoAi4ttVsA"> + <children xmi:type="notation:DecorationNode" xmi:id="__-IOoHJgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8TUtkBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__-IOoXJgEeWaaoAi4ttVsA" x="1" y="-19"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__-IOonJgEeWaaoAi4ttVsA" type="Association_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8UWoUBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__-IOo3JgEeWaaoAi4ttVsA" x="100" y="13"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__-IOpHJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8VTqkBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__-IOpXJgEeWaaoAi4ttVsA" x="120" y="-7"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__-IOpnJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8WQs0BIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__-IOp3JgEeWaaoAi4ttVsA" x="-19" y="-7"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__-IOqHJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8aS4QBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__-IOqXJgEeWaaoAi4ttVsA" x="20" y="13"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="__-I1sHJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8bBRABIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="__-I1sXJgEeWaaoAi4ttVsA" x="-19" y="13"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="__-HnkXJgEeWaaoAi4ttVsA"/> + <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_systemOfUnits_systemOfQuantities"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__-HnknJgEeWaaoAi4ttVsA" points="[1200, 80, -643984, -643984]$[681, 80, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DYbyUHJhEeWaaoAi4ttVsA" id="(0.0,0.4552238805970149)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DYbyUXJhEeWaaoAi4ttVsA" id="(1.0,0.3314917127071823)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_ABWhwHJhEeWaaoAi4ttVsA" type="Association_Edge" source="_9YlvwHJgEeWaaoAi4ttVsA" target="_3J2VkHJgEeWaaoAi4ttVsA"> + <children xmi:type="notation:DecorationNode" xmi:id="_ABWhw3JhEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-tXuIBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ABWhxHJhEeWaaoAi4ttVsA" y="-19"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_ABXI0HJhEeWaaoAi4ttVsA" type="Association_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-uB1cBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ABXI0XJhEeWaaoAi4ttVsA" x="-12" y="139"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_ABXI0nJhEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-ur8wBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ABXI03JhEeWaaoAi4ttVsA" x="166" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_ABXI1HJhEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-vZHYBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ABXI1XJhEeWaaoAi4ttVsA" x="-32" y="123"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_ABXI1nJhEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-wLxkBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ABXI13JhEeWaaoAi4ttVsA" x="186" y="-20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_ABXI2HJhEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-zztUBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ABXI2XJhEeWaaoAi4ttVsA" x="-113"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_ABWhwXJhEeWaaoAi4ttVsA"/> + <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_systemOfUnits_unit"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ABWhwnJhEeWaaoAi4ttVsA" points="[1260, 201, -643984, -643984]$[1000, 940, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DFx8EXJhEeWaaoAi4ttVsA" id="(0.425531914893617,1.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DFx8EnJhEeWaaoAi4ttVsA" id="(0.37267080745341613,0.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_AF5DgHJhEeWaaoAi4ttVsA" type="Association_Edge" source="_6IwWsHJgEeWaaoAi4ttVsA" target="_3J2VkHJgEeWaaoAi4ttVsA"> + <children xmi:type="notation:DecorationNode" xmi:id="_AF5Dg3JhEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_ni1rwBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_AF5DhHJhEeWaaoAi4ttVsA" x="1" y="-19"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_AF5DhXJhEeWaaoAi4ttVsA" type="Association_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_nkZK8BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_AF5DhnJhEeWaaoAi4ttVsA" x="19" y="-7"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_AF5Dh3JhEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_nlohEBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_AF5qkHJhEeWaaoAi4ttVsA" x="6"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_AF5qkXJhEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_nmW50BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_AF5qknJhEeWaaoAi4ttVsA" x="-13"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_AF5qk3JhEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_nnSt8BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_AF5qlHJhEeWaaoAi4ttVsA" x="6" y="20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_AF5qlXJhEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_noBtwBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_AF5qlnJhEeWaaoAi4ttVsA" x="-13" y="20"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_AF5DgXJhEeWaaoAi4ttVsA"/> + <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_unitFactor_unit"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_AF5DgnJhEeWaaoAi4ttVsA" points="[1600, 661, -643984, -643984]$[1600, 680, -643984, -643984]$[1340, 680, -643984, -643984]$[1340, 720, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DFxVAnJhEeWaaoAi4ttVsA" id="(0.4968944099378882,1.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DFx8EHJhEeWaaoAi4ttVsA" id="(0.8695652173913043,0.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_AJP5gHJhEeWaaoAi4ttVsA" type="Association_Edge" source="_8nrQMHJgEeWaaoAi4ttVsA" target="_8nrQMHJgEeWaaoAi4ttVsA"> + <children xmi:type="notation:DecorationNode" xmi:id="_AJP5g3JhEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8N4M4BIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_AJP5hHJhEeWaaoAi4ttVsA" y="-20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_AJQgkHJhEeWaaoAi4ttVsA" type="Association_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8O_AIBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_AJQgkXJhEeWaaoAi4ttVsA" x="-18" y="271"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_AJQgknJhEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8P9QgBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_AJQgk3JhEeWaaoAi4ttVsA" x="200" y="16"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_AJQglHJhEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8QtecBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_AJQglXJhEeWaaoAi4ttVsA" x="-46" y="-100"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_AJQglnJhEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8RmPQBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_AJQgl3JhEeWaaoAi4ttVsA" x="35" y="-16"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_AJQgmHJhEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8SfAEBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_AJQgmXJhEeWaaoAi4ttVsA" x="-26" y="-40"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_AJP5gXJhEeWaaoAi4ttVsA"/> + <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_usedSystemOfQuantities_systemOfQuantities"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_AJP5gnJhEeWaaoAi4ttVsA" points="[520, 160, -643984, -643984]$[460, 160, -643984, -643984]$[460, 240, -643984, -643984]$[540, 240, -643984, -643984]$[540, 201, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Iq5HMBIrEeeFNrLZFDmeGg" id="(0.0,0.7734806629834254)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J5kg0BIrEeeFNrLZFDmeGg" id="(0.12422360248447205,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_AMhP8HJhEeWaaoAi4ttVsA" type="Association_Edge" source="_9YlvwHJgEeWaaoAi4ttVsA" target="_9YlvwHJgEeWaaoAi4ttVsA"> + <children xmi:type="notation:DecorationNode" xmi:id="_AMh3AHJhEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-0qo8BIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_AMh3AXJhEeWaaoAi4ttVsA" y="-20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_AMh3AnJhEeWaaoAi4ttVsA" type="Association_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-1lO8BIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_AMh3A3JhEeWaaoAi4ttVsA" x="-176" y="18"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_AMh3BHJhEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-2ktcBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_AMh3BXJhEeWaaoAi4ttVsA" x="120" y="13"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_AMieEHJhEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-6incBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_AMieEXJhEeWaaoAi4ttVsA" x="-46" y="-80"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_AMieEnJhEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-8tKoBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_AMieE3JhEeWaaoAi4ttVsA" x="40" y="-7"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_AMieFHJhEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-9YgEBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_AMieFXJhEeWaaoAi4ttVsA" x="-26" y="-40"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_AMhP8XJhEeWaaoAi4ttVsA"/> + <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_usedSystemOfUnits_systemOfUnits"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_AMhP8nJhEeWaaoAi4ttVsA" points="[1200, 160, -643984, -643984]$[1140, 160, -643984, -643984]$[1140, 240, -643984, -643984]$[1220, 240, -643984, -643984]$[1300, 201, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_4MgMsBIrEeeFNrLZFDmeGg" id="(0.0,0.7734806629834254)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_4jABIBIrEeeFNrLZFDmeGg" id="(0.14184397163120568,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_dfIpwBL9EeeY9ueKNJ6bdg" type="Constraint_ContextEdge" source="_dQph0BL9EeeY9ueKNJ6bdg" target="_5Y18sHJgEeWaaoAi4ttVsA"> + <children xmi:type="notation:DecorationNode" xmi:id="_dfJ34BL9EeeY9ueKNJ6bdg" type="Constraint_KeywordLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_dfJ34RL9EeeY9ueKNJ6bdg" y="15"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_dfIpwRL9EeeY9ueKNJ6bdg"/> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_dfIpwhL9EeeY9ueKNJ6bdg" points="[0, 0, -643984, -643984]$[1520, 296, -643984, -643984]"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_-8Ru8BL9EeeY9ueKNJ6bdg" type="Constraint_ContextEdge" source="_-20nMBL9EeeY9ueKNJ6bdg" target="_7wOq0HJgEeWaaoAi4ttVsA"> + <children xmi:type="notation:DecorationNode" xmi:id="_-8Ru8xL9EeeY9ueKNJ6bdg" type="Constraint_KeywordLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="__dWbsBL9EeeY9ueKNJ6bdg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_-8Ru9BL9EeeY9ueKNJ6bdg" x="-1" y="13"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_-8Ru8RL9EeeY9ueKNJ6bdg"/> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_-8Ru8hL9EeeY9ueKNJ6bdg" points="[0, 0, -643984, -643984]$[540, 720, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="__eSP0BL9EeeY9ueKNJ6bdg" id="(0.3835616438356164,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="__eSP0RL9EeeY9ueKNJ6bdg" id="(0.8955223880597015,1.0)"/> + </edges> +</notation:Diagram>
diff --git a/core/org.eclipse.papyrus.sysml/resources/library/QUDV.uml b/core/org.eclipse.papyrus.sysml/resources/library/QUDV.uml new file mode 100644 index 0000000..9572863 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/resources/library/QUDV.uml
@@ -0,0 +1,1122 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Blocks="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Blocks" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:standard="http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Blocks http://www.eclipse.org/papyrus/sysml/1.5/SysML#//blocks"> + <uml:Package xmi:id="QUDV" name="QUDV" URI="http://www.omg.org/spec/SysML/20161101/QUDV"> + <packagedElement xmi:type="uml:Association" xmi:id="QUDV.A_systemOfUnits_prefix" name="A_systemOfUnits_prefix" memberEnd="QUDV.A_systemOfUnits_prefix.systemOfUnits QUDV.SystemOfUnits.prefix"> + <ownedEnd xmi:id="QUDV.A_systemOfUnits_prefix.systemOfUnits" name="systemOfUnits" type="QUDV.SystemOfUnits" association="QUDV.A_systemOfUnits_prefix"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.A_systemOfUnits_prefix.systemOfUnits.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.A_systemOfUnits_prefix.systemOfUnits.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="QUDV.A_systemOfQuantities_dimension" name="A_systemOfQuantities_dimension" memberEnd="QUDV.A_systemOfQuantities_dimension.systemOfQuantities QUDV.SystemOfQuantities.dimension"> + <ownedEnd xmi:id="QUDV.A_systemOfQuantities_dimension.systemOfQuantities" name="systemOfQuantities" type="QUDV.SystemOfQuantities" association="QUDV.A_systemOfQuantities_dimension"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.A_systemOfQuantities_dimension.systemOfQuantities.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.A_systemOfQuantities_dimension.systemOfQuantities.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="QUDV.A_usedSystemOfUnits_systemOfUnits" name="A_usedSystemOfUnits_systemOfUnits" memberEnd="QUDV.A_usedSystemOfUnits_systemOfUnits.systemOfUnits QUDV.SystemOfUnits.usedSystemOfUnits"> + <ownedEnd xmi:id="QUDV.A_usedSystemOfUnits_systemOfUnits.systemOfUnits" name="systemOfUnits" type="QUDV.SystemOfUnits" association="QUDV.A_usedSystemOfUnits_systemOfUnits"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.A_usedSystemOfUnits_systemOfUnits.systemOfUnits.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.A_usedSystemOfUnits_systemOfUnits.systemOfUnits.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="QUDV.A_generalQuantityKind_specificQuantityKind" name="A_generalQuantityKind_specificQuantityKind" memberEnd="QUDV.QuantityKind.general QUDV.A_generalQuantityKind_specificQuantityKind.specific"> + <ownedEnd xmi:id="QUDV.A_generalQuantityKind_specificQuantityKind.specific" name="specific" type="QUDV.QuantityKind" association="QUDV.A_generalQuantityKind_specificQuantityKind"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.A_generalQuantityKind_specificQuantityKind.specific.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.A_generalQuantityKind_specificQuantityKind.specific.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:DataType" xmi:id="QUDV_dataType.Rational" name="Rational"> + <generalization xmi:id="QUDV_dataType.Rational._generalization.SysML_dataType.Number"> + <general xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML_dataType.Number"/> + </generalization> + <ownedAttribute xmi:id="QUDV_dataType.Rational.denominator" name="denominator"> + <type xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML_dataType.Integer"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV_dataType.Rational.numerator" name="numerator"> + <type xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML_dataType.Integer"/> + </ownedAttribute> + <ownedOperation xmi:id="QUDV_dataType.Rational.equivalent_Rational_Boolean" name="equivalent"> + <ownedParameter xmi:id="QUDV_dataType.Rational.equivalent_Rational_Boolean.r" name="r" type="QUDV_dataType.Rational" effect="create"/> + <ownedParameter xmi:id="QUDV_dataType.Rational.equivalent_Rational_Boolean.result" name="result" effect="create"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:id="QUDV_dataType.Rational.plus_Rational_Rational" name="plus"> + <ownedParameter xmi:id="QUDV_dataType.Rational.plus_Rational_Rational.r" name="r" type="QUDV_dataType.Rational" effect="create"/> + <ownedParameter xmi:id="QUDV_dataType.Rational.plus_Rational_Rational.result" name="result" type="QUDV_dataType.Rational" effect="create"/> + </ownedOperation> + <ownedOperation xmi:id="QUDV_dataType.Rational.times_Rational_Rational" name="times"> + <ownedParameter xmi:id="QUDV_dataType.Rational.times_Rational_Rational.r" name="r" type="QUDV_dataType.Rational" effect="create"/> + <ownedParameter xmi:id="QUDV_dataType.Rational.times_Rational_Rational.result" name="result" type="QUDV_dataType.Rational" effect="create"/> + </ownedOperation> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="QUDV.QuantityKind" name="QuantityKind" isAbstract="true"> + <ownedRule xmi:id="QUDV.QuantityKind._rule.acyclic_quantity_kind_dependencies" name="acyclic_quantity_kind_dependencies"> + <ownedComment xmi:id="QUDV.QuantityKind._rule.acyclic_quantity_kind_dependencies._comment0"> + <body>A QuantityKind cannot be defined in terms of itself. This follows from the quantity calculus used for expressing a derived QuantityKind in terms of base QuantityKinds chosen for a SystemOfQuantities by means of non-contradictory equations (See ISO 80000-1, 4.3).</body> + </ownedComment> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.QuantityKind._rule.acyclic_quantity_kind_dependencies.specification0"> + <language>OCL2.0</language> + <body>dependsOnQuantityKinds-&gt;excludes(self)</body> + </specification> + </ownedRule> + <generalization xmi:id="QUDV.QuantityKind._generalization.SysML.QuantityKind"> + <general xmi:type="uml:Class" href="SysML-Standard-Library.uml#SysML.QuantityKind"/> + </generalization> + <ownedAttribute xmi:id="QUDV.QuantityKind.dependsOnQuantityKinds" name="dependsOnQuantityKinds" type="QUDV.QuantityKind" isReadOnly="true" isDerived="true"> + <ownedComment xmi:id="QUDV.QuantityKind.dependsOnQuantityKinds._comment0"> + <body>The set of all QuantityKinds that this QuantityKind directly or indirectly depends on according to its definition.</body> + </ownedComment> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.QuantityKind.dependsOnQuantityKinds.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.QuantityKind.dependsOnQuantityKinds.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.QuantityKind.general" name="general" type="QUDV.QuantityKind" association="QUDV.A_generalQuantityKind_specificQuantityKind"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.QuantityKind.general.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.QuantityKind.general.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.QuantityKind.isNumberOfEntities" name="isNumberOfEntities"> + <ownedComment xmi:id="QUDV.QuantityKind.isNumberOfEntities._comment0"> + <body>If true, indicates that the QuantityKind represents a number of entities (see ISO 80000-1, 3.8, Note 4).</body> + </ownedComment> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> + <defaultValue xmi:type="uml:LiteralBoolean" xmi:id="QUDV.QuantityKind.isNumberOfEntities.defaultValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.QuantityKind.isQuantityOfDimensionOne" name="isQuantityOfDimensionOne"> + <ownedComment xmi:id="QUDV.QuantityKind.isQuantityOfDimensionOne._comment0"> + <body>If true, indicates that the QuantityKind has dimension one (see ISO 80000-1, 3.8).</body> + </ownedComment> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> + <defaultValue xmi:type="uml:LiteralBoolean" xmi:id="QUDV.QuantityKind.isQuantityOfDimensionOne.defaultValue0"/> + </ownedAttribute> + <ownedOperation xmi:id="QUDV.QuantityKind.dependsOnQuantityKinds_QuantityKind" name="dependsOnQuantityKinds"> + <ownedComment xmi:id="QUDV.QuantityKind.dependsOnQuantityKinds_QuantityKind._comment0"> + <body>Abstract operation specified in SpecializedQuantityKind, SimpleQuantityKind and DerivedQuantityKind to calculate the value of the derived property QuantityKind:/dependsOnQuantityKinds.</body> + </ownedComment> + <ownedParameter xmi:id="QUDV.QuantityKind.dependsOnQuantityKinds_QuantityKind.result" name="result" type="QUDV.QuantityKind" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.QuantityKind.dependsOnQuantityKinds_QuantityKind.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.QuantityKind.dependsOnQuantityKinds_QuantityKind.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="QUDV.A_includedSystemOfUnits_systemOfUnits" name="A_includedSystemOfUnits_systemOfUnits" memberEnd="QUDV.A_includedSystemOfUnits_systemOfUnits.systemOfUnits QUDV.SystemOfUnits.includedSystemOfUnits"> + <ownedEnd xmi:id="QUDV.A_includedSystemOfUnits_systemOfUnits.systemOfUnits" name="systemOfUnits" type="QUDV.SystemOfUnits" association="QUDV.A_includedSystemOfUnits_systemOfUnits"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.A_includedSystemOfUnits_systemOfUnits.systemOfUnits.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.A_includedSystemOfUnits_systemOfUnits.systemOfUnits.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="QUDV.A_includedSystemOfQuantities_systemOfQuantities" name="A_includedSystemOfQuantities_systemOfQuantities" memberEnd="QUDV.A_includedSystemOfQuantities_systemOfQuantities.systemOfQuantities QUDV.SystemOfQuantities.includedSystemOfQuantities"> + <ownedEnd xmi:id="QUDV.A_includedSystemOfQuantities_systemOfQuantities.systemOfQuantities" name="systemOfQuantities" type="QUDV.SystemOfQuantities" association="QUDV.A_includedSystemOfQuantities_systemOfQuantities"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.A_includedSystemOfQuantities_systemOfQuantities.systemOfQuantities.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.A_includedSystemOfQuantities_systemOfQuantities.systemOfQuantities.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="QUDV.A_quantityKind_measurementUnit" name="A_quantityKind_measurementUnit" memberEnd="QUDV.Unit.quantityKind QUDV.A_quantityKind_measurementUnit.measurementUnit"> + <generalization xmi:id="QUDV.A_quantityKind_measurementUnit._generalization.SysML.A_quantityKind_unit"> + <general xmi:type="uml:Association" href="SysML-Standard-Library.uml#SysML.A_quantityKind_unit"/> + </generalization> + <ownedEnd xmi:id="QUDV.A_quantityKind_measurementUnit.measurementUnit" name="measurementUnit" type="QUDV.Unit" association="QUDV.A_quantityKind_measurementUnit"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.A_quantityKind_measurementUnit.measurementUnit.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.A_quantityKind_measurementUnit.measurementUnit.upperValue0" value="*"/> + <redefinedProperty href="SysML-Standard-Library.uml#SysML.A_quantityKind_unit.unit"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="QUDV.A_conversionBasedUnit_referenceUnit" name="A_conversionBasedUnit_referenceUnit" memberEnd="QUDV.A_conversionBasedUnit_referenceUnit.conversionBasedUnit QUDV.ConversionBasedUnit.referenceUnit"> + <ownedEnd xmi:id="QUDV.A_conversionBasedUnit_referenceUnit.conversionBasedUnit" name="conversionBasedUnit" type="QUDV.ConversionBasedUnit" association="QUDV.A_conversionBasedUnit_referenceUnit"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.A_conversionBasedUnit_referenceUnit.conversionBasedUnit.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.A_conversionBasedUnit_referenceUnit.conversionBasedUnit.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="QUDV.SystemOfQuantities" name="SystemOfQuantities"> + <ownedRule xmi:id="QUDV.SystemOfQuantities._rule.includedSystemOfQuantities_transitivelyDisjoint_usedSystemOfQuantities" name="includedSystemOfQuantities_transitivelyDisjoint_usedSystemOfQuantities"> + <ownedComment xmi:id="QUDV.SystemOfQuantities._rule.includedSystemOfQuantities_transitivelyDisjoint_usedSystemOfQuantities._comment0"> + <body>For a QuantityKind to have a provenance to a single SystemOfQuantities, includedSystemsOfQuantities must be transitively disjoint with usedSystemsOfQuantities</body> + </ownedComment> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfQuantities._rule.includedSystemOfQuantities_transitivelyDisjoint_usedSystemOfQuantities.specification0"> + <language>OCL2.0</language> + <body>allIncludedSystemOfQuantities()-&gt;intersection(self.oclAsSet()-&gt;closure(usedSystemOfQuantities))-&gt;isEmpty()</body> + </specification> + </ownedRule> + <ownedRule xmi:id="QUDV.SystemOfQuantities._rule.acyclicProvenance" name="acyclicProvenance"> + <ownedComment xmi:id="QUDV.SystemOfQuantities._rule.acyclicProvenance._comment0"> + <body>For a QuantityKind to have a provenance to a single SystemOfQuantities, the use and includes relationships among SystemOfQuantities must be acyclic.</body> + </ownedComment> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfQuantities._rule.acyclicProvenance.specification0"> + <language>OCL2.0</language> + <body>allAccessibleSystemOfQuantities()-&gt;excludes(self)</body> + </specification> + </ownedRule> + <ownedRule xmi:id="QUDV.SystemOfQuantities._rule.singleProvenance" name="singleProvenance"> + <ownedComment xmi:id="QUDV.SystemOfQuantities._rule.singleProvenance._comment0"> + <body> Every QuantityKind must be defined in only one SystemOfQuantities but it can be in the scope of several SystemOfQuantities. A given QuantityKind is in scope of a SystemOfQuantities either because it is defined or used in a SystemOfQuantities or because it is included from the scope of another SystemOfQuantities. </body> + </ownedComment> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfQuantities._rule.singleProvenance.specification0"> + <language>OCL2.0</language> + <body>includedSystemOfQuantities-&gt;collect(allQuantityKinds())-&gt;intersection(quantityKind)-&gt;isEmpty()</body> + </specification> + </ownedRule> + <ownedRule xmi:id="QUDV.SystemOfQuantities._rule.allBaseQuantitiesAreQuantities" name="allBaseQuantitiesAreQuantities"> + <ownedComment xmi:id="QUDV.SystemOfQuantities._rule.allBaseQuantitiesAreQuantities._comment0"> + <body> The set of all QuantityKinds in a given SystemOfQuantities can be partitioned into two disjoint, covering subsets: the set of base QuantityKinds (typically chosen to be mutually independent) and all its complement, the set of derived QuantityKinds, each of which can be expressed in terms of the base QuantityKinds (See ISO 80000-1, 4.3). </body> + </ownedComment> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfQuantities._rule.allBaseQuantitiesAreQuantities.specification0"> + <language>OCL2.0</language> + <body>allQuantityKinds()-&gt;includesAll(allBaseQuantityKinds())</body> + </specification> + </ownedRule> + <ownedAttribute xmi:id="QUDV.SystemOfQuantities.baseQuantityKind" name="baseQuantityKind" type="QUDV.QuantityKind" isOrdered="true" subsettedProperty="QUDV.SystemOfQuantities.quantityKind" association="QUDV.A_systemOfQuantities_baseQuantityKind"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfQuantities.baseQuantityKind.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.SystemOfQuantities.baseQuantityKind.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.SystemOfQuantities.definitionURI" name="definitionURI"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfQuantities.definitionURI.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.SystemOfQuantities.description" name="description"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfQuantities.description.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.SystemOfQuantities.dimension" name="dimension" type="QUDV.Dimension" isOrdered="true" isUnique="false" isReadOnly="true" isDerived="true" association="QUDV.A_systemOfQuantities_dimension"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfQuantities.dimension.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.SystemOfQuantities.dimension.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.SystemOfQuantities.includedSystemOfQuantities" name="includedSystemOfQuantities" type="QUDV.SystemOfQuantities" association="QUDV.A_includedSystemOfQuantities_systemOfQuantities"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfQuantities.includedSystemOfQuantities.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.SystemOfQuantities.includedSystemOfQuantities.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.SystemOfQuantities.quantityKind" name="quantityKind" type="QUDV.QuantityKind" isOrdered="true" association="QUDV.A_systemOfQuantities_quantityKind"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfQuantities.quantityKind.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.SystemOfQuantities.quantityKind.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.SystemOfQuantities.symbol" name="symbol"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfQuantities.symbol.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.SystemOfQuantities.usedSystemOfQuantities" name="usedSystemOfQuantities" type="QUDV.SystemOfQuantities" association="QUDV.A_usedSystemOfQuantities_systemOfQuantities"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfQuantities.usedSystemOfQuantities.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.SystemOfQuantities.usedSystemOfQuantities.upperValue0" value="*"/> + </ownedAttribute> + <ownedOperation xmi:id="QUDV.SystemOfQuantities.allAccessibleQuantityKinds_QuantityKind" name="allAccessibleQuantityKinds" bodyCondition="QUDV.SystemOfQuantities.allAccessibleQuantityKinds_QuantityKind._rule.body" isQuery="true"> + <ownedComment xmi:id="QUDV.SystemOfQuantities.allAccessibleQuantityKinds_QuantityKind._comment0"> + <body>The query accessibleQuantityKinds() gives all the QuantityKinds directly defined in the SystemOfQuantities or transitively in any included or used SystemOfQuantities.</body> + </ownedComment> + <ownedRule xmi:id="QUDV.SystemOfQuantities.allAccessibleQuantityKinds_QuantityKind._rule.body" name="body" constrainedElement="QUDV.SystemOfQuantities.allAccessibleQuantityKinds_QuantityKind"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfQuantities.allAccessibleQuantityKinds_QuantityKind._rule.body.specification0"> + <language>OCL2.0</language> + <body>allAccessibleSystemOfQuantities()-&gt;collect(quantityKind)-&gt;flatten()-&gt;asSet()</body> + </specification> + </ownedRule> + <ownedParameter xmi:id="QUDV.SystemOfQuantities.allAccessibleQuantityKinds_QuantityKind.result" name="result" type="QUDV.QuantityKind" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfQuantities.allAccessibleQuantityKinds_QuantityKind.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.SystemOfQuantities.allAccessibleQuantityKinds_QuantityKind.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:id="QUDV.SystemOfQuantities.allAccessibleSystemOfQuantities_SystemOfQuantities" name="allAccessibleSystemOfQuantities" bodyCondition="QUDV.SystemOfQuantities.allAccessibleSystemOfQuantities_SystemOfQuantities._rule.body" isQuery="true"> + <ownedComment xmi:id="QUDV.SystemOfQuantities.allAccessibleSystemOfQuantities_SystemOfQuantities._comment0"> + <body>The query allAccessibleSystemOfQuantities() gives all the SystemOfQuantities directly or transitively included or used.</body> + </ownedComment> + <ownedRule xmi:id="QUDV.SystemOfQuantities.allAccessibleSystemOfQuantities_SystemOfQuantities._rule.body" name="body"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfQuantities.allAccessibleSystemOfQuantities_SystemOfQuantities._rule.body.specification0"> + <language>OCL2.0</language> + <body>self-&gt;closure(includedSystemOfQuantities-&gt;union(usedSystemOfQuantities))-&gt;asSet()</body> + </specification> + </ownedRule> + <ownedParameter xmi:id="QUDV.SystemOfQuantities.allAccessibleSystemOfQuantities_SystemOfQuantities.result" name="result" type="QUDV.SystemOfQuantities" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfQuantities.allAccessibleSystemOfQuantities_SystemOfQuantities.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.SystemOfQuantities.allAccessibleSystemOfQuantities_SystemOfQuantities.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:id="QUDV.SystemOfQuantities.allBaseQuantityKinds_QuantityKind" name="allBaseQuantityKinds" bodyCondition="QUDV.SystemOfQuantities.allBaseQuantityKinds_QuantityKind._rule.body" isQuery="true"> + <ownedComment xmi:id="QUDV.SystemOfQuantities.allBaseQuantityKinds_QuantityKind._comment0"> + <body>The query allBaseQuantityKinds() gives all the QuantityKinds directly adopted or transitively adopted from any included SystemOfQuantities as base QuantityKinds.</body> + </ownedComment> + <ownedRule xmi:id="QUDV.SystemOfQuantities.allBaseQuantityKinds_QuantityKind._rule.body" name="body" constrainedElement="QUDV.SystemOfQuantities.allBaseQuantityKinds_QuantityKind"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfQuantities.allBaseQuantityKinds_QuantityKind._rule.body.specification0"> + <language>OCL2.0</language> + <body>allIncludedSystemOfQuantities()-&gt;collect(baseQuantityKind)-&gt;flatten()-&gt;asSet()-&gt;union(baseQuantityKind)-&gt;asSet()</body> + </specification> + </ownedRule> + <ownedParameter xmi:id="QUDV.SystemOfQuantities.allBaseQuantityKinds_QuantityKind.result" name="result" type="QUDV.QuantityKind" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfQuantities.allBaseQuantityKinds_QuantityKind.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.SystemOfQuantities.allBaseQuantityKinds_QuantityKind.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:id="QUDV.SystemOfQuantities.allIncludedSystemOfQuantities_SystemOfQuantities" name="allIncludedSystemOfQuantities" bodyCondition="QUDV.SystemOfQuantities.allIncludedSystemOfQuantities_SystemOfQuantities._rule.body" isQuery="true"> + <ownedComment xmi:id="QUDV.SystemOfQuantities.allIncludedSystemOfQuantities_SystemOfQuantities._comment0"> + <body>The query allIncludedSystemOfQuantities() gives all the SystemOfQuantities directly or transitively included.</body> + </ownedComment> + <ownedRule xmi:id="QUDV.SystemOfQuantities.allIncludedSystemOfQuantities_SystemOfQuantities._rule.body" name="body"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfQuantities.allIncludedSystemOfQuantities_SystemOfQuantities._rule.body.specification0"> + <language>OCL2.0</language> + <body>self-&gt;closure(includedSystemOfQuantities)-&gt;asSet()</body> + </specification> + </ownedRule> + <ownedParameter xmi:id="QUDV.SystemOfQuantities.allIncludedSystemOfQuantities_SystemOfQuantities.result" name="result" type="QUDV.SystemOfQuantities" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfQuantities.allIncludedSystemOfQuantities_SystemOfQuantities.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.SystemOfQuantities.allIncludedSystemOfQuantities_SystemOfQuantities.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:id="QUDV.SystemOfQuantities.allQuantityKinds_QuantityKind" name="allQuantityKinds" bodyCondition="QUDV.SystemOfQuantities.allQuantityKinds_QuantityKind._rule.body" isQuery="true"> + <ownedComment xmi:id="QUDV.SystemOfQuantities.allQuantityKinds_QuantityKind._comment0"> + <body> The query allQuantityKinds() gives all the QuantityKinds in scope of a SystemOfQuantities; that is, each QuantityKind is either directly defined in the SystemOfQuantities, selectively used from another SystemOfQuantities or part of the scope of all the QuantityKinds included from another SystemOfQuantities. </body> + </ownedComment> + <ownedRule xmi:id="QUDV.SystemOfQuantities.allQuantityKinds_QuantityKind._rule.body" name="body" constrainedElement="QUDV.SystemOfQuantities.allQuantityKinds_QuantityKind"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfQuantities.allQuantityKinds_QuantityKind._rule.body.specification0"> + <language>OCL2.0</language> + <body>allIncludedSystemOfQuantities()-&gt;collect(quantityKind)-&gt;flatten()-&gt;asSet()-&gt;union(quantityKind)-&gt;asSet()</body> + </specification> + </ownedRule> + <ownedParameter xmi:id="QUDV.SystemOfQuantities.allQuantityKinds_QuantityKind.result" name="result" type="QUDV.QuantityKind" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfQuantities.allQuantityKinds_QuantityKind.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.SystemOfQuantities.allQuantityKinds_QuantityKind.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:id="QUDV.SystemOfQuantities.getDimension_QuantityKind_Dimension" name="getDimension"> + <ownedParameter xmi:id="QUDV.SystemOfQuantities.getDimension_QuantityKind_Dimension.qk" name="qk" type="QUDV.QuantityKind" effect="create"/> + <ownedParameter xmi:id="QUDV.SystemOfQuantities.getDimension_QuantityKind_Dimension.result" name="result" type="QUDV.Dimension" effect="create"/> + </ownedOperation> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="QUDV.UnitFactor" name="UnitFactor"> + <ownedAttribute xmi:id="QUDV.UnitFactor.exponent" name="exponent" type="QUDV_dataType.Rational"/> + <ownedAttribute xmi:id="QUDV.UnitFactor.unit" name="unit" type="QUDV.Unit" association="QUDV.A_unitFactor_unit"/> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="QUDV.A_derivedUnit_factor" name="A_derivedUnit_factor" memberEnd="QUDV.A_derivedUnit_factor.derivedUnit QUDV.DerivedUnit.factor"> + <ownedEnd xmi:id="QUDV.A_derivedUnit_factor.derivedUnit" name="derivedUnit" type="QUDV.DerivedUnit" association="QUDV.A_derivedUnit_factor"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="QUDV.AffineConversionUnit" name="AffineConversionUnit"> + <ownedRule xmi:id="QUDV.AffineConversionUnit._rule.invertible" name="invertible"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.AffineConversionUnit._rule.invertible.specification0"> + <language>OCL2.0</language> + <body>isInvertible</body> + <body>=</body> + <body>true</body> + </specification> + </ownedRule> + <generalization xmi:id="QUDV.AffineConversionUnit._generalization.QUDV.ConversionBasedUnit" general="QUDV.ConversionBasedUnit"/> + <ownedAttribute xmi:id="QUDV.AffineConversionUnit.factor" name="factor"> + <type xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML_dataType.Number"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.AffineConversionUnit.offset" name="offset"> + <type xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML_dataType.Number"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="QUDV.Dimension" name="Dimension"> + <ownedAttribute xmi:id="QUDV.Dimension.factor" name="factor" type="QUDV.QuantityKindFactor" isOrdered="true" association="QUDV.A_dimension_factor"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.Dimension.factor.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.Dimension.factor.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.Dimension.symbolicExpression" name="symbolicExpression"> + <ownedComment xmi:id="QUDV.Dimension.symbolicExpression._comment0"> + <body>Symbolic expression of the quantity dimension's product of powers, in terms of symbols of the kinds of quantity that represent the base kinds of quantity and their exponents. In tool implementations, the symbolicExpression may automatically derived from the associated factor set.</body> + </ownedComment> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.Dimension.symbolicExpression.lowerValue0"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="QUDV.A_systemOfQuantities_quantityKind" name="A_systemOfQuantities_quantityKind" memberEnd="QUDV.A_systemOfQuantities_quantityKind.systemOfQuantities QUDV.SystemOfQuantities.quantityKind"> + <ownedEnd xmi:id="QUDV.A_systemOfQuantities_quantityKind.systemOfQuantities" name="systemOfQuantities" type="QUDV.SystemOfQuantities" association="QUDV.A_systemOfQuantities_quantityKind"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.A_systemOfQuantities_quantityKind.systemOfQuantities.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.A_systemOfQuantities_quantityKind.systemOfQuantities.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="QUDV.SystemOfUnits" name="SystemOfUnits"> + <ownedRule xmi:id="QUDV.SystemOfUnits._rule.SoU3_3" name="SoU3_3"> + <ownedComment xmi:id="QUDV.SystemOfUnits._rule.SoU3_3._comment0"> + <body>All of the quantityKinds that are measurementUnits of Units in the SystemOfUnits are defined in the systemOfQuantities of that SystemOfUnits.</body> + </ownedComment> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfUnits._rule.SoU3_3.specification0"> + <language>OCL2.0</language> + <body>getEffectiveSystemOfQuantities()</body> + <body>=</body> + <body>null</body> + <body>or</body> + <body>let</body> + <body>aqk</body> + <body>:</body> + <body>Set(QuantityKind)</body> + <body>=</body> + <body>getEffectiveSystemOfQuantities().allQuantityKinds()</body> + <body>in</body> + <body>allUnits()-&gt;forAll(u</body> + <body>|</body> + <body>aqk-&gt;includesAll(getKindOfQuantitiesForMeasurementUnit(u)))</body> + </specification> + </ownedRule> + <ownedRule xmi:id="QUDV.SystemOfUnits._rule.systemOfQuantitiesIncludesAllUnitsQuantityKinds" name="systemOfQuantitiesIncludesAllUnitsQuantityKinds"> + <ownedComment xmi:id="QUDV.SystemOfUnits._rule.systemOfQuantitiesIncludesAllUnitsQuantityKinds._comment0"> + <body>For a Unit to have a provenance to a single SystemOfUnits, includedSystemsOfUnits must be transitively disjoint with usedSystemsOfUnits.</body> + </ownedComment> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfUnits._rule.systemOfQuantitiesIncludesAllUnitsQuantityKinds.specification0"> + <language>OCL2.0</language> + <body>let</body> + <body>aqks</body> + <body>:</body> + <body>Set(QuantityKind)</body> + <body>=</body> + <body>getEffectiveSystemOfQuantities().allQuantityKinds()</body> + <body>in</body> + <body>allUnits()-&gt;forAll(u</body> + <body>|</body> + <body>getKindOfQuantitiesForMeasurementUnit(u)-&gt;intersection(aqks)-&gt;notEmpty())</body> + </specification> + </ownedRule> + <ownedRule xmi:id="QUDV.SystemOfUnits._rule.SoU3_2" name="SoU3_2"> + <ownedComment xmi:id="QUDV.SystemOfUnits._rule.SoU3_2._comment0"> + <body>All the dependent Units of a SystemOfUnits must be in the scope of that SystemOfUnits.</body> + </ownedComment> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfUnits._rule.SoU3_2.specification0"> + <language>OCL2.0</language> + <body>allUnits()-&gt;includesAll(allUnits()-&gt;collect(dependsOnUnits())-&gt;flatten()-&gt;asSet())</body> + </specification> + </ownedRule> + <ownedRule xmi:id="QUDV.SystemOfUnits._rule.singleProvenance" name="singleProvenance"> + <ownedComment xmi:id="QUDV.SystemOfUnits._rule.singleProvenance._comment0"> + <body>Every Unit must be defined in only one SystemOfUnits but it can be in the scope of several SystemOfUnits. A given Unit is in scope of a SystemOfUnits either because it is defined or used in a SystemOfUnits or because it is included from the scope of another SystemOfUnits.</body> + </ownedComment> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfUnits._rule.singleProvenance.specification0"> + <language>OCL2.0</language> + <body>includedSystemOfUnits-&gt;collect(allUnits())-&gt;intersection(unit)-&gt;isEmpty()</body> + </specification> + </ownedRule> + <ownedRule xmi:id="QUDV.SystemOfUnits._rule.allBaseUnitsAreUnits" name="allBaseUnitsAreUnits"> + <ownedComment xmi:id="QUDV.SystemOfUnits._rule.allBaseUnitsAreUnits._comment0"> + <body> The set of all Units in a given SystemOfUnits can be partitioned into two disjoint, covering subsets: the set of base Units (typically chosen to be mutually independent) and all its complement, the set of derived Units, each of which can be expressed in terms of the base Units (See ISO 80000-1, 6.4). </body> + </ownedComment> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfUnits._rule.allBaseUnitsAreUnits.specification0"> + <language>OCL2.0</language> + <body>allUnits()-&gt;includesAll(allBaseUnits())</body> + </specification> + </ownedRule> + <ownedRule xmi:id="QUDV.SystemOfUnits._rule.includedSystemOfUnits_transitivelyDisjoint_usedSystemOfUnits" name="includedSystemOfUnits_transitivelyDisjoint_usedSystemOfUnits"> + <ownedComment xmi:id="QUDV.SystemOfUnits._rule.includedSystemOfUnits_transitivelyDisjoint_usedSystemOfUnits._comment0"> + <body>For a Unit to have a provenance to a single SystemOfUnits, all included systems of units must be transitively disjoint with all used systems of units.</body> + </ownedComment> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfUnits._rule.includedSystemOfUnits_transitivelyDisjoint_usedSystemOfUnits.specification0"> + <language>OCL2.0</language> + <body>allIncludedSystemOfUnits()-&gt;intersection(self.oclAsSet()-&gt;closure(usedSystemOfUnits))-&gt;isEmpty()</body> + </specification> + </ownedRule> + <ownedRule xmi:id="QUDV.SystemOfUnits._rule.SoU3_1" name="SoU3_1"> + <ownedComment xmi:id="QUDV.SystemOfUnits._rule.SoU3_1._comment0"> + <body>In a well-formed SystemOfUnits, all of the prefixes of PrefixedUnits are defined in the SystemOfUnits.</body> + </ownedComment> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfUnits._rule.SoU3_1.specification0"> + <language>OCL2.0</language> + <body>allPrefixes()-&gt;includesAll(allUnits()-&gt;select(oclIsTypeOf(PrefixedUnit))-&gt;collect(oclAsType(PrefixedUnit).prefix))</body> + </specification> + </ownedRule> + <ownedRule xmi:id="QUDV.SystemOfUnits._rule.acyclicProvenance" name="acyclicProvenance"> + <ownedComment xmi:id="QUDV.SystemOfUnits._rule.acyclicProvenance._comment0"> + <body>For a Unit to have a provenance to a single SystemOfUnits, the use and includes relationships among SystemOfUnits must be acyclic.</body> + </ownedComment> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfUnits._rule.acyclicProvenance.specification0"> + <language>OCL2.0</language> + <body>allAccessibleSystemOfUnits()-&gt;excludes(self)</body> + </specification> + </ownedRule> + <ownedAttribute xmi:id="QUDV.SystemOfUnits.baseUnit" name="baseUnit" type="QUDV.Unit" isOrdered="true" subsettedProperty="QUDV.SystemOfUnits.unit" association="QUDV.A_systemOfUnits_baseUnit"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfUnits.baseUnit.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.SystemOfUnits.baseUnit.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.SystemOfUnits.definitionURI" name="definitionURI"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfUnits.definitionURI.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.SystemOfUnits.description" name="description"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfUnits.description.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.SystemOfUnits.includedSystemOfUnits" name="includedSystemOfUnits" type="QUDV.SystemOfUnits" association="QUDV.A_includedSystemOfUnits_systemOfUnits"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfUnits.includedSystemOfUnits.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.SystemOfUnits.includedSystemOfUnits.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.SystemOfUnits.prefix" name="prefix" type="QUDV.Prefix" isOrdered="true" association="QUDV.A_systemOfUnits_prefix"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfUnits.prefix.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.SystemOfUnits.prefix.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.SystemOfUnits.symbol" name="symbol"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfUnits.symbol.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.SystemOfUnits.systemOfQuantities" name="systemOfQuantities" type="QUDV.SystemOfQuantities" association="QUDV.A_systemOfUnits_systemOfQuantities"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfUnits.systemOfQuantities.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.SystemOfUnits.unit" name="unit" type="QUDV.Unit" isOrdered="true" association="QUDV.A_systemOfUnits_unit"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfUnits.unit.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.SystemOfUnits.unit.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.SystemOfUnits.usedSystemOfUnits" name="usedSystemOfUnits" type="QUDV.SystemOfUnits" association="QUDV.A_usedSystemOfUnits_systemOfUnits"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfUnits.usedSystemOfUnits.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.SystemOfUnits.usedSystemOfUnits.upperValue0" value="*"/> + </ownedAttribute> + <ownedOperation xmi:id="QUDV.SystemOfUnits.allAccessibleSystemOfUnits_SystemOfUnits" name="allAccessibleSystemOfUnits" bodyCondition="QUDV.SystemOfUnits.allAccessibleSystemOfUnits_SystemOfUnits._rule.body" isQuery="true"> + <ownedComment xmi:id="QUDV.SystemOfUnits.allAccessibleSystemOfUnits_SystemOfUnits._comment0"> + <body>The query allAccessibleSystemOfUnits() gives all the SystemOfUnits directly or transitively included or used.</body> + </ownedComment> + <ownedRule xmi:id="QUDV.SystemOfUnits.allAccessibleSystemOfUnits_SystemOfUnits._rule.body" name="body"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfUnits.allAccessibleSystemOfUnits_SystemOfUnits._rule.body.specification0"> + <language>OCL2.0</language> + <body>self-&gt;closure(includedSystemOfUnits-&gt;union(usedSystemOfUnits))-&gt;asSet()</body> + </specification> + </ownedRule> + <ownedParameter xmi:id="QUDV.SystemOfUnits.allAccessibleSystemOfUnits_SystemOfUnits.result" name="result" type="QUDV.SystemOfUnits" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfUnits.allAccessibleSystemOfUnits_SystemOfUnits.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.SystemOfUnits.allAccessibleSystemOfUnits_SystemOfUnits.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:id="QUDV.SystemOfUnits.allAccessibleUnits_Unit" name="allAccessibleUnits" bodyCondition="QUDV.SystemOfUnits.allAccessibleUnits_Unit._rule.body" isQuery="true"> + <ownedComment xmi:id="QUDV.SystemOfUnits.allAccessibleUnits_Unit._comment0"> + <body>The query accessibleUnits() gives all the Units directly defined in a SystemOfUnits or transitively in any included or used SystemOfUnits.</body> + </ownedComment> + <ownedRule xmi:id="QUDV.SystemOfUnits.allAccessibleUnits_Unit._rule.body" name="body" constrainedElement="QUDV.SystemOfUnits.allAccessibleUnits_Unit"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfUnits.allAccessibleUnits_Unit._rule.body.specification0"> + <language>OCL2.0</language> + <body>allAccessibleSystemOfUnits()-&gt;collect(unit)-&gt;flatten()-&gt;asSet()</body> + </specification> + </ownedRule> + <ownedParameter xmi:id="QUDV.SystemOfUnits.allAccessibleUnits_Unit.result" name="result" type="QUDV.Unit" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfUnits.allAccessibleUnits_Unit.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.SystemOfUnits.allAccessibleUnits_Unit.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:id="QUDV.SystemOfUnits.allBaseQuantityKinds_QuantityKind" name="allBaseQuantityKinds" isQuery="true"> + <ownedComment xmi:id="QUDV.SystemOfUnits.allBaseQuantityKinds_QuantityKind._comment0"> + <body>The query allBaseQuantityKinds() gives all the QuantityKinds directly adopted or transitively adopted from any included SystemOfQuantities as base QuantityKinds in the effective SystemOfQuantities associated to a SystemOfUnits.</body> + </ownedComment> + <ownedRule xmi:id="QUDV.SystemOfUnits.allBaseQuantityKinds_QuantityKind._rule.result" name="result"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfUnits.allBaseQuantityKinds_QuantityKind._rule.result.specification0"> + <language>OCL2.0</language> + <body>getEffectiveSystemOfQuantities().allBaseQuantityKinds()-&gt;flatten()-&gt;asSet()</body> + </specification> + </ownedRule> + <ownedParameter xmi:id="QUDV.SystemOfUnits.allBaseQuantityKinds_QuantityKind.result" name="result" type="QUDV.QuantityKind" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfUnits.allBaseQuantityKinds_QuantityKind.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.SystemOfUnits.allBaseQuantityKinds_QuantityKind.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:id="QUDV.SystemOfUnits.allBaseUnits_Unit" name="allBaseUnits" bodyCondition="QUDV.SystemOfUnits.allBaseUnits_Unit._rule.body" isQuery="true"> + <ownedComment xmi:id="QUDV.SystemOfUnits.allBaseUnits_Unit._comment0"> + <body>The query allBaseUnits() gives all the Units directly adopted or transitively adopted from any included SystemOfUnits as base Units.</body> + </ownedComment> + <ownedRule xmi:id="QUDV.SystemOfUnits.allBaseUnits_Unit._rule.body" name="body" constrainedElement="QUDV.SystemOfUnits.allBaseUnits_Unit"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfUnits.allBaseUnits_Unit._rule.body.specification0"> + <language>OCL2.0</language> + <body>allIncludedSystemOfUnits()-&gt;collect(baseUnit)-&gt;flatten()-&gt;asSet()-&gt;union(baseUnit)-&gt;asSet()</body> + </specification> + </ownedRule> + <ownedParameter xmi:id="QUDV.SystemOfUnits.allBaseUnits_Unit.result" name="result" type="QUDV.Unit" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfUnits.allBaseUnits_Unit.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.SystemOfUnits.allBaseUnits_Unit.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:id="QUDV.SystemOfUnits.allIncludedSystemOfUnits_SystemOfUnits" name="allIncludedSystemOfUnits" bodyCondition="QUDV.SystemOfUnits.allIncludedSystemOfUnits_SystemOfUnits._rule.body" isQuery="true"> + <ownedComment xmi:id="QUDV.SystemOfUnits.allIncludedSystemOfUnits_SystemOfUnits._comment0"> + <body>The query allIncludedSystemOfUnits() gives all the SystemOfUnits directly or transitively included.</body> + </ownedComment> + <ownedRule xmi:id="QUDV.SystemOfUnits.allIncludedSystemOfUnits_SystemOfUnits._rule.body" name="body"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfUnits.allIncludedSystemOfUnits_SystemOfUnits._rule.body.specification0"> + <language>OCL2.0</language> + <body>self-&gt;closure(includedSystemOfUnits-&gt;union(usedSystemOfUnits))-&gt;asSet()</body> + </specification> + </ownedRule> + <ownedParameter xmi:id="QUDV.SystemOfUnits.allIncludedSystemOfUnits_SystemOfUnits.result" name="result" type="QUDV.SystemOfUnits" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfUnits.allIncludedSystemOfUnits_SystemOfUnits.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.SystemOfUnits.allIncludedSystemOfUnits_SystemOfUnits.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:id="QUDV.SystemOfUnits.allMeasurementUnitsDefinedForSomeQuantityKind_Boolean" name="allMeasurementUnitsDefinedForSomeQuantityKind" bodyCondition="QUDV.SystemOfUnits.allMeasurementUnitsDefinedForSomeQuantityKind_Boolean._rule.body" isQuery="true"> + <ownedComment xmi:id="QUDV.SystemOfUnits.allMeasurementUnitsDefinedForSomeQuantityKind_Boolean._comment0"> + <body>The predicate allMeasurementUnitsDefinedForSomeQuantityKind() determines whether, in a SystemOfUnits, every Unit must be defined, by convention, as a multiplicable reference for at least one QuantityKind (see ISO 80000-1, 3.9).</body> + </ownedComment> + <ownedRule xmi:id="QUDV.SystemOfUnits.allMeasurementUnitsDefinedForSomeQuantityKind_Boolean._rule.body" name="body"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfUnits.allMeasurementUnitsDefinedForSomeQuantityKind_Boolean._rule.body.specification0"> + <language>OCL2.0</language> + <body>allUnits()-&gt;forAll(quantityKind</body> + <body>&lt;&gt;</body> + <body>null)</body> + </specification> + </ownedRule> + <ownedParameter xmi:id="QUDV.SystemOfUnits.allMeasurementUnitsDefinedForSomeQuantityKind_Boolean.result" name="result" effect="create"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:id="QUDV.SystemOfUnits.allPrefixes_Prefix" name="allPrefixes" bodyCondition="QUDV.SystemOfUnits.allPrefixes_Prefix._rule.body" isQuery="true"> + <ownedComment xmi:id="QUDV.SystemOfUnits.allPrefixes_Prefix._comment0"> + <body>The query allPrefixes() gives all the Prefixes in scope of a SystemOfUnits; that is, each Prefix is either directly defined in the SystemOfUnits or in any accessible SystemOfUnits.</body> + </ownedComment> + <ownedRule xmi:id="QUDV.SystemOfUnits.allPrefixes_Prefix._rule.body" name="body"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfUnits.allPrefixes_Prefix._rule.body.specification0"> + <language>OCL2.0</language> + <body>allAccessibleSystemOfUnits()-&gt;including(self)-&gt;collect(prefix)-&gt;flatten()-&gt;asSet()</body> + </specification> + </ownedRule> + <ownedParameter xmi:id="QUDV.SystemOfUnits.allPrefixes_Prefix.result" name="result" type="QUDV.Prefix" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfUnits.allPrefixes_Prefix.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.SystemOfUnits.allPrefixes_Prefix.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:id="QUDV.SystemOfUnits.allUnits_Unit" name="allUnits" bodyCondition="QUDV.SystemOfUnits.allUnits_Unit._rule.body" isQuery="true"> + <ownedComment xmi:id="QUDV.SystemOfUnits.allUnits_Unit._comment0"> + <body>The query allUnits() gives all the Units in scope of a SystemOfUnits; that is, each Unit is either directly defined in the SystemOfUnits, selectively used from another SystemOfUnits or part of the scope of all the Units included from another SystemOfUnits.</body> + </ownedComment> + <ownedRule xmi:id="QUDV.SystemOfUnits.allUnits_Unit._rule.body" name="body" constrainedElement="QUDV.SystemOfUnits.allUnits_Unit"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfUnits.allUnits_Unit._rule.body.specification0"> + <language>OCL2.0</language> + <body>allIncludedSystemOfUnits()-&gt;collect(unit)-&gt;flatten()-&gt;asSet()-&gt;union(unit)-&gt;asSet()</body> + </specification> + </ownedRule> + <ownedParameter xmi:id="QUDV.SystemOfUnits.allUnits_Unit.result" name="result" type="QUDV.Unit" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfUnits.allUnits_Unit.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.SystemOfUnits.allUnits_Unit.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:id="QUDV.SystemOfUnits.getAdoptedBaseUnitForMeasurementUnit_Unit_Unit" name="getAdoptedBaseUnitForMeasurementUnit" bodyCondition="QUDV.SystemOfUnits.getAdoptedBaseUnitForMeasurementUnit_Unit_Unit._rule.body" isQuery="true"> + <ownedComment xmi:id="QUDV.SystemOfUnits.getAdoptedBaseUnitForMeasurementUnit_Unit_Unit._comment0"> + <body>The query getAdoptedBaseUnitForMeasurementUnit() determines for a Unit u in scope of a SystemOfUnits the base Unit, if any, corresponding to u, which can be u itself if it is a baseUnit in that SystemOfUnits or its reference Unit if it is a base Unit and u is a PrefixUnit.</body> + </ownedComment> + <ownedRule xmi:id="QUDV.SystemOfUnits.getAdoptedBaseUnitForMeasurementUnit_Unit_Unit._rule.body" name="body"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfUnits.getAdoptedBaseUnitForMeasurementUnit_Unit_Unit._rule.body.specification0"> + <language>OCL2.0</language> + <body>let</body> + <body>abu</body> + <body>:</body> + <body>Set(Unit)</body> + <body>=</body> + <body>allBaseUnits()</body> + <body>in</body> + <body>if</body> + <body>(abu-&gt;includes(u))</body> + <body>then</body> + <body>u</body> + <body>else</body> + <body>if</body> + <body>(u.oclIsKindOf(PrefixedUnit))</body> + <body>then</body> + <body>abu-&gt;intersection(u.oclAsType(PrefixedUnit).referenceUnit-&gt;asSet())-&gt;any(true)</body> + <body>else</body> + <body>null</body> + <body>endif</body> + <body>endif</body> + </specification> + </ownedRule> + <ownedParameter xmi:id="QUDV.SystemOfUnits.getAdoptedBaseUnitForMeasurementUnit_Unit_Unit.result" name="result" type="QUDV.Unit" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfUnits.getAdoptedBaseUnitForMeasurementUnit_Unit_Unit.result.lowerValue0"/> + </ownedParameter> + <ownedParameter xmi:id="QUDV.SystemOfUnits.getAdoptedBaseUnitForMeasurementUnit_Unit_Unit.u" name="u" type="QUDV.Unit" effect="create"/> + </ownedOperation> + <ownedOperation xmi:id="QUDV.SystemOfUnits.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit" name="getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit" bodyCondition="QUDV.SystemOfUnits.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit._rule.body" isQuery="true" postcondition="QUDV.SystemOfUnits.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit._rule.knownPrimaryQuantityKind" precondition="QUDV.SystemOfUnits.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit._rule.baseUnitParameter"> + <ownedComment xmi:id="QUDV.SystemOfUnits.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit._comment0"> + <body>The query getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit() determines for a Unit u in scope of a SystemOfUnits the base QuantityKind, if any, corresponding to the base Unit of u.</body> + </ownedComment> + <ownedRule xmi:id="QUDV.SystemOfUnits.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit._rule.body" name="body" constrainedElement="QUDV.SystemOfUnits.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfUnits.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit._rule.body.specification0"> + <language>OCL2.0</language> + <body>let</body> + <body>bu</body> + <body>:</body> + <body>Unit</body> + <body>=</body> + <body>getAdoptedBaseUnitForMeasurementUnit(u)</body> + <body>in</body> + <body>if</body> + <body>(bu</body> + <body>=</body> + <body>null)</body> + <body>then</body> + <body>Set{}</body> + <body>else</body> + <body>let</body> + <body>qks</body> + <body>:</body> + <body>Set(QuantityKind)</body> + <body>=</body> + <body>getKindOfQuantitiesForMeasurementUnit(bu)</body> + <body>in</body> + <body>allBaseQuantityKinds()-&gt;intersection(qks)</body> + <body>endif</body> + </specification> + </ownedRule> + <ownedRule xmi:id="QUDV.SystemOfUnits.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit._rule.knownPrimaryQuantityKind" name="knownPrimaryQuantityKind" constrainedElement="QUDV.SystemOfUnits.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfUnits.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit._rule.knownPrimaryQuantityKind.specification0"> + <language>OCL2.0</language> + <body>getEffectiveSystemOfQuantities().allBaseQuantityKinds()-&gt;includesAll(result)</body> + </specification> + </ownedRule> + <ownedRule xmi:id="QUDV.SystemOfUnits.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit._rule.baseUnitParameter" name="baseUnitParameter"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfUnits.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit._rule.baseUnitParameter.specification0"> + <language>OCL2.0</language> + <body>allBaseUnits()-&gt;includes(u)</body> + </specification> + </ownedRule> + <ownedParameter xmi:id="QUDV.SystemOfUnits.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit.result" name="result" type="QUDV.QuantityKind" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfUnits.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.SystemOfUnits.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit.result.upperValue0" value="*"/> + </ownedParameter> + <ownedParameter xmi:id="QUDV.SystemOfUnits.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit.u" name="u" type="QUDV.Unit" effect="create"/> + </ownedOperation> + <ownedOperation xmi:id="QUDV.SystemOfUnits.getEffectiveSystemOfQuantities_SystemOfQuantities" name="getEffectiveSystemOfQuantities" bodyCondition="QUDV.SystemOfUnits.getEffectiveSystemOfQuantities_SystemOfQuantities._rule.body" isQuery="true" precondition="QUDV.SystemOfUnits.getEffectiveSystemOfQuantities_SystemOfQuantities._rule.atMostOneSystemOfQuantities"> + <ownedComment xmi:id="QUDV.SystemOfUnits.getEffectiveSystemOfQuantities_SystemOfQuantities._comment0"> + <body>The query getEffectiveSystemOfQuantities() determines for a SystemOfUnits the SystemOfQuantities, if any, that it is directly or indirectly associated with via included SystemOfUnits.</body> + </ownedComment> + <ownedRule xmi:id="QUDV.SystemOfUnits.getEffectiveSystemOfQuantities_SystemOfQuantities._rule.body" name="body" constrainedElement="QUDV.SystemOfUnits.getEffectiveSystemOfQuantities_SystemOfQuantities"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfUnits.getEffectiveSystemOfQuantities_SystemOfQuantities._rule.body.specification0"> + <language>OCL2.0</language> + <body>if</body> + <body>systemOfQuantities</body> + <body>=</body> + <body>null</body> + <body>then</body> + <body>includedSystemOfUnits-&gt;collect(getEffectiveSystemOfQuantities())-&gt;flatten()-&gt;asSet()-&gt;any(true)</body> + <body>else</body> + <body>systemOfQuantities</body> + <body>endif</body> + </specification> + </ownedRule> + <ownedRule xmi:id="QUDV.SystemOfUnits.getEffectiveSystemOfQuantities_SystemOfQuantities._rule.atMostOneSystemOfQuantities" name="atMostOneSystemOfQuantities" constrainedElement="QUDV.SystemOfUnits.getEffectiveSystemOfQuantities_SystemOfQuantities"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfUnits.getEffectiveSystemOfQuantities_SystemOfQuantities._rule.atMostOneSystemOfQuantities.specification0"> + <language>OCL2.0</language> + <body>systemOfQuantities</body> + <body>=</body> + <body>null</body> + <body>implies</body> + <body>includedSystemOfUnits-&gt;collect(getEffectiveSystemOfQuantities())-&gt;asSet()-&gt;size()</body> + <body>&lt;=</body> + <body>1</body> + </specification> + </ownedRule> + <ownedParameter xmi:id="QUDV.SystemOfUnits.getEffectiveSystemOfQuantities_SystemOfQuantities.result" name="result" type="QUDV.SystemOfQuantities" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfUnits.getEffectiveSystemOfQuantities_SystemOfQuantities.result.lowerValue0"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:id="QUDV.SystemOfUnits.getKindOfQuantitiesForMeasurementUnit_QuantityKind_Unit" name="getKindOfQuantitiesForMeasurementUnit" bodyCondition="QUDV.SystemOfUnits.getKindOfQuantitiesForMeasurementUnit_QuantityKind_Unit._rule.body" isQuery="true"> + <ownedComment xmi:id="QUDV.SystemOfUnits.getKindOfQuantitiesForMeasurementUnit_QuantityKind_Unit._comment0"> + <body>The query getKindOfQuantitiesForMeasurementUnit() determines for a Unit u in scope of a SystemOfUnits the set of QuantityKinds corresponding to u, if specified, or to the Units that u is defined in terms of, if any.</body> + </ownedComment> + <ownedRule xmi:id="QUDV.SystemOfUnits.getKindOfQuantitiesForMeasurementUnit_QuantityKind_Unit._rule.body" name="body"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfUnits.getKindOfQuantitiesForMeasurementUnit_QuantityKind_Unit._rule.body.specification0"> + <language>OCL2.0</language> + <body>if</body> + <body>(u.oclIsKindOf(SimpleUnit))</body> + <body>then</body> + <body>u.quantityKind-&gt;collect(oclAsType(QuantityKind))-&gt;asSet()</body> + <body>else</body> + <body>if</body> + <body>(u.oclIsKindOf(DerivedUnit))</body> + <body>then</body> + <body>let</body> + <body>du</body> + <body>:</body> + <body>DerivedUnit</body> + <body>=</body> + <body>u.oclAsType(DerivedUnit)</body> + <body>in</body> + <body>if</body> + <body>(du.quantityKind</body> + <body>&lt;&gt;</body> + <body>null)</body> + <body>then</body> + <body>du.quantityKind-&gt;collect(oclAsType(QuantityKind))-&gt;asSet()</body> + <body>else</body> + <body>getKindOfQuantitiesForMeasurementUnit(du.factor-&gt;any(true).unit)</body> + <body>endif</body> + <body>else</body> + <body>if</body> + <body>(u.oclIsKindOf(ConversionBasedUnit))</body> + <body>then</body> + <body>let</body> + <body>cu</body> + <body>:</body> + <body>ConversionBasedUnit</body> + <body>=</body> + <body>u.oclAsType(ConversionBasedUnit)</body> + <body>in</body> + <body>if</body> + <body>(cu.oclIsKindOf(PrefixedUnit))</body> + <body>then</body> + <body>getKindOfQuantitiesForMeasurementUnit(cu.referenceUnit)</body> + <body>else</body> + <body>if</body> + <body>(cu.quantityKind</body> + <body>&lt;&gt;</body> + <body>null)</body> + <body>then</body> + <body>cu.quantityKind-&gt;collect(oclAsType(QuantityKind))-&gt;asSet()</body> + <body>else</body> + <body>getKindOfQuantitiesForMeasurementUnit(cu.referenceUnit)</body> + <body>endif</body> + <body>endif</body> + <body>else</body> + <body>Set(QuantityKind){}</body> + <body>endif</body> + <body>endif</body> + <body>endif</body> + </specification> + </ownedRule> + <ownedParameter xmi:id="QUDV.SystemOfUnits.getKindOfQuantitiesForMeasurementUnit_QuantityKind_Unit.result" name="result" type="QUDV.QuantityKind" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfUnits.getKindOfQuantitiesForMeasurementUnit_QuantityKind_Unit.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.SystemOfUnits.getKindOfQuantitiesForMeasurementUnit_QuantityKind_Unit.result.upperValue0" value="*"/> + </ownedParameter> + <ownedParameter xmi:id="QUDV.SystemOfUnits.getKindOfQuantitiesForMeasurementUnit_QuantityKind_Unit.u" name="u" type="QUDV.Unit" effect="create"/> + </ownedOperation> + <ownedOperation xmi:id="QUDV.SystemOfUnits.getUnit_String_Unit" name="getUnit" bodyCondition="QUDV.SystemOfUnits.getUnit_String_Unit._rule.body"> + <ownedRule xmi:id="QUDV.SystemOfUnits.getUnit_String_Unit._rule.body" name="body"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SystemOfUnits.getUnit_String_Unit._rule.body.specification0"> + <language>OCL2.0</language> + <body>allUnits()-&gt;select(u</body> + <body>|</body> + <body>u.name</body> + <body>=</body> + <body>name)-&gt;any(true)</body> + </specification> + </ownedRule> + <ownedParameter xmi:id="QUDV.SystemOfUnits.getUnit_String_Unit.name" name="name" effect="create"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + </ownedParameter> + <ownedParameter xmi:id="QUDV.SystemOfUnits.getUnit_String_Unit.result" name="result" type="QUDV.Unit" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SystemOfUnits.getUnit_String_Unit.result.lowerValue0"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:id="QUDV.SystemOfUnits.isCoherent_Boolean" name="isCoherent"> + <ownedParameter xmi:id="QUDV.SystemOfUnits.isCoherent_Boolean.result" name="result" effect="create"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:id="QUDV.SystemOfUnits.isCoherent_DerivedUnit_Boolean" name="isCoherent"> + <ownedParameter xmi:id="QUDV.SystemOfUnits.isCoherent_DerivedUnit_Boolean.du" name="du" type="QUDV.DerivedUnit" effect="create"/> + <ownedParameter xmi:id="QUDV.SystemOfUnits.isCoherent_DerivedUnit_Boolean.result" name="result" effect="create"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> + </ownedParameter> + </ownedOperation> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="QUDV.A_dimension_factor" name="A_dimension_factor" memberEnd="QUDV.A_dimension_factor.dimension QUDV.Dimension.factor"> + <ownedEnd xmi:id="QUDV.A_dimension_factor.dimension" name="dimension" type="QUDV.Dimension" association="QUDV.A_dimension_factor"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.A_dimension_factor.dimension.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.A_dimension_factor.dimension.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="QUDV.SimpleQuantityKind" name="SimpleQuantityKind"> + <generalization xmi:id="QUDV.SimpleQuantityKind._generalization.QUDV.QuantityKind" general="QUDV.QuantityKind"/> + <ownedOperation xmi:id="QUDV.SimpleQuantityKind.dependsOnQuantityKinds_QuantityKind" name="dependsOnQuantityKinds" bodyCondition="QUDV.SimpleQuantityKind.dependsOnQuantityKinds_QuantityKind._rule.body" isQuery="true"> + <ownedComment xmi:id="QUDV.SimpleQuantityKind.dependsOnQuantityKinds_QuantityKind._comment0"> + <body>A SimpleQuantityKind does not depend on any other QuantityKind.</body> + </ownedComment> + <ownedRule xmi:id="QUDV.SimpleQuantityKind.dependsOnQuantityKinds_QuantityKind._rule.body" name="body" constrainedElement="QUDV.SimpleQuantityKind.dependsOnQuantityKinds_QuantityKind"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SimpleQuantityKind.dependsOnQuantityKinds_QuantityKind._rule.body.specification0"> + <language>OCL2.0</language> + <body>Set(QuantityKind){}</body> + </specification> + </ownedRule> + <ownedParameter xmi:id="QUDV.SimpleQuantityKind.dependsOnQuantityKinds_QuantityKind.result" name="result" type="QUDV.QuantityKind" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SimpleQuantityKind.dependsOnQuantityKinds_QuantityKind.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.SimpleQuantityKind.dependsOnQuantityKinds_QuantityKind.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="QUDV.A_unitFactor_unit" name="A_unitFactor_unit" memberEnd="QUDV.A_unitFactor_unit.unitFactor QUDV.UnitFactor.unit"> + <ownedEnd xmi:id="QUDV.A_unitFactor_unit.unitFactor" name="unitFactor" type="QUDV.UnitFactor" association="QUDV.A_unitFactor_unit"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.A_unitFactor_unit.unitFactor.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.A_unitFactor_unit.unitFactor.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="QUDV.A_usedSystemOfQuantities_systemOfQuantities" name="A_usedSystemOfQuantities_systemOfQuantities" memberEnd="QUDV.A_usedSystemOfQuantities_systemOfQuantities.systemOfQuantities QUDV.SystemOfQuantities.usedSystemOfQuantities"> + <ownedEnd xmi:id="QUDV.A_usedSystemOfQuantities_systemOfQuantities.systemOfQuantities" name="systemOfQuantities" type="QUDV.SystemOfQuantities" association="QUDV.A_usedSystemOfQuantities_systemOfQuantities"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.A_usedSystemOfQuantities_systemOfQuantities.systemOfQuantities.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.A_usedSystemOfQuantities_systemOfQuantities.systemOfQuantities.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="QUDV.DerivedUnit" name="DerivedUnit"> + <ownedRule xmi:id="QUDV.DerivedUnit._rule.mustSpecifyQuantityKind" name="mustSpecifyQuantityKind"> + <ownedComment xmi:id="QUDV.DerivedUnit._rule.mustSpecifyQuantityKind._comment0"> + <body>Since a DerivedUnit is defined as a product factor of one or more other Units, it must specify explicitly its QuantityKinds.</body> + </ownedComment> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.DerivedUnit._rule.mustSpecifyQuantityKind.specification0"> + <language>OCL2.0</language> + <body>quantityKind</body> + <body>&lt;&gt;</body> + <body>null</body> + <body>and</body> + <body>quantityKind-&gt;notEmpty()</body> + </specification> + </ownedRule> + <generalization xmi:id="QUDV.DerivedUnit._generalization.QUDV.Unit" general="QUDV.Unit"/> + <ownedAttribute xmi:id="QUDV.DerivedUnit.factor" name="factor" type="QUDV.UnitFactor" association="QUDV.A_derivedUnit_factor"> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.DerivedUnit.factor.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.DerivedUnit.hasReducedFactors" name="hasReducedFactors"> + <ownedComment xmi:id="QUDV.DerivedUnit.hasReducedFactors._comment0"> + <body> If true, the UnitFactors specifying the product of powers of other measurement units that define the DerivedUnit cannot be simplified. If false, the DerivedUnit is non-reduced; some UnitFactors can be simplified. A non-reduced DerivedUnit can have as a general unit other DerivedUnits defined in terms of simplified UnitFactors, possibly in reduced form. </body> + </ownedComment> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> + <defaultValue xmi:type="uml:LiteralBoolean" xmi:id="QUDV.DerivedUnit.hasReducedFactors.defaultValue0" value="true"/> + </ownedAttribute> + <ownedOperation xmi:id="QUDV.DerivedUnit.dependsOnUnits_Unit" name="dependsOnUnits" bodyCondition="QUDV.DerivedUnit.dependsOnUnits_Unit._rule.body" isQuery="true"> + <ownedComment xmi:id="QUDV.DerivedUnit.dependsOnUnits_Unit._comment0"> + <body>A DerivedUnit transitively depends on its factors' Units and all of the Units that its factors' Units depend on.</body> + </ownedComment> + <ownedRule xmi:id="QUDV.DerivedUnit.dependsOnUnits_Unit._rule.body" name="body" constrainedElement="QUDV.DerivedUnit.dependsOnUnits_Unit"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.DerivedUnit.dependsOnUnits_Unit._rule.body.specification0"> + <language>OCL2.0</language> + <body>factor.unit.dependsOnUnits()-&gt;flatten()-&gt;asSet()-&gt;union(factor.unit-&gt;flatten()-&gt;asSet())-&gt;asSet()</body> + </specification> + </ownedRule> + <ownedParameter xmi:id="QUDV.DerivedUnit.dependsOnUnits_Unit.result" name="result" type="QUDV.Unit" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.DerivedUnit.dependsOnUnits_Unit.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.DerivedUnit.dependsOnUnits_Unit.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="QUDV.A_quantityKindFactor_quantityKind" name="A_quantityKindFactor_quantityKind" memberEnd="QUDV.A_quantityKindFactor_quantityKind.quantityKindFactor QUDV.QuantityKindFactor.quantityKind"> + <ownedEnd xmi:id="QUDV.A_quantityKindFactor_quantityKind.quantityKindFactor" name="quantityKindFactor" type="QUDV.QuantityKindFactor" association="QUDV.A_quantityKindFactor_quantityKind"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.A_quantityKindFactor_quantityKind.quantityKindFactor.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.A_quantityKindFactor_quantityKind.quantityKindFactor.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="QUDV.Unit" name="Unit" isAbstract="true"> + <ownedRule xmi:id="QUDV.Unit._rule.acyclic_unit_dependencies" name="acyclic_unit_dependencies"> + <ownedComment xmi:id="QUDV.Unit._rule.acyclic_unit_dependencies._comment0"> + <body>A Unit cannot be defined in terms of itself. This follows from the requirement that, in a coherent SystemOfUnits, the Units of all derived QuantityKinds are expressed in terms of the base Units in accordance with the equations in the SystemOfQuantities (see ISO 80000-1, 6.4).</body> + </ownedComment> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.Unit._rule.acyclic_unit_dependencies.specification0"> + <language>OCL2.0</language> + <body>dependsOnUnits-&gt;excludes(self)</body> + </specification> + </ownedRule> + <generalization xmi:id="QUDV.Unit._generalization.SysML.Unit"> + <general xmi:type="uml:Class" href="SysML-Standard-Library.uml#SysML.Unit"/> + </generalization> + <ownedAttribute xmi:id="QUDV.Unit.dependsOnUnits" name="dependsOnUnits" type="QUDV.Unit" isReadOnly="true" isDerived="true"> + <ownedComment xmi:id="QUDV.Unit.dependsOnUnits._comment0"> + <body>The set of all Units that this Unit directly or indirectly depends on according to its definition.</body> + </ownedComment> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.Unit.dependsOnUnits.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.Unit.dependsOnUnits.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.Unit.general" name="general" type="QUDV.Unit" association="QUDV.A_generalUnit_specificUnit"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.Unit.general.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.Unit.general.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.Unit.isUnitCountOfEntities" name="isUnitCountOfEntities"> + <ownedComment xmi:id="QUDV.Unit.isUnitCountOfEntities._comment0"> + <body>If true, indicates that the measurement unit represents a number of entities (see ISO 80000-1, 3.10, Note 3).</body> + </ownedComment> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> + <defaultValue xmi:type="uml:LiteralBoolean" xmi:id="QUDV.Unit.isUnitCountOfEntities.defaultValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.Unit.isUnitForQuantityOfDimensionOne" name="isUnitForQuantityOfDimensionOne"> + <ownedComment xmi:id="QUDV.Unit.isUnitForQuantityOfDimensionOne._comment0"> + <body>If true, indicates that the corresponding QuantityKind has dimension one (see ISO 80000-1, 3.8).</body> + </ownedComment> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> + <defaultValue xmi:type="uml:LiteralBoolean" xmi:id="QUDV.Unit.isUnitForQuantityOfDimensionOne.defaultValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.Unit.quantityKind" name="quantityKind" type="QUDV.QuantityKind" association="QUDV.A_quantityKind_measurementUnit"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.Unit.quantityKind.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.Unit.quantityKind.upperValue0" value="*"/> + <redefinedProperty href="SysML-Standard-Library.uml#SysML.Unit.quantityKind"/> + </ownedAttribute> + <ownedOperation xmi:id="QUDV.Unit.dependsOnUnits_Unit" name="dependsOnUnits"> + <ownedComment xmi:id="QUDV.Unit.dependsOnUnits_Unit._comment0"> + <body>Abstract operation specified in ConversionBasedUnit, SimpleUnit and DerivedUnit to calculate the value of the derived property Unit:/dependsOnUnits.</body> + </ownedComment> + <ownedParameter xmi:id="QUDV.Unit.dependsOnUnits_Unit.result" name="result" type="QUDV.Unit" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.Unit.dependsOnUnits_Unit.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.Unit.dependsOnUnits_Unit.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="QUDV.A_systemOfUnits_baseUnit" name="A_systemOfUnits_baseUnit" memberEnd="QUDV.A_systemOfUnits_baseUnit.systemOfUnits QUDV.SystemOfUnits.baseUnit"> + <generalization xmi:id="QUDV.A_systemOfUnits_baseUnit._generalization.QUDV.A_systemOfUnits_unit" general="QUDV.A_systemOfUnits_unit"/> + <ownedEnd xmi:id="QUDV.A_systemOfUnits_baseUnit.systemOfUnits" name="systemOfUnits" type="QUDV.SystemOfUnits" subsettedProperty="QUDV.A_systemOfUnits_unit.systemOfUnits" association="QUDV.A_systemOfUnits_baseUnit"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.A_systemOfUnits_baseUnit.systemOfUnits.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.A_systemOfUnits_baseUnit.systemOfUnits.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="QUDV.ConversionBasedUnit" name="ConversionBasedUnit" isAbstract="true"> + <generalization xmi:id="QUDV.ConversionBasedUnit._generalization.QUDV.Unit" general="QUDV.Unit"/> + <ownedAttribute xmi:id="QUDV.ConversionBasedUnit.isInvertible" name="isInvertible"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.ConversionBasedUnit.referenceUnit" name="referenceUnit" type="QUDV.Unit" association="QUDV.A_conversionBasedUnit_referenceUnit"/> + <ownedOperation xmi:id="QUDV.ConversionBasedUnit.dependsOnUnits_Unit" name="dependsOnUnits" bodyCondition="QUDV.ConversionBasedUnit.dependsOnUnits_Unit._rule.body" isQuery="true"> + <ownedComment xmi:id="QUDV.ConversionBasedUnit.dependsOnUnits_Unit._comment0"> + <body>A ConversionBasedUnit transitively depends on its referenceUnit and all of the Units that its referenceUnit depends on.</body> + </ownedComment> + <ownedRule xmi:id="QUDV.ConversionBasedUnit.dependsOnUnits_Unit._rule.body" name="body" constrainedElement="QUDV.ConversionBasedUnit.dependsOnUnits_Unit"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.ConversionBasedUnit.dependsOnUnits_Unit._rule.body.specification0"> + <language>OCL2.0</language> + <body>referenceUnit.dependsOnUnits()-&gt;including(referenceUnit)-&gt;asSet()</body> + </specification> + </ownedRule> + <ownedParameter xmi:id="QUDV.ConversionBasedUnit.dependsOnUnits_Unit.result" name="result" type="QUDV.Unit" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.ConversionBasedUnit.dependsOnUnits_Unit.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.ConversionBasedUnit.dependsOnUnits_Unit.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="QUDV.QuantityKindFactor" name="QuantityKindFactor"> + <ownedAttribute xmi:id="QUDV.QuantityKindFactor.exponent" name="exponent" type="QUDV_dataType.Rational"/> + <ownedAttribute xmi:id="QUDV.QuantityKindFactor.quantityKind" name="quantityKind" type="QUDV.QuantityKind" association="QUDV.A_quantityKindFactor_quantityKind"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="QUDV.GeneralConversionUnit" name="GeneralConversionUnit"> + <generalization xmi:id="QUDV.GeneralConversionUnit._generalization.QUDV.ConversionBasedUnit" general="QUDV.ConversionBasedUnit"/> + <ownedAttribute xmi:id="QUDV.GeneralConversionUnit.expression" name="expression"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.GeneralConversionUnit.expressionLanguageURI" name="expressionLanguageURI"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.GeneralConversionUnit.expressionLanguageURI.lowerValue0"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="QUDV.A_generalUnit_specificUnit" name="A_generalUnit_specificUnit" memberEnd="QUDV.A_generalUnit_specificUnit.specific QUDV.Unit.general"> + <ownedEnd xmi:id="QUDV.A_generalUnit_specificUnit.specific" name="specific" type="QUDV.Unit" association="QUDV.A_generalUnit_specificUnit"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.A_generalUnit_specificUnit.specific.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.A_generalUnit_specificUnit.specific.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="QUDV.A_systemOfUnits_unit" name="A_systemOfUnits_unit" memberEnd="QUDV.A_systemOfUnits_unit.systemOfUnits QUDV.SystemOfUnits.unit"> + <ownedEnd xmi:id="QUDV.A_systemOfUnits_unit.systemOfUnits" name="systemOfUnits" type="QUDV.SystemOfUnits" association="QUDV.A_systemOfUnits_unit"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.A_systemOfUnits_unit.systemOfUnits.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.A_systemOfUnits_unit.systemOfUnits.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="QUDV.A_prefixedUnit_prefix" name="A_prefixedUnit_prefix" memberEnd="QUDV.A_prefixedUnit_prefix.prefixedUnit QUDV.PrefixedUnit.prefix"> + <ownedEnd xmi:id="QUDV.A_prefixedUnit_prefix.prefixedUnit" name="prefixedUnit" type="QUDV.PrefixedUnit" association="QUDV.A_prefixedUnit_prefix"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.A_prefixedUnit_prefix.prefixedUnit.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.A_prefixedUnit_prefix.prefixedUnit.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="QUDV.A_derivedQuantityKind_factor" name="A_derivedQuantityKind_factor" memberEnd="QUDV.A_derivedQuantityKind_factor.derivedQuantityKind QUDV.DerivedQuantityKind.factor"> + <ownedEnd xmi:id="QUDV.A_derivedQuantityKind_factor.derivedQuantityKind" name="derivedQuantityKind" type="QUDV.DerivedQuantityKind" association="QUDV.A_derivedQuantityKind_factor"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.A_derivedQuantityKind_factor.derivedQuantityKind.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.A_derivedQuantityKind_factor.derivedQuantityKind.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="QUDV.PrefixedUnit" name="PrefixedUnit"> + <ownedRule xmi:id="QUDV.PrefixedUnit._rule.PU1" name="PU1"> + <ownedComment xmi:id="QUDV.PrefixedUnit._rule.PU1._comment0"> + <body>The referenceUnit shall not be a PrefixedUnit, i.e.,it is not allowed to prefix an already prefixed measurement unit. In general the referenceUnit should be a SimpleUnit.</body> + </ownedComment> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.PrefixedUnit._rule.PU1.specification0"> + <language>OCL2.0</language> + <body>not</body> + <body>referenceUnit.oclIsTypeOf(PrefixedUnit)</body> + </specification> + </ownedRule> + <generalization xmi:id="QUDV.PrefixedUnit._generalization.QUDV.ConversionBasedUnit" general="QUDV.ConversionBasedUnit"/> + <ownedAttribute xmi:id="QUDV.PrefixedUnit.noQuantityKind" name="noQuantityKind" type="QUDV.QuantityKind" redefinedProperty="QUDV.Unit.quantityKind" association="QUDV.A_noQuantityKind_prefixedUnit"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.PrefixedUnit.noQuantityKind.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.PrefixedUnit.noQuantityKind.upperValue0"/> + </ownedAttribute> + <ownedAttribute xmi:id="QUDV.PrefixedUnit.prefix" name="prefix" type="QUDV.Prefix" association="QUDV.A_prefixedUnit_prefix"/> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="QUDV.A_systemOfQuantities_baseQuantityKind" name="A_systemOfQuantities_baseQuantityKind" memberEnd="QUDV.A_systemOfQuantities_baseQuantityKind.systemOfQuantities QUDV.SystemOfQuantities.baseQuantityKind"> + <generalization xmi:id="QUDV.A_systemOfQuantities_baseQuantityKind._generalization.QUDV.A_systemOfQuantities_quantityKind" general="QUDV.A_systemOfQuantities_quantityKind"/> + <ownedEnd xmi:id="QUDV.A_systemOfQuantities_baseQuantityKind.systemOfQuantities" name="systemOfQuantities" type="QUDV.SystemOfQuantities" subsettedProperty="QUDV.A_systemOfQuantities_quantityKind.systemOfQuantities" association="QUDV.A_systemOfQuantities_baseQuantityKind"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.A_systemOfQuantities_baseQuantityKind.systemOfQuantities.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.A_systemOfQuantities_baseQuantityKind.systemOfQuantities.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="QUDV.SimpleUnit" name="SimpleUnit"> + <generalization xmi:id="QUDV.SimpleUnit._generalization.QUDV.Unit" general="QUDV.Unit"/> + <ownedOperation xmi:id="QUDV.SimpleUnit.dependsOnUnits_Unit" name="dependsOnUnits" bodyCondition="QUDV.SimpleUnit.dependsOnUnits_Unit._rule.body" isQuery="true"> + <ownedComment xmi:id="QUDV.SimpleUnit.dependsOnUnits_Unit._comment0"> + <body>A SimpleUnit, by definition, does not depend on any other Unit.</body> + </ownedComment> + <ownedRule xmi:id="QUDV.SimpleUnit.dependsOnUnits_Unit._rule.body" name="body" constrainedElement="QUDV.SimpleUnit.dependsOnUnits_Unit"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.SimpleUnit.dependsOnUnits_Unit._rule.body.specification0"> + <language>OCL2.0</language> + <body>Set(Unit){}</body> + </specification> + </ownedRule> + <ownedParameter xmi:id="QUDV.SimpleUnit.dependsOnUnits_Unit.result" name="result" type="QUDV.Unit" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.SimpleUnit.dependsOnUnits_Unit.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.SimpleUnit.dependsOnUnits_Unit.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="QUDV.DerivedQuantityKind" name="DerivedQuantityKind"> + <generalization xmi:id="QUDV.DerivedQuantityKind._generalization.QUDV.QuantityKind" general="QUDV.QuantityKind"/> + <ownedAttribute xmi:id="QUDV.DerivedQuantityKind.factor" name="factor" type="QUDV.QuantityKindFactor" association="QUDV.A_derivedQuantityKind_factor"> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.DerivedQuantityKind.factor.upperValue0" value="*"/> + </ownedAttribute> + <ownedOperation xmi:id="QUDV.DerivedQuantityKind.dependsOnQuantityKinds_QuantityKind" name="dependsOnQuantityKinds" bodyCondition="QUDV.DerivedQuantityKind.dependsOnQuantityKinds_QuantityKind._rule.body" isQuery="true"> + <ownedComment xmi:id="QUDV.DerivedQuantityKind.dependsOnQuantityKinds_QuantityKind._comment0"> + <body>A DerivedQuantityKind transitively depends on its factors' QuantityKinds and all of the QuantityKinds that its factors' QuantityKinds depend on.</body> + </ownedComment> + <ownedRule xmi:id="QUDV.DerivedQuantityKind.dependsOnQuantityKinds_QuantityKind._rule.body" name="body" constrainedElement="QUDV.DerivedQuantityKind.dependsOnQuantityKinds_QuantityKind"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.DerivedQuantityKind.dependsOnQuantityKinds_QuantityKind._rule.body.specification0"> + <language>OCL2.0</language> + <body>factor.quantityKind.dependsOnQuantityKinds()-&gt;flatten()-&gt;asSet()-&gt;union(factor.quantityKind-&gt;flatten()-&gt;asSet())-&gt;asSet()</body> + </specification> + </ownedRule> + <ownedParameter xmi:id="QUDV.DerivedQuantityKind.dependsOnQuantityKinds_QuantityKind.result" name="result" type="QUDV.QuantityKind" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.DerivedQuantityKind.dependsOnQuantityKinds_QuantityKind.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.DerivedQuantityKind.dependsOnQuantityKinds_QuantityKind.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="QUDV.LinearConversionUnit" name="LinearConversionUnit"> + <ownedRule xmi:id="QUDV.LinearConversionUnit._rule.invertible" name="invertible"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="QUDV.LinearConversionUnit._rule.invertible.specification0"> + <language>OCL2.0</language> + <body>isInvertible</body> + <body>=</body> + <body>true</body> + </specification> + </ownedRule> + <generalization xmi:id="QUDV.LinearConversionUnit._generalization.QUDV.ConversionBasedUnit" general="QUDV.ConversionBasedUnit"/> + <ownedAttribute xmi:id="QUDV.LinearConversionUnit.factor" name="factor"> + <type xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML_dataType.Number"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="QUDV.Prefix" name="Prefix"> + <ownedAttribute xmi:id="QUDV.Prefix.factor" name="factor" type="QUDV_dataType.Rational"/> + <ownedAttribute xmi:id="QUDV.Prefix.symbol" name="symbol"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="QUDV.A_noQuantityKind_prefixedUnit" name="A_noQuantityKind_prefixedUnit" memberEnd="QUDV.PrefixedUnit.noQuantityKind QUDV.A_noQuantityKind_prefixedUnit.prefixedUnit"> + <generalization xmi:id="QUDV.A_noQuantityKind_prefixedUnit._generalization.QUDV.A_quantityKind_measurementUnit" general="QUDV.A_quantityKind_measurementUnit"/> + <ownedEnd xmi:id="QUDV.A_noQuantityKind_prefixedUnit.prefixedUnit" name="prefixedUnit" type="QUDV.PrefixedUnit" redefinedProperty="QUDV.A_quantityKind_measurementUnit.measurementUnit" association="QUDV.A_noQuantityKind_prefixedUnit"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.A_noQuantityKind_prefixedUnit.prefixedUnit.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.A_noQuantityKind_prefixedUnit.prefixedUnit.upperValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="QUDV.A_systemOfUnits_systemOfQuantities" name="A_systemOfUnits_systemOfQuantities" memberEnd="QUDV.A_systemOfUnits_systemOfQuantities.systemOfUnits QUDV.SystemOfUnits.systemOfQuantities"> + <ownedEnd xmi:id="QUDV.A_systemOfUnits_systemOfQuantities.systemOfUnits" name="systemOfUnits" type="QUDV.SystemOfUnits" association="QUDV.A_systemOfUnits_systemOfQuantities"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="QUDV.A_systemOfUnits_systemOfQuantities.systemOfUnits.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="QUDV.A_systemOfUnits_systemOfQuantities.systemOfUnits.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <profileApplication xmi:id="QUDV._profileApplication.SysML"> + <eAnnotations xmi:id="__is7QfIkEee2HKnpxGD9pA" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.5/SysML#/"/> + </eAnnotations> + <appliedProfile href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML"/> + </profileApplication> + <profileApplication xmi:id="QUDV._profileApplication.StandardProfile"> + <eAnnotations xmi:id="__hHm4PIkEee2HKnpxGD9pA" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard#/"/> + </eAnnotations> + <appliedProfile href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/> + </profileApplication> + </uml:Package> + <Blocks:Block xmi:id="SysML.Block_appliedOn_QUDV.SystemOfQuantities" base_Class="QUDV.SystemOfQuantities"/> + <standard:ModelLibrary xmi:id="StandardProfile.ModelLibrary_appliedOn_QUDV" base_Package="QUDV"/> + <Blocks:Block xmi:id="SysML.Block_appliedOn_QUDV.GeneralConversionUnit" base_Class="QUDV.GeneralConversionUnit"/> + <Blocks:Block xmi:id="SysML.Block_appliedOn_QUDV.Unit" base_Class="QUDV.Unit"/> + <Blocks:Block xmi:id="SysML.Block_appliedOn_QUDV.Dimension" base_Class="QUDV.Dimension"/> + <Blocks:Block xmi:id="SysML.Block_appliedOn_QUDV.DerivedQuantityKind" base_Class="QUDV.DerivedQuantityKind"/> + <Blocks:Block xmi:id="SysML.Block_appliedOn_QUDV.UnitFactor" base_Class="QUDV.UnitFactor"/> + <Blocks:Block xmi:id="SysML.Block_appliedOn_QUDV.QuantityKindFactor" base_Class="QUDV.QuantityKindFactor"/> + <Blocks:Block xmi:id="SysML.Block_appliedOn_QUDV.QuantityKind" base_Class="QUDV.QuantityKind"/> + <Blocks:Block xmi:id="SysML.Block_appliedOn_QUDV.Prefix" base_Class="QUDV.Prefix"/> + <Blocks:Block xmi:id="SysML.Block_appliedOn_QUDV.SystemOfUnits" base_Class="QUDV.SystemOfUnits"/> + <Blocks:Block xmi:id="SysML.Block_appliedOn_QUDV.LinearConversionUnit" base_Class="QUDV.LinearConversionUnit"/> + <Blocks:Block xmi:id="SysML.Block_appliedOn_QUDV.PrefixedUnit" base_Class="QUDV.PrefixedUnit"/> + <Blocks:Block xmi:id="SysML.Block_appliedOn_QUDV.AffineConversionUnit" base_Class="QUDV.AffineConversionUnit"/> + <Blocks:Block xmi:id="SysML.Block_appliedOn_QUDV.ConversionBasedUnit" base_Class="QUDV.ConversionBasedUnit"/> + <Blocks:Block xmi:id="SysML.Block_appliedOn_QUDV.SimpleQuantityKind" base_Class="QUDV.SimpleQuantityKind"/> + <Blocks:Block xmi:id="SysML.Block_appliedOn_QUDV.SimpleUnit" base_Class="QUDV.SimpleUnit"/> + <Blocks:ValueType xmi:id="SysML.ValueType_appliedOn_QUDV_dataType.Rational" base_DataType="QUDV_dataType.Rational"/> + <Blocks:Block xmi:id="SysML.Block_appliedOn_QUDV.DerivedUnit" base_Class="QUDV.DerivedUnit"/> +</xmi:XMI>
diff --git a/core/org.eclipse.papyrus.sysml/resources/library/SysML-Standard-Library.di b/core/org.eclipse.papyrus.sysml/resources/library/SysML-Standard-Library.di new file mode 100644 index 0000000..278d6ec --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/resources/library/SysML-Standard-Library.di
@@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?> +<architecture:ArchitectureDescription xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:architecture="http://www.eclipse.org/papyrus/infra/core/architecture" contextId="org.eclipse.papyrus.sysml.architecture.SysML"/>
diff --git a/core/org.eclipse.papyrus.sysml/resources/library/SysML-Standard-Library.notation b/core/org.eclipse.papyrus.sysml/resources/library/SysML-Standard-Library.notation new file mode 100644 index 0000000..63b800c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/resources/library/SysML-Standard-Library.notation
@@ -0,0 +1,720 @@ +<?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:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/gmfdiag/style" xmlns:style_1="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"> + <notation:Diagram xmi:id="_v7_YoDn1EeWWssZOJ2QVuQ" type="PapyrusUMLClassDiagram" name="Libraries Diagram" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_wdotIDn1EeWWssZOJ2QVuQ" type="Package_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_wdqiUDn1EeWWssZOJ2QVuQ" type="Package_NameLabel"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_wdrJYDn1EeWWssZOJ2QVuQ" type="Package_PackagedElementCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_wdrJYTn1EeWWssZOJ2QVuQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wdrJYjn1EeWWssZOJ2QVuQ"/> + </children> + <element xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wdotITn1EeWWssZOJ2QVuQ" x="100" y="80"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_xFCEUDn1EeWWssZOJ2QVuQ" type="Package_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_xFDScDn1EeWWssZOJ2QVuQ" type="Package_NameLabel"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_xFDScTn1EeWWssZOJ2QVuQ" type="Package_PackagedElementCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_xFDScjn1EeWWssZOJ2QVuQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xFDSczn1EeWWssZOJ2QVuQ"/> + </children> + <element xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xFCEUTn1EeWWssZOJ2QVuQ" x="100" y="240"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_xU5FQDn1EeWWssZOJ2QVuQ" type="Package_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_xU6TYDn1EeWWssZOJ2QVuQ" type="Package_NameLabel"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_xU6TYTn1EeWWssZOJ2QVuQ" type="Package_PackagedElementCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_xU6TYjn1EeWWssZOJ2QVuQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xU6TYzn1EeWWssZOJ2QVuQ"/> + </children> + <element xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xU5FQTn1EeWWssZOJ2QVuQ" x="360" y="80"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_FgtVEBIpEeeFNrLZFDmeGg" type="Package_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_Fgt8IBIpEeeFNrLZFDmeGg" type="Package_NameLabel"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_Fgt8IRIpEeeFNrLZFDmeGg" type="Package_PackagedElementCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_Fgt8IhIpEeeFNrLZFDmeGg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Fgt8IxIpEeeFNrLZFDmeGg"/> + </children> + <element xmi:type="uml:Package" href="SysML-Standard-Library.uml#_7DGgkDthEeWLFIpRJHQiHw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_FgtVERIpEeeFNrLZFDmeGg" x="360" y="240" width="201" height="101"/> + </children> + <styles xmi:type="notation:StringValueStyle" xmi:id="_v7_YoTn1EeWWssZOJ2QVuQ" name="diagram_compatibility_version" stringValue="1.3.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_v7_Yojn1EeWWssZOJ2QVuQ"/> + <styles xmi:type="style:PapyrusDiagramStyle" xmi:id="_9r5C4MrNEee5xeGZ3-9rfg" diagramKindId="org.eclipse.papyrus.sysml.diagram.blockdefinition"> + <owner xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries"/> + </styles> + <element xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries"/> + </notation:Diagram> + <notation:Diagram xmi:id="_RzuDkDtgEeWLFIpRJHQiHw" type="PapyrusUMLClassDiagram" name="Primitive Value Types Diagram" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_SVy14DtgEeWLFIpRJHQiHw" type="DataType_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_SVzc8DtgEeWLFIpRJHQiHw" type="DataType_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_SV0EADtgEeWLFIpRJHQiHw" type="DataType_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_SV0EATtgEeWLFIpRJHQiHw" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_SV0EAjtgEeWLFIpRJHQiHw" visible="false" type="DataType_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_SV0EAztgEeWLFIpRJHQiHw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_SV0EBDtgEeWLFIpRJHQiHw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_SV0EBTtgEeWLFIpRJHQiHw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_SV0EBjtgEeWLFIpRJHQiHw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_SV0EBztgEeWLFIpRJHQiHw" visible="false" type="DataType_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_SV0ECDtgEeWLFIpRJHQiHw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_SV0ECTtgEeWLFIpRJHQiHw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_SV0ECjtgEeWLFIpRJHQiHw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_SV0ECztgEeWLFIpRJHQiHw"/> + </children> + <element xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Boolean"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_SVy14TtgEeWLFIpRJHQiHw" x="320" y="160" width="121"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_Syc8sDtgEeWLFIpRJHQiHw" type="DataType_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_SydjwDtgEeWLFIpRJHQiHw" type="DataType_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_SydjwTtgEeWLFIpRJHQiHw" type="DataType_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_SydjwjtgEeWLFIpRJHQiHw" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_SydjwztgEeWLFIpRJHQiHw" type="DataType_AttributeCompartment"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_UnbhUDtgEeWLFIpRJHQiHw" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_UncIYDtgEeWLFIpRJHQiHw" key="visible" value="true"/> + </eAnnotations> + <children xmi:type="notation:Shape" xmi:id="_V398IDtgEeWLFIpRJHQiHw" type="Property_DataTypeAttributeLabel"> + <element xmi:type="uml:Property" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex_ownedAttribute.imaginaryPart"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_V398ITtgEeWLFIpRJHQiHw"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_WVMDoDtgEeWLFIpRJHQiHw" type="Property_DataTypeAttributeLabel"> + <element xmi:type="uml:Property" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex_ownedAttribute.realPart"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_WVMDoTtgEeWLFIpRJHQiHw"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_SydjxDtgEeWLFIpRJHQiHw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_SydjxTtgEeWLFIpRJHQiHw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_SydjxjtgEeWLFIpRJHQiHw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_SydjxztgEeWLFIpRJHQiHw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_SydjyDtgEeWLFIpRJHQiHw" visible="false" type="DataType_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_SydjyTtgEeWLFIpRJHQiHw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_SydjyjtgEeWLFIpRJHQiHw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_SydjyztgEeWLFIpRJHQiHw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_SydjzDtgEeWLFIpRJHQiHw"/> + </children> + <element xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Syc8sTtgEeWLFIpRJHQiHw" x="580" y="360" width="201"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_W-1dkDtgEeWLFIpRJHQiHw" type="DataType_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_W-2EoDtgEeWLFIpRJHQiHw" type="DataType_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_W-2EoTtgEeWLFIpRJHQiHw" type="DataType_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_W-2EojtgEeWLFIpRJHQiHw" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_W-2EoztgEeWLFIpRJHQiHw" visible="false" type="DataType_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_W-2EpDtgEeWLFIpRJHQiHw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_W-2EpTtgEeWLFIpRJHQiHw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_W-2EpjtgEeWLFIpRJHQiHw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_W-2EpztgEeWLFIpRJHQiHw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_W-2EqDtgEeWLFIpRJHQiHw" visible="false" type="DataType_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_W-2EqTtgEeWLFIpRJHQiHw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_W-2EqjtgEeWLFIpRJHQiHw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_W-2EqztgEeWLFIpRJHQiHw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_W-2ErDtgEeWLFIpRJHQiHw"/> + </children> + <element xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Integer"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_W-1dkTtgEeWLFIpRJHQiHw" x="320" y="360" width="121"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_W_N4EDtgEeWLFIpRJHQiHw" type="DataType_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_W_N4EjtgEeWLFIpRJHQiHw" type="DataType_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_W_N4EztgEeWLFIpRJHQiHw" type="DataType_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_W_N4FDtgEeWLFIpRJHQiHw" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_W_N4FTtgEeWLFIpRJHQiHw" visible="false" type="DataType_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_W_N4FjtgEeWLFIpRJHQiHw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_W_N4FztgEeWLFIpRJHQiHw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_W_N4GDtgEeWLFIpRJHQiHw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_W_N4GTtgEeWLFIpRJHQiHw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_W_OfIDtgEeWLFIpRJHQiHw" visible="false" type="DataType_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_W_OfITtgEeWLFIpRJHQiHw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_W_OfIjtgEeWLFIpRJHQiHw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_W_OfIztgEeWLFIpRJHQiHw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_W_OfJDtgEeWLFIpRJHQiHw"/> + </children> + <element xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_W_N4ETtgEeWLFIpRJHQiHw" x="580" y="160" width="201"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_X_r2kDtgEeWLFIpRJHQiHw" type="DataType_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_X_sdoDtgEeWLFIpRJHQiHw" type="DataType_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_X_sdoTtgEeWLFIpRJHQiHw" type="DataType_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_X_sdojtgEeWLFIpRJHQiHw" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_X_tEsDtgEeWLFIpRJHQiHw" visible="false" type="DataType_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_X_tEsTtgEeWLFIpRJHQiHw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_X_tEsjtgEeWLFIpRJHQiHw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_X_tEsztgEeWLFIpRJHQiHw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_X_tEtDtgEeWLFIpRJHQiHw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_X_tEtTtgEeWLFIpRJHQiHw" visible="false" type="DataType_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_X_tEtjtgEeWLFIpRJHQiHw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_X_tEtztgEeWLFIpRJHQiHw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_X_tEuDtgEeWLFIpRJHQiHw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_X_tEuTtgEeWLFIpRJHQiHw"/> + </children> + <element xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Real"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_X_r2kTtgEeWLFIpRJHQiHw" x="880" y="360" width="121"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_Yj1FcDtgEeWLFIpRJHQiHw" type="DataType_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_Yj1sgDtgEeWLFIpRJHQiHw" type="DataType_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_Yj1sgTtgEeWLFIpRJHQiHw" type="DataType_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_Yj1sgjtgEeWLFIpRJHQiHw" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_Yj1sgztgEeWLFIpRJHQiHw" visible="false" type="DataType_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_Yj1shDtgEeWLFIpRJHQiHw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_Yj1shTtgEeWLFIpRJHQiHw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_Yj1shjtgEeWLFIpRJHQiHw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Yj1shztgEeWLFIpRJHQiHw"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_Yj1siDtgEeWLFIpRJHQiHw" visible="false" type="DataType_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_Yj1siTtgEeWLFIpRJHQiHw"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_Yj1sijtgEeWLFIpRJHQiHw"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_Yj1siztgEeWLFIpRJHQiHw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Yj1sjDtgEeWLFIpRJHQiHw"/> + </children> + <element xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_String"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Yj1FcTtgEeWLFIpRJHQiHw" x="880" y="160" width="121"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_Go3x8BCzEeeFNrLZFDmeGg" type="Comment_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_Go6OMBCzEeeFNrLZFDmeGg" type="Comment_BodyLabel"/> + <element xmi:type="uml:Comment" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Real._ownedComment.0"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Go3x8RCzEeeFNrLZFDmeGg" x="1060" y="320" width="221" height="181"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_Kp3iMBCzEeeFNrLZFDmeGg" type="Comment_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_Kp4wUBCzEeeFNrLZFDmeGg" type="Comment_BodyLabel"/> + <element xmi:type="uml:Comment" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex._ownedComment.0"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Kp3iMRCzEeeFNrLZFDmeGg" x="560" y="520" width="241" height="161"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_9i7EoBCzEeeFNrLZFDmeGg" type="Comment_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_9i7rsBCzEeeFNrLZFDmeGg" type="Comment_BodyLabel"/> + <element xmi:type="uml:Comment" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Boolean._ownedComment.0"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9i7EoRCzEeeFNrLZFDmeGg" x="140" y="160" width="124" height="101"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_QNNZgBC0EeeFNrLZFDmeGg" type="Comment_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_QNOAkBC0EeeFNrLZFDmeGg" type="Comment_BodyLabel"/> + <element xmi:type="uml:Comment" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Integert._ownedComment.0"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QNNZgRC0EeeFNrLZFDmeGg" x="60" y="320" width="201" height="161"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_fr8_cBC0EeeFNrLZFDmeGg" type="Comment_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_fr9mgBC0EeeFNrLZFDmeGg" type="Comment_BodyLabel"/> + <element xmi:type="uml:Comment" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number._ownedComment.0"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fr8_cRC0EeeFNrLZFDmeGg" x="560" y="20" width="241" height="81"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_gjjV0BC0EeeFNrLZFDmeGg" type="Comment_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_gjj84BC0EeeFNrLZFDmeGg" type="Comment_BodyLabel"/> + <element xmi:type="uml:Comment" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_String._ownedComment.0"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_gjjV0RC0EeeFNrLZFDmeGg" x="1060" y="160" width="221" height="101"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_qeW6MMrREee5xeGZ3-9rfg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_qeW6McrREee5xeGZ3-9rfg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qeYIUMrREee5xeGZ3-9rfg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Boolean"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qeW6MsrREee5xeGZ3-9rfg" x="520" y="160"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_qedA08rREee5xeGZ3-9rfg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_qedA1MrREee5xeGZ3-9rfg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qedA1srREee5xeGZ3-9rfg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qedA1crREee5xeGZ3-9rfg" x="780" y="360"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_qeigY8rREee5xeGZ3-9rfg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_qeigZMrREee5xeGZ3-9rfg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qeigZsrREee5xeGZ3-9rfg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Integer"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qeigZcrREee5xeGZ3-9rfg" x="520" y="360"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_qenY58rREee5xeGZ3-9rfg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_qenY6MrREee5xeGZ3-9rfg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qenY6srREee5xeGZ3-9rfg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qenY6crREee5xeGZ3-9rfg" x="780" y="160"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_qesRYMrREee5xeGZ3-9rfg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_qesRYcrREee5xeGZ3-9rfg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qesRY8rREee5xeGZ3-9rfg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Real"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qesRYsrREee5xeGZ3-9rfg" x="1080" y="360"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_qexJ4MrREee5xeGZ3-9rfg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_qexJ4crREee5xeGZ3-9rfg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qexJ48rREee5xeGZ3-9rfg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_String"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qexJ4srREee5xeGZ3-9rfg" x="1080" y="160"/> + </children> + <styles xmi:type="notation:StringValueStyle" xmi:id="_RzuDkTtgEeWLFIpRJHQiHw" name="diagram_compatibility_version" stringValue="1.3.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_RzuDkjtgEeWLFIpRJHQiHw"/> + <styles xmi:type="style_1:PapyrusViewStyle" xmi:id="_RzuDkztgEeWLFIpRJHQiHw"> + <owner xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes"/> + </styles> + <styles xmi:type="style:PapyrusDiagramStyle" xmi:id="_awezcMrOEee5xeGZ3-9rfg" diagramKindId="org.eclipse.papyrus.sysml.diagram.blockdefinition"> + <owner xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes"/> + </styles> + <element xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes"/> + <edges xmi:type="notation:Connector" xmi:id="_W_lrgDtgEeWLFIpRJHQiHw" type="Generalization_Edge" source="_W-1dkDtgEeWLFIpRJHQiHw" target="_W_N4EDtgEeWLFIpRJHQiHw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_xixh8BCyEeeFNrLZFDmeGg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_xiyJABCyEeeFNrLZFDmeGg" key="routing" value="true"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_W_lrgztgEeWLFIpRJHQiHw" type="Generalization_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_c3jskBCxEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_W_lrhDtgEeWLFIpRJHQiHw" y="40"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_W_lrgTtgEeWLFIpRJHQiHw"/> + <element xmi:type="uml:Generalization" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Integer._generalization.SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_W_lrgjtgEeWLFIpRJHQiHw" points="[380, 360, -643984, -643984]$[380, 320, -643984, -643984]$[680, 320, -643984, -643984]$[680, 260, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_XZO6kDtgEeWLFIpRJHQiHw" id="(0.49586776859504134,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_XZPhoDtgEeWLFIpRJHQiHw" id="(0.4975124378109453,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_YAIigDtgEeWLFIpRJHQiHw" type="Generalization_Edge" source="_X_r2kDtgEeWLFIpRJHQiHw" target="_W_N4EDtgEeWLFIpRJHQiHw" routing="Tree"> + <children xmi:type="notation:DecorationNode" xmi:id="_YAIigztgEeWLFIpRJHQiHw" type="Generalization_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_c4vYUBCxEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_YAIihDtgEeWLFIpRJHQiHw" y="40"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_YAIigTtgEeWLFIpRJHQiHw"/> + <element xmi:type="uml:Generalization" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Real._generalization.SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_YAIigjtgEeWLFIpRJHQiHw" points="[940, 360, -643984, -643984]$[940, 320, -643984, -643984]$[680, 320, -643984, -643984]$[680, 260, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Z8hWsDtgEeWLFIpRJHQiHw" id="(0.49586776859504134,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_jgsboDtgEeWLFIpRJHQiHw" id="(0.4975124378109453,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_dV_z8DtgEeWLFIpRJHQiHw" type="Generalization_Edge" source="_Syc8sDtgEeWLFIpRJHQiHw" target="_W_N4EDtgEeWLFIpRJHQiHw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_44d9IBCyEeeFNrLZFDmeGg" source="PapyrusCSSForceValue"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_44ekMBCyEeeFNrLZFDmeGg" key="routing" value="true"/> + </eAnnotations> + <children xmi:type="notation:DecorationNode" xmi:id="_dWAbADtgEeWLFIpRJHQiHw" type="Generalization_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_c5F9oBCxEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_dWAbATtgEeWLFIpRJHQiHw" y="40"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_dV_z8TtgEeWLFIpRJHQiHw"/> + <element xmi:type="uml:Generalization" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex._generalization.SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_dV_z8jtgEeWLFIpRJHQiHw" points="[680, 360, -643984, -643984]$[680, 320, -643984, -643984]$[680, 260, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_dqZ9sDtgEeWLFIpRJHQiHw" id="(0.4975124378109453,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_dqakwDtgEeWLFIpRJHQiHw" id="(0.4975124378109453,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_QXGx0BCzEeeFNrLZFDmeGg" type="Generalization_Edge" source="_Syc8sDtgEeWLFIpRJHQiHw" target="_W_N4EDtgEeWLFIpRJHQiHw"> + <children xmi:type="notation:DecorationNode" xmi:id="_QXHY4BCzEeeFNrLZFDmeGg" type="Generalization_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_BCydwBC0EeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_QXHY4RCzEeeFNrLZFDmeGg" y="40"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_QXGx0RCzEeeFNrLZFDmeGg"/> + <element xmi:type="uml:Generalization" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex._generalization.SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_QXGx0hCzEeeFNrLZFDmeGg" points="[680, 360, -643984, -643984]$[680, 260, -643984, -643984]"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_W9CkABCzEeeFNrLZFDmeGg" type="Comment_AnnotatedElementEdge" source="_Go3x8BCzEeeFNrLZFDmeGg" target="_X_r2kDtgEeWLFIpRJHQiHw"> + <styles xmi:type="notation:FontStyle" xmi:id="_W9CkARCzEeeFNrLZFDmeGg"/> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_W9CkAhCzEeeFNrLZFDmeGg" points="[1120, 400, -643984, -643984]$[1001, 400, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_W9kvgBCzEeeFNrLZFDmeGg" id="(0.0,0.4419889502762431)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_W9kvgRCzEeeFNrLZFDmeGg" id="(1.0,0.4)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_YAvcsBCzEeeFNrLZFDmeGg" type="Comment_AnnotatedElementEdge" source="_Kp3iMBCzEeeFNrLZFDmeGg" target="_Syc8sDtgEeWLFIpRJHQiHw"> + <styles xmi:type="notation:FontStyle" xmi:id="_YAvcsRCzEeeFNrLZFDmeGg"/> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_YAvcshCzEeeFNrLZFDmeGg" points="[680, 560, -643984, -643984]$[680, 465, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_YBFa8BCzEeeFNrLZFDmeGg" id="(0.4979253112033195,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_YBFa8RCzEeeFNrLZFDmeGg" id="(0.4975124378109453,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_DBVOEBC0EeeFNrLZFDmeGg" type="Comment_AnnotatedElementEdge" source="_9i7EoBCzEeeFNrLZFDmeGg" target="_SVy14DtgEeWLFIpRJHQiHw"> + <styles xmi:type="notation:FontStyle" xmi:id="_DBVOERC0EeeFNrLZFDmeGg"/> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_DBVOEhC0EeeFNrLZFDmeGg" points="[244, 200, -643984, -643984]$[340, 200, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DB9gMBC0EeeFNrLZFDmeGg" id="(1.0,0.39603960396039606)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DB9gMRC0EeeFNrLZFDmeGg" id="(0.0,0.4)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_W4F9IBC0EeeFNrLZFDmeGg" type="Comment_AnnotatedElementEdge" source="_QNNZgBC0EeeFNrLZFDmeGg" target="_W-1dkDtgEeWLFIpRJHQiHw"> + <styles xmi:type="notation:FontStyle" xmi:id="_W4F9IRC0EeeFNrLZFDmeGg"/> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_W4F9IhC0EeeFNrLZFDmeGg" points="[380, 560, -643984, -643984]$[380, 460, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_W4p90BC0EeeFNrLZFDmeGg" id="(1.0,0.49382716049382713)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_W4p90RC0EeeFNrLZFDmeGg" id="(0.0,0.4)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_ktRkQBC0EeeFNrLZFDmeGg" type="Comment_AnnotatedElementEdge" source="_fr8_cBC0EeeFNrLZFDmeGg" target="_W_N4EDtgEeWLFIpRJHQiHw"> + <styles xmi:type="notation:FontStyle" xmi:id="_ktRkQRC0EeeFNrLZFDmeGg"/> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ktRkQhC0EeeFNrLZFDmeGg" points="[680, 101, -643984, -643984]$[680, 160, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_kt9gwBC0EeeFNrLZFDmeGg" id="(0.4979253112033195,1.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_kt9gwRC0EeeFNrLZFDmeGg" id="(0.4975124378109453,0.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_lnyrwBC0EeeFNrLZFDmeGg" type="Comment_AnnotatedElementEdge" source="_gjjV0BC0EeeFNrLZFDmeGg" target="_Yj1FcDtgEeWLFIpRJHQiHw"> + <styles xmi:type="notation:FontStyle" xmi:id="_lnyrwRC0EeeFNrLZFDmeGg"/> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_lnyrwhC0EeeFNrLZFDmeGg" points="[1120, 200, -643984, -643984]$[1001, 200, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_lokH0BC0EeeFNrLZFDmeGg" id="(0.0,0.39603960396039606)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_lokH0RC0EeeFNrLZFDmeGg" id="(1.0,0.4)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_qeYIUcrREee5xeGZ3-9rfg" type="StereotypeCommentLink" source="_SVy14DtgEeWLFIpRJHQiHw" target="_qeW6MMrREee5xeGZ3-9rfg"> + <styles xmi:type="notation:FontStyle" xmi:id="_qeYIUsrREee5xeGZ3-9rfg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qeYIVsrREee5xeGZ3-9rfg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Boolean"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_qeYIU8rREee5xeGZ3-9rfg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qeYIVMrREee5xeGZ3-9rfg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qeYIVcrREee5xeGZ3-9rfg"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_qedA18rREee5xeGZ3-9rfg" type="StereotypeCommentLink" source="_Syc8sDtgEeWLFIpRJHQiHw" target="_qedA08rREee5xeGZ3-9rfg"> + <styles xmi:type="notation:FontStyle" xmi:id="_qedA2MrREee5xeGZ3-9rfg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qedA3MrREee5xeGZ3-9rfg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_qedA2crREee5xeGZ3-9rfg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qedA2srREee5xeGZ3-9rfg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qedA28rREee5xeGZ3-9rfg"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_qeigZ8rREee5xeGZ3-9rfg" type="StereotypeCommentLink" source="_W-1dkDtgEeWLFIpRJHQiHw" target="_qeigY8rREee5xeGZ3-9rfg"> + <styles xmi:type="notation:FontStyle" xmi:id="_qeigaMrREee5xeGZ3-9rfg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qeigbMrREee5xeGZ3-9rfg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Integer"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_qeigacrREee5xeGZ3-9rfg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qeigasrREee5xeGZ3-9rfg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qeiga8rREee5xeGZ3-9rfg"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_qen_8MrREee5xeGZ3-9rfg" type="StereotypeCommentLink" source="_W_N4EDtgEeWLFIpRJHQiHw" target="_qenY58rREee5xeGZ3-9rfg"> + <styles xmi:type="notation:FontStyle" xmi:id="_qen_8crREee5xeGZ3-9rfg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qen_9crREee5xeGZ3-9rfg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_qen_8srREee5xeGZ3-9rfg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qen_88rREee5xeGZ3-9rfg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qen_9MrREee5xeGZ3-9rfg"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_qesRZMrREee5xeGZ3-9rfg" type="StereotypeCommentLink" source="_X_r2kDtgEeWLFIpRJHQiHw" target="_qesRYMrREee5xeGZ3-9rfg"> + <styles xmi:type="notation:FontStyle" xmi:id="_qesRZcrREee5xeGZ3-9rfg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qesRacrREee5xeGZ3-9rfg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Real"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_qesRZsrREee5xeGZ3-9rfg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qesRZ8rREee5xeGZ3-9rfg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qesRaMrREee5xeGZ3-9rfg"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_qexJ5MrREee5xeGZ3-9rfg" type="StereotypeCommentLink" source="_Yj1FcDtgEeWLFIpRJHQiHw" target="_qexJ4MrREee5xeGZ3-9rfg"> + <styles xmi:type="notation:FontStyle" xmi:id="_qexJ5crREee5xeGZ3-9rfg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qexJ6crREee5xeGZ3-9rfg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_String"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_qexJ5srREee5xeGZ3-9rfg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qexJ58rREee5xeGZ3-9rfg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qexJ6MrREee5xeGZ3-9rfg"/> + </edges> + </notation:Diagram> + <notation:Diagram xmi:id="_qPokIBC1EeeFNrLZFDmeGg" type="PapyrusUMLClassDiagram" name="Unit And QuantityKind Diagram" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_wmc8QBC1EeeFNrLZFDmeGg" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_wmdjUBC1EeeFNrLZFDmeGg" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_wmdjURC1EeeFNrLZFDmeGg" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_wmeKYBC1EeeFNrLZFDmeGg" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_wmexcBC1EeeFNrLZFDmeGg" type="Class_AttributeCompartment"> + <children xmi:type="notation:Shape" xmi:id="_ydgkgBC1EeeFNrLZFDmeGg" type="Property_ClassAttributeLabel"> + <element xmi:type="uml:Property" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind_ownedAttribute.definitionURI"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ydgkgRC1EeeFNrLZFDmeGg"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_ytm2ABC1EeeFNrLZFDmeGg" type="Property_ClassAttributeLabel"> + <element xmi:type="uml:Property" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind_ownedAttribute.description"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ytm2ARC1EeeFNrLZFDmeGg"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_y8auEBC1EeeFNrLZFDmeGg" type="Property_ClassAttributeLabel"> + <element xmi:type="uml:Property" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind_ownedAttribute.symbol"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_y8auERC1EeeFNrLZFDmeGg"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_wmexcRC1EeeFNrLZFDmeGg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_wmexchC1EeeFNrLZFDmeGg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_wmexcxC1EeeFNrLZFDmeGg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wmexdBC1EeeFNrLZFDmeGg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_wmexdRC1EeeFNrLZFDmeGg" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_wmexdhC1EeeFNrLZFDmeGg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_wmexdxC1EeeFNrLZFDmeGg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_wmexeBC1EeeFNrLZFDmeGg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wmexeRC1EeeFNrLZFDmeGg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_wmexehC1EeeFNrLZFDmeGg" visible="false" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_wmexexC1EeeFNrLZFDmeGg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_wmexfBC1EeeFNrLZFDmeGg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_wmexfRC1EeeFNrLZFDmeGg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wmexfhC1EeeFNrLZFDmeGg"/> + </children> + <element xmi:type="uml:Class" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wmc8QRC1EeeFNrLZFDmeGg" x="280" y="300" width="221" height="161"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_0pFrQBC1EeeFNrLZFDmeGg" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_0pGSUBC1EeeFNrLZFDmeGg" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_0pGSURC1EeeFNrLZFDmeGg" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_0pGSUhC1EeeFNrLZFDmeGg" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_0pGSUxC1EeeFNrLZFDmeGg" type="Class_AttributeCompartment"> + <children xmi:type="notation:Shape" xmi:id="_2HQ5cBC1EeeFNrLZFDmeGg" type="Property_ClassAttributeLabel"> + <element xmi:type="uml:Property" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit_ownedAttribute.definitionURI"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_2HQ5cRC1EeeFNrLZFDmeGg"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_2XhjABC1EeeFNrLZFDmeGg" type="Property_ClassAttributeLabel"> + <element xmi:type="uml:Property" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit_ownedAttribute.description"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_2XhjARC1EeeFNrLZFDmeGg"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_3WAkgBC1EeeFNrLZFDmeGg" type="Property_ClassAttributeLabel"> + <element xmi:type="uml:Property" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit_ownedAttribute.symbol"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_3WAkgRC1EeeFNrLZFDmeGg"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_0pGSVBC1EeeFNrLZFDmeGg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_0pGSVRC1EeeFNrLZFDmeGg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_0pGSVhC1EeeFNrLZFDmeGg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0pGSVxC1EeeFNrLZFDmeGg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_0pG5YBC1EeeFNrLZFDmeGg" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_0pG5YRC1EeeFNrLZFDmeGg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_0pG5YhC1EeeFNrLZFDmeGg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_0pG5YxC1EeeFNrLZFDmeGg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0pG5ZBC1EeeFNrLZFDmeGg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_0pG5ZRC1EeeFNrLZFDmeGg" visible="false" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_0pG5ZhC1EeeFNrLZFDmeGg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_0pG5ZxC1EeeFNrLZFDmeGg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_0pG5aBC1EeeFNrLZFDmeGg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0pG5aRC1EeeFNrLZFDmeGg"/> + </children> + <element xmi:type="uml:Class" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0pFrQRC1EeeFNrLZFDmeGg" x="280" y="40" width="221" height="161"/> + </children> + <children xmi:type="notation:Shape" xmi:id="__cyeYBC1EeeFNrLZFDmeGg" type="Comment_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="__czFcBC1EeeFNrLZFDmeGg" type="Comment_BodyLabel"/> + <element xmi:type="uml:Comment" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind._ownedComment.0"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="__cyeYRC1EeeFNrLZFDmeGg" x="40" y="320" width="181" height="81"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_CUfrUBC2EeeFNrLZFDmeGg" type="Comment_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_CUgSYBC2EeeFNrLZFDmeGg" type="Comment_BodyLabel"/> + <element xmi:type="uml:Comment" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit._ownedComment.0"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CUfrURC2EeeFNrLZFDmeGg" x="560" y="60" width="241" height="81"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_LwbpwMrQEee5xeGZ3-9rfg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_LwbpwcrQEee5xeGZ3-9rfg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Lwbpw8rQEee5xeGZ3-9rfg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LwbpwsrQEee5xeGZ3-9rfg" x="480" y="300"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_LwkMo8rQEee5xeGZ3-9rfg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_LwkMpMrQEee5xeGZ3-9rfg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_LwkzsMrQEee5xeGZ3-9rfg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LwkMpcrQEee5xeGZ3-9rfg" x="480" y="40"/> + </children> + <styles xmi:type="notation:StringValueStyle" xmi:id="_qPokIRC1EeeFNrLZFDmeGg" name="diagram_compatibility_version" stringValue="1.3.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_qPokIhC1EeeFNrLZFDmeGg"/> + <styles xmi:type="style_1:PapyrusViewStyle" xmi:id="_qPokIxC1EeeFNrLZFDmeGg"> + <owner xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind"/> + </styles> + <styles xmi:type="style:PapyrusDiagramStyle" xmi:id="_aR5aAMrOEee5xeGZ3-9rfg" diagramKindId="org.eclipse.papyrus.sysml.diagram.blockdefinition"> + <owner xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind"/> + </styles> + <element xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind"/> + <edges xmi:type="notation:Connector" xmi:id="_3reeMBC1EeeFNrLZFDmeGg" type="Association_Edge" source="_wmc8QBC1EeeFNrLZFDmeGg" target="_0pFrQBC1EeeFNrLZFDmeGg"> + <children xmi:type="notation:DecorationNode" xmi:id="_3rfFQBC1EeeFNrLZFDmeGg" type="Association_StereotypeLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_--0wABC1EeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_3rfFQRC1EeeFNrLZFDmeGg" y="-20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_3rfFQhC1EeeFNrLZFDmeGg" type="Association_NameLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-_BkUBC1EeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_3rfFQxC1EeeFNrLZFDmeGg" x="3" y="-120"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_3rfsUBC1EeeFNrLZFDmeGg" type="Association_TargetRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-_I5EBC1EeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_3rfsURC1EeeFNrLZFDmeGg" x="13"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_3rfsUhC1EeeFNrLZFDmeGg" type="Association_SourceRoleLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-_XikBC1EeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_3rfsUxC1EeeFNrLZFDmeGg" x="-6"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_3rfsVBC1EeeFNrLZFDmeGg" type="Association_SourceMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-_dCIBC1EeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_3rfsVRC1EeeFNrLZFDmeGg" x="13" y="-20"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_3rfsVhC1EeeFNrLZFDmeGg" type="Association_TargetMultiplicityLabel"> + <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-_ihsBC1EeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_3rfsVxC1EeeFNrLZFDmeGg" x="-6" y="-20"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_3reeMRC1EeeFNrLZFDmeGg"/> + <element xmi:type="uml:Association" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.association_packagedElement_A_quantityKind_unit"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_3reeMhC1EeeFNrLZFDmeGg" points="[481, 110, -643984, -643984]$[660, 110, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_51v9YBC1EeeFNrLZFDmeGg" id="(0.45248868778280543,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_5cfv4BC1EeeFNrLZFDmeGg" id="(0.45248868778280543,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_Fo9swBC2EeeFNrLZFDmeGg" type="Comment_AnnotatedElementEdge" source="__cyeYBC1EeeFNrLZFDmeGg" target="_wmc8QBC1EeeFNrLZFDmeGg"> + <styles xmi:type="notation:FontStyle" xmi:id="_Fo9swRC2EeeFNrLZFDmeGg"/> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Fo9swhC2EeeFNrLZFDmeGg" points="[221, 380, -643984, -643984]$[280, 380, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FpR10BC2EeeFNrLZFDmeGg" id="(1.0,0.49382716049382713)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FpR10RC2EeeFNrLZFDmeGg" id="(0.0,0.37267080745341613)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_GDtvEBC2EeeFNrLZFDmeGg" type="Comment_AnnotatedElementEdge" source="_CUfrUBC2EeeFNrLZFDmeGg" target="_0pFrQBC1EeeFNrLZFDmeGg"> + <styles xmi:type="notation:FontStyle" xmi:id="_GDtvERC2EeeFNrLZFDmeGg"/> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_GDtvEhC2EeeFNrLZFDmeGg" points="[500, 120, -643984, -643984]$[441, 120, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GEJz8BC2EeeFNrLZFDmeGg" id="(0.0,0.45977011494252873)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GEKbABC2EeeFNrLZFDmeGg" id="(1.0,0.37267080745341613)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_LwcQ0MrQEee5xeGZ3-9rfg" type="StereotypeCommentLink" source="_wmc8QBC1EeeFNrLZFDmeGg" target="_LwbpwMrQEee5xeGZ3-9rfg"> + <styles xmi:type="notation:FontStyle" xmi:id="_LwcQ0crQEee5xeGZ3-9rfg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Lwc34MrQEee5xeGZ3-9rfg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_LwcQ0srQEee5xeGZ3-9rfg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_LwcQ08rQEee5xeGZ3-9rfg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_LwcQ1MrQEee5xeGZ3-9rfg"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_LwkzscrQEee5xeGZ3-9rfg" type="StereotypeCommentLink" source="_0pFrQBC1EeeFNrLZFDmeGg" target="_LwkMo8rQEee5xeGZ3-9rfg"> + <styles xmi:type="notation:FontStyle" xmi:id="_LwkzssrQEee5xeGZ3-9rfg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_LwkztsrQEee5xeGZ3-9rfg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Lwkzs8rQEee5xeGZ3-9rfg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_LwkztMrQEee5xeGZ3-9rfg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_LwkztcrQEee5xeGZ3-9rfg"/> + </edges> + </notation:Diagram> + <notation:Diagram xmi:id="_9rYNABInEeeFNrLZFDmeGg" type="PapyrusUMLClassDiagram" name="ControlValues Diagram" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_DPlccBIoEeeFNrLZFDmeGg" type="Enumeration_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_DPmDgBIoEeeFNrLZFDmeGg" type="Enumeration_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_DPmDgRIoEeeFNrLZFDmeGg" type="Enumeration_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_DPmDghIoEeeFNrLZFDmeGg" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_DPmqkBIoEeeFNrLZFDmeGg" type="Enumeration_LiteralCompartment"> + <children xmi:type="notation:Shape" xmi:id="_ESK60BIoEeeFNrLZFDmeGg" type="EnumerationLiteral_LiteralLabel"> + <element xmi:type="uml:EnumerationLiteral" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues.enumeration_packagedElement_ControlValue.enumerationLiteral_ownedLiteral_disable"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ESK60RIoEeeFNrLZFDmeGg"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_EkJboBIoEeeFNrLZFDmeGg" type="EnumerationLiteral_LiteralLabel"> + <element xmi:type="uml:EnumerationLiteral" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues.enumeration_packagedElement_ControlValue.enumerationLiteral_ownedLiteral_enable"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_EkJboRIoEeeFNrLZFDmeGg"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_DPmqkRIoEeeFNrLZFDmeGg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_DPmqkhIoEeeFNrLZFDmeGg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_DPmqkxIoEeeFNrLZFDmeGg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_DPmqlBIoEeeFNrLZFDmeGg"/> + </children> + <element xmi:type="uml:Enumeration" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues.enumeration_packagedElement_ControlValue"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_DPlccRIoEeeFNrLZFDmeGg" x="279" y="47" width="220" height="97"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_FErV0BIoEeeFNrLZFDmeGg" type="Comment_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_FEr84BIoEeeFNrLZFDmeGg" type="Comment_BodyLabel"/> + <element xmi:type="uml:Comment" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues.enumeration_packagedElement_ControlValue.enumerationLiteral_ownedLiteral_disable._ownedComment.0"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_FErV0RIoEeeFNrLZFDmeGg" x="384" y="236" width="201" height="101"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_GuLqQBIoEeeFNrLZFDmeGg" type="Comment_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_GuMRUBIoEeeFNrLZFDmeGg" type="Comment_BodyLabel"/> + <element xmi:type="uml:Comment" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues.enumeration_packagedElement_ControlValue.enumerationLiteral_ownedLiteral_enable._ownedComment.0"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GuLqQRIoEeeFNrLZFDmeGg" x="93" y="235" width="205" height="133"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_X6UzwMrQEee5xeGZ3-9rfg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_X6UzwcrQEee5xeGZ3-9rfg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_X6Uzw8rQEee5xeGZ3-9rfg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Enumeration" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues.enumeration_packagedElement_ControlValue"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_X6UzwsrQEee5xeGZ3-9rfg" x="479" y="47"/> + </children> + <styles xmi:type="notation:StringValueStyle" xmi:id="_9rYNARInEeeFNrLZFDmeGg" name="diagram_compatibility_version" stringValue="1.3.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_9rYNAhInEeeFNrLZFDmeGg"/> + <styles xmi:type="style_1:PapyrusViewStyle" xmi:id="_9rYNAxInEeeFNrLZFDmeGg"> + <owner xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues"/> + </styles> + <styles xmi:type="style:PapyrusDiagramStyle" xmi:id="_SbJgMMrOEee5xeGZ3-9rfg" diagramKindId="org.eclipse.papyrus.sysml.diagram.blockdefinition"> + <owner xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues"/> + </styles> + <element xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues"/> + <edges xmi:type="notation:Connector" xmi:id="_KHJKIBIoEeeFNrLZFDmeGg" type="Comment_AnnotatedElementEdge" source="_FErV0BIoEeeFNrLZFDmeGg" target="_DPlccBIoEeeFNrLZFDmeGg"> + <styles xmi:type="notation:FontStyle" xmi:id="_KHJKIRIoEeeFNrLZFDmeGg"/> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_KHJKIhIoEeeFNrLZFDmeGg" points="[400, 100, -643984, -643984]$[301, 100, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KHVXYBIoEeeFNrLZFDmeGg" id="(0.13930348258706468,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KHVXYRIoEeeFNrLZFDmeGg" id="(0.8181818181818182,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_L_1xIBIoEeeFNrLZFDmeGg" type="Comment_AnnotatedElementEdge" source="_GuLqQBIoEeeFNrLZFDmeGg" target="_DPlccBIoEeeFNrLZFDmeGg"> + <styles xmi:type="notation:FontStyle" xmi:id="_L_1xIRIoEeeFNrLZFDmeGg"/> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_L_1xIhIoEeeFNrLZFDmeGg" points="[400, 200, -643984, -643984]$[301, 200, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_MAHd8BIoEeeFNrLZFDmeGg" id="(0.2731707317073171,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_MAIFABIoEeeFNrLZFDmeGg" id="(0.16363636363636364,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_X6UzxMrQEee5xeGZ3-9rfg" type="StereotypeCommentLink" source="_DPlccBIoEeeFNrLZFDmeGg" target="_X6UzwMrQEee5xeGZ3-9rfg"> + <styles xmi:type="notation:FontStyle" xmi:id="_X6UzxcrQEee5xeGZ3-9rfg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_X6UzycrQEee5xeGZ3-9rfg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Enumeration" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues.enumeration_packagedElement_ControlValue"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_X6UzxsrQEee5xeGZ3-9rfg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_X6Uzx8rQEee5xeGZ3-9rfg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_X6UzyMrQEee5xeGZ3-9rfg"/> + </edges> + </notation:Diagram> + <notation:Diagram xmi:id="_3Ej0kBIoEeeFNrLZFDmeGg" type="PapyrusUMLClassDiagram" name="Requirements VerdictKind Diagram" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_3fAU4BIoEeeFNrLZFDmeGg" type="Enumeration_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_3fA78BIoEeeFNrLZFDmeGg" type="Enumeration_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_3fA78RIoEeeFNrLZFDmeGg" type="Enumeration_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_3fA78hIoEeeFNrLZFDmeGg" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_3fBjABIoEeeFNrLZFDmeGg" type="Enumeration_LiteralCompartment"> + <children xmi:type="notation:Shape" xmi:id="_51BKABIoEeeFNrLZFDmeGg" type="EnumerationLiteral_LiteralLabel"> + <element xmi:type="uml:EnumerationLiteral" href="SysML-Standard-Library.uml#_8IATJTthEeWLFIpRJHQiHw"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_51BKARIoEeeFNrLZFDmeGg"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_6HlgsBIoEeeFNrLZFDmeGg" type="EnumerationLiteral_LiteralLabel"> + <element xmi:type="uml:EnumerationLiteral" href="SysML-Standard-Library.uml#_8IATIzthEeWLFIpRJHQiHw"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_6HlgsRIoEeeFNrLZFDmeGg"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_6ZBO8BIoEeeFNrLZFDmeGg" type="EnumerationLiteral_LiteralLabel"> + <element xmi:type="uml:EnumerationLiteral" href="SysML-Standard-Library.uml#_8IATJDthEeWLFIpRJHQiHw"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_6ZBO8RIoEeeFNrLZFDmeGg"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_6qINEBIoEeeFNrLZFDmeGg" type="EnumerationLiteral_LiteralLabel"> + <element xmi:type="uml:EnumerationLiteral" href="SysML-Standard-Library.uml#_8IATIjthEeWLFIpRJHQiHw"/> + <layoutConstraint xmi:type="notation:Location" xmi:id="_6qINERIoEeeFNrLZFDmeGg"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_3fBjARIoEeeFNrLZFDmeGg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_3fBjAhIoEeeFNrLZFDmeGg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_3fBjAxIoEeeFNrLZFDmeGg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3fBjBBIoEeeFNrLZFDmeGg"/> + </children> + <element xmi:type="uml:Enumeration" href="SysML-Standard-Library.uml#_8IATIDthEeWLFIpRJHQiHw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3fAU4RIoEeeFNrLZFDmeGg" x="80" y="40" width="142" height="139"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_7PFUQBIoEeeFNrLZFDmeGg" type="Comment_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_7PGiYBIoEeeFNrLZFDmeGg" type="Comment_BodyLabel"/> + <element xmi:type="uml:Comment" href="SysML-Standard-Library.uml#_8IATITthEeWLFIpRJHQiHw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7PFUQRIoEeeFNrLZFDmeGg" x="320" y="60" width="181" height="101"/> + </children> + <styles xmi:type="notation:StringValueStyle" xmi:id="_3Ej0kRIoEeeFNrLZFDmeGg" name="diagram_compatibility_version" stringValue="1.3.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_3Ej0khIoEeeFNrLZFDmeGg"/> + <styles xmi:type="style:PapyrusDiagramStyle" xmi:id="_9rrngMrNEee5xeGZ3-9rfg" diagramKindId="org.eclipse.papyrus.sysml.diagram.blockdefinition"> + <owner xmi:type="uml:Package" href="SysML-Standard-Library.uml#_7DGgkDthEeWLFIpRJHQiHw"/> + </styles> + <element xmi:type="uml:Package" href="SysML-Standard-Library.uml#_7DGgkDthEeWLFIpRJHQiHw"/> + <edges xmi:type="notation:Connector" xmi:id="_-9EB4BIoEeeFNrLZFDmeGg" type="Comment_AnnotatedElementEdge" source="_7PFUQBIoEeeFNrLZFDmeGg" target="_3fAU4BIoEeeFNrLZFDmeGg"> + <styles xmi:type="notation:FontStyle" xmi:id="_-9EB4RIoEeeFNrLZFDmeGg"/> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_-9EB4hIoEeeFNrLZFDmeGg" points="[320, 100, -643984, -643984]$[221, 100, -643984, -643984]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_-9RdQBIoEeeFNrLZFDmeGg" id="(0.0,0.39603960396039606)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_-9RdQRIoEeeFNrLZFDmeGg" id="(1.0,0.5251798561151079)"/> + </edges> + </notation:Diagram> +</xmi:XMI>
diff --git a/core/org.eclipse.papyrus.sysml/resources/library/SysML-Standard-Library.uml b/core/org.eclipse.papyrus.sysml/resources/library/SysML-Standard-Library.uml new file mode 100644 index 0000000..5e910a3 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/resources/library/SysML-Standard-Library.uml
@@ -0,0 +1,117 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Blocks="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Blocks" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:standard="http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Blocks http://www.eclipse.org/papyrus/sysml/1.5/SysML#//blocks"> + <uml:Package xmi:id="SysML.Libraries" name="Libraries"> + <packagedElement xmi:type="uml:Package" xmi:id="SysML.Libraries.ControlValues" name="ControlValues"> + <packagedElement xmi:type="uml:Enumeration" xmi:id="SysML_dataType.ControlValue" name="ControlValue"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML_dataType.ControlValue._comment0"> + <body>The ControlValue enumeration is a type for treating control values as data and for UML control pins. It can be used as the type of behavior and operation parameters, object nodes, and attributes, and so on. The possible runtime values are given as enumeration literals. Modelers can extend the enumeration with additional literals, such as suspend, resume, with their own semantics.</body> + </ownedComment> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="SysML.disable" name="disable"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.disable._comment0"> + <body>The disable literal means a termination of an executing behavior that can only be started again from the beginning (compare to suspend).</body> + </ownedComment> + </ownedLiteral> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="SysML.enable" name="enable"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.enable._comment0"> + <body>The enable literal means to start a new execution of a behavior (compare to resume).</body> + </ownedComment> + </ownedLiteral> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="SysML.Libraries.PrimitiveValueTypes" name="PrimitiveValueTypes"> + <packagedElement xmi:type="uml:DataType" xmi:id="SysML_dataType.Number" name="Number" isAbstract="true"/> + <packagedElement xmi:type="uml:DataType" xmi:id="SysML_dataType.Complex" name="Complex"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML_dataType.Complex._comment0"> + <body>A Complex value type represents the mathematical concept of a complex number. A complex number consists of a real part defined by a real number, and an imaginary part defined by a real number multiplied by the square root of -1. Complex numbers are used to express solutions to various forms of mathematical equations.</body> + </ownedComment> + <generalization xmi:type="uml:Generalization" xmi:id="SysML_dataType.Complex._generalization.SysML_dataType.Number" general="SysML_dataType.Number"/> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML_dataType.Complex.imaginaryPart" name="imaginaryPart" type="SysML_dataType.Real"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML_dataType.Complex.imaginaryPart._comment0"> + <body>A real number used to express the imaginary part of a complex number.</body> + </ownedComment> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML_dataType.Complex.realPart" name="realPart" type="SysML_dataType.Real"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML_dataType.Complex.realPart._comment0"> + <body>A real number used to express the real part of a complex number.</body> + </ownedComment> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:DataType" xmi:id="SysML_dataType.Integer" name="Integer"> + <generalization xmi:type="uml:Generalization" xmi:id="SysML_dataType.Integer._generalization.SysML_dataType.Number" general="SysML_dataType.Number"/> + </packagedElement> + <packagedElement xmi:type="uml:DataType" xmi:id="SysML_dataType.String" name="String"/> + <packagedElement xmi:type="uml:DataType" xmi:id="SysML_dataType.Real" name="Real"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML_dataType.Real._comment0"> + <body>A Real value type represents the mathematical concept of a real number. A Real value type may be used to type values that hold continuous quantities, without committing a specific representation such as a floating point data type with restrictions on precision and scale.</body> + </ownedComment> + <generalization xmi:type="uml:Generalization" xmi:id="SysML_dataType.Real._generalization.SysML_dataType.Number" general="SysML_dataType.Number"/> + </packagedElement> + <packagedElement xmi:type="uml:DataType" xmi:id="SysML_dataType.Boolean" name="Boolean"/> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="SysML.Libraries.UnitAndQuantityKind" name="UnitAndQuantityKind"> + <packagedElement xmi:type="uml:Association" xmi:id="SysML.A_quantityKind_unit" name="A_quantityKind_unit" memberEnd="SysML.Unit.quantityKind SysML.A_quantityKind_unit.unit"> + <ownedEnd xmi:type="uml:Property" xmi:id="SysML.A_quantityKind_unit.unit" name="unit" type="SysML.Unit" association="SysML.A_quantityKind_unit"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.A_quantityKind_unit.unit.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.A_quantityKind_unit.unit.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="SysML.QuantityKind" name="QuantityKind"> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.QuantityKind.definitionURI" name="definitionURI"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.QuantityKind.definitionURI.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.QuantityKind.description" name="description"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.QuantityKind.description.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.QuantityKind.symbol" name="symbol"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.QuantityKind.symbol.lowerValue0"/> + </ownedAttribute> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="SysML.Unit" name="Unit"> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Unit.definitionURI" name="definitionURI"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Unit.definitionURI.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Unit.description" name="description"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Unit.description.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Unit.quantityKind" name="quantityKind" type="SysML.QuantityKind" association="SysML.A_quantityKind_unit"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Unit.quantityKind.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Unit.quantityKind.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Unit.symbol" name="symbol"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Unit.symbol.lowerValue0"/> + </ownedAttribute> + </packagedElement> + </packagedElement> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="SysML.Libraries._profileApplication.Standard"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__hHm4PIkEee2HKnpxGD9pA" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard#/"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="SysML.Libraries._profileApplication.SysML"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__is7QfIkEee2HKnpxGD9pA" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.5/SysML#/"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML"/> + </profileApplication> + </uml:Package> + <standard:ModelLibrary xmi:id="StandardProfile.ModelLibrary_appliedOn_SysML.Libraries.UnitAndQuantityKind" base_Package="SysML.Libraries.UnitAndQuantityKind"/> + <Blocks:ValueType xmi:id="SysML.ValueType_appliedOn_SysML_dataType.String" base_DataType="SysML_dataType.String"/> + <Blocks:ValueType xmi:id="SysML.ValueType_appliedOn_SysML_dataType.Boolean" base_DataType="SysML_dataType.Boolean"/> + <Blocks:ValueType xmi:id="SysML.ValueType_appliedOn_SysML_dataType.Real" base_DataType="SysML_dataType.Real"/> + <Blocks:ValueType xmi:id="SysML.ValueType_appliedOn_SysML_dataType.ControlValue" base_DataType="SysML_dataType.ControlValue"/> + <Blocks:ValueType xmi:id="SysML.ValueType_appliedOn_SysML_dataType.Number" base_DataType="SysML_dataType.Number"/> + <standard:ModelLibrary xmi:id="StandardProfile.ModelLibrary_appliedOn_SysML.Libraries" base_Package="SysML.Libraries"/> + <Blocks:Block xmi:id="SysML.Block_appliedOn_SysML.QuantityKind" base_Class="SysML.QuantityKind"/> + <standard:ModelLibrary xmi:id="StandardProfile.ModelLibrary_appliedOn_SysML.Libraries.PrimitiveValueTypes" base_Package="SysML.Libraries.PrimitiveValueTypes"/> + <Blocks:ValueType xmi:id="SysML.ValueType_appliedOn_SysML_dataType.Integer" base_DataType="SysML_dataType.Integer"/> + <standard:ModelLibrary xmi:id="StandardProfile.ModelLibrary_appliedOn_SysML.Libraries.ControlValues" base_Package="SysML.Libraries.ControlValues"/> + <Blocks:ValueType xmi:id="SysML.ValueType_appliedOn_SysML_dataType.Complex" base_DataType="SysML_dataType.Complex"/> + <Blocks:Block xmi:id="SysML.Block_appliedOn_SysML.Unit" base_Class="SysML.Unit"/> +</xmi:XMI>
diff --git a/core/org.eclipse.papyrus.sysml/resources/profile/SysML.profile.di b/core/org.eclipse.papyrus.sysml/resources/profile/SysML.profile.di new file mode 100644 index 0000000..bf9abab --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/resources/profile/SysML.profile.di
@@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"/>
diff --git a/core/org.eclipse.papyrus.sysml/resources/profile/SysML.profile.genmodel b/core/org.eclipse.papyrus.sysml/resources/profile/SysML.profile.genmodel new file mode 100644 index 0000000..8ffe596 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/resources/profile/SysML.profile.genmodel
@@ -0,0 +1,443 @@ +<?xml version="1.0" encoding="UTF-8"?> +<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:genmodel="http://www.eclipse.org/uml2/2.2.0/GenModel" + copyrightText="Copyright (c) 2015 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:
 Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation
" + modelDirectory="/org.eclipse.papyrus.sysml/src-gen" editDirectory="/org.eclipse.papyrus.sysml.edit/src-gen" + editorDirectory="/org.eclipse.papyrus.sysml.editor/src-gen" modelPluginID="org.eclipse.papyrus.sysml" + modelName="SysML" editPluginClass="org.eclipse.papyrus.sysml.provider.SysMLEditPlugin" + editorPluginClass="org.eclipse.papyrus.sysml.presentation.SysMLEditorPlugin" nonNLSMarkers="true" + rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" testsDirectory="/org.eclipse.papyrus.sysml.tests/src-gen" + testSuiteClass="org.eclipse.papyrus.sysml.tests.SysMLAllTests" importerID="org.eclipse.uml2.uml.ecore.importer" + complianceLevel="8.0" copyrightFields="false" usedGenPackages="../../../org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore ../../../org.eclipse.uml2.types/model/Types.genmodel#//types ../../../org.eclipse.uml2.uml/model/UML.genmodel#//uml" + classNamePattern="" operationReflection="true" importOrganizing="true"> + <genAnnotations source="http://www.eclipse.org/emf/2002/GenModel/importer/org.eclipse.uml2.uml.ecore.importer"> + <details key="ECORE_TAGGED_VALUES" value="PROCESS"/> + <details key="UNION_PROPERTIES" value="REPORT"/> + <details key="UNTYPED_PROPERTIES" value="REPORT"/> + <details key="DUPLICATE_FEATURES" value="DISCARD"/> + <details key="SUBSETTING_PROPERTIES" value="REPORT"/> + <details key="VALIDATION_DELEGATES" value="IGNORE"/> + <details key="OPPOSITE_ROLE_NAMES" value="IGNORE"/> + <details key="COMMENTS" value="PROCESS"/> + <details key="DUPLICATE_FEATURE_INHERITANCE" value="DISCARD"/> + <details key="DUPLICATE_OPERATIONS" value="DISCARD"/> + <details key="PROPERTY_DEFAULT_EXPRESSIONS" value="IGNORE"/> + <details key="INVARIANT_CONSTRAINTS" value="PROCESS"/> + <details key="REDEFINING_PROPERTIES" value="REPORT"/> + <details key="ANNOTATION_DETAILS" value="PROCESS"/> + <details key="NON_API_INVARIANTS" value="IGNORE"/> + <details key="DUPLICATE_OPERATION_INHERITANCE" value="DISCARD"/> + <details key="REDEFINING_OPERATIONS" value="REPORT"/> + <details key="INVOCATION_DELEGATES" value="IGNORE"/> + <details key="DERIVED_FEATURES" value="PROCESS"/> + <details key="OPERATION_BODIES" value="IGNORE"/> + <details key="CAMEL_CASE_NAMES" value="IGNORE"/> + <details key="SUPER_CLASS_ORDER" value="PROCESS"/> + </genAnnotations> + <foreignModel>SysML.profile.uml</foreignModel> + <genPackages xsi:type="genmodel:GenPackage" prefix="SysML" basePackage="org.eclipse.papyrus" + disposableProviderFactory="true" classPackageSuffix="internal.impl" ecorePackage="sysml.ecore#/"> + <nestedGenPackages xsi:type="genmodel:GenPackage" prefix="Portsandflows" basePackage="org.eclipse.papyrus.sysml" + disposableProviderFactory="true" classPackageSuffix="internal.impl" ecorePackage="sysml.ecore#//portsandflows"> + <genEnums xsi:type="genmodel:GenEnum" typeSafeEnumCompatible="false" ecoreEnum="sysml.ecore#//portsandflows/FlowDirection"> + <genEnumLiterals xsi:type="genmodel:GenEnumLiteral" ecoreEnumLiteral="sysml.ecore#//portsandflows/FlowDirection/in"/> + <genEnumLiterals xsi:type="genmodel:GenEnumLiteral" ecoreEnumLiteral="sysml.ecore#//portsandflows/FlowDirection/inout"/> + <genEnumLiterals xsi:type="genmodel:GenEnumLiteral" ecoreEnumLiteral="sysml.ecore#//portsandflows/FlowDirection/out"/> + </genEnums> + <genEnums xsi:type="genmodel:GenEnum" typeSafeEnumCompatible="false" ecoreEnum="sysml.ecore#//portsandflows/FeatureDirection"> + <genEnumLiterals xsi:type="genmodel:GenEnumLiteral" ecoreEnumLiteral="sysml.ecore#//portsandflows/FeatureDirection/provided"/> + <genEnumLiterals xsi:type="genmodel:GenEnumLiteral" ecoreEnumLiteral="sysml.ecore#//portsandflows/FeatureDirection/providedRequired"/> + <genEnumLiterals xsi:type="genmodel:GenEnumLiteral" ecoreEnumLiteral="sysml.ecore#//portsandflows/FeatureDirection/required"/> + </genEnums> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//portsandflows/ItemFlow"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//portsandflows/ItemFlow/base_InformationFlow"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//portsandflows/ItemFlow/itemProperty"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//portsandflows/ProxyPort"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//portsandflows/ProxyPort/base_Port"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//portsandflows/FullPort"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//portsandflows/FullPort/base_Port"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//portsandflows/InvocationOnNestedPortAction"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//portsandflows/InvocationOnNestedPortAction/base_InvocationAction"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//portsandflows/InvocationOnNestedPortAction/onNestedPort"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//portsandflows/InterfaceBlock"/> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//portsandflows/FlowProperty"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//portsandflows/FlowProperty/base_Property"/> + <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//portsandflows/FlowProperty/direction"/> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//portsandflows/FlowProperty/getIcon"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//portsandflows/ChangeStructuralFeatureEvent"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//portsandflows/ChangeStructuralFeatureEvent/base_ChangeEvent"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//portsandflows/ChangeStructuralFeatureEvent/structuralFeature"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//portsandflows/TriggerOnNestedPort"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//portsandflows/TriggerOnNestedPort/base_Trigger"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//portsandflows/TriggerOnNestedPort/onNestedPort"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//portsandflows/AcceptChangeStructuralFeatureEventAction"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//portsandflows/AcceptChangeStructuralFeatureEventAction/base_AcceptEventAction"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//portsandflows/DirectedFeature"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//portsandflows/DirectedFeature/base_Feature"/> + <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//portsandflows/DirectedFeature/featureDirection"/> + </genClasses> + </nestedGenPackages> + <nestedGenPackages xsi:type="genmodel:GenPackage" prefix="Blocks" basePackage="org.eclipse.papyrus.sysml" + disposableProviderFactory="true" classPackageSuffix="internal.impl" ecorePackage="sysml.ecore#//blocks"> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//blocks/DistributedProperty"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/DistributedProperty/base_Property"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//blocks/AdjunctProperty"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/AdjunctProperty/base_Property"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/AdjunctProperty/principal"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//blocks/EndPathMultiplicity"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/EndPathMultiplicity/base_Property"/> + <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//blocks/EndPathMultiplicity/lower"/> + <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//blocks/EndPathMultiplicity/upper"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//blocks/ParticipantProperty"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/ParticipantProperty/base_Property"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/ParticipantProperty/end"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//blocks/Block"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/Block/base_Class"/> + <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//blocks/Block/isEncapsulated"/> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//blocks/Block/getReferences"/> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//blocks/Block/getParts"/> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//blocks/Block/getFlowProperties"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//blocks/ConnectorProperty"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/ConnectorProperty/base_Property"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/ConnectorProperty/connector"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//blocks/BindingConnector"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/BindingConnector/base_Connector"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//blocks/ClassifierBehaviorProperty"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/ClassifierBehaviorProperty/base_Property"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//blocks/BoundReference"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/BoundReference/bindingPath"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/BoundReference/boundEnd"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//blocks/PropertySpecificType"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/PropertySpecificType/base_Classifier"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//blocks/NestedConnectorEnd"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/NestedConnectorEnd/base_ConnectorEnd"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//blocks/ValueType"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/ValueType/base_DataType"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/ValueType/quantityKind"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/ValueType/unit"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" image="false" ecoreClass="sysml.ecore#//blocks/DirectedRelationshipPropertyPath"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/DirectedRelationshipPropertyPath/base_DirectedRelationship"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/DirectedRelationshipPropertyPath/sourceContext"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/DirectedRelationshipPropertyPath/sourcePropertyPath"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/DirectedRelationshipPropertyPath/targetContext"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/DirectedRelationshipPropertyPath/targetPropertyPath"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" image="false" ecoreClass="sysml.ecore#//blocks/ElementPropertyPath"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/ElementPropertyPath/base_Element"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/ElementPropertyPath/propertyPath"/> + </genClasses> + </nestedGenPackages> + <nestedGenPackages xsi:type="genmodel:GenPackage" prefix="Activities" basePackage="org.eclipse.papyrus.sysml" + disposableProviderFactory="true" classPackageSuffix="internal.impl" ecorePackage="sysml.ecore#//activities"> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//activities/Optional"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//activities/Optional/base_Parameter"/> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//activities/Optional/Constraint1"> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//activities/Optional/Constraint1/diagnostics"/> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//activities/Optional/Constraint1/context"/> + </genOperations> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//activities/Continuous"/> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//activities/Rate"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//activities/Rate/base_ActivityEdge"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//activities/Rate/base_ObjectNode"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//activities/Rate/base_Parameter"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//activities/Rate/rate"/> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//activities/Rate/Constraint2"> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//activities/Rate/Constraint2/diagnostics"/> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//activities/Rate/Constraint2/context"/> + </genOperations> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//activities/Rate/Constraint1"> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//activities/Rate/Constraint1/diagnostics"/> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//activities/Rate/Constraint1/context"/> + </genOperations> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//activities/ControlOperator"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//activities/ControlOperator/base_Behavior"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//activities/ControlOperator/base_Operation"/> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//activities/ControlOperator/Constraint1"> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//activities/ControlOperator/Constraint1/diagnostics"/> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//activities/ControlOperator/Constraint1/context"/> + </genOperations> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//activities/ControlOperator/Constraint2"> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//activities/ControlOperator/Constraint2/diagnostics"/> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//activities/ControlOperator/Constraint2/context"/> + </genOperations> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//activities/Discrete"/> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//activities/Overwrite"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//activities/Overwrite/base_ObjectNode"/> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//activities/Overwrite/Constraint1"> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//activities/Overwrite/Constraint1/diagnostics"/> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//activities/Overwrite/Constraint1/context"/> + </genOperations> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//activities/NoBuffer"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//activities/NoBuffer/base_ObjectNode"/> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//activities/NoBuffer/Constraint1"> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//activities/NoBuffer/Constraint1/diagnostics"/> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//activities/NoBuffer/Constraint1/context"/> + </genOperations> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//activities/Probability"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//activities/Probability/base_ActivityEdge"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//activities/Probability/base_ParameterSet"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//activities/Probability/probability"/> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//activities/Probability/Constraint4"> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//activities/Probability/Constraint4/diagnostics"/> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//activities/Probability/Constraint4/context"/> + </genOperations> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//activities/Probability/Constraint3"> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//activities/Probability/Constraint3/diagnostics"/> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//activities/Probability/Constraint3/context"/> + </genOperations> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//activities/Probability/Constraint1"> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//activities/Probability/Constraint1/diagnostics"/> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//activities/Probability/Constraint1/context"/> + </genOperations> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//activities/Probability/Constraint2"> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//activities/Probability/Constraint2/diagnostics"/> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//activities/Probability/Constraint2/context"/> + </genOperations> + </genClasses> + </nestedGenPackages> + <nestedGenPackages xsi:type="genmodel:GenPackage" prefix="Allocations" basePackage="org.eclipse.papyrus.sysml" + disposableProviderFactory="true" classPackageSuffix="internal.impl" ecorePackage="sysml.ecore#//allocations"> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//allocations/Allocate"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//allocations/Allocate/base_Abstraction"/> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//allocations/Allocate/getAllocatedFrom"> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//allocations/Allocate/getAllocatedFrom/ref"/> + </genOperations> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//allocations/Allocate/getAllocatedTo"> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//allocations/Allocate/getAllocatedTo/ref"/> + </genOperations> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//allocations/AllocateActivityPartition"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//allocations/AllocateActivityPartition/base_ActivityPartition"/> + </genClasses> + </nestedGenPackages> + <nestedGenPackages xsi:type="genmodel:GenPackage" prefix="Requirements" basePackage="org.eclipse.papyrus.sysml" + disposableProviderFactory="true" classPackageSuffix="internal.impl" ecorePackage="sysml.ecore#//requirements"> + <genEnums xsi:type="genmodel:GenEnum" typeSafeEnumCompatible="false" ecoreEnum="sysml.ecore#//requirements/VerdictKind"> + <genEnumLiterals xsi:type="genmodel:GenEnumLiteral" ecoreEnumLiteral="sysml.ecore#//requirements/VerdictKind/error"/> + <genEnumLiterals xsi:type="genmodel:GenEnumLiteral" ecoreEnumLiteral="sysml.ecore#//requirements/VerdictKind/fail"/> + <genEnumLiterals xsi:type="genmodel:GenEnumLiteral" ecoreEnumLiteral="sysml.ecore#//requirements/VerdictKind/inconclusive"/> + <genEnumLiterals xsi:type="genmodel:GenEnumLiteral" ecoreEnumLiteral="sysml.ecore#//requirements/VerdictKind/pass"/> + </genEnums> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//requirements/Copy"/> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//requirements/Trace"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//requirements/Trace/base_Abstraction"/> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//requirements/Trace/getTracedFrom"> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//requirements/Trace/getTracedFrom/ref"/> + </genOperations> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" image="false" ecoreClass="sysml.ecore#//requirements/AbstractRequirement"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//requirements/AbstractRequirement/base_NamedElement"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//requirements/AbstractRequirement/derived"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//requirements/AbstractRequirement/derivedFrom"/> + <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//requirements/AbstractRequirement/id"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//requirements/AbstractRequirement/master"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//requirements/AbstractRequirement/refinedBy"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//requirements/AbstractRequirement/satisfiedBy"/> + <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//requirements/AbstractRequirement/text"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//requirements/AbstractRequirement/tracedTo"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//requirements/AbstractRequirement/verifiedBy"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//requirements/DeriveReqt"/> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//requirements/Verify"> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//requirements/Verify/getVerifies"> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//requirements/Verify/getVerifies/ref"/> + </genOperations> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//requirements/Refine"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//requirements/Refine/base_Abstraction"/> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//requirements/Refine/getRefines"> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//requirements/Refine/getRefines/ref"/> + </genOperations> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//requirements/Satisfy"> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//requirements/Satisfy/getSatisfies"> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//requirements/Satisfy/getSatisfies/ref"/> + </genOperations> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//requirements/TestCase"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//requirements/TestCase/base_Behavior"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//requirements/TestCase/base_Operation"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//requirements/Requirement"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//requirements/Requirement/base_Class"/> + </genClasses> + </nestedGenPackages> + <nestedGenPackages xsi:type="genmodel:GenPackage" prefix="Modelelements" basePackage="org.eclipse.papyrus.sysml" + disposableProviderFactory="true" classPackageSuffix="internal.impl" ecorePackage="sysml.ecore#//modelelements"> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//modelelements/Conform"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/Conform/base_Generalization"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//modelelements/Problem"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/Problem/base_Comment"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//modelelements/Viewpoint"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/Viewpoint/base_Class"/> + <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//modelelements/Viewpoint/concern"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/Viewpoint/concernList"/> + <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//modelelements/Viewpoint/language"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/Viewpoint/method"/> + <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//modelelements/Viewpoint/presentation"/> + <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//modelelements/Viewpoint/purpose"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/Viewpoint/stakeholder"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//modelelements/Stakeholder"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/Stakeholder/base_Classifier"/> + <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//modelelements/Stakeholder/concern"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/Stakeholder/concernList"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//modelelements/Rationale"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/Rationale/base_Comment"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//modelelements/Expose"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/Expose/base_Dependency"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//modelelements/View"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/View/base_Class"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/View/stakeholder"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/View/viewPoint"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//modelelements/ElementGroup"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/ElementGroup/base_Comment"/> + <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//modelelements/ElementGroup/criterion.1"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/ElementGroup/member.1"/> + <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//modelelements/ElementGroup/name"/> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/ElementGroup/orderedMemeber"/> + <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//modelelements/ElementGroup/size.1"/> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//modelelements/ElementGroup/allGroups"> + <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//modelelements/ElementGroup/allGroups/e"/> + </genOperations> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//modelelements/ElementGroup/criterion"/> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//modelelements/ElementGroup/member"/> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//modelelements/ElementGroup/size"/> + </genClasses> + </nestedGenPackages> + <nestedGenPackages xsi:type="genmodel:GenPackage" prefix="Deprecatedelements" + basePackage="org.eclipse.papyrus.sysml" disposableProviderFactory="true" classPackageSuffix="internal.impl" + ecorePackage="sysml.ecore#//deprecatedelements"> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//deprecatedelements/FlowPort"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//deprecatedelements/FlowPort/base_Port"/> + <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//deprecatedelements/FlowPort/direction"/> + <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//deprecatedelements/FlowPort/isAtomic"/> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//deprecatedelements/FlowPort/getIcon"/> + </genClasses> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//deprecatedelements/FlowSpecification"> + <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" + propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//deprecatedelements/FlowSpecification/base_Interface"/> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//deprecatedelements/FlowSpecification/getFlowProperties"/> + </genClasses> + </nestedGenPackages> + <nestedGenPackages xsi:type="genmodel:GenPackage" prefix="Constraintblocks" basePackage="org.eclipse.papyrus.sysml" + disposableProviderFactory="true" classPackageSuffix="internal.impl" ecorePackage="sysml.ecore#//constraintblocks"> + <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//constraintblocks/ConstraintBlock"> + <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//constraintblocks/ConstraintBlock/getParameters"/> + </genClasses> + </nestedGenPackages> + </genPackages> +</genmodel:GenModel>
diff --git a/core/org.eclipse.papyrus.sysml/resources/profile/SysML.profile.notation b/core/org.eclipse.papyrus.sysml/resources/profile/SysML.profile.notation new file mode 100644 index 0000000..bf9abab --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/resources/profile/SysML.profile.notation
@@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"/>
diff --git a/core/org.eclipse.papyrus.sysml/resources/profile/SysML.profile.uml b/core/org.eclipse.papyrus.sysml/resources/profile/SysML.profile.uml new file mode 100644 index 0000000..fd2bdf7 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/resources/profile/SysML.profile.uml
@@ -0,0 +1,1706 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Ecore="http://www.eclipse.org/uml2/schemas/Ecore/5" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/uml2/schemas/Ecore/5 pathmap://UML_PROFILES/Ecore.profile.uml#_z1OFcHjqEdy8S4Cr8Rc_NA"> + <uml:Profile xmi:id="SysML" name="SysML" URI="http://www.eclipse.org/papyrus/sysml/1.5/SysML"> + <packageImport xmi:type="uml:PackageImport" href="#SysML._packageImport.UML"/> + <packageImport xmi:type="uml:PackageImport" xmi:id="SysML._packageImport.StandardProfile"> + <importedPackage xmi:type="uml:Profile" href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/> + </packageImport> + <packageImport xmi:type="uml:PackageImport" xmi:id="_BYNFYPFWEeefg-uwXxvTkQ"> + <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/> + </packageImport> + <packageImport xmi:type="uml:PackageImport" xmi:id="_BYNscPFWEeefg-uwXxvTkQ"> + <importedPackage xmi:type="uml:Model" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_0"/> + </packageImport> + <packagedElement xmi:type="uml:Package" xmi:id="SysML.PortsAndFlows" name="PortsAndFlows"> + <packageImport xmi:type="uml:PackageImport" xmi:id="SysML.PortsAndFlows._packageImport.SysML.Blocks" importedPackage="SysML.Blocks"/> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.ItemFlow" name="ItemFlow"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.ItemFlow._comment0"> + <body>An ItemFlow describes the flow of items across a connector or an association. It may constrain the item exchange between blocks, block usages, or flow ports as specified by their flow properties. For example, a pump connected to a tank: the pump has an “out” flow property of type Liquid and the tank has an “in” FlowProperty of type Liquid. To signify that only water flows between the pump and the tank, we can specify an ItemFlow of type Water on the connector.</body> + </ownedComment> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.ItemFlow.base_InformationFlow" name="base_InformationFlow" association="SysML.E_extension_ItemFlow_base_InformationFlow"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#InformationFlow"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ItemFlow.base_InformationFlow.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.ItemFlow.itemProperty" name="itemProperty"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.ItemFlow.itemProperty._comment0"> + <body>An optional property that relates the flowing item to the instances of the connector’s enclosing block. This property is applicable only for item flows assigned to connectors. The multiplicity is zero if the item flow is assigned to an Association.</body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ItemFlow.itemProperty.lowerValue0"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KELwPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ItemFlow.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KUDYPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KUqcPXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KUqcfXoEeeFOavjQCI5eQ" key="image_name_key" value="ItemFlow"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.ProxyPort" name="ProxyPort"> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.ProxyPort.base_Port" name="base_Port" association="SysML.E_extension_ProxyPort_base_Port"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ProxyPort.base_Port.lowerValue0"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KUqcvXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ProxyPort.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KUqc_XoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KUqdPXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KUqdfXoEeeFOavjQCI5eQ" key="image_name_key" value="ProxyPort"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="SysML.A_triggerOnNestedPort_onNestedPort" name="A_triggerOnNestedPort_onNestedPort" memberEnd="SysML.A_triggerOnNestedPort_onNestedPort.triggerOnNestedPort SysML.TriggerOnNestedPort.onNestedPort"> + <generalization xmi:type="uml:Generalization" xmi:id="SysML.A_triggerOnNestedPort_onNestedPort._generalization.SysML.A_elementPropertyPath_propertyPath" general="SysML.A_elementPropertyPath_propertyPath"/> + <ownedEnd xmi:type="uml:Property" xmi:id="SysML.A_triggerOnNestedPort_onNestedPort.triggerOnNestedPort" name="triggerOnNestedPort" type="SysML.TriggerOnNestedPort" redefinedProperty="SysML.A_elementPropertyPath_propertyPath.elementPropertyPath" association="SysML.A_triggerOnNestedPort_onNestedPort"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.A_triggerOnNestedPort_onNestedPort.triggerOnNestedPort.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.A_triggerOnNestedPort_onNestedPort.triggerOnNestedPort.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_ProxyPort_base_Port" name="E_extension_ProxyPort_base_Port" memberEnd="SysML.ProxyPort.base_Port SysML.E_extension_ProxyPort_base_Port.extension_ProxPort" navigableOwnedEnd="SysML.E_extension_ProxyPort_base_Port.extension_ProxPort"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_ProxyPort_base_Port.extension_ProxPort" name="extension_ProxPort" type="SysML.ProxyPort" association="SysML.E_extension_ProxyPort_base_Port"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_ProxyPort_base_Port.extension_ProxPort.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_FlowProperty_base_Property" name="E_extension_FlowProperty_base_Property" memberEnd="SysML.E_extension_FlowProperty_base_Property.extension_FlowProperty SysML.FlowProperty.base_Property" navigableOwnedEnd="SysML.E_extension_FlowProperty_base_Property.extension_FlowProperty"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_FlowProperty_base_Property.extension_FlowProperty" name="extension_FlowProperty" type="SysML.FlowProperty" association="SysML.E_extension_FlowProperty_base_Property"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_FlowProperty_base_Property.extension_FlowProperty.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.FullPort" name="FullPort"> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.FullPort.base_Port" name="base_Port" association="SysML.E_extension_FullPort_base_Port"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.FullPort.base_Port.lowerValue0"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KVRgPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FullPort.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KVRgfXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KVRgvXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KVRg_XoEeeFOavjQCI5eQ" key="image_name_key" value="FullPort"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_InvocationOnNestedPortAction_base_InvocationAction" name="E_extension_InvocationOnNestedPortAction_base_InvocationAction" memberEnd="SysML.InvocationOnNestedPortAction.base_InvocationAction SysML.E_extension_InvocationOnNestedPortAction_base_InvocationAction.extension_InvocationOnNestedPortAction" navigableOwnedEnd="SysML.E_extension_InvocationOnNestedPortAction_base_InvocationAction.extension_InvocationOnNestedPortAction"> + <generalization xmi:type="uml:Generalization" xmi:id="SysML.E_extension_InvocationOnNestedPortAction_base_InvocationAction._generalization.SysML.E_extension_ElementPropertyPath_base_Element" general="SysML.E_extension_ElementPropertyPath_base_Element"/> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_InvocationOnNestedPortAction_base_InvocationAction.extension_InvocationOnNestedPortAction" name="extension_InvocationOnNestedPortAction" type="SysML.InvocationOnNestedPortAction" redefinedProperty="SysML.E_extension_ElementPropertyPath_base_Element.extension_ElementPropertyPath" association="SysML.E_extension_InvocationOnNestedPortAction_base_InvocationAction"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_InvocationOnNestedPortAction_base_InvocationAction.extension_InvocationOnNestedPortAction.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.InvocationOnNestedPortAction" name="InvocationOnNestedPortAction"> + <generalization xmi:type="uml:Generalization" xmi:id="SysML.InvocationOnNestedPortAction._generalization.SysML.ElementPropertyPath" general="SysML.ElementPropertyPath"/> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.InvocationOnNestedPortAction.base_InvocationAction" name="base_InvocationAction" redefinedProperty="SysML.ElementPropertyPath.base_Element" association="SysML.E_extension_InvocationOnNestedPortAction_base_InvocationAction"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#InvocationAction"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.InvocationOnNestedPortAction.base_InvocationAction.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.InvocationOnNestedPortAction.onNestedPort" name="onNestedPort" isOrdered="true" isUnique="false" redefinedProperty="SysML.ElementPropertyPath.propertyPath" association="SysML.A_invocationOnNestedPortAction_onNestedPort"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.InvocationOnNestedPortAction.onNestedPort.upperValue0" value="*"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KVRhPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/InvocationOnNestedPortAction.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KVRhfXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KVRhvXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KVRh_XoEeeFOavjQCI5eQ" key="image_name_key" value="InvocationOnNestedPortAction"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.InterfaceBlock" name="InterfaceBlock"> + <generalization xmi:type="uml:Generalization" xmi:id="SysML.InterfaceBlock._generalization.SysML.Block" general="SysML.Block"/> + <icon xmi:type="uml:Image" xmi:id="__KVRiPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/InterfaceBlock.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KVRifXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KV4kPXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KV4kfXoEeeFOavjQCI5eQ" key="image_name_key" value="InterfaceBlock"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_ItemFlow_base_InformationFlow" name="E_extension_ItemFlow_base_InformationFlow" memberEnd="SysML.E_extension_ItemFlow_base_InformationFlow.extension_ItemFlow SysML.ItemFlow.base_InformationFlow" navigableOwnedEnd="SysML.E_extension_ItemFlow_base_InformationFlow.extension_ItemFlow"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_ItemFlow_base_InformationFlow.extension_ItemFlow" name="extension_ItemFlow" type="SysML.ItemFlow" association="SysML.E_extension_ItemFlow_base_InformationFlow"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_ItemFlow_base_InformationFlow.extension_ItemFlow.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_TriggerOnNestedPort_base_Trigger" name="E_extension_TriggerOnNestedPort_base_Trigger" memberEnd="SysML.TriggerOnNestedPort.base_Trigger SysML.E_extension_TriggerOnNestedPort_base_Trigger.extension_TriggerOnNestedPort" navigableOwnedEnd="SysML.E_extension_TriggerOnNestedPort_base_Trigger.extension_TriggerOnNestedPort"> + <generalization xmi:type="uml:Generalization" xmi:id="SysML.E_extension_TriggerOnNestedPort_base_Trigger._generalization.SysML.E_extension_ElementPropertyPath_base_Element" general="SysML.E_extension_ElementPropertyPath_base_Element"/> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_TriggerOnNestedPort_base_Trigger.extension_TriggerOnNestedPort" name="extension_TriggerOnNestedPort" type="SysML.TriggerOnNestedPort" redefinedProperty="SysML.E_extension_ElementPropertyPath_base_Element.extension_ElementPropertyPath" association="SysML.E_extension_TriggerOnNestedPort_base_Trigger"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_TriggerOnNestedPort_base_Trigger.extension_TriggerOnNestedPort.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="SysML.A_invocationOnNestedPortAction_onNestedPort" name="A_invocationOnNestedPortAction_onNestedPort" memberEnd="SysML.A_invocationOnNestedPortAction_onNestedPort.invocationOnNestedPortAction SysML.InvocationOnNestedPortAction.onNestedPort"> + <generalization xmi:type="uml:Generalization" xmi:id="SysML.A_invocationOnNestedPortAction_onNestedPort._generalization.SysML.A_elementPropertyPath_propertyPath" general="SysML.A_elementPropertyPath_propertyPath"/> + <ownedEnd xmi:type="uml:Property" xmi:id="SysML.A_invocationOnNestedPortAction_onNestedPort.invocationOnNestedPortAction" name="invocationOnNestedPortAction" type="SysML.InvocationOnNestedPortAction" redefinedProperty="SysML.A_elementPropertyPath_propertyPath.elementPropertyPath" association="SysML.A_invocationOnNestedPortAction_onNestedPort"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.A_invocationOnNestedPortAction_onNestedPort.invocationOnNestedPortAction.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.A_invocationOnNestedPortAction_onNestedPort.invocationOnNestedPortAction.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.FlowProperty" name="FlowProperty"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.FlowProperty._comment0"> + <body>A FlowProperty signifies a single flow element that can flow to/from a block. A flow property’s values are either received from or transmitted to an external block. Flow properties are defined directly on blocks or flow specifications that are those specifications which type the flow ports. Flow properties enable item flows across connectors connecting parts of the corresponding block types, either directly (in case of the property is defined on the block) or via flowPorts. For Block, Data Type, and Value Type properties, setting an “out” FlowProperty value of a block usage on one end of a connector will result in assigning the same value of an “in” FlowProperty of a block usage at the other end of the connector, provided the flow properties are matched. Flow properties of type Signal imply sending and/or receiving of a signal usage. An “out” FlowProperty of type Signal means that the owning Block may broadcast the signal via connectors and an “in” FlowProperty means that the owning block is able to receive the Signal.</body> + </ownedComment> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.FlowProperty.base_Property" name="base_Property" association="SysML.E_extension_FlowProperty_base_Property"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.FlowProperty.base_Property.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.FlowProperty.direction" name="direction" type="SysML_dataType.FlowDirection"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.FlowProperty.direction._comment0"> + <body>Specifies if the property value is received from an external block (direction=“in”), transmitted to an external Block (direction=“out”) or both (direction=“inout”).</body> + </ownedComment> + <defaultValue xmi:type="uml:InstanceValue" xmi:id="SysML.FlowProperty.direction.defaultValue0" instance="SysML.inout"/> + </ownedAttribute> + <ownedOperation xmi:type="uml:Operation" xmi:id="_g1YOMPFnEeefg-uwXxvTkQ" name="getIcon"> + <ownedParameter xmi:type="uml:Parameter" xmi:id="_g1YOMfFnEeefg-uwXxvTkQ" name="img" direction="return"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Image"/> + </ownedParameter> + </ownedOperation> + <icon xmi:type="uml:Image" xmi:id="_g1YOMvFnEeefg-uwXxvTkQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowProperty_IN.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_g1YOM_FnEeefg-uwXxvTkQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_g1YONPFnEeefg-uwXxvTkQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_g1YONfFnEeefg-uwXxvTkQ" key="image_name_key" value="FlowProperty_IN"/> + </eAnnotations> + </icon> + <icon xmi:type="uml:Image" xmi:id="_g1YONvFnEeefg-uwXxvTkQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowProperty_OUT.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_g1YON_FnEeefg-uwXxvTkQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_g1YOOPFnEeefg-uwXxvTkQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_g1YOOfFnEeefg-uwXxvTkQ" key="image_name_key" value="FlowProperty_OUT"/> + </eAnnotations> + </icon> + <icon xmi:type="uml:Image" xmi:id="_g1YOOvFnEeefg-uwXxvTkQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowProperty_INOUT.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_g1YOO_FnEeefg-uwXxvTkQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_g1YOPPFnEeefg-uwXxvTkQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_g1YOPfFnEeefg-uwXxvTkQ" key="image_name_key" value="FlowProperty_INOUT"/> + </eAnnotations> + </icon> + <icon xmi:type="uml:Image" xmi:id="_g1YOPvFnEeefg-uwXxvTkQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowProperty.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_g1YOP_FnEeefg-uwXxvTkQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_g1YOQPFnEeefg-uwXxvTkQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_g1YOQfFnEeefg-uwXxvTkQ" key="image_name_key" value="FlowProperty"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_ChangeStructuralFeatureEvent_base_ChangeEvent" name="E_extension_ChangeStructuralFeatureEvent_base_ChangeEvent" memberEnd="SysML.ChangeStructuralFeatureEvent.base_ChangeEvent SysML.E_extension_ChangeStructuralFeatureEvent_base_ChangeEvent.extension_ChangeStructuralFeatureEvent" navigableOwnedEnd="SysML.E_extension_ChangeStructuralFeatureEvent_base_ChangeEvent.extension_ChangeStructuralFeatureEvent"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_ChangeStructuralFeatureEvent_base_ChangeEvent.extension_ChangeStructuralFeatureEvent" name="extension_ChangeStructuralFeatureEvent" type="SysML.ChangeStructuralFeatureEvent" association="SysML.E_extension_ChangeStructuralFeatureEvent_base_ChangeEvent"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_ChangeStructuralFeatureEvent_base_ChangeEvent.extension_ChangeStructuralFeatureEvent.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_DirectedFeature_base_Feature" name="E_extension_DirectedFeature_base_Feature" memberEnd="SysML.DirectedFeature.base_Feature SysML.E_extension_DirectedFeature_base_Feature.extension_DirectedFeature" navigableOwnedEnd="SysML.E_extension_DirectedFeature_base_Feature.extension_DirectedFeature"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_DirectedFeature_base_Feature.extension_DirectedFeature" name="extension_DirectedFeature" type="SysML.DirectedFeature" association="SysML.E_extension_DirectedFeature_base_Feature"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_DirectedFeature_base_Feature.extension_DirectedFeature.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.ChangeStructuralFeatureEvent" name="ChangeStructuralFeatureEvent"> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.ChangeStructuralFeatureEvent.base_ChangeEvent" name="base_ChangeEvent" association="SysML.E_extension_ChangeStructuralFeatureEvent_base_ChangeEvent"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ChangeEvent"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ChangeStructuralFeatureEvent.base_ChangeEvent.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.ChangeStructuralFeatureEvent.structuralFeature" name="structuralFeature" association="SysML.A_changeStructuralFeatureEvent_structuralFeature"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#StructuralFeature"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KV4kvXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ChangeStructuralFeatureEvent.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KV4k_XoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KV4lPXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KV4lfXoEeeFOavjQCI5eQ" key="image_name_key" value="ChangeStructuralFeatureEvent"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="SysML.A_changeStructuralFeatureEvent_structuralFeature" name="A_changeStructuralFeatureEvent_structuralFeature" memberEnd="SysML.A_changeStructuralFeatureEvent_structuralFeature.changeStructuralFeatureEvent SysML.ChangeStructuralFeatureEvent.structuralFeature"> + <ownedEnd xmi:type="uml:Property" xmi:id="SysML.A_changeStructuralFeatureEvent_structuralFeature.changeStructuralFeatureEvent" name="changeStructuralFeatureEvent" type="SysML.ChangeStructuralFeatureEvent" association="SysML.A_changeStructuralFeatureEvent_structuralFeature"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.A_changeStructuralFeatureEvent_structuralFeature.changeStructuralFeatureEvent.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.A_changeStructuralFeatureEvent_structuralFeature.changeStructuralFeatureEvent.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.TriggerOnNestedPort" name="TriggerOnNestedPort"> + <generalization xmi:type="uml:Generalization" xmi:id="SysML.TriggerOnNestedPort._generalization.SysML.ElementPropertyPath" general="SysML.ElementPropertyPath"/> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.TriggerOnNestedPort.base_Trigger" name="base_Trigger" redefinedProperty="SysML.ElementPropertyPath.base_Element" association="SysML.E_extension_TriggerOnNestedPort_base_Trigger"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Trigger"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.TriggerOnNestedPort.onNestedPort" name="onNestedPort" isOrdered="true" isUnique="false" redefinedProperty="SysML.ElementPropertyPath.propertyPath" association="SysML.A_triggerOnNestedPort_onNestedPort"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.TriggerOnNestedPort.onNestedPort.upperValue0" value="*"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KWfoPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/TriggerOnNestedPort.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KWfofXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KWfovXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KWfo_XoEeeFOavjQCI5eQ" key="image_name_key" value="TriggerOnNestedPort"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.AcceptChangeStructuralFeatureEventAction" name="AcceptChangeStructuralFeatureEventAction"> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.AcceptChangeStructuralFeatureEventAction.base_AcceptEventAction" name="base_AcceptEventAction" association="SysML.E_extension_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#AcceptEventAction"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.AcceptChangeStructuralFeatureEventAction.base_AcceptEventAction.lowerValue0"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KWfpPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/AcceptChangeStructuralFeatureEventAction.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KWfpfXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KWfpvXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KWfp_XoEeeFOavjQCI5eQ" key="image_name_key" value="AcceptChangeStructuralFeatureEventAction"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction" name="E_extension_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction" memberEnd="SysML.AcceptChangeStructuralFeatureEventAction.base_AcceptEventAction SysML.E_extension_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction.extension_AcceptChangeStructuralFeatureEventAction" navigableOwnedEnd="SysML.E_extension_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction.extension_AcceptChangeStructuralFeatureEventAction"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction.extension_AcceptChangeStructuralFeatureEventAction" name="extension_AcceptChangeStructuralFeatureEventAction" type="SysML.AcceptChangeStructuralFeatureEventAction" association="SysML.E_extension_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction.extension_AcceptChangeStructuralFeatureEventAction.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.DirectedFeature" name="DirectedFeature"> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.DirectedFeature.base_Feature" name="base_Feature" association="SysML.E_extension_DirectedFeature_base_Feature"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Feature"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.DirectedFeature.base_Feature.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.DirectedFeature.featureDirection" name="featureDirection" type="SysML_dataType.FeatureDirection"/> + <icon xmi:type="uml:Image" xmi:id="__KWfqPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/DirectedFeature.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KWfqfXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KXGsPXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KXGsfXoEeeFOavjQCI5eQ" key="image_name_key" value="DirectedFeature"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Enumeration" xmi:id="SysML_dataType.FeatureDirection" name="FeatureDirection"> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="SysML.provided" name="provided"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="SysML.providedRequired" name="providedRequired"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="SysML.required" name="required"/> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_FullPort_base_Port" name="E_extension_FullPort_base_Port" memberEnd="SysML.FullPort.base_Port SysML.E_extension_FullPort_base_Port.extension_FullPort" navigableOwnedEnd="SysML.E_extension_FullPort_base_Port.extension_FullPort"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_FullPort_base_Port.extension_FullPort" name="extension_FullPort" type="SysML.FullPort" association="SysML.E_extension_FullPort_base_Port"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_FullPort_base_Port.extension_FullPort.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Enumeration" xmi:id="SysML_dataType.FlowDirection" name="FlowDirection"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML_dataType.FlowDirection._comment0"> + <body>FlowDirection is an enumeration type that defines literals used for specifying input and output directions. FlowDirection is used by flow properties to indicate if a property is an input or an output with respect to its owner.</body> + </ownedComment> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="SysML.in" name="in"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.in._comment0"> + <body>Indicates that the flow property is input to the owning block.</body> + </ownedComment> + </ownedLiteral> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="SysML.inout" name="inout"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.inout._comment0"> + <body>Indicates that the flow property is both an input and an output of the owning block.</body> + </ownedComment> + </ownedLiteral> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="SysML.out" name="out"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.out._comment0"> + <body>Indicates that the flow property is an output of the owning block.</body> + </ownedComment> + </ownedLiteral> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="SysML.Activities" name="Activities"> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_ControlOperator_base_Operation" name="E_extension_ControlOperator_base_Operation" memberEnd="SysML.E_extension_ControlOperator_base_Operation.extension_ControlOperator SysML.ControlOperator.base_Operation" navigableOwnedEnd="SysML.E_extension_ControlOperator_base_Operation.extension_ControlOperator"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_ControlOperator_base_Operation.extension_ControlOperator" name="extension_ControlOperator" type="SysML.ControlOperator" association="SysML.E_extension_ControlOperator_base_Operation"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_ControlOperator_base_Operation.extension_ControlOperator.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Optional" name="Optional"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.Optional._comment0"> + <body>When the «optional» stereotype is applied to parameters, the lower multiplicity shall be equal to zero. This means the parameter is not required to have a value for the activity or any behavior to begin or end execution. Otherwise, the lower multiplicity shall be greater than zero, which is called “required.” The absence of this stereotype indicates a constraint, see below.</body> + </ownedComment> + <ownedRule xmi:type="uml:Constraint" xmi:id="SysML.Optional._rule.Constraint1" name="Constraint1" constrainedElement="SysML.Optional"> + <specification xmi:type="uml:LiteralString" xmi:id="SysML.Optional._rule.Constraint1.constraintSpec1" name="constraintSpec1" value="A parameter with the «optional» stereotypes applied shall have multiplicity.lower equal to zero, otherwise multiplicity.lower shall be greater than zero."/> + </ownedRule> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Optional.base_Parameter" name="base_Parameter" association="SysML.E_extension_Optional_base_Parameter"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Parameter"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Optional.base_Parameter.lowerValue0"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KXGsvXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Optional.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KXGs_XoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KXGtPXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KXGtfXoEeeFOavjQCI5eQ" key="image_name_key" value="Optional"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Continuous" name="Continuous"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.Continuous._comment0"> + <body>Continuous rate is a special case of rate of flow (see Rate) where the increment of time between items approaches zero. It is intended to represent continuous flows that may correspond to water flowing through a pipe, a time continuous signal, or continuous energy flow. It is independent from UML streaming, see 11.3.2.8, Rate. A streaming parameter may or may not apply to continuous flow, and a continuous flow may or may not apply to streaming parameters. UML places no restriction on the rate at which tokens flow. In particular, the time between tokens can approach as close to zero as needed, for example to simulate continuous flow. There is also no restriction in UML on the kind of values that flow through an activity. In particular, the value may represent as small a number as needed, for example to simulate continuous material or energy flow. Finally, the exact timing of token flow is not completely prescribed in UML. In particular, token flow on different edges may be coordinated to occur in a clocked fashion, as in time march algorithms for numerical solvers of ordinary differential equations, such as Runge-Kutta.</body> + </ownedComment> + <generalization xmi:type="uml:Generalization" xmi:id="SysML.Continuous._generalization.SysML.Rate" general="SysML.Rate" isSubstitutable="false"/> + <icon xmi:type="uml:Image" xmi:id="__KXGtvXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Continuous.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KXtwPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KXtwfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KXtwvXoEeeFOavjQCI5eQ" key="image_name_key" value="Continuous"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.ControlOperator" name="ControlOperator"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.ControlOperator._comment0"> + <body>A control operator is a behavior that is intended to represent an arbitrarily complex logical operator that can be used to enable and disable other actions. When the «controlOperator» stereotype is applied to behaviors, the behavior takes control values as inputs or provides them as outputs, that is, it treats control as data (see 11.3.3.1.1, ControlValue). When the «controlOperator» stereotype is not applied, the behavior may not have a parameter typed by ControlValue. The «controlOperator» stereotype also applies to operations with the same semantics. The control value inputs do not enable or disable the control operator execution based on their value, they only enable based on their presence as data. Pins for control parameters are regular pins, not UML control pins. This is so the control value can be passed into or out of the action and the invoked behavior, rather than control the starting of the action, or indicating the ending of it.</body> + </ownedComment> + <ownedRule xmi:type="uml:Constraint" xmi:id="SysML.ControlOperator._rule.Constraint1" name="Constraint1" constrainedElement="SysML.ControlOperator"> + <specification xmi:type="uml:LiteralString" xmi:id="SysML.ControlOperator._rule.Constraint1.constraintSpec1" name="constraintSpec1" value="When the «controlOperator» stereotype is applied, the behavior or operation shall have at least one parameter typed by ControlValue. If the stereotype is not applied, the behavior or operation may not have any parameter typed by ControlValue."/> + </ownedRule> + <ownedRule xmi:type="uml:Constraint" xmi:id="SysML.ControlOperator._rule.Constraint2" name="Constraint2" constrainedElement="SysML.ControlOperator"> + <specification xmi:type="uml:LiteralString" xmi:id="SysML.ControlOperator._rule.Constraint2.constraintSpec2" name="constraintSpec2" value="A behavior shall have the «controlOperator» stereotype applied if it is a method of an operation that has the «controlOperator» stereotype applied."/> + </ownedRule> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.ControlOperator.base_Behavior" name="base_Behavior" association="SysML.E_extension_ControlOperator_base_Behavior"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Behavior"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ControlOperator.base_Behavior.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.ControlOperator.base_Operation" name="base_Operation" association="SysML.E_extension_ControlOperator_base_Operation"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Operation"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ControlOperator.base_Operation.lowerValue0"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KXtw_XoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ControlOperator.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KXtxPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KXtxfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KXtxvXoEeeFOavjQCI5eQ" key="image_name_key" value="ControlOperator"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Discrete" name="Discrete"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.Discrete._comment0"> + <body>Discrete rate is a special case of rate of flow (see 11.3.2.8, Rate) where the increment of time between items is a non-zero. Examples include the production of assemblies in a factory and signals set at periodic time intervals.</body> + </ownedComment> + <ownedRule xmi:type="uml:Constraint" xmi:id="SysML.Discrete._rule.Constraint1" name="Constraint1" constrainedElement="SysML.Discrete"> + <specification xmi:type="uml:LiteralString" xmi:id="SysML.Discrete._rule.Constraint1.constraintSpec1" name="constraintSpec1" value="The «discrete» and «continuous» stereotypes shall not be applied to the same element at the same time."/> + </ownedRule> + <generalization xmi:type="uml:Generalization" xmi:id="SysML.Discrete._generalization.SysML.Rate" general="SysML.Rate" isSubstitutable="false"/> + <icon xmi:type="uml:Image" xmi:id="__KXtx_XoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Discrete.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KXtyPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KXtyfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KXtyvXoEeeFOavjQCI5eQ" key="image_name_key" value="Discrete"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Overwrite" name="Overwrite"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.Overwrite._comment0"> + <body>When the «overwrite» stereotype is applied to object nodes, a token arriving at a full object node removes one that is already there before being added (a full object node has as many tokens as allowed by its upper bound). This is typically used on an input pin with an upper bound of 1 to ensure that stale data is overridden at an input pin. For upper bounds greater than one, the token removed is the one that has been in the object node the longest. For FIFO ordering, this is the token that is next to be selected, for LIFO it is the token that would be last to be selected. Tokens arriving at a full object node with the Overwrite stereotype applied take up their positions in the ordering as normal, if any. The arriving tokens do not take the positions of the removed tokens. A null token removes all the tokens already there. The number of tokens replaced is equal to the weight of the incoming edge, which defaults to 1. For object nodes that are the target of continuous flows, «overwrite» and «nobuffer» have the same effect. The stereotype does not override UML token offering semantics, just indicates what happens to the token when it is accepted. When the stereotype is not applied, the semantics is as in UML, specifically, tokens arriving at object nodes do not replace ones that are already there.</body> + </ownedComment> + <ownedRule xmi:type="uml:Constraint" xmi:id="SysML.Overwrite._rule.Constraint1" name="Constraint1" constrainedElement="SysML.Overwrite"> + <specification xmi:type="uml:LiteralString" xmi:id="SysML.Overwrite._rule.Constraint1.constraintSpec1" name="constraintSpec1" value="The «overwrite» and «nobuffer» stereotypes cannot be applied to the same element at the same time."/> + </ownedRule> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Overwrite.base_ObjectNode" name="base_ObjectNode" association="SysML.E_extension_Overwrite_base_ObjectNode"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ObjectNode"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Overwrite.base_ObjectNode.lowerValue0"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KYU0PXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Overwrite.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KYU0fXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KYU0vXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KYU0_XoEeeFOavjQCI5eQ" key="image_name_key" value="Overwrite"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Rate_base_ObjectNode" name="E_extension_Rate_base_ObjectNode" memberEnd="SysML.E_extension_Rate_base_ObjectNode.extension_Rate SysML.Rate.base_ObjectNode" navigableOwnedEnd="SysML.E_extension_Rate_base_ObjectNode.extension_Rate"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Rate_base_ObjectNode.extension_Rate" name="extension_Rate" type="SysML.Rate" association="SysML.E_extension_Rate_base_ObjectNode"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Rate_base_ObjectNode.extension_Rate.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Probability_base_ParameterSet" name="E_extension_Probability_base_ParameterSet" memberEnd="SysML.E_extension_Probability_base_ParameterSet.extension_Probability SysML.Probability.base_ParameterSet" navigableOwnedEnd="SysML.E_extension_Probability_base_ParameterSet.extension_Probability"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Probability_base_ParameterSet.extension_Probability" name="extension_Probability" type="SysML.Probability" association="SysML.E_extension_Probability_base_ParameterSet"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Probability_base_ParameterSet.extension_Probability.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Overwrite_base_ObjectNode" name="E_extension_Overwrite_base_ObjectNode" memberEnd="SysML.E_extension_Overwrite_base_ObjectNode.extension_Overwrite SysML.Overwrite.base_ObjectNode" navigableOwnedEnd="SysML.E_extension_Overwrite_base_ObjectNode.extension_Overwrite"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Overwrite_base_ObjectNode.extension_Overwrite" name="extension_Overwrite" type="SysML.Overwrite" association="SysML.E_extension_Overwrite_base_ObjectNode"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Overwrite_base_ObjectNode.extension_Overwrite.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Probability_base_ActivityEdge" name="E_extension_Probability_base_ActivityEdge" memberEnd="SysML.E_extension_Probability_base_ActivityEdge.extension_Probability SysML.Probability.base_ActivityEdge" navigableOwnedEnd="SysML.E_extension_Probability_base_ActivityEdge.extension_Probability"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Probability_base_ActivityEdge.extension_Probability" name="extension_Probability" type="SysML.Probability" association="SysML.E_extension_Probability_base_ActivityEdge"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Probability_base_ActivityEdge.extension_Probability.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_ControlOperator_base_Behavior" name="E_extension_ControlOperator_base_Behavior" memberEnd="SysML.E_extension_ControlOperator_base_Behavior.extension_ControlOperator SysML.ControlOperator.base_Behavior" navigableOwnedEnd="SysML.E_extension_ControlOperator_base_Behavior.extension_ControlOperator"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_ControlOperator_base_Behavior.extension_ControlOperator" name="extension_ControlOperator" type="SysML.ControlOperator" association="SysML.E_extension_ControlOperator_base_Behavior"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_ControlOperator_base_Behavior.extension_ControlOperator.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Rate_base_ActivityEdge" name="E_extension_Rate_base_ActivityEdge" memberEnd="SysML.E_extension_Rate_base_ActivityEdge.extension_Rate SysML.Rate.base_ActivityEdge" navigableOwnedEnd="SysML.E_extension_Rate_base_ActivityEdge.extension_Rate"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Rate_base_ActivityEdge.extension_Rate" name="extension_Rate" type="SysML.Rate" association="SysML.E_extension_Rate_base_ActivityEdge"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Rate_base_ActivityEdge.extension_Rate.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Rate_base_Parameter" name="E_extension_Rate_base_Parameter" memberEnd="SysML.E_extension_Rate_base_Parameter.extension_Rate SysML.Rate.base_Parameter" navigableOwnedEnd="SysML.E_extension_Rate_base_Parameter.extension_Rate"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Rate_base_Parameter.extension_Rate" name="extension_Rate" type="SysML.Rate" association="SysML.E_extension_Rate_base_Parameter"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Rate_base_Parameter.extension_Rate.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.NoBuffer" name="NoBuffer"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.NoBuffer._comment0"> + <body>When the «nobuffer» stereotype is applied to object nodes, tokens arriving at the node are discarded if they are refused by outgoing edges, or refused by actions for object nodes that are input pins. This is typically used with fast or continuously flowing data values, to prevent buffer overrun, or to model transient values, such as electrical signals. For object nodes that are the target of continuous flows, «nobuffer» and «overwrite» have the same effect. The stereotype does not override UML token offering semantics; it just indicates what happens to the token when it is accepted. When the stereotype is not applied, the semantics are as in UML, specifically, tokens arriving at an object node that are refused by outgoing edges, or action for input pins, are held until they can leave the object node.</body> + </ownedComment> + <ownedRule xmi:type="uml:Constraint" xmi:id="SysML.NoBuffer._rule.Constraint1" name="Constraint1" constrainedElement="SysML.NoBuffer"> + <specification xmi:type="uml:LiteralString" xmi:id="SysML.NoBuffer._rule.Constraint1.constraintSpec1" name="constraintSpec1" value="The «nobuffer» and «overwrite» stereotypes cannot be applied to the same element at the same time."/> + </ownedRule> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.NoBuffer.base_ObjectNode" name="base_ObjectNode" association="SysML.E_extension_NoBuffer_base_ObjectNode"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ObjectNode"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.NoBuffer.base_ObjectNode.lowerValue0"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KYU1PXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/NoBuffer.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KYU1fXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KYU1vXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KYU1_XoEeeFOavjQCI5eQ" key="image_name_key" value="NoBuffer"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Optional_base_Parameter" name="E_extension_Optional_base_Parameter" memberEnd="SysML.E_extension_Optional_base_Parameter.extension_Optional SysML.Optional.base_Parameter" navigableOwnedEnd="SysML.E_extension_Optional_base_Parameter.extension_Optional"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Optional_base_Parameter.extension_Optional" name="extension_Optional" type="SysML.Optional" association="SysML.E_extension_Optional_base_Parameter"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Optional_base_Parameter.extension_Optional.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Probability" name="Probability"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.Probability._comment0"> + <body>When the «probability» stereotype is applied to edges coming out of decision nodes and object nodes, it provides an expression for the probability that the edge will be traversed. These shall be between zero and one inclusive, and add up to one for edges with same source at the time the probabilities are used. When the «probability» stereotype is applied to output parameter sets, it gives the probability the parameter set will be given values at runtime. These shall be between zero and one inclusive, and add up to one for output parameter sets of the same behavior at the time the probabilities are used.</body> + </ownedComment> + <ownedRule xmi:type="uml:Constraint" xmi:id="SysML.Probability._rule.Constraint4" name="Constraint4" constrainedElement="SysML.Probability"> + <specification xmi:type="uml:LiteralString" xmi:id="SysML.Probability._rule.Constraint4.constraintSpec4" name="constraintSpec4" value="When the «probability» stereotype is applied to an output parameter set, all the output parameters shall be in some parameter set."/> + </ownedRule> + <ownedRule xmi:type="uml:Constraint" xmi:id="SysML.Probability._rule.Constraint3" name="Constraint3" constrainedElement="SysML.Probability"> + <specification xmi:type="uml:LiteralString" xmi:id="SysML.Probability._rule.Constraint3.constraintSpec3" name="constraintSpec3" value="When the «probability» stereotype is applied to an output parameter set, it shall be applied to all the parameter sets of the behavior or operation owning the original parameter set."/> + </ownedRule> + <ownedRule xmi:type="uml:Constraint" xmi:id="SysML.Probability._rule.Constraint1" name="Constraint1" constrainedElement="SysML.Probability"> + <specification xmi:type="uml:LiteralString" xmi:id="SysML.Probability._rule.Constraint1.constraintSpec1" name="constraintSpec1" value="The «probability» stereotype shall only be applied to activity edges that have decision nodes or object nodes as sources, or to output parameter sets."/> + </ownedRule> + <ownedRule xmi:type="uml:Constraint" xmi:id="SysML.Probability._rule.Constraint2" name="Constraint2" constrainedElement="SysML.Probability"> + <specification xmi:type="uml:LiteralString" xmi:id="SysML.Probability._rule.Constraint2.constraintSpec2" name="constraintSpec2" value="When the «probability» stereotype is applied to an activity edge, then it shall be applied to all edges coming out of the same source."/> + </ownedRule> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Probability.base_ActivityEdge" name="base_ActivityEdge" association="SysML.E_extension_Probability_base_ActivityEdge"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ActivityEdge"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Probability.base_ActivityEdge.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Probability.base_ParameterSet" name="base_ParameterSet" association="SysML.E_extension_Probability_base_ParameterSet"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ParameterSet"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Probability.base_ParameterSet.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Probability.probability" name="probability"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ValueSpecification"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KY74PXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Probability.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KY74fXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KY74vXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KY74_XoEeeFOavjQCI5eQ" key="image_name_key" value="Probability"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_NoBuffer_base_ObjectNode" name="E_extension_NoBuffer_base_ObjectNode" memberEnd="SysML.E_extension_NoBuffer_base_ObjectNode.extension_NoBuffer SysML.NoBuffer.base_ObjectNode" navigableOwnedEnd="SysML.E_extension_NoBuffer_base_ObjectNode.extension_NoBuffer"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_NoBuffer_base_ObjectNode.extension_NoBuffer" name="extension_NoBuffer" type="SysML.NoBuffer" association="SysML.E_extension_NoBuffer_base_ObjectNode"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_NoBuffer_base_ObjectNode.extension_NoBuffer.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Rate" name="Rate"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.Rate._comment0"> + <body>When the «rate» stereotype is applied to an activity edge, it specifies the expected value of the number of objects and values that traverse the edge per time interval, that is, the expected value rate at which they leave the source node and arrive at the target node. It does not refer to the rate at which a value changes over time. When the stereotype is applied to a parameter, the parameter shall be streaming, and the stereotype gives the number of objects or values that flow in or out of the parameter per time interval while the behavior or operation is executing. Streaming is a characteristic of UML behavior parameters that supports the input and output of items while a behavior is executing, rather than only when the behavior starts and stops. The flow may be continuous or discrete, see the specialized rates in 11.3.2.1, Continuous and 11.3.2.3, Discrete. The «rate» stereotype has a rate property of type InstanceSpecification. The values of this property shall be instances of classifiers stereotyped by «valueType» or «distributionDefinition», see Clause 8, “Blocks.” In particular, the denominator for units used in the rate property shall be time units.</body> + </ownedComment> + <ownedRule xmi:type="uml:Constraint" xmi:id="SysML.Rate._rule.Constraint2" name="Constraint2" constrainedElement="SysML.Rate"> + <specification xmi:type="uml:LiteralString" xmi:id="SysML.Rate._rule.Constraint2.constraintSpec2" name="constraintSpec2" value="The rate of a parameter shall be less than or equal to rates on edges that come into or go out from pins and parameters nodes corresponding to the parameter."/> + </ownedRule> + <ownedRule xmi:type="uml:Constraint" xmi:id="SysML.Rate._rule.Constraint1" name="Constraint1" constrainedElement="SysML.Rate"> + <specification xmi:type="uml:LiteralString" xmi:id="SysML.Rate._rule.Constraint1.constraintSpec1" name="constraintSpec1" value="When the «rate» stereotype is applied to a parameter, the parameter shall be streaming."/> + </ownedRule> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Rate.base_ActivityEdge" name="base_ActivityEdge" association="SysML.E_extension_Rate_base_ActivityEdge"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ActivityEdge"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Rate.base_ActivityEdge.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Rate.base_ObjectNode" name="base_ObjectNode" association="SysML.E_extension_Rate_base_ObjectNode"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ObjectNode"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Rate.base_ObjectNode.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Rate.base_Parameter" name="base_Parameter" association="SysML.E_extension_Rate_base_Parameter"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Parameter"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Rate.base_Parameter.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Rate.rate" name="rate"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#InstanceSpecification"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KY75PXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Rate.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KY75fXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KY75vXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KY75_XoEeeFOavjQCI5eQ" key="image_name_key" value="Rate"/> + </eAnnotations> + </icon> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="SysML.Blocks" name="Blocks"> + <packagedElement xmi:type="uml:Association" xmi:id="SysML.A_elementPropertyPath_propertyPath" name="A_elementPropertyPath_propertyPath" memberEnd="SysML.A_elementPropertyPath_propertyPath.elementPropertyPath SysML.ElementPropertyPath.propertyPath"> + <ownedEnd xmi:type="uml:Property" xmi:id="SysML.A_elementPropertyPath_propertyPath.elementPropertyPath" name="elementPropertyPath" type="SysML.ElementPropertyPath" association="SysML.A_elementPropertyPath_propertyPath"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.A_elementPropertyPath_propertyPath.elementPropertyPath.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.A_elementPropertyPath_propertyPath.elementPropertyPath.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="SysML.A_adjunctProperty_principal" name="A_adjunctProperty_principal" memberEnd="SysML.AdjunctProperty.principal SysML.A_adjunctProperty_principal.adjunctProperty"> + <ownedEnd xmi:type="uml:Property" xmi:id="SysML.A_adjunctProperty_principal.adjunctProperty" name="adjunctProperty" type="SysML.AdjunctProperty" association="SysML.A_adjunctProperty_principal"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.A_adjunctProperty_principal.adjunctProperty.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.A_adjunctProperty_principal.adjunctProperty.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_ValueType_base_DataType" name="E_extension_ValueType_base_DataType" memberEnd="SysML.E_extension_ValueType_base_DataType.extension_ValueType SysML.ValueType.base_DataType" navigableOwnedEnd="SysML.E_extension_ValueType_base_DataType.extension_ValueType"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_ValueType_base_DataType.extension_ValueType" name="extension_ValueType" type="SysML.ValueType" association="SysML.E_extension_ValueType_base_DataType"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_ValueType_base_DataType.extension_ValueType.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_ClassifierBehaviorProperty_base_Property" name="E_extension_ClassifierBehaviorProperty_base_Property" memberEnd="SysML.ClassifierBehaviorProperty.base_Property SysML.E_extension_ClassifierBehaviorProperty_base_Property.extension_ClassifierBehaviorProperty" navigableOwnedEnd="SysML.E_extension_ClassifierBehaviorProperty_base_Property.extension_ClassifierBehaviorProperty"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_ClassifierBehaviorProperty_base_Property.extension_ClassifierBehaviorProperty" name="extension_ClassifierBehaviorProperty" type="SysML.ClassifierBehaviorProperty" association="SysML.E_extension_ClassifierBehaviorProperty_base_Property"/> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_DistributedProperty_base_Property" name="E_extension_DistributedProperty_base_Property" memberEnd="SysML.E_extension_DistributedProperty_base_Property.extension_DistributedProperty SysML.DistributedProperty.base_Property" navigableOwnedEnd="SysML.E_extension_DistributedProperty_base_Property.extension_DistributedProperty"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_DistributedProperty_base_Property.extension_DistributedProperty" name="extension_DistributedProperty" type="SysML.DistributedProperty" association="SysML.E_extension_DistributedProperty_base_Property"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_DistributedProperty_base_Property.extension_DistributedProperty.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.DistributedProperty" name="DistributedProperty"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.DistributedProperty._comment0"> + <body>DistributedProperty is a stereotype of Property used to apply a probability distribution to the values of the property. Specific distributions should be defined as subclasses of the DistributedProperty stereotype with the operands of the distributions represented by properties of those stereotype subclasses.</body> + </ownedComment> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.DistributedProperty.base_Property" name="base_Property" association="SysML.E_extension_DistributedProperty_base_Property"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.DistributedProperty.base_Property.lowerValue0"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KZi8PXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/DistributedProperty.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KZi8fXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KZi8vXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KZi8_XoEeeFOavjQCI5eQ" key="image_name_key" value="DistributedProperty"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_PropertySpecificType_base_Classifier" name="E_extension_PropertySpecificType_base_Classifier" memberEnd="SysML.E_extension_PropertySpecificType_base_Classifier.extension_PropertySpecificType SysML.PropertySpecificType.base_Classifier" navigableOwnedEnd="SysML.E_extension_PropertySpecificType_base_Classifier.extension_PropertySpecificType"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_PropertySpecificType_base_Classifier.extension_PropertySpecificType" name="extension_PropertySpecificType" type="SysML.PropertySpecificType" association="SysML.E_extension_PropertySpecificType_base_Classifier"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_PropertySpecificType_base_Classifier.extension_PropertySpecificType.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.ElementPropertyPath" name="ElementPropertyPath" isAbstract="true"> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.ElementPropertyPath.base_Element" name="base_Element" association="SysML.E_extension_ElementPropertyPath_base_Element"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ElementPropertyPath.base_Element.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.ElementPropertyPath.propertyPath" name="propertyPath" isOrdered="true" isUnique="false" association="SysML.A_elementPropertyPath_propertyPath"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.ElementPropertyPath.propertyPath._comment0"> + <body> The propertyPath list of the NestedConnectorEnd stereotype must identify a path of containing properties that identify the connected property in the context of the block that owns the connector. The ordering of properties is from a property of the block that owns the connector, through a property of each intermediate block that types the preceding property, until a property is reached that contains a connector end property within its type. The connector end property is not included in the propertyPath list, but instead is held by the role property of the UML ConnectorEnd metaclass. </body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.ElementPropertyPath.propertyPath.upperValue0" value="*"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KZi9PXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ElementPropertyPath.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KZi9fXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KZi9vXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KaKAPXoEeeFOavjQCI5eQ" key="image_name_key" value="ElementPropertyPath"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.AdjunctProperty" name="AdjunctProperty"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.AdjunctProperty._comment0"> + <body>The AdjunctProperty stereotype can be applied to properties to constrain their values to the values of connectors typed by association blocks, call actions, object nodes, variables, or parameters, interaction uses, and submachine states. The values of connectors typed by association blocks are the instances of the association block typing a connector in the block having the stereotyped property. The values of call actions are the executions of behaviors invoked by the behavior having the call action and the stereotyped property (see Subclause 11.3.1.1.1 for more about this use of the stereotype). The values of object nodes are the values of tokens in the object nodes of the behavior having the stereotyped property (see Subclause 11.3.1.4.1 for more about this use of the stereotype). The values of variables are those assigned by executions of activities that have the stereotyped property. The values of parameters are those assigned by executions of behaviors that have the stereotyped property. The keyword «adjunct» before a property name indicates the property is stereotyped by AdjunctProperty.</body> + </ownedComment> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.AdjunctProperty.base_Property" name="base_Property" association="SysML.E_extension_AdjunctProperty_base_Property"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.AdjunctProperty.base_Property.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.AdjunctProperty.principal" name="principal" association="SysML.A_adjunctProperty_principal"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.AdjunctProperty.principal._comment0"> + <body>Gives the element that determines the values of the property. Must be a connector, call action, object node, variable, or parameter.</body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KaKAfXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/AdjunctProperty.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KaKAvXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KaKA_XoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KaKBPXoEeeFOavjQCI5eQ" key="image_name_key" value="AdjunctProperty"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="SysML.A_directedRelationshipPropertyPath_targetContext" name="A_directedRelationshipPropertyPath_targetContext" memberEnd="SysML.DirectedRelationshipPropertyPath.targetContext SysML.A_directedRelationshipPropertyPath_targetContext.directedRelationshipPropertyPath"> + <ownedEnd xmi:type="uml:Property" xmi:id="SysML.A_directedRelationshipPropertyPath_targetContext.directedRelationshipPropertyPath" name="directedRelationshipPropertyPath" type="SysML.DirectedRelationshipPropertyPath" association="SysML.A_directedRelationshipPropertyPath_targetContext"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.A_directedRelationshipPropertyPath_targetContext.directedRelationshipPropertyPath.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.A_directedRelationshipPropertyPath_targetContext.directedRelationshipPropertyPath.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_ElementPropertyPath_base_Element" name="E_extension_ElementPropertyPath_base_Element" memberEnd="SysML.ElementPropertyPath.base_Element SysML.E_extension_ElementPropertyPath_base_Element.extension_ElementPropertyPath" navigableOwnedEnd="SysML.E_extension_ElementPropertyPath_base_Element.extension_ElementPropertyPath"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_ElementPropertyPath_base_Element.extension_ElementPropertyPath" name="extension_ElementPropertyPath" type="SysML.ElementPropertyPath" association="SysML.E_extension_ElementPropertyPath_base_Element"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_ElementPropertyPath_base_Element.extension_ElementPropertyPath.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.EndPathMultiplicity" name="EndPathMultiplicity"> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.EndPathMultiplicity.base_Property" name="base_Property" association="SysML.E_extension_EndPathMultiplicity_base_Property"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.EndPathMultiplicity.base_Property.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.EndPathMultiplicity.lower" name="lower"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.EndPathMultiplicity.lower._comment0"> + <body>Gives the minimum number of values of the property at the end of the related bindingPath, for each object reached by navigation along the bindingPath from an instance of the block owning the property to which EndPathMultiplicity is applied</body> + </ownedComment> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Integer"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.EndPathMultiplicity.lower.lowerValue0"/> + <defaultValue xmi:type="uml:LiteralInteger" xmi:id="SysML.EndPathMultiplicity.lower.defaultValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.EndPathMultiplicity.upper" name="upper"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.EndPathMultiplicity.upper._comment0"> + <body>Gives the maximum number of values of the property at the end of the related bindingPath, for each object reached by navigation along the bindingPath from an instance of the block owning the property to which EndPathMultiplicity is applied.</body> + </ownedComment> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#UnlimitedNatural"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.EndPathMultiplicity.upper.lowerValue0"/> + <defaultValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.EndPathMultiplicity.upper.defaultValue0" value="*"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KaKBfXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/EndPathMultiplicity.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KaKBvXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KaKB_XoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KaKCPXoEeeFOavjQCI5eQ" key="image_name_key" value="EndPathMultiplicity"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.ParticipantProperty" name="ParticipantProperty"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.ParticipantProperty._comment0"> + <body>The Block stereotype extends Class, so it can be applied to any specialization of Class, including Association Classes. These are informally called “association blocks.” An association block can own properties and connectors, like any other block. Each instance of an association block can link together instances of the end classifiers of the association. To refer to linked objects and values of an instance of an association block, it is necessary for the modeler to specify which (participant) properties of the association block identify the instances being linked at which end of the association. The value of a participant property on an instance (link) of the association block is the value or object at the end of the link corresponding to this end of the association.</body> + </ownedComment> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.ParticipantProperty.base_Property" name="base_Property" association="SysML.E_extension_ParticipantProperty_base_Property"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ParticipantProperty.base_Property.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.ParticipantProperty.end" name="end"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.ParticipantProperty.end._comment0"> + <body>A member end of the association block owning the property on which the stereotype is applied.</body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KaKCfXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ParticipantProperty.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KaxEPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KaxEfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KaxEvXoEeeFOavjQCI5eQ" key="image_name_key" value="ParticipantProperty"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Block_base_Class" name="E_extension_Block_base_Class" memberEnd="SysML.E_extension_Block_base_Class.extension_Block SysML.Block.base_Class" navigableOwnedEnd="SysML.E_extension_Block_base_Class.extension_Block"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Block_base_Class.extension_Block" name="extension_Block" type="SysML.Block" association="SysML.E_extension_Block_base_Class"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Block_base_Class.extension_Block.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Block" name="Block"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.Block._comment0"> + <body>A Block is a modular unit that describes the structure of a system or element. It may include both structural and behavioral features, such as properties and operations, that represent the state of the system and behavior that the system may exhibit. Some of these properties may hold parts of a system, which can also be described by blocks. A block may include a structure of connectors between its properties to indicate how its parts or other properties relate to one another. SysML blocks provide a general-purpose capability to describe the architecture of a system. They provide the ability to represent a system hierarchy, in which a system at one level is composed of systems at a more basic level. They can describe not only the connectivity relationships between the systems at any level, but also quantitative values or other information about a system. SysML does not restrict the kind of system or system element that may be described by a block. Any reusable form of description that may be applied to a system or a set of system characteristics may be described by a block. Such reusable descriptions, for example, may be applied to purely conceptual aspects of a system design, such as relationships that hold between parts or properties of a system. Connectors owned by SysML blocks may be used to define relationships between parts or other properties of the same containing block. The type of a connector or its connected ends may specify the semantic interpretation of a specific connector.</body> + </ownedComment> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Block.base_Class" name="base_Class" association="SysML.E_extension_Block_base_Class"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Block.base_Class.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Block.isEncapsulated" name="isEncapsulated"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.Block.isEncapsulated._comment0"> + <body> If true, then the block is treated as a black box; a part typed by this black box can only be connected via its ports or directly to its outer boundary. If false, or if a value is not present, then connections can be established to elements of its internal structure via deep-nested connector ends. </body> + </ownedComment> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Block.isEncapsulated.lowerValue0"/> + </ownedAttribute> + <ownedOperation xmi:type="uml:Operation" xmi:id="_VU-tIPFnEeefg-uwXxvTkQ" name="getReferences"> + <ownedComment xmi:type="uml:Comment" xmi:id="_VU-tIfFnEeefg-uwXxvTkQ" annotatedElement="_VU-tIPFnEeefg-uwXxvTkQ"> + <body>@papyrus.req org.eclipse.papyrus.sysml#REQ-SYSML14-Block-References</body> + </ownedComment> + <ownedParameter xmi:type="uml:Parameter" xmi:id="_VU-tIvFnEeefg-uwXxvTkQ" name="references" direction="return"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_VU-tI_FnEeefg-uwXxvTkQ"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_VU-tJPFnEeefg-uwXxvTkQ" value="*"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:type="uml:Operation" xmi:id="_VU_UMPFnEeefg-uwXxvTkQ" name="getParts"> + <ownedParameter xmi:type="uml:Parameter" xmi:id="_VU_UMfFnEeefg-uwXxvTkQ" name="parts" direction="return"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_VU_UMvFnEeefg-uwXxvTkQ"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_VU_UM_FnEeefg-uwXxvTkQ" value="*"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:type="uml:Operation" xmi:id="_VU_UNPFnEeefg-uwXxvTkQ" name="getFlowProperties"> + <ownedParameter xmi:type="uml:Parameter" xmi:id="_VU_UNfFnEeefg-uwXxvTkQ" name="flowProperties" direction="return"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_VU_UNvFnEeefg-uwXxvTkQ"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_VU_UN_FnEeefg-uwXxvTkQ" value="*"/> + </ownedParameter> + </ownedOperation> + <icon xmi:type="uml:Image" xmi:id="__KaxE_XoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Block.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KaxFPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KaxFfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KaxFvXoEeeFOavjQCI5eQ" key="image_name_key" value="Block"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="SysML.A_directedRelationshipPropertyPath_sourceContext" name="A_directedRelationshipPropertyPath_sourceContext" memberEnd="SysML.DirectedRelationshipPropertyPath.sourceContext SysML.A_directedRelationshipPropertyPath_sourceContext.directedRelationshipPropertyPath"> + <ownedEnd xmi:type="uml:Property" xmi:id="SysML.A_directedRelationshipPropertyPath_sourceContext.directedRelationshipPropertyPath" name="directedRelationshipPropertyPath" type="SysML.DirectedRelationshipPropertyPath" association="SysML.A_directedRelationshipPropertyPath_sourceContext"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.A_directedRelationshipPropertyPath_sourceContext.directedRelationshipPropertyPath.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.A_directedRelationshipPropertyPath_sourceContext.directedRelationshipPropertyPath.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_EndPathMultiplicity_base_Property" name="E_extension_EndPathMultiplicity_base_Property" memberEnd="SysML.EndPathMultiplicity.base_Property SysML.E_extension_EndPathMultiplicity_base_Property.extension_EndPathMultiplicity" navigableOwnedEnd="SysML.E_extension_EndPathMultiplicity_base_Property.extension_EndPathMultiplicity"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_EndPathMultiplicity_base_Property.extension_EndPathMultiplicity" name="extension_EndPathMultiplicity" type="SysML.EndPathMultiplicity" association="SysML.E_extension_EndPathMultiplicity_base_Property"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_EndPathMultiplicity_base_Property.extension_EndPathMultiplicity.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_ConnectorProperty_base_Property" name="E_extension_ConnectorProperty_base_Property" memberEnd="SysML.E_extension_ConnectorProperty_base_Property.extension_ConnectorProperty SysML.ConnectorProperty.base_Property" navigableOwnedEnd="SysML.E_extension_ConnectorProperty_base_Property.extension_ConnectorProperty"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_ConnectorProperty_base_Property.extension_ConnectorProperty" name="extension_ConnectorProperty" type="SysML.ConnectorProperty" association="SysML.E_extension_ConnectorProperty_base_Property"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_ConnectorProperty_base_Property.extension_ConnectorProperty.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_ParticipantProperty_base_Property" name="E_extension_ParticipantProperty_base_Property" memberEnd="SysML.E_extension_ParticipantProperty_base_Property.extension_ParticipantProperty SysML.ParticipantProperty.base_Property" navigableOwnedEnd="SysML.E_extension_ParticipantProperty_base_Property.extension_ParticipantProperty"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_ParticipantProperty_base_Property.extension_ParticipantProperty" name="extension_ParticipantProperty" type="SysML.ParticipantProperty" association="SysML.E_extension_ParticipantProperty_base_Property"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_ParticipantProperty_base_Property.extension_ParticipantProperty.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.ConnectorProperty" name="ConnectorProperty"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.ConnectorProperty._comment0"> + <body>Connectors can be typed by association classes that are stereotyped by Block (association blocks). These connectors specify instances (links) of the association block that exist due to instantiation of the block owning or inheriting the connector. The value of a connector property on an instance of a block will be exactly those link objects that are instances of the association block typing the connector referred to by the connector property.</body> + </ownedComment> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.ConnectorProperty.base_Property" name="base_Property" association="SysML.E_extension_ConnectorProperty_base_Property"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ConnectorProperty.base_Property.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.ConnectorProperty.connector" name="connector"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.ConnectorProperty.connector._comment0"> + <body>A connector of the block owning the property on which the stereotype is applied.</body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Connector"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KbYIPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ConnectorProperty.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KbYIfXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KbYIvXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KbYI_XoEeeFOavjQCI5eQ" key="image_name_key" value="ConnectorProperty"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.BindingConnector" name="BindingConnector"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.BindingConnector._comment0"> + <body>A Binding Connector is a connector which specifies that the properties at both ends of the connector have equal values. If the properties at the ends of a binding connector are typed by a DataType or ValueType, the connector specifies that the instances of the properties must hold equal values, recursively through any nested properties within the connected properties. If the properties at the ends of a binding connector are typed by a Block, the connector specifies that the instances of the properties must refer to the same block instance. As with any connector owned by a SysML Block, the ends of a binding connector may be nested within a multi-level path of properties accessible from the owning block. The NestedConnectorEnd stereotype is used to represent such nested ends just as for nested ends of other SysML connectors.</body> + </ownedComment> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.BindingConnector.base_Connector" name="base_Connector" association="SysML.E_extension_BindingConnector_base_Connector"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Connector"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.BindingConnector.base_Connector.lowerValue0"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KbYJPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/BindingConnector.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KbYJfXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KbYJvXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KbYJ_XoEeeFOavjQCI5eQ" key="image_name_key" value="BindingConnector"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="SysML.A_directedRelationshipPropertyPath_targetPropertyPath" name="A_directedRelationshipPropertyPath_targetPropertyPath" memberEnd="SysML.DirectedRelationshipPropertyPath.targetPropertyPath SysML.A_directedRelationshipPropertyPath_targetPropertyPath.directedRelationshipPropertyPath"> + <ownedEnd xmi:type="uml:Property" xmi:id="SysML.A_directedRelationshipPropertyPath_targetPropertyPath.directedRelationshipPropertyPath" name="directedRelationshipPropertyPath" type="SysML.DirectedRelationshipPropertyPath" association="SysML.A_directedRelationshipPropertyPath_targetPropertyPath"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.A_directedRelationshipPropertyPath_targetPropertyPath.directedRelationshipPropertyPath.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.A_directedRelationshipPropertyPath_targetPropertyPath.directedRelationshipPropertyPath.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.ClassifierBehaviorProperty" name="ClassifierBehaviorProperty"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.ClassifierBehaviorProperty._comment0"> + <body>The ClassifierBehaviorProperty stereotype can be applied to properties to constrain their values to be the executions of classifier behaviors. The value of properties with ClassifierBehaviorProperty applied are the executions of classifier behaviors invoked by instantiation of the block that owns the stereotyped property or one of its specializations.</body> + </ownedComment> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.ClassifierBehaviorProperty.base_Property" name="base_Property" association="SysML.E_extension_ClassifierBehaviorProperty_base_Property"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ClassifierBehaviorProperty.base_Property.lowerValue0"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KbYKPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ClassifierBehaviorProperty.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KbYKfXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__Kb_MPXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__Kb_MfXoEeeFOavjQCI5eQ" key="image_name_key" value="ClassifierBehaviorProperty"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.BoundReference" name="BoundReference"> + <generalization xmi:type="uml:Generalization" xmi:id="SysML.BoundReference._generalization.SysML.EndPathMultiplicity" general="SysML.EndPathMultiplicity"/> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.BoundReference.bindingPath" name="bindingPath" isOrdered="true" isUnique="false" isReadOnly="true" isDerived="true"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.BoundReference.bindingPath._comment0"> + <body>Gives the propertyPath of the NestedConnectorEnd applied, if any, to the boundEnd, appended to the role of the boundEnd. </body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.BoundReference.bindingPath.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.BoundReference.boundEnd" name="boundEnd"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.BoundReference.boundEnd._comment0"> + <body>Gives a connector end of a binding connector opposite to the end linked to the stereotyped property, or linked to a property that generalizes the stereotyped one through redefinition.</body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ConnectorEnd"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__Kb_MvXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/BoundReference.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__Kb_M_XoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__Kb_NPXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__Kb_NfXoEeeFOavjQCI5eQ" key="image_name_key" value="BoundReference"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_BindingConnector_base_Connector" name="E_extension_BindingConnector_base_Connector" memberEnd="SysML.E_extension_BindingConnector_base_Connector.extension_BindingConnector SysML.BindingConnector.base_Connector" navigableOwnedEnd="SysML.E_extension_BindingConnector_base_Connector.extension_BindingConnector"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_BindingConnector_base_Connector.extension_BindingConnector" name="extension_BindingConnector" type="SysML.BindingConnector" association="SysML.E_extension_BindingConnector_base_Connector"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_BindingConnector_base_Connector.extension_BindingConnector.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="SysML.A_directedRelationshipPropertyPath_sourcePropertyPath" name="A_directedRelationshipPropertyPath_sourcePropertyPath" memberEnd="SysML.DirectedRelationshipPropertyPath.sourcePropertyPath SysML.A_directedRelationshipPropertyPath_sourcePropertyPath.directedRelationshipPropertyPath"> + <ownedEnd xmi:type="uml:Property" xmi:id="SysML.A_directedRelationshipPropertyPath_sourcePropertyPath.directedRelationshipPropertyPath" name="directedRelationshipPropertyPath" type="SysML.DirectedRelationshipPropertyPath" association="SysML.A_directedRelationshipPropertyPath_sourcePropertyPath"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.A_directedRelationshipPropertyPath_sourcePropertyPath.directedRelationshipPropertyPath.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.A_directedRelationshipPropertyPath_sourcePropertyPath.directedRelationshipPropertyPath.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship" name="E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship" memberEnd="SysML.DirectedRelationshipPropertyPath.base_DirectedRelationship SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship.extension_DirectedRelationshipPropertyPath" navigableOwnedEnd="SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship.extension_DirectedRelationshipPropertyPath"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship.extension_DirectedRelationshipPropertyPath" name="extension_DirectedRelationshipPropertyPath" type="SysML.DirectedRelationshipPropertyPath" association="SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship.extension_DirectedRelationshipPropertyPath.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_NestedConnectorEnd_base_ConnectorEnd" name="E_extension_NestedConnectorEnd_base_ConnectorEnd" memberEnd="SysML.E_extension_NestedConnectorEnd_base_ConnectorEnd.extension_NestedConnectorEnd SysML.NestedConnectorEnd.base_ConnectorEnd" navigableOwnedEnd="SysML.E_extension_NestedConnectorEnd_base_ConnectorEnd.extension_NestedConnectorEnd"> + <generalization xmi:type="uml:Generalization" xmi:id="SysML.E_extension_NestedConnectorEnd_base_ConnectorEnd._generalization.SysML.E_extension_ElementPropertyPath_base_Element" general="SysML.E_extension_ElementPropertyPath_base_Element"/> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_NestedConnectorEnd_base_ConnectorEnd.extension_NestedConnectorEnd" name="extension_NestedConnectorEnd" type="SysML.NestedConnectorEnd" redefinedProperty="SysML.E_extension_ElementPropertyPath_base_Element.extension_ElementPropertyPath" association="SysML.E_extension_NestedConnectorEnd_base_ConnectorEnd"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_NestedConnectorEnd_base_ConnectorEnd.extension_NestedConnectorEnd.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.PropertySpecificType" name="PropertySpecificType"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.PropertySpecificType._comment0"> + <body>The PropertySpecificType stereotype should automatically be applied to the classifier which types a property with a propertyspecific type. This classifier can contain definitions of new or redefined features which extend the original classifier referenced by the property-specific type.</body> + </ownedComment> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.PropertySpecificType.base_Classifier" name="base_Classifier" association="SysML.E_extension_PropertySpecificType_base_Classifier"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Classifier"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.PropertySpecificType.base_Classifier.lowerValue0"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__Kb_NvXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/PropertySpecificType.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KcmQPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KcmQfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KcmQvXoEeeFOavjQCI5eQ" key="image_name_key" value="PropertySpecificType"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="SysML.A_valueType_unit" name="A_valueType_unit" memberEnd="SysML.A_valueType_unit.valueType SysML.ValueType.unit"> + <ownedEnd xmi:type="uml:Property" xmi:id="SysML.A_valueType_unit.valueType" name="valueType" type="SysML.ValueType" association="SysML.A_valueType_unit"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.A_valueType_unit.valueType.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.A_valueType_unit.valueType.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.NestedConnectorEnd" name="NestedConnectorEnd"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.NestedConnectorEnd._comment0"> + <body>The NestedConnectorEnd stereotype of UML ConnectorEnd extends a UML ConnectorEnd so that the connected property may be identified by a multi-level path of accessible properties from the block that owns the connector.</body> + </ownedComment> + <generalization xmi:type="uml:Generalization" xmi:id="SysML.NestedConnectorEnd._generalization.SysML.ElementPropertyPath" general="SysML.ElementPropertyPath"/> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.NestedConnectorEnd.base_ConnectorEnd" name="base_ConnectorEnd" redefinedProperty="SysML.ElementPropertyPath.base_Element" association="SysML.E_extension_NestedConnectorEnd_base_ConnectorEnd"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ConnectorEnd"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.NestedConnectorEnd.base_ConnectorEnd.lowerValue0"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KcmQ_XoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/NestedConnectorEnd.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KcmRPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KcmRfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KcmRvXoEeeFOavjQCI5eQ" key="image_name_key" value="NestedConnectorEnd"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.ValueType" name="ValueType"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.ValueType._comment0"> + <body>A ValueType defines types of values that may be used to express information about a system, but cannot be identified as the target of any reference. Since a value cannot be identified except by means of the value itself, each such value within a model is independent of any other, unless other forms of constraints are imposed. Value types may be used to type properties, operation parameters, or potentially other elements within SysML. SysML defines ValueType as a stereotype of UML DataType to establish a more neutral term for system values that may never be given a concrete data representation.</body> + </ownedComment> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.ValueType.base_DataType" name="base_DataType" association="SysML.E_extension_ValueType_base_DataType"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DataType"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ValueType.base_DataType.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.ValueType.quantityKind" name="quantityKind" association="SysML.A_valueType_quantityKind"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.ValueType.quantityKind._comment0"> + <body> A kind of quantity that may be stated by means of defined units, as identified by an instance of the Dimension stereotype. A value type may optionally specify a dimension without any unit. Such a value has no concrete representation, but may be used to express a value in an abstract form independent of any specific units. </body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#InstanceSpecification"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ValueType.quantityKind.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.ValueType.unit" name="unit" association="SysML.A_valueType_unit"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.ValueType.unit._comment0"> + <body>A quantity in terms of which the magnitudes of other quantities that have the same dimension can be stated, as identified by an instance of the Unit stereotype.</body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#InstanceSpecification"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ValueType.unit.lowerValue0"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KcmR_XoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ValueType.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KcmSPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KcmSfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KcmSvXoEeeFOavjQCI5eQ" key="image_name_key" value="ValueType"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Association" xmi:id="SysML.A_valueType_quantityKind" name="A_valueType_quantityKind" memberEnd="SysML.A_valueType_quantityKind.valueType SysML.ValueType.quantityKind"> + <ownedEnd xmi:type="uml:Property" xmi:id="SysML.A_valueType_quantityKind.valueType" name="valueType" type="SysML.ValueType" association="SysML.A_valueType_quantityKind"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.A_valueType_quantityKind.valueType.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.A_valueType_quantityKind.valueType.upperValue0" value="*"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.DirectedRelationshipPropertyPath" name="DirectedRelationshipPropertyPath" isAbstract="true"> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.DirectedRelationshipPropertyPath.base_DirectedRelationship" name="base_DirectedRelationship" association="SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DirectedRelationship"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.DirectedRelationshipPropertyPath.base_DirectedRelationship.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.DirectedRelationshipPropertyPath.sourceContext" name="sourceContext" association="SysML.A_directedRelationshipPropertyPath_sourceContext"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Classifier"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.DirectedRelationshipPropertyPath.sourceContext.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.DirectedRelationshipPropertyPath.sourcePropertyPath" name="sourcePropertyPath" isOrdered="true" isUnique="false" association="SysML.A_directedRelationshipPropertyPath_sourcePropertyPath"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.DirectedRelationshipPropertyPath.sourcePropertyPath.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.DirectedRelationshipPropertyPath.sourcePropertyPath.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.DirectedRelationshipPropertyPath.targetContext" name="targetContext" association="SysML.A_directedRelationshipPropertyPath_targetContext"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Classifier"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.DirectedRelationshipPropertyPath.targetContext.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.DirectedRelationshipPropertyPath.targetPropertyPath" name="targetPropertyPath" isOrdered="true" isUnique="false" association="SysML.A_directedRelationshipPropertyPath_targetPropertyPath"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.DirectedRelationshipPropertyPath.targetPropertyPath.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.DirectedRelationshipPropertyPath.targetPropertyPath.upperValue0" value="*"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KdNUPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/DirectedRelationshipPropertyPath.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KdNUfXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KdNUvXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KdNU_XoEeeFOavjQCI5eQ" key="image_name_key" value="DirectedRelationshipPropertyPath"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_AdjunctProperty_base_Property" name="E_extension_AdjunctProperty_base_Property" memberEnd="SysML.AdjunctProperty.base_Property SysML.E_extension_AdjunctProperty_base_Property.extension_AdjunctProperty" navigableOwnedEnd="SysML.E_extension_AdjunctProperty_base_Property.extension_AdjunctProperty"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_AdjunctProperty_base_Property.extension_AdjunctProperty" name="extension_AdjunctProperty" type="SysML.AdjunctProperty" association="SysML.E_extension_AdjunctProperty_base_Property"/> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="SysML.Allocations" name="Allocations"> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_AllocateActivityPartition_base_ActivityPartition" name="E_extension_AllocateActivityPartition_base_ActivityPartition" memberEnd="SysML.E_extension_AllocateActivityPartition_base_ActivityPartition.extension_AllocateActivityPartition SysML.AllocateActivityPartition.base_ActivityPartition" navigableOwnedEnd="SysML.E_extension_AllocateActivityPartition_base_ActivityPartition.extension_AllocateActivityPartition"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_AllocateActivityPartition_base_ActivityPartition.extension_AllocateActivityPartition" name="extension_AllocateActivityPartition" type="SysML.AllocateActivityPartition" association="SysML.E_extension_AllocateActivityPartition_base_ActivityPartition"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_AllocateActivityPartition_base_ActivityPartition.extension_AllocateActivityPartition.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Allocate_base_Abstraction" name="E_extension_Allocate_base_Abstraction" memberEnd="SysML.E_extension_Allocate_base_Abstraction.extension_Allocate SysML.Allocate.base_Abstraction" navigableOwnedEnd="SysML.E_extension_Allocate_base_Abstraction.extension_Allocate"> + <generalization xmi:type="uml:Generalization" xmi:id="SysML.E_extension_Allocate_base_Abstraction._generalization.SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship" general="SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship"/> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Allocate_base_Abstraction.extension_Allocate" name="extension_Allocate" type="SysML.Allocate" redefinedProperty="SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship.extension_DirectedRelationshipPropertyPath" association="SysML.E_extension_Allocate_base_Abstraction"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Allocate_base_Abstraction.extension_Allocate.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Allocate" name="Allocate"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.Allocate._comment0"> + <body>Allocate is a dependency based on UML::abstraction. It is a mechanism for associating elements of different types, or in different hierarchies, at an abstract level. Allocate is used for assessing user model consistency and directing future design activity. It is expected that an «allocate» relationship between model elements is a precursor to a more concrete relationship between the elements, their properties, operations, attributes, or sub-classes.</body> + </ownedComment> + <generalization xmi:type="uml:Generalization" xmi:id="SysML.Allocate._generalization.SysML.DirectedRelationshipPropertyPath" general="SysML.DirectedRelationshipPropertyPath"/> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Allocate.base_Abstraction" name="base_Abstraction" redefinedProperty="SysML.DirectedRelationshipPropertyPath.base_DirectedRelationship" association="SysML.E_extension_Allocate_base_Abstraction"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Abstraction"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Allocate.base_Abstraction.lowerValue0"/> + </ownedAttribute> + <ownedOperation xmi:type="uml:Operation" xmi:id="SysML.Allocate.getAllocatedFrom_NamedElement" name="getAllocatedFrom" isStatic="true" isQuery="true"> + <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.Allocate.getAllocatedFrom_NamedElement.ref" name="ref" effect="create"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> + </ownedParameter> + <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.Allocate.getAllocatedFrom_NamedElement.result" name="result" direction="return" effect="create"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Allocate.getAllocatedFrom_NamedElement.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Allocate.getAllocatedFrom_NamedElement.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:type="uml:Operation" xmi:id="SysML.Allocate.getAllocatedTo_NamedElement" name="getAllocatedTo" isStatic="true" isQuery="true"> + <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.Allocate.getAllocatedTo_NamedElement.ref" name="ref" effect="create"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> + </ownedParameter> + <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.Allocate.getAllocatedTo_NamedElement.result" name="result" direction="return" effect="create"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Allocate.getAllocatedTo_NamedElement.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Allocate.getAllocatedTo_NamedElement.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <icon xmi:type="uml:Image" xmi:id="__KdNVPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Allocate.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KdNVfXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KdNVvXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KdNV_XoEeeFOavjQCI5eQ" key="image_name_key" value="Allocate"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.AllocateActivityPartition" name="AllocateActivityPartition"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.AllocateActivityPartition._comment0"> + <body>AllocateActivityPartition is used to depict an «allocate» relationship on an Activity diagram. The AllocateActivityPartition is a standard UML2::ActivityPartition, with modified constraints as stated in the paragraph below.</body> + </ownedComment> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.AllocateActivityPartition.base_ActivityPartition" name="base_ActivityPartition" association="SysML.E_extension_AllocateActivityPartition_base_ActivityPartition"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ActivityPartition"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.AllocateActivityPartition.base_ActivityPartition.lowerValue0"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KebcPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/AllocateActivityPartition.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KebcfXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KebcvXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__Kebc_XoEeeFOavjQCI5eQ" key="image_name_key" value="AllocateActivityPartition"/> + </eAnnotations> + </icon> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="SysML.Requirements" name="Requirements"> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Copy" name="Copy"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.Copy._comment0"> + <body>A Copy relationship is a dependency between a supplier requirement and a client requirement that specifies that the text of the client requirement is a read-only copy of the text of the supplier requirement.</body> + </ownedComment> + <generalization xmi:type="uml:Generalization" xmi:id="SysML.Copy._generalization.SysML.Trace" general="SysML.Trace" isSubstitutable="false"/> + <icon xmi:type="uml:Image" xmi:id="__KebdPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Copy.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KebdfXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KebdvXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__Kebd_XoEeeFOavjQCI5eQ" key="image_name_key" value="Copy"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Refine_base_Abstraction" name="E_extension_Refine_base_Abstraction" memberEnd="SysML.Refine.base_Abstraction SysML.E_extension_Refine_base_Abstraction.extension_Refine" navigableOwnedEnd="SysML.E_extension_Refine_base_Abstraction.extension_Refine"> + <generalization xmi:type="uml:Generalization" xmi:id="SysML.E_extension_Refine_base_Abstraction._generalization.StandardProfile.Abstraction_Refine"> + <general xmi:type="uml:Classifier" href="http://www.omg.org/spec/UML/20131001/StandardProfile.xmi#Abstraction_Refine"/> + </generalization> + <generalization xmi:type="uml:Generalization" xmi:id="SysML.E_extension_Refine_base_Abstraction._generalization.SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship" general="SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship"/> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Refine_base_Abstraction.extension_Refine" name="extension_Refine" type="SysML.Refine" association="SysML.E_extension_Refine_base_Abstraction"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Refine_base_Abstraction.extension_Refine.lowerValue0"/> + <redefinedProperty xmi:type="uml:ExtensionEnd" href="pathmap://UML_PROFILES/Standard.profile.uml#Abstraction_Refine-extension_Refine"/> + <redefinedProperty xmi:type="uml:ExtensionEnd" href="#SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship.extension_DirectedRelationshipPropertyPath"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Trace" name="Trace"> + <generalization xmi:type="uml:Generalization" xmi:id="SysML.Trace._generalization.SysML.DirectedRelationshipPropertyPath" general="SysML.DirectedRelationshipPropertyPath"/> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Trace.base_Abstraction" name="base_Abstraction" association="SysML.E_extension_Trace_base_Abstraction"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Abstraction"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Trace.base_Abstraction.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Trace.base_Abstraction.upperValue0" value="1"/> + <redefinedProperty xmi:type="uml:Property" href="#SysML.DirectedRelationshipPropertyPath.base_DirectedRelationship"/> + <redefinedProperty xmi:type="uml:Property" href="pathmap://UML_PROFILES/Standard.profile.uml#Trace-base_Abstraction"/> + </ownedAttribute> + <ownedOperation xmi:type="uml:Operation" xmi:id="SysML.Trace.getTracedFrom_NamedElement" name="getTracedFrom" isStatic="true" bodyCondition="SysML.Trace.getTracedFrom_NamedElement._rule.getTracedFrom_body" isQuery="true"> + <ownedRule xmi:type="uml:Constraint" xmi:id="SysML.Trace.getTracedFrom_NamedElement._rule.getTracedFrom_body" name="getTracedFrom_body"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="SysML.Trace.getTracedFrom_NamedElement._rule.getTracedFrom_body.getTracedFrom_body_specification" name="getTracedFrom_body_specification" type="SysML.AbstractRequirement"> + <language>OCL</language> + <body>AbstractRequirement.allInstances()-&gt;select(tracedTo-&gt;includes(ref))</body> + </specification> + </ownedRule> + <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.Trace.getTracedFrom_NamedElement.ref" name="ref" effect="create"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> + </ownedParameter> + <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.Trace.getTracedFrom_NamedElement.result" name="result" type="SysML.AbstractRequirement" direction="return" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Trace.getTracedFrom_NamedElement.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Trace.getTracedFrom_NamedElement.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <icon xmi:type="uml:Image" xmi:id="__KebePXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Trace.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KfCgPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KfCgfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KfCgvXoEeeFOavjQCI5eQ" key="image_name_key" value="Trace"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Trace_base_Abstraction" name="E_extension_Trace_base_Abstraction" memberEnd="SysML.Trace.base_Abstraction SysML.E_extension_Trace_base_Abstraction.extension_Trace" navigableOwnedEnd="SysML.E_extension_Trace_base_Abstraction.extension_Trace"> + <generalization xmi:type="uml:Generalization" xmi:id="SysML.E_extension_Trace_base_Abstraction._generalization.StandardProfile.Abstraction_Trace"> + <general xmi:type="uml:Classifier" href="http://www.omg.org/spec/UML/20131001/StandardProfile.xmi#Abstraction_Trace"/> + </generalization> + <generalization xmi:type="uml:Generalization" xmi:id="SysML.E_extension_Trace_base_Abstraction._generalization.SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship" general="SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship"/> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Trace_base_Abstraction.extension_Trace" name="extension_Trace" type="SysML.Trace" association="SysML.E_extension_Trace_base_Abstraction"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Trace_base_Abstraction.extension_Trace.lowerValue0"/> + <redefinedProperty xmi:type="uml:ExtensionEnd" href="pathmap://UML_PROFILES/Standard.profile.uml#Abstraction_Trace-extension_Trace"/> + <redefinedProperty xmi:type="uml:ExtensionEnd" href="#SysML.E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship.extension_DirectedRelationshipPropertyPath"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Enumeration" xmi:id="SysML_dataType.VerdictKind" name="VerdictKind"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML_dataType.VerdictKind._comment0"> + <body>Type of a return parameter of a TestCase must be VerdictKind, consistent with the UML Testing Profile.</body> + </ownedComment> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="SysML.error" name="error"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="SysML.fail" name="fail"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="SysML.inconclusive" name="inconclusive"/> + <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="SysML.pass" name="pass"/> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.DeriveReqt" name="DeriveReqt"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.DeriveReqt._comment0"> + <body>A DeriveReqt relationship is a dependency between two requirements in which a client requirement can be derived from the supplier requirement. As with other dependencies, the arrow direction points from the derived (client) requirement to the (supplier) requirement from which it is derived.</body> + </ownedComment> + <generalization xmi:type="uml:Generalization" xmi:id="SysML.DeriveReqt._generalization.SysML.Trace" general="SysML.Trace" isSubstitutable="false"/> + <icon xmi:type="uml:Image" xmi:id="__KfCg_XoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/DeriveReqt.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KfChPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KfChfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KfChvXoEeeFOavjQCI5eQ" key="image_name_key" value="DeriveReqt"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.AbstractRequirement" name="AbstractRequirement" isAbstract="true"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.AbstractRequirement._comment0"> + <body>An AbstractRequirement establishes the attributes and relationships essential to any potential kind of requirement. Any intended requirement kind should subclass AbstractRequirement. The only normative stereotype based on AbstractRequirement is the Requirement stereotype, described in section 16.3.2.5. Examples of additional non-normative stereotypes based on AbstractRequirement are included in Annex E.8.</body> + </ownedComment> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.AbstractRequirement.base_NamedElement" name="base_NamedElement"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.AbstractRequirement.base_NamedElement.lowerValue0" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.AbstractRequirement.base_NamedElement.upperValue0" value="1"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.AbstractRequirement.derived" name="derived" type="SysML.AbstractRequirement" isReadOnly="true" isDerived="true"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.AbstractRequirement.derived._comment0"> + <body>Derived from all requirements that are the client of a «deriveReqt» relationship for which this requirement is a supplier.</body> + </ownedComment> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.AbstractRequirement.derived.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.AbstractRequirement.derived.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.AbstractRequirement.derivedFrom" name="derivedFrom" type="SysML.AbstractRequirement" isReadOnly="true" isDerived="true"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.AbstractRequirement.derivedFrom._comment0"> + <body>Derived from all requirements that are the supplier of a «deriveReqt» relationship for which this requirement is a client.</body> + </ownedComment> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.AbstractRequirement.derivedFrom.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.AbstractRequirement.derivedFrom.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.AbstractRequirement.id" name="id"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.AbstractRequirement.id._comment0"> + <body>The unique id of the requirement.</body> + </ownedComment> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <defaultValue xmi:type="uml:LiteralString" xmi:id="SysML.AbstractRequirement.id.defaultValue0" value=""/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.AbstractRequirement.master" name="master" type="SysML.AbstractRequirement" isReadOnly="true" isDerived="true"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.AbstractRequirement.master._comment0"> + <body>This is a derived property that lists the master requirement for this slave requirement. The master attribute is derived from the supplier of the Copy dependency that has this requirement as the slave.</body> + </ownedComment> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.AbstractRequirement.master.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.AbstractRequirement.master.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.AbstractRequirement.refinedBy" name="refinedBy" isReadOnly="true" isDerived="true"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.AbstractRequirement.refinedBy._comment0"> + <body>Derived from all elements that are the client of a «refine» relationship for which this requirement is a supplier.</body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.AbstractRequirement.refinedBy.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.AbstractRequirement.refinedBy.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.AbstractRequirement.satisfiedBy" name="satisfiedBy" isReadOnly="true" isDerived="true"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.AbstractRequirement.satisfiedBy._comment0"> + <body>Derived from all elements that are the client of a «satisfy» relationship for which this requirement is a supplier.</body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.AbstractRequirement.satisfiedBy.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.AbstractRequirement.satisfiedBy.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.AbstractRequirement.text" name="text"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.AbstractRequirement.text._comment0"> + <body>The textual representation or a reference to the textual representation of the requirement.</body> + </ownedComment> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <defaultValue xmi:type="uml:LiteralString" xmi:id="SysML.AbstractRequirement.text.defaultValue0" value=""/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.AbstractRequirement.tracedTo" name="tracedTo" isReadOnly="true" isDerived="true"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.AbstractRequirement.tracedTo._comment0"> + <body>Derived from all elements that are the client of a «trace» relationship for which this requirement is a supplier.</body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.AbstractRequirement.tracedTo.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.AbstractRequirement.tracedTo.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.AbstractRequirement.verifiedBy" name="verifiedBy" isReadOnly="true" isDerived="true"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.AbstractRequirement.verifiedBy._comment0"> + <body>Derived from all elements that are the client of a «verify» relationship for which this requirement is a supplier.</body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.AbstractRequirement.verifiedBy.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.AbstractRequirement.verifiedBy.upperValue0" value="*"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KfCh_XoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/AbstractRequirement.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KfpkPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KfpkfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KfpkvXoEeeFOavjQCI5eQ" key="image_name_key" value="AbstractRequirement"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Verify" name="Verify"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.Verify._comment0"> + <body>A Verify relationship is a dependency between a requirement and a test case or other model element that can determine whether a system fulfills the requirement. As with other dependencies, the arrow direction points from the (client) element to the (supplier) requirement.</body> + </ownedComment> + <generalization xmi:type="uml:Generalization" xmi:id="SysML.Verify._generalization.SysML.Trace" general="SysML.Trace" isSubstitutable="false"/> + <ownedOperation xmi:type="uml:Operation" xmi:id="SysML.Verify.getVerifies_NamedElement" name="getVerifies" isStatic="true" bodyCondition="SysML.Verify.getVerifies_NamedElement._rule.getVerifies_body" isQuery="true"> + <ownedRule xmi:type="uml:Constraint" xmi:id="SysML.Verify.getVerifies_NamedElement._rule.getVerifies_body" name="getVerifies_body"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="SysML.Verify.getVerifies_NamedElement._rule.getVerifies_body.getVerifies_body_specification" name="getVerifies_body_specification" type="SysML.AbstractRequirement"> + <language>OCL</language> + <body>Verify.allInstances()-&gt;select(base_Abstraction.client=ref).base_Abstraction.supplier</body> + </specification> + </ownedRule> + <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.Verify.getVerifies_NamedElement.ref" name="ref" effect="create"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> + </ownedParameter> + <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.Verify.getVerifies_NamedElement.result" name="result" type="SysML.AbstractRequirement" direction="return" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Verify.getVerifies_NamedElement.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Verify.getVerifies_NamedElement.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <icon xmi:type="uml:Image" xmi:id="__Kfpk_XoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Verify.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KfplPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KfplfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KfplvXoEeeFOavjQCI5eQ" key="image_name_key" value="Verify"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_TestCase_base_Operation" name="E_extension_TestCase_base_Operation" memberEnd="SysML.E_extension_TestCase_base_Operation.extension_TestCase SysML.TestCase.base_Operation" navigableOwnedEnd="SysML.E_extension_TestCase_base_Operation.extension_TestCase"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_TestCase_base_Operation.extension_TestCase" name="extension_TestCase" type="SysML.TestCase" association="SysML.E_extension_TestCase_base_Operation"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_TestCase_base_Operation.extension_TestCase.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Requirement_base_Class" name="E_extension_Requirement_base_Class" memberEnd="SysML.E_extension_Requirement_base_Class.extension_Requirement SysML.Requirement.base_Class" navigableOwnedEnd="SysML.E_extension_Requirement_base_Class.extension_Requirement"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Requirement_base_Class.extension_Requirement" name="extension_Requirement" type="SysML.Requirement" association="SysML.E_extension_Requirement_base_Class"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Requirement_base_Class.extension_Requirement.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Refine" name="Refine"> + <generalization xmi:type="uml:Generalization" xmi:id="SysML.Refine._generalization.SysML.DirectedRelationshipPropertyPath" general="SysML.DirectedRelationshipPropertyPath"/> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Refine.base_Abstraction" name="base_Abstraction" association="SysML.E_extension_Refine_base_Abstraction"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Abstraction"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Refine.base_Abstraction.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Refine.base_Abstraction.upperValue0" value="1"/> + <redefinedProperty xmi:type="uml:Property" href="#SysML.DirectedRelationshipPropertyPath.base_DirectedRelationship"/> + <redefinedProperty xmi:type="uml:Property" href="pathmap://UML_PROFILES/Standard.profile.uml#Refine-base_Abstraction"/> + </ownedAttribute> + <ownedOperation xmi:type="uml:Operation" xmi:id="SysML.Refine.getRefines_NamedElement" name="getRefines" isStatic="true" bodyCondition="SysML.Refine.getRefines_NamedElement._rule.getRefines_body" isQuery="true"> + <ownedRule xmi:type="uml:Constraint" xmi:id="SysML.Refine.getRefines_NamedElement._rule.getRefines_body" name="getRefines_body"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="SysML.Refine.getRefines_NamedElement._rule.getRefines_body.getRefines_body_specification" name="getRefines_body_specification" type="SysML.AbstractRequirement"> + <language>OCL</language> + <body>Refine.allInstances()-&gt;select(base_Abstraction.client=ref).base_Abstraction.supplier</body> + </specification> + </ownedRule> + <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.Refine.getRefines_NamedElement.ref" name="ref" effect="create"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> + </ownedParameter> + <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.Refine.getRefines_NamedElement.result" name="result" type="SysML.AbstractRequirement" direction="return" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Refine.getRefines_NamedElement.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Refine.getRefines_NamedElement.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <icon xmi:type="uml:Image" xmi:id="__KgQoPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Refine.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KgQofXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KgQovXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KgQo_XoEeeFOavjQCI5eQ" key="image_name_key" value="Refine"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Satisfy" name="Satisfy"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.Satisfy._comment0"> + <body>A Satisfy relationship is a dependency between a requirement and a model element that fulfills the requirement. As with other dependencies, the arrow direction points from the satisfying (client) model element to the (supplier) requirement that is satisfied.</body> + </ownedComment> + <generalization xmi:type="uml:Generalization" xmi:id="SysML.Satisfy._generalization.SysML.Trace" general="SysML.Trace"/> + <ownedOperation xmi:type="uml:Operation" xmi:id="SysML.Satisfy.getSatisfies_NamedElement" name="getSatisfies" isStatic="true" bodyCondition="SysML.Satisfy.getSatisfies_NamedElement._rule.getSatisfies_body" isQuery="true"> + <ownedRule xmi:type="uml:Constraint" xmi:id="SysML.Satisfy.getSatisfies_NamedElement._rule.getSatisfies_body" name="getSatisfies_body"> + <specification xmi:type="uml:OpaqueExpression" xmi:id="SysML.Satisfy.getSatisfies_NamedElement._rule.getSatisfies_body.getSatisfies_body_specification" name="getSatisfies_body_specification" type="SysML.AbstractRequirement"> + <language>OCL</language> + <body>Satisfy.allInstances()-&gt;select(base_Abstraction.client=ref).base_Abstraction.supplier</body> + </specification> + </ownedRule> + <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.Satisfy.getSatisfies_NamedElement.ref" name="ref" effect="create"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> + </ownedParameter> + <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.Satisfy.getSatisfies_NamedElement.result" name="result" type="SysML.AbstractRequirement" direction="return" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Satisfy.getSatisfies_NamedElement.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Satisfy.getSatisfies_NamedElement.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <icon xmi:type="uml:Image" xmi:id="__KgQpPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Satisfy.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KgQpfXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KgQpvXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KgQp_XoEeeFOavjQCI5eQ" key="image_name_key" value="Satisfy"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.TestCase" name="TestCase"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.TestCase._comment0"> + <body>A test case is a method for verifying a requirement is satisfied.</body> + </ownedComment> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.TestCase.base_Behavior" name="base_Behavior" association="SysML.E_extension_TestCase_base_Behavior"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Behavior"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.TestCase.base_Behavior.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.TestCase.base_Operation" name="base_Operation" association="SysML.E_extension_TestCase_base_Operation"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Operation"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.TestCase.base_Operation.lowerValue0"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KgQqPXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/TestCase.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KgQqfXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__Kg3sPXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__Kg3sfXoEeeFOavjQCI5eQ" key="image_name_key" value="TestCase"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Requirement" name="Requirement"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.Requirement._comment0"> + <body>A requirement specifies a capability or condition that must (or should) be satisfied. A requirement may specify a function that a system must perform or a performance condition that a system must satisfy. Requirements are used to establish a contract between the customer (or other stakeholder) and those responsible for designing and implementing the system.</body> + </ownedComment> + <generalization xmi:type="uml:Generalization" xmi:id="SysML.Requirement._generalization.SysML.AbstractRequirement" general="SysML.AbstractRequirement"/> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Requirement.base_Class" name="base_Class" redefinedProperty="SysML.AbstractRequirement.base_NamedElement" association="SysML.E_extension_Requirement_base_Class"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Requirement.base_Class.lowerValue0" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Requirement.base_Class.upperValue0" value="1"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__Kg3svXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Requirement.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__Kg3s_XoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__Kg3tPXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__Kg3tfXoEeeFOavjQCI5eQ" key="image_name_key" value="Requirement"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_TestCase_base_Behavior" name="E_extension_TestCase_base_Behavior" memberEnd="SysML.E_extension_TestCase_base_Behavior.extension_TestCase SysML.TestCase.base_Behavior" navigableOwnedEnd="SysML.E_extension_TestCase_base_Behavior.extension_TestCase"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_TestCase_base_Behavior.extension_TestCase" name="extension_TestCase" type="SysML.TestCase" association="SysML.E_extension_TestCase_base_Behavior"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_TestCase_base_Behavior.extension_TestCase.lowerValue0"/> + </ownedEnd> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="SysML.ModelElements" name="ModelElements"> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Conform" name="Conform"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.Conform._comment0"> + <body>A Conform relationship is a dependency between a view and a viewpoint. The view conforms to the specified rules and conventions detailed in the viewpoint. Conform is a specialization of the UML dependency, and as with other dependencies the arrow direction points from the (client/source) to the (supplier/target).</body> + </ownedComment> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Conform.base_Generalization" name="base_Generalization" association="SysML.E_extension_Conform_base_Generalization"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Generalization"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Conform.base_Generalization.lowerValue0"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__Kg3tvXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Conform.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__Kg3t_XoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__Kg3uPXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__Kg3ufXoEeeFOavjQCI5eQ" key="image_name_key" value="Conform"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Expose_base_Dependency" name="E_extension_Expose_base_Dependency" memberEnd="SysML.Expose.base_Dependency SysML.E_extension_Expose_base_Dependency.extension_Expose" navigableOwnedEnd="SysML.E_extension_Expose_base_Dependency.extension_Expose"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Expose_base_Dependency.extension_Expose" name="extension_Expose" type="SysML.Expose" association="SysML.E_extension_Expose_base_Dependency"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Expose_base_Dependency.extension_Expose.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Problem" name="Problem"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.Problem._comment0"> + <body>A Problem documents a deficiency, limitation, or failure of one or more model elements to satisfy a requirement or need, or other undesired outcome. It may be used to capture problems identified during analysis, design, verification, or manufacture and associate the problem with the relevant model elements. Problem is a stereotype of comment and may be attached to any other model element in the same manner as a comment.</body> + </ownedComment> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Problem.base_Comment" name="base_Comment" association="SysML.E_extension_Problem_base_Comment"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Comment"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Problem.base_Comment.lowerValue0"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__Kg3uvXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Problem.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KhewPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KhewfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KhewvXoEeeFOavjQCI5eQ" key="image_name_key" value="Problem"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Viewpoint_base_Class" name="E_extension_Viewpoint_base_Class" memberEnd="SysML.E_extension_Viewpoint_base_Class.extension_Viewpoint SysML.Viewpoint.base_Class" navigableOwnedEnd="SysML.E_extension_Viewpoint_base_Class.extension_Viewpoint"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Viewpoint_base_Class.extension_Viewpoint" name="extension_Viewpoint" type="SysML.Viewpoint" association="SysML.E_extension_Viewpoint_base_Class"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Viewpoint_base_Class.extension_Viewpoint.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Viewpoint" name="Viewpoint"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.Viewpoint._comment0"> + <body>A Viewpoint is a specification of the conventions and rules for constructing and using a view for the purpose of addressing a set of stakeholder concerns. The languages and methods for specifying a view may reference languages and methods in another viewpoint. They specify the elements expected to be represented in the view, and may be formally or informally defined. For example, the security viewpoint may require the security requirements, security functional and physical architecture, and security test cases.</body> + </ownedComment> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Viewpoint.base_Class" name="base_Class" association="SysML.E_extension_Viewpoint_base_Class"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Viewpoint.base_Class.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Viewpoint.concern" name="concern" isReadOnly="true" isDerived="true"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Viewpoint.concern.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Viewpoint.concern.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Viewpoint.concernList" name="concernList"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.Viewpoint.concernList._comment0"> + <body>The interest of the stakeholders.</body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Comment"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Viewpoint.concernList.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Viewpoint.concernList.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Viewpoint.language" name="language"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.Viewpoint.language._comment0"> + <body>The languages used to construct the viewpoint.</body> + </ownedComment> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Viewpoint.language.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Viewpoint.language.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Viewpoint.method" name="method" isReadOnly="true" isDerived="true"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.Viewpoint.method._comment0"> + <body>The methods used to construct the views for this viewpoint.</body> + </ownedComment> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Behavior"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Viewpoint.method.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Viewpoint.method.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Viewpoint.presentation" name="presentation"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Viewpoint.presentation.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Viewpoint.presentation.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Viewpoint.purpose" name="purpose"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.Viewpoint.purpose._comment0"> + <body>The purpose addresses the stakeholder concerns.</body> + </ownedComment> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Viewpoint.stakeholder" name="stakeholder" type="SysML.Stakeholder"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.Viewpoint.stakeholder._comment0"> + <body>Set of stakeholders.</body> + </ownedComment> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Viewpoint.stakeholder.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Viewpoint.stakeholder.upperValue0" value="*"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__Khew_XoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Viewpoint.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KhexPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KhexfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KhexvXoEeeFOavjQCI5eQ" key="image_name_key" value="Viewpoint"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Rationale" name="Rationale"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.Rationale._comment0"> + <body>A Rationale documents the justification for decisions and the requirements, design, and other decisions. A Rationale can be attached to any model element including relationships. It allows the user, for example, to specify a rationale that may reference more detailed documentation such as a trade study or analysis report. Rationale is a stereotype of comment and may be attached to any other model element in the same manner as a comment.</body> + </ownedComment> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Rationale.base_Comment" name="base_Comment" association="SysML.E_extension_Rationale_base_Comment"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Comment"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Rationale.base_Comment.lowerValue0"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__Khex_XoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Rationale.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KheyPXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KheyfXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KheyvXoEeeFOavjQCI5eQ" key="image_name_key" value="Rationale"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Rationale_base_Comment" name="E_extension_Rationale_base_Comment" memberEnd="SysML.E_extension_Rationale_base_Comment.extension_Rationale SysML.Rationale.base_Comment" navigableOwnedEnd="SysML.E_extension_Rationale_base_Comment.extension_Rationale"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Rationale_base_Comment.extension_Rationale" name="extension_Rationale" type="SysML.Rationale" association="SysML.E_extension_Rationale_base_Comment"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Rationale_base_Comment.extension_Rationale.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Conform_base_Generalization" name="E_extension_Conform_base_Generalization" memberEnd="SysML.Conform.base_Generalization SysML.E_extension_Conform_base_Generalization.extension_Conform" navigableOwnedEnd="SysML.E_extension_Conform_base_Generalization.extension_Conform"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Conform_base_Generalization.extension_Conform" name="extension_Conform" type="SysML.Conform" association="SysML.E_extension_Conform_base_Generalization"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Conform_base_Generalization.extension_Conform.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Expose" name="Expose"> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Expose.base_Dependency" name="base_Dependency" association="SysML.E_extension_Expose_base_Dependency"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Dependency"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Expose.base_Dependency.lowerValue0"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KiF0PXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Expose.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KiF0fXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KiF0vXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KiF0_XoEeeFOavjQCI5eQ" key="image_name_key" value="Expose"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_ElementGroup_base_Comment" name="E_extension_ElementGroup_base_Comment" memberEnd="SysML.ElementGroup.base_Comment SysML.E_extension_ElementGroup_base_Comment.extension_ElementGroup" navigableOwnedEnd="SysML.E_extension_ElementGroup_base_Comment.extension_ElementGroup"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_ElementGroup_base_Comment.extension_ElementGroup" name="extension_ElementGroup" type="SysML.ElementGroup" association="SysML.E_extension_ElementGroup_base_Comment"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_ElementGroup_base_Comment.extension_ElementGroup.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Stakeholder_base_Classifier" name="E_extension_Stakeholder_base_Classifier" memberEnd="SysML.Stakeholder.base_Classifier SysML.E_extension_Stakeholder_base_Classifier.extension_Stakeholder" navigableOwnedEnd="SysML.E_extension_Stakeholder_base_Classifier.extension_Stakeholder"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Stakeholder_base_Classifier.extension_Stakeholder" name="extension_Stakeholder" type="SysML.Stakeholder" association="SysML.E_extension_Stakeholder_base_Classifier"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Stakeholder_base_Classifier.extension_Stakeholder.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.View" name="View"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.View._comment0"> + <body>A View is a representation of a whole system or subsystem from the perspective of a single viewpoint. Views are allowed to import other elements including other packages and other views that conform to the viewpoint.</body> + </ownedComment> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.View.base_Class" name="base_Class" association="SysML.E_extension_View_base_Class"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.View.base_Class.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.View.stakeholder" name="stakeholder" type="SysML.Stakeholder" isReadOnly="true" isDerived="true"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.View.stakeholder.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.View.stakeholder.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.View.viewPoint" name="viewPoint" type="SysML.Viewpoint" isReadOnly="true" isDerived="true"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.View.viewPoint._comment0"> + <body>The viewpoint for this View, derived from the supplier of the «conform» dependency whose client is this View.</body> + </ownedComment> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KiF1PXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/View.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KiF1fXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KiF1vXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KiF1_XoEeeFOavjQCI5eQ" key="image_name_key" value="View"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_Problem_base_Comment" name="E_extension_Problem_base_Comment" memberEnd="SysML.E_extension_Problem_base_Comment.extension_Problem SysML.Problem.base_Comment" navigableOwnedEnd="SysML.E_extension_Problem_base_Comment.extension_Problem"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_Problem_base_Comment.extension_Problem" name="extension_Problem" type="SysML.Problem" association="SysML.E_extension_Problem_base_Comment"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_Problem_base_Comment.extension_Problem.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.Stakeholder" name="Stakeholder"> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Stakeholder.base_Classifier" name="base_Classifier" association="SysML.E_extension_Stakeholder_base_Classifier"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Classifier"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Stakeholder.base_Classifier.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Stakeholder.concern" name="concern" isReadOnly="true" isDerived="true"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Stakeholder.concern.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Stakeholder.concern.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.Stakeholder.concernList" name="concernList"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Comment"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.Stakeholder.concernList.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.Stakeholder.concernList.upperValue0" value="*"/> + </ownedAttribute> + <icon xmi:type="uml:Image" xmi:id="__KiF2PXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Stakeholder.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KiF2fXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KiF2vXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KiF2_XoEeeFOavjQCI5eQ" key="image_name_key" value="Stakeholder"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_View_base_Class" name="E_extension_View_base_Class" memberEnd="SysML.View.base_Class SysML.E_extension_View_base_Class.extension_View" navigableOwnedEnd="SysML.E_extension_View_base_Class.extension_View"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_View_base_Class.extension_View" name="extension_View" type="SysML.View" association="SysML.E_extension_View_base_Class"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_View_base_Class.extension_View.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.ElementGroup" name="ElementGroup"> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.ElementGroup.base_Comment" name="base_Comment" association="SysML.E_extension_ElementGroup_base_Comment"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Comment"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ElementGroup.base_Comment.lowerValue0"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.ElementGroup.criterion" name="criterion" isReadOnly="true" isDerived="true"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.ElementGroup.member" name="member" isReadOnly="true" isDerived="true"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ElementGroup.member.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.ElementGroup.member.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.ElementGroup.name" name="name"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.ElementGroup.orderedMemeber" name="orderedMemeber" isOrdered="true" subsettedProperty="SysML.ElementGroup.member"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ElementGroup.orderedMemeber.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.ElementGroup.orderedMemeber.upperValue0" value="*"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.ElementGroup.size" name="size" isReadOnly="true" isDerived="true"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Integer"/> + </ownedAttribute> + <ownedOperation xmi:type="uml:Operation" xmi:id="SysML.ElementGroup.allGroups_Element" name="allGroups" isStatic="true" isQuery="true"> + <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.ElementGroup.allGroups_Element.e" name="e" effect="create"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> + </ownedParameter> + <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.ElementGroup.allGroups_Element.result" name="result" type="SysML.ElementGroup" direction="return" effect="create"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ElementGroup.allGroups_Element.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.ElementGroup.allGroups_Element.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:type="uml:Operation" xmi:id="SysML.ElementGroup.criterion_" name="criterion" isQuery="true"> + <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.ElementGroup.criterion_.result" name="result" direction="return" effect="create"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ElementGroup.criterion_.result.lowerValue0"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:type="uml:Operation" xmi:id="SysML.ElementGroup.member_" name="member" isQuery="true"> + <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.ElementGroup.member_.result" name="result" direction="return" effect="create"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ElementGroup.member_.result.lowerValue0"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.ElementGroup.member_.result.upperValue0" value="*"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:type="uml:Operation" xmi:id="SysML.ElementGroup.size_" name="size" isQuery="true"> + <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.ElementGroup.size_.result" name="result" direction="return" effect="create"> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Integer"/> + </ownedParameter> + </ownedOperation> + <icon xmi:type="uml:Image" xmi:id="__Kis4PXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ElementGroup.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__Kis4fXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__Kis4vXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__Kis4_XoEeeFOavjQCI5eQ" key="image_name_key" value="ElementGroup"/> + </eAnnotations> + </icon> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="SysML.DeprecatedElements" name="DeprecatedElements"> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_FlowPort_base_Port" name="E_extension_FlowPort_base_Port" memberEnd="SysML.E_extension_FlowPort_base_Port.extension_FlowPort SysML.FlowPort.base_Port" navigableOwnedEnd="SysML.E_extension_FlowPort_base_Port.extension_FlowPort"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_FlowPort_base_Port.extension_FlowPort" name="extension_FlowPort" type="SysML.FlowPort" association="SysML.E_extension_FlowPort_base_Port"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_FlowPort_base_Port.extension_FlowPort.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_FlowSpecification_base_Interface" name="E_extension_FlowSpecification_base_Interface" memberEnd="SysML.E_extension_FlowSpecification_base_Interface.extension_FlowSpecification SysML.FlowSpecification.base_Interface" navigableOwnedEnd="SysML.E_extension_FlowSpecification_base_Interface.extension_FlowSpecification"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_FlowSpecification_base_Interface.extension_FlowSpecification" name="extension_FlowSpecification" type="SysML.FlowSpecification" association="SysML.E_extension_FlowSpecification_base_Interface"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_FlowSpecification_base_Interface.extension_FlowSpecification.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.FlowPort" name="FlowPort"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.FlowPort._comment0"> + <body>A FlowPort is an interaction point through which input and/or output of items such as data, material, or energy may flow. This enables the owning block to declare which items it may exchange with its environment and the interaction points through which the exchange is made. We distinguish between atomic flow port and a nonatomic flow port. Atomic flow ports relay items that are classified by a single Block, ValueType, DataType, or Signal classifier. A nonatomic flow port relays items of several types as specified by a FlowSpecification. Flow ports and associated flow specifications define “what can flow” between the block and its environment, whereas item flows specify “what does flow” in a specific usage context. Flow ports relay items to their owning block or to a connector that connects them with their owner’s internal parts (internal connector).</body> + </ownedComment> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.FlowPort.base_Port" name="base_Port" association="SysML.E_extension_FlowPort_base_Port"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.FlowPort.direction" name="direction" type="SysML_dataType.FlowDirection"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.FlowPort.direction._comment0"> + <body> Indicates the direction in which an atomic flow port relays its items. If the direction is set to “in,” then the items are relayed from an external connector via the flow port into the flow port’s owner (or one of its parts). If the direction is set to “out,” then the items are relayed from the flow port’s owner, via the flow port, through an external connector attached to the flow port. If the direction is set to “inout,” then items can flow both ways. By default, the value is inout. </body> + </ownedComment> + <defaultValue xmi:type="uml:InstanceValue" xmi:id="SysML.FlowPort.direction.defaultValue0" instance="SysML.inout"/> + </ownedAttribute> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.FlowPort.isAtomic" name="isAtomic" isReadOnly="true" isDerived="true"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.FlowPort.isAtomic._comment0"> + <body>This is a derived attribute (derived from the flow port’s type). For a flow port typed by a flow specification the value of this attribute is False, otherwise the value is True.</body> + </ownedComment> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> + </ownedAttribute> + <ownedOperation xmi:type="uml:Operation" xmi:id="_mpjzUPFnEeefg-uwXxvTkQ" name="getIcon"> + <ownedParameter xmi:type="uml:Parameter" xmi:id="_mpjzUfFnEeefg-uwXxvTkQ" name="img" direction="return"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Image"/> + </ownedParameter> + </ownedOperation> + <icon xmi:type="uml:Image" xmi:id="_mpjzUvFnEeefg-uwXxvTkQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowPort_IN.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mpjzU_FnEeefg-uwXxvTkQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_mpjzVPFnEeefg-uwXxvTkQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_mpjzVfFnEeefg-uwXxvTkQ" key="image_name_key" value="FlowPort_IN"/> + </eAnnotations> + </icon> + <icon xmi:type="uml:Image" xmi:id="_mpjzVvFnEeefg-uwXxvTkQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowPort_OUT.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mpjzV_FnEeefg-uwXxvTkQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_mpjzWPFnEeefg-uwXxvTkQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_mpjzWfFnEeefg-uwXxvTkQ" key="image_name_key" value="FlowPort_OUT"/> + </eAnnotations> + </icon> + <icon xmi:type="uml:Image" xmi:id="_mpjzWvFnEeefg-uwXxvTkQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowPort_INOUT.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mpjzW_FnEeefg-uwXxvTkQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_mpjzXPFnEeefg-uwXxvTkQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_mpjzXfFnEeefg-uwXxvTkQ" key="image_name_key" value="FlowPort_INOUT"/> + </eAnnotations> + </icon> + <icon xmi:type="uml:Image" xmi:id="_mpjzXvFnEeefg-uwXxvTkQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowPort_NA.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mpjzX_FnEeefg-uwXxvTkQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_mpjzYPFnEeefg-uwXxvTkQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_mpjzYfFnEeefg-uwXxvTkQ" key="image_name_key" value="FlowPort_NA"/> + </eAnnotations> + </icon> + <icon xmi:type="uml:Image" xmi:id="_mpjzYvFnEeefg-uwXxvTkQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowPort.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mpjzY_FnEeefg-uwXxvTkQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_mpjzZPFnEeefg-uwXxvTkQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_mpjzZfFnEeefg-uwXxvTkQ" key="image_name_key" value="FlowPort"/> + </eAnnotations> + </icon> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.FlowSpecification" name="FlowSpecification"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.FlowSpecification._comment0"> + <body>A FlowSpecification specifies inputs and outputs as a set of flow properties. A flow specification is used by flow ports to specify what items can flow via the port.</body> + </ownedComment> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.FlowSpecification.base_Interface" name="base_Interface" association="SysML.E_extension_FlowSpecification_base_Interface"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Interface"/> + </ownedAttribute> + <ownedOperation xmi:type="uml:Operation" xmi:id="_n_N-sPFnEeefg-uwXxvTkQ" name="getFlowProperties"> + <ownedParameter xmi:type="uml:Parameter" xmi:id="_n_N-sfFnEeefg-uwXxvTkQ" name="flowProperties" direction="return"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_n_N-svFnEeefg-uwXxvTkQ"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_n_N-s_FnEeefg-uwXxvTkQ" value="*"/> + </ownedParameter> + </ownedOperation> + <icon xmi:type="uml:Image" xmi:id="_n_OlwPFnEeefg-uwXxvTkQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowSpecification.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_n_OlwfFnEeefg-uwXxvTkQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_n_OlwvFnEeefg-uwXxvTkQ" key="image_kind_key" value="icon"/> + </eAnnotations> + </icon> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="SysML.ConstraintBlocks" name="ConstraintBlocks"> + <packageImport xmi:type="uml:PackageImport" xmi:id="SysML.ConstraintBlocks._packageImport.SysML.Blocks" importedPackage="SysML.Blocks"/> + <packagedElement xmi:type="uml:Extension" xmi:id="SysML.E_extension_ConstraintBlock_base_Class" name="E_extension_ConstraintBlock_base_Class" memberEnd="SysML.E_extension_ConstraintBlock_base_Class.extension_ConstraintBlock SysML.ConstraintBlock.base_Class" navigableOwnedEnd="SysML.E_extension_ConstraintBlock_base_Class.extension_ConstraintBlock"> + <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.E_extension_ConstraintBlock_base_Class.extension_ConstraintBlock" name="extension_ConstraintBlock" type="SysML.ConstraintBlock" association="SysML.E_extension_ConstraintBlock_base_Class"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.E_extension_ConstraintBlock_base_Class.extension_ConstraintBlock.lowerValue0"/> + </ownedEnd> + </packagedElement> + <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.ConstraintBlock" name="ConstraintBlock"> + <ownedComment xmi:type="uml:Comment" xmi:id="SysML.ConstraintBlock._comment0"> + <body>A constraint block is a block that packages the statement of a constraint so it may be applied in a reusable way to constrain properties of other blocks. A constraint block typically defines one or more constraint parameters, which are bound to properties of other blocks in a surrounding context where the constraint is used. Binding connectors, as defined in Chapter 8: Blocks, are used to bind each parameter of the constraint block to a property in the surrounding context. All properties of a constraint block are constraint parameters, with the exception of constraint properties that hold internally nested usages of other constraint blocks.</body> + </ownedComment> + <generalization xmi:type="uml:Generalization" xmi:id="SysML.ConstraintBlock._generalization.SysML.Block" general="SysML.Block" isSubstitutable="false"/> + <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.ConstraintBlock.base_Class" name="base_Class" association="SysML.E_extension_ConstraintBlock_base_Class"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.ConstraintBlock.base_Class.lowerValue0"/> + </ownedAttribute> + <ownedOperation xmi:type="uml:Operation" xmi:id="_Z_HhAPFnEeefg-uwXxvTkQ" name="getParameters"> + <ownedParameter xmi:type="uml:Parameter" xmi:id="_Z_HhAfFnEeefg-uwXxvTkQ" name="parameters" direction="return"> + <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Z_HhAvFnEeefg-uwXxvTkQ"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_Z_HhA_FnEeefg-uwXxvTkQ" value="*"/> + </ownedParameter> + </ownedOperation> + <icon xmi:type="uml:Image" xmi:id="__KjT8PXoEeeFOavjQCI5eQ" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ConstraintBlock.gif"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="__KjT8fXoEeeFOavjQCI5eQ" source="image_papyrus"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KjT8vXoEeeFOavjQCI5eQ" key="image_kind_key" value="icon"/> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="__KjT8_XoEeeFOavjQCI5eQ" key="image_name_key" value="ConstraintBlock"/> + </eAnnotations> + </icon> + </packagedElement> + </packagedElement> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="SysML._profileApplication.StandardProfile"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_K9sx4PXpEee6WM5MdOZL-A" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard#/"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_KjIVwPXpEee6WM5MdOZL-A"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_KjRfsPXpEee6WM5MdOZL-A" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="pathmap://UML_PROFILES/Ecore.profile.uml#_z1OFcHjqEdy8S4Cr8Rc_NA"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://UML_PROFILES/Ecore.profile.uml#_0"/> + </profileApplication> + </uml:Profile> + <Ecore:EPackage xmi:id="_dZfREJvkEeSpx5CUmLYZ-g" base_Package="SysML.Blocks" packageName="blocks" nsPrefix="Blocks" nsURI="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Blocks" basePackage="org.eclipse.papyrus.sysml" prefix="Blocks"/> + <Ecore:EPackage xmi:id="_fGLcYJvkEeSpx5CUmLYZ-g" base_Package="SysML.PortsAndFlows" packageName="portsandflows" nsPrefix="PortsAndFlows" nsURI="http://www.eclipse.org/papyrus/sysml/1.5/SysML/PortsAndFlows" basePackage="org.eclipse.papyrus.sysml" prefix="Portsandflows"/> + <Ecore:EPackage xmi:id="_fya3UJvkEeSpx5CUmLYZ-g" base_Package="SysML.Activities" packageName="activities" nsPrefix="Activities" nsURI="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Activities" basePackage="org.eclipse.papyrus.sysml" prefix="Activities"/> + <Ecore:EPackage xmi:id="_gQxnQJvkEeSpx5CUmLYZ-g" base_Package="SysML.ModelElements" packageName="modelelements" nsPrefix="ModelElements" nsURI="http://www.eclipse.org/papyrus/sysml/1.5/SysML/ModelElements" basePackage="org.eclipse.papyrus.sysml" prefix="Modelelements"/> + <Ecore:EPackage xmi:id="_g0eKMJvkEeSpx5CUmLYZ-g" base_Package="SysML.ConstraintBlocks" packageName="constraintblocks" nsPrefix="ConstraintBlocks" nsURI="http://www.eclipse.org/papyrus/sysml/1.5/SysML/ConstraintBlocks" basePackage="org.eclipse.papyrus.sysml" prefix="Constraintblocks"/> + <Ecore:EPackage xmi:id="_hUK98JvkEeSpx5CUmLYZ-g" base_Package="SysML.Allocations" packageName="allocations" nsPrefix="Allocations" nsURI="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Allocations" basePackage="org.eclipse.papyrus.sysml" prefix="Allocations"/> + <Ecore:EPackage xmi:id="_hzXbYJvkEeSpx5CUmLYZ-g" base_Package="SysML.Requirements" packageName="requirements" nsPrefix="Requirements" nsURI="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Requirements" basePackage="org.eclipse.papyrus.sysml" prefix="Requirements"/> + <Ecore:EPackage xmi:id="_iUUMUJvkEeSpx5CUmLYZ-g" base_Package="SysML.DeprecatedElements" packageName="deprecatedelements" nsPrefix="DeprecatedElements" nsURI="http://www.eclipse.org/papyrus/sysml/1.5/SysML/DeprecatedElements" basePackage="org.eclipse.papyrus.sysml" prefix="Deprecatedelements"/> + <Ecore:EPackage xmi:id="_Aa0lgJvoEeSpx5CUmLYZ-g" base_Package="SysML" packageName="sysml" nsPrefix="SysML" nsURI="http://www.eclipse.org/papyrus/sysml/1.5/SysML" basePackage="org.eclipse.papyrus" prefix="SysML"/> +</xmi:XMI>
diff --git a/core/org.eclipse.papyrus.sysml/resources/profile/sysml.ecore b/core/org.eclipse.papyrus.sysml/resources/profile/sysml.ecore new file mode 100644 index 0000000..657145c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/resources/profile/sysml.ecore
@@ -0,0 +1,654 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="sysml" nsURI="http://www.eclipse.org/papyrus/sysml/1.5/SysML" + nsPrefix="SysML"> + <eAnnotations source="http://www.eclipse.org/uml2/2.0.0/UML"> + <details key="originalName" value="SysML"/> + </eAnnotations> + <eClassifiers xsi:type="ecore:EEnum" name="Dummy"/> + <eSubpackages name="portsandflows" nsURI="http://www.eclipse.org/papyrus/sysml/1.5/SysML/PortsAndFlows" + nsPrefix="PortsAndFlows"> + <eAnnotations source="http://www.eclipse.org/uml2/2.0.0/UML"> + <details key="originalName" value="PortsAndFlows"/> + </eAnnotations> + <eClassifiers xsi:type="ecore:EClass" name="ItemFlow"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_InformationFlow" + ordered="false" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//InformationFlow"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="itemProperty" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="ProxyPort"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Port" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Port"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="FullPort"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Port" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Port"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="InvocationOnNestedPortAction" eSuperTypes="#//blocks/ElementPropertyPath"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_InvocationAction" + ordered="false" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//InvocationAction"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="onNestedPort" unique="false" + lowerBound="1" upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Port"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="InterfaceBlock" eSuperTypes="#//blocks/Block"/> + <eClassifiers xsi:type="ecore:EClass" name="FlowProperty"> + <eOperations name="getIcon" ordered="false" lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Image"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Property" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="direction" ordered="false" + lowerBound="1" eType="#//portsandflows/FlowDirection" defaultValueLiteral="inout"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EEnum" name="FlowDirection"> + <eLiterals name="in"/> + <eLiterals name="inout" value="1"/> + <eLiterals name="out" value="2"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="ChangeStructuralFeatureEvent"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_ChangeEvent" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//ChangeEvent"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="structuralFeature" ordered="false" + lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//StructuralFeature"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="TriggerOnNestedPort" eSuperTypes="#//blocks/ElementPropertyPath"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Trigger" ordered="false" + lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Trigger"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="onNestedPort" unique="false" + lowerBound="1" upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Port"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="AcceptChangeStructuralFeatureEventAction"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_AcceptEventAction" + ordered="false" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//AcceptEventAction"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="DirectedFeature"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Feature" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Feature"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="featureDirection" ordered="false" + lowerBound="1" eType="#//portsandflows/FeatureDirection"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EEnum" name="FeatureDirection"> + <eLiterals name="provided"/> + <eLiterals name="providedRequired" value="1"/> + <eLiterals name="required" value="2"/> + </eClassifiers> + </eSubpackages> + <eSubpackages name="blocks" nsURI="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Blocks" + nsPrefix="Blocks"> + <eAnnotations source="http://www.eclipse.org/uml2/2.0.0/UML"> + <details key="originalName" value="Blocks"/> + </eAnnotations> + <eClassifiers xsi:type="ecore:EClass" name="DistributedProperty"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Property" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="AdjunctProperty"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Property" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="principal" ordered="false" + lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Element"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="EndPathMultiplicity"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Property" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="lower" ordered="false" + eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//Integer" + defaultValueLiteral="0"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="upper" ordered="false" + eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//UnlimitedNatural" + defaultValueLiteral="-1"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="ParticipantProperty"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Property" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="end" ordered="false" + lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="Block"> + <eOperations name="getReferences" ordered="false" upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="@papyrus.req org.eclipse.papyrus.sysml#REQ-SYSML14-Block-References"/> + </eAnnotations> + </eOperations> + <eOperations name="getParts" ordered="false" upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> + <eOperations name="getFlowProperties" ordered="false" upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Class" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Class"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="isEncapsulated" ordered="false" + eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//Boolean"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="ConnectorProperty"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Property" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="connector" ordered="false" + lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Connector"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="BindingConnector"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Connector" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Connector"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="ClassifierBehaviorProperty"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Property" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="BoundReference" eSuperTypes="#//blocks/EndPathMultiplicity"> + <eStructuralFeatures xsi:type="ecore:EReference" name="bindingPath" unique="false" + lowerBound="1" upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property" + changeable="false" volatile="true" transient="true" derived="true"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="boundEnd" ordered="false" + lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//ConnectorEnd"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="PropertySpecificType"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Classifier" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Classifier"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="NestedConnectorEnd" eSuperTypes="#//blocks/ElementPropertyPath"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_ConnectorEnd" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//ConnectorEnd"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="ValueType"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_DataType" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//DataType"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="quantityKind" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//InstanceSpecification"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="unit" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//InstanceSpecification"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="DirectedRelationshipPropertyPath" + abstract="true"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_DirectedRelationship" + ordered="false" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//DirectedRelationship"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="sourceContext" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Classifier"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="sourcePropertyPath" unique="false" + upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="targetContext" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Classifier"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="targetPropertyPath" unique="false" + upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="ElementPropertyPath" abstract="true"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Element" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Element"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="propertyPath" unique="false" + lowerBound="1" upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> + </eClassifiers> + </eSubpackages> + <eSubpackages name="activities" nsURI="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Activities" + nsPrefix="Activities"> + <eAnnotations source="http://www.eclipse.org/uml2/2.0.0/UML"> + <details key="originalName" value="Activities"/> + </eAnnotations> + <eClassifiers xsi:type="ecore:EClass" name="Optional"> + <eOperations name="Constraint1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="A parameter with the «optional» stereotypes applied shall have multiplicity.lower equal to zero, otherwise multiplicity.lower shall be greater than zero."/> + </eAnnotations> + <eParameters name="diagnostics" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDiagnosticChain"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The chain of diagnostics to which problems are to be appended."/> + </eAnnotations> + </eParameters> + <eParameters name="context"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The cache of context-specific information."/> + </eAnnotations> + <eGenericType eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EMap"> + <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> + <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> + </eGenericType> + </eParameters> + </eOperations> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Parameter" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Parameter"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="Continuous" eSuperTypes="#//activities/Rate"/> + <eClassifiers xsi:type="ecore:EClass" name="Rate"> + <eOperations name="Constraint2" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The rate of a parameter shall be less than or equal to rates on edges that come into or go out from pins and parameters nodes corresponding to the parameter."/> + </eAnnotations> + <eParameters name="diagnostics" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDiagnosticChain"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The chain of diagnostics to which problems are to be appended."/> + </eAnnotations> + </eParameters> + <eParameters name="context"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The cache of context-specific information."/> + </eAnnotations> + <eGenericType eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EMap"> + <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> + <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> + </eGenericType> + </eParameters> + </eOperations> + <eOperations name="Constraint1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="When the «rate» stereotype is applied to a parameter, the parameter shall be streaming."/> + </eAnnotations> + <eParameters name="diagnostics" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDiagnosticChain"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The chain of diagnostics to which problems are to be appended."/> + </eAnnotations> + </eParameters> + <eParameters name="context"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The cache of context-specific information."/> + </eAnnotations> + <eGenericType eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EMap"> + <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> + <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> + </eGenericType> + </eParameters> + </eOperations> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_ActivityEdge" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//ActivityEdge"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_ObjectNode" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//ObjectNode"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Parameter" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Parameter"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="rate" ordered="false" + lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//InstanceSpecification"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="ControlOperator"> + <eOperations name="Constraint1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="When the «controlOperator» stereotype is applied, the behavior or operation shall have at least one parameter typed by ControlValue. If the stereotype is not applied, the behavior or operation may not have any parameter typed by ControlValue."/> + </eAnnotations> + <eParameters name="diagnostics" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDiagnosticChain"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The chain of diagnostics to which problems are to be appended."/> + </eAnnotations> + </eParameters> + <eParameters name="context"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The cache of context-specific information."/> + </eAnnotations> + <eGenericType eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EMap"> + <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> + <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> + </eGenericType> + </eParameters> + </eOperations> + <eOperations name="Constraint2" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="A behavior shall have the «controlOperator» stereotype applied if it is a method of an operation that has the «controlOperator» stereotype applied."/> + </eAnnotations> + <eParameters name="diagnostics" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDiagnosticChain"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The chain of diagnostics to which problems are to be appended."/> + </eAnnotations> + </eParameters> + <eParameters name="context"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The cache of context-specific information."/> + </eAnnotations> + <eGenericType eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EMap"> + <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> + <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> + </eGenericType> + </eParameters> + </eOperations> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Behavior" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Behavior"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Operation" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Operation"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="Discrete" eSuperTypes="#//activities/Rate"/> + <eClassifiers xsi:type="ecore:EClass" name="Overwrite"> + <eOperations name="Constraint1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The «overwrite» and «nobuffer» stereotypes cannot be applied to the same element at the same time."/> + </eAnnotations> + <eParameters name="diagnostics" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDiagnosticChain"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The chain of diagnostics to which problems are to be appended."/> + </eAnnotations> + </eParameters> + <eParameters name="context"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The cache of context-specific information."/> + </eAnnotations> + <eGenericType eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EMap"> + <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> + <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> + </eGenericType> + </eParameters> + </eOperations> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_ObjectNode" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//ObjectNode"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="NoBuffer"> + <eOperations name="Constraint1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The «nobuffer» and «overwrite» stereotypes cannot be applied to the same element at the same time."/> + </eAnnotations> + <eParameters name="diagnostics" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDiagnosticChain"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The chain of diagnostics to which problems are to be appended."/> + </eAnnotations> + </eParameters> + <eParameters name="context"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The cache of context-specific information."/> + </eAnnotations> + <eGenericType eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EMap"> + <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> + <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> + </eGenericType> + </eParameters> + </eOperations> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_ObjectNode" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//ObjectNode"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="Probability"> + <eOperations name="Constraint4" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="When the «probability» stereotype is applied to an output parameter set, all the output parameters shall be in some parameter set."/> + </eAnnotations> + <eParameters name="diagnostics" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDiagnosticChain"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The chain of diagnostics to which problems are to be appended."/> + </eAnnotations> + </eParameters> + <eParameters name="context"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The cache of context-specific information."/> + </eAnnotations> + <eGenericType eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EMap"> + <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> + <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> + </eGenericType> + </eParameters> + </eOperations> + <eOperations name="Constraint3" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="When the «probability» stereotype is applied to an output parameter set, it shall be applied to all the parameter sets of the behavior or operation owning the original parameter set."/> + </eAnnotations> + <eParameters name="diagnostics" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDiagnosticChain"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The chain of diagnostics to which problems are to be appended."/> + </eAnnotations> + </eParameters> + <eParameters name="context"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The cache of context-specific information."/> + </eAnnotations> + <eGenericType eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EMap"> + <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> + <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> + </eGenericType> + </eParameters> + </eOperations> + <eOperations name="Constraint1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The «probability» stereotype shall only be applied to activity edges that have decision nodes or object nodes as sources, or to output parameter sets."/> + </eAnnotations> + <eParameters name="diagnostics" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDiagnosticChain"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The chain of diagnostics to which problems are to be appended."/> + </eAnnotations> + </eParameters> + <eParameters name="context"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The cache of context-specific information."/> + </eAnnotations> + <eGenericType eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EMap"> + <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> + <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> + </eGenericType> + </eParameters> + </eOperations> + <eOperations name="Constraint2" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="When the «probability» stereotype is applied to an activity edge, then it shall be applied to all edges coming out of the same source."/> + </eAnnotations> + <eParameters name="diagnostics" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDiagnosticChain"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The chain of diagnostics to which problems are to be appended."/> + </eAnnotations> + </eParameters> + <eParameters name="context"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="The cache of context-specific information."/> + </eAnnotations> + <eGenericType eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EMap"> + <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> + <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/> + </eGenericType> + </eParameters> + </eOperations> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_ActivityEdge" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//ActivityEdge"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_ParameterSet" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//ParameterSet"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="probability" ordered="false" + lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//ValueSpecification"/> + </eClassifiers> + </eSubpackages> + <eSubpackages name="allocations" nsURI="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Allocations" + nsPrefix="Allocations"> + <eAnnotations source="http://www.eclipse.org/uml2/2.0.0/UML"> + <details key="originalName" value="Allocations"/> + </eAnnotations> + <eClassifiers xsi:type="ecore:EClass" name="Allocate" eSuperTypes="#//blocks/DirectedRelationshipPropertyPath"> + <eOperations name="getAllocatedFrom" ordered="false" upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//NamedElement"> + <eParameters name="ref" ordered="false" lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//NamedElement"/> + </eOperations> + <eOperations name="getAllocatedTo" ordered="false" upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//NamedElement"> + <eParameters name="ref" ordered="false" lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//NamedElement"/> + </eOperations> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Abstraction" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Abstraction"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="AllocateActivityPartition"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_ActivityPartition" + ordered="false" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//ActivityPartition"/> + </eClassifiers> + </eSubpackages> + <eSubpackages name="requirements" nsURI="http://www.eclipse.org/papyrus/sysml/1.5/SysML/Requirements" + nsPrefix="Requirements"> + <eAnnotations source="http://www.eclipse.org/uml2/2.0.0/UML"> + <details key="originalName" value="Requirements"/> + </eAnnotations> + <eClassifiers xsi:type="ecore:EClass" name="Copy" eSuperTypes="#//requirements/Trace"/> + <eClassifiers xsi:type="ecore:EClass" name="Trace" eSuperTypes="#//blocks/DirectedRelationshipPropertyPath"> + <eOperations name="getTracedFrom" ordered="false" upperBound="-1" eType="#//requirements/AbstractRequirement"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="AbstractRequirement.allInstances()-&gt;select(tracedTo-&gt;includes(ref))"/> + </eAnnotations> + <eParameters name="ref" ordered="false" lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//NamedElement"/> + </eOperations> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Abstraction" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Abstraction"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="AbstractRequirement" abstract="true"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_NamedElement" ordered="false" + lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//NamedElement"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="derived" ordered="false" + upperBound="-1" eType="#//requirements/AbstractRequirement" changeable="false" + volatile="true" transient="true" derived="true"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="derivedFrom" ordered="false" + upperBound="-1" eType="#//requirements/AbstractRequirement" changeable="false" + volatile="true" transient="true" derived="true"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" ordered="false" lowerBound="1" + eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//String" + defaultValueLiteral=""/> + <eStructuralFeatures xsi:type="ecore:EReference" name="master" ordered="false" + upperBound="-1" eType="#//requirements/AbstractRequirement" changeable="false" + volatile="true" transient="true" derived="true"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="refinedBy" ordered="false" + upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//NamedElement" + changeable="false" volatile="true" transient="true" derived="true"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="satisfiedBy" ordered="false" + upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//NamedElement" + changeable="false" volatile="true" transient="true" derived="true"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="text" ordered="false" + lowerBound="1" eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//String" + defaultValueLiteral=""/> + <eStructuralFeatures xsi:type="ecore:EReference" name="tracedTo" ordered="false" + upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//NamedElement" + changeable="false" volatile="true" transient="true" derived="true"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="verifiedBy" ordered="false" + upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//NamedElement" + changeable="false" volatile="true" transient="true" derived="true"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EEnum" name="VerdictKind"> + <eLiterals name="error"/> + <eLiterals name="fail" value="1"/> + <eLiterals name="inconclusive" value="2"/> + <eLiterals name="pass" value="3"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="DeriveReqt" eSuperTypes="#//requirements/Trace"/> + <eClassifiers xsi:type="ecore:EClass" name="Verify" eSuperTypes="#//requirements/Trace"> + <eOperations name="getVerifies" ordered="false" upperBound="-1" eType="#//requirements/AbstractRequirement"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="Verify.allInstances()-&gt;select(base_Abstraction.client=ref).base_Abstraction.supplier"/> + </eAnnotations> + <eParameters name="ref" ordered="false" lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//NamedElement"/> + </eOperations> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="Refine" eSuperTypes="#//blocks/DirectedRelationshipPropertyPath"> + <eOperations name="getRefines" ordered="false" upperBound="-1" eType="#//requirements/AbstractRequirement"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="Refine.allInstances()-&gt;select(base_Abstraction.client=ref).base_Abstraction.supplier"/> + </eAnnotations> + <eParameters name="ref" ordered="false" lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//NamedElement"/> + </eOperations> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Abstraction" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Abstraction"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="Satisfy" eSuperTypes="#//requirements/Trace"> + <eOperations name="getSatisfies" ordered="false" upperBound="-1" eType="#//requirements/AbstractRequirement"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="Satisfy.allInstances()-&gt;select(base_Abstraction.client=ref).base_Abstraction.supplier"/> + </eAnnotations> + <eParameters name="ref" ordered="false" lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//NamedElement"/> + </eOperations> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="TestCase"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Behavior" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Behavior"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Operation" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Operation"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="Requirement" eSuperTypes="#//requirements/AbstractRequirement"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Class" ordered="false" + lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Class"/> + </eClassifiers> + </eSubpackages> + <eSubpackages name="modelelements" nsURI="http://www.eclipse.org/papyrus/sysml/1.5/SysML/ModelElements" + nsPrefix="ModelElements"> + <eAnnotations source="http://www.eclipse.org/uml2/2.0.0/UML"> + <details key="originalName" value="ModelElements"/> + </eAnnotations> + <eClassifiers xsi:type="ecore:EClass" name="Conform"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Generalization" + ordered="false" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Generalization"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="Problem"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Comment" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Comment"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="Viewpoint"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Class" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Class"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="concern" ordered="false" + upperBound="-1" eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//String" + changeable="false" volatile="true" transient="true" derived="true"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="concernList" ordered="false" + upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Comment"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="language" ordered="false" + upperBound="-1" eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//String"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="method" ordered="false" + upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Behavior" + changeable="false" volatile="true" transient="true" derived="true"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="presentation" ordered="false" + upperBound="-1" eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//String"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="purpose" ordered="false" + lowerBound="1" eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//String"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="stakeholder" ordered="false" + upperBound="-1" eType="#//modelelements/Stakeholder"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="Stakeholder"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Classifier" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Classifier"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="concern" ordered="false" + upperBound="-1" eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//String" + changeable="false" volatile="true" transient="true" derived="true"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="concernList" ordered="false" + upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Comment"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="Rationale"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Comment" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Comment"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="Expose"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Dependency" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Dependency"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="View"> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Class" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Class"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="stakeholder" ordered="false" + upperBound="-1" eType="#//modelelements/Stakeholder" changeable="false" + volatile="true" transient="true" derived="true"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="viewPoint" ordered="false" + lowerBound="1" eType="#//modelelements/Viewpoint" changeable="false" volatile="true" + transient="true" derived="true"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="ElementGroup"> + <eOperations name="allGroups" ordered="false" upperBound="-1" eType="#//modelelements/ElementGroup"> + <eParameters name="e" ordered="false" lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Element"/> + </eOperations> + <eOperations name="criterion" ordered="false" eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//String"/> + <eOperations name="member" ordered="false" upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Element"/> + <eOperations name="size" ordered="false" lowerBound="1" eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//Integer"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Comment" ordered="false" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Comment"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="criterion" ordered="false" + lowerBound="1" eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//String" + changeable="false" volatile="true" transient="true" derived="true"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="member" ordered="false" + upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Element" + changeable="false" volatile="true" transient="true" derived="true"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" + lowerBound="1" eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//String"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="orderedMemeber" upperBound="-1" + eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Element"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="size" ordered="false" + lowerBound="1" eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//Integer" + changeable="false" volatile="true" transient="true" derived="true"/> + </eClassifiers> + </eSubpackages> + <eSubpackages name="deprecatedelements" nsURI="http://www.eclipse.org/papyrus/sysml/1.5/SysML/DeprecatedElements" + nsPrefix="DeprecatedElements"> + <eAnnotations source="http://www.eclipse.org/uml2/2.0.0/UML"> + <details key="originalName" value="DeprecatedElements"/> + </eAnnotations> + <eClassifiers xsi:type="ecore:EClass" name="FlowPort"> + <eOperations name="getIcon" ordered="false" lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Image"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Port" ordered="false" + lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Port"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="direction" ordered="false" + lowerBound="1" eType="#//portsandflows/FlowDirection" defaultValueLiteral="inout"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="isAtomic" ordered="false" + lowerBound="1" eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//Boolean" + changeable="false" volatile="true" transient="true" derived="true"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="FlowSpecification"> + <eOperations name="getFlowProperties" ordered="false" upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="base_Interface" ordered="false" + lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Interface"/> + </eClassifiers> + </eSubpackages> + <eSubpackages name="constraintblocks" nsURI="http://www.eclipse.org/papyrus/sysml/1.5/SysML/ConstraintBlocks" + nsPrefix="ConstraintBlocks"> + <eAnnotations source="http://www.eclipse.org/uml2/2.0.0/UML"> + <details key="originalName" value="ConstraintBlocks"/> + </eAnnotations> + <eClassifiers xsi:type="ecore:EClass" name="ConstraintBlock" eSuperTypes="#//blocks/Block"> + <eOperations name="getParameters" ordered="false" upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> + </eClassifiers> + </eSubpackages> +</ecore:EPackage>
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/Dummy.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/Dummy.java new file mode 100644 index 0000000..1b34a7f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/Dummy.java
@@ -0,0 +1,172 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.Enumerator; + +/** + * <!-- begin-user-doc --> + * A representation of the literals of the enumeration '<em><b>Dummy</b></em>', + * and utility methods for working with them. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.SysMLPackage#getDummy() + * @model + * @generated + */ +public enum Dummy implements Enumerator { + ; + + /** + * An array of all the '<em><b>Dummy</b></em>' enumerators. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static final Dummy[] VALUES_ARRAY = + new Dummy[] { + }; + + /** + * A public read-only list of all the '<em><b>Dummy</b></em>' enumerators. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final List<Dummy> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the '<em><b>Dummy</b></em>' literal with the specified literal value. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param literal the literal. + * @return the matching enumerator or <code>null</code>. + * @generated + */ + public static Dummy get(String literal) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + Dummy result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) { + return result; + } + } + return null; + } + + /** + * Returns the '<em><b>Dummy</b></em>' literal with the specified name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name the name. + * @return the matching enumerator or <code>null</code>. + * @generated + */ + public static Dummy getByName(String name) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + Dummy result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) { + return result; + } + } + return null; + } + + /** + * Returns the '<em><b>Dummy</b></em>' literal with the specified integer value. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the integer value. + * @return the matching enumerator or <code>null</code>. + * @generated + */ + public static Dummy get(int value) { + switch (value) { + } + return null; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final int value; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final String name; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private Dummy(int value, String name, String literal) { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public int getValue() { + return value; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getLiteral() { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + return literal; + } + +} //Dummy
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/SysMLFactory.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/SysMLFactory.java new file mode 100644 index 0000000..27e19cc --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/SysMLFactory.java
@@ -0,0 +1,43 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml; + +import org.eclipse.emf.ecore.EFactory; + +/** + * <!-- begin-user-doc --> + * The <b>Factory</b> for the model. + * It provides a create method for each non-abstract class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.SysMLPackage + * @generated + */ +public interface SysMLFactory extends EFactory { + /** + * The singleton instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + SysMLFactory eINSTANCE = org.eclipse.papyrus.sysml.internal.impl.SysMLFactoryImpl.init(); + + /** + * Returns the package supported by this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the package supported by this factory. + * @generated + */ + SysMLPackage getSysMLPackage(); + +} //SysMLFactory
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/SysMLPackage.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/SysMLPackage.java new file mode 100644 index 0000000..f2c2307 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/SysMLPackage.java
@@ -0,0 +1,124 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml; + +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; + +/** + * <!-- begin-user-doc --> + * The <b>Package</b> for the model. + * It contains accessors for the meta objects to represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each operation of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.SysMLFactory + * @model kind="package" + * annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='SysML'" + * @generated + */ +public interface SysMLPackage extends EPackage { + /** + * The package name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNAME = "sysml"; //$NON-NLS-1$ + + /** + * The package namespace URI. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_URI = "http://www.eclipse.org/papyrus/sysml/1.5/SysML"; //$NON-NLS-1$ + + /** + * The package namespace name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_PREFIX = "SysML"; //$NON-NLS-1$ + + /** + * The singleton instance of the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + SysMLPackage eINSTANCE = org.eclipse.papyrus.sysml.internal.impl.SysMLPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.Dummy <em>Dummy</em>}' enum. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.Dummy + * @see org.eclipse.papyrus.sysml.internal.impl.SysMLPackageImpl#getDummy() + * @generated + */ + int DUMMY = 0; + + + /** + * Returns the meta object for enum '{@link org.eclipse.papyrus.sysml.Dummy <em>Dummy</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for enum '<em>Dummy</em>'. + * @see org.eclipse.papyrus.sysml.Dummy + * @generated + */ + EEnum getDummy(); + + /** + * Returns the factory that creates the instances of the model. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the factory that creates the instances of the model. + * @generated + */ + SysMLFactory getSysMLFactory(); + + /** + * <!-- begin-user-doc --> + * Defines literals for the meta objects that represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each operation of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.Dummy <em>Dummy</em>}' enum. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.Dummy + * @see org.eclipse.papyrus.sysml.internal.impl.SysMLPackageImpl#getDummy() + * @generated + */ + EEnum DUMMY = eINSTANCE.getDummy(); + + } + +} //SysMLPackage
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/ActivitiesFactory.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/ActivitiesFactory.java new file mode 100644 index 0000000..6a79866 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/ActivitiesFactory.java
@@ -0,0 +1,115 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities; + +import org.eclipse.emf.ecore.EFactory; + +/** + * <!-- begin-user-doc --> + * The <b>Factory</b> for the model. + * It provides a create method for each non-abstract class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage + * @generated + */ +public interface ActivitiesFactory extends EFactory { + /** + * The singleton instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + ActivitiesFactory eINSTANCE = org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesFactoryImpl.init(); + + /** + * Returns a new object of class '<em>Optional</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Optional</em>'. + * @generated + */ + Optional createOptional(); + + /** + * Returns a new object of class '<em>Continuous</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Continuous</em>'. + * @generated + */ + Continuous createContinuous(); + + /** + * Returns a new object of class '<em>Rate</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Rate</em>'. + * @generated + */ + Rate createRate(); + + /** + * Returns a new object of class '<em>Control Operator</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Control Operator</em>'. + * @generated + */ + ControlOperator createControlOperator(); + + /** + * Returns a new object of class '<em>Discrete</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Discrete</em>'. + * @generated + */ + Discrete createDiscrete(); + + /** + * Returns a new object of class '<em>Overwrite</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Overwrite</em>'. + * @generated + */ + Overwrite createOverwrite(); + + /** + * Returns a new object of class '<em>No Buffer</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>No Buffer</em>'. + * @generated + */ + NoBuffer createNoBuffer(); + + /** + * Returns a new object of class '<em>Probability</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Probability</em>'. + * @generated + */ + Probability createProbability(); + + /** + * Returns the package supported by this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the package supported by this factory. + * @generated + */ + ActivitiesPackage getActivitiesPackage(); + +} //ActivitiesFactory
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/ActivitiesPackage.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/ActivitiesPackage.java new file mode 100644 index 0000000..8256e0a --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/ActivitiesPackage.java
@@ -0,0 +1,1221 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EOperation; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * <!-- begin-user-doc --> + * The <b>Package</b> for the model. + * It contains accessors for the meta objects to represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each operation of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.activities.ActivitiesFactory + * @model kind="package" + * annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='Activities'" + * @generated + */ +public interface ActivitiesPackage extends EPackage { + /** + * The package name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNAME = "activities"; //$NON-NLS-1$ + + /** + * The package namespace URI. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_URI = "http://www.eclipse.org/papyrus/sysml/1.5/SysML/Activities"; //$NON-NLS-1$ + + /** + * The package namespace name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_PREFIX = "Activities"; //$NON-NLS-1$ + + /** + * The singleton instance of the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + ActivitiesPackage eINSTANCE = org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.activities.internal.impl.OptionalImpl <em>Optional</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.activities.internal.impl.OptionalImpl + * @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getOptional() + * @generated + */ + int OPTIONAL = 0; + + /** + * The feature id for the '<em><b>Base Parameter</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OPTIONAL__BASE_PARAMETER = 0; + + /** + * The number of structural features of the '<em>Optional</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OPTIONAL_FEATURE_COUNT = 1; + + /** + * The operation id for the '<em>Constraint1</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OPTIONAL___CONSTRAINT1__DIAGNOSTICCHAIN_MAP = 0; + + /** + * The number of operations of the '<em>Optional</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OPTIONAL_OPERATION_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.activities.internal.impl.RateImpl <em>Rate</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.activities.internal.impl.RateImpl + * @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getRate() + * @generated + */ + int RATE = 2; + + /** + * The feature id for the '<em><b>Base Activity Edge</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RATE__BASE_ACTIVITY_EDGE = 0; + + /** + * The feature id for the '<em><b>Base Object Node</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RATE__BASE_OBJECT_NODE = 1; + + /** + * The feature id for the '<em><b>Base Parameter</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RATE__BASE_PARAMETER = 2; + + /** + * The feature id for the '<em><b>Rate</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RATE__RATE = 3; + + /** + * The number of structural features of the '<em>Rate</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RATE_FEATURE_COUNT = 4; + + /** + * The operation id for the '<em>Constraint2</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RATE___CONSTRAINT2__DIAGNOSTICCHAIN_MAP = 0; + + /** + * The operation id for the '<em>Constraint1</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RATE___CONSTRAINT1__DIAGNOSTICCHAIN_MAP = 1; + + /** + * The number of operations of the '<em>Rate</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RATE_OPERATION_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.activities.internal.impl.ContinuousImpl <em>Continuous</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.activities.internal.impl.ContinuousImpl + * @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getContinuous() + * @generated + */ + int CONTINUOUS = 1; + + /** + * The feature id for the '<em><b>Base Activity Edge</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONTINUOUS__BASE_ACTIVITY_EDGE = RATE__BASE_ACTIVITY_EDGE; + + /** + * The feature id for the '<em><b>Base Object Node</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONTINUOUS__BASE_OBJECT_NODE = RATE__BASE_OBJECT_NODE; + + /** + * The feature id for the '<em><b>Base Parameter</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONTINUOUS__BASE_PARAMETER = RATE__BASE_PARAMETER; + + /** + * The feature id for the '<em><b>Rate</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONTINUOUS__RATE = RATE__RATE; + + /** + * The number of structural features of the '<em>Continuous</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONTINUOUS_FEATURE_COUNT = RATE_FEATURE_COUNT + 0; + + /** + * The operation id for the '<em>Constraint2</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONTINUOUS___CONSTRAINT2__DIAGNOSTICCHAIN_MAP = RATE___CONSTRAINT2__DIAGNOSTICCHAIN_MAP; + + /** + * The operation id for the '<em>Constraint1</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONTINUOUS___CONSTRAINT1__DIAGNOSTICCHAIN_MAP = RATE___CONSTRAINT1__DIAGNOSTICCHAIN_MAP; + + /** + * The number of operations of the '<em>Continuous</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONTINUOUS_OPERATION_COUNT = RATE_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.activities.internal.impl.ControlOperatorImpl <em>Control Operator</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.activities.internal.impl.ControlOperatorImpl + * @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getControlOperator() + * @generated + */ + int CONTROL_OPERATOR = 3; + + /** + * The feature id for the '<em><b>Base Behavior</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONTROL_OPERATOR__BASE_BEHAVIOR = 0; + + /** + * The feature id for the '<em><b>Base Operation</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONTROL_OPERATOR__BASE_OPERATION = 1; + + /** + * The number of structural features of the '<em>Control Operator</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONTROL_OPERATOR_FEATURE_COUNT = 2; + + /** + * The operation id for the '<em>Constraint1</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONTROL_OPERATOR___CONSTRAINT1__DIAGNOSTICCHAIN_MAP = 0; + + /** + * The operation id for the '<em>Constraint2</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONTROL_OPERATOR___CONSTRAINT2__DIAGNOSTICCHAIN_MAP = 1; + + /** + * The number of operations of the '<em>Control Operator</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONTROL_OPERATOR_OPERATION_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.activities.internal.impl.DiscreteImpl <em>Discrete</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.activities.internal.impl.DiscreteImpl + * @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getDiscrete() + * @generated + */ + int DISCRETE = 4; + + /** + * The feature id for the '<em><b>Base Activity Edge</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISCRETE__BASE_ACTIVITY_EDGE = RATE__BASE_ACTIVITY_EDGE; + + /** + * The feature id for the '<em><b>Base Object Node</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISCRETE__BASE_OBJECT_NODE = RATE__BASE_OBJECT_NODE; + + /** + * The feature id for the '<em><b>Base Parameter</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISCRETE__BASE_PARAMETER = RATE__BASE_PARAMETER; + + /** + * The feature id for the '<em><b>Rate</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISCRETE__RATE = RATE__RATE; + + /** + * The number of structural features of the '<em>Discrete</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISCRETE_FEATURE_COUNT = RATE_FEATURE_COUNT + 0; + + /** + * The operation id for the '<em>Constraint2</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISCRETE___CONSTRAINT2__DIAGNOSTICCHAIN_MAP = RATE___CONSTRAINT2__DIAGNOSTICCHAIN_MAP; + + /** + * The operation id for the '<em>Constraint1</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISCRETE___CONSTRAINT1__DIAGNOSTICCHAIN_MAP = RATE___CONSTRAINT1__DIAGNOSTICCHAIN_MAP; + + /** + * The number of operations of the '<em>Discrete</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISCRETE_OPERATION_COUNT = RATE_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.activities.internal.impl.OverwriteImpl <em>Overwrite</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.activities.internal.impl.OverwriteImpl + * @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getOverwrite() + * @generated + */ + int OVERWRITE = 5; + + /** + * The feature id for the '<em><b>Base Object Node</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OVERWRITE__BASE_OBJECT_NODE = 0; + + /** + * The number of structural features of the '<em>Overwrite</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OVERWRITE_FEATURE_COUNT = 1; + + /** + * The operation id for the '<em>Constraint1</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OVERWRITE___CONSTRAINT1__DIAGNOSTICCHAIN_MAP = 0; + + /** + * The number of operations of the '<em>Overwrite</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OVERWRITE_OPERATION_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.activities.internal.impl.NoBufferImpl <em>No Buffer</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.activities.internal.impl.NoBufferImpl + * @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getNoBuffer() + * @generated + */ + int NO_BUFFER = 6; + + /** + * The feature id for the '<em><b>Base Object Node</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NO_BUFFER__BASE_OBJECT_NODE = 0; + + /** + * The number of structural features of the '<em>No Buffer</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NO_BUFFER_FEATURE_COUNT = 1; + + /** + * The operation id for the '<em>Constraint1</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NO_BUFFER___CONSTRAINT1__DIAGNOSTICCHAIN_MAP = 0; + + /** + * The number of operations of the '<em>No Buffer</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NO_BUFFER_OPERATION_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.activities.internal.impl.ProbabilityImpl <em>Probability</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.activities.internal.impl.ProbabilityImpl + * @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getProbability() + * @generated + */ + int PROBABILITY = 7; + + /** + * The feature id for the '<em><b>Base Activity Edge</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROBABILITY__BASE_ACTIVITY_EDGE = 0; + + /** + * The feature id for the '<em><b>Base Parameter Set</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROBABILITY__BASE_PARAMETER_SET = 1; + + /** + * The feature id for the '<em><b>Probability</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROBABILITY__PROBABILITY = 2; + + /** + * The number of structural features of the '<em>Probability</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROBABILITY_FEATURE_COUNT = 3; + + /** + * The operation id for the '<em>Constraint4</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROBABILITY___CONSTRAINT4__DIAGNOSTICCHAIN_MAP = 0; + + /** + * The operation id for the '<em>Constraint3</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROBABILITY___CONSTRAINT3__DIAGNOSTICCHAIN_MAP = 1; + + /** + * The operation id for the '<em>Constraint1</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROBABILITY___CONSTRAINT1__DIAGNOSTICCHAIN_MAP = 2; + + /** + * The operation id for the '<em>Constraint2</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROBABILITY___CONSTRAINT2__DIAGNOSTICCHAIN_MAP = 3; + + /** + * The number of operations of the '<em>Probability</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROBABILITY_OPERATION_COUNT = 4; + + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.activities.Optional <em>Optional</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Optional</em>'. + * @see org.eclipse.papyrus.sysml.activities.Optional + * @generated + */ + EClass getOptional(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.activities.Optional#getBase_Parameter <em>Base Parameter</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Parameter</em>'. + * @see org.eclipse.papyrus.sysml.activities.Optional#getBase_Parameter() + * @see #getOptional() + * @generated + */ + EReference getOptional_Base_Parameter(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.activities.Optional#Constraint1(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Constraint1</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Constraint1</em>' operation. + * @see org.eclipse.papyrus.sysml.activities.Optional#Constraint1(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) + * @generated + */ + EOperation getOptional__Constraint1__DiagnosticChain_Map(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.activities.Continuous <em>Continuous</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Continuous</em>'. + * @see org.eclipse.papyrus.sysml.activities.Continuous + * @generated + */ + EClass getContinuous(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.activities.Rate <em>Rate</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Rate</em>'. + * @see org.eclipse.papyrus.sysml.activities.Rate + * @generated + */ + EClass getRate(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.activities.Rate#getBase_ActivityEdge <em>Base Activity Edge</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Activity Edge</em>'. + * @see org.eclipse.papyrus.sysml.activities.Rate#getBase_ActivityEdge() + * @see #getRate() + * @generated + */ + EReference getRate_Base_ActivityEdge(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.activities.Rate#getBase_ObjectNode <em>Base Object Node</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Object Node</em>'. + * @see org.eclipse.papyrus.sysml.activities.Rate#getBase_ObjectNode() + * @see #getRate() + * @generated + */ + EReference getRate_Base_ObjectNode(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.activities.Rate#getBase_Parameter <em>Base Parameter</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Parameter</em>'. + * @see org.eclipse.papyrus.sysml.activities.Rate#getBase_Parameter() + * @see #getRate() + * @generated + */ + EReference getRate_Base_Parameter(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.activities.Rate#getRate <em>Rate</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Rate</em>'. + * @see org.eclipse.papyrus.sysml.activities.Rate#getRate() + * @see #getRate() + * @generated + */ + EReference getRate_Rate(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.activities.Rate#Constraint2(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Constraint2</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Constraint2</em>' operation. + * @see org.eclipse.papyrus.sysml.activities.Rate#Constraint2(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) + * @generated + */ + EOperation getRate__Constraint2__DiagnosticChain_Map(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.activities.Rate#Constraint1(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Constraint1</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Constraint1</em>' operation. + * @see org.eclipse.papyrus.sysml.activities.Rate#Constraint1(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) + * @generated + */ + EOperation getRate__Constraint1__DiagnosticChain_Map(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.activities.ControlOperator <em>Control Operator</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Control Operator</em>'. + * @see org.eclipse.papyrus.sysml.activities.ControlOperator + * @generated + */ + EClass getControlOperator(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.activities.ControlOperator#getBase_Behavior <em>Base Behavior</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Behavior</em>'. + * @see org.eclipse.papyrus.sysml.activities.ControlOperator#getBase_Behavior() + * @see #getControlOperator() + * @generated + */ + EReference getControlOperator_Base_Behavior(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.activities.ControlOperator#getBase_Operation <em>Base Operation</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Operation</em>'. + * @see org.eclipse.papyrus.sysml.activities.ControlOperator#getBase_Operation() + * @see #getControlOperator() + * @generated + */ + EReference getControlOperator_Base_Operation(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.activities.ControlOperator#Constraint1(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Constraint1</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Constraint1</em>' operation. + * @see org.eclipse.papyrus.sysml.activities.ControlOperator#Constraint1(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) + * @generated + */ + EOperation getControlOperator__Constraint1__DiagnosticChain_Map(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.activities.ControlOperator#Constraint2(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Constraint2</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Constraint2</em>' operation. + * @see org.eclipse.papyrus.sysml.activities.ControlOperator#Constraint2(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) + * @generated + */ + EOperation getControlOperator__Constraint2__DiagnosticChain_Map(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.activities.Discrete <em>Discrete</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Discrete</em>'. + * @see org.eclipse.papyrus.sysml.activities.Discrete + * @generated + */ + EClass getDiscrete(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.activities.Overwrite <em>Overwrite</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Overwrite</em>'. + * @see org.eclipse.papyrus.sysml.activities.Overwrite + * @generated + */ + EClass getOverwrite(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.activities.Overwrite#getBase_ObjectNode <em>Base Object Node</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Object Node</em>'. + * @see org.eclipse.papyrus.sysml.activities.Overwrite#getBase_ObjectNode() + * @see #getOverwrite() + * @generated + */ + EReference getOverwrite_Base_ObjectNode(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.activities.Overwrite#Constraint1(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Constraint1</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Constraint1</em>' operation. + * @see org.eclipse.papyrus.sysml.activities.Overwrite#Constraint1(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) + * @generated + */ + EOperation getOverwrite__Constraint1__DiagnosticChain_Map(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.activities.NoBuffer <em>No Buffer</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>No Buffer</em>'. + * @see org.eclipse.papyrus.sysml.activities.NoBuffer + * @generated + */ + EClass getNoBuffer(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.activities.NoBuffer#getBase_ObjectNode <em>Base Object Node</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Object Node</em>'. + * @see org.eclipse.papyrus.sysml.activities.NoBuffer#getBase_ObjectNode() + * @see #getNoBuffer() + * @generated + */ + EReference getNoBuffer_Base_ObjectNode(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.activities.NoBuffer#Constraint1(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Constraint1</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Constraint1</em>' operation. + * @see org.eclipse.papyrus.sysml.activities.NoBuffer#Constraint1(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) + * @generated + */ + EOperation getNoBuffer__Constraint1__DiagnosticChain_Map(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.activities.Probability <em>Probability</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Probability</em>'. + * @see org.eclipse.papyrus.sysml.activities.Probability + * @generated + */ + EClass getProbability(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.activities.Probability#getBase_ActivityEdge <em>Base Activity Edge</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Activity Edge</em>'. + * @see org.eclipse.papyrus.sysml.activities.Probability#getBase_ActivityEdge() + * @see #getProbability() + * @generated + */ + EReference getProbability_Base_ActivityEdge(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.activities.Probability#getBase_ParameterSet <em>Base Parameter Set</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Parameter Set</em>'. + * @see org.eclipse.papyrus.sysml.activities.Probability#getBase_ParameterSet() + * @see #getProbability() + * @generated + */ + EReference getProbability_Base_ParameterSet(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.activities.Probability#getProbability <em>Probability</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Probability</em>'. + * @see org.eclipse.papyrus.sysml.activities.Probability#getProbability() + * @see #getProbability() + * @generated + */ + EReference getProbability_Probability(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.activities.Probability#Constraint4(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Constraint4</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Constraint4</em>' operation. + * @see org.eclipse.papyrus.sysml.activities.Probability#Constraint4(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) + * @generated + */ + EOperation getProbability__Constraint4__DiagnosticChain_Map(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.activities.Probability#Constraint3(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Constraint3</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Constraint3</em>' operation. + * @see org.eclipse.papyrus.sysml.activities.Probability#Constraint3(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) + * @generated + */ + EOperation getProbability__Constraint3__DiagnosticChain_Map(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.activities.Probability#Constraint1(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Constraint1</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Constraint1</em>' operation. + * @see org.eclipse.papyrus.sysml.activities.Probability#Constraint1(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) + * @generated + */ + EOperation getProbability__Constraint1__DiagnosticChain_Map(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.activities.Probability#Constraint2(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Constraint2</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Constraint2</em>' operation. + * @see org.eclipse.papyrus.sysml.activities.Probability#Constraint2(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) + * @generated + */ + EOperation getProbability__Constraint2__DiagnosticChain_Map(); + + /** + * Returns the factory that creates the instances of the model. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the factory that creates the instances of the model. + * @generated + */ + ActivitiesFactory getActivitiesFactory(); + + /** + * <!-- begin-user-doc --> + * Defines literals for the meta objects that represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each operation of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.activities.internal.impl.OptionalImpl <em>Optional</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.activities.internal.impl.OptionalImpl + * @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getOptional() + * @generated + */ + EClass OPTIONAL = eINSTANCE.getOptional(); + + /** + * The meta object literal for the '<em><b>Base Parameter</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference OPTIONAL__BASE_PARAMETER = eINSTANCE.getOptional_Base_Parameter(); + + /** + * The meta object literal for the '<em><b>Constraint1</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation OPTIONAL___CONSTRAINT1__DIAGNOSTICCHAIN_MAP = eINSTANCE.getOptional__Constraint1__DiagnosticChain_Map(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.activities.internal.impl.ContinuousImpl <em>Continuous</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.activities.internal.impl.ContinuousImpl + * @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getContinuous() + * @generated + */ + EClass CONTINUOUS = eINSTANCE.getContinuous(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.activities.internal.impl.RateImpl <em>Rate</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.activities.internal.impl.RateImpl + * @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getRate() + * @generated + */ + EClass RATE = eINSTANCE.getRate(); + + /** + * The meta object literal for the '<em><b>Base Activity Edge</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference RATE__BASE_ACTIVITY_EDGE = eINSTANCE.getRate_Base_ActivityEdge(); + + /** + * The meta object literal for the '<em><b>Base Object Node</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference RATE__BASE_OBJECT_NODE = eINSTANCE.getRate_Base_ObjectNode(); + + /** + * The meta object literal for the '<em><b>Base Parameter</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference RATE__BASE_PARAMETER = eINSTANCE.getRate_Base_Parameter(); + + /** + * The meta object literal for the '<em><b>Rate</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference RATE__RATE = eINSTANCE.getRate_Rate(); + + /** + * The meta object literal for the '<em><b>Constraint2</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation RATE___CONSTRAINT2__DIAGNOSTICCHAIN_MAP = eINSTANCE.getRate__Constraint2__DiagnosticChain_Map(); + + /** + * The meta object literal for the '<em><b>Constraint1</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation RATE___CONSTRAINT1__DIAGNOSTICCHAIN_MAP = eINSTANCE.getRate__Constraint1__DiagnosticChain_Map(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.activities.internal.impl.ControlOperatorImpl <em>Control Operator</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.activities.internal.impl.ControlOperatorImpl + * @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getControlOperator() + * @generated + */ + EClass CONTROL_OPERATOR = eINSTANCE.getControlOperator(); + + /** + * The meta object literal for the '<em><b>Base Behavior</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference CONTROL_OPERATOR__BASE_BEHAVIOR = eINSTANCE.getControlOperator_Base_Behavior(); + + /** + * The meta object literal for the '<em><b>Base Operation</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference CONTROL_OPERATOR__BASE_OPERATION = eINSTANCE.getControlOperator_Base_Operation(); + + /** + * The meta object literal for the '<em><b>Constraint1</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation CONTROL_OPERATOR___CONSTRAINT1__DIAGNOSTICCHAIN_MAP = eINSTANCE.getControlOperator__Constraint1__DiagnosticChain_Map(); + + /** + * The meta object literal for the '<em><b>Constraint2</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation CONTROL_OPERATOR___CONSTRAINT2__DIAGNOSTICCHAIN_MAP = eINSTANCE.getControlOperator__Constraint2__DiagnosticChain_Map(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.activities.internal.impl.DiscreteImpl <em>Discrete</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.activities.internal.impl.DiscreteImpl + * @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getDiscrete() + * @generated + */ + EClass DISCRETE = eINSTANCE.getDiscrete(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.activities.internal.impl.OverwriteImpl <em>Overwrite</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.activities.internal.impl.OverwriteImpl + * @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getOverwrite() + * @generated + */ + EClass OVERWRITE = eINSTANCE.getOverwrite(); + + /** + * The meta object literal for the '<em><b>Base Object Node</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference OVERWRITE__BASE_OBJECT_NODE = eINSTANCE.getOverwrite_Base_ObjectNode(); + + /** + * The meta object literal for the '<em><b>Constraint1</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation OVERWRITE___CONSTRAINT1__DIAGNOSTICCHAIN_MAP = eINSTANCE.getOverwrite__Constraint1__DiagnosticChain_Map(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.activities.internal.impl.NoBufferImpl <em>No Buffer</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.activities.internal.impl.NoBufferImpl + * @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getNoBuffer() + * @generated + */ + EClass NO_BUFFER = eINSTANCE.getNoBuffer(); + + /** + * The meta object literal for the '<em><b>Base Object Node</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference NO_BUFFER__BASE_OBJECT_NODE = eINSTANCE.getNoBuffer_Base_ObjectNode(); + + /** + * The meta object literal for the '<em><b>Constraint1</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation NO_BUFFER___CONSTRAINT1__DIAGNOSTICCHAIN_MAP = eINSTANCE.getNoBuffer__Constraint1__DiagnosticChain_Map(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.activities.internal.impl.ProbabilityImpl <em>Probability</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.activities.internal.impl.ProbabilityImpl + * @see org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl#getProbability() + * @generated + */ + EClass PROBABILITY = eINSTANCE.getProbability(); + + /** + * The meta object literal for the '<em><b>Base Activity Edge</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference PROBABILITY__BASE_ACTIVITY_EDGE = eINSTANCE.getProbability_Base_ActivityEdge(); + + /** + * The meta object literal for the '<em><b>Base Parameter Set</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference PROBABILITY__BASE_PARAMETER_SET = eINSTANCE.getProbability_Base_ParameterSet(); + + /** + * The meta object literal for the '<em><b>Probability</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference PROBABILITY__PROBABILITY = eINSTANCE.getProbability_Probability(); + + /** + * The meta object literal for the '<em><b>Constraint4</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation PROBABILITY___CONSTRAINT4__DIAGNOSTICCHAIN_MAP = eINSTANCE.getProbability__Constraint4__DiagnosticChain_Map(); + + /** + * The meta object literal for the '<em><b>Constraint3</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation PROBABILITY___CONSTRAINT3__DIAGNOSTICCHAIN_MAP = eINSTANCE.getProbability__Constraint3__DiagnosticChain_Map(); + + /** + * The meta object literal for the '<em><b>Constraint1</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation PROBABILITY___CONSTRAINT1__DIAGNOSTICCHAIN_MAP = eINSTANCE.getProbability__Constraint1__DiagnosticChain_Map(); + + /** + * The meta object literal for the '<em><b>Constraint2</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation PROBABILITY___CONSTRAINT2__DIAGNOSTICCHAIN_MAP = eINSTANCE.getProbability__Constraint2__DiagnosticChain_Map(); + + } + +} //ActivitiesPackage
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/Continuous.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/Continuous.java new file mode 100644 index 0000000..f98d81b --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/Continuous.java
@@ -0,0 +1,27 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Continuous</b></em>'. + * <!-- end-user-doc --> + * + * + * @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getContinuous() + * @model + * @generated + */ +public interface Continuous extends Rate { +} // Continuous
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/ControlOperator.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/ControlOperator.java new file mode 100644 index 0000000..2c4952f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/ControlOperator.java
@@ -0,0 +1,120 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities; + +import java.util.Map; + +import org.eclipse.emf.common.util.DiagnosticChain; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Behavior; +import org.eclipse.uml2.uml.Operation; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Control Operator</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.activities.ControlOperator#getBase_Behavior <em>Base Behavior</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.activities.ControlOperator#getBase_Operation <em>Base Operation</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getControlOperator() + * @model + * @generated + */ +public interface ControlOperator extends EObject { + /** + * Returns the value of the '<em><b>Base Behavior</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Behavior</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Behavior</em>' reference. + * @see #setBase_Behavior(Behavior) + * @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getControlOperator_Base_Behavior() + * @model ordered="false" + * @generated + */ + Behavior getBase_Behavior(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.activities.ControlOperator#getBase_Behavior <em>Base Behavior</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Behavior</em>' reference. + * @see #getBase_Behavior() + * @generated + */ + void setBase_Behavior(Behavior value); + + /** + * Returns the value of the '<em><b>Base Operation</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Operation</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Operation</em>' reference. + * @see #setBase_Operation(Operation) + * @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getControlOperator_Base_Operation() + * @model ordered="false" + * @generated + */ + Operation getBase_Operation(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.activities.ControlOperator#getBase_Operation <em>Base Operation</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Operation</em>' reference. + * @see #getBase_Operation() + * @generated + */ + void setBase_Operation(Operation value); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * When the «controlOperator» stereotype is applied, the behavior or operation shall have at least one parameter typed by ControlValue. If the stereotype is not applied, the behavior or operation may not have any parameter typed by ControlValue. + * @param diagnostics The chain of diagnostics to which problems are to be appended. + * @param context The cache of context-specific information. + * <!-- end-model-doc --> + * @model + * @generated + */ + boolean Constraint1(DiagnosticChain diagnostics, Map<Object, Object> context); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * A behavior shall have the «controlOperator» stereotype applied if it is a method of an operation that has the «controlOperator» stereotype applied. + * @param diagnostics The chain of diagnostics to which problems are to be appended. + * @param context The cache of context-specific information. + * <!-- end-model-doc --> + * @model + * @generated + */ + boolean Constraint2(DiagnosticChain diagnostics, Map<Object, Object> context); + +} // ControlOperator
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/Discrete.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/Discrete.java new file mode 100644 index 0000000..4773ad0 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/Discrete.java
@@ -0,0 +1,27 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Discrete</b></em>'. + * <!-- end-user-doc --> + * + * + * @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getDiscrete() + * @model + * @generated + */ +public interface Discrete extends Rate { +} // Discrete
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/NoBuffer.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/NoBuffer.java new file mode 100644 index 0000000..9e5e848 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/NoBuffer.java
@@ -0,0 +1,79 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities; + +import java.util.Map; + +import org.eclipse.emf.common.util.DiagnosticChain; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.ObjectNode; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>No Buffer</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.activities.NoBuffer#getBase_ObjectNode <em>Base Object Node</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getNoBuffer() + * @model + * @generated + */ +public interface NoBuffer extends EObject { + /** + * Returns the value of the '<em><b>Base Object Node</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Object Node</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Object Node</em>' reference. + * @see #setBase_ObjectNode(ObjectNode) + * @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getNoBuffer_Base_ObjectNode() + * @model ordered="false" + * @generated + */ + ObjectNode getBase_ObjectNode(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.activities.NoBuffer#getBase_ObjectNode <em>Base Object Node</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Object Node</em>' reference. + * @see #getBase_ObjectNode() + * @generated + */ + void setBase_ObjectNode(ObjectNode value); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The «nobuffer» and «overwrite» stereotypes cannot be applied to the same element at the same time. + * @param diagnostics The chain of diagnostics to which problems are to be appended. + * @param context The cache of context-specific information. + * <!-- end-model-doc --> + * @model + * @generated + */ + boolean Constraint1(DiagnosticChain diagnostics, Map<Object, Object> context); + +} // NoBuffer
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/Optional.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/Optional.java new file mode 100644 index 0000000..967cc76 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/Optional.java
@@ -0,0 +1,79 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities; + +import java.util.Map; + +import org.eclipse.emf.common.util.DiagnosticChain; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Parameter; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Optional</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.activities.Optional#getBase_Parameter <em>Base Parameter</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getOptional() + * @model + * @generated + */ +public interface Optional extends EObject { + /** + * Returns the value of the '<em><b>Base Parameter</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Parameter</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Parameter</em>' reference. + * @see #setBase_Parameter(Parameter) + * @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getOptional_Base_Parameter() + * @model ordered="false" + * @generated + */ + Parameter getBase_Parameter(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.activities.Optional#getBase_Parameter <em>Base Parameter</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Parameter</em>' reference. + * @see #getBase_Parameter() + * @generated + */ + void setBase_Parameter(Parameter value); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * A parameter with the «optional» stereotypes applied shall have multiplicity.lower equal to zero, otherwise multiplicity.lower shall be greater than zero. + * @param diagnostics The chain of diagnostics to which problems are to be appended. + * @param context The cache of context-specific information. + * <!-- end-model-doc --> + * @model + * @generated + */ + boolean Constraint1(DiagnosticChain diagnostics, Map<Object, Object> context); + +} // Optional
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/Overwrite.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/Overwrite.java new file mode 100644 index 0000000..ca974fe --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/Overwrite.java
@@ -0,0 +1,79 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities; + +import java.util.Map; + +import org.eclipse.emf.common.util.DiagnosticChain; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.ObjectNode; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Overwrite</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.activities.Overwrite#getBase_ObjectNode <em>Base Object Node</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getOverwrite() + * @model + * @generated + */ +public interface Overwrite extends EObject { + /** + * Returns the value of the '<em><b>Base Object Node</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Object Node</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Object Node</em>' reference. + * @see #setBase_ObjectNode(ObjectNode) + * @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getOverwrite_Base_ObjectNode() + * @model ordered="false" + * @generated + */ + ObjectNode getBase_ObjectNode(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.activities.Overwrite#getBase_ObjectNode <em>Base Object Node</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Object Node</em>' reference. + * @see #getBase_ObjectNode() + * @generated + */ + void setBase_ObjectNode(ObjectNode value); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The «overwrite» and «nobuffer» stereotypes cannot be applied to the same element at the same time. + * @param diagnostics The chain of diagnostics to which problems are to be appended. + * @param context The cache of context-specific information. + * <!-- end-model-doc --> + * @model + * @generated + */ + boolean Constraint1(DiagnosticChain diagnostics, Map<Object, Object> context); + +} // Overwrite
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/Probability.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/Probability.java new file mode 100644 index 0000000..2fe744f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/Probability.java
@@ -0,0 +1,174 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities; + +import java.util.Map; + +import org.eclipse.emf.common.util.DiagnosticChain; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.ActivityEdge; +import org.eclipse.uml2.uml.ParameterSet; +import org.eclipse.uml2.uml.ValueSpecification; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Probability</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.activities.Probability#getBase_ActivityEdge <em>Base Activity Edge</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.activities.Probability#getBase_ParameterSet <em>Base Parameter Set</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.activities.Probability#getProbability <em>Probability</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getProbability() + * @model + * @generated + */ +public interface Probability extends EObject { + /** + * Returns the value of the '<em><b>Base Activity Edge</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Activity Edge</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Activity Edge</em>' reference. + * @see #setBase_ActivityEdge(ActivityEdge) + * @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getProbability_Base_ActivityEdge() + * @model ordered="false" + * @generated + */ + ActivityEdge getBase_ActivityEdge(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.activities.Probability#getBase_ActivityEdge <em>Base Activity Edge</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Activity Edge</em>' reference. + * @see #getBase_ActivityEdge() + * @generated + */ + void setBase_ActivityEdge(ActivityEdge value); + + /** + * Returns the value of the '<em><b>Base Parameter Set</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Parameter Set</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Parameter Set</em>' reference. + * @see #setBase_ParameterSet(ParameterSet) + * @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getProbability_Base_ParameterSet() + * @model ordered="false" + * @generated + */ + ParameterSet getBase_ParameterSet(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.activities.Probability#getBase_ParameterSet <em>Base Parameter Set</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Parameter Set</em>' reference. + * @see #getBase_ParameterSet() + * @generated + */ + void setBase_ParameterSet(ParameterSet value); + + /** + * Returns the value of the '<em><b>Probability</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Probability</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Probability</em>' reference. + * @see #setProbability(ValueSpecification) + * @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getProbability_Probability() + * @model required="true" ordered="false" + * @generated + */ + ValueSpecification getProbability(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.activities.Probability#getProbability <em>Probability</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Probability</em>' reference. + * @see #getProbability() + * @generated + */ + void setProbability(ValueSpecification value); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * When the «probability» stereotype is applied to an output parameter set, all the output parameters shall be in some parameter set. + * @param diagnostics The chain of diagnostics to which problems are to be appended. + * @param context The cache of context-specific information. + * <!-- end-model-doc --> + * @model + * @generated + */ + boolean Constraint4(DiagnosticChain diagnostics, Map<Object, Object> context); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * When the «probability» stereotype is applied to an output parameter set, it shall be applied to all the parameter sets of the behavior or operation owning the original parameter set. + * @param diagnostics The chain of diagnostics to which problems are to be appended. + * @param context The cache of context-specific information. + * <!-- end-model-doc --> + * @model + * @generated + */ + boolean Constraint3(DiagnosticChain diagnostics, Map<Object, Object> context); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The «probability» stereotype shall only be applied to activity edges that have decision nodes or object nodes as sources, or to output parameter sets. + * @param diagnostics The chain of diagnostics to which problems are to be appended. + * @param context The cache of context-specific information. + * <!-- end-model-doc --> + * @model + * @generated + */ + boolean Constraint1(DiagnosticChain diagnostics, Map<Object, Object> context); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * When the «probability» stereotype is applied to an activity edge, then it shall be applied to all edges coming out of the same source. + * @param diagnostics The chain of diagnostics to which problems are to be appended. + * @param context The cache of context-specific information. + * <!-- end-model-doc --> + * @model + * @generated + */ + boolean Constraint2(DiagnosticChain diagnostics, Map<Object, Object> context); + +} // Probability
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/Rate.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/Rate.java new file mode 100644 index 0000000..7279a25 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/Rate.java
@@ -0,0 +1,176 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities; + +import java.util.Map; + +import org.eclipse.emf.common.util.DiagnosticChain; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.ActivityEdge; +import org.eclipse.uml2.uml.InstanceSpecification; +import org.eclipse.uml2.uml.ObjectNode; +import org.eclipse.uml2.uml.Parameter; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Rate</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.activities.Rate#getBase_ActivityEdge <em>Base Activity Edge</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.activities.Rate#getBase_ObjectNode <em>Base Object Node</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.activities.Rate#getBase_Parameter <em>Base Parameter</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.activities.Rate#getRate <em>Rate</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getRate() + * @model + * @generated + */ +public interface Rate extends EObject { + /** + * Returns the value of the '<em><b>Base Activity Edge</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Activity Edge</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Activity Edge</em>' reference. + * @see #setBase_ActivityEdge(ActivityEdge) + * @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getRate_Base_ActivityEdge() + * @model ordered="false" + * @generated + */ + ActivityEdge getBase_ActivityEdge(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.activities.Rate#getBase_ActivityEdge <em>Base Activity Edge</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Activity Edge</em>' reference. + * @see #getBase_ActivityEdge() + * @generated + */ + void setBase_ActivityEdge(ActivityEdge value); + + /** + * Returns the value of the '<em><b>Base Object Node</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Object Node</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Object Node</em>' reference. + * @see #setBase_ObjectNode(ObjectNode) + * @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getRate_Base_ObjectNode() + * @model ordered="false" + * @generated + */ + ObjectNode getBase_ObjectNode(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.activities.Rate#getBase_ObjectNode <em>Base Object Node</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Object Node</em>' reference. + * @see #getBase_ObjectNode() + * @generated + */ + void setBase_ObjectNode(ObjectNode value); + + /** + * Returns the value of the '<em><b>Base Parameter</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Parameter</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Parameter</em>' reference. + * @see #setBase_Parameter(Parameter) + * @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getRate_Base_Parameter() + * @model ordered="false" + * @generated + */ + Parameter getBase_Parameter(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.activities.Rate#getBase_Parameter <em>Base Parameter</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Parameter</em>' reference. + * @see #getBase_Parameter() + * @generated + */ + void setBase_Parameter(Parameter value); + + /** + * Returns the value of the '<em><b>Rate</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Rate</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Rate</em>' reference. + * @see #setRate(InstanceSpecification) + * @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#getRate_Rate() + * @model required="true" ordered="false" + * @generated + */ + InstanceSpecification getRate(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.activities.Rate#getRate <em>Rate</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Rate</em>' reference. + * @see #getRate() + * @generated + */ + void setRate(InstanceSpecification value); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The rate of a parameter shall be less than or equal to rates on edges that come into or go out from pins and parameters nodes corresponding to the parameter. + * @param diagnostics The chain of diagnostics to which problems are to be appended. + * @param context The cache of context-specific information. + * <!-- end-model-doc --> + * @model + * @generated + */ + boolean Constraint2(DiagnosticChain diagnostics, Map<Object, Object> context); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * When the «rate» stereotype is applied to a parameter, the parameter shall be streaming. + * @param diagnostics The chain of diagnostics to which problems are to be appended. + * @param context The cache of context-specific information. + * <!-- end-model-doc --> + * @model + * @generated + */ + boolean Constraint1(DiagnosticChain diagnostics, Map<Object, Object> context); + +} // Rate
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/ActivitiesFactoryImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/ActivitiesFactoryImpl.java new file mode 100644 index 0000000..c743b31 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/ActivitiesFactoryImpl.java
@@ -0,0 +1,182 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities.internal.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.papyrus.sysml.activities.*; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Factory</b>. + * <!-- end-user-doc --> + * @generated + */ +public class ActivitiesFactoryImpl extends EFactoryImpl implements ActivitiesFactory { + /** + * Creates the default factory implementation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static ActivitiesFactory init() { + try { + ActivitiesFactory theActivitiesFactory = (ActivitiesFactory)EPackage.Registry.INSTANCE.getEFactory(ActivitiesPackage.eNS_URI); + if (theActivitiesFactory != null) { + return theActivitiesFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new ActivitiesFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ActivitiesFactoryImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case ActivitiesPackage.OPTIONAL: return createOptional(); + case ActivitiesPackage.CONTINUOUS: return createContinuous(); + case ActivitiesPackage.RATE: return createRate(); + case ActivitiesPackage.CONTROL_OPERATOR: return createControlOperator(); + case ActivitiesPackage.DISCRETE: return createDiscrete(); + case ActivitiesPackage.OVERWRITE: return createOverwrite(); + case ActivitiesPackage.NO_BUFFER: return createNoBuffer(); + case ActivitiesPackage.PROBABILITY: return createProbability(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Optional createOptional() { + OptionalImpl optional = new OptionalImpl(); + return optional; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Continuous createContinuous() { + ContinuousImpl continuous = new ContinuousImpl(); + return continuous; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Rate createRate() { + RateImpl rate = new RateImpl(); + return rate; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ControlOperator createControlOperator() { + ControlOperatorImpl controlOperator = new ControlOperatorImpl(); + return controlOperator; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Discrete createDiscrete() { + DiscreteImpl discrete = new DiscreteImpl(); + return discrete; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Overwrite createOverwrite() { + OverwriteImpl overwrite = new OverwriteImpl(); + return overwrite; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NoBuffer createNoBuffer() { + NoBufferImpl noBuffer = new NoBufferImpl(); + return noBuffer; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Probability createProbability() { + ProbabilityImpl probability = new ProbabilityImpl(); + return probability; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ActivitiesPackage getActivitiesPackage() { + return (ActivitiesPackage)getEPackage(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @deprecated + * @generated + */ + @Deprecated + public static ActivitiesPackage getPackage() { + return ActivitiesPackage.eINSTANCE; + } + +} //ActivitiesFactoryImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/ActivitiesPackageImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/ActivitiesPackageImpl.java new file mode 100644 index 0000000..f8cdb9d --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/ActivitiesPackageImpl.java
@@ -0,0 +1,764 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities.internal.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EGenericType; +import org.eclipse.emf.ecore.EOperation; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.EValidator; +import org.eclipse.emf.ecore.EcorePackage; + +import org.eclipse.emf.ecore.impl.EPackageImpl; +import org.eclipse.papyrus.sysml.SysMLPackage; +import org.eclipse.papyrus.sysml.activities.ActivitiesFactory; +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; +import org.eclipse.papyrus.sysml.activities.Continuous; +import org.eclipse.papyrus.sysml.activities.ControlOperator; +import org.eclipse.papyrus.sysml.activities.Discrete; +import org.eclipse.papyrus.sysml.activities.NoBuffer; +import org.eclipse.papyrus.sysml.activities.Optional; +import org.eclipse.papyrus.sysml.activities.Overwrite; +import org.eclipse.papyrus.sysml.activities.Probability; +import org.eclipse.papyrus.sysml.activities.Rate; + +import org.eclipse.papyrus.sysml.activities.util.ActivitiesValidator; + +import org.eclipse.papyrus.sysml.allocations.AllocationsPackage; + +import org.eclipse.papyrus.sysml.allocations.internal.impl.AllocationsPackageImpl; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; + +import org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl; + +import org.eclipse.papyrus.sysml.constraintblocks.ConstraintblocksPackage; + +import org.eclipse.papyrus.sysml.constraintblocks.internal.impl.ConstraintblocksPackageImpl; + +import org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsPackage; + +import org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.DeprecatedelementsPackageImpl; +import org.eclipse.papyrus.sysml.internal.impl.SysMLPackageImpl; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; + +import org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl; + +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; + +import org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl; + +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; + +import org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl; + +import org.eclipse.uml2.types.TypesPackage; + +import org.eclipse.uml2.uml.UMLPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Package</b>. + * <!-- end-user-doc --> + * @generated + */ +public class ActivitiesPackageImpl extends EPackageImpl implements ActivitiesPackage { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass optionalEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass continuousEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass rateEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass controlOperatorEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass discreteEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass overwriteEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass noBufferEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass probabilityEClass = null; + + /** + * Creates an instance of the model <b>Package</b>, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + * <p>Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage#eNS_URI + * @see #init() + * @generated + */ + private ActivitiesPackageImpl() { + super(eNS_URI, ActivitiesFactory.eINSTANCE); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. + * + * <p>This method is used to initialize {@link ActivitiesPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static ActivitiesPackage init() { + if (isInited) return (ActivitiesPackage)EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI); + + // Obtain or create and register package + ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ActivitiesPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + EcorePackage.eINSTANCE.eClass(); + TypesPackage.eINSTANCE.eClass(); + UMLPackage.eINSTANCE.eClass(); + + // Obtain or create and register interdependencies + SysMLPackageImpl theSysMLPackage = (SysMLPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SysMLPackage.eNS_URI) instanceof SysMLPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysMLPackage.eNS_URI) : SysMLPackage.eINSTANCE); + PortsandflowsPackageImpl thePortsandflowsPackage = (PortsandflowsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) instanceof PortsandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) : PortsandflowsPackage.eINSTANCE); + BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE); + AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) : AllocationsPackage.eINSTANCE); + RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE); + ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE); + DeprecatedelementsPackageImpl theDeprecatedelementsPackage = (DeprecatedelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) instanceof DeprecatedelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) : DeprecatedelementsPackage.eINSTANCE); + ConstraintblocksPackageImpl theConstraintblocksPackage = (ConstraintblocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) instanceof ConstraintblocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) : ConstraintblocksPackage.eINSTANCE); + + // Create package meta-data objects + theActivitiesPackage.createPackageContents(); + theSysMLPackage.createPackageContents(); + thePortsandflowsPackage.createPackageContents(); + theBlocksPackage.createPackageContents(); + theAllocationsPackage.createPackageContents(); + theRequirementsPackage.createPackageContents(); + theModelelementsPackage.createPackageContents(); + theDeprecatedelementsPackage.createPackageContents(); + theConstraintblocksPackage.createPackageContents(); + + // Initialize created meta-data + theActivitiesPackage.initializePackageContents(); + theSysMLPackage.initializePackageContents(); + thePortsandflowsPackage.initializePackageContents(); + theBlocksPackage.initializePackageContents(); + theAllocationsPackage.initializePackageContents(); + theRequirementsPackage.initializePackageContents(); + theModelelementsPackage.initializePackageContents(); + theDeprecatedelementsPackage.initializePackageContents(); + theConstraintblocksPackage.initializePackageContents(); + + // Register package validator + EValidator.Registry.INSTANCE.put + (theActivitiesPackage, + new EValidator.Descriptor() { + public EValidator getEValidator() { + return ActivitiesValidator.INSTANCE; + } + }); + + // Mark meta-data to indicate it can't be changed + theActivitiesPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(ActivitiesPackage.eNS_URI, theActivitiesPackage); + return theActivitiesPackage; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getOptional() { + return optionalEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getOptional_Base_Parameter() { + return (EReference)optionalEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getOptional__Constraint1__DiagnosticChain_Map() { + return optionalEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getContinuous() { + return continuousEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getRate() { + return rateEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRate_Base_ActivityEdge() { + return (EReference)rateEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRate_Base_ObjectNode() { + return (EReference)rateEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRate_Base_Parameter() { + return (EReference)rateEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRate_Rate() { + return (EReference)rateEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getRate__Constraint2__DiagnosticChain_Map() { + return rateEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getRate__Constraint1__DiagnosticChain_Map() { + return rateEClass.getEOperations().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getControlOperator() { + return controlOperatorEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getControlOperator_Base_Behavior() { + return (EReference)controlOperatorEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getControlOperator_Base_Operation() { + return (EReference)controlOperatorEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getControlOperator__Constraint1__DiagnosticChain_Map() { + return controlOperatorEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getControlOperator__Constraint2__DiagnosticChain_Map() { + return controlOperatorEClass.getEOperations().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getDiscrete() { + return discreteEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getOverwrite() { + return overwriteEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getOverwrite_Base_ObjectNode() { + return (EReference)overwriteEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getOverwrite__Constraint1__DiagnosticChain_Map() { + return overwriteEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getNoBuffer() { + return noBufferEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getNoBuffer_Base_ObjectNode() { + return (EReference)noBufferEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getNoBuffer__Constraint1__DiagnosticChain_Map() { + return noBufferEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getProbability() { + return probabilityEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getProbability_Base_ActivityEdge() { + return (EReference)probabilityEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getProbability_Base_ParameterSet() { + return (EReference)probabilityEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getProbability_Probability() { + return (EReference)probabilityEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getProbability__Constraint4__DiagnosticChain_Map() { + return probabilityEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getProbability__Constraint3__DiagnosticChain_Map() { + return probabilityEClass.getEOperations().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getProbability__Constraint1__DiagnosticChain_Map() { + return probabilityEClass.getEOperations().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getProbability__Constraint2__DiagnosticChain_Map() { + return probabilityEClass.getEOperations().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ActivitiesFactory getActivitiesFactory() { + return (ActivitiesFactory)getEFactoryInstance(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + optionalEClass = createEClass(OPTIONAL); + createEReference(optionalEClass, OPTIONAL__BASE_PARAMETER); + createEOperation(optionalEClass, OPTIONAL___CONSTRAINT1__DIAGNOSTICCHAIN_MAP); + + continuousEClass = createEClass(CONTINUOUS); + + rateEClass = createEClass(RATE); + createEReference(rateEClass, RATE__BASE_ACTIVITY_EDGE); + createEReference(rateEClass, RATE__BASE_OBJECT_NODE); + createEReference(rateEClass, RATE__BASE_PARAMETER); + createEReference(rateEClass, RATE__RATE); + createEOperation(rateEClass, RATE___CONSTRAINT2__DIAGNOSTICCHAIN_MAP); + createEOperation(rateEClass, RATE___CONSTRAINT1__DIAGNOSTICCHAIN_MAP); + + controlOperatorEClass = createEClass(CONTROL_OPERATOR); + createEReference(controlOperatorEClass, CONTROL_OPERATOR__BASE_BEHAVIOR); + createEReference(controlOperatorEClass, CONTROL_OPERATOR__BASE_OPERATION); + createEOperation(controlOperatorEClass, CONTROL_OPERATOR___CONSTRAINT1__DIAGNOSTICCHAIN_MAP); + createEOperation(controlOperatorEClass, CONTROL_OPERATOR___CONSTRAINT2__DIAGNOSTICCHAIN_MAP); + + discreteEClass = createEClass(DISCRETE); + + overwriteEClass = createEClass(OVERWRITE); + createEReference(overwriteEClass, OVERWRITE__BASE_OBJECT_NODE); + createEOperation(overwriteEClass, OVERWRITE___CONSTRAINT1__DIAGNOSTICCHAIN_MAP); + + noBufferEClass = createEClass(NO_BUFFER); + createEReference(noBufferEClass, NO_BUFFER__BASE_OBJECT_NODE); + createEOperation(noBufferEClass, NO_BUFFER___CONSTRAINT1__DIAGNOSTICCHAIN_MAP); + + probabilityEClass = createEClass(PROBABILITY); + createEReference(probabilityEClass, PROBABILITY__BASE_ACTIVITY_EDGE); + createEReference(probabilityEClass, PROBABILITY__BASE_PARAMETER_SET); + createEReference(probabilityEClass, PROBABILITY__PROBABILITY); + createEOperation(probabilityEClass, PROBABILITY___CONSTRAINT4__DIAGNOSTICCHAIN_MAP); + createEOperation(probabilityEClass, PROBABILITY___CONSTRAINT3__DIAGNOSTICCHAIN_MAP); + createEOperation(probabilityEClass, PROBABILITY___CONSTRAINT1__DIAGNOSTICCHAIN_MAP); + createEOperation(probabilityEClass, PROBABILITY___CONSTRAINT2__DIAGNOSTICCHAIN_MAP); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + continuousEClass.getESuperTypes().add(this.getRate()); + discreteEClass.getESuperTypes().add(this.getRate()); + + // Initialize classes, features, and operations; add parameters + initEClass(optionalEClass, Optional.class, "Optional", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getOptional_Base_Parameter(), theUMLPackage.getParameter(), null, "base_Parameter", null, 0, 1, Optional.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + EOperation op = initEOperation(getOptional__Constraint1__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "Constraint1", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + EGenericType g1 = createEGenericType(ecorePackage.getEMap()); + EGenericType g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + + initEClass(continuousEClass, Continuous.class, "Continuous", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + + initEClass(rateEClass, Rate.class, "Rate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getRate_Base_ActivityEdge(), theUMLPackage.getActivityEdge(), null, "base_ActivityEdge", null, 0, 1, Rate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getRate_Base_ObjectNode(), theUMLPackage.getObjectNode(), null, "base_ObjectNode", null, 0, 1, Rate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getRate_Base_Parameter(), theUMLPackage.getParameter(), null, "base_Parameter", null, 0, 1, Rate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getRate_Rate(), theUMLPackage.getInstanceSpecification(), null, "rate", null, 1, 1, Rate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + op = initEOperation(getRate__Constraint2__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "Constraint2", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + + op = initEOperation(getRate__Constraint1__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "Constraint1", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + + initEClass(controlOperatorEClass, ControlOperator.class, "ControlOperator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getControlOperator_Base_Behavior(), theUMLPackage.getBehavior(), null, "base_Behavior", null, 0, 1, ControlOperator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getControlOperator_Base_Operation(), theUMLPackage.getOperation(), null, "base_Operation", null, 0, 1, ControlOperator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + op = initEOperation(getControlOperator__Constraint1__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "Constraint1", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + + op = initEOperation(getControlOperator__Constraint2__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "Constraint2", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + + initEClass(discreteEClass, Discrete.class, "Discrete", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + + initEClass(overwriteEClass, Overwrite.class, "Overwrite", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getOverwrite_Base_ObjectNode(), theUMLPackage.getObjectNode(), null, "base_ObjectNode", null, 0, 1, Overwrite.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + op = initEOperation(getOverwrite__Constraint1__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "Constraint1", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + + initEClass(noBufferEClass, NoBuffer.class, "NoBuffer", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getNoBuffer_Base_ObjectNode(), theUMLPackage.getObjectNode(), null, "base_ObjectNode", null, 0, 1, NoBuffer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + op = initEOperation(getNoBuffer__Constraint1__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "Constraint1", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + + initEClass(probabilityEClass, Probability.class, "Probability", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getProbability_Base_ActivityEdge(), theUMLPackage.getActivityEdge(), null, "base_ActivityEdge", null, 0, 1, Probability.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getProbability_Base_ParameterSet(), theUMLPackage.getParameterSet(), null, "base_ParameterSet", null, 0, 1, Probability.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getProbability_Probability(), theUMLPackage.getValueSpecification(), null, "probability", null, 1, 1, Probability.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + op = initEOperation(getProbability__Constraint4__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "Constraint4", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + + op = initEOperation(getProbability__Constraint3__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "Constraint3", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + + op = initEOperation(getProbability__Constraint1__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "Constraint1", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + + op = initEOperation(getProbability__Constraint2__DiagnosticChain_Map(), ecorePackage.getEBoolean(), "Constraint2", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + addEParameter(op, ecorePackage.getEDiagnosticChain(), "diagnostics", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + g1 = createEGenericType(ecorePackage.getEMap()); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + g2 = createEGenericType(ecorePackage.getEJavaObject()); + g1.getETypeArguments().add(g2); + addEParameter(op, g1, "context", 0, 1, IS_UNIQUE, IS_ORDERED); //$NON-NLS-1$ + + // Create annotations + // http://www.eclipse.org/uml2/2.0.0/UML + createUMLAnnotations(); + } + + /** + * Initializes the annotations for <b>http://www.eclipse.org/uml2/2.0.0/UML</b>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void createUMLAnnotations() { + String source = "http://www.eclipse.org/uml2/2.0.0/UML"; //$NON-NLS-1$ + addAnnotation + (this, + source, + new String[] { + "originalName", "Activities" //$NON-NLS-1$ //$NON-NLS-2$ + }); + } + +} //ActivitiesPackageImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/ContinuousImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/ContinuousImpl.java new file mode 100644 index 0000000..7617a3b --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/ContinuousImpl.java
@@ -0,0 +1,47 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities.internal.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; +import org.eclipse.papyrus.sysml.activities.Continuous; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Continuous</b></em>'. + * <!-- end-user-doc --> + * + * @generated + */ +public class ContinuousImpl extends RateImpl implements Continuous { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ContinuousImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ActivitiesPackage.Literals.CONTINUOUS; + } + +} //ContinuousImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/ControlOperatorImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/ControlOperatorImpl.java new file mode 100644 index 0000000..cc162fb --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/ControlOperatorImpl.java
@@ -0,0 +1,311 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities.internal.impl; + +import java.lang.reflect.InvocationTargetException; + +import java.util.Map; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.BasicDiagnostic; +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.emf.ecore.util.EObjectValidator; + +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; +import org.eclipse.papyrus.sysml.activities.ControlOperator; + +import org.eclipse.papyrus.sysml.activities.util.ActivitiesValidator; + +import org.eclipse.uml2.uml.Behavior; +import org.eclipse.uml2.uml.Operation; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Control Operator</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.activities.internal.impl.ControlOperatorImpl#getBase_Behavior <em>Base Behavior</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.activities.internal.impl.ControlOperatorImpl#getBase_Operation <em>Base Operation</em>}</li> + * </ul> + * + * @generated + */ +public class ControlOperatorImpl extends MinimalEObjectImpl.Container implements ControlOperator { + /** + * The cached value of the '{@link #getBase_Behavior() <em>Base Behavior</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Behavior() + * @generated + * @ordered + */ + protected Behavior base_Behavior; + + /** + * The cached value of the '{@link #getBase_Operation() <em>Base Operation</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Operation() + * @generated + * @ordered + */ + protected Operation base_Operation; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ControlOperatorImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ActivitiesPackage.Literals.CONTROL_OPERATOR; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Behavior getBase_Behavior() { + if (base_Behavior != null && base_Behavior.eIsProxy()) { + InternalEObject oldBase_Behavior = (InternalEObject)base_Behavior; + base_Behavior = (Behavior)eResolveProxy(oldBase_Behavior); + if (base_Behavior != oldBase_Behavior) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.CONTROL_OPERATOR__BASE_BEHAVIOR, oldBase_Behavior, base_Behavior)); + } + } + return base_Behavior; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Behavior basicGetBase_Behavior() { + return base_Behavior; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Behavior(Behavior newBase_Behavior) { + Behavior oldBase_Behavior = base_Behavior; + base_Behavior = newBase_Behavior; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.CONTROL_OPERATOR__BASE_BEHAVIOR, oldBase_Behavior, base_Behavior)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Operation getBase_Operation() { + if (base_Operation != null && base_Operation.eIsProxy()) { + InternalEObject oldBase_Operation = (InternalEObject)base_Operation; + base_Operation = (Operation)eResolveProxy(oldBase_Operation); + if (base_Operation != oldBase_Operation) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.CONTROL_OPERATOR__BASE_OPERATION, oldBase_Operation, base_Operation)); + } + } + return base_Operation; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Operation basicGetBase_Operation() { + return base_Operation; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Operation(Operation newBase_Operation) { + Operation oldBase_Operation = base_Operation; + base_Operation = newBase_Operation; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.CONTROL_OPERATOR__BASE_OPERATION, oldBase_Operation, base_Operation)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean Constraint1(DiagnosticChain diagnostics, Map<Object, Object> context) { + // TODO: implement this method + // -> specify the condition that violates the invariant + // -> verify the details of the diagnostic, including severity and message + // Ensure that you remove @generated or mark it @generated NOT + if (false) { + if (diagnostics != null) { + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + ActivitiesValidator.DIAGNOSTIC_SOURCE, + ActivitiesValidator.CONTROL_OPERATOR__CONSTRAINT1, + EcorePlugin.INSTANCE.getString("_UI_GenericInvariant_diagnostic", new Object[] { "Constraint1", EObjectValidator.getObjectLabel(this, context) }), //$NON-NLS-1$ //$NON-NLS-2$ + new Object [] { this })); + } + return false; + } + return true; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean Constraint2(DiagnosticChain diagnostics, Map<Object, Object> context) { + // TODO: implement this method + // -> specify the condition that violates the invariant + // -> verify the details of the diagnostic, including severity and message + // Ensure that you remove @generated or mark it @generated NOT + if (false) { + if (diagnostics != null) { + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + ActivitiesValidator.DIAGNOSTIC_SOURCE, + ActivitiesValidator.CONTROL_OPERATOR__CONSTRAINT2, + EcorePlugin.INSTANCE.getString("_UI_GenericInvariant_diagnostic", new Object[] { "Constraint2", EObjectValidator.getObjectLabel(this, context) }), //$NON-NLS-1$ //$NON-NLS-2$ + new Object [] { this })); + } + return false; + } + return true; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ActivitiesPackage.CONTROL_OPERATOR__BASE_BEHAVIOR: + if (resolve) return getBase_Behavior(); + return basicGetBase_Behavior(); + case ActivitiesPackage.CONTROL_OPERATOR__BASE_OPERATION: + if (resolve) return getBase_Operation(); + return basicGetBase_Operation(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ActivitiesPackage.CONTROL_OPERATOR__BASE_BEHAVIOR: + setBase_Behavior((Behavior)newValue); + return; + case ActivitiesPackage.CONTROL_OPERATOR__BASE_OPERATION: + setBase_Operation((Operation)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ActivitiesPackage.CONTROL_OPERATOR__BASE_BEHAVIOR: + setBase_Behavior((Behavior)null); + return; + case ActivitiesPackage.CONTROL_OPERATOR__BASE_OPERATION: + setBase_Operation((Operation)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ActivitiesPackage.CONTROL_OPERATOR__BASE_BEHAVIOR: + return base_Behavior != null; + case ActivitiesPackage.CONTROL_OPERATOR__BASE_OPERATION: + return base_Operation != null; + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + @SuppressWarnings("unchecked") + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case ActivitiesPackage.CONTROL_OPERATOR___CONSTRAINT1__DIAGNOSTICCHAIN_MAP: + return Constraint1((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1)); + case ActivitiesPackage.CONTROL_OPERATOR___CONSTRAINT2__DIAGNOSTICCHAIN_MAP: + return Constraint2((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1)); + } + return super.eInvoke(operationID, arguments); + } + +} //ControlOperatorImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/DiscreteImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/DiscreteImpl.java new file mode 100644 index 0000000..e7c9915 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/DiscreteImpl.java
@@ -0,0 +1,47 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities.internal.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; +import org.eclipse.papyrus.sysml.activities.Discrete; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Discrete</b></em>'. + * <!-- end-user-doc --> + * + * @generated + */ +public class DiscreteImpl extends RateImpl implements Discrete { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DiscreteImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ActivitiesPackage.Literals.DISCRETE; + } + +} //DiscreteImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/NoBufferImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/NoBufferImpl.java new file mode 100644 index 0000000..8a7eb2d --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/NoBufferImpl.java
@@ -0,0 +1,223 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities.internal.impl; + +import java.lang.reflect.InvocationTargetException; + +import java.util.Map; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.BasicDiagnostic; +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.emf.ecore.util.EObjectValidator; + +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; +import org.eclipse.papyrus.sysml.activities.NoBuffer; + +import org.eclipse.papyrus.sysml.activities.util.ActivitiesValidator; + +import org.eclipse.uml2.uml.ObjectNode; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>No Buffer</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.activities.internal.impl.NoBufferImpl#getBase_ObjectNode <em>Base Object Node</em>}</li> + * </ul> + * + * @generated + */ +public class NoBufferImpl extends MinimalEObjectImpl.Container implements NoBuffer { + /** + * The cached value of the '{@link #getBase_ObjectNode() <em>Base Object Node</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_ObjectNode() + * @generated + * @ordered + */ + protected ObjectNode base_ObjectNode; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected NoBufferImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ActivitiesPackage.Literals.NO_BUFFER; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ObjectNode getBase_ObjectNode() { + if (base_ObjectNode != null && base_ObjectNode.eIsProxy()) { + InternalEObject oldBase_ObjectNode = (InternalEObject)base_ObjectNode; + base_ObjectNode = (ObjectNode)eResolveProxy(oldBase_ObjectNode); + if (base_ObjectNode != oldBase_ObjectNode) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.NO_BUFFER__BASE_OBJECT_NODE, oldBase_ObjectNode, base_ObjectNode)); + } + } + return base_ObjectNode; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ObjectNode basicGetBase_ObjectNode() { + return base_ObjectNode; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_ObjectNode(ObjectNode newBase_ObjectNode) { + ObjectNode oldBase_ObjectNode = base_ObjectNode; + base_ObjectNode = newBase_ObjectNode; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.NO_BUFFER__BASE_OBJECT_NODE, oldBase_ObjectNode, base_ObjectNode)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean Constraint1(DiagnosticChain diagnostics, Map<Object, Object> context) { + // TODO: implement this method + // -> specify the condition that violates the invariant + // -> verify the details of the diagnostic, including severity and message + // Ensure that you remove @generated or mark it @generated NOT + if (false) { + if (diagnostics != null) { + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + ActivitiesValidator.DIAGNOSTIC_SOURCE, + ActivitiesValidator.NO_BUFFER__CONSTRAINT1, + EcorePlugin.INSTANCE.getString("_UI_GenericInvariant_diagnostic", new Object[] { "Constraint1", EObjectValidator.getObjectLabel(this, context) }), //$NON-NLS-1$ //$NON-NLS-2$ + new Object [] { this })); + } + return false; + } + return true; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ActivitiesPackage.NO_BUFFER__BASE_OBJECT_NODE: + if (resolve) return getBase_ObjectNode(); + return basicGetBase_ObjectNode(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ActivitiesPackage.NO_BUFFER__BASE_OBJECT_NODE: + setBase_ObjectNode((ObjectNode)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ActivitiesPackage.NO_BUFFER__BASE_OBJECT_NODE: + setBase_ObjectNode((ObjectNode)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ActivitiesPackage.NO_BUFFER__BASE_OBJECT_NODE: + return base_ObjectNode != null; + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + @SuppressWarnings("unchecked") + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case ActivitiesPackage.NO_BUFFER___CONSTRAINT1__DIAGNOSTICCHAIN_MAP: + return Constraint1((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1)); + } + return super.eInvoke(operationID, arguments); + } + +} //NoBufferImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/OptionalImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/OptionalImpl.java new file mode 100644 index 0000000..dbea305 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/OptionalImpl.java
@@ -0,0 +1,223 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities.internal.impl; + +import java.lang.reflect.InvocationTargetException; + +import java.util.Map; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.BasicDiagnostic; +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.emf.ecore.util.EObjectValidator; + +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; +import org.eclipse.papyrus.sysml.activities.Optional; + +import org.eclipse.papyrus.sysml.activities.util.ActivitiesValidator; + +import org.eclipse.uml2.uml.Parameter; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Optional</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.activities.internal.impl.OptionalImpl#getBase_Parameter <em>Base Parameter</em>}</li> + * </ul> + * + * @generated + */ +public class OptionalImpl extends MinimalEObjectImpl.Container implements Optional { + /** + * The cached value of the '{@link #getBase_Parameter() <em>Base Parameter</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Parameter() + * @generated + * @ordered + */ + protected Parameter base_Parameter; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected OptionalImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ActivitiesPackage.Literals.OPTIONAL; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Parameter getBase_Parameter() { + if (base_Parameter != null && base_Parameter.eIsProxy()) { + InternalEObject oldBase_Parameter = (InternalEObject)base_Parameter; + base_Parameter = (Parameter)eResolveProxy(oldBase_Parameter); + if (base_Parameter != oldBase_Parameter) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.OPTIONAL__BASE_PARAMETER, oldBase_Parameter, base_Parameter)); + } + } + return base_Parameter; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Parameter basicGetBase_Parameter() { + return base_Parameter; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Parameter(Parameter newBase_Parameter) { + Parameter oldBase_Parameter = base_Parameter; + base_Parameter = newBase_Parameter; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.OPTIONAL__BASE_PARAMETER, oldBase_Parameter, base_Parameter)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean Constraint1(DiagnosticChain diagnostics, Map<Object, Object> context) { + // TODO: implement this method + // -> specify the condition that violates the invariant + // -> verify the details of the diagnostic, including severity and message + // Ensure that you remove @generated or mark it @generated NOT + if (false) { + if (diagnostics != null) { + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + ActivitiesValidator.DIAGNOSTIC_SOURCE, + ActivitiesValidator.OPTIONAL__CONSTRAINT1, + EcorePlugin.INSTANCE.getString("_UI_GenericInvariant_diagnostic", new Object[] { "Constraint1", EObjectValidator.getObjectLabel(this, context) }), //$NON-NLS-1$ //$NON-NLS-2$ + new Object [] { this })); + } + return false; + } + return true; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ActivitiesPackage.OPTIONAL__BASE_PARAMETER: + if (resolve) return getBase_Parameter(); + return basicGetBase_Parameter(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ActivitiesPackage.OPTIONAL__BASE_PARAMETER: + setBase_Parameter((Parameter)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ActivitiesPackage.OPTIONAL__BASE_PARAMETER: + setBase_Parameter((Parameter)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ActivitiesPackage.OPTIONAL__BASE_PARAMETER: + return base_Parameter != null; + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + @SuppressWarnings("unchecked") + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case ActivitiesPackage.OPTIONAL___CONSTRAINT1__DIAGNOSTICCHAIN_MAP: + return Constraint1((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1)); + } + return super.eInvoke(operationID, arguments); + } + +} //OptionalImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/OverwriteImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/OverwriteImpl.java new file mode 100644 index 0000000..d125e4d --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/OverwriteImpl.java
@@ -0,0 +1,223 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities.internal.impl; + +import java.lang.reflect.InvocationTargetException; + +import java.util.Map; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.BasicDiagnostic; +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.emf.ecore.util.EObjectValidator; + +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; +import org.eclipse.papyrus.sysml.activities.Overwrite; + +import org.eclipse.papyrus.sysml.activities.util.ActivitiesValidator; + +import org.eclipse.uml2.uml.ObjectNode; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Overwrite</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.activities.internal.impl.OverwriteImpl#getBase_ObjectNode <em>Base Object Node</em>}</li> + * </ul> + * + * @generated + */ +public class OverwriteImpl extends MinimalEObjectImpl.Container implements Overwrite { + /** + * The cached value of the '{@link #getBase_ObjectNode() <em>Base Object Node</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_ObjectNode() + * @generated + * @ordered + */ + protected ObjectNode base_ObjectNode; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected OverwriteImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ActivitiesPackage.Literals.OVERWRITE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ObjectNode getBase_ObjectNode() { + if (base_ObjectNode != null && base_ObjectNode.eIsProxy()) { + InternalEObject oldBase_ObjectNode = (InternalEObject)base_ObjectNode; + base_ObjectNode = (ObjectNode)eResolveProxy(oldBase_ObjectNode); + if (base_ObjectNode != oldBase_ObjectNode) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.OVERWRITE__BASE_OBJECT_NODE, oldBase_ObjectNode, base_ObjectNode)); + } + } + return base_ObjectNode; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ObjectNode basicGetBase_ObjectNode() { + return base_ObjectNode; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_ObjectNode(ObjectNode newBase_ObjectNode) { + ObjectNode oldBase_ObjectNode = base_ObjectNode; + base_ObjectNode = newBase_ObjectNode; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.OVERWRITE__BASE_OBJECT_NODE, oldBase_ObjectNode, base_ObjectNode)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean Constraint1(DiagnosticChain diagnostics, Map<Object, Object> context) { + // TODO: implement this method + // -> specify the condition that violates the invariant + // -> verify the details of the diagnostic, including severity and message + // Ensure that you remove @generated or mark it @generated NOT + if (false) { + if (diagnostics != null) { + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + ActivitiesValidator.DIAGNOSTIC_SOURCE, + ActivitiesValidator.OVERWRITE__CONSTRAINT1, + EcorePlugin.INSTANCE.getString("_UI_GenericInvariant_diagnostic", new Object[] { "Constraint1", EObjectValidator.getObjectLabel(this, context) }), //$NON-NLS-1$ //$NON-NLS-2$ + new Object [] { this })); + } + return false; + } + return true; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ActivitiesPackage.OVERWRITE__BASE_OBJECT_NODE: + if (resolve) return getBase_ObjectNode(); + return basicGetBase_ObjectNode(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ActivitiesPackage.OVERWRITE__BASE_OBJECT_NODE: + setBase_ObjectNode((ObjectNode)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ActivitiesPackage.OVERWRITE__BASE_OBJECT_NODE: + setBase_ObjectNode((ObjectNode)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ActivitiesPackage.OVERWRITE__BASE_OBJECT_NODE: + return base_ObjectNode != null; + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + @SuppressWarnings("unchecked") + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case ActivitiesPackage.OVERWRITE___CONSTRAINT1__DIAGNOSTICCHAIN_MAP: + return Constraint1((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1)); + } + return super.eInvoke(operationID, arguments); + } + +} //OverwriteImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/ProbabilityImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/ProbabilityImpl.java new file mode 100644 index 0000000..87810d9 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/ProbabilityImpl.java
@@ -0,0 +1,426 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities.internal.impl; + +import java.lang.reflect.InvocationTargetException; + +import java.util.Map; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.BasicDiagnostic; +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.emf.ecore.util.EObjectValidator; + +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; +import org.eclipse.papyrus.sysml.activities.Probability; + +import org.eclipse.papyrus.sysml.activities.util.ActivitiesValidator; + +import org.eclipse.uml2.uml.ActivityEdge; +import org.eclipse.uml2.uml.ParameterSet; +import org.eclipse.uml2.uml.ValueSpecification; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Probability</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.activities.internal.impl.ProbabilityImpl#getBase_ActivityEdge <em>Base Activity Edge</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.activities.internal.impl.ProbabilityImpl#getBase_ParameterSet <em>Base Parameter Set</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.activities.internal.impl.ProbabilityImpl#getProbability <em>Probability</em>}</li> + * </ul> + * + * @generated + */ +public class ProbabilityImpl extends MinimalEObjectImpl.Container implements Probability { + /** + * The cached value of the '{@link #getBase_ActivityEdge() <em>Base Activity Edge</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_ActivityEdge() + * @generated + * @ordered + */ + protected ActivityEdge base_ActivityEdge; + + /** + * The cached value of the '{@link #getBase_ParameterSet() <em>Base Parameter Set</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_ParameterSet() + * @generated + * @ordered + */ + protected ParameterSet base_ParameterSet; + + /** + * The cached value of the '{@link #getProbability() <em>Probability</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getProbability() + * @generated + * @ordered + */ + protected ValueSpecification probability; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ProbabilityImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ActivitiesPackage.Literals.PROBABILITY; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ActivityEdge getBase_ActivityEdge() { + if (base_ActivityEdge != null && base_ActivityEdge.eIsProxy()) { + InternalEObject oldBase_ActivityEdge = (InternalEObject)base_ActivityEdge; + base_ActivityEdge = (ActivityEdge)eResolveProxy(oldBase_ActivityEdge); + if (base_ActivityEdge != oldBase_ActivityEdge) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.PROBABILITY__BASE_ACTIVITY_EDGE, oldBase_ActivityEdge, base_ActivityEdge)); + } + } + return base_ActivityEdge; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ActivityEdge basicGetBase_ActivityEdge() { + return base_ActivityEdge; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_ActivityEdge(ActivityEdge newBase_ActivityEdge) { + ActivityEdge oldBase_ActivityEdge = base_ActivityEdge; + base_ActivityEdge = newBase_ActivityEdge; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.PROBABILITY__BASE_ACTIVITY_EDGE, oldBase_ActivityEdge, base_ActivityEdge)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ParameterSet getBase_ParameterSet() { + if (base_ParameterSet != null && base_ParameterSet.eIsProxy()) { + InternalEObject oldBase_ParameterSet = (InternalEObject)base_ParameterSet; + base_ParameterSet = (ParameterSet)eResolveProxy(oldBase_ParameterSet); + if (base_ParameterSet != oldBase_ParameterSet) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.PROBABILITY__BASE_PARAMETER_SET, oldBase_ParameterSet, base_ParameterSet)); + } + } + return base_ParameterSet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ParameterSet basicGetBase_ParameterSet() { + return base_ParameterSet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_ParameterSet(ParameterSet newBase_ParameterSet) { + ParameterSet oldBase_ParameterSet = base_ParameterSet; + base_ParameterSet = newBase_ParameterSet; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.PROBABILITY__BASE_PARAMETER_SET, oldBase_ParameterSet, base_ParameterSet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ValueSpecification getProbability() { + if (probability != null && probability.eIsProxy()) { + InternalEObject oldProbability = (InternalEObject)probability; + probability = (ValueSpecification)eResolveProxy(oldProbability); + if (probability != oldProbability) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.PROBABILITY__PROBABILITY, oldProbability, probability)); + } + } + return probability; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ValueSpecification basicGetProbability() { + return probability; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setProbability(ValueSpecification newProbability) { + ValueSpecification oldProbability = probability; + probability = newProbability; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.PROBABILITY__PROBABILITY, oldProbability, probability)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean Constraint4(DiagnosticChain diagnostics, Map<Object, Object> context) { + // TODO: implement this method + // -> specify the condition that violates the invariant + // -> verify the details of the diagnostic, including severity and message + // Ensure that you remove @generated or mark it @generated NOT + if (false) { + if (diagnostics != null) { + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + ActivitiesValidator.DIAGNOSTIC_SOURCE, + ActivitiesValidator.PROBABILITY__CONSTRAINT4, + EcorePlugin.INSTANCE.getString("_UI_GenericInvariant_diagnostic", new Object[] { "Constraint4", EObjectValidator.getObjectLabel(this, context) }), //$NON-NLS-1$ //$NON-NLS-2$ + new Object [] { this })); + } + return false; + } + return true; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean Constraint3(DiagnosticChain diagnostics, Map<Object, Object> context) { + // TODO: implement this method + // -> specify the condition that violates the invariant + // -> verify the details of the diagnostic, including severity and message + // Ensure that you remove @generated or mark it @generated NOT + if (false) { + if (diagnostics != null) { + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + ActivitiesValidator.DIAGNOSTIC_SOURCE, + ActivitiesValidator.PROBABILITY__CONSTRAINT3, + EcorePlugin.INSTANCE.getString("_UI_GenericInvariant_diagnostic", new Object[] { "Constraint3", EObjectValidator.getObjectLabel(this, context) }), //$NON-NLS-1$ //$NON-NLS-2$ + new Object [] { this })); + } + return false; + } + return true; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean Constraint1(DiagnosticChain diagnostics, Map<Object, Object> context) { + // TODO: implement this method + // -> specify the condition that violates the invariant + // -> verify the details of the diagnostic, including severity and message + // Ensure that you remove @generated or mark it @generated NOT + if (false) { + if (diagnostics != null) { + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + ActivitiesValidator.DIAGNOSTIC_SOURCE, + ActivitiesValidator.PROBABILITY__CONSTRAINT1, + EcorePlugin.INSTANCE.getString("_UI_GenericInvariant_diagnostic", new Object[] { "Constraint1", EObjectValidator.getObjectLabel(this, context) }), //$NON-NLS-1$ //$NON-NLS-2$ + new Object [] { this })); + } + return false; + } + return true; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean Constraint2(DiagnosticChain diagnostics, Map<Object, Object> context) { + // TODO: implement this method + // -> specify the condition that violates the invariant + // -> verify the details of the diagnostic, including severity and message + // Ensure that you remove @generated or mark it @generated NOT + if (false) { + if (diagnostics != null) { + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + ActivitiesValidator.DIAGNOSTIC_SOURCE, + ActivitiesValidator.PROBABILITY__CONSTRAINT2, + EcorePlugin.INSTANCE.getString("_UI_GenericInvariant_diagnostic", new Object[] { "Constraint2", EObjectValidator.getObjectLabel(this, context) }), //$NON-NLS-1$ //$NON-NLS-2$ + new Object [] { this })); + } + return false; + } + return true; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ActivitiesPackage.PROBABILITY__BASE_ACTIVITY_EDGE: + if (resolve) return getBase_ActivityEdge(); + return basicGetBase_ActivityEdge(); + case ActivitiesPackage.PROBABILITY__BASE_PARAMETER_SET: + if (resolve) return getBase_ParameterSet(); + return basicGetBase_ParameterSet(); + case ActivitiesPackage.PROBABILITY__PROBABILITY: + if (resolve) return getProbability(); + return basicGetProbability(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ActivitiesPackage.PROBABILITY__BASE_ACTIVITY_EDGE: + setBase_ActivityEdge((ActivityEdge)newValue); + return; + case ActivitiesPackage.PROBABILITY__BASE_PARAMETER_SET: + setBase_ParameterSet((ParameterSet)newValue); + return; + case ActivitiesPackage.PROBABILITY__PROBABILITY: + setProbability((ValueSpecification)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ActivitiesPackage.PROBABILITY__BASE_ACTIVITY_EDGE: + setBase_ActivityEdge((ActivityEdge)null); + return; + case ActivitiesPackage.PROBABILITY__BASE_PARAMETER_SET: + setBase_ParameterSet((ParameterSet)null); + return; + case ActivitiesPackage.PROBABILITY__PROBABILITY: + setProbability((ValueSpecification)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ActivitiesPackage.PROBABILITY__BASE_ACTIVITY_EDGE: + return base_ActivityEdge != null; + case ActivitiesPackage.PROBABILITY__BASE_PARAMETER_SET: + return base_ParameterSet != null; + case ActivitiesPackage.PROBABILITY__PROBABILITY: + return probability != null; + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + @SuppressWarnings("unchecked") + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case ActivitiesPackage.PROBABILITY___CONSTRAINT4__DIAGNOSTICCHAIN_MAP: + return Constraint4((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1)); + case ActivitiesPackage.PROBABILITY___CONSTRAINT3__DIAGNOSTICCHAIN_MAP: + return Constraint3((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1)); + case ActivitiesPackage.PROBABILITY___CONSTRAINT1__DIAGNOSTICCHAIN_MAP: + return Constraint1((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1)); + case ActivitiesPackage.PROBABILITY___CONSTRAINT2__DIAGNOSTICCHAIN_MAP: + return Constraint2((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1)); + } + return super.eInvoke(operationID, arguments); + } + +} //ProbabilityImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/RateImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/RateImpl.java new file mode 100644 index 0000000..383cd87 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/internal/impl/RateImpl.java
@@ -0,0 +1,433 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities.internal.impl; + +import java.lang.reflect.InvocationTargetException; + +import java.util.Map; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.BasicDiagnostic; +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.emf.ecore.util.EObjectValidator; + +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; +import org.eclipse.papyrus.sysml.activities.Rate; + +import org.eclipse.papyrus.sysml.activities.util.ActivitiesValidator; + +import org.eclipse.uml2.uml.ActivityEdge; +import org.eclipse.uml2.uml.InstanceSpecification; +import org.eclipse.uml2.uml.ObjectNode; +import org.eclipse.uml2.uml.Parameter; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Rate</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.activities.internal.impl.RateImpl#getBase_ActivityEdge <em>Base Activity Edge</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.activities.internal.impl.RateImpl#getBase_ObjectNode <em>Base Object Node</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.activities.internal.impl.RateImpl#getBase_Parameter <em>Base Parameter</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.activities.internal.impl.RateImpl#getRate <em>Rate</em>}</li> + * </ul> + * + * @generated + */ +public class RateImpl extends MinimalEObjectImpl.Container implements Rate { + /** + * The cached value of the '{@link #getBase_ActivityEdge() <em>Base Activity Edge</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_ActivityEdge() + * @generated + * @ordered + */ + protected ActivityEdge base_ActivityEdge; + + /** + * The cached value of the '{@link #getBase_ObjectNode() <em>Base Object Node</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_ObjectNode() + * @generated + * @ordered + */ + protected ObjectNode base_ObjectNode; + + /** + * The cached value of the '{@link #getBase_Parameter() <em>Base Parameter</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Parameter() + * @generated + * @ordered + */ + protected Parameter base_Parameter; + + /** + * The cached value of the '{@link #getRate() <em>Rate</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getRate() + * @generated + * @ordered + */ + protected InstanceSpecification rate; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RateImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ActivitiesPackage.Literals.RATE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ActivityEdge getBase_ActivityEdge() { + if (base_ActivityEdge != null && base_ActivityEdge.eIsProxy()) { + InternalEObject oldBase_ActivityEdge = (InternalEObject)base_ActivityEdge; + base_ActivityEdge = (ActivityEdge)eResolveProxy(oldBase_ActivityEdge); + if (base_ActivityEdge != oldBase_ActivityEdge) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.RATE__BASE_ACTIVITY_EDGE, oldBase_ActivityEdge, base_ActivityEdge)); + } + } + return base_ActivityEdge; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ActivityEdge basicGetBase_ActivityEdge() { + return base_ActivityEdge; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_ActivityEdge(ActivityEdge newBase_ActivityEdge) { + ActivityEdge oldBase_ActivityEdge = base_ActivityEdge; + base_ActivityEdge = newBase_ActivityEdge; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.RATE__BASE_ACTIVITY_EDGE, oldBase_ActivityEdge, base_ActivityEdge)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ObjectNode getBase_ObjectNode() { + if (base_ObjectNode != null && base_ObjectNode.eIsProxy()) { + InternalEObject oldBase_ObjectNode = (InternalEObject)base_ObjectNode; + base_ObjectNode = (ObjectNode)eResolveProxy(oldBase_ObjectNode); + if (base_ObjectNode != oldBase_ObjectNode) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.RATE__BASE_OBJECT_NODE, oldBase_ObjectNode, base_ObjectNode)); + } + } + return base_ObjectNode; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ObjectNode basicGetBase_ObjectNode() { + return base_ObjectNode; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_ObjectNode(ObjectNode newBase_ObjectNode) { + ObjectNode oldBase_ObjectNode = base_ObjectNode; + base_ObjectNode = newBase_ObjectNode; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.RATE__BASE_OBJECT_NODE, oldBase_ObjectNode, base_ObjectNode)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Parameter getBase_Parameter() { + if (base_Parameter != null && base_Parameter.eIsProxy()) { + InternalEObject oldBase_Parameter = (InternalEObject)base_Parameter; + base_Parameter = (Parameter)eResolveProxy(oldBase_Parameter); + if (base_Parameter != oldBase_Parameter) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.RATE__BASE_PARAMETER, oldBase_Parameter, base_Parameter)); + } + } + return base_Parameter; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Parameter basicGetBase_Parameter() { + return base_Parameter; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Parameter(Parameter newBase_Parameter) { + Parameter oldBase_Parameter = base_Parameter; + base_Parameter = newBase_Parameter; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.RATE__BASE_PARAMETER, oldBase_Parameter, base_Parameter)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public InstanceSpecification getRate() { + if (rate != null && rate.eIsProxy()) { + InternalEObject oldRate = (InternalEObject)rate; + rate = (InstanceSpecification)eResolveProxy(oldRate); + if (rate != oldRate) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.RATE__RATE, oldRate, rate)); + } + } + return rate; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public InstanceSpecification basicGetRate() { + return rate; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setRate(InstanceSpecification newRate) { + InstanceSpecification oldRate = rate; + rate = newRate; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.RATE__RATE, oldRate, rate)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean Constraint2(DiagnosticChain diagnostics, Map<Object, Object> context) { + // TODO: implement this method + // -> specify the condition that violates the invariant + // -> verify the details of the diagnostic, including severity and message + // Ensure that you remove @generated or mark it @generated NOT + if (false) { + if (diagnostics != null) { + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + ActivitiesValidator.DIAGNOSTIC_SOURCE, + ActivitiesValidator.RATE__CONSTRAINT2, + EcorePlugin.INSTANCE.getString("_UI_GenericInvariant_diagnostic", new Object[] { "Constraint2", EObjectValidator.getObjectLabel(this, context) }), //$NON-NLS-1$ //$NON-NLS-2$ + new Object [] { this })); + } + return false; + } + return true; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean Constraint1(DiagnosticChain diagnostics, Map<Object, Object> context) { + // TODO: implement this method + // -> specify the condition that violates the invariant + // -> verify the details of the diagnostic, including severity and message + // Ensure that you remove @generated or mark it @generated NOT + if (false) { + if (diagnostics != null) { + diagnostics.add + (new BasicDiagnostic + (Diagnostic.ERROR, + ActivitiesValidator.DIAGNOSTIC_SOURCE, + ActivitiesValidator.RATE__CONSTRAINT1, + EcorePlugin.INSTANCE.getString("_UI_GenericInvariant_diagnostic", new Object[] { "Constraint1", EObjectValidator.getObjectLabel(this, context) }), //$NON-NLS-1$ //$NON-NLS-2$ + new Object [] { this })); + } + return false; + } + return true; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ActivitiesPackage.RATE__BASE_ACTIVITY_EDGE: + if (resolve) return getBase_ActivityEdge(); + return basicGetBase_ActivityEdge(); + case ActivitiesPackage.RATE__BASE_OBJECT_NODE: + if (resolve) return getBase_ObjectNode(); + return basicGetBase_ObjectNode(); + case ActivitiesPackage.RATE__BASE_PARAMETER: + if (resolve) return getBase_Parameter(); + return basicGetBase_Parameter(); + case ActivitiesPackage.RATE__RATE: + if (resolve) return getRate(); + return basicGetRate(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ActivitiesPackage.RATE__BASE_ACTIVITY_EDGE: + setBase_ActivityEdge((ActivityEdge)newValue); + return; + case ActivitiesPackage.RATE__BASE_OBJECT_NODE: + setBase_ObjectNode((ObjectNode)newValue); + return; + case ActivitiesPackage.RATE__BASE_PARAMETER: + setBase_Parameter((Parameter)newValue); + return; + case ActivitiesPackage.RATE__RATE: + setRate((InstanceSpecification)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ActivitiesPackage.RATE__BASE_ACTIVITY_EDGE: + setBase_ActivityEdge((ActivityEdge)null); + return; + case ActivitiesPackage.RATE__BASE_OBJECT_NODE: + setBase_ObjectNode((ObjectNode)null); + return; + case ActivitiesPackage.RATE__BASE_PARAMETER: + setBase_Parameter((Parameter)null); + return; + case ActivitiesPackage.RATE__RATE: + setRate((InstanceSpecification)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ActivitiesPackage.RATE__BASE_ACTIVITY_EDGE: + return base_ActivityEdge != null; + case ActivitiesPackage.RATE__BASE_OBJECT_NODE: + return base_ObjectNode != null; + case ActivitiesPackage.RATE__BASE_PARAMETER: + return base_Parameter != null; + case ActivitiesPackage.RATE__RATE: + return rate != null; + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + @SuppressWarnings("unchecked") + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case ActivitiesPackage.RATE___CONSTRAINT2__DIAGNOSTICCHAIN_MAP: + return Constraint2((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1)); + case ActivitiesPackage.RATE___CONSTRAINT1__DIAGNOSTICCHAIN_MAP: + return Constraint1((DiagnosticChain)arguments.get(0), (Map<Object, Object>)arguments.get(1)); + } + return super.eInvoke(operationID, arguments); + } + +} //RateImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/util/ActivitiesAdapterFactory.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/util/ActivitiesAdapterFactory.java new file mode 100644 index 0000000..01da048 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/util/ActivitiesAdapterFactory.java
@@ -0,0 +1,256 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities.util; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.papyrus.sysml.activities.*; + +/** + * <!-- begin-user-doc --> + * The <b>Adapter Factory</b> for the model. + * It provides an adapter <code>createXXX</code> method for each class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage + * @generated + */ +public class ActivitiesAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static ActivitiesPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ActivitiesAdapterFactory() { + if (modelPackage == null) { + modelPackage = ActivitiesPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * <!-- begin-user-doc --> + * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. + * <!-- end-user-doc --> + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the <code>createXXX</code> methods. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ActivitiesSwitch<Adapter> modelSwitch = + new ActivitiesSwitch<Adapter>() { + @Override + public Adapter caseOptional(Optional object) { + return createOptionalAdapter(); + } + @Override + public Adapter caseContinuous(Continuous object) { + return createContinuousAdapter(); + } + @Override + public Adapter caseRate(Rate object) { + return createRateAdapter(); + } + @Override + public Adapter caseControlOperator(ControlOperator object) { + return createControlOperatorAdapter(); + } + @Override + public Adapter caseDiscrete(Discrete object) { + return createDiscreteAdapter(); + } + @Override + public Adapter caseOverwrite(Overwrite object) { + return createOverwriteAdapter(); + } + @Override + public Adapter caseNoBuffer(NoBuffer object) { + return createNoBufferAdapter(); + } + @Override + public Adapter caseProbability(Probability object) { + return createProbabilityAdapter(); + } + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the <code>target</code>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param target the object to adapt. + * @return the adapter for the <code>target</code>. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject)target); + } + + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.activities.Optional <em>Optional</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.activities.Optional + * @generated + */ + public Adapter createOptionalAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.activities.Continuous <em>Continuous</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.activities.Continuous + * @generated + */ + public Adapter createContinuousAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.activities.Rate <em>Rate</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.activities.Rate + * @generated + */ + public Adapter createRateAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.activities.ControlOperator <em>Control Operator</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.activities.ControlOperator + * @generated + */ + public Adapter createControlOperatorAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.activities.Discrete <em>Discrete</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.activities.Discrete + * @generated + */ + public Adapter createDiscreteAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.activities.Overwrite <em>Overwrite</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.activities.Overwrite + * @generated + */ + public Adapter createOverwriteAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.activities.NoBuffer <em>No Buffer</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.activities.NoBuffer + * @generated + */ + public Adapter createNoBufferAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.activities.Probability <em>Probability</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.activities.Probability + * @generated + */ + public Adapter createProbabilityAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * <!-- begin-user-doc --> + * This default implementation returns null. + * <!-- end-user-doc --> + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //ActivitiesAdapterFactory
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/util/ActivitiesSwitch.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/util/ActivitiesSwitch.java new file mode 100644 index 0000000..73541c4 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/util/ActivitiesSwitch.java
@@ -0,0 +1,269 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities.util; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +import org.eclipse.papyrus.sysml.activities.*; + +/** + * <!-- begin-user-doc --> + * The <b>Switch</b> for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the <code>caseXXX</code> method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage + * @generated + */ +public class ActivitiesSwitch<T> extends Switch<T> { + /** + * The cached model package + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static ActivitiesPackage modelPackage; + + /** + * Creates an instance of the switch. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ActivitiesSwitch() { + if (modelPackage == null) { + modelPackage = ActivitiesPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the first non-null result returned by a <code>caseXXX</code> call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case ActivitiesPackage.OPTIONAL: { + Optional optional = (Optional)theEObject; + T result = caseOptional(optional); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ActivitiesPackage.CONTINUOUS: { + Continuous continuous = (Continuous)theEObject; + T result = caseContinuous(continuous); + if (result == null) result = caseRate(continuous); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ActivitiesPackage.RATE: { + Rate rate = (Rate)theEObject; + T result = caseRate(rate); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ActivitiesPackage.CONTROL_OPERATOR: { + ControlOperator controlOperator = (ControlOperator)theEObject; + T result = caseControlOperator(controlOperator); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ActivitiesPackage.DISCRETE: { + Discrete discrete = (Discrete)theEObject; + T result = caseDiscrete(discrete); + if (result == null) result = caseRate(discrete); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ActivitiesPackage.OVERWRITE: { + Overwrite overwrite = (Overwrite)theEObject; + T result = caseOverwrite(overwrite); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ActivitiesPackage.NO_BUFFER: { + NoBuffer noBuffer = (NoBuffer)theEObject; + T result = caseNoBuffer(noBuffer); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ActivitiesPackage.PROBABILITY: { + Probability probability = (Probability)theEObject; + T result = caseProbability(probability); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Optional</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Optional</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseOptional(Optional object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Continuous</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Continuous</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseContinuous(Continuous object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Rate</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Rate</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRate(Rate object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Control Operator</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Control Operator</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseControlOperator(ControlOperator object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Discrete</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Discrete</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDiscrete(Discrete object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Overwrite</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Overwrite</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseOverwrite(Overwrite object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>No Buffer</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>No Buffer</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseNoBuffer(NoBuffer object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Probability</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Probability</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseProbability(Probability object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>EObject</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} //ActivitiesSwitch
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/util/ActivitiesValidator.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/util/ActivitiesValidator.java new file mode 100644 index 0000000..a62a4ac --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/activities/util/ActivitiesValidator.java
@@ -0,0 +1,490 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.activities.util; + +import java.util.Map; + +import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.emf.common.util.ResourceLocator; + +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.EObjectValidator; + +import org.eclipse.papyrus.sysml.activities.*; + +/** + * <!-- begin-user-doc --> + * The <b>Validator</b> for the model. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.activities.ActivitiesPackage + * @generated + */ +public class ActivitiesValidator extends EObjectValidator { + /** + * The cached model package + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final ActivitiesValidator INSTANCE = new ActivitiesValidator(); + + /** + * A constant for the {@link org.eclipse.emf.common.util.Diagnostic#getSource() source} of diagnostic {@link org.eclipse.emf.common.util.Diagnostic#getCode() codes} from this package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.common.util.Diagnostic#getSource() + * @see org.eclipse.emf.common.util.Diagnostic#getCode() + * @generated + */ + public static final String DIAGNOSTIC_SOURCE = "org.eclipse.papyrus.sysml.activities"; //$NON-NLS-1$ + + /** + * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Constraint1' of 'Optional'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final int OPTIONAL__CONSTRAINT1 = 1; + + /** + * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Constraint2' of 'Rate'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final int RATE__CONSTRAINT2 = 2; + + /** + * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Constraint1' of 'Rate'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final int RATE__CONSTRAINT1 = 3; + + /** + * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Constraint1' of 'Control Operator'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final int CONTROL_OPERATOR__CONSTRAINT1 = 4; + + /** + * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Constraint2' of 'Control Operator'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final int CONTROL_OPERATOR__CONSTRAINT2 = 5; + + /** + * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Constraint1' of 'Overwrite'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final int OVERWRITE__CONSTRAINT1 = 6; + + /** + * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Constraint1' of 'No Buffer'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final int NO_BUFFER__CONSTRAINT1 = 7; + + /** + * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Constraint4' of 'Probability'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final int PROBABILITY__CONSTRAINT4 = 8; + + /** + * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Constraint3' of 'Probability'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final int PROBABILITY__CONSTRAINT3 = 9; + + /** + * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Constraint1' of 'Probability'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final int PROBABILITY__CONSTRAINT1 = 10; + + /** + * The {@link org.eclipse.emf.common.util.Diagnostic#getCode() code} for constraint 'Constraint2' of 'Probability'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final int PROBABILITY__CONSTRAINT2 = 11; + + /** + * A constant with a fixed name that can be used as the base value for additional hand written constants. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static final int GENERATED_DIAGNOSTIC_CODE_COUNT = 11; + + /** + * A constant with a fixed name that can be used as the base value for additional hand written constants in a derived class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static final int DIAGNOSTIC_CODE_COUNT = GENERATED_DIAGNOSTIC_CODE_COUNT; + + /** + * Creates an instance of the switch. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ActivitiesValidator() { + super(); + } + + /** + * Returns the package of this validator switch. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EPackage getEPackage() { + return ActivitiesPackage.eINSTANCE; + } + + /** + * Calls <code>validateXXX</code> for the corresponding classifier of the model. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected boolean validate(int classifierID, Object value, DiagnosticChain diagnostics, Map<Object, Object> context) { + switch (classifierID) { + case ActivitiesPackage.OPTIONAL: + return validateOptional((Optional)value, diagnostics, context); + case ActivitiesPackage.CONTINUOUS: + return validateContinuous((Continuous)value, diagnostics, context); + case ActivitiesPackage.RATE: + return validateRate((Rate)value, diagnostics, context); + case ActivitiesPackage.CONTROL_OPERATOR: + return validateControlOperator((ControlOperator)value, diagnostics, context); + case ActivitiesPackage.DISCRETE: + return validateDiscrete((Discrete)value, diagnostics, context); + case ActivitiesPackage.OVERWRITE: + return validateOverwrite((Overwrite)value, diagnostics, context); + case ActivitiesPackage.NO_BUFFER: + return validateNoBuffer((NoBuffer)value, diagnostics, context); + case ActivitiesPackage.PROBABILITY: + return validateProbability((Probability)value, diagnostics, context); + default: + return true; + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateOptional(Optional optional, DiagnosticChain diagnostics, Map<Object, Object> context) { + if (!validate_NoCircularContainment(optional, diagnostics, context)) return false; + boolean result = validate_EveryMultiplicityConforms(optional, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(optional, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(optional, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(optional, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(optional, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(optional, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(optional, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(optional, diagnostics, context); + if (result || diagnostics != null) result &= validateOptional_Constraint1(optional, diagnostics, context); + return result; + } + + /** + * Validates the Constraint1 constraint of '<em>Optional</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateOptional_Constraint1(Optional optional, DiagnosticChain diagnostics, Map<Object, Object> context) { + return optional.Constraint1(diagnostics, context); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateContinuous(Continuous continuous, DiagnosticChain diagnostics, Map<Object, Object> context) { + if (!validate_NoCircularContainment(continuous, diagnostics, context)) return false; + boolean result = validate_EveryMultiplicityConforms(continuous, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(continuous, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(continuous, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(continuous, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(continuous, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(continuous, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(continuous, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(continuous, diagnostics, context); + if (result || diagnostics != null) result &= validateRate_Constraint2(continuous, diagnostics, context); + if (result || diagnostics != null) result &= validateRate_Constraint1(continuous, diagnostics, context); + return result; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateRate(Rate rate, DiagnosticChain diagnostics, Map<Object, Object> context) { + if (!validate_NoCircularContainment(rate, diagnostics, context)) return false; + boolean result = validate_EveryMultiplicityConforms(rate, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(rate, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(rate, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(rate, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(rate, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(rate, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(rate, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(rate, diagnostics, context); + if (result || diagnostics != null) result &= validateRate_Constraint2(rate, diagnostics, context); + if (result || diagnostics != null) result &= validateRate_Constraint1(rate, diagnostics, context); + return result; + } + + /** + * Validates the Constraint2 constraint of '<em>Rate</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateRate_Constraint2(Rate rate, DiagnosticChain diagnostics, Map<Object, Object> context) { + return rate.Constraint2(diagnostics, context); + } + + /** + * Validates the Constraint1 constraint of '<em>Rate</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateRate_Constraint1(Rate rate, DiagnosticChain diagnostics, Map<Object, Object> context) { + return rate.Constraint1(diagnostics, context); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateControlOperator(ControlOperator controlOperator, DiagnosticChain diagnostics, Map<Object, Object> context) { + if (!validate_NoCircularContainment(controlOperator, diagnostics, context)) return false; + boolean result = validate_EveryMultiplicityConforms(controlOperator, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(controlOperator, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(controlOperator, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(controlOperator, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(controlOperator, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(controlOperator, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(controlOperator, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(controlOperator, diagnostics, context); + if (result || diagnostics != null) result &= validateControlOperator_Constraint1(controlOperator, diagnostics, context); + if (result || diagnostics != null) result &= validateControlOperator_Constraint2(controlOperator, diagnostics, context); + return result; + } + + /** + * Validates the Constraint1 constraint of '<em>Control Operator</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateControlOperator_Constraint1(ControlOperator controlOperator, DiagnosticChain diagnostics, Map<Object, Object> context) { + return controlOperator.Constraint1(diagnostics, context); + } + + /** + * Validates the Constraint2 constraint of '<em>Control Operator</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateControlOperator_Constraint2(ControlOperator controlOperator, DiagnosticChain diagnostics, Map<Object, Object> context) { + return controlOperator.Constraint2(diagnostics, context); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateDiscrete(Discrete discrete, DiagnosticChain diagnostics, Map<Object, Object> context) { + if (!validate_NoCircularContainment(discrete, diagnostics, context)) return false; + boolean result = validate_EveryMultiplicityConforms(discrete, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(discrete, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(discrete, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(discrete, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(discrete, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(discrete, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(discrete, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(discrete, diagnostics, context); + if (result || diagnostics != null) result &= validateRate_Constraint2(discrete, diagnostics, context); + if (result || diagnostics != null) result &= validateRate_Constraint1(discrete, diagnostics, context); + return result; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateOverwrite(Overwrite overwrite, DiagnosticChain diagnostics, Map<Object, Object> context) { + if (!validate_NoCircularContainment(overwrite, diagnostics, context)) return false; + boolean result = validate_EveryMultiplicityConforms(overwrite, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(overwrite, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(overwrite, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(overwrite, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(overwrite, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(overwrite, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(overwrite, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(overwrite, diagnostics, context); + if (result || diagnostics != null) result &= validateOverwrite_Constraint1(overwrite, diagnostics, context); + return result; + } + + /** + * Validates the Constraint1 constraint of '<em>Overwrite</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateOverwrite_Constraint1(Overwrite overwrite, DiagnosticChain diagnostics, Map<Object, Object> context) { + return overwrite.Constraint1(diagnostics, context); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateNoBuffer(NoBuffer noBuffer, DiagnosticChain diagnostics, Map<Object, Object> context) { + if (!validate_NoCircularContainment(noBuffer, diagnostics, context)) return false; + boolean result = validate_EveryMultiplicityConforms(noBuffer, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(noBuffer, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(noBuffer, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(noBuffer, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(noBuffer, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(noBuffer, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(noBuffer, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(noBuffer, diagnostics, context); + if (result || diagnostics != null) result &= validateNoBuffer_Constraint1(noBuffer, diagnostics, context); + return result; + } + + /** + * Validates the Constraint1 constraint of '<em>No Buffer</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateNoBuffer_Constraint1(NoBuffer noBuffer, DiagnosticChain diagnostics, Map<Object, Object> context) { + return noBuffer.Constraint1(diagnostics, context); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateProbability(Probability probability, DiagnosticChain diagnostics, Map<Object, Object> context) { + if (!validate_NoCircularContainment(probability, diagnostics, context)) return false; + boolean result = validate_EveryMultiplicityConforms(probability, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryDataValueConforms(probability, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryReferenceIsContained(probability, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryBidirectionalReferenceIsPaired(probability, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryProxyResolves(probability, diagnostics, context); + if (result || diagnostics != null) result &= validate_UniqueID(probability, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryKeyUnique(probability, diagnostics, context); + if (result || diagnostics != null) result &= validate_EveryMapEntryUnique(probability, diagnostics, context); + if (result || diagnostics != null) result &= validateProbability_Constraint4(probability, diagnostics, context); + if (result || diagnostics != null) result &= validateProbability_Constraint3(probability, diagnostics, context); + if (result || diagnostics != null) result &= validateProbability_Constraint1(probability, diagnostics, context); + if (result || diagnostics != null) result &= validateProbability_Constraint2(probability, diagnostics, context); + return result; + } + + /** + * Validates the Constraint4 constraint of '<em>Probability</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateProbability_Constraint4(Probability probability, DiagnosticChain diagnostics, Map<Object, Object> context) { + return probability.Constraint4(diagnostics, context); + } + + /** + * Validates the Constraint3 constraint of '<em>Probability</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateProbability_Constraint3(Probability probability, DiagnosticChain diagnostics, Map<Object, Object> context) { + return probability.Constraint3(diagnostics, context); + } + + /** + * Validates the Constraint1 constraint of '<em>Probability</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateProbability_Constraint1(Probability probability, DiagnosticChain diagnostics, Map<Object, Object> context) { + return probability.Constraint1(diagnostics, context); + } + + /** + * Validates the Constraint2 constraint of '<em>Probability</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean validateProbability_Constraint2(Probability probability, DiagnosticChain diagnostics, Map<Object, Object> context) { + return probability.Constraint2(diagnostics, context); + } + + /** + * Returns the resource locator that will be used to fetch messages for this validator's diagnostics. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + // TODO + // Specialize this to return a resource locator for messages specific to this validator. + // Ensure that you remove @generated or mark it @generated NOT + return super.getResourceLocator(); + } + +} //ActivitiesValidator
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/Allocate.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/Allocate.java new file mode 100644 index 0000000..c4575e8 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/Allocate.java
@@ -0,0 +1,81 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.allocations; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath; + +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.NamedElement; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Allocate</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.allocations.Allocate#getBase_Abstraction <em>Base Abstraction</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.allocations.AllocationsPackage#getAllocate() + * @model + * @generated + */ +public interface Allocate extends DirectedRelationshipPropertyPath { + /** + * Returns the value of the '<em><b>Base Abstraction</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Abstraction</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Abstraction</em>' reference. + * @see #setBase_Abstraction(Abstraction) + * @see org.eclipse.papyrus.sysml.allocations.AllocationsPackage#getAllocate_Base_Abstraction() + * @model ordered="false" + * @generated + */ + Abstraction getBase_Abstraction(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.allocations.Allocate#getBase_Abstraction <em>Base Abstraction</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Abstraction</em>' reference. + * @see #getBase_Abstraction() + * @generated + */ + void setBase_Abstraction(Abstraction value); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @model ordered="false" refRequired="true" refOrdered="false" + * @generated + */ + EList<NamedElement> getAllocatedFrom(NamedElement ref); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @model ordered="false" refRequired="true" refOrdered="false" + * @generated + */ + EList<NamedElement> getAllocatedTo(NamedElement ref); + +} // Allocate
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/AllocateActivityPartition.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/AllocateActivityPartition.java new file mode 100644 index 0000000..89946d8 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/AllocateActivityPartition.java
@@ -0,0 +1,62 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.allocations; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.ActivityPartition; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Allocate Activity Partition</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.allocations.AllocateActivityPartition#getBase_ActivityPartition <em>Base Activity Partition</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.allocations.AllocationsPackage#getAllocateActivityPartition() + * @model + * @generated + */ +public interface AllocateActivityPartition extends EObject { + /** + * Returns the value of the '<em><b>Base Activity Partition</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Activity Partition</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Activity Partition</em>' reference. + * @see #setBase_ActivityPartition(ActivityPartition) + * @see org.eclipse.papyrus.sysml.allocations.AllocationsPackage#getAllocateActivityPartition_Base_ActivityPartition() + * @model ordered="false" + * @generated + */ + ActivityPartition getBase_ActivityPartition(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.allocations.AllocateActivityPartition#getBase_ActivityPartition <em>Base Activity Partition</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Activity Partition</em>' reference. + * @see #getBase_ActivityPartition() + * @generated + */ + void setBase_ActivityPartition(ActivityPartition value); + +} // AllocateActivityPartition
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/AllocationsFactory.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/AllocationsFactory.java new file mode 100644 index 0000000..882218d --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/AllocationsFactory.java
@@ -0,0 +1,61 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.allocations; + +import org.eclipse.emf.ecore.EFactory; + +/** + * <!-- begin-user-doc --> + * The <b>Factory</b> for the model. + * It provides a create method for each non-abstract class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.allocations.AllocationsPackage + * @generated + */ +public interface AllocationsFactory extends EFactory { + /** + * The singleton instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + AllocationsFactory eINSTANCE = org.eclipse.papyrus.sysml.allocations.internal.impl.AllocationsFactoryImpl.init(); + + /** + * Returns a new object of class '<em>Allocate</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Allocate</em>'. + * @generated + */ + Allocate createAllocate(); + + /** + * Returns a new object of class '<em>Allocate Activity Partition</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Allocate Activity Partition</em>'. + * @generated + */ + AllocateActivityPartition createAllocateActivityPartition(); + + /** + * Returns the package supported by this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the package supported by this factory. + * @generated + */ + AllocationsPackage getAllocationsPackage(); + +} //AllocationsFactory
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/AllocationsPackage.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/AllocationsPackage.java new file mode 100644 index 0000000..b4c7c9e --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/AllocationsPackage.java
@@ -0,0 +1,349 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.allocations; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EOperation; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; + +/** + * <!-- begin-user-doc --> + * The <b>Package</b> for the model. + * It contains accessors for the meta objects to represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each operation of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.allocations.AllocationsFactory + * @model kind="package" + * annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='Allocations'" + * @generated + */ +public interface AllocationsPackage extends EPackage { + /** + * The package name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNAME = "allocations"; //$NON-NLS-1$ + + /** + * The package namespace URI. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_URI = "http://www.eclipse.org/papyrus/sysml/1.5/SysML/Allocations"; //$NON-NLS-1$ + + /** + * The package namespace name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_PREFIX = "Allocations"; //$NON-NLS-1$ + + /** + * The singleton instance of the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + AllocationsPackage eINSTANCE = org.eclipse.papyrus.sysml.allocations.internal.impl.AllocationsPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.allocations.internal.impl.AllocateImpl <em>Allocate</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.allocations.internal.impl.AllocateImpl + * @see org.eclipse.papyrus.sysml.allocations.internal.impl.AllocationsPackageImpl#getAllocate() + * @generated + */ + int ALLOCATE = 0; + + /** + * The feature id for the '<em><b>Base Directed Relationship</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALLOCATE__BASE_DIRECTED_RELATIONSHIP = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__BASE_DIRECTED_RELATIONSHIP; + + /** + * The feature id for the '<em><b>Source Context</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALLOCATE__SOURCE_CONTEXT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_CONTEXT; + + /** + * The feature id for the '<em><b>Source Property Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALLOCATE__SOURCE_PROPERTY_PATH = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_PROPERTY_PATH; + + /** + * The feature id for the '<em><b>Target Context</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALLOCATE__TARGET_CONTEXT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_CONTEXT; + + /** + * The feature id for the '<em><b>Target Property Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALLOCATE__TARGET_PROPERTY_PATH = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_PROPERTY_PATH; + + /** + * The feature id for the '<em><b>Base Abstraction</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALLOCATE__BASE_ABSTRACTION = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Allocate</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALLOCATE_FEATURE_COUNT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH_FEATURE_COUNT + 1; + + /** + * The operation id for the '<em>Get Allocated From</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALLOCATE___GET_ALLOCATED_FROM__NAMEDELEMENT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH_OPERATION_COUNT + 0; + + /** + * The operation id for the '<em>Get Allocated To</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALLOCATE___GET_ALLOCATED_TO__NAMEDELEMENT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH_OPERATION_COUNT + 1; + + /** + * The number of operations of the '<em>Allocate</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALLOCATE_OPERATION_COUNT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH_OPERATION_COUNT + 2; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.allocations.internal.impl.AllocateActivityPartitionImpl <em>Allocate Activity Partition</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.allocations.internal.impl.AllocateActivityPartitionImpl + * @see org.eclipse.papyrus.sysml.allocations.internal.impl.AllocationsPackageImpl#getAllocateActivityPartition() + * @generated + */ + int ALLOCATE_ACTIVITY_PARTITION = 1; + + /** + * The feature id for the '<em><b>Base Activity Partition</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALLOCATE_ACTIVITY_PARTITION__BASE_ACTIVITY_PARTITION = 0; + + /** + * The number of structural features of the '<em>Allocate Activity Partition</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALLOCATE_ACTIVITY_PARTITION_FEATURE_COUNT = 1; + + /** + * The number of operations of the '<em>Allocate Activity Partition</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ALLOCATE_ACTIVITY_PARTITION_OPERATION_COUNT = 0; + + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.allocations.Allocate <em>Allocate</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Allocate</em>'. + * @see org.eclipse.papyrus.sysml.allocations.Allocate + * @generated + */ + EClass getAllocate(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.allocations.Allocate#getBase_Abstraction <em>Base Abstraction</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Abstraction</em>'. + * @see org.eclipse.papyrus.sysml.allocations.Allocate#getBase_Abstraction() + * @see #getAllocate() + * @generated + */ + EReference getAllocate_Base_Abstraction(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.allocations.Allocate#getAllocatedFrom(org.eclipse.uml2.uml.NamedElement) <em>Get Allocated From</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Allocated From</em>' operation. + * @see org.eclipse.papyrus.sysml.allocations.Allocate#getAllocatedFrom(org.eclipse.uml2.uml.NamedElement) + * @generated + */ + EOperation getAllocate__GetAllocatedFrom__NamedElement(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.allocations.Allocate#getAllocatedTo(org.eclipse.uml2.uml.NamedElement) <em>Get Allocated To</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Allocated To</em>' operation. + * @see org.eclipse.papyrus.sysml.allocations.Allocate#getAllocatedTo(org.eclipse.uml2.uml.NamedElement) + * @generated + */ + EOperation getAllocate__GetAllocatedTo__NamedElement(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.allocations.AllocateActivityPartition <em>Allocate Activity Partition</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Allocate Activity Partition</em>'. + * @see org.eclipse.papyrus.sysml.allocations.AllocateActivityPartition + * @generated + */ + EClass getAllocateActivityPartition(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.allocations.AllocateActivityPartition#getBase_ActivityPartition <em>Base Activity Partition</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Activity Partition</em>'. + * @see org.eclipse.papyrus.sysml.allocations.AllocateActivityPartition#getBase_ActivityPartition() + * @see #getAllocateActivityPartition() + * @generated + */ + EReference getAllocateActivityPartition_Base_ActivityPartition(); + + /** + * Returns the factory that creates the instances of the model. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the factory that creates the instances of the model. + * @generated + */ + AllocationsFactory getAllocationsFactory(); + + /** + * <!-- begin-user-doc --> + * Defines literals for the meta objects that represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each operation of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.allocations.internal.impl.AllocateImpl <em>Allocate</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.allocations.internal.impl.AllocateImpl + * @see org.eclipse.papyrus.sysml.allocations.internal.impl.AllocationsPackageImpl#getAllocate() + * @generated + */ + EClass ALLOCATE = eINSTANCE.getAllocate(); + + /** + * The meta object literal for the '<em><b>Base Abstraction</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ALLOCATE__BASE_ABSTRACTION = eINSTANCE.getAllocate_Base_Abstraction(); + + /** + * The meta object literal for the '<em><b>Get Allocated From</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation ALLOCATE___GET_ALLOCATED_FROM__NAMEDELEMENT = eINSTANCE.getAllocate__GetAllocatedFrom__NamedElement(); + + /** + * The meta object literal for the '<em><b>Get Allocated To</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation ALLOCATE___GET_ALLOCATED_TO__NAMEDELEMENT = eINSTANCE.getAllocate__GetAllocatedTo__NamedElement(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.allocations.internal.impl.AllocateActivityPartitionImpl <em>Allocate Activity Partition</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.allocations.internal.impl.AllocateActivityPartitionImpl + * @see org.eclipse.papyrus.sysml.allocations.internal.impl.AllocationsPackageImpl#getAllocateActivityPartition() + * @generated + */ + EClass ALLOCATE_ACTIVITY_PARTITION = eINSTANCE.getAllocateActivityPartition(); + + /** + * The meta object literal for the '<em><b>Base Activity Partition</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ALLOCATE_ACTIVITY_PARTITION__BASE_ACTIVITY_PARTITION = eINSTANCE.getAllocateActivityPartition_Base_ActivityPartition(); + + } + +} //AllocationsPackage
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocateActivityPartitionImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocateActivityPartitionImpl.java new file mode 100644 index 0000000..f3c82f1 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocateActivityPartitionImpl.java
@@ -0,0 +1,168 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.allocations.internal.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.sysml.allocations.AllocateActivityPartition; +import org.eclipse.papyrus.sysml.allocations.AllocationsPackage; + +import org.eclipse.uml2.uml.ActivityPartition; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Allocate Activity Partition</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.allocations.internal.impl.AllocateActivityPartitionImpl#getBase_ActivityPartition <em>Base Activity Partition</em>}</li> + * </ul> + * + * @generated + */ +public class AllocateActivityPartitionImpl extends MinimalEObjectImpl.Container implements AllocateActivityPartition { + /** + * The cached value of the '{@link #getBase_ActivityPartition() <em>Base Activity Partition</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_ActivityPartition() + * @generated + * @ordered + */ + protected ActivityPartition base_ActivityPartition; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected AllocateActivityPartitionImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return AllocationsPackage.Literals.ALLOCATE_ACTIVITY_PARTITION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ActivityPartition getBase_ActivityPartition() { + if (base_ActivityPartition != null && base_ActivityPartition.eIsProxy()) { + InternalEObject oldBase_ActivityPartition = (InternalEObject)base_ActivityPartition; + base_ActivityPartition = (ActivityPartition)eResolveProxy(oldBase_ActivityPartition); + if (base_ActivityPartition != oldBase_ActivityPartition) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, AllocationsPackage.ALLOCATE_ACTIVITY_PARTITION__BASE_ACTIVITY_PARTITION, oldBase_ActivityPartition, base_ActivityPartition)); + } + } + return base_ActivityPartition; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ActivityPartition basicGetBase_ActivityPartition() { + return base_ActivityPartition; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_ActivityPartition(ActivityPartition newBase_ActivityPartition) { + ActivityPartition oldBase_ActivityPartition = base_ActivityPartition; + base_ActivityPartition = newBase_ActivityPartition; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, AllocationsPackage.ALLOCATE_ACTIVITY_PARTITION__BASE_ACTIVITY_PARTITION, oldBase_ActivityPartition, base_ActivityPartition)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case AllocationsPackage.ALLOCATE_ACTIVITY_PARTITION__BASE_ACTIVITY_PARTITION: + if (resolve) return getBase_ActivityPartition(); + return basicGetBase_ActivityPartition(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case AllocationsPackage.ALLOCATE_ACTIVITY_PARTITION__BASE_ACTIVITY_PARTITION: + setBase_ActivityPartition((ActivityPartition)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case AllocationsPackage.ALLOCATE_ACTIVITY_PARTITION__BASE_ACTIVITY_PARTITION: + setBase_ActivityPartition((ActivityPartition)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case AllocationsPackage.ALLOCATE_ACTIVITY_PARTITION__BASE_ACTIVITY_PARTITION: + return base_ActivityPartition != null; + } + return super.eIsSet(featureID); + } + +} //AllocateActivityPartitionImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocateImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocateImpl.java new file mode 100644 index 0000000..709e30e --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocateImpl.java
@@ -0,0 +1,212 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.allocations.internal.impl; + +import java.lang.reflect.InvocationTargetException; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.papyrus.sysml.allocations.Allocate; +import org.eclipse.papyrus.sysml.allocations.AllocationsPackage; + +import org.eclipse.papyrus.sysml.blocks.internal.impl.DirectedRelationshipPropertyPathImpl; + +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.NamedElement; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Allocate</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.allocations.internal.impl.AllocateImpl#getBase_Abstraction <em>Base Abstraction</em>}</li> + * </ul> + * + * @generated + */ +public class AllocateImpl extends DirectedRelationshipPropertyPathImpl implements Allocate { + /** + * The cached value of the '{@link #getBase_Abstraction() <em>Base Abstraction</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Abstraction() + * @generated + * @ordered + */ + protected Abstraction base_Abstraction; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected AllocateImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return AllocationsPackage.Literals.ALLOCATE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Abstraction getBase_Abstraction() { + if (base_Abstraction != null && base_Abstraction.eIsProxy()) { + InternalEObject oldBase_Abstraction = (InternalEObject)base_Abstraction; + base_Abstraction = (Abstraction)eResolveProxy(oldBase_Abstraction); + if (base_Abstraction != oldBase_Abstraction) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, AllocationsPackage.ALLOCATE__BASE_ABSTRACTION, oldBase_Abstraction, base_Abstraction)); + } + } + return base_Abstraction; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Abstraction basicGetBase_Abstraction() { + return base_Abstraction; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Abstraction(Abstraction newBase_Abstraction) { + Abstraction oldBase_Abstraction = base_Abstraction; + base_Abstraction = newBase_Abstraction; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, AllocationsPackage.ALLOCATE__BASE_ABSTRACTION, oldBase_Abstraction, base_Abstraction)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<NamedElement> getAllocatedFrom(NamedElement ref) { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<NamedElement> getAllocatedTo(NamedElement ref) { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case AllocationsPackage.ALLOCATE__BASE_ABSTRACTION: + if (resolve) return getBase_Abstraction(); + return basicGetBase_Abstraction(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case AllocationsPackage.ALLOCATE__BASE_ABSTRACTION: + setBase_Abstraction((Abstraction)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case AllocationsPackage.ALLOCATE__BASE_ABSTRACTION: + setBase_Abstraction((Abstraction)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case AllocationsPackage.ALLOCATE__BASE_ABSTRACTION: + return base_Abstraction != null; + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case AllocationsPackage.ALLOCATE___GET_ALLOCATED_FROM__NAMEDELEMENT: + return getAllocatedFrom((NamedElement)arguments.get(0)); + case AllocationsPackage.ALLOCATE___GET_ALLOCATED_TO__NAMEDELEMENT: + return getAllocatedTo((NamedElement)arguments.get(0)); + } + return super.eInvoke(operationID, arguments); + } + +} //AllocateImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocationsFactoryImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocationsFactoryImpl.java new file mode 100644 index 0000000..abf97c1 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocationsFactoryImpl.java
@@ -0,0 +1,116 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.allocations.internal.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.papyrus.sysml.allocations.*; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Factory</b>. + * <!-- end-user-doc --> + * @generated + */ +public class AllocationsFactoryImpl extends EFactoryImpl implements AllocationsFactory { + /** + * Creates the default factory implementation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static AllocationsFactory init() { + try { + AllocationsFactory theAllocationsFactory = (AllocationsFactory)EPackage.Registry.INSTANCE.getEFactory(AllocationsPackage.eNS_URI); + if (theAllocationsFactory != null) { + return theAllocationsFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new AllocationsFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AllocationsFactoryImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case AllocationsPackage.ALLOCATE: return createAllocate(); + case AllocationsPackage.ALLOCATE_ACTIVITY_PARTITION: return createAllocateActivityPartition(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Allocate createAllocate() { + AllocateImpl allocate = new AllocateImpl(); + return allocate; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AllocateActivityPartition createAllocateActivityPartition() { + AllocateActivityPartitionImpl allocateActivityPartition = new AllocateActivityPartitionImpl(); + return allocateActivityPartition; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AllocationsPackage getAllocationsPackage() { + return (AllocationsPackage)getEPackage(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @deprecated + * @generated + */ + @Deprecated + public static AllocationsPackage getPackage() { + return AllocationsPackage.eINSTANCE; + } + +} //AllocationsFactoryImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocationsPackageImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocationsPackageImpl.java new file mode 100644 index 0000000..cfbba01 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/internal/impl/AllocationsPackageImpl.java
@@ -0,0 +1,332 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.allocations.internal.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EOperation; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.EcorePackage; + +import org.eclipse.emf.ecore.impl.EPackageImpl; +import org.eclipse.papyrus.sysml.SysMLPackage; +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; + +import org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl; + +import org.eclipse.papyrus.sysml.allocations.Allocate; +import org.eclipse.papyrus.sysml.allocations.AllocateActivityPartition; +import org.eclipse.papyrus.sysml.allocations.AllocationsFactory; +import org.eclipse.papyrus.sysml.allocations.AllocationsPackage; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; + +import org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl; + +import org.eclipse.papyrus.sysml.constraintblocks.ConstraintblocksPackage; + +import org.eclipse.papyrus.sysml.constraintblocks.internal.impl.ConstraintblocksPackageImpl; + +import org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsPackage; + +import org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.DeprecatedelementsPackageImpl; +import org.eclipse.papyrus.sysml.internal.impl.SysMLPackageImpl; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; + +import org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl; + +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; + +import org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl; + +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; + +import org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl; + +import org.eclipse.uml2.types.TypesPackage; + +import org.eclipse.uml2.uml.UMLPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Package</b>. + * <!-- end-user-doc --> + * @generated + */ +public class AllocationsPackageImpl extends EPackageImpl implements AllocationsPackage { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass allocateEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass allocateActivityPartitionEClass = null; + + /** + * Creates an instance of the model <b>Package</b>, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + * <p>Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.papyrus.sysml.allocations.AllocationsPackage#eNS_URI + * @see #init() + * @generated + */ + private AllocationsPackageImpl() { + super(eNS_URI, AllocationsFactory.eINSTANCE); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. + * + * <p>This method is used to initialize {@link AllocationsPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static AllocationsPackage init() { + if (isInited) return (AllocationsPackage)EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI); + + // Obtain or create and register package + AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new AllocationsPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + EcorePackage.eINSTANCE.eClass(); + TypesPackage.eINSTANCE.eClass(); + UMLPackage.eINSTANCE.eClass(); + + // Obtain or create and register interdependencies + SysMLPackageImpl theSysMLPackage = (SysMLPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SysMLPackage.eNS_URI) instanceof SysMLPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysMLPackage.eNS_URI) : SysMLPackage.eINSTANCE); + PortsandflowsPackageImpl thePortsandflowsPackage = (PortsandflowsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) instanceof PortsandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) : PortsandflowsPackage.eINSTANCE); + BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE); + ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) : ActivitiesPackage.eINSTANCE); + RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE); + ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE); + DeprecatedelementsPackageImpl theDeprecatedelementsPackage = (DeprecatedelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) instanceof DeprecatedelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) : DeprecatedelementsPackage.eINSTANCE); + ConstraintblocksPackageImpl theConstraintblocksPackage = (ConstraintblocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) instanceof ConstraintblocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) : ConstraintblocksPackage.eINSTANCE); + + // Create package meta-data objects + theAllocationsPackage.createPackageContents(); + theSysMLPackage.createPackageContents(); + thePortsandflowsPackage.createPackageContents(); + theBlocksPackage.createPackageContents(); + theActivitiesPackage.createPackageContents(); + theRequirementsPackage.createPackageContents(); + theModelelementsPackage.createPackageContents(); + theDeprecatedelementsPackage.createPackageContents(); + theConstraintblocksPackage.createPackageContents(); + + // Initialize created meta-data + theAllocationsPackage.initializePackageContents(); + theSysMLPackage.initializePackageContents(); + thePortsandflowsPackage.initializePackageContents(); + theBlocksPackage.initializePackageContents(); + theActivitiesPackage.initializePackageContents(); + theRequirementsPackage.initializePackageContents(); + theModelelementsPackage.initializePackageContents(); + theDeprecatedelementsPackage.initializePackageContents(); + theConstraintblocksPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theAllocationsPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(AllocationsPackage.eNS_URI, theAllocationsPackage); + return theAllocationsPackage; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getAllocate() { + return allocateEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAllocate_Base_Abstraction() { + return (EReference)allocateEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getAllocate__GetAllocatedFrom__NamedElement() { + return allocateEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getAllocate__GetAllocatedTo__NamedElement() { + return allocateEClass.getEOperations().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getAllocateActivityPartition() { + return allocateActivityPartitionEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAllocateActivityPartition_Base_ActivityPartition() { + return (EReference)allocateActivityPartitionEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AllocationsFactory getAllocationsFactory() { + return (AllocationsFactory)getEFactoryInstance(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + allocateEClass = createEClass(ALLOCATE); + createEReference(allocateEClass, ALLOCATE__BASE_ABSTRACTION); + createEOperation(allocateEClass, ALLOCATE___GET_ALLOCATED_FROM__NAMEDELEMENT); + createEOperation(allocateEClass, ALLOCATE___GET_ALLOCATED_TO__NAMEDELEMENT); + + allocateActivityPartitionEClass = createEClass(ALLOCATE_ACTIVITY_PARTITION); + createEReference(allocateActivityPartitionEClass, ALLOCATE_ACTIVITY_PARTITION__BASE_ACTIVITY_PARTITION); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + BlocksPackage theBlocksPackage = (BlocksPackage)EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI); + UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + allocateEClass.getESuperTypes().add(theBlocksPackage.getDirectedRelationshipPropertyPath()); + + // Initialize classes, features, and operations; add parameters + initEClass(allocateEClass, Allocate.class, "Allocate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getAllocate_Base_Abstraction(), theUMLPackage.getAbstraction(), null, "base_Abstraction", null, 0, 1, Allocate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + EOperation op = initEOperation(getAllocate__GetAllocatedFrom__NamedElement(), theUMLPackage.getNamedElement(), "getAllocatedFrom", 0, -1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ + addEParameter(op, theUMLPackage.getNamedElement(), "ref", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ + + op = initEOperation(getAllocate__GetAllocatedTo__NamedElement(), theUMLPackage.getNamedElement(), "getAllocatedTo", 0, -1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ + addEParameter(op, theUMLPackage.getNamedElement(), "ref", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(allocateActivityPartitionEClass, AllocateActivityPartition.class, "AllocateActivityPartition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getAllocateActivityPartition_Base_ActivityPartition(), theUMLPackage.getActivityPartition(), null, "base_ActivityPartition", null, 0, 1, AllocateActivityPartition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + // Create annotations + // http://www.eclipse.org/uml2/2.0.0/UML + createUMLAnnotations(); + } + + /** + * Initializes the annotations for <b>http://www.eclipse.org/uml2/2.0.0/UML</b>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void createUMLAnnotations() { + String source = "http://www.eclipse.org/uml2/2.0.0/UML"; //$NON-NLS-1$ + addAnnotation + (this, + source, + new String[] { + "originalName", "Allocations" //$NON-NLS-1$ //$NON-NLS-2$ + }); + } + +} //AllocationsPackageImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/util/AllocationsAdapterFactory.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/util/AllocationsAdapterFactory.java new file mode 100644 index 0000000..7bc5d9f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/util/AllocationsAdapterFactory.java
@@ -0,0 +1,168 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.allocations.util; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.papyrus.sysml.allocations.*; + +import org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath; + +/** + * <!-- begin-user-doc --> + * The <b>Adapter Factory</b> for the model. + * It provides an adapter <code>createXXX</code> method for each class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.allocations.AllocationsPackage + * @generated + */ +public class AllocationsAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static AllocationsPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AllocationsAdapterFactory() { + if (modelPackage == null) { + modelPackage = AllocationsPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * <!-- begin-user-doc --> + * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. + * <!-- end-user-doc --> + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the <code>createXXX</code> methods. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected AllocationsSwitch<Adapter> modelSwitch = + new AllocationsSwitch<Adapter>() { + @Override + public Adapter caseAllocate(Allocate object) { + return createAllocateAdapter(); + } + @Override + public Adapter caseAllocateActivityPartition(AllocateActivityPartition object) { + return createAllocateActivityPartitionAdapter(); + } + @Override + public Adapter caseDirectedRelationshipPropertyPath(DirectedRelationshipPropertyPath object) { + return createDirectedRelationshipPropertyPathAdapter(); + } + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the <code>target</code>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param target the object to adapt. + * @return the adapter for the <code>target</code>. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject)target); + } + + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.allocations.Allocate <em>Allocate</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.allocations.Allocate + * @generated + */ + public Adapter createAllocateAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.allocations.AllocateActivityPartition <em>Allocate Activity Partition</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.allocations.AllocateActivityPartition + * @generated + */ + public Adapter createAllocateActivityPartitionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath <em>Directed Relationship Property Path</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath + * @generated + */ + public Adapter createDirectedRelationshipPropertyPathAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * <!-- begin-user-doc --> + * This default implementation returns null. + * <!-- end-user-doc --> + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //AllocationsAdapterFactory
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/util/AllocationsSwitch.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/util/AllocationsSwitch.java new file mode 100644 index 0000000..17f7481 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/allocations/util/AllocationsSwitch.java
@@ -0,0 +1,159 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.allocations.util; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +import org.eclipse.papyrus.sysml.allocations.*; + +import org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath; + +/** + * <!-- begin-user-doc --> + * The <b>Switch</b> for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the <code>caseXXX</code> method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.allocations.AllocationsPackage + * @generated + */ +public class AllocationsSwitch<T> extends Switch<T> { + /** + * The cached model package + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static AllocationsPackage modelPackage; + + /** + * Creates an instance of the switch. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AllocationsSwitch() { + if (modelPackage == null) { + modelPackage = AllocationsPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the first non-null result returned by a <code>caseXXX</code> call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case AllocationsPackage.ALLOCATE: { + Allocate allocate = (Allocate)theEObject; + T result = caseAllocate(allocate); + if (result == null) result = caseDirectedRelationshipPropertyPath(allocate); + if (result == null) result = defaultCase(theEObject); + return result; + } + case AllocationsPackage.ALLOCATE_ACTIVITY_PARTITION: { + AllocateActivityPartition allocateActivityPartition = (AllocateActivityPartition)theEObject; + T result = caseAllocateActivityPartition(allocateActivityPartition); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Allocate</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Allocate</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAllocate(Allocate object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Allocate Activity Partition</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Allocate Activity Partition</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAllocateActivityPartition(AllocateActivityPartition object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Directed Relationship Property Path</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Directed Relationship Property Path</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDirectedRelationshipPropertyPath(DirectedRelationshipPropertyPath object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>EObject</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} //AllocationsSwitch
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/AdjunctProperty.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/AdjunctProperty.java new file mode 100644 index 0000000..5de5082 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/AdjunctProperty.java
@@ -0,0 +1,90 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.Property; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Adjunct Property</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.AdjunctProperty#getBase_Property <em>Base Property</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.AdjunctProperty#getPrincipal <em>Principal</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getAdjunctProperty() + * @model + * @generated + */ +public interface AdjunctProperty extends EObject { + /** + * Returns the value of the '<em><b>Base Property</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Property</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Property</em>' reference. + * @see #setBase_Property(Property) + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getAdjunctProperty_Base_Property() + * @model ordered="false" + * @generated + */ + Property getBase_Property(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.AdjunctProperty#getBase_Property <em>Base Property</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Property</em>' reference. + * @see #getBase_Property() + * @generated + */ + void setBase_Property(Property value); + + /** + * Returns the value of the '<em><b>Principal</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Principal</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Principal</em>' reference. + * @see #setPrincipal(Element) + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getAdjunctProperty_Principal() + * @model required="true" ordered="false" + * @generated + */ + Element getPrincipal(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.AdjunctProperty#getPrincipal <em>Principal</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Principal</em>' reference. + * @see #getPrincipal() + * @generated + */ + void setPrincipal(Element value); + +} // AdjunctProperty
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/BindingConnector.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/BindingConnector.java new file mode 100644 index 0000000..c0a4912 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/BindingConnector.java
@@ -0,0 +1,62 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Connector; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Binding Connector</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.BindingConnector#getBase_Connector <em>Base Connector</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getBindingConnector() + * @model + * @generated + */ +public interface BindingConnector extends EObject { + /** + * Returns the value of the '<em><b>Base Connector</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Connector</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Connector</em>' reference. + * @see #setBase_Connector(Connector) + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getBindingConnector_Base_Connector() + * @model ordered="false" + * @generated + */ + Connector getBase_Connector(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.BindingConnector#getBase_Connector <em>Base Connector</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Connector</em>' reference. + * @see #getBase_Connector() + * @generated + */ + void setBase_Connector(Connector value); + +} // BindingConnector
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/Block.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/Block.java new file mode 100644 index 0000000..5636ff9 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/Block.java
@@ -0,0 +1,118 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Property; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Block</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.Block#getBase_Class <em>Base Class</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.Block#isEncapsulated <em>Is Encapsulated</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getBlock() + * @model + * @generated + */ +public interface Block extends EObject { + /** + * Returns the value of the '<em><b>Base Class</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Class</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Class</em>' reference. + * @see #setBase_Class(org.eclipse.uml2.uml.Class) + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getBlock_Base_Class() + * @model ordered="false" + * @generated + */ + org.eclipse.uml2.uml.Class getBase_Class(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.Block#getBase_Class <em>Base Class</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Class</em>' reference. + * @see #getBase_Class() + * @generated + */ + void setBase_Class(org.eclipse.uml2.uml.Class value); + + /** + * Returns the value of the '<em><b>Is Encapsulated</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Is Encapsulated</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Is Encapsulated</em>' attribute. + * @see #setIsEncapsulated(boolean) + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getBlock_IsEncapsulated() + * @model dataType="org.eclipse.uml2.types.Boolean" ordered="false" + * @generated + */ + boolean isEncapsulated(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.Block#isEncapsulated <em>Is Encapsulated</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Is Encapsulated</em>' attribute. + * @see #isEncapsulated() + * @generated + */ + void setIsEncapsulated(boolean value); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * @papyrus.req org.eclipse.papyrus.sysml#REQ-SYSML14-Block-References + * <!-- end-model-doc --> + * @model kind="operation" ordered="false" + * @generated + */ + EList<Property> getReferences(); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @model kind="operation" ordered="false" + * @generated + */ + EList<Property> getParts(); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @model kind="operation" ordered="false" + * @generated + */ + EList<Property> getFlowProperties(); + +} // Block
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/BlocksFactory.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/BlocksFactory.java new file mode 100644 index 0000000..ef75583 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/BlocksFactory.java
@@ -0,0 +1,151 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks; + +import org.eclipse.emf.ecore.EFactory; + +/** + * <!-- begin-user-doc --> + * The <b>Factory</b> for the model. + * It provides a create method for each non-abstract class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage + * @generated + */ +public interface BlocksFactory extends EFactory { + /** + * The singleton instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + BlocksFactory eINSTANCE = org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksFactoryImpl.init(); + + /** + * Returns a new object of class '<em>Distributed Property</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Distributed Property</em>'. + * @generated + */ + DistributedProperty createDistributedProperty(); + + /** + * Returns a new object of class '<em>Adjunct Property</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Adjunct Property</em>'. + * @generated + */ + AdjunctProperty createAdjunctProperty(); + + /** + * Returns a new object of class '<em>End Path Multiplicity</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>End Path Multiplicity</em>'. + * @generated + */ + EndPathMultiplicity createEndPathMultiplicity(); + + /** + * Returns a new object of class '<em>Participant Property</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Participant Property</em>'. + * @generated + */ + ParticipantProperty createParticipantProperty(); + + /** + * Returns a new object of class '<em>Block</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Block</em>'. + * @generated + */ + Block createBlock(); + + /** + * Returns a new object of class '<em>Connector Property</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Connector Property</em>'. + * @generated + */ + ConnectorProperty createConnectorProperty(); + + /** + * Returns a new object of class '<em>Binding Connector</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Binding Connector</em>'. + * @generated + */ + BindingConnector createBindingConnector(); + + /** + * Returns a new object of class '<em>Classifier Behavior Property</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Classifier Behavior Property</em>'. + * @generated + */ + ClassifierBehaviorProperty createClassifierBehaviorProperty(); + + /** + * Returns a new object of class '<em>Bound Reference</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Bound Reference</em>'. + * @generated + */ + BoundReference createBoundReference(); + + /** + * Returns a new object of class '<em>Property Specific Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Property Specific Type</em>'. + * @generated + */ + PropertySpecificType createPropertySpecificType(); + + /** + * Returns a new object of class '<em>Nested Connector End</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Nested Connector End</em>'. + * @generated + */ + NestedConnectorEnd createNestedConnectorEnd(); + + /** + * Returns a new object of class '<em>Value Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Value Type</em>'. + * @generated + */ + ValueType createValueType(); + + /** + * Returns the package supported by this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the package supported by this factory. + * @generated + */ + BlocksPackage getBlocksPackage(); + +} //BlocksFactory
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/BlocksPackage.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/BlocksPackage.java new file mode 100644 index 0000000..fc33f42 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/BlocksPackage.java
@@ -0,0 +1,1679 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EOperation; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * <!-- begin-user-doc --> + * The <b>Package</b> for the model. + * It contains accessors for the meta objects to represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each operation of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.BlocksFactory + * @model kind="package" + * annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='Blocks'" + * @generated + */ +public interface BlocksPackage extends EPackage { + /** + * The package name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNAME = "blocks"; //$NON-NLS-1$ + + /** + * The package namespace URI. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_URI = "http://www.eclipse.org/papyrus/sysml/1.5/SysML/Blocks"; //$NON-NLS-1$ + + /** + * The package namespace name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_PREFIX = "Blocks"; //$NON-NLS-1$ + + /** + * The singleton instance of the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + BlocksPackage eINSTANCE = org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.DistributedPropertyImpl <em>Distributed Property</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.DistributedPropertyImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getDistributedProperty() + * @generated + */ + int DISTRIBUTED_PROPERTY = 0; + + /** + * The feature id for the '<em><b>Base Property</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISTRIBUTED_PROPERTY__BASE_PROPERTY = 0; + + /** + * The number of structural features of the '<em>Distributed Property</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISTRIBUTED_PROPERTY_FEATURE_COUNT = 1; + + /** + * The number of operations of the '<em>Distributed Property</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISTRIBUTED_PROPERTY_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.AdjunctPropertyImpl <em>Adjunct Property</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.AdjunctPropertyImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getAdjunctProperty() + * @generated + */ + int ADJUNCT_PROPERTY = 1; + + /** + * The feature id for the '<em><b>Base Property</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ADJUNCT_PROPERTY__BASE_PROPERTY = 0; + + /** + * The feature id for the '<em><b>Principal</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ADJUNCT_PROPERTY__PRINCIPAL = 1; + + /** + * The number of structural features of the '<em>Adjunct Property</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ADJUNCT_PROPERTY_FEATURE_COUNT = 2; + + /** + * The number of operations of the '<em>Adjunct Property</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ADJUNCT_PROPERTY_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.EndPathMultiplicityImpl <em>End Path Multiplicity</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.EndPathMultiplicityImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getEndPathMultiplicity() + * @generated + */ + int END_PATH_MULTIPLICITY = 2; + + /** + * The feature id for the '<em><b>Base Property</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int END_PATH_MULTIPLICITY__BASE_PROPERTY = 0; + + /** + * The feature id for the '<em><b>Lower</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int END_PATH_MULTIPLICITY__LOWER = 1; + + /** + * The feature id for the '<em><b>Upper</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int END_PATH_MULTIPLICITY__UPPER = 2; + + /** + * The number of structural features of the '<em>End Path Multiplicity</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int END_PATH_MULTIPLICITY_FEATURE_COUNT = 3; + + /** + * The number of operations of the '<em>End Path Multiplicity</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int END_PATH_MULTIPLICITY_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.ParticipantPropertyImpl <em>Participant Property</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.ParticipantPropertyImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getParticipantProperty() + * @generated + */ + int PARTICIPANT_PROPERTY = 3; + + /** + * The feature id for the '<em><b>Base Property</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PARTICIPANT_PROPERTY__BASE_PROPERTY = 0; + + /** + * The feature id for the '<em><b>End</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PARTICIPANT_PROPERTY__END = 1; + + /** + * The number of structural features of the '<em>Participant Property</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PARTICIPANT_PROPERTY_FEATURE_COUNT = 2; + + /** + * The number of operations of the '<em>Participant Property</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PARTICIPANT_PROPERTY_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.BlockImpl <em>Block</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlockImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getBlock() + * @generated + */ + int BLOCK = 4; + + /** + * The feature id for the '<em><b>Base Class</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BLOCK__BASE_CLASS = 0; + + /** + * The feature id for the '<em><b>Is Encapsulated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BLOCK__IS_ENCAPSULATED = 1; + + /** + * The number of structural features of the '<em>Block</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BLOCK_FEATURE_COUNT = 2; + + /** + * The operation id for the '<em>Get References</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BLOCK___GET_REFERENCES = 0; + + /** + * The operation id for the '<em>Get Parts</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BLOCK___GET_PARTS = 1; + + /** + * The operation id for the '<em>Get Flow Properties</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BLOCK___GET_FLOW_PROPERTIES = 2; + + /** + * The number of operations of the '<em>Block</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BLOCK_OPERATION_COUNT = 3; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.ConnectorPropertyImpl <em>Connector Property</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.ConnectorPropertyImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getConnectorProperty() + * @generated + */ + int CONNECTOR_PROPERTY = 5; + + /** + * The feature id for the '<em><b>Base Property</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONNECTOR_PROPERTY__BASE_PROPERTY = 0; + + /** + * The feature id for the '<em><b>Connector</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONNECTOR_PROPERTY__CONNECTOR = 1; + + /** + * The number of structural features of the '<em>Connector Property</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONNECTOR_PROPERTY_FEATURE_COUNT = 2; + + /** + * The number of operations of the '<em>Connector Property</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONNECTOR_PROPERTY_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.BindingConnectorImpl <em>Binding Connector</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BindingConnectorImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getBindingConnector() + * @generated + */ + int BINDING_CONNECTOR = 6; + + /** + * The feature id for the '<em><b>Base Connector</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BINDING_CONNECTOR__BASE_CONNECTOR = 0; + + /** + * The number of structural features of the '<em>Binding Connector</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BINDING_CONNECTOR_FEATURE_COUNT = 1; + + /** + * The number of operations of the '<em>Binding Connector</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BINDING_CONNECTOR_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.ClassifierBehaviorPropertyImpl <em>Classifier Behavior Property</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.ClassifierBehaviorPropertyImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getClassifierBehaviorProperty() + * @generated + */ + int CLASSIFIER_BEHAVIOR_PROPERTY = 7; + + /** + * The feature id for the '<em><b>Base Property</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CLASSIFIER_BEHAVIOR_PROPERTY__BASE_PROPERTY = 0; + + /** + * The number of structural features of the '<em>Classifier Behavior Property</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CLASSIFIER_BEHAVIOR_PROPERTY_FEATURE_COUNT = 1; + + /** + * The number of operations of the '<em>Classifier Behavior Property</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CLASSIFIER_BEHAVIOR_PROPERTY_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.BoundReferenceImpl <em>Bound Reference</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BoundReferenceImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getBoundReference() + * @generated + */ + int BOUND_REFERENCE = 8; + + /** + * The feature id for the '<em><b>Base Property</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BOUND_REFERENCE__BASE_PROPERTY = END_PATH_MULTIPLICITY__BASE_PROPERTY; + + /** + * The feature id for the '<em><b>Lower</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BOUND_REFERENCE__LOWER = END_PATH_MULTIPLICITY__LOWER; + + /** + * The feature id for the '<em><b>Upper</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BOUND_REFERENCE__UPPER = END_PATH_MULTIPLICITY__UPPER; + + /** + * The feature id for the '<em><b>Binding Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BOUND_REFERENCE__BINDING_PATH = END_PATH_MULTIPLICITY_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Bound End</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BOUND_REFERENCE__BOUND_END = END_PATH_MULTIPLICITY_FEATURE_COUNT + 1; + + /** + * The number of structural features of the '<em>Bound Reference</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BOUND_REFERENCE_FEATURE_COUNT = END_PATH_MULTIPLICITY_FEATURE_COUNT + 2; + + /** + * The number of operations of the '<em>Bound Reference</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int BOUND_REFERENCE_OPERATION_COUNT = END_PATH_MULTIPLICITY_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.PropertySpecificTypeImpl <em>Property Specific Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.PropertySpecificTypeImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getPropertySpecificType() + * @generated + */ + int PROPERTY_SPECIFIC_TYPE = 9; + + /** + * The feature id for the '<em><b>Base Classifier</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_SPECIFIC_TYPE__BASE_CLASSIFIER = 0; + + /** + * The number of structural features of the '<em>Property Specific Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_SPECIFIC_TYPE_FEATURE_COUNT = 1; + + /** + * The number of operations of the '<em>Property Specific Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_SPECIFIC_TYPE_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.ElementPropertyPathImpl <em>Element Property Path</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.ElementPropertyPathImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getElementPropertyPath() + * @generated + */ + int ELEMENT_PROPERTY_PATH = 13; + + /** + * The feature id for the '<em><b>Base Element</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_PROPERTY_PATH__BASE_ELEMENT = 0; + + /** + * The feature id for the '<em><b>Property Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_PROPERTY_PATH__PROPERTY_PATH = 1; + + /** + * The number of structural features of the '<em>Element Property Path</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_PROPERTY_PATH_FEATURE_COUNT = 2; + + /** + * The number of operations of the '<em>Element Property Path</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_PROPERTY_PATH_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.NestedConnectorEndImpl <em>Nested Connector End</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.NestedConnectorEndImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getNestedConnectorEnd() + * @generated + */ + int NESTED_CONNECTOR_END = 10; + + /** + * The feature id for the '<em><b>Base Element</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NESTED_CONNECTOR_END__BASE_ELEMENT = ELEMENT_PROPERTY_PATH__BASE_ELEMENT; + + /** + * The feature id for the '<em><b>Property Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NESTED_CONNECTOR_END__PROPERTY_PATH = ELEMENT_PROPERTY_PATH__PROPERTY_PATH; + + /** + * The feature id for the '<em><b>Base Connector End</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NESTED_CONNECTOR_END__BASE_CONNECTOR_END = ELEMENT_PROPERTY_PATH_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Nested Connector End</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NESTED_CONNECTOR_END_FEATURE_COUNT = ELEMENT_PROPERTY_PATH_FEATURE_COUNT + 1; + + /** + * The number of operations of the '<em>Nested Connector End</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NESTED_CONNECTOR_END_OPERATION_COUNT = ELEMENT_PROPERTY_PATH_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.ValueTypeImpl <em>Value Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.ValueTypeImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getValueType() + * @generated + */ + int VALUE_TYPE = 11; + + /** + * The feature id for the '<em><b>Base Data Type</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VALUE_TYPE__BASE_DATA_TYPE = 0; + + /** + * The feature id for the '<em><b>Quantity Kind</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VALUE_TYPE__QUANTITY_KIND = 1; + + /** + * The feature id for the '<em><b>Unit</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VALUE_TYPE__UNIT = 2; + + /** + * The number of structural features of the '<em>Value Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VALUE_TYPE_FEATURE_COUNT = 3; + + /** + * The number of operations of the '<em>Value Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VALUE_TYPE_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.DirectedRelationshipPropertyPathImpl <em>Directed Relationship Property Path</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.DirectedRelationshipPropertyPathImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getDirectedRelationshipPropertyPath() + * @generated + */ + int DIRECTED_RELATIONSHIP_PROPERTY_PATH = 12; + + /** + * The feature id for the '<em><b>Base Directed Relationship</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIRECTED_RELATIONSHIP_PROPERTY_PATH__BASE_DIRECTED_RELATIONSHIP = 0; + + /** + * The feature id for the '<em><b>Source Context</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_CONTEXT = 1; + + /** + * The feature id for the '<em><b>Source Property Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_PROPERTY_PATH = 2; + + /** + * The feature id for the '<em><b>Target Context</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_CONTEXT = 3; + + /** + * The feature id for the '<em><b>Target Property Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_PROPERTY_PATH = 4; + + /** + * The number of structural features of the '<em>Directed Relationship Property Path</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIRECTED_RELATIONSHIP_PROPERTY_PATH_FEATURE_COUNT = 5; + + /** + * The number of operations of the '<em>Directed Relationship Property Path</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIRECTED_RELATIONSHIP_PROPERTY_PATH_OPERATION_COUNT = 0; + + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.blocks.DistributedProperty <em>Distributed Property</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Distributed Property</em>'. + * @see org.eclipse.papyrus.sysml.blocks.DistributedProperty + * @generated + */ + EClass getDistributedProperty(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.DistributedProperty#getBase_Property <em>Base Property</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Property</em>'. + * @see org.eclipse.papyrus.sysml.blocks.DistributedProperty#getBase_Property() + * @see #getDistributedProperty() + * @generated + */ + EReference getDistributedProperty_Base_Property(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.blocks.AdjunctProperty <em>Adjunct Property</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Adjunct Property</em>'. + * @see org.eclipse.papyrus.sysml.blocks.AdjunctProperty + * @generated + */ + EClass getAdjunctProperty(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.AdjunctProperty#getBase_Property <em>Base Property</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Property</em>'. + * @see org.eclipse.papyrus.sysml.blocks.AdjunctProperty#getBase_Property() + * @see #getAdjunctProperty() + * @generated + */ + EReference getAdjunctProperty_Base_Property(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.AdjunctProperty#getPrincipal <em>Principal</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Principal</em>'. + * @see org.eclipse.papyrus.sysml.blocks.AdjunctProperty#getPrincipal() + * @see #getAdjunctProperty() + * @generated + */ + EReference getAdjunctProperty_Principal(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.blocks.EndPathMultiplicity <em>End Path Multiplicity</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>End Path Multiplicity</em>'. + * @see org.eclipse.papyrus.sysml.blocks.EndPathMultiplicity + * @generated + */ + EClass getEndPathMultiplicity(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.EndPathMultiplicity#getBase_Property <em>Base Property</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Property</em>'. + * @see org.eclipse.papyrus.sysml.blocks.EndPathMultiplicity#getBase_Property() + * @see #getEndPathMultiplicity() + * @generated + */ + EReference getEndPathMultiplicity_Base_Property(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml.blocks.EndPathMultiplicity#getLower <em>Lower</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Lower</em>'. + * @see org.eclipse.papyrus.sysml.blocks.EndPathMultiplicity#getLower() + * @see #getEndPathMultiplicity() + * @generated + */ + EAttribute getEndPathMultiplicity_Lower(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml.blocks.EndPathMultiplicity#getUpper <em>Upper</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Upper</em>'. + * @see org.eclipse.papyrus.sysml.blocks.EndPathMultiplicity#getUpper() + * @see #getEndPathMultiplicity() + * @generated + */ + EAttribute getEndPathMultiplicity_Upper(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.blocks.ParticipantProperty <em>Participant Property</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Participant Property</em>'. + * @see org.eclipse.papyrus.sysml.blocks.ParticipantProperty + * @generated + */ + EClass getParticipantProperty(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.ParticipantProperty#getBase_Property <em>Base Property</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Property</em>'. + * @see org.eclipse.papyrus.sysml.blocks.ParticipantProperty#getBase_Property() + * @see #getParticipantProperty() + * @generated + */ + EReference getParticipantProperty_Base_Property(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.ParticipantProperty#getEnd <em>End</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>End</em>'. + * @see org.eclipse.papyrus.sysml.blocks.ParticipantProperty#getEnd() + * @see #getParticipantProperty() + * @generated + */ + EReference getParticipantProperty_End(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.blocks.Block <em>Block</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Block</em>'. + * @see org.eclipse.papyrus.sysml.blocks.Block + * @generated + */ + EClass getBlock(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.Block#getBase_Class <em>Base Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Class</em>'. + * @see org.eclipse.papyrus.sysml.blocks.Block#getBase_Class() + * @see #getBlock() + * @generated + */ + EReference getBlock_Base_Class(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml.blocks.Block#isEncapsulated <em>Is Encapsulated</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Is Encapsulated</em>'. + * @see org.eclipse.papyrus.sysml.blocks.Block#isEncapsulated() + * @see #getBlock() + * @generated + */ + EAttribute getBlock_IsEncapsulated(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.blocks.Block#getReferences() <em>Get References</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get References</em>' operation. + * @see org.eclipse.papyrus.sysml.blocks.Block#getReferences() + * @generated + */ + EOperation getBlock__GetReferences(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.blocks.Block#getParts() <em>Get Parts</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Parts</em>' operation. + * @see org.eclipse.papyrus.sysml.blocks.Block#getParts() + * @generated + */ + EOperation getBlock__GetParts(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.blocks.Block#getFlowProperties() <em>Get Flow Properties</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Flow Properties</em>' operation. + * @see org.eclipse.papyrus.sysml.blocks.Block#getFlowProperties() + * @generated + */ + EOperation getBlock__GetFlowProperties(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.blocks.ConnectorProperty <em>Connector Property</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Connector Property</em>'. + * @see org.eclipse.papyrus.sysml.blocks.ConnectorProperty + * @generated + */ + EClass getConnectorProperty(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.ConnectorProperty#getBase_Property <em>Base Property</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Property</em>'. + * @see org.eclipse.papyrus.sysml.blocks.ConnectorProperty#getBase_Property() + * @see #getConnectorProperty() + * @generated + */ + EReference getConnectorProperty_Base_Property(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.ConnectorProperty#getConnector <em>Connector</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Connector</em>'. + * @see org.eclipse.papyrus.sysml.blocks.ConnectorProperty#getConnector() + * @see #getConnectorProperty() + * @generated + */ + EReference getConnectorProperty_Connector(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.blocks.BindingConnector <em>Binding Connector</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Binding Connector</em>'. + * @see org.eclipse.papyrus.sysml.blocks.BindingConnector + * @generated + */ + EClass getBindingConnector(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.BindingConnector#getBase_Connector <em>Base Connector</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Connector</em>'. + * @see org.eclipse.papyrus.sysml.blocks.BindingConnector#getBase_Connector() + * @see #getBindingConnector() + * @generated + */ + EReference getBindingConnector_Base_Connector(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.blocks.ClassifierBehaviorProperty <em>Classifier Behavior Property</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Classifier Behavior Property</em>'. + * @see org.eclipse.papyrus.sysml.blocks.ClassifierBehaviorProperty + * @generated + */ + EClass getClassifierBehaviorProperty(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.ClassifierBehaviorProperty#getBase_Property <em>Base Property</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Property</em>'. + * @see org.eclipse.papyrus.sysml.blocks.ClassifierBehaviorProperty#getBase_Property() + * @see #getClassifierBehaviorProperty() + * @generated + */ + EReference getClassifierBehaviorProperty_Base_Property(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.blocks.BoundReference <em>Bound Reference</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Bound Reference</em>'. + * @see org.eclipse.papyrus.sysml.blocks.BoundReference + * @generated + */ + EClass getBoundReference(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.blocks.BoundReference#getBindingPath <em>Binding Path</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>Binding Path</em>'. + * @see org.eclipse.papyrus.sysml.blocks.BoundReference#getBindingPath() + * @see #getBoundReference() + * @generated + */ + EReference getBoundReference_BindingPath(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.BoundReference#getBoundEnd <em>Bound End</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Bound End</em>'. + * @see org.eclipse.papyrus.sysml.blocks.BoundReference#getBoundEnd() + * @see #getBoundReference() + * @generated + */ + EReference getBoundReference_BoundEnd(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.blocks.PropertySpecificType <em>Property Specific Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Property Specific Type</em>'. + * @see org.eclipse.papyrus.sysml.blocks.PropertySpecificType + * @generated + */ + EClass getPropertySpecificType(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.PropertySpecificType#getBase_Classifier <em>Base Classifier</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Classifier</em>'. + * @see org.eclipse.papyrus.sysml.blocks.PropertySpecificType#getBase_Classifier() + * @see #getPropertySpecificType() + * @generated + */ + EReference getPropertySpecificType_Base_Classifier(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd <em>Nested Connector End</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Nested Connector End</em>'. + * @see org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd + * @generated + */ + EClass getNestedConnectorEnd(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd#getBase_ConnectorEnd <em>Base Connector End</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Connector End</em>'. + * @see org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd#getBase_ConnectorEnd() + * @see #getNestedConnectorEnd() + * @generated + */ + EReference getNestedConnectorEnd_Base_ConnectorEnd(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.blocks.ValueType <em>Value Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Value Type</em>'. + * @see org.eclipse.papyrus.sysml.blocks.ValueType + * @generated + */ + EClass getValueType(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.ValueType#getBase_DataType <em>Base Data Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Data Type</em>'. + * @see org.eclipse.papyrus.sysml.blocks.ValueType#getBase_DataType() + * @see #getValueType() + * @generated + */ + EReference getValueType_Base_DataType(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.ValueType#getQuantityKind <em>Quantity Kind</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Quantity Kind</em>'. + * @see org.eclipse.papyrus.sysml.blocks.ValueType#getQuantityKind() + * @see #getValueType() + * @generated + */ + EReference getValueType_QuantityKind(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.ValueType#getUnit <em>Unit</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Unit</em>'. + * @see org.eclipse.papyrus.sysml.blocks.ValueType#getUnit() + * @see #getValueType() + * @generated + */ + EReference getValueType_Unit(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath <em>Directed Relationship Property Path</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Directed Relationship Property Path</em>'. + * @see org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath + * @generated + */ + EClass getDirectedRelationshipPropertyPath(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath#getBase_DirectedRelationship <em>Base Directed Relationship</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Directed Relationship</em>'. + * @see org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath#getBase_DirectedRelationship() + * @see #getDirectedRelationshipPropertyPath() + * @generated + */ + EReference getDirectedRelationshipPropertyPath_Base_DirectedRelationship(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath#getSourceContext <em>Source Context</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Source Context</em>'. + * @see org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath#getSourceContext() + * @see #getDirectedRelationshipPropertyPath() + * @generated + */ + EReference getDirectedRelationshipPropertyPath_SourceContext(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath#getSourcePropertyPath <em>Source Property Path</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>Source Property Path</em>'. + * @see org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath#getSourcePropertyPath() + * @see #getDirectedRelationshipPropertyPath() + * @generated + */ + EReference getDirectedRelationshipPropertyPath_SourcePropertyPath(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath#getTargetContext <em>Target Context</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Target Context</em>'. + * @see org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath#getTargetContext() + * @see #getDirectedRelationshipPropertyPath() + * @generated + */ + EReference getDirectedRelationshipPropertyPath_TargetContext(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath#getTargetPropertyPath <em>Target Property Path</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>Target Property Path</em>'. + * @see org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath#getTargetPropertyPath() + * @see #getDirectedRelationshipPropertyPath() + * @generated + */ + EReference getDirectedRelationshipPropertyPath_TargetPropertyPath(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.blocks.ElementPropertyPath <em>Element Property Path</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Element Property Path</em>'. + * @see org.eclipse.papyrus.sysml.blocks.ElementPropertyPath + * @generated + */ + EClass getElementPropertyPath(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.blocks.ElementPropertyPath#getBase_Element <em>Base Element</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Element</em>'. + * @see org.eclipse.papyrus.sysml.blocks.ElementPropertyPath#getBase_Element() + * @see #getElementPropertyPath() + * @generated + */ + EReference getElementPropertyPath_Base_Element(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.blocks.ElementPropertyPath#getPropertyPath <em>Property Path</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>Property Path</em>'. + * @see org.eclipse.papyrus.sysml.blocks.ElementPropertyPath#getPropertyPath() + * @see #getElementPropertyPath() + * @generated + */ + EReference getElementPropertyPath_PropertyPath(); + + /** + * Returns the factory that creates the instances of the model. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the factory that creates the instances of the model. + * @generated + */ + BlocksFactory getBlocksFactory(); + + /** + * <!-- begin-user-doc --> + * Defines literals for the meta objects that represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each operation of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.DistributedPropertyImpl <em>Distributed Property</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.DistributedPropertyImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getDistributedProperty() + * @generated + */ + EClass DISTRIBUTED_PROPERTY = eINSTANCE.getDistributedProperty(); + + /** + * The meta object literal for the '<em><b>Base Property</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DISTRIBUTED_PROPERTY__BASE_PROPERTY = eINSTANCE.getDistributedProperty_Base_Property(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.AdjunctPropertyImpl <em>Adjunct Property</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.AdjunctPropertyImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getAdjunctProperty() + * @generated + */ + EClass ADJUNCT_PROPERTY = eINSTANCE.getAdjunctProperty(); + + /** + * The meta object literal for the '<em><b>Base Property</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ADJUNCT_PROPERTY__BASE_PROPERTY = eINSTANCE.getAdjunctProperty_Base_Property(); + + /** + * The meta object literal for the '<em><b>Principal</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ADJUNCT_PROPERTY__PRINCIPAL = eINSTANCE.getAdjunctProperty_Principal(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.EndPathMultiplicityImpl <em>End Path Multiplicity</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.EndPathMultiplicityImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getEndPathMultiplicity() + * @generated + */ + EClass END_PATH_MULTIPLICITY = eINSTANCE.getEndPathMultiplicity(); + + /** + * The meta object literal for the '<em><b>Base Property</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference END_PATH_MULTIPLICITY__BASE_PROPERTY = eINSTANCE.getEndPathMultiplicity_Base_Property(); + + /** + * The meta object literal for the '<em><b>Lower</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute END_PATH_MULTIPLICITY__LOWER = eINSTANCE.getEndPathMultiplicity_Lower(); + + /** + * The meta object literal for the '<em><b>Upper</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute END_PATH_MULTIPLICITY__UPPER = eINSTANCE.getEndPathMultiplicity_Upper(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.ParticipantPropertyImpl <em>Participant Property</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.ParticipantPropertyImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getParticipantProperty() + * @generated + */ + EClass PARTICIPANT_PROPERTY = eINSTANCE.getParticipantProperty(); + + /** + * The meta object literal for the '<em><b>Base Property</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference PARTICIPANT_PROPERTY__BASE_PROPERTY = eINSTANCE.getParticipantProperty_Base_Property(); + + /** + * The meta object literal for the '<em><b>End</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference PARTICIPANT_PROPERTY__END = eINSTANCE.getParticipantProperty_End(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.BlockImpl <em>Block</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlockImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getBlock() + * @generated + */ + EClass BLOCK = eINSTANCE.getBlock(); + + /** + * The meta object literal for the '<em><b>Base Class</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference BLOCK__BASE_CLASS = eINSTANCE.getBlock_Base_Class(); + + /** + * The meta object literal for the '<em><b>Is Encapsulated</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute BLOCK__IS_ENCAPSULATED = eINSTANCE.getBlock_IsEncapsulated(); + + /** + * The meta object literal for the '<em><b>Get References</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation BLOCK___GET_REFERENCES = eINSTANCE.getBlock__GetReferences(); + + /** + * The meta object literal for the '<em><b>Get Parts</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation BLOCK___GET_PARTS = eINSTANCE.getBlock__GetParts(); + + /** + * The meta object literal for the '<em><b>Get Flow Properties</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation BLOCK___GET_FLOW_PROPERTIES = eINSTANCE.getBlock__GetFlowProperties(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.ConnectorPropertyImpl <em>Connector Property</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.ConnectorPropertyImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getConnectorProperty() + * @generated + */ + EClass CONNECTOR_PROPERTY = eINSTANCE.getConnectorProperty(); + + /** + * The meta object literal for the '<em><b>Base Property</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference CONNECTOR_PROPERTY__BASE_PROPERTY = eINSTANCE.getConnectorProperty_Base_Property(); + + /** + * The meta object literal for the '<em><b>Connector</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference CONNECTOR_PROPERTY__CONNECTOR = eINSTANCE.getConnectorProperty_Connector(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.BindingConnectorImpl <em>Binding Connector</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BindingConnectorImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getBindingConnector() + * @generated + */ + EClass BINDING_CONNECTOR = eINSTANCE.getBindingConnector(); + + /** + * The meta object literal for the '<em><b>Base Connector</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference BINDING_CONNECTOR__BASE_CONNECTOR = eINSTANCE.getBindingConnector_Base_Connector(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.ClassifierBehaviorPropertyImpl <em>Classifier Behavior Property</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.ClassifierBehaviorPropertyImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getClassifierBehaviorProperty() + * @generated + */ + EClass CLASSIFIER_BEHAVIOR_PROPERTY = eINSTANCE.getClassifierBehaviorProperty(); + + /** + * The meta object literal for the '<em><b>Base Property</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference CLASSIFIER_BEHAVIOR_PROPERTY__BASE_PROPERTY = eINSTANCE.getClassifierBehaviorProperty_Base_Property(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.BoundReferenceImpl <em>Bound Reference</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BoundReferenceImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getBoundReference() + * @generated + */ + EClass BOUND_REFERENCE = eINSTANCE.getBoundReference(); + + /** + * The meta object literal for the '<em><b>Binding Path</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference BOUND_REFERENCE__BINDING_PATH = eINSTANCE.getBoundReference_BindingPath(); + + /** + * The meta object literal for the '<em><b>Bound End</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference BOUND_REFERENCE__BOUND_END = eINSTANCE.getBoundReference_BoundEnd(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.PropertySpecificTypeImpl <em>Property Specific Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.PropertySpecificTypeImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getPropertySpecificType() + * @generated + */ + EClass PROPERTY_SPECIFIC_TYPE = eINSTANCE.getPropertySpecificType(); + + /** + * The meta object literal for the '<em><b>Base Classifier</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference PROPERTY_SPECIFIC_TYPE__BASE_CLASSIFIER = eINSTANCE.getPropertySpecificType_Base_Classifier(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.NestedConnectorEndImpl <em>Nested Connector End</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.NestedConnectorEndImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getNestedConnectorEnd() + * @generated + */ + EClass NESTED_CONNECTOR_END = eINSTANCE.getNestedConnectorEnd(); + + /** + * The meta object literal for the '<em><b>Base Connector End</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference NESTED_CONNECTOR_END__BASE_CONNECTOR_END = eINSTANCE.getNestedConnectorEnd_Base_ConnectorEnd(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.ValueTypeImpl <em>Value Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.ValueTypeImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getValueType() + * @generated + */ + EClass VALUE_TYPE = eINSTANCE.getValueType(); + + /** + * The meta object literal for the '<em><b>Base Data Type</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference VALUE_TYPE__BASE_DATA_TYPE = eINSTANCE.getValueType_Base_DataType(); + + /** + * The meta object literal for the '<em><b>Quantity Kind</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference VALUE_TYPE__QUANTITY_KIND = eINSTANCE.getValueType_QuantityKind(); + + /** + * The meta object literal for the '<em><b>Unit</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference VALUE_TYPE__UNIT = eINSTANCE.getValueType_Unit(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.DirectedRelationshipPropertyPathImpl <em>Directed Relationship Property Path</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.DirectedRelationshipPropertyPathImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getDirectedRelationshipPropertyPath() + * @generated + */ + EClass DIRECTED_RELATIONSHIP_PROPERTY_PATH = eINSTANCE.getDirectedRelationshipPropertyPath(); + + /** + * The meta object literal for the '<em><b>Base Directed Relationship</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DIRECTED_RELATIONSHIP_PROPERTY_PATH__BASE_DIRECTED_RELATIONSHIP = eINSTANCE.getDirectedRelationshipPropertyPath_Base_DirectedRelationship(); + + /** + * The meta object literal for the '<em><b>Source Context</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_CONTEXT = eINSTANCE.getDirectedRelationshipPropertyPath_SourceContext(); + + /** + * The meta object literal for the '<em><b>Source Property Path</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_PROPERTY_PATH = eINSTANCE.getDirectedRelationshipPropertyPath_SourcePropertyPath(); + + /** + * The meta object literal for the '<em><b>Target Context</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_CONTEXT = eINSTANCE.getDirectedRelationshipPropertyPath_TargetContext(); + + /** + * The meta object literal for the '<em><b>Target Property Path</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_PROPERTY_PATH = eINSTANCE.getDirectedRelationshipPropertyPath_TargetPropertyPath(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.blocks.internal.impl.ElementPropertyPathImpl <em>Element Property Path</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.ElementPropertyPathImpl + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl#getElementPropertyPath() + * @generated + */ + EClass ELEMENT_PROPERTY_PATH = eINSTANCE.getElementPropertyPath(); + + /** + * The meta object literal for the '<em><b>Base Element</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ELEMENT_PROPERTY_PATH__BASE_ELEMENT = eINSTANCE.getElementPropertyPath_Base_Element(); + + /** + * The meta object literal for the '<em><b>Property Path</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ELEMENT_PROPERTY_PATH__PROPERTY_PATH = eINSTANCE.getElementPropertyPath_PropertyPath(); + + } + +} //BlocksPackage
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/BoundReference.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/BoundReference.java new file mode 100644 index 0000000..72ae98d --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/BoundReference.java
@@ -0,0 +1,109 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.uml2.uml.ConnectorEnd; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Bound Reference</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.BoundReference#getBindingPath <em>Binding Path</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.BoundReference#getBoundEnd <em>Bound End</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getBoundReference() + * @model + * @generated + */ +public interface BoundReference extends EndPathMultiplicity { + /** + * Returns the value of the '<em><b>Binding Path</b></em>' reference list. + * The list contents are of type {@link org.eclipse.uml2.uml.Property}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Binding Path</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Binding Path</em>' reference list. + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getBoundReference_BindingPath() + * @model required="true" transient="true" changeable="false" volatile="true" derived="true" + * @generated + */ + EList<Property> getBindingPath(); + + /** + * Retrieves the first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the '<em><b>Binding Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. + * @param type The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. + * @return The first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or <code>null</code>. + * @see #getBindingPath() + * @generated + */ + Property getBindingPath(String name, Type type); + + /** + * Retrieves the first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the '<em><b>Binding Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. + * @param type The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. + * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons. + * @param eClass The Ecore class of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. + * @return The first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or <code>null</code>. + * @see #getBindingPath() + * @generated + */ + Property getBindingPath(String name, Type type, boolean ignoreCase, EClass eClass); + + /** + * Returns the value of the '<em><b>Bound End</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Bound End</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Bound End</em>' reference. + * @see #setBoundEnd(ConnectorEnd) + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getBoundReference_BoundEnd() + * @model required="true" ordered="false" + * @generated + */ + ConnectorEnd getBoundEnd(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.BoundReference#getBoundEnd <em>Bound End</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Bound End</em>' reference. + * @see #getBoundEnd() + * @generated + */ + void setBoundEnd(ConnectorEnd value); + +} // BoundReference
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/ClassifierBehaviorProperty.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/ClassifierBehaviorProperty.java new file mode 100644 index 0000000..e0d7e46 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/ClassifierBehaviorProperty.java
@@ -0,0 +1,62 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Property; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Classifier Behavior Property</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.ClassifierBehaviorProperty#getBase_Property <em>Base Property</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getClassifierBehaviorProperty() + * @model + * @generated + */ +public interface ClassifierBehaviorProperty extends EObject { + /** + * Returns the value of the '<em><b>Base Property</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Property</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Property</em>' reference. + * @see #setBase_Property(Property) + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getClassifierBehaviorProperty_Base_Property() + * @model ordered="false" + * @generated + */ + Property getBase_Property(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.ClassifierBehaviorProperty#getBase_Property <em>Base Property</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Property</em>' reference. + * @see #getBase_Property() + * @generated + */ + void setBase_Property(Property value); + +} // ClassifierBehaviorProperty
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/ConnectorProperty.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/ConnectorProperty.java new file mode 100644 index 0000000..9be24df --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/ConnectorProperty.java
@@ -0,0 +1,90 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Connector; +import org.eclipse.uml2.uml.Property; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Connector Property</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.ConnectorProperty#getBase_Property <em>Base Property</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.ConnectorProperty#getConnector <em>Connector</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getConnectorProperty() + * @model + * @generated + */ +public interface ConnectorProperty extends EObject { + /** + * Returns the value of the '<em><b>Base Property</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Property</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Property</em>' reference. + * @see #setBase_Property(Property) + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getConnectorProperty_Base_Property() + * @model ordered="false" + * @generated + */ + Property getBase_Property(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.ConnectorProperty#getBase_Property <em>Base Property</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Property</em>' reference. + * @see #getBase_Property() + * @generated + */ + void setBase_Property(Property value); + + /** + * Returns the value of the '<em><b>Connector</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Connector</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Connector</em>' reference. + * @see #setConnector(Connector) + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getConnectorProperty_Connector() + * @model required="true" ordered="false" + * @generated + */ + Connector getConnector(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.ConnectorProperty#getConnector <em>Connector</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Connector</em>' reference. + * @see #getConnector() + * @generated + */ + void setConnector(Connector value); + +} // ConnectorProperty
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/DirectedRelationshipPropertyPath.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/DirectedRelationshipPropertyPath.java new file mode 100644 index 0000000..cd57812 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/DirectedRelationshipPropertyPath.java
@@ -0,0 +1,208 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.DirectedRelationship; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Directed Relationship Property Path</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath#getBase_DirectedRelationship <em>Base Directed Relationship</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath#getSourceContext <em>Source Context</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath#getSourcePropertyPath <em>Source Property Path</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath#getTargetContext <em>Target Context</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath#getTargetPropertyPath <em>Target Property Path</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getDirectedRelationshipPropertyPath() + * @model abstract="true" + * @generated + */ +public interface DirectedRelationshipPropertyPath extends EObject { + /** + * Returns the value of the '<em><b>Base Directed Relationship</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Directed Relationship</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Directed Relationship</em>' reference. + * @see #setBase_DirectedRelationship(DirectedRelationship) + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getDirectedRelationshipPropertyPath_Base_DirectedRelationship() + * @model ordered="false" + * @generated + */ + DirectedRelationship getBase_DirectedRelationship(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath#getBase_DirectedRelationship <em>Base Directed Relationship</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Directed Relationship</em>' reference. + * @see #getBase_DirectedRelationship() + * @generated + */ + void setBase_DirectedRelationship(DirectedRelationship value); + + /** + * Returns the value of the '<em><b>Source Context</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Source Context</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Source Context</em>' reference. + * @see #setSourceContext(Classifier) + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getDirectedRelationshipPropertyPath_SourceContext() + * @model ordered="false" + * @generated + */ + Classifier getSourceContext(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath#getSourceContext <em>Source Context</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Source Context</em>' reference. + * @see #getSourceContext() + * @generated + */ + void setSourceContext(Classifier value); + + /** + * Returns the value of the '<em><b>Source Property Path</b></em>' reference list. + * The list contents are of type {@link org.eclipse.uml2.uml.Property}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Source Property Path</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Source Property Path</em>' reference list. + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getDirectedRelationshipPropertyPath_SourcePropertyPath() + * @model + * @generated + */ + EList<Property> getSourcePropertyPath(); + + /** + * Retrieves the first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the '<em><b>Source Property Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. + * @param type The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. + * @return The first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or <code>null</code>. + * @see #getSourcePropertyPath() + * @generated + */ + Property getSourcePropertyPath(String name, Type type); + + /** + * Retrieves the first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the '<em><b>Source Property Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. + * @param type The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. + * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons. + * @param eClass The Ecore class of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. + * @return The first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or <code>null</code>. + * @see #getSourcePropertyPath() + * @generated + */ + Property getSourcePropertyPath(String name, Type type, boolean ignoreCase, EClass eClass); + + /** + * Returns the value of the '<em><b>Target Context</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Target Context</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Target Context</em>' reference. + * @see #setTargetContext(Classifier) + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getDirectedRelationshipPropertyPath_TargetContext() + * @model ordered="false" + * @generated + */ + Classifier getTargetContext(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath#getTargetContext <em>Target Context</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Target Context</em>' reference. + * @see #getTargetContext() + * @generated + */ + void setTargetContext(Classifier value); + + /** + * Returns the value of the '<em><b>Target Property Path</b></em>' reference list. + * The list contents are of type {@link org.eclipse.uml2.uml.Property}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Target Property Path</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Target Property Path</em>' reference list. + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getDirectedRelationshipPropertyPath_TargetPropertyPath() + * @model + * @generated + */ + EList<Property> getTargetPropertyPath(); + + /** + * Retrieves the first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the '<em><b>Target Property Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. + * @param type The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. + * @return The first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or <code>null</code>. + * @see #getTargetPropertyPath() + * @generated + */ + Property getTargetPropertyPath(String name, Type type); + + /** + * Retrieves the first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the '<em><b>Target Property Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. + * @param type The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. + * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons. + * @param eClass The Ecore class of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. + * @return The first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or <code>null</code>. + * @see #getTargetPropertyPath() + * @generated + */ + Property getTargetPropertyPath(String name, Type type, boolean ignoreCase, EClass eClass); + +} // DirectedRelationshipPropertyPath
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/DistributedProperty.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/DistributedProperty.java new file mode 100644 index 0000000..0968a77 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/DistributedProperty.java
@@ -0,0 +1,62 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Property; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Distributed Property</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.DistributedProperty#getBase_Property <em>Base Property</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getDistributedProperty() + * @model + * @generated + */ +public interface DistributedProperty extends EObject { + /** + * Returns the value of the '<em><b>Base Property</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Property</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Property</em>' reference. + * @see #setBase_Property(Property) + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getDistributedProperty_Base_Property() + * @model ordered="false" + * @generated + */ + Property getBase_Property(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.DistributedProperty#getBase_Property <em>Base Property</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Property</em>' reference. + * @see #getBase_Property() + * @generated + */ + void setBase_Property(Property value); + +} // DistributedProperty
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/ElementPropertyPath.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/ElementPropertyPath.java new file mode 100644 index 0000000..e4bd2c5 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/ElementPropertyPath.java
@@ -0,0 +1,110 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Element Property Path</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.ElementPropertyPath#getBase_Element <em>Base Element</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.ElementPropertyPath#getPropertyPath <em>Property Path</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getElementPropertyPath() + * @model abstract="true" + * @generated + */ +public interface ElementPropertyPath extends EObject { + /** + * Returns the value of the '<em><b>Base Element</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Element</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Element</em>' reference. + * @see #setBase_Element(Element) + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getElementPropertyPath_Base_Element() + * @model ordered="false" + * @generated + */ + Element getBase_Element(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.ElementPropertyPath#getBase_Element <em>Base Element</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Element</em>' reference. + * @see #getBase_Element() + * @generated + */ + void setBase_Element(Element value); + + /** + * Returns the value of the '<em><b>Property Path</b></em>' reference list. + * The list contents are of type {@link org.eclipse.uml2.uml.Property}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Property Path</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Property Path</em>' reference list. + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getElementPropertyPath_PropertyPath() + * @model required="true" + * @generated + */ + EList<Property> getPropertyPath(); + + /** + * Retrieves the first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the '<em><b>Property Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. + * @param type The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. + * @return The first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or <code>null</code>. + * @see #getPropertyPath() + * @generated + */ + Property getPropertyPath(String name, Type type); + + /** + * Retrieves the first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the '<em><b>Property Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. + * @param type The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. + * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons. + * @param eClass The Ecore class of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. + * @return The first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or <code>null</code>. + * @see #getPropertyPath() + * @generated + */ + Property getPropertyPath(String name, Type type, boolean ignoreCase, EClass eClass); + +} // ElementPropertyPath
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/EndPathMultiplicity.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/EndPathMultiplicity.java new file mode 100644 index 0000000..6844c4f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/EndPathMultiplicity.java
@@ -0,0 +1,118 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Property; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>End Path Multiplicity</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.EndPathMultiplicity#getBase_Property <em>Base Property</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.EndPathMultiplicity#getLower <em>Lower</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.EndPathMultiplicity#getUpper <em>Upper</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getEndPathMultiplicity() + * @model + * @generated + */ +public interface EndPathMultiplicity extends EObject { + /** + * Returns the value of the '<em><b>Base Property</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Property</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Property</em>' reference. + * @see #setBase_Property(Property) + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getEndPathMultiplicity_Base_Property() + * @model ordered="false" + * @generated + */ + Property getBase_Property(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.EndPathMultiplicity#getBase_Property <em>Base Property</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Property</em>' reference. + * @see #getBase_Property() + * @generated + */ + void setBase_Property(Property value); + + /** + * Returns the value of the '<em><b>Lower</b></em>' attribute. + * The default value is <code>"0"</code>. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Lower</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Lower</em>' attribute. + * @see #setLower(int) + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getEndPathMultiplicity_Lower() + * @model default="0" dataType="org.eclipse.uml2.types.Integer" ordered="false" + * @generated + */ + int getLower(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.EndPathMultiplicity#getLower <em>Lower</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Lower</em>' attribute. + * @see #getLower() + * @generated + */ + void setLower(int value); + + /** + * Returns the value of the '<em><b>Upper</b></em>' attribute. + * The default value is <code>"-1"</code>. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Upper</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Upper</em>' attribute. + * @see #setUpper(int) + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getEndPathMultiplicity_Upper() + * @model default="-1" dataType="org.eclipse.uml2.types.UnlimitedNatural" ordered="false" + * @generated + */ + int getUpper(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.EndPathMultiplicity#getUpper <em>Upper</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Upper</em>' attribute. + * @see #getUpper() + * @generated + */ + void setUpper(int value); + +} // EndPathMultiplicity
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/NestedConnectorEnd.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/NestedConnectorEnd.java new file mode 100644 index 0000000..de6f24d --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/NestedConnectorEnd.java
@@ -0,0 +1,60 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks; + +import org.eclipse.uml2.uml.ConnectorEnd; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Nested Connector End</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd#getBase_ConnectorEnd <em>Base Connector End</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getNestedConnectorEnd() + * @model + * @generated + */ +public interface NestedConnectorEnd extends ElementPropertyPath { + /** + * Returns the value of the '<em><b>Base Connector End</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Connector End</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Connector End</em>' reference. + * @see #setBase_ConnectorEnd(ConnectorEnd) + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getNestedConnectorEnd_Base_ConnectorEnd() + * @model ordered="false" + * @generated + */ + ConnectorEnd getBase_ConnectorEnd(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd#getBase_ConnectorEnd <em>Base Connector End</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Connector End</em>' reference. + * @see #getBase_ConnectorEnd() + * @generated + */ + void setBase_ConnectorEnd(ConnectorEnd value); + +} // NestedConnectorEnd
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/ParticipantProperty.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/ParticipantProperty.java new file mode 100644 index 0000000..7ba423b --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/ParticipantProperty.java
@@ -0,0 +1,89 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Property; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Participant Property</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.ParticipantProperty#getBase_Property <em>Base Property</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.ParticipantProperty#getEnd <em>End</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getParticipantProperty() + * @model + * @generated + */ +public interface ParticipantProperty extends EObject { + /** + * Returns the value of the '<em><b>Base Property</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Property</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Property</em>' reference. + * @see #setBase_Property(Property) + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getParticipantProperty_Base_Property() + * @model ordered="false" + * @generated + */ + Property getBase_Property(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.ParticipantProperty#getBase_Property <em>Base Property</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Property</em>' reference. + * @see #getBase_Property() + * @generated + */ + void setBase_Property(Property value); + + /** + * Returns the value of the '<em><b>End</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>End</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>End</em>' reference. + * @see #setEnd(Property) + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getParticipantProperty_End() + * @model required="true" ordered="false" + * @generated + */ + Property getEnd(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.ParticipantProperty#getEnd <em>End</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>End</em>' reference. + * @see #getEnd() + * @generated + */ + void setEnd(Property value); + +} // ParticipantProperty
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/PropertySpecificType.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/PropertySpecificType.java new file mode 100644 index 0000000..21593b5 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/PropertySpecificType.java
@@ -0,0 +1,62 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Classifier; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Property Specific Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.PropertySpecificType#getBase_Classifier <em>Base Classifier</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getPropertySpecificType() + * @model + * @generated + */ +public interface PropertySpecificType extends EObject { + /** + * Returns the value of the '<em><b>Base Classifier</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Classifier</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Classifier</em>' reference. + * @see #setBase_Classifier(Classifier) + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getPropertySpecificType_Base_Classifier() + * @model ordered="false" + * @generated + */ + Classifier getBase_Classifier(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.PropertySpecificType#getBase_Classifier <em>Base Classifier</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Classifier</em>' reference. + * @see #getBase_Classifier() + * @generated + */ + void setBase_Classifier(Classifier value); + +} // PropertySpecificType
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/ValueType.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/ValueType.java new file mode 100644 index 0000000..424bd62 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/ValueType.java
@@ -0,0 +1,117 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.DataType; +import org.eclipse.uml2.uml.InstanceSpecification; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Value Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.ValueType#getBase_DataType <em>Base Data Type</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.ValueType#getQuantityKind <em>Quantity Kind</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.ValueType#getUnit <em>Unit</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getValueType() + * @model + * @generated + */ +public interface ValueType extends EObject { + /** + * Returns the value of the '<em><b>Base Data Type</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Data Type</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Data Type</em>' reference. + * @see #setBase_DataType(DataType) + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getValueType_Base_DataType() + * @model ordered="false" + * @generated + */ + DataType getBase_DataType(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.ValueType#getBase_DataType <em>Base Data Type</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Data Type</em>' reference. + * @see #getBase_DataType() + * @generated + */ + void setBase_DataType(DataType value); + + /** + * Returns the value of the '<em><b>Quantity Kind</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Quantity Kind</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Quantity Kind</em>' reference. + * @see #setQuantityKind(InstanceSpecification) + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getValueType_QuantityKind() + * @model ordered="false" + * @generated + */ + InstanceSpecification getQuantityKind(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.ValueType#getQuantityKind <em>Quantity Kind</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Quantity Kind</em>' reference. + * @see #getQuantityKind() + * @generated + */ + void setQuantityKind(InstanceSpecification value); + + /** + * Returns the value of the '<em><b>Unit</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Unit</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Unit</em>' reference. + * @see #setUnit(InstanceSpecification) + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#getValueType_Unit() + * @model ordered="false" + * @generated + */ + InstanceSpecification getUnit(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.blocks.ValueType#getUnit <em>Unit</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Unit</em>' reference. + * @see #getUnit() + * @generated + */ + void setUnit(InstanceSpecification value); + +} // ValueType
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/AdjunctPropertyImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/AdjunctPropertyImpl.java new file mode 100644 index 0000000..c6d6d98 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/AdjunctPropertyImpl.java
@@ -0,0 +1,229 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.internal.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.sysml.blocks.AdjunctProperty; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; + +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.Property; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Adjunct Property</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.AdjunctPropertyImpl#getBase_Property <em>Base Property</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.AdjunctPropertyImpl#getPrincipal <em>Principal</em>}</li> + * </ul> + * + * @generated + */ +public class AdjunctPropertyImpl extends MinimalEObjectImpl.Container implements AdjunctProperty { + /** + * The cached value of the '{@link #getBase_Property() <em>Base Property</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Property() + * @generated + * @ordered + */ + protected Property base_Property; + + /** + * The cached value of the '{@link #getPrincipal() <em>Principal</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getPrincipal() + * @generated + * @ordered + */ + protected Element principal; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected AdjunctPropertyImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BlocksPackage.Literals.ADJUNCT_PROPERTY; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Property getBase_Property() { + if (base_Property != null && base_Property.eIsProxy()) { + InternalEObject oldBase_Property = (InternalEObject)base_Property; + base_Property = (Property)eResolveProxy(oldBase_Property); + if (base_Property != oldBase_Property) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.ADJUNCT_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property)); + } + } + return base_Property; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Property basicGetBase_Property() { + return base_Property; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Property(Property newBase_Property) { + Property oldBase_Property = base_Property; + base_Property = newBase_Property; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.ADJUNCT_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Element getPrincipal() { + if (principal != null && principal.eIsProxy()) { + InternalEObject oldPrincipal = (InternalEObject)principal; + principal = (Element)eResolveProxy(oldPrincipal); + if (principal != oldPrincipal) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.ADJUNCT_PROPERTY__PRINCIPAL, oldPrincipal, principal)); + } + } + return principal; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Element basicGetPrincipal() { + return principal; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setPrincipal(Element newPrincipal) { + Element oldPrincipal = principal; + principal = newPrincipal; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.ADJUNCT_PROPERTY__PRINCIPAL, oldPrincipal, principal)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BlocksPackage.ADJUNCT_PROPERTY__BASE_PROPERTY: + if (resolve) return getBase_Property(); + return basicGetBase_Property(); + case BlocksPackage.ADJUNCT_PROPERTY__PRINCIPAL: + if (resolve) return getPrincipal(); + return basicGetPrincipal(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BlocksPackage.ADJUNCT_PROPERTY__BASE_PROPERTY: + setBase_Property((Property)newValue); + return; + case BlocksPackage.ADJUNCT_PROPERTY__PRINCIPAL: + setPrincipal((Element)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BlocksPackage.ADJUNCT_PROPERTY__BASE_PROPERTY: + setBase_Property((Property)null); + return; + case BlocksPackage.ADJUNCT_PROPERTY__PRINCIPAL: + setPrincipal((Element)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BlocksPackage.ADJUNCT_PROPERTY__BASE_PROPERTY: + return base_Property != null; + case BlocksPackage.ADJUNCT_PROPERTY__PRINCIPAL: + return principal != null; + } + return super.eIsSet(featureID); + } + +} //AdjunctPropertyImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/BindingConnectorImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/BindingConnectorImpl.java new file mode 100644 index 0000000..84ea1bc --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/BindingConnectorImpl.java
@@ -0,0 +1,168 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.internal.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.sysml.blocks.BindingConnector; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; + +import org.eclipse.uml2.uml.Connector; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Binding Connector</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.BindingConnectorImpl#getBase_Connector <em>Base Connector</em>}</li> + * </ul> + * + * @generated + */ +public class BindingConnectorImpl extends MinimalEObjectImpl.Container implements BindingConnector { + /** + * The cached value of the '{@link #getBase_Connector() <em>Base Connector</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Connector() + * @generated + * @ordered + */ + protected Connector base_Connector; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected BindingConnectorImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BlocksPackage.Literals.BINDING_CONNECTOR; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Connector getBase_Connector() { + if (base_Connector != null && base_Connector.eIsProxy()) { + InternalEObject oldBase_Connector = (InternalEObject)base_Connector; + base_Connector = (Connector)eResolveProxy(oldBase_Connector); + if (base_Connector != oldBase_Connector) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.BINDING_CONNECTOR__BASE_CONNECTOR, oldBase_Connector, base_Connector)); + } + } + return base_Connector; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Connector basicGetBase_Connector() { + return base_Connector; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Connector(Connector newBase_Connector) { + Connector oldBase_Connector = base_Connector; + base_Connector = newBase_Connector; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.BINDING_CONNECTOR__BASE_CONNECTOR, oldBase_Connector, base_Connector)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BlocksPackage.BINDING_CONNECTOR__BASE_CONNECTOR: + if (resolve) return getBase_Connector(); + return basicGetBase_Connector(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BlocksPackage.BINDING_CONNECTOR__BASE_CONNECTOR: + setBase_Connector((Connector)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BlocksPackage.BINDING_CONNECTOR__BASE_CONNECTOR: + setBase_Connector((Connector)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BlocksPackage.BINDING_CONNECTOR__BASE_CONNECTOR: + return base_Connector != null; + } + return super.eIsSet(featureID); + } + +} //BindingConnectorImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/BlockImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/BlockImpl.java new file mode 100644 index 0000000..0e6f0c3 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/BlockImpl.java
@@ -0,0 +1,291 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.internal.impl; + +import java.lang.reflect.InvocationTargetException; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; + +import org.eclipse.uml2.uml.Property; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Block</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.BlockImpl#getBase_Class <em>Base Class</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.BlockImpl#isEncapsulated <em>Is Encapsulated</em>}</li> + * </ul> + * + * @generated + */ +public class BlockImpl extends MinimalEObjectImpl.Container implements Block { + /** + * The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Class() + * @generated + * @ordered + */ + protected org.eclipse.uml2.uml.Class base_Class; + + /** + * The default value of the '{@link #isEncapsulated() <em>Is Encapsulated</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isEncapsulated() + * @generated + * @ordered + */ + protected static final boolean IS_ENCAPSULATED_EDEFAULT = false; + + /** + * The cached value of the '{@link #isEncapsulated() <em>Is Encapsulated</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isEncapsulated() + * @generated + * @ordered + */ + protected boolean isEncapsulated = IS_ENCAPSULATED_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected BlockImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BlocksPackage.Literals.BLOCK; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public org.eclipse.uml2.uml.Class getBase_Class() { + if (base_Class != null && base_Class.eIsProxy()) { + InternalEObject oldBase_Class = (InternalEObject)base_Class; + base_Class = (org.eclipse.uml2.uml.Class)eResolveProxy(oldBase_Class); + if (base_Class != oldBase_Class) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.BLOCK__BASE_CLASS, oldBase_Class, base_Class)); + } + } + return base_Class; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public org.eclipse.uml2.uml.Class basicGetBase_Class() { + return base_Class; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Class(org.eclipse.uml2.uml.Class newBase_Class) { + org.eclipse.uml2.uml.Class oldBase_Class = base_Class; + base_Class = newBase_Class; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.BLOCK__BASE_CLASS, oldBase_Class, base_Class)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isEncapsulated() { + return isEncapsulated; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setIsEncapsulated(boolean newIsEncapsulated) { + boolean oldIsEncapsulated = isEncapsulated; + isEncapsulated = newIsEncapsulated; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.BLOCK__IS_ENCAPSULATED, oldIsEncapsulated, isEncapsulated)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Property> getReferences() { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Property> getParts() { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Property> getFlowProperties() { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BlocksPackage.BLOCK__BASE_CLASS: + if (resolve) return getBase_Class(); + return basicGetBase_Class(); + case BlocksPackage.BLOCK__IS_ENCAPSULATED: + return isEncapsulated(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BlocksPackage.BLOCK__BASE_CLASS: + setBase_Class((org.eclipse.uml2.uml.Class)newValue); + return; + case BlocksPackage.BLOCK__IS_ENCAPSULATED: + setIsEncapsulated((Boolean)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BlocksPackage.BLOCK__BASE_CLASS: + setBase_Class((org.eclipse.uml2.uml.Class)null); + return; + case BlocksPackage.BLOCK__IS_ENCAPSULATED: + setIsEncapsulated(IS_ENCAPSULATED_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BlocksPackage.BLOCK__BASE_CLASS: + return base_Class != null; + case BlocksPackage.BLOCK__IS_ENCAPSULATED: + return isEncapsulated != IS_ENCAPSULATED_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case BlocksPackage.BLOCK___GET_REFERENCES: + return getReferences(); + case BlocksPackage.BLOCK___GET_PARTS: + return getParts(); + case BlocksPackage.BLOCK___GET_FLOW_PROPERTIES: + return getFlowProperties(); + } + return super.eInvoke(operationID, arguments); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (isEncapsulated: "); //$NON-NLS-1$ + result.append(isEncapsulated); + result.append(')'); + return result.toString(); + } + +} //BlockImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/BlocksFactoryImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/BlocksFactoryImpl.java new file mode 100644 index 0000000..d7a24e0 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/BlocksFactoryImpl.java
@@ -0,0 +1,226 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.internal.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.papyrus.sysml.blocks.*; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Factory</b>. + * <!-- end-user-doc --> + * @generated + */ +public class BlocksFactoryImpl extends EFactoryImpl implements BlocksFactory { + /** + * Creates the default factory implementation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static BlocksFactory init() { + try { + BlocksFactory theBlocksFactory = (BlocksFactory)EPackage.Registry.INSTANCE.getEFactory(BlocksPackage.eNS_URI); + if (theBlocksFactory != null) { + return theBlocksFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new BlocksFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BlocksFactoryImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case BlocksPackage.DISTRIBUTED_PROPERTY: return createDistributedProperty(); + case BlocksPackage.ADJUNCT_PROPERTY: return createAdjunctProperty(); + case BlocksPackage.END_PATH_MULTIPLICITY: return createEndPathMultiplicity(); + case BlocksPackage.PARTICIPANT_PROPERTY: return createParticipantProperty(); + case BlocksPackage.BLOCK: return createBlock(); + case BlocksPackage.CONNECTOR_PROPERTY: return createConnectorProperty(); + case BlocksPackage.BINDING_CONNECTOR: return createBindingConnector(); + case BlocksPackage.CLASSIFIER_BEHAVIOR_PROPERTY: return createClassifierBehaviorProperty(); + case BlocksPackage.BOUND_REFERENCE: return createBoundReference(); + case BlocksPackage.PROPERTY_SPECIFIC_TYPE: return createPropertySpecificType(); + case BlocksPackage.NESTED_CONNECTOR_END: return createNestedConnectorEnd(); + case BlocksPackage.VALUE_TYPE: return createValueType(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DistributedProperty createDistributedProperty() { + DistributedPropertyImpl distributedProperty = new DistributedPropertyImpl(); + return distributedProperty; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AdjunctProperty createAdjunctProperty() { + AdjunctPropertyImpl adjunctProperty = new AdjunctPropertyImpl(); + return adjunctProperty; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EndPathMultiplicity createEndPathMultiplicity() { + EndPathMultiplicityImpl endPathMultiplicity = new EndPathMultiplicityImpl(); + return endPathMultiplicity; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ParticipantProperty createParticipantProperty() { + ParticipantPropertyImpl participantProperty = new ParticipantPropertyImpl(); + return participantProperty; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Block createBlock() { + BlockImpl block = new BlockImpl(); + return block; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ConnectorProperty createConnectorProperty() { + ConnectorPropertyImpl connectorProperty = new ConnectorPropertyImpl(); + return connectorProperty; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BindingConnector createBindingConnector() { + BindingConnectorImpl bindingConnector = new BindingConnectorImpl(); + return bindingConnector; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ClassifierBehaviorProperty createClassifierBehaviorProperty() { + ClassifierBehaviorPropertyImpl classifierBehaviorProperty = new ClassifierBehaviorPropertyImpl(); + return classifierBehaviorProperty; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BoundReference createBoundReference() { + BoundReferenceImpl boundReference = new BoundReferenceImpl(); + return boundReference; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PropertySpecificType createPropertySpecificType() { + PropertySpecificTypeImpl propertySpecificType = new PropertySpecificTypeImpl(); + return propertySpecificType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NestedConnectorEnd createNestedConnectorEnd() { + NestedConnectorEndImpl nestedConnectorEnd = new NestedConnectorEndImpl(); + return nestedConnectorEnd; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ValueType createValueType() { + ValueTypeImpl valueType = new ValueTypeImpl(); + return valueType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BlocksPackage getBlocksPackage() { + return (BlocksPackage)getEPackage(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @deprecated + * @generated + */ + @Deprecated + public static BlocksPackage getPackage() { + return BlocksPackage.eINSTANCE; + } + +} //BlocksFactoryImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/BlocksPackageImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/BlocksPackageImpl.java new file mode 100644 index 0000000..31a53e4 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/BlocksPackageImpl.java
@@ -0,0 +1,882 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.internal.impl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EOperation; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.EcorePackage; + +import org.eclipse.emf.ecore.impl.EPackageImpl; +import org.eclipse.papyrus.sysml.SysMLPackage; +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; + +import org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl; + +import org.eclipse.papyrus.sysml.allocations.AllocationsPackage; + +import org.eclipse.papyrus.sysml.allocations.internal.impl.AllocationsPackageImpl; + +import org.eclipse.papyrus.sysml.blocks.AdjunctProperty; +import org.eclipse.papyrus.sysml.blocks.BindingConnector; +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.papyrus.sysml.blocks.BlocksFactory; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.blocks.BoundReference; +import org.eclipse.papyrus.sysml.blocks.ClassifierBehaviorProperty; +import org.eclipse.papyrus.sysml.blocks.ConnectorProperty; +import org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath; +import org.eclipse.papyrus.sysml.blocks.DistributedProperty; +import org.eclipse.papyrus.sysml.blocks.ElementPropertyPath; +import org.eclipse.papyrus.sysml.blocks.EndPathMultiplicity; +import org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd; +import org.eclipse.papyrus.sysml.blocks.ParticipantProperty; +import org.eclipse.papyrus.sysml.blocks.PropertySpecificType; +import org.eclipse.papyrus.sysml.blocks.ValueType; + +import org.eclipse.papyrus.sysml.constraintblocks.ConstraintblocksPackage; + +import org.eclipse.papyrus.sysml.constraintblocks.internal.impl.ConstraintblocksPackageImpl; + +import org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsPackage; + +import org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.DeprecatedelementsPackageImpl; +import org.eclipse.papyrus.sysml.internal.impl.SysMLPackageImpl; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; + +import org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl; + +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; + +import org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl; + +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; + +import org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl; + +import org.eclipse.uml2.types.TypesPackage; + +import org.eclipse.uml2.uml.UMLPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Package</b>. + * <!-- end-user-doc --> + * @generated + */ +public class BlocksPackageImpl extends EPackageImpl implements BlocksPackage { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass distributedPropertyEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass adjunctPropertyEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass endPathMultiplicityEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass participantPropertyEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass blockEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass connectorPropertyEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass bindingConnectorEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass classifierBehaviorPropertyEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass boundReferenceEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass propertySpecificTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass nestedConnectorEndEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass valueTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass directedRelationshipPropertyPathEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass elementPropertyPathEClass = null; + + /** + * Creates an instance of the model <b>Package</b>, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + * <p>Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage#eNS_URI + * @see #init() + * @generated + */ + private BlocksPackageImpl() { + super(eNS_URI, BlocksFactory.eINSTANCE); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. + * + * <p>This method is used to initialize {@link BlocksPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static BlocksPackage init() { + if (isInited) return (BlocksPackage)EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI); + + // Obtain or create and register package + BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new BlocksPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + EcorePackage.eINSTANCE.eClass(); + TypesPackage.eINSTANCE.eClass(); + UMLPackage.eINSTANCE.eClass(); + + // Obtain or create and register interdependencies + SysMLPackageImpl theSysMLPackage = (SysMLPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SysMLPackage.eNS_URI) instanceof SysMLPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysMLPackage.eNS_URI) : SysMLPackage.eINSTANCE); + PortsandflowsPackageImpl thePortsandflowsPackage = (PortsandflowsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) instanceof PortsandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) : PortsandflowsPackage.eINSTANCE); + ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) : ActivitiesPackage.eINSTANCE); + AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) : AllocationsPackage.eINSTANCE); + RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE); + ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE); + DeprecatedelementsPackageImpl theDeprecatedelementsPackage = (DeprecatedelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) instanceof DeprecatedelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) : DeprecatedelementsPackage.eINSTANCE); + ConstraintblocksPackageImpl theConstraintblocksPackage = (ConstraintblocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) instanceof ConstraintblocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) : ConstraintblocksPackage.eINSTANCE); + + // Create package meta-data objects + theBlocksPackage.createPackageContents(); + theSysMLPackage.createPackageContents(); + thePortsandflowsPackage.createPackageContents(); + theActivitiesPackage.createPackageContents(); + theAllocationsPackage.createPackageContents(); + theRequirementsPackage.createPackageContents(); + theModelelementsPackage.createPackageContents(); + theDeprecatedelementsPackage.createPackageContents(); + theConstraintblocksPackage.createPackageContents(); + + // Initialize created meta-data + theBlocksPackage.initializePackageContents(); + theSysMLPackage.initializePackageContents(); + thePortsandflowsPackage.initializePackageContents(); + theActivitiesPackage.initializePackageContents(); + theAllocationsPackage.initializePackageContents(); + theRequirementsPackage.initializePackageContents(); + theModelelementsPackage.initializePackageContents(); + theDeprecatedelementsPackage.initializePackageContents(); + theConstraintblocksPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theBlocksPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(BlocksPackage.eNS_URI, theBlocksPackage); + return theBlocksPackage; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getDistributedProperty() { + return distributedPropertyEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDistributedProperty_Base_Property() { + return (EReference)distributedPropertyEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getAdjunctProperty() { + return adjunctPropertyEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAdjunctProperty_Base_Property() { + return (EReference)adjunctPropertyEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAdjunctProperty_Principal() { + return (EReference)adjunctPropertyEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getEndPathMultiplicity() { + return endPathMultiplicityEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getEndPathMultiplicity_Base_Property() { + return (EReference)endPathMultiplicityEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getEndPathMultiplicity_Lower() { + return (EAttribute)endPathMultiplicityEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getEndPathMultiplicity_Upper() { + return (EAttribute)endPathMultiplicityEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getParticipantProperty() { + return participantPropertyEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getParticipantProperty_Base_Property() { + return (EReference)participantPropertyEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getParticipantProperty_End() { + return (EReference)participantPropertyEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getBlock() { + return blockEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getBlock_Base_Class() { + return (EReference)blockEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getBlock_IsEncapsulated() { + return (EAttribute)blockEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getBlock__GetReferences() { + return blockEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getBlock__GetParts() { + return blockEClass.getEOperations().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getBlock__GetFlowProperties() { + return blockEClass.getEOperations().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getConnectorProperty() { + return connectorPropertyEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getConnectorProperty_Base_Property() { + return (EReference)connectorPropertyEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getConnectorProperty_Connector() { + return (EReference)connectorPropertyEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getBindingConnector() { + return bindingConnectorEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getBindingConnector_Base_Connector() { + return (EReference)bindingConnectorEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getClassifierBehaviorProperty() { + return classifierBehaviorPropertyEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getClassifierBehaviorProperty_Base_Property() { + return (EReference)classifierBehaviorPropertyEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getBoundReference() { + return boundReferenceEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getBoundReference_BindingPath() { + return (EReference)boundReferenceEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getBoundReference_BoundEnd() { + return (EReference)boundReferenceEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getPropertySpecificType() { + return propertySpecificTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getPropertySpecificType_Base_Classifier() { + return (EReference)propertySpecificTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getNestedConnectorEnd() { + return nestedConnectorEndEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getNestedConnectorEnd_Base_ConnectorEnd() { + return (EReference)nestedConnectorEndEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getValueType() { + return valueTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getValueType_Base_DataType() { + return (EReference)valueTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getValueType_QuantityKind() { + return (EReference)valueTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getValueType_Unit() { + return (EReference)valueTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getDirectedRelationshipPropertyPath() { + return directedRelationshipPropertyPathEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDirectedRelationshipPropertyPath_Base_DirectedRelationship() { + return (EReference)directedRelationshipPropertyPathEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDirectedRelationshipPropertyPath_SourceContext() { + return (EReference)directedRelationshipPropertyPathEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDirectedRelationshipPropertyPath_SourcePropertyPath() { + return (EReference)directedRelationshipPropertyPathEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDirectedRelationshipPropertyPath_TargetContext() { + return (EReference)directedRelationshipPropertyPathEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDirectedRelationshipPropertyPath_TargetPropertyPath() { + return (EReference)directedRelationshipPropertyPathEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getElementPropertyPath() { + return elementPropertyPathEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getElementPropertyPath_Base_Element() { + return (EReference)elementPropertyPathEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getElementPropertyPath_PropertyPath() { + return (EReference)elementPropertyPathEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BlocksFactory getBlocksFactory() { + return (BlocksFactory)getEFactoryInstance(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + distributedPropertyEClass = createEClass(DISTRIBUTED_PROPERTY); + createEReference(distributedPropertyEClass, DISTRIBUTED_PROPERTY__BASE_PROPERTY); + + adjunctPropertyEClass = createEClass(ADJUNCT_PROPERTY); + createEReference(adjunctPropertyEClass, ADJUNCT_PROPERTY__BASE_PROPERTY); + createEReference(adjunctPropertyEClass, ADJUNCT_PROPERTY__PRINCIPAL); + + endPathMultiplicityEClass = createEClass(END_PATH_MULTIPLICITY); + createEReference(endPathMultiplicityEClass, END_PATH_MULTIPLICITY__BASE_PROPERTY); + createEAttribute(endPathMultiplicityEClass, END_PATH_MULTIPLICITY__LOWER); + createEAttribute(endPathMultiplicityEClass, END_PATH_MULTIPLICITY__UPPER); + + participantPropertyEClass = createEClass(PARTICIPANT_PROPERTY); + createEReference(participantPropertyEClass, PARTICIPANT_PROPERTY__BASE_PROPERTY); + createEReference(participantPropertyEClass, PARTICIPANT_PROPERTY__END); + + blockEClass = createEClass(BLOCK); + createEReference(blockEClass, BLOCK__BASE_CLASS); + createEAttribute(blockEClass, BLOCK__IS_ENCAPSULATED); + createEOperation(blockEClass, BLOCK___GET_REFERENCES); + createEOperation(blockEClass, BLOCK___GET_PARTS); + createEOperation(blockEClass, BLOCK___GET_FLOW_PROPERTIES); + + connectorPropertyEClass = createEClass(CONNECTOR_PROPERTY); + createEReference(connectorPropertyEClass, CONNECTOR_PROPERTY__BASE_PROPERTY); + createEReference(connectorPropertyEClass, CONNECTOR_PROPERTY__CONNECTOR); + + bindingConnectorEClass = createEClass(BINDING_CONNECTOR); + createEReference(bindingConnectorEClass, BINDING_CONNECTOR__BASE_CONNECTOR); + + classifierBehaviorPropertyEClass = createEClass(CLASSIFIER_BEHAVIOR_PROPERTY); + createEReference(classifierBehaviorPropertyEClass, CLASSIFIER_BEHAVIOR_PROPERTY__BASE_PROPERTY); + + boundReferenceEClass = createEClass(BOUND_REFERENCE); + createEReference(boundReferenceEClass, BOUND_REFERENCE__BINDING_PATH); + createEReference(boundReferenceEClass, BOUND_REFERENCE__BOUND_END); + + propertySpecificTypeEClass = createEClass(PROPERTY_SPECIFIC_TYPE); + createEReference(propertySpecificTypeEClass, PROPERTY_SPECIFIC_TYPE__BASE_CLASSIFIER); + + nestedConnectorEndEClass = createEClass(NESTED_CONNECTOR_END); + createEReference(nestedConnectorEndEClass, NESTED_CONNECTOR_END__BASE_CONNECTOR_END); + + valueTypeEClass = createEClass(VALUE_TYPE); + createEReference(valueTypeEClass, VALUE_TYPE__BASE_DATA_TYPE); + createEReference(valueTypeEClass, VALUE_TYPE__QUANTITY_KIND); + createEReference(valueTypeEClass, VALUE_TYPE__UNIT); + + directedRelationshipPropertyPathEClass = createEClass(DIRECTED_RELATIONSHIP_PROPERTY_PATH); + createEReference(directedRelationshipPropertyPathEClass, DIRECTED_RELATIONSHIP_PROPERTY_PATH__BASE_DIRECTED_RELATIONSHIP); + createEReference(directedRelationshipPropertyPathEClass, DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_CONTEXT); + createEReference(directedRelationshipPropertyPathEClass, DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_PROPERTY_PATH); + createEReference(directedRelationshipPropertyPathEClass, DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_CONTEXT); + createEReference(directedRelationshipPropertyPathEClass, DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_PROPERTY_PATH); + + elementPropertyPathEClass = createEClass(ELEMENT_PROPERTY_PATH); + createEReference(elementPropertyPathEClass, ELEMENT_PROPERTY_PATH__BASE_ELEMENT); + createEReference(elementPropertyPathEClass, ELEMENT_PROPERTY_PATH__PROPERTY_PATH); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); + TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + boundReferenceEClass.getESuperTypes().add(this.getEndPathMultiplicity()); + nestedConnectorEndEClass.getESuperTypes().add(this.getElementPropertyPath()); + + // Initialize classes, features, and operations; add parameters + initEClass(distributedPropertyEClass, DistributedProperty.class, "DistributedProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getDistributedProperty_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 0, 1, DistributedProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(adjunctPropertyEClass, AdjunctProperty.class, "AdjunctProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getAdjunctProperty_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 0, 1, AdjunctProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getAdjunctProperty_Principal(), theUMLPackage.getElement(), null, "principal", null, 1, 1, AdjunctProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(endPathMultiplicityEClass, EndPathMultiplicity.class, "EndPathMultiplicity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getEndPathMultiplicity_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 0, 1, EndPathMultiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getEndPathMultiplicity_Lower(), theTypesPackage.getInteger(), "lower", "0", 0, 1, EndPathMultiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ + initEAttribute(getEndPathMultiplicity_Upper(), theTypesPackage.getUnlimitedNatural(), "upper", "-1", 0, 1, EndPathMultiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ + + initEClass(participantPropertyEClass, ParticipantProperty.class, "ParticipantProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getParticipantProperty_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 0, 1, ParticipantProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getParticipantProperty_End(), theUMLPackage.getProperty(), null, "end", null, 1, 1, ParticipantProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(blockEClass, Block.class, "Block", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getBlock_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, Block.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getBlock_IsEncapsulated(), theTypesPackage.getBoolean(), "isEncapsulated", null, 0, 1, Block.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEOperation(getBlock__GetReferences(), theUMLPackage.getProperty(), "getReferences", 0, -1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ + + initEOperation(getBlock__GetParts(), theUMLPackage.getProperty(), "getParts", 0, -1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ + + initEOperation(getBlock__GetFlowProperties(), theUMLPackage.getProperty(), "getFlowProperties", 0, -1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(connectorPropertyEClass, ConnectorProperty.class, "ConnectorProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getConnectorProperty_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 0, 1, ConnectorProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getConnectorProperty_Connector(), theUMLPackage.getConnector(), null, "connector", null, 1, 1, ConnectorProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(bindingConnectorEClass, BindingConnector.class, "BindingConnector", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getBindingConnector_Base_Connector(), theUMLPackage.getConnector(), null, "base_Connector", null, 0, 1, BindingConnector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(classifierBehaviorPropertyEClass, ClassifierBehaviorProperty.class, "ClassifierBehaviorProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getClassifierBehaviorProperty_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 0, 1, ClassifierBehaviorProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(boundReferenceEClass, BoundReference.class, "BoundReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getBoundReference_BindingPath(), theUMLPackage.getProperty(), null, "bindingPath", null, 1, -1, BoundReference.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getBoundReference_BoundEnd(), theUMLPackage.getConnectorEnd(), null, "boundEnd", null, 1, 1, BoundReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(propertySpecificTypeEClass, PropertySpecificType.class, "PropertySpecificType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getPropertySpecificType_Base_Classifier(), theUMLPackage.getClassifier(), null, "base_Classifier", null, 0, 1, PropertySpecificType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(nestedConnectorEndEClass, NestedConnectorEnd.class, "NestedConnectorEnd", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getNestedConnectorEnd_Base_ConnectorEnd(), theUMLPackage.getConnectorEnd(), null, "base_ConnectorEnd", null, 0, 1, NestedConnectorEnd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(valueTypeEClass, ValueType.class, "ValueType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getValueType_Base_DataType(), theUMLPackage.getDataType(), null, "base_DataType", null, 0, 1, ValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getValueType_QuantityKind(), theUMLPackage.getInstanceSpecification(), null, "quantityKind", null, 0, 1, ValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getValueType_Unit(), theUMLPackage.getInstanceSpecification(), null, "unit", null, 0, 1, ValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(directedRelationshipPropertyPathEClass, DirectedRelationshipPropertyPath.class, "DirectedRelationshipPropertyPath", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getDirectedRelationshipPropertyPath_Base_DirectedRelationship(), theUMLPackage.getDirectedRelationship(), null, "base_DirectedRelationship", null, 0, 1, DirectedRelationshipPropertyPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getDirectedRelationshipPropertyPath_SourceContext(), theUMLPackage.getClassifier(), null, "sourceContext", null, 0, 1, DirectedRelationshipPropertyPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getDirectedRelationshipPropertyPath_SourcePropertyPath(), theUMLPackage.getProperty(), null, "sourcePropertyPath", null, 0, -1, DirectedRelationshipPropertyPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEReference(getDirectedRelationshipPropertyPath_TargetContext(), theUMLPackage.getClassifier(), null, "targetContext", null, 0, 1, DirectedRelationshipPropertyPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getDirectedRelationshipPropertyPath_TargetPropertyPath(), theUMLPackage.getProperty(), null, "targetPropertyPath", null, 0, -1, DirectedRelationshipPropertyPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + + initEClass(elementPropertyPathEClass, ElementPropertyPath.class, "ElementPropertyPath", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getElementPropertyPath_Base_Element(), theUMLPackage.getElement(), null, "base_Element", null, 0, 1, ElementPropertyPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getElementPropertyPath_PropertyPath(), theUMLPackage.getProperty(), null, "propertyPath", null, 1, -1, ElementPropertyPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + + // Create annotations + // http://www.eclipse.org/uml2/2.0.0/UML + createUMLAnnotations(); + } + + /** + * Initializes the annotations for <b>http://www.eclipse.org/uml2/2.0.0/UML</b>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void createUMLAnnotations() { + String source = "http://www.eclipse.org/uml2/2.0.0/UML"; //$NON-NLS-1$ + addAnnotation + (this, + source, + new String[] { + "originalName", "Blocks" //$NON-NLS-1$ //$NON-NLS-2$ + }); + } + +} //BlocksPackageImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/BoundReferenceImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/BoundReferenceImpl.java new file mode 100644 index 0000000..1250c29 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/BoundReferenceImpl.java
@@ -0,0 +1,215 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.internal.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.blocks.BoundReference; + +import org.eclipse.uml2.uml.ConnectorEnd; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Bound Reference</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.BoundReferenceImpl#getBindingPath <em>Binding Path</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.BoundReferenceImpl#getBoundEnd <em>Bound End</em>}</li> + * </ul> + * + * @generated + */ +public class BoundReferenceImpl extends EndPathMultiplicityImpl implements BoundReference { + /** + * The cached value of the '{@link #getBoundEnd() <em>Bound End</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBoundEnd() + * @generated + * @ordered + */ + protected ConnectorEnd boundEnd; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected BoundReferenceImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BlocksPackage.Literals.BOUND_REFERENCE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Property> getBindingPath() { + // TODO: implement this method to return the 'Binding Path' reference list + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Property getBindingPath(String name, Type type) { + return getBindingPath(name, type, false, null); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Property getBindingPath(String name, Type type, boolean ignoreCase, EClass eClass) { + bindingPathLoop: for (Property bindingPath : getBindingPath()) { + if (eClass != null && !eClass.isInstance(bindingPath)) + continue bindingPathLoop; + if (name != null && !(ignoreCase ? name.equalsIgnoreCase(bindingPath.getName()) : name.equals(bindingPath.getName()))) + continue bindingPathLoop; + if (type != null && !type.equals(bindingPath.getType())) + continue bindingPathLoop; + return bindingPath; + } + return null; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ConnectorEnd getBoundEnd() { + if (boundEnd != null && boundEnd.eIsProxy()) { + InternalEObject oldBoundEnd = (InternalEObject)boundEnd; + boundEnd = (ConnectorEnd)eResolveProxy(oldBoundEnd); + if (boundEnd != oldBoundEnd) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.BOUND_REFERENCE__BOUND_END, oldBoundEnd, boundEnd)); + } + } + return boundEnd; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ConnectorEnd basicGetBoundEnd() { + return boundEnd; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBoundEnd(ConnectorEnd newBoundEnd) { + ConnectorEnd oldBoundEnd = boundEnd; + boundEnd = newBoundEnd; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.BOUND_REFERENCE__BOUND_END, oldBoundEnd, boundEnd)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BlocksPackage.BOUND_REFERENCE__BINDING_PATH: + return getBindingPath(); + case BlocksPackage.BOUND_REFERENCE__BOUND_END: + if (resolve) return getBoundEnd(); + return basicGetBoundEnd(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BlocksPackage.BOUND_REFERENCE__BOUND_END: + setBoundEnd((ConnectorEnd)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BlocksPackage.BOUND_REFERENCE__BOUND_END: + setBoundEnd((ConnectorEnd)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BlocksPackage.BOUND_REFERENCE__BINDING_PATH: + return !getBindingPath().isEmpty(); + case BlocksPackage.BOUND_REFERENCE__BOUND_END: + return boundEnd != null; + } + return super.eIsSet(featureID); + } + +} //BoundReferenceImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/ClassifierBehaviorPropertyImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/ClassifierBehaviorPropertyImpl.java new file mode 100644 index 0000000..e1dbebd --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/ClassifierBehaviorPropertyImpl.java
@@ -0,0 +1,168 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.internal.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.blocks.ClassifierBehaviorProperty; + +import org.eclipse.uml2.uml.Property; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Classifier Behavior Property</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.ClassifierBehaviorPropertyImpl#getBase_Property <em>Base Property</em>}</li> + * </ul> + * + * @generated + */ +public class ClassifierBehaviorPropertyImpl extends MinimalEObjectImpl.Container implements ClassifierBehaviorProperty { + /** + * The cached value of the '{@link #getBase_Property() <em>Base Property</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Property() + * @generated + * @ordered + */ + protected Property base_Property; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ClassifierBehaviorPropertyImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BlocksPackage.Literals.CLASSIFIER_BEHAVIOR_PROPERTY; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Property getBase_Property() { + if (base_Property != null && base_Property.eIsProxy()) { + InternalEObject oldBase_Property = (InternalEObject)base_Property; + base_Property = (Property)eResolveProxy(oldBase_Property); + if (base_Property != oldBase_Property) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.CLASSIFIER_BEHAVIOR_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property)); + } + } + return base_Property; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Property basicGetBase_Property() { + return base_Property; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Property(Property newBase_Property) { + Property oldBase_Property = base_Property; + base_Property = newBase_Property; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.CLASSIFIER_BEHAVIOR_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BlocksPackage.CLASSIFIER_BEHAVIOR_PROPERTY__BASE_PROPERTY: + if (resolve) return getBase_Property(); + return basicGetBase_Property(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BlocksPackage.CLASSIFIER_BEHAVIOR_PROPERTY__BASE_PROPERTY: + setBase_Property((Property)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BlocksPackage.CLASSIFIER_BEHAVIOR_PROPERTY__BASE_PROPERTY: + setBase_Property((Property)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BlocksPackage.CLASSIFIER_BEHAVIOR_PROPERTY__BASE_PROPERTY: + return base_Property != null; + } + return super.eIsSet(featureID); + } + +} //ClassifierBehaviorPropertyImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/ConnectorPropertyImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/ConnectorPropertyImpl.java new file mode 100644 index 0000000..72ad972 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/ConnectorPropertyImpl.java
@@ -0,0 +1,229 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.internal.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.blocks.ConnectorProperty; + +import org.eclipse.uml2.uml.Connector; +import org.eclipse.uml2.uml.Property; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Connector Property</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.ConnectorPropertyImpl#getBase_Property <em>Base Property</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.ConnectorPropertyImpl#getConnector <em>Connector</em>}</li> + * </ul> + * + * @generated + */ +public class ConnectorPropertyImpl extends MinimalEObjectImpl.Container implements ConnectorProperty { + /** + * The cached value of the '{@link #getBase_Property() <em>Base Property</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Property() + * @generated + * @ordered + */ + protected Property base_Property; + + /** + * The cached value of the '{@link #getConnector() <em>Connector</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getConnector() + * @generated + * @ordered + */ + protected Connector connector; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ConnectorPropertyImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BlocksPackage.Literals.CONNECTOR_PROPERTY; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Property getBase_Property() { + if (base_Property != null && base_Property.eIsProxy()) { + InternalEObject oldBase_Property = (InternalEObject)base_Property; + base_Property = (Property)eResolveProxy(oldBase_Property); + if (base_Property != oldBase_Property) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.CONNECTOR_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property)); + } + } + return base_Property; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Property basicGetBase_Property() { + return base_Property; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Property(Property newBase_Property) { + Property oldBase_Property = base_Property; + base_Property = newBase_Property; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.CONNECTOR_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Connector getConnector() { + if (connector != null && connector.eIsProxy()) { + InternalEObject oldConnector = (InternalEObject)connector; + connector = (Connector)eResolveProxy(oldConnector); + if (connector != oldConnector) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.CONNECTOR_PROPERTY__CONNECTOR, oldConnector, connector)); + } + } + return connector; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Connector basicGetConnector() { + return connector; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setConnector(Connector newConnector) { + Connector oldConnector = connector; + connector = newConnector; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.CONNECTOR_PROPERTY__CONNECTOR, oldConnector, connector)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BlocksPackage.CONNECTOR_PROPERTY__BASE_PROPERTY: + if (resolve) return getBase_Property(); + return basicGetBase_Property(); + case BlocksPackage.CONNECTOR_PROPERTY__CONNECTOR: + if (resolve) return getConnector(); + return basicGetConnector(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BlocksPackage.CONNECTOR_PROPERTY__BASE_PROPERTY: + setBase_Property((Property)newValue); + return; + case BlocksPackage.CONNECTOR_PROPERTY__CONNECTOR: + setConnector((Connector)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BlocksPackage.CONNECTOR_PROPERTY__BASE_PROPERTY: + setBase_Property((Property)null); + return; + case BlocksPackage.CONNECTOR_PROPERTY__CONNECTOR: + setConnector((Connector)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BlocksPackage.CONNECTOR_PROPERTY__BASE_PROPERTY: + return base_Property != null; + case BlocksPackage.CONNECTOR_PROPERTY__CONNECTOR: + return connector != null; + } + return super.eIsSet(featureID); + } + +} //ConnectorPropertyImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/DirectedRelationshipPropertyPathImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/DirectedRelationshipPropertyPathImpl.java new file mode 100644 index 0000000..e5b34e4 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/DirectedRelationshipPropertyPathImpl.java
@@ -0,0 +1,420 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.internal.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectResolvingEList; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath; + +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.DirectedRelationship; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Directed Relationship Property Path</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.DirectedRelationshipPropertyPathImpl#getBase_DirectedRelationship <em>Base Directed Relationship</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.DirectedRelationshipPropertyPathImpl#getSourceContext <em>Source Context</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.DirectedRelationshipPropertyPathImpl#getSourcePropertyPath <em>Source Property Path</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.DirectedRelationshipPropertyPathImpl#getTargetContext <em>Target Context</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.DirectedRelationshipPropertyPathImpl#getTargetPropertyPath <em>Target Property Path</em>}</li> + * </ul> + * + * @generated + */ +public abstract class DirectedRelationshipPropertyPathImpl extends MinimalEObjectImpl.Container implements DirectedRelationshipPropertyPath { + /** + * The cached value of the '{@link #getBase_DirectedRelationship() <em>Base Directed Relationship</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_DirectedRelationship() + * @generated + * @ordered + */ + protected DirectedRelationship base_DirectedRelationship; + + /** + * The cached value of the '{@link #getSourceContext() <em>Source Context</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getSourceContext() + * @generated + * @ordered + */ + protected Classifier sourceContext; + + /** + * The cached value of the '{@link #getSourcePropertyPath() <em>Source Property Path</em>}' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getSourcePropertyPath() + * @generated + * @ordered + */ + protected EList<Property> sourcePropertyPath; + + /** + * The cached value of the '{@link #getTargetContext() <em>Target Context</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTargetContext() + * @generated + * @ordered + */ + protected Classifier targetContext; + + /** + * The cached value of the '{@link #getTargetPropertyPath() <em>Target Property Path</em>}' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTargetPropertyPath() + * @generated + * @ordered + */ + protected EList<Property> targetPropertyPath; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DirectedRelationshipPropertyPathImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BlocksPackage.Literals.DIRECTED_RELATIONSHIP_PROPERTY_PATH; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DirectedRelationship getBase_DirectedRelationship() { + if (base_DirectedRelationship != null && base_DirectedRelationship.eIsProxy()) { + InternalEObject oldBase_DirectedRelationship = (InternalEObject)base_DirectedRelationship; + base_DirectedRelationship = (DirectedRelationship)eResolveProxy(oldBase_DirectedRelationship); + if (base_DirectedRelationship != oldBase_DirectedRelationship) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__BASE_DIRECTED_RELATIONSHIP, oldBase_DirectedRelationship, base_DirectedRelationship)); + } + } + return base_DirectedRelationship; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DirectedRelationship basicGetBase_DirectedRelationship() { + return base_DirectedRelationship; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_DirectedRelationship(DirectedRelationship newBase_DirectedRelationship) { + DirectedRelationship oldBase_DirectedRelationship = base_DirectedRelationship; + base_DirectedRelationship = newBase_DirectedRelationship; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__BASE_DIRECTED_RELATIONSHIP, oldBase_DirectedRelationship, base_DirectedRelationship)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Classifier getSourceContext() { + if (sourceContext != null && sourceContext.eIsProxy()) { + InternalEObject oldSourceContext = (InternalEObject)sourceContext; + sourceContext = (Classifier)eResolveProxy(oldSourceContext); + if (sourceContext != oldSourceContext) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_CONTEXT, oldSourceContext, sourceContext)); + } + } + return sourceContext; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Classifier basicGetSourceContext() { + return sourceContext; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setSourceContext(Classifier newSourceContext) { + Classifier oldSourceContext = sourceContext; + sourceContext = newSourceContext; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_CONTEXT, oldSourceContext, sourceContext)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Property> getSourcePropertyPath() { + if (sourcePropertyPath == null) { + sourcePropertyPath = new EObjectResolvingEList<Property>(Property.class, this, BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_PROPERTY_PATH); + } + return sourcePropertyPath; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Property getSourcePropertyPath(String name, Type type) { + return getSourcePropertyPath(name, type, false, null); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Property getSourcePropertyPath(String name, Type type, boolean ignoreCase, EClass eClass) { + sourcePropertyPathLoop: for (Property sourcePropertyPath : getSourcePropertyPath()) { + if (eClass != null && !eClass.isInstance(sourcePropertyPath)) + continue sourcePropertyPathLoop; + if (name != null && !(ignoreCase ? name.equalsIgnoreCase(sourcePropertyPath.getName()) : name.equals(sourcePropertyPath.getName()))) + continue sourcePropertyPathLoop; + if (type != null && !type.equals(sourcePropertyPath.getType())) + continue sourcePropertyPathLoop; + return sourcePropertyPath; + } + return null; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Classifier getTargetContext() { + if (targetContext != null && targetContext.eIsProxy()) { + InternalEObject oldTargetContext = (InternalEObject)targetContext; + targetContext = (Classifier)eResolveProxy(oldTargetContext); + if (targetContext != oldTargetContext) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_CONTEXT, oldTargetContext, targetContext)); + } + } + return targetContext; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Classifier basicGetTargetContext() { + return targetContext; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTargetContext(Classifier newTargetContext) { + Classifier oldTargetContext = targetContext; + targetContext = newTargetContext; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_CONTEXT, oldTargetContext, targetContext)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Property> getTargetPropertyPath() { + if (targetPropertyPath == null) { + targetPropertyPath = new EObjectResolvingEList<Property>(Property.class, this, BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_PROPERTY_PATH); + } + return targetPropertyPath; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Property getTargetPropertyPath(String name, Type type) { + return getTargetPropertyPath(name, type, false, null); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Property getTargetPropertyPath(String name, Type type, boolean ignoreCase, EClass eClass) { + targetPropertyPathLoop: for (Property targetPropertyPath : getTargetPropertyPath()) { + if (eClass != null && !eClass.isInstance(targetPropertyPath)) + continue targetPropertyPathLoop; + if (name != null && !(ignoreCase ? name.equalsIgnoreCase(targetPropertyPath.getName()) : name.equals(targetPropertyPath.getName()))) + continue targetPropertyPathLoop; + if (type != null && !type.equals(targetPropertyPath.getType())) + continue targetPropertyPathLoop; + return targetPropertyPath; + } + return null; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__BASE_DIRECTED_RELATIONSHIP: + if (resolve) return getBase_DirectedRelationship(); + return basicGetBase_DirectedRelationship(); + case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_CONTEXT: + if (resolve) return getSourceContext(); + return basicGetSourceContext(); + case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_PROPERTY_PATH: + return getSourcePropertyPath(); + case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_CONTEXT: + if (resolve) return getTargetContext(); + return basicGetTargetContext(); + case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_PROPERTY_PATH: + return getTargetPropertyPath(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__BASE_DIRECTED_RELATIONSHIP: + setBase_DirectedRelationship((DirectedRelationship)newValue); + return; + case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_CONTEXT: + setSourceContext((Classifier)newValue); + return; + case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_PROPERTY_PATH: + getSourcePropertyPath().clear(); + getSourcePropertyPath().addAll((Collection<? extends Property>)newValue); + return; + case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_CONTEXT: + setTargetContext((Classifier)newValue); + return; + case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_PROPERTY_PATH: + getTargetPropertyPath().clear(); + getTargetPropertyPath().addAll((Collection<? extends Property>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__BASE_DIRECTED_RELATIONSHIP: + setBase_DirectedRelationship((DirectedRelationship)null); + return; + case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_CONTEXT: + setSourceContext((Classifier)null); + return; + case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_PROPERTY_PATH: + getSourcePropertyPath().clear(); + return; + case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_CONTEXT: + setTargetContext((Classifier)null); + return; + case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_PROPERTY_PATH: + getTargetPropertyPath().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__BASE_DIRECTED_RELATIONSHIP: + return base_DirectedRelationship != null; + case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_CONTEXT: + return sourceContext != null; + case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_PROPERTY_PATH: + return sourcePropertyPath != null && !sourcePropertyPath.isEmpty(); + case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_CONTEXT: + return targetContext != null; + case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_PROPERTY_PATH: + return targetPropertyPath != null && !targetPropertyPath.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //DirectedRelationshipPropertyPathImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/DistributedPropertyImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/DistributedPropertyImpl.java new file mode 100644 index 0000000..80cc212 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/DistributedPropertyImpl.java
@@ -0,0 +1,168 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.internal.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.blocks.DistributedProperty; + +import org.eclipse.uml2.uml.Property; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Distributed Property</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.DistributedPropertyImpl#getBase_Property <em>Base Property</em>}</li> + * </ul> + * + * @generated + */ +public class DistributedPropertyImpl extends MinimalEObjectImpl.Container implements DistributedProperty { + /** + * The cached value of the '{@link #getBase_Property() <em>Base Property</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Property() + * @generated + * @ordered + */ + protected Property base_Property; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DistributedPropertyImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BlocksPackage.Literals.DISTRIBUTED_PROPERTY; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Property getBase_Property() { + if (base_Property != null && base_Property.eIsProxy()) { + InternalEObject oldBase_Property = (InternalEObject)base_Property; + base_Property = (Property)eResolveProxy(oldBase_Property); + if (base_Property != oldBase_Property) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.DISTRIBUTED_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property)); + } + } + return base_Property; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Property basicGetBase_Property() { + return base_Property; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Property(Property newBase_Property) { + Property oldBase_Property = base_Property; + base_Property = newBase_Property; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.DISTRIBUTED_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BlocksPackage.DISTRIBUTED_PROPERTY__BASE_PROPERTY: + if (resolve) return getBase_Property(); + return basicGetBase_Property(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BlocksPackage.DISTRIBUTED_PROPERTY__BASE_PROPERTY: + setBase_Property((Property)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BlocksPackage.DISTRIBUTED_PROPERTY__BASE_PROPERTY: + setBase_Property((Property)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BlocksPackage.DISTRIBUTED_PROPERTY__BASE_PROPERTY: + return base_Property != null; + } + return super.eIsSet(featureID); + } + +} //DistributedPropertyImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/ElementPropertyPathImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/ElementPropertyPathImpl.java new file mode 100644 index 0000000..8022251 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/ElementPropertyPathImpl.java
@@ -0,0 +1,238 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.internal.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectResolvingEList; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.blocks.ElementPropertyPath; + +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Element Property Path</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.ElementPropertyPathImpl#getBase_Element <em>Base Element</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.ElementPropertyPathImpl#getPropertyPath <em>Property Path</em>}</li> + * </ul> + * + * @generated + */ +public abstract class ElementPropertyPathImpl extends MinimalEObjectImpl.Container implements ElementPropertyPath { + /** + * The cached value of the '{@link #getBase_Element() <em>Base Element</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Element() + * @generated + * @ordered + */ + protected Element base_Element; + + /** + * The cached value of the '{@link #getPropertyPath() <em>Property Path</em>}' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getPropertyPath() + * @generated + * @ordered + */ + protected EList<Property> propertyPath; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ElementPropertyPathImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BlocksPackage.Literals.ELEMENT_PROPERTY_PATH; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Element getBase_Element() { + if (base_Element != null && base_Element.eIsProxy()) { + InternalEObject oldBase_Element = (InternalEObject)base_Element; + base_Element = (Element)eResolveProxy(oldBase_Element); + if (base_Element != oldBase_Element) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.ELEMENT_PROPERTY_PATH__BASE_ELEMENT, oldBase_Element, base_Element)); + } + } + return base_Element; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Element basicGetBase_Element() { + return base_Element; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Element(Element newBase_Element) { + Element oldBase_Element = base_Element; + base_Element = newBase_Element; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.ELEMENT_PROPERTY_PATH__BASE_ELEMENT, oldBase_Element, base_Element)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Property> getPropertyPath() { + if (propertyPath == null) { + propertyPath = new EObjectResolvingEList<Property>(Property.class, this, BlocksPackage.ELEMENT_PROPERTY_PATH__PROPERTY_PATH); + } + return propertyPath; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Property getPropertyPath(String name, Type type) { + return getPropertyPath(name, type, false, null); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Property getPropertyPath(String name, Type type, boolean ignoreCase, EClass eClass) { + propertyPathLoop: for (Property propertyPath : getPropertyPath()) { + if (eClass != null && !eClass.isInstance(propertyPath)) + continue propertyPathLoop; + if (name != null && !(ignoreCase ? name.equalsIgnoreCase(propertyPath.getName()) : name.equals(propertyPath.getName()))) + continue propertyPathLoop; + if (type != null && !type.equals(propertyPath.getType())) + continue propertyPathLoop; + return propertyPath; + } + return null; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BlocksPackage.ELEMENT_PROPERTY_PATH__BASE_ELEMENT: + if (resolve) return getBase_Element(); + return basicGetBase_Element(); + case BlocksPackage.ELEMENT_PROPERTY_PATH__PROPERTY_PATH: + return getPropertyPath(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BlocksPackage.ELEMENT_PROPERTY_PATH__BASE_ELEMENT: + setBase_Element((Element)newValue); + return; + case BlocksPackage.ELEMENT_PROPERTY_PATH__PROPERTY_PATH: + getPropertyPath().clear(); + getPropertyPath().addAll((Collection<? extends Property>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BlocksPackage.ELEMENT_PROPERTY_PATH__BASE_ELEMENT: + setBase_Element((Element)null); + return; + case BlocksPackage.ELEMENT_PROPERTY_PATH__PROPERTY_PATH: + getPropertyPath().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BlocksPackage.ELEMENT_PROPERTY_PATH__BASE_ELEMENT: + return base_Element != null; + case BlocksPackage.ELEMENT_PROPERTY_PATH__PROPERTY_PATH: + return propertyPath != null && !propertyPath.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //ElementPropertyPathImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/EndPathMultiplicityImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/EndPathMultiplicityImpl.java new file mode 100644 index 0000000..961541f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/EndPathMultiplicityImpl.java
@@ -0,0 +1,290 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.internal.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.blocks.EndPathMultiplicity; + +import org.eclipse.uml2.uml.Property; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>End Path Multiplicity</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.EndPathMultiplicityImpl#getBase_Property <em>Base Property</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.EndPathMultiplicityImpl#getLower <em>Lower</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.EndPathMultiplicityImpl#getUpper <em>Upper</em>}</li> + * </ul> + * + * @generated + */ +public class EndPathMultiplicityImpl extends MinimalEObjectImpl.Container implements EndPathMultiplicity { + /** + * The cached value of the '{@link #getBase_Property() <em>Base Property</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Property() + * @generated + * @ordered + */ + protected Property base_Property; + + /** + * The default value of the '{@link #getLower() <em>Lower</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getLower() + * @generated + * @ordered + */ + protected static final int LOWER_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getLower() <em>Lower</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getLower() + * @generated + * @ordered + */ + protected int lower = LOWER_EDEFAULT; + + /** + * The default value of the '{@link #getUpper() <em>Upper</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getUpper() + * @generated + * @ordered + */ + protected static final int UPPER_EDEFAULT = -1; + + /** + * The cached value of the '{@link #getUpper() <em>Upper</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getUpper() + * @generated + * @ordered + */ + protected int upper = UPPER_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EndPathMultiplicityImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BlocksPackage.Literals.END_PATH_MULTIPLICITY; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Property getBase_Property() { + if (base_Property != null && base_Property.eIsProxy()) { + InternalEObject oldBase_Property = (InternalEObject)base_Property; + base_Property = (Property)eResolveProxy(oldBase_Property); + if (base_Property != oldBase_Property) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.END_PATH_MULTIPLICITY__BASE_PROPERTY, oldBase_Property, base_Property)); + } + } + return base_Property; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Property basicGetBase_Property() { + return base_Property; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Property(Property newBase_Property) { + Property oldBase_Property = base_Property; + base_Property = newBase_Property; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.END_PATH_MULTIPLICITY__BASE_PROPERTY, oldBase_Property, base_Property)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public int getLower() { + return lower; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setLower(int newLower) { + int oldLower = lower; + lower = newLower; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.END_PATH_MULTIPLICITY__LOWER, oldLower, lower)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public int getUpper() { + return upper; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setUpper(int newUpper) { + int oldUpper = upper; + upper = newUpper; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.END_PATH_MULTIPLICITY__UPPER, oldUpper, upper)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BlocksPackage.END_PATH_MULTIPLICITY__BASE_PROPERTY: + if (resolve) return getBase_Property(); + return basicGetBase_Property(); + case BlocksPackage.END_PATH_MULTIPLICITY__LOWER: + return getLower(); + case BlocksPackage.END_PATH_MULTIPLICITY__UPPER: + return getUpper(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BlocksPackage.END_PATH_MULTIPLICITY__BASE_PROPERTY: + setBase_Property((Property)newValue); + return; + case BlocksPackage.END_PATH_MULTIPLICITY__LOWER: + setLower((Integer)newValue); + return; + case BlocksPackage.END_PATH_MULTIPLICITY__UPPER: + setUpper((Integer)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BlocksPackage.END_PATH_MULTIPLICITY__BASE_PROPERTY: + setBase_Property((Property)null); + return; + case BlocksPackage.END_PATH_MULTIPLICITY__LOWER: + setLower(LOWER_EDEFAULT); + return; + case BlocksPackage.END_PATH_MULTIPLICITY__UPPER: + setUpper(UPPER_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BlocksPackage.END_PATH_MULTIPLICITY__BASE_PROPERTY: + return base_Property != null; + case BlocksPackage.END_PATH_MULTIPLICITY__LOWER: + return lower != LOWER_EDEFAULT; + case BlocksPackage.END_PATH_MULTIPLICITY__UPPER: + return upper != UPPER_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (lower: "); //$NON-NLS-1$ + result.append(lower); + result.append(", upper: "); //$NON-NLS-1$ + result.append(upper); + result.append(')'); + return result.toString(); + } + +} //EndPathMultiplicityImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/NestedConnectorEndImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/NestedConnectorEndImpl.java new file mode 100644 index 0000000..a0ecd03 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/NestedConnectorEndImpl.java
@@ -0,0 +1,167 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.internal.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd; + +import org.eclipse.uml2.uml.ConnectorEnd; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Nested Connector End</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.NestedConnectorEndImpl#getBase_ConnectorEnd <em>Base Connector End</em>}</li> + * </ul> + * + * @generated + */ +public class NestedConnectorEndImpl extends ElementPropertyPathImpl implements NestedConnectorEnd { + /** + * The cached value of the '{@link #getBase_ConnectorEnd() <em>Base Connector End</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_ConnectorEnd() + * @generated + * @ordered + */ + protected ConnectorEnd base_ConnectorEnd; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected NestedConnectorEndImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BlocksPackage.Literals.NESTED_CONNECTOR_END; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ConnectorEnd getBase_ConnectorEnd() { + if (base_ConnectorEnd != null && base_ConnectorEnd.eIsProxy()) { + InternalEObject oldBase_ConnectorEnd = (InternalEObject)base_ConnectorEnd; + base_ConnectorEnd = (ConnectorEnd)eResolveProxy(oldBase_ConnectorEnd); + if (base_ConnectorEnd != oldBase_ConnectorEnd) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.NESTED_CONNECTOR_END__BASE_CONNECTOR_END, oldBase_ConnectorEnd, base_ConnectorEnd)); + } + } + return base_ConnectorEnd; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ConnectorEnd basicGetBase_ConnectorEnd() { + return base_ConnectorEnd; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_ConnectorEnd(ConnectorEnd newBase_ConnectorEnd) { + ConnectorEnd oldBase_ConnectorEnd = base_ConnectorEnd; + base_ConnectorEnd = newBase_ConnectorEnd; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.NESTED_CONNECTOR_END__BASE_CONNECTOR_END, oldBase_ConnectorEnd, base_ConnectorEnd)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BlocksPackage.NESTED_CONNECTOR_END__BASE_CONNECTOR_END: + if (resolve) return getBase_ConnectorEnd(); + return basicGetBase_ConnectorEnd(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BlocksPackage.NESTED_CONNECTOR_END__BASE_CONNECTOR_END: + setBase_ConnectorEnd((ConnectorEnd)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BlocksPackage.NESTED_CONNECTOR_END__BASE_CONNECTOR_END: + setBase_ConnectorEnd((ConnectorEnd)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BlocksPackage.NESTED_CONNECTOR_END__BASE_CONNECTOR_END: + return base_ConnectorEnd != null; + } + return super.eIsSet(featureID); + } + +} //NestedConnectorEndImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/ParticipantPropertyImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/ParticipantPropertyImpl.java new file mode 100644 index 0000000..cf1c59c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/ParticipantPropertyImpl.java
@@ -0,0 +1,228 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.internal.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.blocks.ParticipantProperty; + +import org.eclipse.uml2.uml.Property; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Participant Property</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.ParticipantPropertyImpl#getBase_Property <em>Base Property</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.ParticipantPropertyImpl#getEnd <em>End</em>}</li> + * </ul> + * + * @generated + */ +public class ParticipantPropertyImpl extends MinimalEObjectImpl.Container implements ParticipantProperty { + /** + * The cached value of the '{@link #getBase_Property() <em>Base Property</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Property() + * @generated + * @ordered + */ + protected Property base_Property; + + /** + * The cached value of the '{@link #getEnd() <em>End</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getEnd() + * @generated + * @ordered + */ + protected Property end; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ParticipantPropertyImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BlocksPackage.Literals.PARTICIPANT_PROPERTY; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Property getBase_Property() { + if (base_Property != null && base_Property.eIsProxy()) { + InternalEObject oldBase_Property = (InternalEObject)base_Property; + base_Property = (Property)eResolveProxy(oldBase_Property); + if (base_Property != oldBase_Property) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.PARTICIPANT_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property)); + } + } + return base_Property; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Property basicGetBase_Property() { + return base_Property; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Property(Property newBase_Property) { + Property oldBase_Property = base_Property; + base_Property = newBase_Property; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.PARTICIPANT_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Property getEnd() { + if (end != null && end.eIsProxy()) { + InternalEObject oldEnd = (InternalEObject)end; + end = (Property)eResolveProxy(oldEnd); + if (end != oldEnd) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.PARTICIPANT_PROPERTY__END, oldEnd, end)); + } + } + return end; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Property basicGetEnd() { + return end; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setEnd(Property newEnd) { + Property oldEnd = end; + end = newEnd; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.PARTICIPANT_PROPERTY__END, oldEnd, end)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BlocksPackage.PARTICIPANT_PROPERTY__BASE_PROPERTY: + if (resolve) return getBase_Property(); + return basicGetBase_Property(); + case BlocksPackage.PARTICIPANT_PROPERTY__END: + if (resolve) return getEnd(); + return basicGetEnd(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BlocksPackage.PARTICIPANT_PROPERTY__BASE_PROPERTY: + setBase_Property((Property)newValue); + return; + case BlocksPackage.PARTICIPANT_PROPERTY__END: + setEnd((Property)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BlocksPackage.PARTICIPANT_PROPERTY__BASE_PROPERTY: + setBase_Property((Property)null); + return; + case BlocksPackage.PARTICIPANT_PROPERTY__END: + setEnd((Property)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BlocksPackage.PARTICIPANT_PROPERTY__BASE_PROPERTY: + return base_Property != null; + case BlocksPackage.PARTICIPANT_PROPERTY__END: + return end != null; + } + return super.eIsSet(featureID); + } + +} //ParticipantPropertyImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/PropertySpecificTypeImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/PropertySpecificTypeImpl.java new file mode 100644 index 0000000..b651423 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/PropertySpecificTypeImpl.java
@@ -0,0 +1,168 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.internal.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.blocks.PropertySpecificType; + +import org.eclipse.uml2.uml.Classifier; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Property Specific Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.PropertySpecificTypeImpl#getBase_Classifier <em>Base Classifier</em>}</li> + * </ul> + * + * @generated + */ +public class PropertySpecificTypeImpl extends MinimalEObjectImpl.Container implements PropertySpecificType { + /** + * The cached value of the '{@link #getBase_Classifier() <em>Base Classifier</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Classifier() + * @generated + * @ordered + */ + protected Classifier base_Classifier; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected PropertySpecificTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BlocksPackage.Literals.PROPERTY_SPECIFIC_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Classifier getBase_Classifier() { + if (base_Classifier != null && base_Classifier.eIsProxy()) { + InternalEObject oldBase_Classifier = (InternalEObject)base_Classifier; + base_Classifier = (Classifier)eResolveProxy(oldBase_Classifier); + if (base_Classifier != oldBase_Classifier) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.PROPERTY_SPECIFIC_TYPE__BASE_CLASSIFIER, oldBase_Classifier, base_Classifier)); + } + } + return base_Classifier; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Classifier basicGetBase_Classifier() { + return base_Classifier; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Classifier(Classifier newBase_Classifier) { + Classifier oldBase_Classifier = base_Classifier; + base_Classifier = newBase_Classifier; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.PROPERTY_SPECIFIC_TYPE__BASE_CLASSIFIER, oldBase_Classifier, base_Classifier)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BlocksPackage.PROPERTY_SPECIFIC_TYPE__BASE_CLASSIFIER: + if (resolve) return getBase_Classifier(); + return basicGetBase_Classifier(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BlocksPackage.PROPERTY_SPECIFIC_TYPE__BASE_CLASSIFIER: + setBase_Classifier((Classifier)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BlocksPackage.PROPERTY_SPECIFIC_TYPE__BASE_CLASSIFIER: + setBase_Classifier((Classifier)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BlocksPackage.PROPERTY_SPECIFIC_TYPE__BASE_CLASSIFIER: + return base_Classifier != null; + } + return super.eIsSet(featureID); + } + +} //PropertySpecificTypeImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/ValueTypeImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/ValueTypeImpl.java new file mode 100644 index 0000000..c771e1b --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/internal/impl/ValueTypeImpl.java
@@ -0,0 +1,289 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.internal.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.blocks.ValueType; + +import org.eclipse.uml2.uml.DataType; +import org.eclipse.uml2.uml.InstanceSpecification; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Value Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.ValueTypeImpl#getBase_DataType <em>Base Data Type</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.ValueTypeImpl#getQuantityKind <em>Quantity Kind</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.blocks.internal.impl.ValueTypeImpl#getUnit <em>Unit</em>}</li> + * </ul> + * + * @generated + */ +public class ValueTypeImpl extends MinimalEObjectImpl.Container implements ValueType { + /** + * The cached value of the '{@link #getBase_DataType() <em>Base Data Type</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_DataType() + * @generated + * @ordered + */ + protected DataType base_DataType; + + /** + * The cached value of the '{@link #getQuantityKind() <em>Quantity Kind</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getQuantityKind() + * @generated + * @ordered + */ + protected InstanceSpecification quantityKind; + + /** + * The cached value of the '{@link #getUnit() <em>Unit</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getUnit() + * @generated + * @ordered + */ + protected InstanceSpecification unit; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ValueTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return BlocksPackage.Literals.VALUE_TYPE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DataType getBase_DataType() { + if (base_DataType != null && base_DataType.eIsProxy()) { + InternalEObject oldBase_DataType = (InternalEObject)base_DataType; + base_DataType = (DataType)eResolveProxy(oldBase_DataType); + if (base_DataType != oldBase_DataType) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.VALUE_TYPE__BASE_DATA_TYPE, oldBase_DataType, base_DataType)); + } + } + return base_DataType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DataType basicGetBase_DataType() { + return base_DataType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_DataType(DataType newBase_DataType) { + DataType oldBase_DataType = base_DataType; + base_DataType = newBase_DataType; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.VALUE_TYPE__BASE_DATA_TYPE, oldBase_DataType, base_DataType)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public InstanceSpecification getQuantityKind() { + if (quantityKind != null && quantityKind.eIsProxy()) { + InternalEObject oldQuantityKind = (InternalEObject)quantityKind; + quantityKind = (InstanceSpecification)eResolveProxy(oldQuantityKind); + if (quantityKind != oldQuantityKind) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.VALUE_TYPE__QUANTITY_KIND, oldQuantityKind, quantityKind)); + } + } + return quantityKind; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public InstanceSpecification basicGetQuantityKind() { + return quantityKind; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setQuantityKind(InstanceSpecification newQuantityKind) { + InstanceSpecification oldQuantityKind = quantityKind; + quantityKind = newQuantityKind; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.VALUE_TYPE__QUANTITY_KIND, oldQuantityKind, quantityKind)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public InstanceSpecification getUnit() { + if (unit != null && unit.eIsProxy()) { + InternalEObject oldUnit = (InternalEObject)unit; + unit = (InstanceSpecification)eResolveProxy(oldUnit); + if (unit != oldUnit) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.VALUE_TYPE__UNIT, oldUnit, unit)); + } + } + return unit; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public InstanceSpecification basicGetUnit() { + return unit; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setUnit(InstanceSpecification newUnit) { + InstanceSpecification oldUnit = unit; + unit = newUnit; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.VALUE_TYPE__UNIT, oldUnit, unit)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case BlocksPackage.VALUE_TYPE__BASE_DATA_TYPE: + if (resolve) return getBase_DataType(); + return basicGetBase_DataType(); + case BlocksPackage.VALUE_TYPE__QUANTITY_KIND: + if (resolve) return getQuantityKind(); + return basicGetQuantityKind(); + case BlocksPackage.VALUE_TYPE__UNIT: + if (resolve) return getUnit(); + return basicGetUnit(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case BlocksPackage.VALUE_TYPE__BASE_DATA_TYPE: + setBase_DataType((DataType)newValue); + return; + case BlocksPackage.VALUE_TYPE__QUANTITY_KIND: + setQuantityKind((InstanceSpecification)newValue); + return; + case BlocksPackage.VALUE_TYPE__UNIT: + setUnit((InstanceSpecification)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case BlocksPackage.VALUE_TYPE__BASE_DATA_TYPE: + setBase_DataType((DataType)null); + return; + case BlocksPackage.VALUE_TYPE__QUANTITY_KIND: + setQuantityKind((InstanceSpecification)null); + return; + case BlocksPackage.VALUE_TYPE__UNIT: + setUnit((InstanceSpecification)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case BlocksPackage.VALUE_TYPE__BASE_DATA_TYPE: + return base_DataType != null; + case BlocksPackage.VALUE_TYPE__QUANTITY_KIND: + return quantityKind != null; + case BlocksPackage.VALUE_TYPE__UNIT: + return unit != null; + } + return super.eIsSet(featureID); + } + +} //ValueTypeImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/util/BlocksAdapterFactory.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/util/BlocksAdapterFactory.java new file mode 100644 index 0000000..d9864d8 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/util/BlocksAdapterFactory.java
@@ -0,0 +1,364 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.util; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.papyrus.sysml.blocks.*; + +/** + * <!-- begin-user-doc --> + * The <b>Adapter Factory</b> for the model. + * It provides an adapter <code>createXXX</code> method for each class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage + * @generated + */ +public class BlocksAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static BlocksPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BlocksAdapterFactory() { + if (modelPackage == null) { + modelPackage = BlocksPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * <!-- begin-user-doc --> + * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. + * <!-- end-user-doc --> + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the <code>createXXX</code> methods. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected BlocksSwitch<Adapter> modelSwitch = + new BlocksSwitch<Adapter>() { + @Override + public Adapter caseDistributedProperty(DistributedProperty object) { + return createDistributedPropertyAdapter(); + } + @Override + public Adapter caseAdjunctProperty(AdjunctProperty object) { + return createAdjunctPropertyAdapter(); + } + @Override + public Adapter caseEndPathMultiplicity(EndPathMultiplicity object) { + return createEndPathMultiplicityAdapter(); + } + @Override + public Adapter caseParticipantProperty(ParticipantProperty object) { + return createParticipantPropertyAdapter(); + } + @Override + public Adapter caseBlock(Block object) { + return createBlockAdapter(); + } + @Override + public Adapter caseConnectorProperty(ConnectorProperty object) { + return createConnectorPropertyAdapter(); + } + @Override + public Adapter caseBindingConnector(BindingConnector object) { + return createBindingConnectorAdapter(); + } + @Override + public Adapter caseClassifierBehaviorProperty(ClassifierBehaviorProperty object) { + return createClassifierBehaviorPropertyAdapter(); + } + @Override + public Adapter caseBoundReference(BoundReference object) { + return createBoundReferenceAdapter(); + } + @Override + public Adapter casePropertySpecificType(PropertySpecificType object) { + return createPropertySpecificTypeAdapter(); + } + @Override + public Adapter caseNestedConnectorEnd(NestedConnectorEnd object) { + return createNestedConnectorEndAdapter(); + } + @Override + public Adapter caseValueType(ValueType object) { + return createValueTypeAdapter(); + } + @Override + public Adapter caseDirectedRelationshipPropertyPath(DirectedRelationshipPropertyPath object) { + return createDirectedRelationshipPropertyPathAdapter(); + } + @Override + public Adapter caseElementPropertyPath(ElementPropertyPath object) { + return createElementPropertyPathAdapter(); + } + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the <code>target</code>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param target the object to adapt. + * @return the adapter for the <code>target</code>. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject)target); + } + + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.blocks.DistributedProperty <em>Distributed Property</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.blocks.DistributedProperty + * @generated + */ + public Adapter createDistributedPropertyAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.blocks.AdjunctProperty <em>Adjunct Property</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.blocks.AdjunctProperty + * @generated + */ + public Adapter createAdjunctPropertyAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.blocks.EndPathMultiplicity <em>End Path Multiplicity</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.blocks.EndPathMultiplicity + * @generated + */ + public Adapter createEndPathMultiplicityAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.blocks.ParticipantProperty <em>Participant Property</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.blocks.ParticipantProperty + * @generated + */ + public Adapter createParticipantPropertyAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.blocks.Block <em>Block</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.blocks.Block + * @generated + */ + public Adapter createBlockAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.blocks.ConnectorProperty <em>Connector Property</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.blocks.ConnectorProperty + * @generated + */ + public Adapter createConnectorPropertyAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.blocks.BindingConnector <em>Binding Connector</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.blocks.BindingConnector + * @generated + */ + public Adapter createBindingConnectorAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.blocks.ClassifierBehaviorProperty <em>Classifier Behavior Property</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.blocks.ClassifierBehaviorProperty + * @generated + */ + public Adapter createClassifierBehaviorPropertyAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.blocks.BoundReference <em>Bound Reference</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.blocks.BoundReference + * @generated + */ + public Adapter createBoundReferenceAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.blocks.PropertySpecificType <em>Property Specific Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.blocks.PropertySpecificType + * @generated + */ + public Adapter createPropertySpecificTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd <em>Nested Connector End</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd + * @generated + */ + public Adapter createNestedConnectorEndAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.blocks.ValueType <em>Value Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.blocks.ValueType + * @generated + */ + public Adapter createValueTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath <em>Directed Relationship Property Path</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath + * @generated + */ + public Adapter createDirectedRelationshipPropertyPathAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.blocks.ElementPropertyPath <em>Element Property Path</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.blocks.ElementPropertyPath + * @generated + */ + public Adapter createElementPropertyPathAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * <!-- begin-user-doc --> + * This default implementation returns null. + * <!-- end-user-doc --> + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //BlocksAdapterFactory
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/util/BlocksSwitch.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/util/BlocksSwitch.java new file mode 100644 index 0000000..ac0e6db --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/blocks/util/BlocksSwitch.java
@@ -0,0 +1,395 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.blocks.util; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +import org.eclipse.papyrus.sysml.blocks.*; + +/** + * <!-- begin-user-doc --> + * The <b>Switch</b> for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the <code>caseXXX</code> method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.blocks.BlocksPackage + * @generated + */ +public class BlocksSwitch<T> extends Switch<T> { + /** + * The cached model package + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static BlocksPackage modelPackage; + + /** + * Creates an instance of the switch. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public BlocksSwitch() { + if (modelPackage == null) { + modelPackage = BlocksPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the first non-null result returned by a <code>caseXXX</code> call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case BlocksPackage.DISTRIBUTED_PROPERTY: { + DistributedProperty distributedProperty = (DistributedProperty)theEObject; + T result = caseDistributedProperty(distributedProperty); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BlocksPackage.ADJUNCT_PROPERTY: { + AdjunctProperty adjunctProperty = (AdjunctProperty)theEObject; + T result = caseAdjunctProperty(adjunctProperty); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BlocksPackage.END_PATH_MULTIPLICITY: { + EndPathMultiplicity endPathMultiplicity = (EndPathMultiplicity)theEObject; + T result = caseEndPathMultiplicity(endPathMultiplicity); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BlocksPackage.PARTICIPANT_PROPERTY: { + ParticipantProperty participantProperty = (ParticipantProperty)theEObject; + T result = caseParticipantProperty(participantProperty); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BlocksPackage.BLOCK: { + Block block = (Block)theEObject; + T result = caseBlock(block); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BlocksPackage.CONNECTOR_PROPERTY: { + ConnectorProperty connectorProperty = (ConnectorProperty)theEObject; + T result = caseConnectorProperty(connectorProperty); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BlocksPackage.BINDING_CONNECTOR: { + BindingConnector bindingConnector = (BindingConnector)theEObject; + T result = caseBindingConnector(bindingConnector); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BlocksPackage.CLASSIFIER_BEHAVIOR_PROPERTY: { + ClassifierBehaviorProperty classifierBehaviorProperty = (ClassifierBehaviorProperty)theEObject; + T result = caseClassifierBehaviorProperty(classifierBehaviorProperty); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BlocksPackage.BOUND_REFERENCE: { + BoundReference boundReference = (BoundReference)theEObject; + T result = caseBoundReference(boundReference); + if (result == null) result = caseEndPathMultiplicity(boundReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BlocksPackage.PROPERTY_SPECIFIC_TYPE: { + PropertySpecificType propertySpecificType = (PropertySpecificType)theEObject; + T result = casePropertySpecificType(propertySpecificType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BlocksPackage.NESTED_CONNECTOR_END: { + NestedConnectorEnd nestedConnectorEnd = (NestedConnectorEnd)theEObject; + T result = caseNestedConnectorEnd(nestedConnectorEnd); + if (result == null) result = caseElementPropertyPath(nestedConnectorEnd); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BlocksPackage.VALUE_TYPE: { + ValueType valueType = (ValueType)theEObject; + T result = caseValueType(valueType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH: { + DirectedRelationshipPropertyPath directedRelationshipPropertyPath = (DirectedRelationshipPropertyPath)theEObject; + T result = caseDirectedRelationshipPropertyPath(directedRelationshipPropertyPath); + if (result == null) result = defaultCase(theEObject); + return result; + } + case BlocksPackage.ELEMENT_PROPERTY_PATH: { + ElementPropertyPath elementPropertyPath = (ElementPropertyPath)theEObject; + T result = caseElementPropertyPath(elementPropertyPath); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Distributed Property</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Distributed Property</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDistributedProperty(DistributedProperty object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Adjunct Property</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Adjunct Property</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAdjunctProperty(AdjunctProperty object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>End Path Multiplicity</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>End Path Multiplicity</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEndPathMultiplicity(EndPathMultiplicity object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Participant Property</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Participant Property</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseParticipantProperty(ParticipantProperty object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Block</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Block</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseBlock(Block object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Connector Property</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Connector Property</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConnectorProperty(ConnectorProperty object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Binding Connector</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Binding Connector</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseBindingConnector(BindingConnector object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Classifier Behavior Property</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Classifier Behavior Property</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseClassifierBehaviorProperty(ClassifierBehaviorProperty object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Bound Reference</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Bound Reference</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseBoundReference(BoundReference object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Property Specific Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Property Specific Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePropertySpecificType(PropertySpecificType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Nested Connector End</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Nested Connector End</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseNestedConnectorEnd(NestedConnectorEnd object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Value Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Value Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseValueType(ValueType object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Directed Relationship Property Path</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Directed Relationship Property Path</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDirectedRelationshipPropertyPath(DirectedRelationshipPropertyPath object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Element Property Path</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Element Property Path</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseElementPropertyPath(ElementPropertyPath object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>EObject</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} //BlocksSwitch
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/constraintblocks/ConstraintBlock.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/constraintblocks/ConstraintBlock.java new file mode 100644 index 0000000..8fbc7fd --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/constraintblocks/ConstraintBlock.java
@@ -0,0 +1,40 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.constraintblocks; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.papyrus.sysml.blocks.Block; + +import org.eclipse.uml2.uml.Property; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Constraint Block</b></em>'. + * <!-- end-user-doc --> + * + * + * @see org.eclipse.papyrus.sysml.constraintblocks.ConstraintblocksPackage#getConstraintBlock() + * @model + * @generated + */ +public interface ConstraintBlock extends Block { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @model kind="operation" ordered="false" + * @generated + */ + EList<Property> getParameters(); + +} // ConstraintBlock
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/constraintblocks/ConstraintblocksFactory.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/constraintblocks/ConstraintblocksFactory.java new file mode 100644 index 0000000..998bf4c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/constraintblocks/ConstraintblocksFactory.java
@@ -0,0 +1,52 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.constraintblocks; + +import org.eclipse.emf.ecore.EFactory; + +/** + * <!-- begin-user-doc --> + * The <b>Factory</b> for the model. + * It provides a create method for each non-abstract class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.constraintblocks.ConstraintblocksPackage + * @generated + */ +public interface ConstraintblocksFactory extends EFactory { + /** + * The singleton instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + ConstraintblocksFactory eINSTANCE = org.eclipse.papyrus.sysml.constraintblocks.internal.impl.ConstraintblocksFactoryImpl.init(); + + /** + * Returns a new object of class '<em>Constraint Block</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Constraint Block</em>'. + * @generated + */ + ConstraintBlock createConstraintBlock(); + + /** + * Returns the package supported by this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the package supported by this factory. + * @generated + */ + ConstraintblocksPackage getConstraintblocksPackage(); + +} //ConstraintblocksFactory
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/constraintblocks/ConstraintblocksPackage.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/constraintblocks/ConstraintblocksPackage.java new file mode 100644 index 0000000..dceedaa --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/constraintblocks/ConstraintblocksPackage.java
@@ -0,0 +1,217 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.constraintblocks; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EOperation; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; + +/** + * <!-- begin-user-doc --> + * The <b>Package</b> for the model. + * It contains accessors for the meta objects to represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each operation of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.constraintblocks.ConstraintblocksFactory + * @model kind="package" + * annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='ConstraintBlocks'" + * @generated + */ +public interface ConstraintblocksPackage extends EPackage { + /** + * The package name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNAME = "constraintblocks"; //$NON-NLS-1$ + + /** + * The package namespace URI. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_URI = "http://www.eclipse.org/papyrus/sysml/1.5/SysML/ConstraintBlocks"; //$NON-NLS-1$ + + /** + * The package namespace name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_PREFIX = "ConstraintBlocks"; //$NON-NLS-1$ + + /** + * The singleton instance of the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + ConstraintblocksPackage eINSTANCE = org.eclipse.papyrus.sysml.constraintblocks.internal.impl.ConstraintblocksPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.constraintblocks.internal.impl.ConstraintBlockImpl <em>Constraint Block</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.constraintblocks.internal.impl.ConstraintBlockImpl + * @see org.eclipse.papyrus.sysml.constraintblocks.internal.impl.ConstraintblocksPackageImpl#getConstraintBlock() + * @generated + */ + int CONSTRAINT_BLOCK = 0; + + /** + * The feature id for the '<em><b>Base Class</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONSTRAINT_BLOCK__BASE_CLASS = BlocksPackage.BLOCK__BASE_CLASS; + + /** + * The feature id for the '<em><b>Is Encapsulated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONSTRAINT_BLOCK__IS_ENCAPSULATED = BlocksPackage.BLOCK__IS_ENCAPSULATED; + + /** + * The number of structural features of the '<em>Constraint Block</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONSTRAINT_BLOCK_FEATURE_COUNT = BlocksPackage.BLOCK_FEATURE_COUNT + 0; + + /** + * The operation id for the '<em>Get References</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONSTRAINT_BLOCK___GET_REFERENCES = BlocksPackage.BLOCK___GET_REFERENCES; + + /** + * The operation id for the '<em>Get Parts</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONSTRAINT_BLOCK___GET_PARTS = BlocksPackage.BLOCK___GET_PARTS; + + /** + * The operation id for the '<em>Get Flow Properties</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONSTRAINT_BLOCK___GET_FLOW_PROPERTIES = BlocksPackage.BLOCK___GET_FLOW_PROPERTIES; + + /** + * The operation id for the '<em>Get Parameters</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONSTRAINT_BLOCK___GET_PARAMETERS = BlocksPackage.BLOCK_OPERATION_COUNT + 0; + + /** + * The number of operations of the '<em>Constraint Block</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONSTRAINT_BLOCK_OPERATION_COUNT = BlocksPackage.BLOCK_OPERATION_COUNT + 1; + + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.constraintblocks.ConstraintBlock <em>Constraint Block</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Constraint Block</em>'. + * @see org.eclipse.papyrus.sysml.constraintblocks.ConstraintBlock + * @generated + */ + EClass getConstraintBlock(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.constraintblocks.ConstraintBlock#getParameters() <em>Get Parameters</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Parameters</em>' operation. + * @see org.eclipse.papyrus.sysml.constraintblocks.ConstraintBlock#getParameters() + * @generated + */ + EOperation getConstraintBlock__GetParameters(); + + /** + * Returns the factory that creates the instances of the model. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the factory that creates the instances of the model. + * @generated + */ + ConstraintblocksFactory getConstraintblocksFactory(); + + /** + * <!-- begin-user-doc --> + * Defines literals for the meta objects that represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each operation of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.constraintblocks.internal.impl.ConstraintBlockImpl <em>Constraint Block</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.constraintblocks.internal.impl.ConstraintBlockImpl + * @see org.eclipse.papyrus.sysml.constraintblocks.internal.impl.ConstraintblocksPackageImpl#getConstraintBlock() + * @generated + */ + EClass CONSTRAINT_BLOCK = eINSTANCE.getConstraintBlock(); + + /** + * The meta object literal for the '<em><b>Get Parameters</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation CONSTRAINT_BLOCK___GET_PARAMETERS = eINSTANCE.getConstraintBlock__GetParameters(); + + } + +} //ConstraintblocksPackage
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/constraintblocks/internal/impl/ConstraintBlockImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/constraintblocks/internal/impl/ConstraintBlockImpl.java new file mode 100644 index 0000000..0d4ddce --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/constraintblocks/internal/impl/ConstraintBlockImpl.java
@@ -0,0 +1,80 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.constraintblocks.internal.impl; + +import java.lang.reflect.InvocationTargetException; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.papyrus.sysml.blocks.internal.impl.BlockImpl; + +import org.eclipse.papyrus.sysml.constraintblocks.ConstraintBlock; +import org.eclipse.papyrus.sysml.constraintblocks.ConstraintblocksPackage; + +import org.eclipse.uml2.uml.Property; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Constraint Block</b></em>'. + * <!-- end-user-doc --> + * + * @generated + */ +public class ConstraintBlockImpl extends BlockImpl implements ConstraintBlock { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ConstraintBlockImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ConstraintblocksPackage.Literals.CONSTRAINT_BLOCK; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Property> getParameters() { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case ConstraintblocksPackage.CONSTRAINT_BLOCK___GET_PARAMETERS: + return getParameters(); + } + return super.eInvoke(operationID, arguments); + } + +} //ConstraintBlockImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/constraintblocks/internal/impl/ConstraintblocksFactoryImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/constraintblocks/internal/impl/ConstraintblocksFactoryImpl.java new file mode 100644 index 0000000..25d805d --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/constraintblocks/internal/impl/ConstraintblocksFactoryImpl.java
@@ -0,0 +1,105 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.constraintblocks.internal.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.papyrus.sysml.constraintblocks.*; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Factory</b>. + * <!-- end-user-doc --> + * @generated + */ +public class ConstraintblocksFactoryImpl extends EFactoryImpl implements ConstraintblocksFactory { + /** + * Creates the default factory implementation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static ConstraintblocksFactory init() { + try { + ConstraintblocksFactory theConstraintblocksFactory = (ConstraintblocksFactory)EPackage.Registry.INSTANCE.getEFactory(ConstraintblocksPackage.eNS_URI); + if (theConstraintblocksFactory != null) { + return theConstraintblocksFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new ConstraintblocksFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ConstraintblocksFactoryImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case ConstraintblocksPackage.CONSTRAINT_BLOCK: return createConstraintBlock(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ConstraintBlock createConstraintBlock() { + ConstraintBlockImpl constraintBlock = new ConstraintBlockImpl(); + return constraintBlock; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ConstraintblocksPackage getConstraintblocksPackage() { + return (ConstraintblocksPackage)getEPackage(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @deprecated + * @generated + */ + @Deprecated + public static ConstraintblocksPackage getPackage() { + return ConstraintblocksPackage.eINSTANCE; + } + +} //ConstraintblocksFactoryImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/constraintblocks/internal/impl/ConstraintblocksPackageImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/constraintblocks/internal/impl/ConstraintblocksPackageImpl.java new file mode 100644 index 0000000..892054c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/constraintblocks/internal/impl/ConstraintblocksPackageImpl.java
@@ -0,0 +1,274 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.constraintblocks.internal.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EOperation; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EcorePackage; + +import org.eclipse.emf.ecore.impl.EPackageImpl; +import org.eclipse.papyrus.sysml.SysMLPackage; +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; + +import org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl; + +import org.eclipse.papyrus.sysml.allocations.AllocationsPackage; + +import org.eclipse.papyrus.sysml.allocations.internal.impl.AllocationsPackageImpl; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; + +import org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl; + +import org.eclipse.papyrus.sysml.constraintblocks.ConstraintBlock; +import org.eclipse.papyrus.sysml.constraintblocks.ConstraintblocksFactory; +import org.eclipse.papyrus.sysml.constraintblocks.ConstraintblocksPackage; + +import org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsPackage; + +import org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.DeprecatedelementsPackageImpl; +import org.eclipse.papyrus.sysml.internal.impl.SysMLPackageImpl; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; + +import org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl; + +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; + +import org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl; + +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; + +import org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl; + +import org.eclipse.uml2.types.TypesPackage; + +import org.eclipse.uml2.uml.UMLPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Package</b>. + * <!-- end-user-doc --> + * @generated + */ +public class ConstraintblocksPackageImpl extends EPackageImpl implements ConstraintblocksPackage { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass constraintBlockEClass = null; + + /** + * Creates an instance of the model <b>Package</b>, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + * <p>Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.papyrus.sysml.constraintblocks.ConstraintblocksPackage#eNS_URI + * @see #init() + * @generated + */ + private ConstraintblocksPackageImpl() { + super(eNS_URI, ConstraintblocksFactory.eINSTANCE); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. + * + * <p>This method is used to initialize {@link ConstraintblocksPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static ConstraintblocksPackage init() { + if (isInited) return (ConstraintblocksPackage)EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI); + + // Obtain or create and register package + ConstraintblocksPackageImpl theConstraintblocksPackage = (ConstraintblocksPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ConstraintblocksPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ConstraintblocksPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + EcorePackage.eINSTANCE.eClass(); + TypesPackage.eINSTANCE.eClass(); + UMLPackage.eINSTANCE.eClass(); + + // Obtain or create and register interdependencies + SysMLPackageImpl theSysMLPackage = (SysMLPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SysMLPackage.eNS_URI) instanceof SysMLPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysMLPackage.eNS_URI) : SysMLPackage.eINSTANCE); + PortsandflowsPackageImpl thePortsandflowsPackage = (PortsandflowsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) instanceof PortsandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) : PortsandflowsPackage.eINSTANCE); + BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE); + ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) : ActivitiesPackage.eINSTANCE); + AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) : AllocationsPackage.eINSTANCE); + RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE); + ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE); + DeprecatedelementsPackageImpl theDeprecatedelementsPackage = (DeprecatedelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) instanceof DeprecatedelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) : DeprecatedelementsPackage.eINSTANCE); + + // Create package meta-data objects + theConstraintblocksPackage.createPackageContents(); + theSysMLPackage.createPackageContents(); + thePortsandflowsPackage.createPackageContents(); + theBlocksPackage.createPackageContents(); + theActivitiesPackage.createPackageContents(); + theAllocationsPackage.createPackageContents(); + theRequirementsPackage.createPackageContents(); + theModelelementsPackage.createPackageContents(); + theDeprecatedelementsPackage.createPackageContents(); + + // Initialize created meta-data + theConstraintblocksPackage.initializePackageContents(); + theSysMLPackage.initializePackageContents(); + thePortsandflowsPackage.initializePackageContents(); + theBlocksPackage.initializePackageContents(); + theActivitiesPackage.initializePackageContents(); + theAllocationsPackage.initializePackageContents(); + theRequirementsPackage.initializePackageContents(); + theModelelementsPackage.initializePackageContents(); + theDeprecatedelementsPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theConstraintblocksPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(ConstraintblocksPackage.eNS_URI, theConstraintblocksPackage); + return theConstraintblocksPackage; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getConstraintBlock() { + return constraintBlockEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getConstraintBlock__GetParameters() { + return constraintBlockEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ConstraintblocksFactory getConstraintblocksFactory() { + return (ConstraintblocksFactory)getEFactoryInstance(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + constraintBlockEClass = createEClass(CONSTRAINT_BLOCK); + createEOperation(constraintBlockEClass, CONSTRAINT_BLOCK___GET_PARAMETERS); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + BlocksPackage theBlocksPackage = (BlocksPackage)EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI); + UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + constraintBlockEClass.getESuperTypes().add(theBlocksPackage.getBlock()); + + // Initialize classes, features, and operations; add parameters + initEClass(constraintBlockEClass, ConstraintBlock.class, "ConstraintBlock", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + + initEOperation(getConstraintBlock__GetParameters(), theUMLPackage.getProperty(), "getParameters", 0, -1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ + + // Create annotations + // http://www.eclipse.org/uml2/2.0.0/UML + createUMLAnnotations(); + } + + /** + * Initializes the annotations for <b>http://www.eclipse.org/uml2/2.0.0/UML</b>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void createUMLAnnotations() { + String source = "http://www.eclipse.org/uml2/2.0.0/UML"; //$NON-NLS-1$ + addAnnotation + (this, + source, + new String[] { + "originalName", "ConstraintBlocks" //$NON-NLS-1$ //$NON-NLS-2$ + }); + } + +} //ConstraintblocksPackageImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/constraintblocks/util/ConstraintblocksAdapterFactory.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/constraintblocks/util/ConstraintblocksAdapterFactory.java new file mode 100644 index 0000000..ce2d4c0 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/constraintblocks/util/ConstraintblocksAdapterFactory.java
@@ -0,0 +1,150 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.constraintblocks.util; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.papyrus.sysml.blocks.Block; + +import org.eclipse.papyrus.sysml.constraintblocks.*; + +/** + * <!-- begin-user-doc --> + * The <b>Adapter Factory</b> for the model. + * It provides an adapter <code>createXXX</code> method for each class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.constraintblocks.ConstraintblocksPackage + * @generated + */ +public class ConstraintblocksAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static ConstraintblocksPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ConstraintblocksAdapterFactory() { + if (modelPackage == null) { + modelPackage = ConstraintblocksPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * <!-- begin-user-doc --> + * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. + * <!-- end-user-doc --> + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the <code>createXXX</code> methods. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ConstraintblocksSwitch<Adapter> modelSwitch = + new ConstraintblocksSwitch<Adapter>() { + @Override + public Adapter caseConstraintBlock(ConstraintBlock object) { + return createConstraintBlockAdapter(); + } + @Override + public Adapter caseBlock(Block object) { + return createBlockAdapter(); + } + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the <code>target</code>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param target the object to adapt. + * @return the adapter for the <code>target</code>. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject)target); + } + + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.constraintblocks.ConstraintBlock <em>Constraint Block</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.constraintblocks.ConstraintBlock + * @generated + */ + public Adapter createConstraintBlockAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.blocks.Block <em>Block</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.blocks.Block + * @generated + */ + public Adapter createBlockAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * <!-- begin-user-doc --> + * This default implementation returns null. + * <!-- end-user-doc --> + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //ConstraintblocksAdapterFactory
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/constraintblocks/util/ConstraintblocksSwitch.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/constraintblocks/util/ConstraintblocksSwitch.java new file mode 100644 index 0000000..d02a742 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/constraintblocks/util/ConstraintblocksSwitch.java
@@ -0,0 +1,138 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.constraintblocks.util; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +import org.eclipse.papyrus.sysml.blocks.Block; + +import org.eclipse.papyrus.sysml.constraintblocks.*; + +/** + * <!-- begin-user-doc --> + * The <b>Switch</b> for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the <code>caseXXX</code> method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.constraintblocks.ConstraintblocksPackage + * @generated + */ +public class ConstraintblocksSwitch<T> extends Switch<T> { + /** + * The cached model package + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static ConstraintblocksPackage modelPackage; + + /** + * Creates an instance of the switch. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ConstraintblocksSwitch() { + if (modelPackage == null) { + modelPackage = ConstraintblocksPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the first non-null result returned by a <code>caseXXX</code> call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case ConstraintblocksPackage.CONSTRAINT_BLOCK: { + ConstraintBlock constraintBlock = (ConstraintBlock)theEObject; + T result = caseConstraintBlock(constraintBlock); + if (result == null) result = caseBlock(constraintBlock); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Constraint Block</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Constraint Block</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConstraintBlock(ConstraintBlock object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Block</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Block</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseBlock(Block object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>EObject</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} //ConstraintblocksSwitch
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/DeprecatedelementsFactory.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/DeprecatedelementsFactory.java new file mode 100644 index 0000000..79f0d76 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/DeprecatedelementsFactory.java
@@ -0,0 +1,61 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.deprecatedelements; + +import org.eclipse.emf.ecore.EFactory; + +/** + * <!-- begin-user-doc --> + * The <b>Factory</b> for the model. + * It provides a create method for each non-abstract class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsPackage + * @generated + */ +public interface DeprecatedelementsFactory extends EFactory { + /** + * The singleton instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + DeprecatedelementsFactory eINSTANCE = org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.DeprecatedelementsFactoryImpl.init(); + + /** + * Returns a new object of class '<em>Flow Port</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Flow Port</em>'. + * @generated + */ + FlowPort createFlowPort(); + + /** + * Returns a new object of class '<em>Flow Specification</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Flow Specification</em>'. + * @generated + */ + FlowSpecification createFlowSpecification(); + + /** + * Returns the package supported by this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the package supported by this factory. + * @generated + */ + DeprecatedelementsPackage getDeprecatedelementsPackage(); + +} //DeprecatedelementsFactory
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/DeprecatedelementsPackage.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/DeprecatedelementsPackage.java new file mode 100644 index 0000000..a5e79b9 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/DeprecatedelementsPackage.java
@@ -0,0 +1,359 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.deprecatedelements; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EOperation; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * <!-- begin-user-doc --> + * The <b>Package</b> for the model. + * It contains accessors for the meta objects to represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each operation of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsFactory + * @model kind="package" + * annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='DeprecatedElements'" + * @generated + */ +public interface DeprecatedelementsPackage extends EPackage { + /** + * The package name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNAME = "deprecatedelements"; //$NON-NLS-1$ + + /** + * The package namespace URI. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_URI = "http://www.eclipse.org/papyrus/sysml/1.5/SysML/DeprecatedElements"; //$NON-NLS-1$ + + /** + * The package namespace name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_PREFIX = "DeprecatedElements"; //$NON-NLS-1$ + + /** + * The singleton instance of the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + DeprecatedelementsPackage eINSTANCE = org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.DeprecatedelementsPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.FlowPortImpl <em>Flow Port</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.FlowPortImpl + * @see org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.DeprecatedelementsPackageImpl#getFlowPort() + * @generated + */ + int FLOW_PORT = 0; + + /** + * The feature id for the '<em><b>Base Port</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FLOW_PORT__BASE_PORT = 0; + + /** + * The feature id for the '<em><b>Direction</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FLOW_PORT__DIRECTION = 1; + + /** + * The feature id for the '<em><b>Is Atomic</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FLOW_PORT__IS_ATOMIC = 2; + + /** + * The number of structural features of the '<em>Flow Port</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FLOW_PORT_FEATURE_COUNT = 3; + + /** + * The operation id for the '<em>Get Icon</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FLOW_PORT___GET_ICON = 0; + + /** + * The number of operations of the '<em>Flow Port</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FLOW_PORT_OPERATION_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.FlowSpecificationImpl <em>Flow Specification</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.FlowSpecificationImpl + * @see org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.DeprecatedelementsPackageImpl#getFlowSpecification() + * @generated + */ + int FLOW_SPECIFICATION = 1; + + /** + * The feature id for the '<em><b>Base Interface</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FLOW_SPECIFICATION__BASE_INTERFACE = 0; + + /** + * The number of structural features of the '<em>Flow Specification</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FLOW_SPECIFICATION_FEATURE_COUNT = 1; + + /** + * The operation id for the '<em>Get Flow Properties</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FLOW_SPECIFICATION___GET_FLOW_PROPERTIES = 0; + + /** + * The number of operations of the '<em>Flow Specification</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FLOW_SPECIFICATION_OPERATION_COUNT = 1; + + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.deprecatedelements.FlowPort <em>Flow Port</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Flow Port</em>'. + * @see org.eclipse.papyrus.sysml.deprecatedelements.FlowPort + * @generated + */ + EClass getFlowPort(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.deprecatedelements.FlowPort#getBase_Port <em>Base Port</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Port</em>'. + * @see org.eclipse.papyrus.sysml.deprecatedelements.FlowPort#getBase_Port() + * @see #getFlowPort() + * @generated + */ + EReference getFlowPort_Base_Port(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml.deprecatedelements.FlowPort#getDirection <em>Direction</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Direction</em>'. + * @see org.eclipse.papyrus.sysml.deprecatedelements.FlowPort#getDirection() + * @see #getFlowPort() + * @generated + */ + EAttribute getFlowPort_Direction(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml.deprecatedelements.FlowPort#isAtomic <em>Is Atomic</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Is Atomic</em>'. + * @see org.eclipse.papyrus.sysml.deprecatedelements.FlowPort#isAtomic() + * @see #getFlowPort() + * @generated + */ + EAttribute getFlowPort_IsAtomic(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.deprecatedelements.FlowPort#getIcon() <em>Get Icon</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Icon</em>' operation. + * @see org.eclipse.papyrus.sysml.deprecatedelements.FlowPort#getIcon() + * @generated + */ + EOperation getFlowPort__GetIcon(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.deprecatedelements.FlowSpecification <em>Flow Specification</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Flow Specification</em>'. + * @see org.eclipse.papyrus.sysml.deprecatedelements.FlowSpecification + * @generated + */ + EClass getFlowSpecification(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.deprecatedelements.FlowSpecification#getBase_Interface <em>Base Interface</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Interface</em>'. + * @see org.eclipse.papyrus.sysml.deprecatedelements.FlowSpecification#getBase_Interface() + * @see #getFlowSpecification() + * @generated + */ + EReference getFlowSpecification_Base_Interface(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.deprecatedelements.FlowSpecification#getFlowProperties() <em>Get Flow Properties</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Flow Properties</em>' operation. + * @see org.eclipse.papyrus.sysml.deprecatedelements.FlowSpecification#getFlowProperties() + * @generated + */ + EOperation getFlowSpecification__GetFlowProperties(); + + /** + * Returns the factory that creates the instances of the model. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the factory that creates the instances of the model. + * @generated + */ + DeprecatedelementsFactory getDeprecatedelementsFactory(); + + /** + * <!-- begin-user-doc --> + * Defines literals for the meta objects that represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each operation of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.FlowPortImpl <em>Flow Port</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.FlowPortImpl + * @see org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.DeprecatedelementsPackageImpl#getFlowPort() + * @generated + */ + EClass FLOW_PORT = eINSTANCE.getFlowPort(); + + /** + * The meta object literal for the '<em><b>Base Port</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference FLOW_PORT__BASE_PORT = eINSTANCE.getFlowPort_Base_Port(); + + /** + * The meta object literal for the '<em><b>Direction</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute FLOW_PORT__DIRECTION = eINSTANCE.getFlowPort_Direction(); + + /** + * The meta object literal for the '<em><b>Is Atomic</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute FLOW_PORT__IS_ATOMIC = eINSTANCE.getFlowPort_IsAtomic(); + + /** + * The meta object literal for the '<em><b>Get Icon</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation FLOW_PORT___GET_ICON = eINSTANCE.getFlowPort__GetIcon(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.FlowSpecificationImpl <em>Flow Specification</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.FlowSpecificationImpl + * @see org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.DeprecatedelementsPackageImpl#getFlowSpecification() + * @generated + */ + EClass FLOW_SPECIFICATION = eINSTANCE.getFlowSpecification(); + + /** + * The meta object literal for the '<em><b>Base Interface</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference FLOW_SPECIFICATION__BASE_INTERFACE = eINSTANCE.getFlowSpecification_Base_Interface(); + + /** + * The meta object literal for the '<em><b>Get Flow Properties</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation FLOW_SPECIFICATION___GET_FLOW_PROPERTIES = eINSTANCE.getFlowSpecification__GetFlowProperties(); + + } + +} //DeprecatedelementsPackage
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/FlowPort.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/FlowPort.java new file mode 100644 index 0000000..e5c6125 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/FlowPort.java
@@ -0,0 +1,120 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.deprecatedelements; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.papyrus.sysml.portsandflows.FlowDirection; + +import org.eclipse.uml2.uml.Image; +import org.eclipse.uml2.uml.Port; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Flow Port</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.deprecatedelements.FlowPort#getBase_Port <em>Base Port</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.deprecatedelements.FlowPort#getDirection <em>Direction</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.deprecatedelements.FlowPort#isAtomic <em>Is Atomic</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsPackage#getFlowPort() + * @model + * @generated + */ +public interface FlowPort extends EObject { + /** + * Returns the value of the '<em><b>Base Port</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Port</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Port</em>' reference. + * @see #setBase_Port(Port) + * @see org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsPackage#getFlowPort_Base_Port() + * @model required="true" ordered="false" + * @generated + */ + Port getBase_Port(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.deprecatedelements.FlowPort#getBase_Port <em>Base Port</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Port</em>' reference. + * @see #getBase_Port() + * @generated + */ + void setBase_Port(Port value); + + /** + * Returns the value of the '<em><b>Direction</b></em>' attribute. + * The default value is <code>"inout"</code>. + * The literals are from the enumeration {@link org.eclipse.papyrus.sysml.portsandflows.FlowDirection}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Direction</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Direction</em>' attribute. + * @see org.eclipse.papyrus.sysml.portsandflows.FlowDirection + * @see #setDirection(FlowDirection) + * @see org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsPackage#getFlowPort_Direction() + * @model default="inout" required="true" ordered="false" + * @generated + */ + FlowDirection getDirection(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.deprecatedelements.FlowPort#getDirection <em>Direction</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Direction</em>' attribute. + * @see org.eclipse.papyrus.sysml.portsandflows.FlowDirection + * @see #getDirection() + * @generated + */ + void setDirection(FlowDirection value); + + /** + * Returns the value of the '<em><b>Is Atomic</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Is Atomic</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Is Atomic</em>' attribute. + * @see org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsPackage#getFlowPort_IsAtomic() + * @model dataType="org.eclipse.uml2.types.Boolean" required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false" + * @generated + */ + boolean isAtomic(); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @model kind="operation" required="true" ordered="false" + * @generated + */ + Image getIcon(); + +} // FlowPort
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/FlowSpecification.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/FlowSpecification.java new file mode 100644 index 0000000..8edbf6a --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/FlowSpecification.java
@@ -0,0 +1,73 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.deprecatedelements; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Interface; +import org.eclipse.uml2.uml.Property; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Flow Specification</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.deprecatedelements.FlowSpecification#getBase_Interface <em>Base Interface</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsPackage#getFlowSpecification() + * @model + * @generated + */ +public interface FlowSpecification extends EObject { + /** + * Returns the value of the '<em><b>Base Interface</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Interface</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Interface</em>' reference. + * @see #setBase_Interface(Interface) + * @see org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsPackage#getFlowSpecification_Base_Interface() + * @model required="true" ordered="false" + * @generated + */ + Interface getBase_Interface(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.deprecatedelements.FlowSpecification#getBase_Interface <em>Base Interface</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Interface</em>' reference. + * @see #getBase_Interface() + * @generated + */ + void setBase_Interface(Interface value); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @model kind="operation" ordered="false" + * @generated + */ + EList<Property> getFlowProperties(); + +} // FlowSpecification
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/internal/impl/DeprecatedelementsFactoryImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/internal/impl/DeprecatedelementsFactoryImpl.java new file mode 100644 index 0000000..8ed7ca4 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/internal/impl/DeprecatedelementsFactoryImpl.java
@@ -0,0 +1,116 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.deprecatedelements.internal.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.papyrus.sysml.deprecatedelements.*; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Factory</b>. + * <!-- end-user-doc --> + * @generated + */ +public class DeprecatedelementsFactoryImpl extends EFactoryImpl implements DeprecatedelementsFactory { + /** + * Creates the default factory implementation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static DeprecatedelementsFactory init() { + try { + DeprecatedelementsFactory theDeprecatedelementsFactory = (DeprecatedelementsFactory)EPackage.Registry.INSTANCE.getEFactory(DeprecatedelementsPackage.eNS_URI); + if (theDeprecatedelementsFactory != null) { + return theDeprecatedelementsFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new DeprecatedelementsFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DeprecatedelementsFactoryImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case DeprecatedelementsPackage.FLOW_PORT: return createFlowPort(); + case DeprecatedelementsPackage.FLOW_SPECIFICATION: return createFlowSpecification(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FlowPort createFlowPort() { + FlowPortImpl flowPort = new FlowPortImpl(); + return flowPort; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FlowSpecification createFlowSpecification() { + FlowSpecificationImpl flowSpecification = new FlowSpecificationImpl(); + return flowSpecification; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DeprecatedelementsPackage getDeprecatedelementsPackage() { + return (DeprecatedelementsPackage)getEPackage(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @deprecated + * @generated + */ + @Deprecated + public static DeprecatedelementsPackage getPackage() { + return DeprecatedelementsPackage.eINSTANCE; + } + +} //DeprecatedelementsFactoryImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/internal/impl/DeprecatedelementsPackageImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/internal/impl/DeprecatedelementsPackageImpl.java new file mode 100644 index 0000000..d165bba --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/internal/impl/DeprecatedelementsPackageImpl.java
@@ -0,0 +1,353 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.deprecatedelements.internal.impl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EOperation; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.EcorePackage; + +import org.eclipse.emf.ecore.impl.EPackageImpl; +import org.eclipse.papyrus.sysml.SysMLPackage; +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; + +import org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl; + +import org.eclipse.papyrus.sysml.allocations.AllocationsPackage; + +import org.eclipse.papyrus.sysml.allocations.internal.impl.AllocationsPackageImpl; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; + +import org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl; + +import org.eclipse.papyrus.sysml.constraintblocks.ConstraintblocksPackage; + +import org.eclipse.papyrus.sysml.constraintblocks.internal.impl.ConstraintblocksPackageImpl; + +import org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsFactory; +import org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsPackage; +import org.eclipse.papyrus.sysml.deprecatedelements.FlowPort; +import org.eclipse.papyrus.sysml.deprecatedelements.FlowSpecification; +import org.eclipse.papyrus.sysml.internal.impl.SysMLPackageImpl; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; + +import org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl; + +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; + +import org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl; + +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; + +import org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl; + +import org.eclipse.uml2.types.TypesPackage; + +import org.eclipse.uml2.uml.UMLPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Package</b>. + * <!-- end-user-doc --> + * @generated + */ +public class DeprecatedelementsPackageImpl extends EPackageImpl implements DeprecatedelementsPackage { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass flowPortEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass flowSpecificationEClass = null; + + /** + * Creates an instance of the model <b>Package</b>, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + * <p>Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsPackage#eNS_URI + * @see #init() + * @generated + */ + private DeprecatedelementsPackageImpl() { + super(eNS_URI, DeprecatedelementsFactory.eINSTANCE); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. + * + * <p>This method is used to initialize {@link DeprecatedelementsPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static DeprecatedelementsPackage init() { + if (isInited) return (DeprecatedelementsPackage)EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI); + + // Obtain or create and register package + DeprecatedelementsPackageImpl theDeprecatedelementsPackage = (DeprecatedelementsPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof DeprecatedelementsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new DeprecatedelementsPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + EcorePackage.eINSTANCE.eClass(); + TypesPackage.eINSTANCE.eClass(); + UMLPackage.eINSTANCE.eClass(); + + // Obtain or create and register interdependencies + SysMLPackageImpl theSysMLPackage = (SysMLPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SysMLPackage.eNS_URI) instanceof SysMLPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysMLPackage.eNS_URI) : SysMLPackage.eINSTANCE); + PortsandflowsPackageImpl thePortsandflowsPackage = (PortsandflowsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) instanceof PortsandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) : PortsandflowsPackage.eINSTANCE); + BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE); + ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) : ActivitiesPackage.eINSTANCE); + AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) : AllocationsPackage.eINSTANCE); + RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE); + ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE); + ConstraintblocksPackageImpl theConstraintblocksPackage = (ConstraintblocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) instanceof ConstraintblocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) : ConstraintblocksPackage.eINSTANCE); + + // Create package meta-data objects + theDeprecatedelementsPackage.createPackageContents(); + theSysMLPackage.createPackageContents(); + thePortsandflowsPackage.createPackageContents(); + theBlocksPackage.createPackageContents(); + theActivitiesPackage.createPackageContents(); + theAllocationsPackage.createPackageContents(); + theRequirementsPackage.createPackageContents(); + theModelelementsPackage.createPackageContents(); + theConstraintblocksPackage.createPackageContents(); + + // Initialize created meta-data + theDeprecatedelementsPackage.initializePackageContents(); + theSysMLPackage.initializePackageContents(); + thePortsandflowsPackage.initializePackageContents(); + theBlocksPackage.initializePackageContents(); + theActivitiesPackage.initializePackageContents(); + theAllocationsPackage.initializePackageContents(); + theRequirementsPackage.initializePackageContents(); + theModelelementsPackage.initializePackageContents(); + theConstraintblocksPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theDeprecatedelementsPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(DeprecatedelementsPackage.eNS_URI, theDeprecatedelementsPackage); + return theDeprecatedelementsPackage; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getFlowPort() { + return flowPortEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getFlowPort_Base_Port() { + return (EReference)flowPortEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getFlowPort_Direction() { + return (EAttribute)flowPortEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getFlowPort_IsAtomic() { + return (EAttribute)flowPortEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getFlowPort__GetIcon() { + return flowPortEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getFlowSpecification() { + return flowSpecificationEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getFlowSpecification_Base_Interface() { + return (EReference)flowSpecificationEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getFlowSpecification__GetFlowProperties() { + return flowSpecificationEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DeprecatedelementsFactory getDeprecatedelementsFactory() { + return (DeprecatedelementsFactory)getEFactoryInstance(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + flowPortEClass = createEClass(FLOW_PORT); + createEReference(flowPortEClass, FLOW_PORT__BASE_PORT); + createEAttribute(flowPortEClass, FLOW_PORT__DIRECTION); + createEAttribute(flowPortEClass, FLOW_PORT__IS_ATOMIC); + createEOperation(flowPortEClass, FLOW_PORT___GET_ICON); + + flowSpecificationEClass = createEClass(FLOW_SPECIFICATION); + createEReference(flowSpecificationEClass, FLOW_SPECIFICATION__BASE_INTERFACE); + createEOperation(flowSpecificationEClass, FLOW_SPECIFICATION___GET_FLOW_PROPERTIES); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); + PortsandflowsPackage thePortsandflowsPackage = (PortsandflowsPackage)EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI); + TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + + // Initialize classes, features, and operations; add parameters + initEClass(flowPortEClass, FlowPort.class, "FlowPort", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getFlowPort_Base_Port(), theUMLPackage.getPort(), null, "base_Port", null, 1, 1, FlowPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getFlowPort_Direction(), thePortsandflowsPackage.getFlowDirection(), "direction", "inout", 1, 1, FlowPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ + initEAttribute(getFlowPort_IsAtomic(), theTypesPackage.getBoolean(), "isAtomic", null, 1, 1, FlowPort.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEOperation(getFlowPort__GetIcon(), theUMLPackage.getImage(), "getIcon", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(flowSpecificationEClass, FlowSpecification.class, "FlowSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getFlowSpecification_Base_Interface(), theUMLPackage.getInterface(), null, "base_Interface", null, 1, 1, FlowSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEOperation(getFlowSpecification__GetFlowProperties(), theUMLPackage.getProperty(), "getFlowProperties", 0, -1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ + + // Create annotations + // http://www.eclipse.org/uml2/2.0.0/UML + createUMLAnnotations(); + } + + /** + * Initializes the annotations for <b>http://www.eclipse.org/uml2/2.0.0/UML</b>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void createUMLAnnotations() { + String source = "http://www.eclipse.org/uml2/2.0.0/UML"; //$NON-NLS-1$ + addAnnotation + (this, + source, + new String[] { + "originalName", "DeprecatedElements" //$NON-NLS-1$ //$NON-NLS-2$ + }); + } + +} //DeprecatedelementsPackageImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/internal/impl/FlowPortImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/internal/impl/FlowPortImpl.java new file mode 100644 index 0000000..c94a026 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/internal/impl/FlowPortImpl.java
@@ -0,0 +1,294 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.deprecatedelements.internal.impl; + +import java.lang.reflect.InvocationTargetException; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsPackage; +import org.eclipse.papyrus.sysml.deprecatedelements.FlowPort; + +import org.eclipse.papyrus.sysml.portsandflows.FlowDirection; + +import org.eclipse.uml2.uml.Image; +import org.eclipse.uml2.uml.Port; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Flow Port</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.FlowPortImpl#getBase_Port <em>Base Port</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.FlowPortImpl#getDirection <em>Direction</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.FlowPortImpl#isAtomic <em>Is Atomic</em>}</li> + * </ul> + * + * @generated + */ +public class FlowPortImpl extends MinimalEObjectImpl.Container implements FlowPort { + /** + * The cached value of the '{@link #getBase_Port() <em>Base Port</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Port() + * @generated + * @ordered + */ + protected Port base_Port; + + /** + * The default value of the '{@link #getDirection() <em>Direction</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDirection() + * @generated + * @ordered + */ + protected static final FlowDirection DIRECTION_EDEFAULT = FlowDirection.INOUT; + + /** + * The cached value of the '{@link #getDirection() <em>Direction</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDirection() + * @generated + * @ordered + */ + protected FlowDirection direction = DIRECTION_EDEFAULT; + + /** + * The default value of the '{@link #isAtomic() <em>Is Atomic</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isAtomic() + * @generated + * @ordered + */ + protected static final boolean IS_ATOMIC_EDEFAULT = false; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected FlowPortImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return DeprecatedelementsPackage.Literals.FLOW_PORT; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Port getBase_Port() { + if (base_Port != null && base_Port.eIsProxy()) { + InternalEObject oldBase_Port = (InternalEObject)base_Port; + base_Port = (Port)eResolveProxy(oldBase_Port); + if (base_Port != oldBase_Port) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, DeprecatedelementsPackage.FLOW_PORT__BASE_PORT, oldBase_Port, base_Port)); + } + } + return base_Port; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Port basicGetBase_Port() { + return base_Port; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Port(Port newBase_Port) { + Port oldBase_Port = base_Port; + base_Port = newBase_Port; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DeprecatedelementsPackage.FLOW_PORT__BASE_PORT, oldBase_Port, base_Port)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FlowDirection getDirection() { + return direction; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDirection(FlowDirection newDirection) { + FlowDirection oldDirection = direction; + direction = newDirection == null ? DIRECTION_EDEFAULT : newDirection; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DeprecatedelementsPackage.FLOW_PORT__DIRECTION, oldDirection, direction)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isAtomic() { + // TODO: implement this method to return the 'Is Atomic' attribute + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Image getIcon() { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case DeprecatedelementsPackage.FLOW_PORT__BASE_PORT: + if (resolve) return getBase_Port(); + return basicGetBase_Port(); + case DeprecatedelementsPackage.FLOW_PORT__DIRECTION: + return getDirection(); + case DeprecatedelementsPackage.FLOW_PORT__IS_ATOMIC: + return isAtomic(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case DeprecatedelementsPackage.FLOW_PORT__BASE_PORT: + setBase_Port((Port)newValue); + return; + case DeprecatedelementsPackage.FLOW_PORT__DIRECTION: + setDirection((FlowDirection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case DeprecatedelementsPackage.FLOW_PORT__BASE_PORT: + setBase_Port((Port)null); + return; + case DeprecatedelementsPackage.FLOW_PORT__DIRECTION: + setDirection(DIRECTION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case DeprecatedelementsPackage.FLOW_PORT__BASE_PORT: + return base_Port != null; + case DeprecatedelementsPackage.FLOW_PORT__DIRECTION: + return direction != DIRECTION_EDEFAULT; + case DeprecatedelementsPackage.FLOW_PORT__IS_ATOMIC: + return isAtomic() != IS_ATOMIC_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case DeprecatedelementsPackage.FLOW_PORT___GET_ICON: + return getIcon(); + } + return super.eInvoke(operationID, arguments); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (direction: "); //$NON-NLS-1$ + result.append(direction); + result.append(')'); + return result.toString(); + } + +} //FlowPortImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/internal/impl/FlowSpecificationImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/internal/impl/FlowSpecificationImpl.java new file mode 100644 index 0000000..b28aec3 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/internal/impl/FlowSpecificationImpl.java
@@ -0,0 +1,198 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.deprecatedelements.internal.impl; + +import java.lang.reflect.InvocationTargetException; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsPackage; +import org.eclipse.papyrus.sysml.deprecatedelements.FlowSpecification; + +import org.eclipse.uml2.uml.Interface; +import org.eclipse.uml2.uml.Property; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Flow Specification</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.FlowSpecificationImpl#getBase_Interface <em>Base Interface</em>}</li> + * </ul> + * + * @generated + */ +public class FlowSpecificationImpl extends MinimalEObjectImpl.Container implements FlowSpecification { + /** + * The cached value of the '{@link #getBase_Interface() <em>Base Interface</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Interface() + * @generated + * @ordered + */ + protected Interface base_Interface; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected FlowSpecificationImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return DeprecatedelementsPackage.Literals.FLOW_SPECIFICATION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Interface getBase_Interface() { + if (base_Interface != null && base_Interface.eIsProxy()) { + InternalEObject oldBase_Interface = (InternalEObject)base_Interface; + base_Interface = (Interface)eResolveProxy(oldBase_Interface); + if (base_Interface != oldBase_Interface) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, DeprecatedelementsPackage.FLOW_SPECIFICATION__BASE_INTERFACE, oldBase_Interface, base_Interface)); + } + } + return base_Interface; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Interface basicGetBase_Interface() { + return base_Interface; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Interface(Interface newBase_Interface) { + Interface oldBase_Interface = base_Interface; + base_Interface = newBase_Interface; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, DeprecatedelementsPackage.FLOW_SPECIFICATION__BASE_INTERFACE, oldBase_Interface, base_Interface)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Property> getFlowProperties() { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case DeprecatedelementsPackage.FLOW_SPECIFICATION__BASE_INTERFACE: + if (resolve) return getBase_Interface(); + return basicGetBase_Interface(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case DeprecatedelementsPackage.FLOW_SPECIFICATION__BASE_INTERFACE: + setBase_Interface((Interface)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case DeprecatedelementsPackage.FLOW_SPECIFICATION__BASE_INTERFACE: + setBase_Interface((Interface)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case DeprecatedelementsPackage.FLOW_SPECIFICATION__BASE_INTERFACE: + return base_Interface != null; + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case DeprecatedelementsPackage.FLOW_SPECIFICATION___GET_FLOW_PROPERTIES: + return getFlowProperties(); + } + return super.eInvoke(operationID, arguments); + } + +} //FlowSpecificationImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/util/DeprecatedelementsAdapterFactory.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/util/DeprecatedelementsAdapterFactory.java new file mode 100644 index 0000000..8f269ea --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/util/DeprecatedelementsAdapterFactory.java
@@ -0,0 +1,148 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.deprecatedelements.util; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.papyrus.sysml.deprecatedelements.*; + +/** + * <!-- begin-user-doc --> + * The <b>Adapter Factory</b> for the model. + * It provides an adapter <code>createXXX</code> method for each class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsPackage + * @generated + */ +public class DeprecatedelementsAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static DeprecatedelementsPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DeprecatedelementsAdapterFactory() { + if (modelPackage == null) { + modelPackage = DeprecatedelementsPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * <!-- begin-user-doc --> + * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. + * <!-- end-user-doc --> + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the <code>createXXX</code> methods. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DeprecatedelementsSwitch<Adapter> modelSwitch = + new DeprecatedelementsSwitch<Adapter>() { + @Override + public Adapter caseFlowPort(FlowPort object) { + return createFlowPortAdapter(); + } + @Override + public Adapter caseFlowSpecification(FlowSpecification object) { + return createFlowSpecificationAdapter(); + } + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the <code>target</code>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param target the object to adapt. + * @return the adapter for the <code>target</code>. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject)target); + } + + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.deprecatedelements.FlowPort <em>Flow Port</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.deprecatedelements.FlowPort + * @generated + */ + public Adapter createFlowPortAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.deprecatedelements.FlowSpecification <em>Flow Specification</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.deprecatedelements.FlowSpecification + * @generated + */ + public Adapter createFlowSpecificationAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * <!-- begin-user-doc --> + * This default implementation returns null. + * <!-- end-user-doc --> + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //DeprecatedelementsAdapterFactory
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/util/DeprecatedelementsSwitch.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/util/DeprecatedelementsSwitch.java new file mode 100644 index 0000000..c828084 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/deprecatedelements/util/DeprecatedelementsSwitch.java
@@ -0,0 +1,141 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.deprecatedelements.util; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +import org.eclipse.papyrus.sysml.deprecatedelements.*; + +/** + * <!-- begin-user-doc --> + * The <b>Switch</b> for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the <code>caseXXX</code> method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsPackage + * @generated + */ +public class DeprecatedelementsSwitch<T> extends Switch<T> { + /** + * The cached model package + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static DeprecatedelementsPackage modelPackage; + + /** + * Creates an instance of the switch. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DeprecatedelementsSwitch() { + if (modelPackage == null) { + modelPackage = DeprecatedelementsPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the first non-null result returned by a <code>caseXXX</code> call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case DeprecatedelementsPackage.FLOW_PORT: { + FlowPort flowPort = (FlowPort)theEObject; + T result = caseFlowPort(flowPort); + if (result == null) result = defaultCase(theEObject); + return result; + } + case DeprecatedelementsPackage.FLOW_SPECIFICATION: { + FlowSpecification flowSpecification = (FlowSpecification)theEObject; + T result = caseFlowSpecification(flowSpecification); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Flow Port</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Flow Port</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseFlowPort(FlowPort object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Flow Specification</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Flow Specification</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseFlowSpecification(FlowSpecification object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>EObject</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} //DeprecatedelementsSwitch
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/internal/impl/SysMLFactoryImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/internal/impl/SysMLFactoryImpl.java new file mode 100644 index 0000000..79b5263 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/internal/impl/SysMLFactoryImpl.java
@@ -0,0 +1,145 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.internal.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.papyrus.sysml.*; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Factory</b>. + * <!-- end-user-doc --> + * @generated + */ +public class SysMLFactoryImpl extends EFactoryImpl implements SysMLFactory { + /** + * Creates the default factory implementation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static SysMLFactory init() { + try { + SysMLFactory theSysMLFactory = (SysMLFactory)EPackage.Registry.INSTANCE.getEFactory(SysMLPackage.eNS_URI); + if (theSysMLFactory != null) { + return theSysMLFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new SysMLFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public SysMLFactoryImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) { + switch (eDataType.getClassifierID()) { + case SysMLPackage.DUMMY: + return createDummyFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) { + switch (eDataType.getClassifierID()) { + case SysMLPackage.DUMMY: + return convertDummyToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Dummy createDummyFromString(EDataType eDataType, String initialValue) { + Dummy result = Dummy.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + return result; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String convertDummyToString(EDataType eDataType, Object instanceValue) { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public SysMLPackage getSysMLPackage() { + return (SysMLPackage)getEPackage(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @deprecated + * @generated + */ + @Deprecated + public static SysMLPackage getPackage() { + return SysMLPackage.eINSTANCE; + } + +} //SysMLFactoryImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/internal/impl/SysMLPackageImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/internal/impl/SysMLPackageImpl.java new file mode 100644 index 0000000..11673f6 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/internal/impl/SysMLPackageImpl.java
@@ -0,0 +1,277 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.internal.impl; + +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EcorePackage; + +import org.eclipse.emf.ecore.impl.EPackageImpl; + +import org.eclipse.papyrus.sysml.Dummy; +import org.eclipse.papyrus.sysml.SysMLFactory; +import org.eclipse.papyrus.sysml.SysMLPackage; + +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; + +import org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl; + +import org.eclipse.papyrus.sysml.allocations.AllocationsPackage; + +import org.eclipse.papyrus.sysml.allocations.internal.impl.AllocationsPackageImpl; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; + +import org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl; + +import org.eclipse.papyrus.sysml.constraintblocks.ConstraintblocksPackage; + +import org.eclipse.papyrus.sysml.constraintblocks.internal.impl.ConstraintblocksPackageImpl; + +import org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsPackage; + +import org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.DeprecatedelementsPackageImpl; + +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; + +import org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl; + +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; + +import org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl; + +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; + +import org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl; + +import org.eclipse.uml2.types.TypesPackage; + +import org.eclipse.uml2.uml.UMLPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Package</b>. + * <!-- end-user-doc --> + * @generated + */ +public class SysMLPackageImpl extends EPackageImpl implements SysMLPackage { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EEnum dummyEEnum = null; + + /** + * Creates an instance of the model <b>Package</b>, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + * <p>Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.papyrus.sysml.SysMLPackage#eNS_URI + * @see #init() + * @generated + */ + private SysMLPackageImpl() { + super(eNS_URI, SysMLFactory.eINSTANCE); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. + * + * <p>This method is used to initialize {@link SysMLPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static SysMLPackage init() { + if (isInited) return (SysMLPackage)EPackage.Registry.INSTANCE.getEPackage(SysMLPackage.eNS_URI); + + // Obtain or create and register package + SysMLPackageImpl theSysMLPackage = (SysMLPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof SysMLPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new SysMLPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + EcorePackage.eINSTANCE.eClass(); + TypesPackage.eINSTANCE.eClass(); + UMLPackage.eINSTANCE.eClass(); + + // Obtain or create and register interdependencies + PortsandflowsPackageImpl thePortsandflowsPackage = (PortsandflowsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) instanceof PortsandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) : PortsandflowsPackage.eINSTANCE); + BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE); + ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) : ActivitiesPackage.eINSTANCE); + AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) : AllocationsPackage.eINSTANCE); + RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE); + ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE); + DeprecatedelementsPackageImpl theDeprecatedelementsPackage = (DeprecatedelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) instanceof DeprecatedelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) : DeprecatedelementsPackage.eINSTANCE); + ConstraintblocksPackageImpl theConstraintblocksPackage = (ConstraintblocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) instanceof ConstraintblocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) : ConstraintblocksPackage.eINSTANCE); + + // Create package meta-data objects + theSysMLPackage.createPackageContents(); + thePortsandflowsPackage.createPackageContents(); + theBlocksPackage.createPackageContents(); + theActivitiesPackage.createPackageContents(); + theAllocationsPackage.createPackageContents(); + theRequirementsPackage.createPackageContents(); + theModelelementsPackage.createPackageContents(); + theDeprecatedelementsPackage.createPackageContents(); + theConstraintblocksPackage.createPackageContents(); + + // Initialize created meta-data + theSysMLPackage.initializePackageContents(); + thePortsandflowsPackage.initializePackageContents(); + theBlocksPackage.initializePackageContents(); + theActivitiesPackage.initializePackageContents(); + theAllocationsPackage.initializePackageContents(); + theRequirementsPackage.initializePackageContents(); + theModelelementsPackage.initializePackageContents(); + theDeprecatedelementsPackage.initializePackageContents(); + theConstraintblocksPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theSysMLPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(SysMLPackage.eNS_URI, theSysMLPackage); + return theSysMLPackage; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EEnum getDummy() { + return dummyEEnum; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public SysMLFactory getSysMLFactory() { + return (SysMLFactory)getEFactoryInstance(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create enums + dummyEEnum = createEEnum(DUMMY); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + PortsandflowsPackage thePortsandflowsPackage = (PortsandflowsPackage)EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI); + BlocksPackage theBlocksPackage = (BlocksPackage)EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI); + ActivitiesPackage theActivitiesPackage = (ActivitiesPackage)EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI); + AllocationsPackage theAllocationsPackage = (AllocationsPackage)EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI); + RequirementsPackage theRequirementsPackage = (RequirementsPackage)EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI); + ModelelementsPackage theModelelementsPackage = (ModelelementsPackage)EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI); + DeprecatedelementsPackage theDeprecatedelementsPackage = (DeprecatedelementsPackage)EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI); + ConstraintblocksPackage theConstraintblocksPackage = (ConstraintblocksPackage)EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI); + + // Add subpackages + getESubpackages().add(thePortsandflowsPackage); + getESubpackages().add(theBlocksPackage); + getESubpackages().add(theActivitiesPackage); + getESubpackages().add(theAllocationsPackage); + getESubpackages().add(theRequirementsPackage); + getESubpackages().add(theModelelementsPackage); + getESubpackages().add(theDeprecatedelementsPackage); + getESubpackages().add(theConstraintblocksPackage); + + // Initialize enums and add enum literals + initEEnum(dummyEEnum, Dummy.class, "Dummy"); //$NON-NLS-1$ + + // Create resource + createResource(eNS_URI); + + // Create annotations + // http://www.eclipse.org/uml2/2.0.0/UML + createUMLAnnotations(); + } + + /** + * Initializes the annotations for <b>http://www.eclipse.org/uml2/2.0.0/UML</b>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void createUMLAnnotations() { + String source = "http://www.eclipse.org/uml2/2.0.0/UML"; //$NON-NLS-1$ + addAnnotation + (this, + source, + new String[] { + "originalName", "SysML" //$NON-NLS-1$ //$NON-NLS-2$ + }); + } + +} //SysMLPackageImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/Conform.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/Conform.java new file mode 100644 index 0000000..ace74df --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/Conform.java
@@ -0,0 +1,62 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Generalization; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Conform</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.Conform#getBase_Generalization <em>Base Generalization</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getConform() + * @model + * @generated + */ +public interface Conform extends EObject { + /** + * Returns the value of the '<em><b>Base Generalization</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Generalization</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Generalization</em>' reference. + * @see #setBase_Generalization(Generalization) + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getConform_Base_Generalization() + * @model ordered="false" + * @generated + */ + Generalization getBase_Generalization(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.modelelements.Conform#getBase_Generalization <em>Base Generalization</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Generalization</em>' reference. + * @see #getBase_Generalization() + * @generated + */ + void setBase_Generalization(Generalization value); + +} // Conform
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/ElementGroup.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/ElementGroup.java new file mode 100644 index 0000000..7986348 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/ElementGroup.java
@@ -0,0 +1,190 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Comment; +import org.eclipse.uml2.uml.Element; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Element Group</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.ElementGroup#getBase_Comment <em>Base Comment</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.ElementGroup#getCriterion <em>Criterion</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.ElementGroup#getMember <em>Member</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.ElementGroup#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.ElementGroup#getOrderedMemeber <em>Ordered Memeber</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.ElementGroup#getSize <em>Size</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getElementGroup() + * @model + * @generated + */ +public interface ElementGroup extends EObject { + /** + * Returns the value of the '<em><b>Base Comment</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Comment</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Comment</em>' reference. + * @see #setBase_Comment(Comment) + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getElementGroup_Base_Comment() + * @model ordered="false" + * @generated + */ + Comment getBase_Comment(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.modelelements.ElementGroup#getBase_Comment <em>Base Comment</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Comment</em>' reference. + * @see #getBase_Comment() + * @generated + */ + void setBase_Comment(Comment value); + + /** + * Returns the value of the '<em><b>Criterion</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Criterion</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Criterion</em>' attribute. + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getElementGroup_Criterion() + * @model dataType="org.eclipse.uml2.types.String" required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false" + * @generated + */ + String getCriterion(); + + /** + * Returns the value of the '<em><b>Member</b></em>' reference list. + * The list contents are of type {@link org.eclipse.uml2.uml.Element}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Member</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Member</em>' reference list. + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getElementGroup_Member() + * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" + * @generated + */ + EList<Element> getMember(); + + /** + * Returns the value of the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Name</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Name</em>' attribute. + * @see #setName(String) + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getElementGroup_Name() + * @model dataType="org.eclipse.uml2.types.String" required="true" ordered="false" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.modelelements.ElementGroup#getName <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Name</em>' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the '<em><b>Ordered Memeber</b></em>' reference list. + * The list contents are of type {@link org.eclipse.uml2.uml.Element}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Ordered Memeber</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Ordered Memeber</em>' reference list. + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getElementGroup_OrderedMemeber() + * @model + * @generated + */ + EList<Element> getOrderedMemeber(); + + /** + * Returns the value of the '<em><b>Size</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Size</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Size</em>' attribute. + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getElementGroup_Size() + * @model dataType="org.eclipse.uml2.types.Integer" required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false" + * @generated + */ + int getSize(); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @model ordered="false" eRequired="true" eOrdered="false" + * @generated + */ + EList<ElementGroup> allGroups(Element e); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @model dataType="org.eclipse.uml2.types.String" ordered="false" + * @generated + */ + String criterion(); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @model ordered="false" + * @generated + */ + EList<Element> member(); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @model dataType="org.eclipse.uml2.types.Integer" required="true" ordered="false" + * @generated + */ + int size(); + +} // ElementGroup
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/Expose.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/Expose.java new file mode 100644 index 0000000..da453e2 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/Expose.java
@@ -0,0 +1,62 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Dependency; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Expose</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.Expose#getBase_Dependency <em>Base Dependency</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getExpose() + * @model + * @generated + */ +public interface Expose extends EObject { + /** + * Returns the value of the '<em><b>Base Dependency</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Dependency</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Dependency</em>' reference. + * @see #setBase_Dependency(Dependency) + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getExpose_Base_Dependency() + * @model ordered="false" + * @generated + */ + Dependency getBase_Dependency(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.modelelements.Expose#getBase_Dependency <em>Base Dependency</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Dependency</em>' reference. + * @see #getBase_Dependency() + * @generated + */ + void setBase_Dependency(Dependency value); + +} // Expose
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/ModelelementsFactory.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/ModelelementsFactory.java new file mode 100644 index 0000000..d2e1e01 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/ModelelementsFactory.java
@@ -0,0 +1,115 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements; + +import org.eclipse.emf.ecore.EFactory; + +/** + * <!-- begin-user-doc --> + * The <b>Factory</b> for the model. + * It provides a create method for each non-abstract class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage + * @generated + */ +public interface ModelelementsFactory extends EFactory { + /** + * The singleton instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + ModelelementsFactory eINSTANCE = org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsFactoryImpl.init(); + + /** + * Returns a new object of class '<em>Conform</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Conform</em>'. + * @generated + */ + Conform createConform(); + + /** + * Returns a new object of class '<em>Problem</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Problem</em>'. + * @generated + */ + Problem createProblem(); + + /** + * Returns a new object of class '<em>Viewpoint</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Viewpoint</em>'. + * @generated + */ + Viewpoint createViewpoint(); + + /** + * Returns a new object of class '<em>Stakeholder</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Stakeholder</em>'. + * @generated + */ + Stakeholder createStakeholder(); + + /** + * Returns a new object of class '<em>Rationale</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Rationale</em>'. + * @generated + */ + Rationale createRationale(); + + /** + * Returns a new object of class '<em>Expose</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Expose</em>'. + * @generated + */ + Expose createExpose(); + + /** + * Returns a new object of class '<em>View</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>View</em>'. + * @generated + */ + View createView(); + + /** + * Returns a new object of class '<em>Element Group</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Element Group</em>'. + * @generated + */ + ElementGroup createElementGroup(); + + /** + * Returns the package supported by this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the package supported by this factory. + * @generated + */ + ModelelementsPackage getModelelementsPackage(); + +} //ModelelementsFactory
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/ModelelementsPackage.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/ModelelementsPackage.java new file mode 100644 index 0000000..4be4fe5 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/ModelelementsPackage.java
@@ -0,0 +1,1261 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EOperation; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * <!-- begin-user-doc --> + * The <b>Package</b> for the model. + * It contains accessors for the meta objects to represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each operation of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsFactory + * @model kind="package" + * annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='ModelElements'" + * @generated + */ +public interface ModelelementsPackage extends EPackage { + /** + * The package name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNAME = "modelelements"; //$NON-NLS-1$ + + /** + * The package namespace URI. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_URI = "http://www.eclipse.org/papyrus/sysml/1.5/SysML/ModelElements"; //$NON-NLS-1$ + + /** + * The package namespace name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_PREFIX = "ModelElements"; //$NON-NLS-1$ + + /** + * The singleton instance of the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + ModelelementsPackage eINSTANCE = org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ConformImpl <em>Conform</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ConformImpl + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl#getConform() + * @generated + */ + int CONFORM = 0; + + /** + * The feature id for the '<em><b>Base Generalization</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONFORM__BASE_GENERALIZATION = 0; + + /** + * The number of structural features of the '<em>Conform</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONFORM_FEATURE_COUNT = 1; + + /** + * The number of operations of the '<em>Conform</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONFORM_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ProblemImpl <em>Problem</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ProblemImpl + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl#getProblem() + * @generated + */ + int PROBLEM = 1; + + /** + * The feature id for the '<em><b>Base Comment</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROBLEM__BASE_COMMENT = 0; + + /** + * The number of structural features of the '<em>Problem</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROBLEM_FEATURE_COUNT = 1; + + /** + * The number of operations of the '<em>Problem</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROBLEM_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewpointImpl <em>Viewpoint</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewpointImpl + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl#getViewpoint() + * @generated + */ + int VIEWPOINT = 2; + + /** + * The feature id for the '<em><b>Base Class</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEWPOINT__BASE_CLASS = 0; + + /** + * The feature id for the '<em><b>Concern</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEWPOINT__CONCERN = 1; + + /** + * The feature id for the '<em><b>Concern List</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEWPOINT__CONCERN_LIST = 2; + + /** + * The feature id for the '<em><b>Language</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEWPOINT__LANGUAGE = 3; + + /** + * The feature id for the '<em><b>Method</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEWPOINT__METHOD = 4; + + /** + * The feature id for the '<em><b>Presentation</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEWPOINT__PRESENTATION = 5; + + /** + * The feature id for the '<em><b>Purpose</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEWPOINT__PURPOSE = 6; + + /** + * The feature id for the '<em><b>Stakeholder</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEWPOINT__STAKEHOLDER = 7; + + /** + * The number of structural features of the '<em>Viewpoint</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEWPOINT_FEATURE_COUNT = 8; + + /** + * The number of operations of the '<em>Viewpoint</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEWPOINT_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.StakeholderImpl <em>Stakeholder</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.StakeholderImpl + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl#getStakeholder() + * @generated + */ + int STAKEHOLDER = 3; + + /** + * The feature id for the '<em><b>Base Classifier</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int STAKEHOLDER__BASE_CLASSIFIER = 0; + + /** + * The feature id for the '<em><b>Concern</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int STAKEHOLDER__CONCERN = 1; + + /** + * The feature id for the '<em><b>Concern List</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int STAKEHOLDER__CONCERN_LIST = 2; + + /** + * The number of structural features of the '<em>Stakeholder</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int STAKEHOLDER_FEATURE_COUNT = 3; + + /** + * The number of operations of the '<em>Stakeholder</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int STAKEHOLDER_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.RationaleImpl <em>Rationale</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.RationaleImpl + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl#getRationale() + * @generated + */ + int RATIONALE = 4; + + /** + * The feature id for the '<em><b>Base Comment</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RATIONALE__BASE_COMMENT = 0; + + /** + * The number of structural features of the '<em>Rationale</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RATIONALE_FEATURE_COUNT = 1; + + /** + * The number of operations of the '<em>Rationale</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RATIONALE_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ExposeImpl <em>Expose</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ExposeImpl + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl#getExpose() + * @generated + */ + int EXPOSE = 5; + + /** + * The feature id for the '<em><b>Base Dependency</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EXPOSE__BASE_DEPENDENCY = 0; + + /** + * The number of structural features of the '<em>Expose</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EXPOSE_FEATURE_COUNT = 1; + + /** + * The number of operations of the '<em>Expose</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int EXPOSE_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewImpl <em>View</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewImpl + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl#getView() + * @generated + */ + int VIEW = 6; + + /** + * The feature id for the '<em><b>Base Class</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW__BASE_CLASS = 0; + + /** + * The feature id for the '<em><b>Stakeholder</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW__STAKEHOLDER = 1; + + /** + * The feature id for the '<em><b>View Point</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW__VIEW_POINT = 2; + + /** + * The number of structural features of the '<em>View</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_FEATURE_COUNT = 3; + + /** + * The number of operations of the '<em>View</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ElementGroupImpl <em>Element Group</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ElementGroupImpl + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl#getElementGroup() + * @generated + */ + int ELEMENT_GROUP = 7; + + /** + * The feature id for the '<em><b>Base Comment</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_GROUP__BASE_COMMENT = 0; + + /** + * The feature id for the '<em><b>Criterion</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_GROUP__CRITERION = 1; + + /** + * The feature id for the '<em><b>Member</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_GROUP__MEMBER = 2; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_GROUP__NAME = 3; + + /** + * The feature id for the '<em><b>Ordered Memeber</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_GROUP__ORDERED_MEMEBER = 4; + + /** + * The feature id for the '<em><b>Size</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_GROUP__SIZE = 5; + + /** + * The number of structural features of the '<em>Element Group</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_GROUP_FEATURE_COUNT = 6; + + /** + * The operation id for the '<em>All Groups</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_GROUP___ALL_GROUPS__ELEMENT = 0; + + /** + * The operation id for the '<em>Criterion</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_GROUP___CRITERION = 1; + + /** + * The operation id for the '<em>Member</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_GROUP___MEMBER = 2; + + /** + * The operation id for the '<em>Size</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_GROUP___SIZE = 3; + + /** + * The number of operations of the '<em>Element Group</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ELEMENT_GROUP_OPERATION_COUNT = 4; + + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.modelelements.Conform <em>Conform</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Conform</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.Conform + * @generated + */ + EClass getConform(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.modelelements.Conform#getBase_Generalization <em>Base Generalization</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Generalization</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.Conform#getBase_Generalization() + * @see #getConform() + * @generated + */ + EReference getConform_Base_Generalization(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.modelelements.Problem <em>Problem</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Problem</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.Problem + * @generated + */ + EClass getProblem(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.modelelements.Problem#getBase_Comment <em>Base Comment</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Comment</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.Problem#getBase_Comment() + * @see #getProblem() + * @generated + */ + EReference getProblem_Base_Comment(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.modelelements.Viewpoint <em>Viewpoint</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Viewpoint</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.Viewpoint + * @generated + */ + EClass getViewpoint(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.modelelements.Viewpoint#getBase_Class <em>Base Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Class</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.Viewpoint#getBase_Class() + * @see #getViewpoint() + * @generated + */ + EReference getViewpoint_Base_Class(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.sysml.modelelements.Viewpoint#getConcern <em>Concern</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Concern</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.Viewpoint#getConcern() + * @see #getViewpoint() + * @generated + */ + EAttribute getViewpoint_Concern(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.modelelements.Viewpoint#getConcernList <em>Concern List</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>Concern List</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.Viewpoint#getConcernList() + * @see #getViewpoint() + * @generated + */ + EReference getViewpoint_ConcernList(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.sysml.modelelements.Viewpoint#getLanguage <em>Language</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Language</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.Viewpoint#getLanguage() + * @see #getViewpoint() + * @generated + */ + EAttribute getViewpoint_Language(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.modelelements.Viewpoint#getMethod <em>Method</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>Method</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.Viewpoint#getMethod() + * @see #getViewpoint() + * @generated + */ + EReference getViewpoint_Method(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.sysml.modelelements.Viewpoint#getPresentation <em>Presentation</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Presentation</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.Viewpoint#getPresentation() + * @see #getViewpoint() + * @generated + */ + EAttribute getViewpoint_Presentation(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml.modelelements.Viewpoint#getPurpose <em>Purpose</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Purpose</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.Viewpoint#getPurpose() + * @see #getViewpoint() + * @generated + */ + EAttribute getViewpoint_Purpose(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.modelelements.Viewpoint#getStakeholder <em>Stakeholder</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>Stakeholder</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.Viewpoint#getStakeholder() + * @see #getViewpoint() + * @generated + */ + EReference getViewpoint_Stakeholder(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.modelelements.Stakeholder <em>Stakeholder</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Stakeholder</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.Stakeholder + * @generated + */ + EClass getStakeholder(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.modelelements.Stakeholder#getBase_Classifier <em>Base Classifier</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Classifier</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.Stakeholder#getBase_Classifier() + * @see #getStakeholder() + * @generated + */ + EReference getStakeholder_Base_Classifier(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.sysml.modelelements.Stakeholder#getConcern <em>Concern</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Concern</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.Stakeholder#getConcern() + * @see #getStakeholder() + * @generated + */ + EAttribute getStakeholder_Concern(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.modelelements.Stakeholder#getConcernList <em>Concern List</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>Concern List</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.Stakeholder#getConcernList() + * @see #getStakeholder() + * @generated + */ + EReference getStakeholder_ConcernList(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.modelelements.Rationale <em>Rationale</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Rationale</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.Rationale + * @generated + */ + EClass getRationale(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.modelelements.Rationale#getBase_Comment <em>Base Comment</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Comment</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.Rationale#getBase_Comment() + * @see #getRationale() + * @generated + */ + EReference getRationale_Base_Comment(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.modelelements.Expose <em>Expose</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Expose</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.Expose + * @generated + */ + EClass getExpose(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.modelelements.Expose#getBase_Dependency <em>Base Dependency</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Dependency</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.Expose#getBase_Dependency() + * @see #getExpose() + * @generated + */ + EReference getExpose_Base_Dependency(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.modelelements.View <em>View</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>View</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.View + * @generated + */ + EClass getView(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.modelelements.View#getBase_Class <em>Base Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Class</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.View#getBase_Class() + * @see #getView() + * @generated + */ + EReference getView_Base_Class(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.modelelements.View#getStakeholder <em>Stakeholder</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>Stakeholder</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.View#getStakeholder() + * @see #getView() + * @generated + */ + EReference getView_Stakeholder(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.modelelements.View#getViewPoint <em>View Point</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>View Point</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.View#getViewPoint() + * @see #getView() + * @generated + */ + EReference getView_ViewPoint(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.modelelements.ElementGroup <em>Element Group</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Element Group</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.ElementGroup + * @generated + */ + EClass getElementGroup(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.modelelements.ElementGroup#getBase_Comment <em>Base Comment</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Comment</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.ElementGroup#getBase_Comment() + * @see #getElementGroup() + * @generated + */ + EReference getElementGroup_Base_Comment(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml.modelelements.ElementGroup#getCriterion <em>Criterion</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Criterion</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.ElementGroup#getCriterion() + * @see #getElementGroup() + * @generated + */ + EAttribute getElementGroup_Criterion(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.modelelements.ElementGroup#getMember <em>Member</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>Member</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.ElementGroup#getMember() + * @see #getElementGroup() + * @generated + */ + EReference getElementGroup_Member(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml.modelelements.ElementGroup#getName <em>Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Name</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.ElementGroup#getName() + * @see #getElementGroup() + * @generated + */ + EAttribute getElementGroup_Name(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.modelelements.ElementGroup#getOrderedMemeber <em>Ordered Memeber</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>Ordered Memeber</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.ElementGroup#getOrderedMemeber() + * @see #getElementGroup() + * @generated + */ + EReference getElementGroup_OrderedMemeber(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml.modelelements.ElementGroup#getSize <em>Size</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Size</em>'. + * @see org.eclipse.papyrus.sysml.modelelements.ElementGroup#getSize() + * @see #getElementGroup() + * @generated + */ + EAttribute getElementGroup_Size(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.modelelements.ElementGroup#allGroups(org.eclipse.uml2.uml.Element) <em>All Groups</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>All Groups</em>' operation. + * @see org.eclipse.papyrus.sysml.modelelements.ElementGroup#allGroups(org.eclipse.uml2.uml.Element) + * @generated + */ + EOperation getElementGroup__AllGroups__Element(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.modelelements.ElementGroup#criterion() <em>Criterion</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Criterion</em>' operation. + * @see org.eclipse.papyrus.sysml.modelelements.ElementGroup#criterion() + * @generated + */ + EOperation getElementGroup__Criterion(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.modelelements.ElementGroup#member() <em>Member</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Member</em>' operation. + * @see org.eclipse.papyrus.sysml.modelelements.ElementGroup#member() + * @generated + */ + EOperation getElementGroup__Member(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.modelelements.ElementGroup#size() <em>Size</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Size</em>' operation. + * @see org.eclipse.papyrus.sysml.modelelements.ElementGroup#size() + * @generated + */ + EOperation getElementGroup__Size(); + + /** + * Returns the factory that creates the instances of the model. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the factory that creates the instances of the model. + * @generated + */ + ModelelementsFactory getModelelementsFactory(); + + /** + * <!-- begin-user-doc --> + * Defines literals for the meta objects that represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each operation of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ConformImpl <em>Conform</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ConformImpl + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl#getConform() + * @generated + */ + EClass CONFORM = eINSTANCE.getConform(); + + /** + * The meta object literal for the '<em><b>Base Generalization</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference CONFORM__BASE_GENERALIZATION = eINSTANCE.getConform_Base_Generalization(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ProblemImpl <em>Problem</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ProblemImpl + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl#getProblem() + * @generated + */ + EClass PROBLEM = eINSTANCE.getProblem(); + + /** + * The meta object literal for the '<em><b>Base Comment</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference PROBLEM__BASE_COMMENT = eINSTANCE.getProblem_Base_Comment(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewpointImpl <em>Viewpoint</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewpointImpl + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl#getViewpoint() + * @generated + */ + EClass VIEWPOINT = eINSTANCE.getViewpoint(); + + /** + * The meta object literal for the '<em><b>Base Class</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference VIEWPOINT__BASE_CLASS = eINSTANCE.getViewpoint_Base_Class(); + + /** + * The meta object literal for the '<em><b>Concern</b></em>' attribute list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute VIEWPOINT__CONCERN = eINSTANCE.getViewpoint_Concern(); + + /** + * The meta object literal for the '<em><b>Concern List</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference VIEWPOINT__CONCERN_LIST = eINSTANCE.getViewpoint_ConcernList(); + + /** + * The meta object literal for the '<em><b>Language</b></em>' attribute list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute VIEWPOINT__LANGUAGE = eINSTANCE.getViewpoint_Language(); + + /** + * The meta object literal for the '<em><b>Method</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference VIEWPOINT__METHOD = eINSTANCE.getViewpoint_Method(); + + /** + * The meta object literal for the '<em><b>Presentation</b></em>' attribute list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute VIEWPOINT__PRESENTATION = eINSTANCE.getViewpoint_Presentation(); + + /** + * The meta object literal for the '<em><b>Purpose</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute VIEWPOINT__PURPOSE = eINSTANCE.getViewpoint_Purpose(); + + /** + * The meta object literal for the '<em><b>Stakeholder</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference VIEWPOINT__STAKEHOLDER = eINSTANCE.getViewpoint_Stakeholder(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.StakeholderImpl <em>Stakeholder</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.StakeholderImpl + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl#getStakeholder() + * @generated + */ + EClass STAKEHOLDER = eINSTANCE.getStakeholder(); + + /** + * The meta object literal for the '<em><b>Base Classifier</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference STAKEHOLDER__BASE_CLASSIFIER = eINSTANCE.getStakeholder_Base_Classifier(); + + /** + * The meta object literal for the '<em><b>Concern</b></em>' attribute list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute STAKEHOLDER__CONCERN = eINSTANCE.getStakeholder_Concern(); + + /** + * The meta object literal for the '<em><b>Concern List</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference STAKEHOLDER__CONCERN_LIST = eINSTANCE.getStakeholder_ConcernList(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.RationaleImpl <em>Rationale</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.RationaleImpl + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl#getRationale() + * @generated + */ + EClass RATIONALE = eINSTANCE.getRationale(); + + /** + * The meta object literal for the '<em><b>Base Comment</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference RATIONALE__BASE_COMMENT = eINSTANCE.getRationale_Base_Comment(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ExposeImpl <em>Expose</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ExposeImpl + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl#getExpose() + * @generated + */ + EClass EXPOSE = eINSTANCE.getExpose(); + + /** + * The meta object literal for the '<em><b>Base Dependency</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference EXPOSE__BASE_DEPENDENCY = eINSTANCE.getExpose_Base_Dependency(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewImpl <em>View</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewImpl + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl#getView() + * @generated + */ + EClass VIEW = eINSTANCE.getView(); + + /** + * The meta object literal for the '<em><b>Base Class</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference VIEW__BASE_CLASS = eINSTANCE.getView_Base_Class(); + + /** + * The meta object literal for the '<em><b>Stakeholder</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference VIEW__STAKEHOLDER = eINSTANCE.getView_Stakeholder(); + + /** + * The meta object literal for the '<em><b>View Point</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference VIEW__VIEW_POINT = eINSTANCE.getView_ViewPoint(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ElementGroupImpl <em>Element Group</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ElementGroupImpl + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl#getElementGroup() + * @generated + */ + EClass ELEMENT_GROUP = eINSTANCE.getElementGroup(); + + /** + * The meta object literal for the '<em><b>Base Comment</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ELEMENT_GROUP__BASE_COMMENT = eINSTANCE.getElementGroup_Base_Comment(); + + /** + * The meta object literal for the '<em><b>Criterion</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ELEMENT_GROUP__CRITERION = eINSTANCE.getElementGroup_Criterion(); + + /** + * The meta object literal for the '<em><b>Member</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ELEMENT_GROUP__MEMBER = eINSTANCE.getElementGroup_Member(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ELEMENT_GROUP__NAME = eINSTANCE.getElementGroup_Name(); + + /** + * The meta object literal for the '<em><b>Ordered Memeber</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ELEMENT_GROUP__ORDERED_MEMEBER = eINSTANCE.getElementGroup_OrderedMemeber(); + + /** + * The meta object literal for the '<em><b>Size</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ELEMENT_GROUP__SIZE = eINSTANCE.getElementGroup_Size(); + + /** + * The meta object literal for the '<em><b>All Groups</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation ELEMENT_GROUP___ALL_GROUPS__ELEMENT = eINSTANCE.getElementGroup__AllGroups__Element(); + + /** + * The meta object literal for the '<em><b>Criterion</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation ELEMENT_GROUP___CRITERION = eINSTANCE.getElementGroup__Criterion(); + + /** + * The meta object literal for the '<em><b>Member</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation ELEMENT_GROUP___MEMBER = eINSTANCE.getElementGroup__Member(); + + /** + * The meta object literal for the '<em><b>Size</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation ELEMENT_GROUP___SIZE = eINSTANCE.getElementGroup__Size(); + + } + +} //ModelelementsPackage
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/Problem.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/Problem.java new file mode 100644 index 0000000..1b63a06 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/Problem.java
@@ -0,0 +1,62 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Comment; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Problem</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.Problem#getBase_Comment <em>Base Comment</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getProblem() + * @model + * @generated + */ +public interface Problem extends EObject { + /** + * Returns the value of the '<em><b>Base Comment</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Comment</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Comment</em>' reference. + * @see #setBase_Comment(Comment) + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getProblem_Base_Comment() + * @model ordered="false" + * @generated + */ + Comment getBase_Comment(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.modelelements.Problem#getBase_Comment <em>Base Comment</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Comment</em>' reference. + * @see #getBase_Comment() + * @generated + */ + void setBase_Comment(Comment value); + +} // Problem
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/Rationale.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/Rationale.java new file mode 100644 index 0000000..a106b3a --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/Rationale.java
@@ -0,0 +1,62 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Comment; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Rationale</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.Rationale#getBase_Comment <em>Base Comment</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getRationale() + * @model + * @generated + */ +public interface Rationale extends EObject { + /** + * Returns the value of the '<em><b>Base Comment</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Comment</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Comment</em>' reference. + * @see #setBase_Comment(Comment) + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getRationale_Base_Comment() + * @model ordered="false" + * @generated + */ + Comment getBase_Comment(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.modelelements.Rationale#getBase_Comment <em>Base Comment</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Comment</em>' reference. + * @see #getBase_Comment() + * @generated + */ + void setBase_Comment(Comment value); + +} // Rationale
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/Stakeholder.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/Stakeholder.java new file mode 100644 index 0000000..bbf574f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/Stakeholder.java
@@ -0,0 +1,99 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.Comment; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Stakeholder</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.Stakeholder#getBase_Classifier <em>Base Classifier</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.Stakeholder#getConcern <em>Concern</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.Stakeholder#getConcernList <em>Concern List</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getStakeholder() + * @model + * @generated + */ +public interface Stakeholder extends EObject { + /** + * Returns the value of the '<em><b>Base Classifier</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Classifier</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Classifier</em>' reference. + * @see #setBase_Classifier(Classifier) + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getStakeholder_Base_Classifier() + * @model ordered="false" + * @generated + */ + Classifier getBase_Classifier(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.modelelements.Stakeholder#getBase_Classifier <em>Base Classifier</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Classifier</em>' reference. + * @see #getBase_Classifier() + * @generated + */ + void setBase_Classifier(Classifier value); + + /** + * Returns the value of the '<em><b>Concern</b></em>' attribute list. + * The list contents are of type {@link java.lang.String}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Concern</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Concern</em>' attribute list. + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getStakeholder_Concern() + * @model dataType="org.eclipse.uml2.types.String" transient="true" changeable="false" volatile="true" derived="true" ordered="false" + * @generated + */ + EList<String> getConcern(); + + /** + * Returns the value of the '<em><b>Concern List</b></em>' reference list. + * The list contents are of type {@link org.eclipse.uml2.uml.Comment}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Concern List</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Concern List</em>' reference list. + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getStakeholder_ConcernList() + * @model ordered="false" + * @generated + */ + EList<Comment> getConcernList(); + +} // Stakeholder
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/View.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/View.java new file mode 100644 index 0000000..061be9c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/View.java
@@ -0,0 +1,95 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>View</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.View#getBase_Class <em>Base Class</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.View#getStakeholder <em>Stakeholder</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.View#getViewPoint <em>View Point</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getView() + * @model + * @generated + */ +public interface View extends EObject { + /** + * Returns the value of the '<em><b>Base Class</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Class</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Class</em>' reference. + * @see #setBase_Class(org.eclipse.uml2.uml.Class) + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getView_Base_Class() + * @model ordered="false" + * @generated + */ + org.eclipse.uml2.uml.Class getBase_Class(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.modelelements.View#getBase_Class <em>Base Class</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Class</em>' reference. + * @see #getBase_Class() + * @generated + */ + void setBase_Class(org.eclipse.uml2.uml.Class value); + + /** + * Returns the value of the '<em><b>Stakeholder</b></em>' reference list. + * The list contents are of type {@link org.eclipse.papyrus.sysml.modelelements.Stakeholder}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Stakeholder</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Stakeholder</em>' reference list. + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getView_Stakeholder() + * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" + * @generated + */ + EList<Stakeholder> getStakeholder(); + + /** + * Returns the value of the '<em><b>View Point</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>View Point</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>View Point</em>' reference. + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getView_ViewPoint() + * @model required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false" + * @generated + */ + Viewpoint getViewPoint(); + +} // View
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/Viewpoint.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/Viewpoint.java new file mode 100644 index 0000000..dc75237 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/Viewpoint.java
@@ -0,0 +1,219 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Behavior; +import org.eclipse.uml2.uml.Comment; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Viewpoint</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.Viewpoint#getBase_Class <em>Base Class</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.Viewpoint#getConcern <em>Concern</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.Viewpoint#getConcernList <em>Concern List</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.Viewpoint#getLanguage <em>Language</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.Viewpoint#getMethod <em>Method</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.Viewpoint#getPresentation <em>Presentation</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.Viewpoint#getPurpose <em>Purpose</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.Viewpoint#getStakeholder <em>Stakeholder</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getViewpoint() + * @model + * @generated + */ +public interface Viewpoint extends EObject { + /** + * Returns the value of the '<em><b>Base Class</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Class</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Class</em>' reference. + * @see #setBase_Class(org.eclipse.uml2.uml.Class) + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getViewpoint_Base_Class() + * @model ordered="false" + * @generated + */ + org.eclipse.uml2.uml.Class getBase_Class(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.modelelements.Viewpoint#getBase_Class <em>Base Class</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Class</em>' reference. + * @see #getBase_Class() + * @generated + */ + void setBase_Class(org.eclipse.uml2.uml.Class value); + + /** + * Returns the value of the '<em><b>Concern</b></em>' attribute list. + * The list contents are of type {@link java.lang.String}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Concern</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Concern</em>' attribute list. + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getViewpoint_Concern() + * @model dataType="org.eclipse.uml2.types.String" transient="true" changeable="false" volatile="true" derived="true" ordered="false" + * @generated + */ + EList<String> getConcern(); + + /** + * Returns the value of the '<em><b>Concern List</b></em>' reference list. + * The list contents are of type {@link org.eclipse.uml2.uml.Comment}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Concern List</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Concern List</em>' reference list. + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getViewpoint_ConcernList() + * @model ordered="false" + * @generated + */ + EList<Comment> getConcernList(); + + /** + * Returns the value of the '<em><b>Language</b></em>' attribute list. + * The list contents are of type {@link java.lang.String}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Language</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Language</em>' attribute list. + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getViewpoint_Language() + * @model dataType="org.eclipse.uml2.types.String" ordered="false" + * @generated + */ + EList<String> getLanguage(); + + /** + * Returns the value of the '<em><b>Method</b></em>' reference list. + * The list contents are of type {@link org.eclipse.uml2.uml.Behavior}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Method</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Method</em>' reference list. + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getViewpoint_Method() + * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" + * @generated + */ + EList<Behavior> getMethod(); + + /** + * Retrieves the first {@link org.eclipse.uml2.uml.Behavior} with the specified '<em><b>Name</b></em>' from the '<em><b>Method</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Behavior} to retrieve, or <code>null</code>. + * @return The first {@link org.eclipse.uml2.uml.Behavior} with the specified '<em><b>Name</b></em>', or <code>null</code>. + * @see #getMethod() + * @generated + */ + Behavior getMethod(String name); + + /** + * Retrieves the first {@link org.eclipse.uml2.uml.Behavior} with the specified '<em><b>Name</b></em>' from the '<em><b>Method</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Behavior} to retrieve, or <code>null</code>. + * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons. + * @param eClass The Ecore class of the {@link org.eclipse.uml2.uml.Behavior} to retrieve, or <code>null</code>. + * @return The first {@link org.eclipse.uml2.uml.Behavior} with the specified '<em><b>Name</b></em>', or <code>null</code>. + * @see #getMethod() + * @generated + */ + Behavior getMethod(String name, boolean ignoreCase, EClass eClass); + + /** + * Returns the value of the '<em><b>Presentation</b></em>' attribute list. + * The list contents are of type {@link java.lang.String}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Presentation</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Presentation</em>' attribute list. + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getViewpoint_Presentation() + * @model dataType="org.eclipse.uml2.types.String" ordered="false" + * @generated + */ + EList<String> getPresentation(); + + /** + * Returns the value of the '<em><b>Purpose</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Purpose</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Purpose</em>' attribute. + * @see #setPurpose(String) + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getViewpoint_Purpose() + * @model dataType="org.eclipse.uml2.types.String" required="true" ordered="false" + * @generated + */ + String getPurpose(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.modelelements.Viewpoint#getPurpose <em>Purpose</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Purpose</em>' attribute. + * @see #getPurpose() + * @generated + */ + void setPurpose(String value); + + /** + * Returns the value of the '<em><b>Stakeholder</b></em>' reference list. + * The list contents are of type {@link org.eclipse.papyrus.sysml.modelelements.Stakeholder}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Stakeholder</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Stakeholder</em>' reference list. + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#getViewpoint_Stakeholder() + * @model ordered="false" + * @generated + */ + EList<Stakeholder> getStakeholder(); + +} // Viewpoint
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/ConformImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/ConformImpl.java new file mode 100644 index 0000000..78083a0 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/ConformImpl.java
@@ -0,0 +1,168 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements.internal.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.sysml.modelelements.Conform; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; + +import org.eclipse.uml2.uml.Generalization; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Conform</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ConformImpl#getBase_Generalization <em>Base Generalization</em>}</li> + * </ul> + * + * @generated + */ +public class ConformImpl extends MinimalEObjectImpl.Container implements Conform { + /** + * The cached value of the '{@link #getBase_Generalization() <em>Base Generalization</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Generalization() + * @generated + * @ordered + */ + protected Generalization base_Generalization; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ConformImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ModelelementsPackage.Literals.CONFORM; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Generalization getBase_Generalization() { + if (base_Generalization != null && base_Generalization.eIsProxy()) { + InternalEObject oldBase_Generalization = (InternalEObject)base_Generalization; + base_Generalization = (Generalization)eResolveProxy(oldBase_Generalization); + if (base_Generalization != oldBase_Generalization) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ModelelementsPackage.CONFORM__BASE_GENERALIZATION, oldBase_Generalization, base_Generalization)); + } + } + return base_Generalization; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Generalization basicGetBase_Generalization() { + return base_Generalization; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Generalization(Generalization newBase_Generalization) { + Generalization oldBase_Generalization = base_Generalization; + base_Generalization = newBase_Generalization; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ModelelementsPackage.CONFORM__BASE_GENERALIZATION, oldBase_Generalization, base_Generalization)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ModelelementsPackage.CONFORM__BASE_GENERALIZATION: + if (resolve) return getBase_Generalization(); + return basicGetBase_Generalization(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ModelelementsPackage.CONFORM__BASE_GENERALIZATION: + setBase_Generalization((Generalization)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ModelelementsPackage.CONFORM__BASE_GENERALIZATION: + setBase_Generalization((Generalization)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ModelelementsPackage.CONFORM__BASE_GENERALIZATION: + return base_Generalization != null; + } + return super.eIsSet(featureID); + } + +} //ConformImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/ElementGroupImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/ElementGroupImpl.java new file mode 100644 index 0000000..368918c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/ElementGroupImpl.java
@@ -0,0 +1,412 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements.internal.impl; + +import java.lang.reflect.InvocationTargetException; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectResolvingEList; + +import org.eclipse.papyrus.sysml.modelelements.ElementGroup; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; + +import org.eclipse.uml2.uml.Comment; +import org.eclipse.uml2.uml.Element; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Element Group</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ElementGroupImpl#getBase_Comment <em>Base Comment</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ElementGroupImpl#getCriterion <em>Criterion</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ElementGroupImpl#getMember <em>Member</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ElementGroupImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ElementGroupImpl#getOrderedMemeber <em>Ordered Memeber</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ElementGroupImpl#getSize <em>Size</em>}</li> + * </ul> + * + * @generated + */ +public class ElementGroupImpl extends MinimalEObjectImpl.Container implements ElementGroup { + /** + * The cached value of the '{@link #getBase_Comment() <em>Base Comment</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Comment() + * @generated + * @ordered + */ + protected Comment base_Comment; + + /** + * The default value of the '{@link #getCriterion() <em>Criterion</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getCriterion() + * @generated + * @ordered + */ + protected static final String CRITERION_EDEFAULT = null; + + /** + * The default value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The cached value of the '{@link #getOrderedMemeber() <em>Ordered Memeber</em>}' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getOrderedMemeber() + * @generated + * @ordered + */ + protected EList<Element> orderedMemeber; + + /** + * The default value of the '{@link #getSize() <em>Size</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getSize() + * @generated + * @ordered + */ + protected static final int SIZE_EDEFAULT = 0; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ElementGroupImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ModelelementsPackage.Literals.ELEMENT_GROUP; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Comment getBase_Comment() { + if (base_Comment != null && base_Comment.eIsProxy()) { + InternalEObject oldBase_Comment = (InternalEObject)base_Comment; + base_Comment = (Comment)eResolveProxy(oldBase_Comment); + if (base_Comment != oldBase_Comment) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ModelelementsPackage.ELEMENT_GROUP__BASE_COMMENT, oldBase_Comment, base_Comment)); + } + } + return base_Comment; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Comment basicGetBase_Comment() { + return base_Comment; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Comment(Comment newBase_Comment) { + Comment oldBase_Comment = base_Comment; + base_Comment = newBase_Comment; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ModelelementsPackage.ELEMENT_GROUP__BASE_COMMENT, oldBase_Comment, base_Comment)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getCriterion() { + // TODO: implement this method to return the 'Criterion' attribute + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Element> getMember() { + // TODO: implement this method to return the 'Member' reference list + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ModelelementsPackage.ELEMENT_GROUP__NAME, oldName, name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Element> getOrderedMemeber() { + if (orderedMemeber == null) { + orderedMemeber = new EObjectResolvingEList<Element>(Element.class, this, ModelelementsPackage.ELEMENT_GROUP__ORDERED_MEMEBER); + } + return orderedMemeber; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public int getSize() { + // TODO: implement this method to return the 'Size' attribute + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<ElementGroup> allGroups(Element e) { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String criterion() { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Element> member() { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public int size() { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ModelelementsPackage.ELEMENT_GROUP__BASE_COMMENT: + if (resolve) return getBase_Comment(); + return basicGetBase_Comment(); + case ModelelementsPackage.ELEMENT_GROUP__CRITERION: + return getCriterion(); + case ModelelementsPackage.ELEMENT_GROUP__MEMBER: + return getMember(); + case ModelelementsPackage.ELEMENT_GROUP__NAME: + return getName(); + case ModelelementsPackage.ELEMENT_GROUP__ORDERED_MEMEBER: + return getOrderedMemeber(); + case ModelelementsPackage.ELEMENT_GROUP__SIZE: + return getSize(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ModelelementsPackage.ELEMENT_GROUP__BASE_COMMENT: + setBase_Comment((Comment)newValue); + return; + case ModelelementsPackage.ELEMENT_GROUP__NAME: + setName((String)newValue); + return; + case ModelelementsPackage.ELEMENT_GROUP__ORDERED_MEMEBER: + getOrderedMemeber().clear(); + getOrderedMemeber().addAll((Collection<? extends Element>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ModelelementsPackage.ELEMENT_GROUP__BASE_COMMENT: + setBase_Comment((Comment)null); + return; + case ModelelementsPackage.ELEMENT_GROUP__NAME: + setName(NAME_EDEFAULT); + return; + case ModelelementsPackage.ELEMENT_GROUP__ORDERED_MEMEBER: + getOrderedMemeber().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ModelelementsPackage.ELEMENT_GROUP__BASE_COMMENT: + return base_Comment != null; + case ModelelementsPackage.ELEMENT_GROUP__CRITERION: + return CRITERION_EDEFAULT == null ? getCriterion() != null : !CRITERION_EDEFAULT.equals(getCriterion()); + case ModelelementsPackage.ELEMENT_GROUP__MEMBER: + return !getMember().isEmpty(); + case ModelelementsPackage.ELEMENT_GROUP__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case ModelelementsPackage.ELEMENT_GROUP__ORDERED_MEMEBER: + return orderedMemeber != null && !orderedMemeber.isEmpty(); + case ModelelementsPackage.ELEMENT_GROUP__SIZE: + return getSize() != SIZE_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case ModelelementsPackage.ELEMENT_GROUP___ALL_GROUPS__ELEMENT: + return allGroups((Element)arguments.get(0)); + case ModelelementsPackage.ELEMENT_GROUP___CRITERION: + return criterion(); + case ModelelementsPackage.ELEMENT_GROUP___MEMBER: + return member(); + case ModelelementsPackage.ELEMENT_GROUP___SIZE: + return size(); + } + return super.eInvoke(operationID, arguments); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); //$NON-NLS-1$ + result.append(name); + result.append(')'); + return result.toString(); + } + +} //ElementGroupImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/ExposeImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/ExposeImpl.java new file mode 100644 index 0000000..56d7b3f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/ExposeImpl.java
@@ -0,0 +1,168 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements.internal.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.sysml.modelelements.Expose; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; + +import org.eclipse.uml2.uml.Dependency; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Expose</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ExposeImpl#getBase_Dependency <em>Base Dependency</em>}</li> + * </ul> + * + * @generated + */ +public class ExposeImpl extends MinimalEObjectImpl.Container implements Expose { + /** + * The cached value of the '{@link #getBase_Dependency() <em>Base Dependency</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Dependency() + * @generated + * @ordered + */ + protected Dependency base_Dependency; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ExposeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ModelelementsPackage.Literals.EXPOSE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Dependency getBase_Dependency() { + if (base_Dependency != null && base_Dependency.eIsProxy()) { + InternalEObject oldBase_Dependency = (InternalEObject)base_Dependency; + base_Dependency = (Dependency)eResolveProxy(oldBase_Dependency); + if (base_Dependency != oldBase_Dependency) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ModelelementsPackage.EXPOSE__BASE_DEPENDENCY, oldBase_Dependency, base_Dependency)); + } + } + return base_Dependency; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Dependency basicGetBase_Dependency() { + return base_Dependency; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Dependency(Dependency newBase_Dependency) { + Dependency oldBase_Dependency = base_Dependency; + base_Dependency = newBase_Dependency; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ModelelementsPackage.EXPOSE__BASE_DEPENDENCY, oldBase_Dependency, base_Dependency)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ModelelementsPackage.EXPOSE__BASE_DEPENDENCY: + if (resolve) return getBase_Dependency(); + return basicGetBase_Dependency(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ModelelementsPackage.EXPOSE__BASE_DEPENDENCY: + setBase_Dependency((Dependency)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ModelelementsPackage.EXPOSE__BASE_DEPENDENCY: + setBase_Dependency((Dependency)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ModelelementsPackage.EXPOSE__BASE_DEPENDENCY: + return base_Dependency != null; + } + return super.eIsSet(featureID); + } + +} //ExposeImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/ModelelementsFactoryImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/ModelelementsFactoryImpl.java new file mode 100644 index 0000000..1a66c2a --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/ModelelementsFactoryImpl.java
@@ -0,0 +1,182 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements.internal.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.papyrus.sysml.modelelements.*; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Factory</b>. + * <!-- end-user-doc --> + * @generated + */ +public class ModelelementsFactoryImpl extends EFactoryImpl implements ModelelementsFactory { + /** + * Creates the default factory implementation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static ModelelementsFactory init() { + try { + ModelelementsFactory theModelelementsFactory = (ModelelementsFactory)EPackage.Registry.INSTANCE.getEFactory(ModelelementsPackage.eNS_URI); + if (theModelelementsFactory != null) { + return theModelelementsFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new ModelelementsFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ModelelementsFactoryImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case ModelelementsPackage.CONFORM: return createConform(); + case ModelelementsPackage.PROBLEM: return createProblem(); + case ModelelementsPackage.VIEWPOINT: return createViewpoint(); + case ModelelementsPackage.STAKEHOLDER: return createStakeholder(); + case ModelelementsPackage.RATIONALE: return createRationale(); + case ModelelementsPackage.EXPOSE: return createExpose(); + case ModelelementsPackage.VIEW: return createView(); + case ModelelementsPackage.ELEMENT_GROUP: return createElementGroup(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Conform createConform() { + ConformImpl conform = new ConformImpl(); + return conform; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Problem createProblem() { + ProblemImpl problem = new ProblemImpl(); + return problem; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Viewpoint createViewpoint() { + ViewpointImpl viewpoint = new ViewpointImpl(); + return viewpoint; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Stakeholder createStakeholder() { + StakeholderImpl stakeholder = new StakeholderImpl(); + return stakeholder; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Rationale createRationale() { + RationaleImpl rationale = new RationaleImpl(); + return rationale; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Expose createExpose() { + ExposeImpl expose = new ExposeImpl(); + return expose; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public View createView() { + ViewImpl view = new ViewImpl(); + return view; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ElementGroup createElementGroup() { + ElementGroupImpl elementGroup = new ElementGroupImpl(); + return elementGroup; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ModelelementsPackage getModelelementsPackage() { + return (ModelelementsPackage)getEPackage(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @deprecated + * @generated + */ + @Deprecated + public static ModelelementsPackage getPackage() { + return ModelelementsPackage.eINSTANCE; + } + +} //ModelelementsFactoryImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/ModelelementsPackageImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/ModelelementsPackageImpl.java new file mode 100644 index 0000000..6e204ec --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/ModelelementsPackageImpl.java
@@ -0,0 +1,723 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements.internal.impl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EOperation; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.EcorePackage; + +import org.eclipse.emf.ecore.impl.EPackageImpl; +import org.eclipse.papyrus.sysml.SysMLPackage; +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; + +import org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl; + +import org.eclipse.papyrus.sysml.allocations.AllocationsPackage; + +import org.eclipse.papyrus.sysml.allocations.internal.impl.AllocationsPackageImpl; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; + +import org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl; + +import org.eclipse.papyrus.sysml.constraintblocks.ConstraintblocksPackage; + +import org.eclipse.papyrus.sysml.constraintblocks.internal.impl.ConstraintblocksPackageImpl; + +import org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsPackage; + +import org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.DeprecatedelementsPackageImpl; +import org.eclipse.papyrus.sysml.internal.impl.SysMLPackageImpl; +import org.eclipse.papyrus.sysml.modelelements.Conform; +import org.eclipse.papyrus.sysml.modelelements.ElementGroup; +import org.eclipse.papyrus.sysml.modelelements.Expose; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsFactory; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; +import org.eclipse.papyrus.sysml.modelelements.Problem; +import org.eclipse.papyrus.sysml.modelelements.Rationale; +import org.eclipse.papyrus.sysml.modelelements.Stakeholder; +import org.eclipse.papyrus.sysml.modelelements.View; +import org.eclipse.papyrus.sysml.modelelements.Viewpoint; + +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; + +import org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl; + +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; + +import org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl; + +import org.eclipse.uml2.types.TypesPackage; + +import org.eclipse.uml2.uml.UMLPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Package</b>. + * <!-- end-user-doc --> + * @generated + */ +public class ModelelementsPackageImpl extends EPackageImpl implements ModelelementsPackage { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass conformEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass problemEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass viewpointEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass stakeholderEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass rationaleEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass exposeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass viewEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass elementGroupEClass = null; + + /** + * Creates an instance of the model <b>Package</b>, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + * <p>Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage#eNS_URI + * @see #init() + * @generated + */ + private ModelelementsPackageImpl() { + super(eNS_URI, ModelelementsFactory.eINSTANCE); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. + * + * <p>This method is used to initialize {@link ModelelementsPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static ModelelementsPackage init() { + if (isInited) return (ModelelementsPackage)EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI); + + // Obtain or create and register package + ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ModelelementsPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + EcorePackage.eINSTANCE.eClass(); + TypesPackage.eINSTANCE.eClass(); + UMLPackage.eINSTANCE.eClass(); + + // Obtain or create and register interdependencies + SysMLPackageImpl theSysMLPackage = (SysMLPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SysMLPackage.eNS_URI) instanceof SysMLPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysMLPackage.eNS_URI) : SysMLPackage.eINSTANCE); + PortsandflowsPackageImpl thePortsandflowsPackage = (PortsandflowsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) instanceof PortsandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) : PortsandflowsPackage.eINSTANCE); + BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE); + ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) : ActivitiesPackage.eINSTANCE); + AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) : AllocationsPackage.eINSTANCE); + RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE); + DeprecatedelementsPackageImpl theDeprecatedelementsPackage = (DeprecatedelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) instanceof DeprecatedelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) : DeprecatedelementsPackage.eINSTANCE); + ConstraintblocksPackageImpl theConstraintblocksPackage = (ConstraintblocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) instanceof ConstraintblocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) : ConstraintblocksPackage.eINSTANCE); + + // Create package meta-data objects + theModelelementsPackage.createPackageContents(); + theSysMLPackage.createPackageContents(); + thePortsandflowsPackage.createPackageContents(); + theBlocksPackage.createPackageContents(); + theActivitiesPackage.createPackageContents(); + theAllocationsPackage.createPackageContents(); + theRequirementsPackage.createPackageContents(); + theDeprecatedelementsPackage.createPackageContents(); + theConstraintblocksPackage.createPackageContents(); + + // Initialize created meta-data + theModelelementsPackage.initializePackageContents(); + theSysMLPackage.initializePackageContents(); + thePortsandflowsPackage.initializePackageContents(); + theBlocksPackage.initializePackageContents(); + theActivitiesPackage.initializePackageContents(); + theAllocationsPackage.initializePackageContents(); + theRequirementsPackage.initializePackageContents(); + theDeprecatedelementsPackage.initializePackageContents(); + theConstraintblocksPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theModelelementsPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(ModelelementsPackage.eNS_URI, theModelelementsPackage); + return theModelelementsPackage; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getConform() { + return conformEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getConform_Base_Generalization() { + return (EReference)conformEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getProblem() { + return problemEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getProblem_Base_Comment() { + return (EReference)problemEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getViewpoint() { + return viewpointEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getViewpoint_Base_Class() { + return (EReference)viewpointEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getViewpoint_Concern() { + return (EAttribute)viewpointEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getViewpoint_ConcernList() { + return (EReference)viewpointEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getViewpoint_Language() { + return (EAttribute)viewpointEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getViewpoint_Method() { + return (EReference)viewpointEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getViewpoint_Presentation() { + return (EAttribute)viewpointEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getViewpoint_Purpose() { + return (EAttribute)viewpointEClass.getEStructuralFeatures().get(6); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getViewpoint_Stakeholder() { + return (EReference)viewpointEClass.getEStructuralFeatures().get(7); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getStakeholder() { + return stakeholderEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getStakeholder_Base_Classifier() { + return (EReference)stakeholderEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getStakeholder_Concern() { + return (EAttribute)stakeholderEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getStakeholder_ConcernList() { + return (EReference)stakeholderEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getRationale() { + return rationaleEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRationale_Base_Comment() { + return (EReference)rationaleEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getExpose() { + return exposeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getExpose_Base_Dependency() { + return (EReference)exposeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getView() { + return viewEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getView_Base_Class() { + return (EReference)viewEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getView_Stakeholder() { + return (EReference)viewEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getView_ViewPoint() { + return (EReference)viewEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getElementGroup() { + return elementGroupEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getElementGroup_Base_Comment() { + return (EReference)elementGroupEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getElementGroup_Criterion() { + return (EAttribute)elementGroupEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getElementGroup_Member() { + return (EReference)elementGroupEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getElementGroup_Name() { + return (EAttribute)elementGroupEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getElementGroup_OrderedMemeber() { + return (EReference)elementGroupEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getElementGroup_Size() { + return (EAttribute)elementGroupEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getElementGroup__AllGroups__Element() { + return elementGroupEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getElementGroup__Criterion() { + return elementGroupEClass.getEOperations().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getElementGroup__Member() { + return elementGroupEClass.getEOperations().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getElementGroup__Size() { + return elementGroupEClass.getEOperations().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ModelelementsFactory getModelelementsFactory() { + return (ModelelementsFactory)getEFactoryInstance(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + conformEClass = createEClass(CONFORM); + createEReference(conformEClass, CONFORM__BASE_GENERALIZATION); + + problemEClass = createEClass(PROBLEM); + createEReference(problemEClass, PROBLEM__BASE_COMMENT); + + viewpointEClass = createEClass(VIEWPOINT); + createEReference(viewpointEClass, VIEWPOINT__BASE_CLASS); + createEAttribute(viewpointEClass, VIEWPOINT__CONCERN); + createEReference(viewpointEClass, VIEWPOINT__CONCERN_LIST); + createEAttribute(viewpointEClass, VIEWPOINT__LANGUAGE); + createEReference(viewpointEClass, VIEWPOINT__METHOD); + createEAttribute(viewpointEClass, VIEWPOINT__PRESENTATION); + createEAttribute(viewpointEClass, VIEWPOINT__PURPOSE); + createEReference(viewpointEClass, VIEWPOINT__STAKEHOLDER); + + stakeholderEClass = createEClass(STAKEHOLDER); + createEReference(stakeholderEClass, STAKEHOLDER__BASE_CLASSIFIER); + createEAttribute(stakeholderEClass, STAKEHOLDER__CONCERN); + createEReference(stakeholderEClass, STAKEHOLDER__CONCERN_LIST); + + rationaleEClass = createEClass(RATIONALE); + createEReference(rationaleEClass, RATIONALE__BASE_COMMENT); + + exposeEClass = createEClass(EXPOSE); + createEReference(exposeEClass, EXPOSE__BASE_DEPENDENCY); + + viewEClass = createEClass(VIEW); + createEReference(viewEClass, VIEW__BASE_CLASS); + createEReference(viewEClass, VIEW__STAKEHOLDER); + createEReference(viewEClass, VIEW__VIEW_POINT); + + elementGroupEClass = createEClass(ELEMENT_GROUP); + createEReference(elementGroupEClass, ELEMENT_GROUP__BASE_COMMENT); + createEAttribute(elementGroupEClass, ELEMENT_GROUP__CRITERION); + createEReference(elementGroupEClass, ELEMENT_GROUP__MEMBER); + createEAttribute(elementGroupEClass, ELEMENT_GROUP__NAME); + createEReference(elementGroupEClass, ELEMENT_GROUP__ORDERED_MEMEBER); + createEAttribute(elementGroupEClass, ELEMENT_GROUP__SIZE); + createEOperation(elementGroupEClass, ELEMENT_GROUP___ALL_GROUPS__ELEMENT); + createEOperation(elementGroupEClass, ELEMENT_GROUP___CRITERION); + createEOperation(elementGroupEClass, ELEMENT_GROUP___MEMBER); + createEOperation(elementGroupEClass, ELEMENT_GROUP___SIZE); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); + TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + + // Initialize classes, features, and operations; add parameters + initEClass(conformEClass, Conform.class, "Conform", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getConform_Base_Generalization(), theUMLPackage.getGeneralization(), null, "base_Generalization", null, 0, 1, Conform.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(problemEClass, Problem.class, "Problem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getProblem_Base_Comment(), theUMLPackage.getComment(), null, "base_Comment", null, 0, 1, Problem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(viewpointEClass, Viewpoint.class, "Viewpoint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getViewpoint_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, Viewpoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getViewpoint_Concern(), theTypesPackage.getString(), "concern", null, 0, -1, Viewpoint.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getViewpoint_ConcernList(), theUMLPackage.getComment(), null, "concernList", null, 0, -1, Viewpoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getViewpoint_Language(), theTypesPackage.getString(), "language", null, 0, -1, Viewpoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getViewpoint_Method(), theUMLPackage.getBehavior(), null, "method", null, 0, -1, Viewpoint.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getViewpoint_Presentation(), theTypesPackage.getString(), "presentation", null, 0, -1, Viewpoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getViewpoint_Purpose(), theTypesPackage.getString(), "purpose", null, 1, 1, Viewpoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getViewpoint_Stakeholder(), this.getStakeholder(), null, "stakeholder", null, 0, -1, Viewpoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(stakeholderEClass, Stakeholder.class, "Stakeholder", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getStakeholder_Base_Classifier(), theUMLPackage.getClassifier(), null, "base_Classifier", null, 0, 1, Stakeholder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getStakeholder_Concern(), theTypesPackage.getString(), "concern", null, 0, -1, Stakeholder.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getStakeholder_ConcernList(), theUMLPackage.getComment(), null, "concernList", null, 0, -1, Stakeholder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(rationaleEClass, Rationale.class, "Rationale", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getRationale_Base_Comment(), theUMLPackage.getComment(), null, "base_Comment", null, 0, 1, Rationale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(exposeEClass, Expose.class, "Expose", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getExpose_Base_Dependency(), theUMLPackage.getDependency(), null, "base_Dependency", null, 0, 1, Expose.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(viewEClass, View.class, "View", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getView_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, View.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getView_Stakeholder(), this.getStakeholder(), null, "stakeholder", null, 0, -1, View.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getView_ViewPoint(), this.getViewpoint(), null, "viewPoint", null, 1, 1, View.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(elementGroupEClass, ElementGroup.class, "ElementGroup", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getElementGroup_Base_Comment(), theUMLPackage.getComment(), null, "base_Comment", null, 0, 1, ElementGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getElementGroup_Criterion(), theTypesPackage.getString(), "criterion", null, 1, 1, ElementGroup.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getElementGroup_Member(), theUMLPackage.getElement(), null, "member", null, 0, -1, ElementGroup.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getElementGroup_Name(), theTypesPackage.getString(), "name", null, 1, 1, ElementGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getElementGroup_OrderedMemeber(), theUMLPackage.getElement(), null, "orderedMemeber", null, 0, -1, ElementGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getElementGroup_Size(), theTypesPackage.getInteger(), "size", null, 1, 1, ElementGroup.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + EOperation op = initEOperation(getElementGroup__AllGroups__Element(), this.getElementGroup(), "allGroups", 0, -1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ + addEParameter(op, theUMLPackage.getElement(), "e", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ + + initEOperation(getElementGroup__Criterion(), theTypesPackage.getString(), "criterion", 0, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ + + initEOperation(getElementGroup__Member(), theUMLPackage.getElement(), "member", 0, -1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ + + initEOperation(getElementGroup__Size(), theTypesPackage.getInteger(), "size", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ + + // Create annotations + // http://www.eclipse.org/uml2/2.0.0/UML + createUMLAnnotations(); + } + + /** + * Initializes the annotations for <b>http://www.eclipse.org/uml2/2.0.0/UML</b>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void createUMLAnnotations() { + String source = "http://www.eclipse.org/uml2/2.0.0/UML"; //$NON-NLS-1$ + addAnnotation + (this, + source, + new String[] { + "originalName", "ModelElements" //$NON-NLS-1$ //$NON-NLS-2$ + }); + } + +} //ModelelementsPackageImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/ProblemImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/ProblemImpl.java new file mode 100644 index 0000000..a2d08fc --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/ProblemImpl.java
@@ -0,0 +1,168 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements.internal.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; +import org.eclipse.papyrus.sysml.modelelements.Problem; + +import org.eclipse.uml2.uml.Comment; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Problem</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ProblemImpl#getBase_Comment <em>Base Comment</em>}</li> + * </ul> + * + * @generated + */ +public class ProblemImpl extends MinimalEObjectImpl.Container implements Problem { + /** + * The cached value of the '{@link #getBase_Comment() <em>Base Comment</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Comment() + * @generated + * @ordered + */ + protected Comment base_Comment; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ProblemImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ModelelementsPackage.Literals.PROBLEM; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Comment getBase_Comment() { + if (base_Comment != null && base_Comment.eIsProxy()) { + InternalEObject oldBase_Comment = (InternalEObject)base_Comment; + base_Comment = (Comment)eResolveProxy(oldBase_Comment); + if (base_Comment != oldBase_Comment) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ModelelementsPackage.PROBLEM__BASE_COMMENT, oldBase_Comment, base_Comment)); + } + } + return base_Comment; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Comment basicGetBase_Comment() { + return base_Comment; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Comment(Comment newBase_Comment) { + Comment oldBase_Comment = base_Comment; + base_Comment = newBase_Comment; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ModelelementsPackage.PROBLEM__BASE_COMMENT, oldBase_Comment, base_Comment)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ModelelementsPackage.PROBLEM__BASE_COMMENT: + if (resolve) return getBase_Comment(); + return basicGetBase_Comment(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ModelelementsPackage.PROBLEM__BASE_COMMENT: + setBase_Comment((Comment)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ModelelementsPackage.PROBLEM__BASE_COMMENT: + setBase_Comment((Comment)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ModelelementsPackage.PROBLEM__BASE_COMMENT: + return base_Comment != null; + } + return super.eIsSet(featureID); + } + +} //ProblemImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/RationaleImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/RationaleImpl.java new file mode 100644 index 0000000..970f884 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/RationaleImpl.java
@@ -0,0 +1,168 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements.internal.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; +import org.eclipse.papyrus.sysml.modelelements.Rationale; + +import org.eclipse.uml2.uml.Comment; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Rationale</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.RationaleImpl#getBase_Comment <em>Base Comment</em>}</li> + * </ul> + * + * @generated + */ +public class RationaleImpl extends MinimalEObjectImpl.Container implements Rationale { + /** + * The cached value of the '{@link #getBase_Comment() <em>Base Comment</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Comment() + * @generated + * @ordered + */ + protected Comment base_Comment; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RationaleImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ModelelementsPackage.Literals.RATIONALE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Comment getBase_Comment() { + if (base_Comment != null && base_Comment.eIsProxy()) { + InternalEObject oldBase_Comment = (InternalEObject)base_Comment; + base_Comment = (Comment)eResolveProxy(oldBase_Comment); + if (base_Comment != oldBase_Comment) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ModelelementsPackage.RATIONALE__BASE_COMMENT, oldBase_Comment, base_Comment)); + } + } + return base_Comment; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Comment basicGetBase_Comment() { + return base_Comment; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Comment(Comment newBase_Comment) { + Comment oldBase_Comment = base_Comment; + base_Comment = newBase_Comment; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ModelelementsPackage.RATIONALE__BASE_COMMENT, oldBase_Comment, base_Comment)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ModelelementsPackage.RATIONALE__BASE_COMMENT: + if (resolve) return getBase_Comment(); + return basicGetBase_Comment(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ModelelementsPackage.RATIONALE__BASE_COMMENT: + setBase_Comment((Comment)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ModelelementsPackage.RATIONALE__BASE_COMMENT: + setBase_Comment((Comment)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ModelelementsPackage.RATIONALE__BASE_COMMENT: + return base_Comment != null; + } + return super.eIsSet(featureID); + } + +} //RationaleImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/StakeholderImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/StakeholderImpl.java new file mode 100644 index 0000000..01b5f5f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/StakeholderImpl.java
@@ -0,0 +1,226 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements.internal.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectResolvingEList; + +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; +import org.eclipse.papyrus.sysml.modelelements.Stakeholder; + +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.Comment; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Stakeholder</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.StakeholderImpl#getBase_Classifier <em>Base Classifier</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.StakeholderImpl#getConcern <em>Concern</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.StakeholderImpl#getConcernList <em>Concern List</em>}</li> + * </ul> + * + * @generated + */ +public class StakeholderImpl extends MinimalEObjectImpl.Container implements Stakeholder { + /** + * The cached value of the '{@link #getBase_Classifier() <em>Base Classifier</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Classifier() + * @generated + * @ordered + */ + protected Classifier base_Classifier; + + /** + * The cached value of the '{@link #getConcernList() <em>Concern List</em>}' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getConcernList() + * @generated + * @ordered + */ + protected EList<Comment> concernList; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected StakeholderImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ModelelementsPackage.Literals.STAKEHOLDER; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Classifier getBase_Classifier() { + if (base_Classifier != null && base_Classifier.eIsProxy()) { + InternalEObject oldBase_Classifier = (InternalEObject)base_Classifier; + base_Classifier = (Classifier)eResolveProxy(oldBase_Classifier); + if (base_Classifier != oldBase_Classifier) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ModelelementsPackage.STAKEHOLDER__BASE_CLASSIFIER, oldBase_Classifier, base_Classifier)); + } + } + return base_Classifier; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Classifier basicGetBase_Classifier() { + return base_Classifier; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Classifier(Classifier newBase_Classifier) { + Classifier oldBase_Classifier = base_Classifier; + base_Classifier = newBase_Classifier; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ModelelementsPackage.STAKEHOLDER__BASE_CLASSIFIER, oldBase_Classifier, base_Classifier)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<String> getConcern() { + // TODO: implement this method to return the 'Concern' attribute list + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Comment> getConcernList() { + if (concernList == null) { + concernList = new EObjectResolvingEList<Comment>(Comment.class, this, ModelelementsPackage.STAKEHOLDER__CONCERN_LIST); + } + return concernList; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ModelelementsPackage.STAKEHOLDER__BASE_CLASSIFIER: + if (resolve) return getBase_Classifier(); + return basicGetBase_Classifier(); + case ModelelementsPackage.STAKEHOLDER__CONCERN: + return getConcern(); + case ModelelementsPackage.STAKEHOLDER__CONCERN_LIST: + return getConcernList(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ModelelementsPackage.STAKEHOLDER__BASE_CLASSIFIER: + setBase_Classifier((Classifier)newValue); + return; + case ModelelementsPackage.STAKEHOLDER__CONCERN_LIST: + getConcernList().clear(); + getConcernList().addAll((Collection<? extends Comment>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ModelelementsPackage.STAKEHOLDER__BASE_CLASSIFIER: + setBase_Classifier((Classifier)null); + return; + case ModelelementsPackage.STAKEHOLDER__CONCERN_LIST: + getConcernList().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ModelelementsPackage.STAKEHOLDER__BASE_CLASSIFIER: + return base_Classifier != null; + case ModelelementsPackage.STAKEHOLDER__CONCERN: + return !getConcern().isEmpty(); + case ModelelementsPackage.STAKEHOLDER__CONCERN_LIST: + return concernList != null && !concernList.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //StakeholderImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/ViewImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/ViewImpl.java new file mode 100644 index 0000000..584dcca --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/ViewImpl.java
@@ -0,0 +1,215 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements.internal.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; +import org.eclipse.papyrus.sysml.modelelements.Stakeholder; +import org.eclipse.papyrus.sysml.modelelements.View; +import org.eclipse.papyrus.sysml.modelelements.Viewpoint; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>View</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewImpl#getBase_Class <em>Base Class</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewImpl#getStakeholder <em>Stakeholder</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewImpl#getViewPoint <em>View Point</em>}</li> + * </ul> + * + * @generated + */ +public class ViewImpl extends MinimalEObjectImpl.Container implements View { + /** + * The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Class() + * @generated + * @ordered + */ + protected org.eclipse.uml2.uml.Class base_Class; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ViewImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ModelelementsPackage.Literals.VIEW; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public org.eclipse.uml2.uml.Class getBase_Class() { + if (base_Class != null && base_Class.eIsProxy()) { + InternalEObject oldBase_Class = (InternalEObject)base_Class; + base_Class = (org.eclipse.uml2.uml.Class)eResolveProxy(oldBase_Class); + if (base_Class != oldBase_Class) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ModelelementsPackage.VIEW__BASE_CLASS, oldBase_Class, base_Class)); + } + } + return base_Class; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public org.eclipse.uml2.uml.Class basicGetBase_Class() { + return base_Class; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Class(org.eclipse.uml2.uml.Class newBase_Class) { + org.eclipse.uml2.uml.Class oldBase_Class = base_Class; + base_Class = newBase_Class; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ModelelementsPackage.VIEW__BASE_CLASS, oldBase_Class, base_Class)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Stakeholder> getStakeholder() { + // TODO: implement this method to return the 'Stakeholder' reference list + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Viewpoint getViewPoint() { + Viewpoint viewPoint = basicGetViewPoint(); + return viewPoint != null && viewPoint.eIsProxy() ? (Viewpoint)eResolveProxy((InternalEObject)viewPoint) : viewPoint; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Viewpoint basicGetViewPoint() { + // TODO: implement this method to return the 'View Point' reference + // -> do not perform proxy resolution + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ModelelementsPackage.VIEW__BASE_CLASS: + if (resolve) return getBase_Class(); + return basicGetBase_Class(); + case ModelelementsPackage.VIEW__STAKEHOLDER: + return getStakeholder(); + case ModelelementsPackage.VIEW__VIEW_POINT: + if (resolve) return getViewPoint(); + return basicGetViewPoint(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ModelelementsPackage.VIEW__BASE_CLASS: + setBase_Class((org.eclipse.uml2.uml.Class)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ModelelementsPackage.VIEW__BASE_CLASS: + setBase_Class((org.eclipse.uml2.uml.Class)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ModelelementsPackage.VIEW__BASE_CLASS: + return base_Class != null; + case ModelelementsPackage.VIEW__STAKEHOLDER: + return !getStakeholder().isEmpty(); + case ModelelementsPackage.VIEW__VIEW_POINT: + return basicGetViewPoint() != null; + } + return super.eIsSet(featureID); + } + +} //ViewImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/ViewpointImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/ViewpointImpl.java new file mode 100644 index 0000000..7b28b98 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/internal/impl/ViewpointImpl.java
@@ -0,0 +1,443 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements.internal.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EDataTypeUniqueEList; +import org.eclipse.emf.ecore.util.EObjectResolvingEList; + +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; +import org.eclipse.papyrus.sysml.modelelements.Stakeholder; +import org.eclipse.papyrus.sysml.modelelements.Viewpoint; + +import org.eclipse.uml2.uml.Behavior; +import org.eclipse.uml2.uml.Comment; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Viewpoint</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewpointImpl#getBase_Class <em>Base Class</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewpointImpl#getConcern <em>Concern</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewpointImpl#getConcernList <em>Concern List</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewpointImpl#getLanguage <em>Language</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewpointImpl#getMethod <em>Method</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewpointImpl#getPresentation <em>Presentation</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewpointImpl#getPurpose <em>Purpose</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewpointImpl#getStakeholder <em>Stakeholder</em>}</li> + * </ul> + * + * @generated + */ +public class ViewpointImpl extends MinimalEObjectImpl.Container implements Viewpoint { + /** + * The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Class() + * @generated + * @ordered + */ + protected org.eclipse.uml2.uml.Class base_Class; + + /** + * The cached value of the '{@link #getConcernList() <em>Concern List</em>}' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getConcernList() + * @generated + * @ordered + */ + protected EList<Comment> concernList; + + /** + * The cached value of the '{@link #getLanguage() <em>Language</em>}' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getLanguage() + * @generated + * @ordered + */ + protected EList<String> language; + + /** + * The cached value of the '{@link #getPresentation() <em>Presentation</em>}' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getPresentation() + * @generated + * @ordered + */ + protected EList<String> presentation; + + /** + * The default value of the '{@link #getPurpose() <em>Purpose</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getPurpose() + * @generated + * @ordered + */ + protected static final String PURPOSE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getPurpose() <em>Purpose</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getPurpose() + * @generated + * @ordered + */ + protected String purpose = PURPOSE_EDEFAULT; + + /** + * The cached value of the '{@link #getStakeholder() <em>Stakeholder</em>}' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getStakeholder() + * @generated + * @ordered + */ + protected EList<Stakeholder> stakeholder; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ViewpointImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return ModelelementsPackage.Literals.VIEWPOINT; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public org.eclipse.uml2.uml.Class getBase_Class() { + if (base_Class != null && base_Class.eIsProxy()) { + InternalEObject oldBase_Class = (InternalEObject)base_Class; + base_Class = (org.eclipse.uml2.uml.Class)eResolveProxy(oldBase_Class); + if (base_Class != oldBase_Class) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ModelelementsPackage.VIEWPOINT__BASE_CLASS, oldBase_Class, base_Class)); + } + } + return base_Class; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public org.eclipse.uml2.uml.Class basicGetBase_Class() { + return base_Class; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Class(org.eclipse.uml2.uml.Class newBase_Class) { + org.eclipse.uml2.uml.Class oldBase_Class = base_Class; + base_Class = newBase_Class; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ModelelementsPackage.VIEWPOINT__BASE_CLASS, oldBase_Class, base_Class)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<String> getConcern() { + // TODO: implement this method to return the 'Concern' attribute list + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Comment> getConcernList() { + if (concernList == null) { + concernList = new EObjectResolvingEList<Comment>(Comment.class, this, ModelelementsPackage.VIEWPOINT__CONCERN_LIST); + } + return concernList; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<String> getLanguage() { + if (language == null) { + language = new EDataTypeUniqueEList<String>(String.class, this, ModelelementsPackage.VIEWPOINT__LANGUAGE); + } + return language; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Behavior> getMethod() { + // TODO: implement this method to return the 'Method' reference list + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Behavior getMethod(String name) { + return getMethod(name, false, null); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Behavior getMethod(String name, boolean ignoreCase, EClass eClass) { + methodLoop: for (Behavior method : getMethod()) { + if (eClass != null && !eClass.isInstance(method)) + continue methodLoop; + if (name != null && !(ignoreCase ? name.equalsIgnoreCase(method.getName()) : name.equals(method.getName()))) + continue methodLoop; + return method; + } + return null; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<String> getPresentation() { + if (presentation == null) { + presentation = new EDataTypeUniqueEList<String>(String.class, this, ModelelementsPackage.VIEWPOINT__PRESENTATION); + } + return presentation; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getPurpose() { + return purpose; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setPurpose(String newPurpose) { + String oldPurpose = purpose; + purpose = newPurpose; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ModelelementsPackage.VIEWPOINT__PURPOSE, oldPurpose, purpose)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Stakeholder> getStakeholder() { + if (stakeholder == null) { + stakeholder = new EObjectResolvingEList<Stakeholder>(Stakeholder.class, this, ModelelementsPackage.VIEWPOINT__STAKEHOLDER); + } + return stakeholder; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case ModelelementsPackage.VIEWPOINT__BASE_CLASS: + if (resolve) return getBase_Class(); + return basicGetBase_Class(); + case ModelelementsPackage.VIEWPOINT__CONCERN: + return getConcern(); + case ModelelementsPackage.VIEWPOINT__CONCERN_LIST: + return getConcernList(); + case ModelelementsPackage.VIEWPOINT__LANGUAGE: + return getLanguage(); + case ModelelementsPackage.VIEWPOINT__METHOD: + return getMethod(); + case ModelelementsPackage.VIEWPOINT__PRESENTATION: + return getPresentation(); + case ModelelementsPackage.VIEWPOINT__PURPOSE: + return getPurpose(); + case ModelelementsPackage.VIEWPOINT__STAKEHOLDER: + return getStakeholder(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case ModelelementsPackage.VIEWPOINT__BASE_CLASS: + setBase_Class((org.eclipse.uml2.uml.Class)newValue); + return; + case ModelelementsPackage.VIEWPOINT__CONCERN_LIST: + getConcernList().clear(); + getConcernList().addAll((Collection<? extends Comment>)newValue); + return; + case ModelelementsPackage.VIEWPOINT__LANGUAGE: + getLanguage().clear(); + getLanguage().addAll((Collection<? extends String>)newValue); + return; + case ModelelementsPackage.VIEWPOINT__PRESENTATION: + getPresentation().clear(); + getPresentation().addAll((Collection<? extends String>)newValue); + return; + case ModelelementsPackage.VIEWPOINT__PURPOSE: + setPurpose((String)newValue); + return; + case ModelelementsPackage.VIEWPOINT__STAKEHOLDER: + getStakeholder().clear(); + getStakeholder().addAll((Collection<? extends Stakeholder>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case ModelelementsPackage.VIEWPOINT__BASE_CLASS: + setBase_Class((org.eclipse.uml2.uml.Class)null); + return; + case ModelelementsPackage.VIEWPOINT__CONCERN_LIST: + getConcernList().clear(); + return; + case ModelelementsPackage.VIEWPOINT__LANGUAGE: + getLanguage().clear(); + return; + case ModelelementsPackage.VIEWPOINT__PRESENTATION: + getPresentation().clear(); + return; + case ModelelementsPackage.VIEWPOINT__PURPOSE: + setPurpose(PURPOSE_EDEFAULT); + return; + case ModelelementsPackage.VIEWPOINT__STAKEHOLDER: + getStakeholder().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case ModelelementsPackage.VIEWPOINT__BASE_CLASS: + return base_Class != null; + case ModelelementsPackage.VIEWPOINT__CONCERN: + return !getConcern().isEmpty(); + case ModelelementsPackage.VIEWPOINT__CONCERN_LIST: + return concernList != null && !concernList.isEmpty(); + case ModelelementsPackage.VIEWPOINT__LANGUAGE: + return language != null && !language.isEmpty(); + case ModelelementsPackage.VIEWPOINT__METHOD: + return !getMethod().isEmpty(); + case ModelelementsPackage.VIEWPOINT__PRESENTATION: + return presentation != null && !presentation.isEmpty(); + case ModelelementsPackage.VIEWPOINT__PURPOSE: + return PURPOSE_EDEFAULT == null ? purpose != null : !PURPOSE_EDEFAULT.equals(purpose); + case ModelelementsPackage.VIEWPOINT__STAKEHOLDER: + return stakeholder != null && !stakeholder.isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (language: "); //$NON-NLS-1$ + result.append(language); + result.append(", presentation: "); //$NON-NLS-1$ + result.append(presentation); + result.append(", purpose: "); //$NON-NLS-1$ + result.append(purpose); + result.append(')'); + return result.toString(); + } + +} //ViewpointImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsAdapterFactory.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsAdapterFactory.java new file mode 100644 index 0000000..cd549fc --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsAdapterFactory.java
@@ -0,0 +1,256 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements.util; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.papyrus.sysml.modelelements.*; + +/** + * <!-- begin-user-doc --> + * The <b>Adapter Factory</b> for the model. + * It provides an adapter <code>createXXX</code> method for each class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage + * @generated + */ +public class ModelelementsAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static ModelelementsPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ModelelementsAdapterFactory() { + if (modelPackage == null) { + modelPackage = ModelelementsPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * <!-- begin-user-doc --> + * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. + * <!-- end-user-doc --> + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the <code>createXXX</code> methods. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ModelelementsSwitch<Adapter> modelSwitch = + new ModelelementsSwitch<Adapter>() { + @Override + public Adapter caseConform(Conform object) { + return createConformAdapter(); + } + @Override + public Adapter caseProblem(Problem object) { + return createProblemAdapter(); + } + @Override + public Adapter caseViewpoint(Viewpoint object) { + return createViewpointAdapter(); + } + @Override + public Adapter caseStakeholder(Stakeholder object) { + return createStakeholderAdapter(); + } + @Override + public Adapter caseRationale(Rationale object) { + return createRationaleAdapter(); + } + @Override + public Adapter caseExpose(Expose object) { + return createExposeAdapter(); + } + @Override + public Adapter caseView(View object) { + return createViewAdapter(); + } + @Override + public Adapter caseElementGroup(ElementGroup object) { + return createElementGroupAdapter(); + } + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the <code>target</code>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param target the object to adapt. + * @return the adapter for the <code>target</code>. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject)target); + } + + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.modelelements.Conform <em>Conform</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.modelelements.Conform + * @generated + */ + public Adapter createConformAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.modelelements.Problem <em>Problem</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.modelelements.Problem + * @generated + */ + public Adapter createProblemAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.modelelements.Viewpoint <em>Viewpoint</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.modelelements.Viewpoint + * @generated + */ + public Adapter createViewpointAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.modelelements.Stakeholder <em>Stakeholder</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.modelelements.Stakeholder + * @generated + */ + public Adapter createStakeholderAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.modelelements.Rationale <em>Rationale</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.modelelements.Rationale + * @generated + */ + public Adapter createRationaleAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.modelelements.Expose <em>Expose</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.modelelements.Expose + * @generated + */ + public Adapter createExposeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.modelelements.View <em>View</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.modelelements.View + * @generated + */ + public Adapter createViewAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.modelelements.ElementGroup <em>Element Group</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.modelelements.ElementGroup + * @generated + */ + public Adapter createElementGroupAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * <!-- begin-user-doc --> + * This default implementation returns null. + * <!-- end-user-doc --> + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //ModelelementsAdapterFactory
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsSwitch.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsSwitch.java new file mode 100644 index 0000000..368211a --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/modelelements/util/ModelelementsSwitch.java
@@ -0,0 +1,267 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.modelelements.util; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +import org.eclipse.papyrus.sysml.modelelements.*; + +/** + * <!-- begin-user-doc --> + * The <b>Switch</b> for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the <code>caseXXX</code> method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage + * @generated + */ +public class ModelelementsSwitch<T> extends Switch<T> { + /** + * The cached model package + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static ModelelementsPackage modelPackage; + + /** + * Creates an instance of the switch. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ModelelementsSwitch() { + if (modelPackage == null) { + modelPackage = ModelelementsPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the first non-null result returned by a <code>caseXXX</code> call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case ModelelementsPackage.CONFORM: { + Conform conform = (Conform)theEObject; + T result = caseConform(conform); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ModelelementsPackage.PROBLEM: { + Problem problem = (Problem)theEObject; + T result = caseProblem(problem); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ModelelementsPackage.VIEWPOINT: { + Viewpoint viewpoint = (Viewpoint)theEObject; + T result = caseViewpoint(viewpoint); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ModelelementsPackage.STAKEHOLDER: { + Stakeholder stakeholder = (Stakeholder)theEObject; + T result = caseStakeholder(stakeholder); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ModelelementsPackage.RATIONALE: { + Rationale rationale = (Rationale)theEObject; + T result = caseRationale(rationale); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ModelelementsPackage.EXPOSE: { + Expose expose = (Expose)theEObject; + T result = caseExpose(expose); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ModelelementsPackage.VIEW: { + View view = (View)theEObject; + T result = caseView(view); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ModelelementsPackage.ELEMENT_GROUP: { + ElementGroup elementGroup = (ElementGroup)theEObject; + T result = caseElementGroup(elementGroup); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Conform</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Conform</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConform(Conform object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Problem</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Problem</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseProblem(Problem object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Viewpoint</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Viewpoint</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseViewpoint(Viewpoint object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Stakeholder</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Stakeholder</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseStakeholder(Stakeholder object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Rationale</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Rationale</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRationale(Rationale object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Expose</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Expose</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseExpose(Expose object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>View</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>View</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseView(View object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Element Group</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Element Group</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseElementGroup(ElementGroup object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>EObject</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} //ModelelementsSwitch
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/AcceptChangeStructuralFeatureEventAction.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/AcceptChangeStructuralFeatureEventAction.java new file mode 100644 index 0000000..d7db342 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/AcceptChangeStructuralFeatureEventAction.java
@@ -0,0 +1,62 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.AcceptEventAction; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Accept Change Structural Feature Event Action</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.AcceptChangeStructuralFeatureEventAction#getBase_AcceptEventAction <em>Base Accept Event Action</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#getAcceptChangeStructuralFeatureEventAction() + * @model + * @generated + */ +public interface AcceptChangeStructuralFeatureEventAction extends EObject { + /** + * Returns the value of the '<em><b>Base Accept Event Action</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Accept Event Action</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Accept Event Action</em>' reference. + * @see #setBase_AcceptEventAction(AcceptEventAction) + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#getAcceptChangeStructuralFeatureEventAction_Base_AcceptEventAction() + * @model ordered="false" + * @generated + */ + AcceptEventAction getBase_AcceptEventAction(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.portsandflows.AcceptChangeStructuralFeatureEventAction#getBase_AcceptEventAction <em>Base Accept Event Action</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Accept Event Action</em>' reference. + * @see #getBase_AcceptEventAction() + * @generated + */ + void setBase_AcceptEventAction(AcceptEventAction value); + +} // AcceptChangeStructuralFeatureEventAction
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/ChangeStructuralFeatureEvent.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/ChangeStructuralFeatureEvent.java new file mode 100644 index 0000000..7fb0ec7 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/ChangeStructuralFeatureEvent.java
@@ -0,0 +1,90 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.ChangeEvent; +import org.eclipse.uml2.uml.StructuralFeature; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Change Structural Feature Event</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.ChangeStructuralFeatureEvent#getBase_ChangeEvent <em>Base Change Event</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.ChangeStructuralFeatureEvent#getStructuralFeature <em>Structural Feature</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#getChangeStructuralFeatureEvent() + * @model + * @generated + */ +public interface ChangeStructuralFeatureEvent extends EObject { + /** + * Returns the value of the '<em><b>Base Change Event</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Change Event</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Change Event</em>' reference. + * @see #setBase_ChangeEvent(ChangeEvent) + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#getChangeStructuralFeatureEvent_Base_ChangeEvent() + * @model ordered="false" + * @generated + */ + ChangeEvent getBase_ChangeEvent(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.portsandflows.ChangeStructuralFeatureEvent#getBase_ChangeEvent <em>Base Change Event</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Change Event</em>' reference. + * @see #getBase_ChangeEvent() + * @generated + */ + void setBase_ChangeEvent(ChangeEvent value); + + /** + * Returns the value of the '<em><b>Structural Feature</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Structural Feature</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Structural Feature</em>' reference. + * @see #setStructuralFeature(StructuralFeature) + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#getChangeStructuralFeatureEvent_StructuralFeature() + * @model required="true" ordered="false" + * @generated + */ + StructuralFeature getStructuralFeature(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.portsandflows.ChangeStructuralFeatureEvent#getStructuralFeature <em>Structural Feature</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Structural Feature</em>' reference. + * @see #getStructuralFeature() + * @generated + */ + void setStructuralFeature(StructuralFeature value); + +} // ChangeStructuralFeatureEvent
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/DirectedFeature.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/DirectedFeature.java new file mode 100644 index 0000000..c231edc --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/DirectedFeature.java
@@ -0,0 +1,92 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Feature; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Directed Feature</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.DirectedFeature#getBase_Feature <em>Base Feature</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.DirectedFeature#getFeatureDirection <em>Feature Direction</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#getDirectedFeature() + * @model + * @generated + */ +public interface DirectedFeature extends EObject { + /** + * Returns the value of the '<em><b>Base Feature</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Feature</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Feature</em>' reference. + * @see #setBase_Feature(Feature) + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#getDirectedFeature_Base_Feature() + * @model ordered="false" + * @generated + */ + Feature getBase_Feature(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.portsandflows.DirectedFeature#getBase_Feature <em>Base Feature</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Feature</em>' reference. + * @see #getBase_Feature() + * @generated + */ + void setBase_Feature(Feature value); + + /** + * Returns the value of the '<em><b>Feature Direction</b></em>' attribute. + * The literals are from the enumeration {@link org.eclipse.papyrus.sysml.portsandflows.FeatureDirection}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Feature Direction</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Feature Direction</em>' attribute. + * @see org.eclipse.papyrus.sysml.portsandflows.FeatureDirection + * @see #setFeatureDirection(FeatureDirection) + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#getDirectedFeature_FeatureDirection() + * @model required="true" ordered="false" + * @generated + */ + FeatureDirection getFeatureDirection(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.portsandflows.DirectedFeature#getFeatureDirection <em>Feature Direction</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Feature Direction</em>' attribute. + * @see org.eclipse.papyrus.sysml.portsandflows.FeatureDirection + * @see #getFeatureDirection() + * @generated + */ + void setFeatureDirection(FeatureDirection value); + +} // DirectedFeature
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/FeatureDirection.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/FeatureDirection.java new file mode 100644 index 0000000..90af31a --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/FeatureDirection.java
@@ -0,0 +1,251 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.Enumerator; + +/** + * <!-- begin-user-doc --> + * A representation of the literals of the enumeration '<em><b>Feature Direction</b></em>', + * and utility methods for working with them. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#getFeatureDirection() + * @model + * @generated + */ +public enum FeatureDirection implements Enumerator { + /** + * The '<em><b>Provided</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #PROVIDED_VALUE + * @generated + * @ordered + */ + PROVIDED(0, "provided", "provided"), //$NON-NLS-1$ //$NON-NLS-2$ + + /** + * The '<em><b>Provided Required</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #PROVIDED_REQUIRED_VALUE + * @generated + * @ordered + */ + PROVIDED_REQUIRED(1, "providedRequired", "providedRequired"), //$NON-NLS-1$ //$NON-NLS-2$ + + /** + * The '<em><b>Required</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #REQUIRED_VALUE + * @generated + * @ordered + */ + REQUIRED(2, "required", "required"); //$NON-NLS-1$ //$NON-NLS-2$ + + /** + * The '<em><b>Provided</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>Provided</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #PROVIDED + * @model name="provided" + * @generated + * @ordered + */ + public static final int PROVIDED_VALUE = 0; + + /** + * The '<em><b>Provided Required</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>Provided Required</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #PROVIDED_REQUIRED + * @model name="providedRequired" + * @generated + * @ordered + */ + public static final int PROVIDED_REQUIRED_VALUE = 1; + + /** + * The '<em><b>Required</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>Required</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #REQUIRED + * @model name="required" + * @generated + * @ordered + */ + public static final int REQUIRED_VALUE = 2; + + /** + * An array of all the '<em><b>Feature Direction</b></em>' enumerators. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static final FeatureDirection[] VALUES_ARRAY = + new FeatureDirection[] { + PROVIDED, + PROVIDED_REQUIRED, + REQUIRED, + }; + + /** + * A public read-only list of all the '<em><b>Feature Direction</b></em>' enumerators. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final List<FeatureDirection> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the '<em><b>Feature Direction</b></em>' literal with the specified literal value. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param literal the literal. + * @return the matching enumerator or <code>null</code>. + * @generated + */ + public static FeatureDirection get(String literal) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + FeatureDirection result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) { + return result; + } + } + return null; + } + + /** + * Returns the '<em><b>Feature Direction</b></em>' literal with the specified name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name the name. + * @return the matching enumerator or <code>null</code>. + * @generated + */ + public static FeatureDirection getByName(String name) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + FeatureDirection result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) { + return result; + } + } + return null; + } + + /** + * Returns the '<em><b>Feature Direction</b></em>' literal with the specified integer value. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the integer value. + * @return the matching enumerator or <code>null</code>. + * @generated + */ + public static FeatureDirection get(int value) { + switch (value) { + case PROVIDED_VALUE: return PROVIDED; + case PROVIDED_REQUIRED_VALUE: return PROVIDED_REQUIRED; + case REQUIRED_VALUE: return REQUIRED; + } + return null; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final int value; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final String name; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private FeatureDirection(int value, String name, String literal) { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public int getValue() { + return value; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getLiteral() { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + return literal; + } + +} //FeatureDirection
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/FlowDirection.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/FlowDirection.java new file mode 100644 index 0000000..94a9053 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/FlowDirection.java
@@ -0,0 +1,251 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.Enumerator; + +/** + * <!-- begin-user-doc --> + * A representation of the literals of the enumeration '<em><b>Flow Direction</b></em>', + * and utility methods for working with them. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#getFlowDirection() + * @model + * @generated + */ +public enum FlowDirection implements Enumerator { + /** + * The '<em><b>In</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #IN_VALUE + * @generated + * @ordered + */ + IN(0, "in", "in"), //$NON-NLS-1$ //$NON-NLS-2$ + + /** + * The '<em><b>Inout</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #INOUT_VALUE + * @generated + * @ordered + */ + INOUT(1, "inout", "inout"), //$NON-NLS-1$ //$NON-NLS-2$ + + /** + * The '<em><b>Out</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #OUT_VALUE + * @generated + * @ordered + */ + OUT(2, "out", "out"); //$NON-NLS-1$ //$NON-NLS-2$ + + /** + * The '<em><b>In</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>In</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #IN + * @model name="in" + * @generated + * @ordered + */ + public static final int IN_VALUE = 0; + + /** + * The '<em><b>Inout</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>Inout</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #INOUT + * @model name="inout" + * @generated + * @ordered + */ + public static final int INOUT_VALUE = 1; + + /** + * The '<em><b>Out</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>Out</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #OUT + * @model name="out" + * @generated + * @ordered + */ + public static final int OUT_VALUE = 2; + + /** + * An array of all the '<em><b>Flow Direction</b></em>' enumerators. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static final FlowDirection[] VALUES_ARRAY = + new FlowDirection[] { + IN, + INOUT, + OUT, + }; + + /** + * A public read-only list of all the '<em><b>Flow Direction</b></em>' enumerators. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final List<FlowDirection> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the '<em><b>Flow Direction</b></em>' literal with the specified literal value. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param literal the literal. + * @return the matching enumerator or <code>null</code>. + * @generated + */ + public static FlowDirection get(String literal) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + FlowDirection result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) { + return result; + } + } + return null; + } + + /** + * Returns the '<em><b>Flow Direction</b></em>' literal with the specified name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name the name. + * @return the matching enumerator or <code>null</code>. + * @generated + */ + public static FlowDirection getByName(String name) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + FlowDirection result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) { + return result; + } + } + return null; + } + + /** + * Returns the '<em><b>Flow Direction</b></em>' literal with the specified integer value. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the integer value. + * @return the matching enumerator or <code>null</code>. + * @generated + */ + public static FlowDirection get(int value) { + switch (value) { + case IN_VALUE: return IN; + case INOUT_VALUE: return INOUT; + case OUT_VALUE: return OUT; + } + return null; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final int value; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final String name; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private FlowDirection(int value, String name, String literal) { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public int getValue() { + return value; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getLiteral() { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + return literal; + } + +} //FlowDirection
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/FlowProperty.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/FlowProperty.java new file mode 100644 index 0000000..5d1f9d3 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/FlowProperty.java
@@ -0,0 +1,102 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Image; +import org.eclipse.uml2.uml.Property; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Flow Property</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.FlowProperty#getBase_Property <em>Base Property</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.FlowProperty#getDirection <em>Direction</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#getFlowProperty() + * @model + * @generated + */ +public interface FlowProperty extends EObject { + /** + * Returns the value of the '<em><b>Base Property</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Property</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Property</em>' reference. + * @see #setBase_Property(Property) + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#getFlowProperty_Base_Property() + * @model ordered="false" + * @generated + */ + Property getBase_Property(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.portsandflows.FlowProperty#getBase_Property <em>Base Property</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Property</em>' reference. + * @see #getBase_Property() + * @generated + */ + void setBase_Property(Property value); + + /** + * Returns the value of the '<em><b>Direction</b></em>' attribute. + * The default value is <code>"inout"</code>. + * The literals are from the enumeration {@link org.eclipse.papyrus.sysml.portsandflows.FlowDirection}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Direction</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Direction</em>' attribute. + * @see org.eclipse.papyrus.sysml.portsandflows.FlowDirection + * @see #setDirection(FlowDirection) + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#getFlowProperty_Direction() + * @model default="inout" required="true" ordered="false" + * @generated + */ + FlowDirection getDirection(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.portsandflows.FlowProperty#getDirection <em>Direction</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Direction</em>' attribute. + * @see org.eclipse.papyrus.sysml.portsandflows.FlowDirection + * @see #getDirection() + * @generated + */ + void setDirection(FlowDirection value); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @model kind="operation" required="true" ordered="false" + * @generated + */ + Image getIcon(); + +} // FlowProperty
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/FullPort.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/FullPort.java new file mode 100644 index 0000000..984d8d1 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/FullPort.java
@@ -0,0 +1,62 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Port; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Full Port</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.FullPort#getBase_Port <em>Base Port</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#getFullPort() + * @model + * @generated + */ +public interface FullPort extends EObject { + /** + * Returns the value of the '<em><b>Base Port</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Port</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Port</em>' reference. + * @see #setBase_Port(Port) + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#getFullPort_Base_Port() + * @model ordered="false" + * @generated + */ + Port getBase_Port(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.portsandflows.FullPort#getBase_Port <em>Base Port</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Port</em>' reference. + * @see #getBase_Port() + * @generated + */ + void setBase_Port(Port value); + +} // FullPort
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/InterfaceBlock.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/InterfaceBlock.java new file mode 100644 index 0000000..50391f7 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/InterfaceBlock.java
@@ -0,0 +1,28 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows; + +import org.eclipse.papyrus.sysml.blocks.Block; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Interface Block</b></em>'. + * <!-- end-user-doc --> + * + * + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#getInterfaceBlock() + * @model + * @generated + */ +public interface InterfaceBlock extends Block { +} // InterfaceBlock
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/InvocationOnNestedPortAction.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/InvocationOnNestedPortAction.java new file mode 100644 index 0000000..695a946 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/InvocationOnNestedPortAction.java
@@ -0,0 +1,108 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.papyrus.sysml.blocks.ElementPropertyPath; + +import org.eclipse.uml2.uml.InvocationAction; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.Type; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Invocation On Nested Port Action</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.InvocationOnNestedPortAction#getBase_InvocationAction <em>Base Invocation Action</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.InvocationOnNestedPortAction#getOnNestedPort <em>On Nested Port</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#getInvocationOnNestedPortAction() + * @model + * @generated + */ +public interface InvocationOnNestedPortAction extends ElementPropertyPath { + /** + * Returns the value of the '<em><b>Base Invocation Action</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Invocation Action</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Invocation Action</em>' reference. + * @see #setBase_InvocationAction(InvocationAction) + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#getInvocationOnNestedPortAction_Base_InvocationAction() + * @model ordered="false" + * @generated + */ + InvocationAction getBase_InvocationAction(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.portsandflows.InvocationOnNestedPortAction#getBase_InvocationAction <em>Base Invocation Action</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Invocation Action</em>' reference. + * @see #getBase_InvocationAction() + * @generated + */ + void setBase_InvocationAction(InvocationAction value); + + /** + * Returns the value of the '<em><b>On Nested Port</b></em>' reference list. + * The list contents are of type {@link org.eclipse.uml2.uml.Port}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>On Nested Port</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>On Nested Port</em>' reference list. + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#getInvocationOnNestedPortAction_OnNestedPort() + * @model required="true" + * @generated + */ + EList<Port> getOnNestedPort(); + + /** + * Retrieves the first {@link org.eclipse.uml2.uml.Port} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the '<em><b>On Nested Port</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Port} to retrieve, or <code>null</code>. + * @param type The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Port} to retrieve, or <code>null</code>. + * @return The first {@link org.eclipse.uml2.uml.Port} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or <code>null</code>. + * @see #getOnNestedPort() + * @generated + */ + Port getOnNestedPort(String name, Type type); + + /** + * Retrieves the first {@link org.eclipse.uml2.uml.Port} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the '<em><b>On Nested Port</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Port} to retrieve, or <code>null</code>. + * @param type The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Port} to retrieve, or <code>null</code>. + * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons. + * @return The first {@link org.eclipse.uml2.uml.Port} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or <code>null</code>. + * @see #getOnNestedPort() + * @generated + */ + Port getOnNestedPort(String name, Type type, boolean ignoreCase); + +} // InvocationOnNestedPortAction
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/ItemFlow.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/ItemFlow.java new file mode 100644 index 0000000..e6c42de --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/ItemFlow.java
@@ -0,0 +1,90 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.InformationFlow; +import org.eclipse.uml2.uml.Property; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Item Flow</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.ItemFlow#getBase_InformationFlow <em>Base Information Flow</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.ItemFlow#getItemProperty <em>Item Property</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#getItemFlow() + * @model + * @generated + */ +public interface ItemFlow extends EObject { + /** + * Returns the value of the '<em><b>Base Information Flow</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Information Flow</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Information Flow</em>' reference. + * @see #setBase_InformationFlow(InformationFlow) + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#getItemFlow_Base_InformationFlow() + * @model ordered="false" + * @generated + */ + InformationFlow getBase_InformationFlow(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.portsandflows.ItemFlow#getBase_InformationFlow <em>Base Information Flow</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Information Flow</em>' reference. + * @see #getBase_InformationFlow() + * @generated + */ + void setBase_InformationFlow(InformationFlow value); + + /** + * Returns the value of the '<em><b>Item Property</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Item Property</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Item Property</em>' reference. + * @see #setItemProperty(Property) + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#getItemFlow_ItemProperty() + * @model ordered="false" + * @generated + */ + Property getItemProperty(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.portsandflows.ItemFlow#getItemProperty <em>Item Property</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Item Property</em>' reference. + * @see #getItemProperty() + * @generated + */ + void setItemProperty(Property value); + +} // ItemFlow
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/PortsandflowsFactory.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/PortsandflowsFactory.java new file mode 100644 index 0000000..2b35f08 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/PortsandflowsFactory.java
@@ -0,0 +1,133 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows; + +import org.eclipse.emf.ecore.EFactory; + +/** + * <!-- begin-user-doc --> + * The <b>Factory</b> for the model. + * It provides a create method for each non-abstract class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage + * @generated + */ +public interface PortsandflowsFactory extends EFactory { + /** + * The singleton instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + PortsandflowsFactory eINSTANCE = org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsFactoryImpl.init(); + + /** + * Returns a new object of class '<em>Item Flow</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Item Flow</em>'. + * @generated + */ + ItemFlow createItemFlow(); + + /** + * Returns a new object of class '<em>Proxy Port</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Proxy Port</em>'. + * @generated + */ + ProxyPort createProxyPort(); + + /** + * Returns a new object of class '<em>Full Port</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Full Port</em>'. + * @generated + */ + FullPort createFullPort(); + + /** + * Returns a new object of class '<em>Invocation On Nested Port Action</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Invocation On Nested Port Action</em>'. + * @generated + */ + InvocationOnNestedPortAction createInvocationOnNestedPortAction(); + + /** + * Returns a new object of class '<em>Interface Block</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Interface Block</em>'. + * @generated + */ + InterfaceBlock createInterfaceBlock(); + + /** + * Returns a new object of class '<em>Flow Property</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Flow Property</em>'. + * @generated + */ + FlowProperty createFlowProperty(); + + /** + * Returns a new object of class '<em>Change Structural Feature Event</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Change Structural Feature Event</em>'. + * @generated + */ + ChangeStructuralFeatureEvent createChangeStructuralFeatureEvent(); + + /** + * Returns a new object of class '<em>Trigger On Nested Port</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Trigger On Nested Port</em>'. + * @generated + */ + TriggerOnNestedPort createTriggerOnNestedPort(); + + /** + * Returns a new object of class '<em>Accept Change Structural Feature Event Action</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Accept Change Structural Feature Event Action</em>'. + * @generated + */ + AcceptChangeStructuralFeatureEventAction createAcceptChangeStructuralFeatureEventAction(); + + /** + * Returns a new object of class '<em>Directed Feature</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Directed Feature</em>'. + * @generated + */ + DirectedFeature createDirectedFeature(); + + /** + * Returns the package supported by this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the package supported by this factory. + * @generated + */ + PortsandflowsPackage getPortsandflowsPackage(); + +} //PortsandflowsFactory
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/PortsandflowsPackage.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/PortsandflowsPackage.java new file mode 100644 index 0000000..b7697aa --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/PortsandflowsPackage.java
@@ -0,0 +1,1168 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EOperation; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; + +/** + * <!-- begin-user-doc --> + * The <b>Package</b> for the model. + * It contains accessors for the meta objects to represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each operation of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsFactory + * @model kind="package" + * annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='PortsAndFlows'" + * @generated + */ +public interface PortsandflowsPackage extends EPackage { + /** + * The package name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNAME = "portsandflows"; //$NON-NLS-1$ + + /** + * The package namespace URI. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_URI = "http://www.eclipse.org/papyrus/sysml/1.5/SysML/PortsAndFlows"; //$NON-NLS-1$ + + /** + * The package namespace name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_PREFIX = "PortsAndFlows"; //$NON-NLS-1$ + + /** + * The singleton instance of the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + PortsandflowsPackage eINSTANCE = org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.ItemFlowImpl <em>Item Flow</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.ItemFlowImpl + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl#getItemFlow() + * @generated + */ + int ITEM_FLOW = 0; + + /** + * The feature id for the '<em><b>Base Information Flow</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ITEM_FLOW__BASE_INFORMATION_FLOW = 0; + + /** + * The feature id for the '<em><b>Item Property</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ITEM_FLOW__ITEM_PROPERTY = 1; + + /** + * The number of structural features of the '<em>Item Flow</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ITEM_FLOW_FEATURE_COUNT = 2; + + /** + * The number of operations of the '<em>Item Flow</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ITEM_FLOW_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.ProxyPortImpl <em>Proxy Port</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.ProxyPortImpl + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl#getProxyPort() + * @generated + */ + int PROXY_PORT = 1; + + /** + * The feature id for the '<em><b>Base Port</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROXY_PORT__BASE_PORT = 0; + + /** + * The number of structural features of the '<em>Proxy Port</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROXY_PORT_FEATURE_COUNT = 1; + + /** + * The number of operations of the '<em>Proxy Port</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROXY_PORT_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.FullPortImpl <em>Full Port</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.FullPortImpl + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl#getFullPort() + * @generated + */ + int FULL_PORT = 2; + + /** + * The feature id for the '<em><b>Base Port</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FULL_PORT__BASE_PORT = 0; + + /** + * The number of structural features of the '<em>Full Port</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FULL_PORT_FEATURE_COUNT = 1; + + /** + * The number of operations of the '<em>Full Port</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FULL_PORT_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.InvocationOnNestedPortActionImpl <em>Invocation On Nested Port Action</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.InvocationOnNestedPortActionImpl + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl#getInvocationOnNestedPortAction() + * @generated + */ + int INVOCATION_ON_NESTED_PORT_ACTION = 3; + + /** + * The feature id for the '<em><b>Base Element</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int INVOCATION_ON_NESTED_PORT_ACTION__BASE_ELEMENT = BlocksPackage.ELEMENT_PROPERTY_PATH__BASE_ELEMENT; + + /** + * The feature id for the '<em><b>Property Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int INVOCATION_ON_NESTED_PORT_ACTION__PROPERTY_PATH = BlocksPackage.ELEMENT_PROPERTY_PATH__PROPERTY_PATH; + + /** + * The feature id for the '<em><b>Base Invocation Action</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int INVOCATION_ON_NESTED_PORT_ACTION__BASE_INVOCATION_ACTION = BlocksPackage.ELEMENT_PROPERTY_PATH_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>On Nested Port</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int INVOCATION_ON_NESTED_PORT_ACTION__ON_NESTED_PORT = BlocksPackage.ELEMENT_PROPERTY_PATH_FEATURE_COUNT + 1; + + /** + * The number of structural features of the '<em>Invocation On Nested Port Action</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int INVOCATION_ON_NESTED_PORT_ACTION_FEATURE_COUNT = BlocksPackage.ELEMENT_PROPERTY_PATH_FEATURE_COUNT + 2; + + /** + * The number of operations of the '<em>Invocation On Nested Port Action</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int INVOCATION_ON_NESTED_PORT_ACTION_OPERATION_COUNT = BlocksPackage.ELEMENT_PROPERTY_PATH_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.InterfaceBlockImpl <em>Interface Block</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.InterfaceBlockImpl + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl#getInterfaceBlock() + * @generated + */ + int INTERFACE_BLOCK = 4; + + /** + * The feature id for the '<em><b>Base Class</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int INTERFACE_BLOCK__BASE_CLASS = BlocksPackage.BLOCK__BASE_CLASS; + + /** + * The feature id for the '<em><b>Is Encapsulated</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int INTERFACE_BLOCK__IS_ENCAPSULATED = BlocksPackage.BLOCK__IS_ENCAPSULATED; + + /** + * The number of structural features of the '<em>Interface Block</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int INTERFACE_BLOCK_FEATURE_COUNT = BlocksPackage.BLOCK_FEATURE_COUNT + 0; + + /** + * The operation id for the '<em>Get References</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int INTERFACE_BLOCK___GET_REFERENCES = BlocksPackage.BLOCK___GET_REFERENCES; + + /** + * The operation id for the '<em>Get Parts</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int INTERFACE_BLOCK___GET_PARTS = BlocksPackage.BLOCK___GET_PARTS; + + /** + * The operation id for the '<em>Get Flow Properties</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int INTERFACE_BLOCK___GET_FLOW_PROPERTIES = BlocksPackage.BLOCK___GET_FLOW_PROPERTIES; + + /** + * The number of operations of the '<em>Interface Block</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int INTERFACE_BLOCK_OPERATION_COUNT = BlocksPackage.BLOCK_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.FlowPropertyImpl <em>Flow Property</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.FlowPropertyImpl + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl#getFlowProperty() + * @generated + */ + int FLOW_PROPERTY = 5; + + /** + * The feature id for the '<em><b>Base Property</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FLOW_PROPERTY__BASE_PROPERTY = 0; + + /** + * The feature id for the '<em><b>Direction</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FLOW_PROPERTY__DIRECTION = 1; + + /** + * The number of structural features of the '<em>Flow Property</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FLOW_PROPERTY_FEATURE_COUNT = 2; + + /** + * The operation id for the '<em>Get Icon</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FLOW_PROPERTY___GET_ICON = 0; + + /** + * The number of operations of the '<em>Flow Property</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FLOW_PROPERTY_OPERATION_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.ChangeStructuralFeatureEventImpl <em>Change Structural Feature Event</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.ChangeStructuralFeatureEventImpl + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl#getChangeStructuralFeatureEvent() + * @generated + */ + int CHANGE_STRUCTURAL_FEATURE_EVENT = 6; + + /** + * The feature id for the '<em><b>Base Change Event</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CHANGE_STRUCTURAL_FEATURE_EVENT__BASE_CHANGE_EVENT = 0; + + /** + * The feature id for the '<em><b>Structural Feature</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CHANGE_STRUCTURAL_FEATURE_EVENT__STRUCTURAL_FEATURE = 1; + + /** + * The number of structural features of the '<em>Change Structural Feature Event</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CHANGE_STRUCTURAL_FEATURE_EVENT_FEATURE_COUNT = 2; + + /** + * The number of operations of the '<em>Change Structural Feature Event</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CHANGE_STRUCTURAL_FEATURE_EVENT_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.TriggerOnNestedPortImpl <em>Trigger On Nested Port</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.TriggerOnNestedPortImpl + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl#getTriggerOnNestedPort() + * @generated + */ + int TRIGGER_ON_NESTED_PORT = 7; + + /** + * The feature id for the '<em><b>Base Element</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRIGGER_ON_NESTED_PORT__BASE_ELEMENT = BlocksPackage.ELEMENT_PROPERTY_PATH__BASE_ELEMENT; + + /** + * The feature id for the '<em><b>Property Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRIGGER_ON_NESTED_PORT__PROPERTY_PATH = BlocksPackage.ELEMENT_PROPERTY_PATH__PROPERTY_PATH; + + /** + * The feature id for the '<em><b>Base Trigger</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRIGGER_ON_NESTED_PORT__BASE_TRIGGER = BlocksPackage.ELEMENT_PROPERTY_PATH_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>On Nested Port</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRIGGER_ON_NESTED_PORT__ON_NESTED_PORT = BlocksPackage.ELEMENT_PROPERTY_PATH_FEATURE_COUNT + 1; + + /** + * The number of structural features of the '<em>Trigger On Nested Port</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRIGGER_ON_NESTED_PORT_FEATURE_COUNT = BlocksPackage.ELEMENT_PROPERTY_PATH_FEATURE_COUNT + 2; + + /** + * The number of operations of the '<em>Trigger On Nested Port</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRIGGER_ON_NESTED_PORT_OPERATION_COUNT = BlocksPackage.ELEMENT_PROPERTY_PATH_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.AcceptChangeStructuralFeatureEventActionImpl <em>Accept Change Structural Feature Event Action</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.AcceptChangeStructuralFeatureEventActionImpl + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl#getAcceptChangeStructuralFeatureEventAction() + * @generated + */ + int ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION = 8; + + /** + * The feature id for the '<em><b>Base Accept Event Action</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION__BASE_ACCEPT_EVENT_ACTION = 0; + + /** + * The number of structural features of the '<em>Accept Change Structural Feature Event Action</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION_FEATURE_COUNT = 1; + + /** + * The number of operations of the '<em>Accept Change Structural Feature Event Action</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.DirectedFeatureImpl <em>Directed Feature</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.DirectedFeatureImpl + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl#getDirectedFeature() + * @generated + */ + int DIRECTED_FEATURE = 9; + + /** + * The feature id for the '<em><b>Base Feature</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIRECTED_FEATURE__BASE_FEATURE = 0; + + /** + * The feature id for the '<em><b>Feature Direction</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIRECTED_FEATURE__FEATURE_DIRECTION = 1; + + /** + * The number of structural features of the '<em>Directed Feature</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIRECTED_FEATURE_FEATURE_COUNT = 2; + + /** + * The number of operations of the '<em>Directed Feature</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DIRECTED_FEATURE_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.portsandflows.FlowDirection <em>Flow Direction</em>}' enum. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.FlowDirection + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl#getFlowDirection() + * @generated + */ + int FLOW_DIRECTION = 10; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.portsandflows.FeatureDirection <em>Feature Direction</em>}' enum. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.FeatureDirection + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl#getFeatureDirection() + * @generated + */ + int FEATURE_DIRECTION = 11; + + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.portsandflows.ItemFlow <em>Item Flow</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Item Flow</em>'. + * @see org.eclipse.papyrus.sysml.portsandflows.ItemFlow + * @generated + */ + EClass getItemFlow(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.portsandflows.ItemFlow#getBase_InformationFlow <em>Base Information Flow</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Information Flow</em>'. + * @see org.eclipse.papyrus.sysml.portsandflows.ItemFlow#getBase_InformationFlow() + * @see #getItemFlow() + * @generated + */ + EReference getItemFlow_Base_InformationFlow(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.portsandflows.ItemFlow#getItemProperty <em>Item Property</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Item Property</em>'. + * @see org.eclipse.papyrus.sysml.portsandflows.ItemFlow#getItemProperty() + * @see #getItemFlow() + * @generated + */ + EReference getItemFlow_ItemProperty(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.portsandflows.ProxyPort <em>Proxy Port</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Proxy Port</em>'. + * @see org.eclipse.papyrus.sysml.portsandflows.ProxyPort + * @generated + */ + EClass getProxyPort(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.portsandflows.ProxyPort#getBase_Port <em>Base Port</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Port</em>'. + * @see org.eclipse.papyrus.sysml.portsandflows.ProxyPort#getBase_Port() + * @see #getProxyPort() + * @generated + */ + EReference getProxyPort_Base_Port(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.portsandflows.FullPort <em>Full Port</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Full Port</em>'. + * @see org.eclipse.papyrus.sysml.portsandflows.FullPort + * @generated + */ + EClass getFullPort(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.portsandflows.FullPort#getBase_Port <em>Base Port</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Port</em>'. + * @see org.eclipse.papyrus.sysml.portsandflows.FullPort#getBase_Port() + * @see #getFullPort() + * @generated + */ + EReference getFullPort_Base_Port(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.portsandflows.InvocationOnNestedPortAction <em>Invocation On Nested Port Action</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Invocation On Nested Port Action</em>'. + * @see org.eclipse.papyrus.sysml.portsandflows.InvocationOnNestedPortAction + * @generated + */ + EClass getInvocationOnNestedPortAction(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.portsandflows.InvocationOnNestedPortAction#getBase_InvocationAction <em>Base Invocation Action</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Invocation Action</em>'. + * @see org.eclipse.papyrus.sysml.portsandflows.InvocationOnNestedPortAction#getBase_InvocationAction() + * @see #getInvocationOnNestedPortAction() + * @generated + */ + EReference getInvocationOnNestedPortAction_Base_InvocationAction(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.portsandflows.InvocationOnNestedPortAction#getOnNestedPort <em>On Nested Port</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>On Nested Port</em>'. + * @see org.eclipse.papyrus.sysml.portsandflows.InvocationOnNestedPortAction#getOnNestedPort() + * @see #getInvocationOnNestedPortAction() + * @generated + */ + EReference getInvocationOnNestedPortAction_OnNestedPort(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.portsandflows.InterfaceBlock <em>Interface Block</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Interface Block</em>'. + * @see org.eclipse.papyrus.sysml.portsandflows.InterfaceBlock + * @generated + */ + EClass getInterfaceBlock(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.portsandflows.FlowProperty <em>Flow Property</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Flow Property</em>'. + * @see org.eclipse.papyrus.sysml.portsandflows.FlowProperty + * @generated + */ + EClass getFlowProperty(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.portsandflows.FlowProperty#getBase_Property <em>Base Property</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Property</em>'. + * @see org.eclipse.papyrus.sysml.portsandflows.FlowProperty#getBase_Property() + * @see #getFlowProperty() + * @generated + */ + EReference getFlowProperty_Base_Property(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml.portsandflows.FlowProperty#getDirection <em>Direction</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Direction</em>'. + * @see org.eclipse.papyrus.sysml.portsandflows.FlowProperty#getDirection() + * @see #getFlowProperty() + * @generated + */ + EAttribute getFlowProperty_Direction(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.portsandflows.FlowProperty#getIcon() <em>Get Icon</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Icon</em>' operation. + * @see org.eclipse.papyrus.sysml.portsandflows.FlowProperty#getIcon() + * @generated + */ + EOperation getFlowProperty__GetIcon(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.portsandflows.ChangeStructuralFeatureEvent <em>Change Structural Feature Event</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Change Structural Feature Event</em>'. + * @see org.eclipse.papyrus.sysml.portsandflows.ChangeStructuralFeatureEvent + * @generated + */ + EClass getChangeStructuralFeatureEvent(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.portsandflows.ChangeStructuralFeatureEvent#getBase_ChangeEvent <em>Base Change Event</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Change Event</em>'. + * @see org.eclipse.papyrus.sysml.portsandflows.ChangeStructuralFeatureEvent#getBase_ChangeEvent() + * @see #getChangeStructuralFeatureEvent() + * @generated + */ + EReference getChangeStructuralFeatureEvent_Base_ChangeEvent(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.portsandflows.ChangeStructuralFeatureEvent#getStructuralFeature <em>Structural Feature</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Structural Feature</em>'. + * @see org.eclipse.papyrus.sysml.portsandflows.ChangeStructuralFeatureEvent#getStructuralFeature() + * @see #getChangeStructuralFeatureEvent() + * @generated + */ + EReference getChangeStructuralFeatureEvent_StructuralFeature(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.portsandflows.TriggerOnNestedPort <em>Trigger On Nested Port</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Trigger On Nested Port</em>'. + * @see org.eclipse.papyrus.sysml.portsandflows.TriggerOnNestedPort + * @generated + */ + EClass getTriggerOnNestedPort(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.portsandflows.TriggerOnNestedPort#getBase_Trigger <em>Base Trigger</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Trigger</em>'. + * @see org.eclipse.papyrus.sysml.portsandflows.TriggerOnNestedPort#getBase_Trigger() + * @see #getTriggerOnNestedPort() + * @generated + */ + EReference getTriggerOnNestedPort_Base_Trigger(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.portsandflows.TriggerOnNestedPort#getOnNestedPort <em>On Nested Port</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>On Nested Port</em>'. + * @see org.eclipse.papyrus.sysml.portsandflows.TriggerOnNestedPort#getOnNestedPort() + * @see #getTriggerOnNestedPort() + * @generated + */ + EReference getTriggerOnNestedPort_OnNestedPort(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.portsandflows.AcceptChangeStructuralFeatureEventAction <em>Accept Change Structural Feature Event Action</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Accept Change Structural Feature Event Action</em>'. + * @see org.eclipse.papyrus.sysml.portsandflows.AcceptChangeStructuralFeatureEventAction + * @generated + */ + EClass getAcceptChangeStructuralFeatureEventAction(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.portsandflows.AcceptChangeStructuralFeatureEventAction#getBase_AcceptEventAction <em>Base Accept Event Action</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Accept Event Action</em>'. + * @see org.eclipse.papyrus.sysml.portsandflows.AcceptChangeStructuralFeatureEventAction#getBase_AcceptEventAction() + * @see #getAcceptChangeStructuralFeatureEventAction() + * @generated + */ + EReference getAcceptChangeStructuralFeatureEventAction_Base_AcceptEventAction(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.portsandflows.DirectedFeature <em>Directed Feature</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Directed Feature</em>'. + * @see org.eclipse.papyrus.sysml.portsandflows.DirectedFeature + * @generated + */ + EClass getDirectedFeature(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.portsandflows.DirectedFeature#getBase_Feature <em>Base Feature</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Feature</em>'. + * @see org.eclipse.papyrus.sysml.portsandflows.DirectedFeature#getBase_Feature() + * @see #getDirectedFeature() + * @generated + */ + EReference getDirectedFeature_Base_Feature(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml.portsandflows.DirectedFeature#getFeatureDirection <em>Feature Direction</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Feature Direction</em>'. + * @see org.eclipse.papyrus.sysml.portsandflows.DirectedFeature#getFeatureDirection() + * @see #getDirectedFeature() + * @generated + */ + EAttribute getDirectedFeature_FeatureDirection(); + + /** + * Returns the meta object for enum '{@link org.eclipse.papyrus.sysml.portsandflows.FlowDirection <em>Flow Direction</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for enum '<em>Flow Direction</em>'. + * @see org.eclipse.papyrus.sysml.portsandflows.FlowDirection + * @generated + */ + EEnum getFlowDirection(); + + /** + * Returns the meta object for enum '{@link org.eclipse.papyrus.sysml.portsandflows.FeatureDirection <em>Feature Direction</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for enum '<em>Feature Direction</em>'. + * @see org.eclipse.papyrus.sysml.portsandflows.FeatureDirection + * @generated + */ + EEnum getFeatureDirection(); + + /** + * Returns the factory that creates the instances of the model. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the factory that creates the instances of the model. + * @generated + */ + PortsandflowsFactory getPortsandflowsFactory(); + + /** + * <!-- begin-user-doc --> + * Defines literals for the meta objects that represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each operation of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.ItemFlowImpl <em>Item Flow</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.ItemFlowImpl + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl#getItemFlow() + * @generated + */ + EClass ITEM_FLOW = eINSTANCE.getItemFlow(); + + /** + * The meta object literal for the '<em><b>Base Information Flow</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ITEM_FLOW__BASE_INFORMATION_FLOW = eINSTANCE.getItemFlow_Base_InformationFlow(); + + /** + * The meta object literal for the '<em><b>Item Property</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ITEM_FLOW__ITEM_PROPERTY = eINSTANCE.getItemFlow_ItemProperty(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.ProxyPortImpl <em>Proxy Port</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.ProxyPortImpl + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl#getProxyPort() + * @generated + */ + EClass PROXY_PORT = eINSTANCE.getProxyPort(); + + /** + * The meta object literal for the '<em><b>Base Port</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference PROXY_PORT__BASE_PORT = eINSTANCE.getProxyPort_Base_Port(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.FullPortImpl <em>Full Port</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.FullPortImpl + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl#getFullPort() + * @generated + */ + EClass FULL_PORT = eINSTANCE.getFullPort(); + + /** + * The meta object literal for the '<em><b>Base Port</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference FULL_PORT__BASE_PORT = eINSTANCE.getFullPort_Base_Port(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.InvocationOnNestedPortActionImpl <em>Invocation On Nested Port Action</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.InvocationOnNestedPortActionImpl + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl#getInvocationOnNestedPortAction() + * @generated + */ + EClass INVOCATION_ON_NESTED_PORT_ACTION = eINSTANCE.getInvocationOnNestedPortAction(); + + /** + * The meta object literal for the '<em><b>Base Invocation Action</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference INVOCATION_ON_NESTED_PORT_ACTION__BASE_INVOCATION_ACTION = eINSTANCE.getInvocationOnNestedPortAction_Base_InvocationAction(); + + /** + * The meta object literal for the '<em><b>On Nested Port</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference INVOCATION_ON_NESTED_PORT_ACTION__ON_NESTED_PORT = eINSTANCE.getInvocationOnNestedPortAction_OnNestedPort(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.InterfaceBlockImpl <em>Interface Block</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.InterfaceBlockImpl + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl#getInterfaceBlock() + * @generated + */ + EClass INTERFACE_BLOCK = eINSTANCE.getInterfaceBlock(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.FlowPropertyImpl <em>Flow Property</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.FlowPropertyImpl + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl#getFlowProperty() + * @generated + */ + EClass FLOW_PROPERTY = eINSTANCE.getFlowProperty(); + + /** + * The meta object literal for the '<em><b>Base Property</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference FLOW_PROPERTY__BASE_PROPERTY = eINSTANCE.getFlowProperty_Base_Property(); + + /** + * The meta object literal for the '<em><b>Direction</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute FLOW_PROPERTY__DIRECTION = eINSTANCE.getFlowProperty_Direction(); + + /** + * The meta object literal for the '<em><b>Get Icon</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation FLOW_PROPERTY___GET_ICON = eINSTANCE.getFlowProperty__GetIcon(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.ChangeStructuralFeatureEventImpl <em>Change Structural Feature Event</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.ChangeStructuralFeatureEventImpl + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl#getChangeStructuralFeatureEvent() + * @generated + */ + EClass CHANGE_STRUCTURAL_FEATURE_EVENT = eINSTANCE.getChangeStructuralFeatureEvent(); + + /** + * The meta object literal for the '<em><b>Base Change Event</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference CHANGE_STRUCTURAL_FEATURE_EVENT__BASE_CHANGE_EVENT = eINSTANCE.getChangeStructuralFeatureEvent_Base_ChangeEvent(); + + /** + * The meta object literal for the '<em><b>Structural Feature</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference CHANGE_STRUCTURAL_FEATURE_EVENT__STRUCTURAL_FEATURE = eINSTANCE.getChangeStructuralFeatureEvent_StructuralFeature(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.TriggerOnNestedPortImpl <em>Trigger On Nested Port</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.TriggerOnNestedPortImpl + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl#getTriggerOnNestedPort() + * @generated + */ + EClass TRIGGER_ON_NESTED_PORT = eINSTANCE.getTriggerOnNestedPort(); + + /** + * The meta object literal for the '<em><b>Base Trigger</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference TRIGGER_ON_NESTED_PORT__BASE_TRIGGER = eINSTANCE.getTriggerOnNestedPort_Base_Trigger(); + + /** + * The meta object literal for the '<em><b>On Nested Port</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference TRIGGER_ON_NESTED_PORT__ON_NESTED_PORT = eINSTANCE.getTriggerOnNestedPort_OnNestedPort(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.AcceptChangeStructuralFeatureEventActionImpl <em>Accept Change Structural Feature Event Action</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.AcceptChangeStructuralFeatureEventActionImpl + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl#getAcceptChangeStructuralFeatureEventAction() + * @generated + */ + EClass ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION = eINSTANCE.getAcceptChangeStructuralFeatureEventAction(); + + /** + * The meta object literal for the '<em><b>Base Accept Event Action</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION__BASE_ACCEPT_EVENT_ACTION = eINSTANCE.getAcceptChangeStructuralFeatureEventAction_Base_AcceptEventAction(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.DirectedFeatureImpl <em>Directed Feature</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.DirectedFeatureImpl + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl#getDirectedFeature() + * @generated + */ + EClass DIRECTED_FEATURE = eINSTANCE.getDirectedFeature(); + + /** + * The meta object literal for the '<em><b>Base Feature</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference DIRECTED_FEATURE__BASE_FEATURE = eINSTANCE.getDirectedFeature_Base_Feature(); + + /** + * The meta object literal for the '<em><b>Feature Direction</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute DIRECTED_FEATURE__FEATURE_DIRECTION = eINSTANCE.getDirectedFeature_FeatureDirection(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.portsandflows.FlowDirection <em>Flow Direction</em>}' enum. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.FlowDirection + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl#getFlowDirection() + * @generated + */ + EEnum FLOW_DIRECTION = eINSTANCE.getFlowDirection(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.portsandflows.FeatureDirection <em>Feature Direction</em>}' enum. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.FeatureDirection + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl#getFeatureDirection() + * @generated + */ + EEnum FEATURE_DIRECTION = eINSTANCE.getFeatureDirection(); + + } + +} //PortsandflowsPackage
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/ProxyPort.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/ProxyPort.java new file mode 100644 index 0000000..5bd8d2f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/ProxyPort.java
@@ -0,0 +1,62 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Port; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Proxy Port</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.ProxyPort#getBase_Port <em>Base Port</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#getProxyPort() + * @model + * @generated + */ +public interface ProxyPort extends EObject { + /** + * Returns the value of the '<em><b>Base Port</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Port</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Port</em>' reference. + * @see #setBase_Port(Port) + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#getProxyPort_Base_Port() + * @model ordered="false" + * @generated + */ + Port getBase_Port(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.portsandflows.ProxyPort#getBase_Port <em>Base Port</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Port</em>' reference. + * @see #getBase_Port() + * @generated + */ + void setBase_Port(Port value); + +} // ProxyPort
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/TriggerOnNestedPort.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/TriggerOnNestedPort.java new file mode 100644 index 0000000..2912df3 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/TriggerOnNestedPort.java
@@ -0,0 +1,108 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.papyrus.sysml.blocks.ElementPropertyPath; + +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.Trigger; +import org.eclipse.uml2.uml.Type; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Trigger On Nested Port</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.TriggerOnNestedPort#getBase_Trigger <em>Base Trigger</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.TriggerOnNestedPort#getOnNestedPort <em>On Nested Port</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#getTriggerOnNestedPort() + * @model + * @generated + */ +public interface TriggerOnNestedPort extends ElementPropertyPath { + /** + * Returns the value of the '<em><b>Base Trigger</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Trigger</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Trigger</em>' reference. + * @see #setBase_Trigger(Trigger) + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#getTriggerOnNestedPort_Base_Trigger() + * @model required="true" ordered="false" + * @generated + */ + Trigger getBase_Trigger(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.portsandflows.TriggerOnNestedPort#getBase_Trigger <em>Base Trigger</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Trigger</em>' reference. + * @see #getBase_Trigger() + * @generated + */ + void setBase_Trigger(Trigger value); + + /** + * Returns the value of the '<em><b>On Nested Port</b></em>' reference list. + * The list contents are of type {@link org.eclipse.uml2.uml.Port}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>On Nested Port</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>On Nested Port</em>' reference list. + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#getTriggerOnNestedPort_OnNestedPort() + * @model required="true" + * @generated + */ + EList<Port> getOnNestedPort(); + + /** + * Retrieves the first {@link org.eclipse.uml2.uml.Port} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the '<em><b>On Nested Port</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Port} to retrieve, or <code>null</code>. + * @param type The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Port} to retrieve, or <code>null</code>. + * @return The first {@link org.eclipse.uml2.uml.Port} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or <code>null</code>. + * @see #getOnNestedPort() + * @generated + */ + Port getOnNestedPort(String name, Type type); + + /** + * Retrieves the first {@link org.eclipse.uml2.uml.Port} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the '<em><b>On Nested Port</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Port} to retrieve, or <code>null</code>. + * @param type The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Port} to retrieve, or <code>null</code>. + * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons. + * @return The first {@link org.eclipse.uml2.uml.Port} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or <code>null</code>. + * @see #getOnNestedPort() + * @generated + */ + Port getOnNestedPort(String name, Type type, boolean ignoreCase); + +} // TriggerOnNestedPort
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/AcceptChangeStructuralFeatureEventActionImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/AcceptChangeStructuralFeatureEventActionImpl.java new file mode 100644 index 0000000..e161ac0 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/AcceptChangeStructuralFeatureEventActionImpl.java
@@ -0,0 +1,168 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows.internal.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.sysml.portsandflows.AcceptChangeStructuralFeatureEventAction; +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; + +import org.eclipse.uml2.uml.AcceptEventAction; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Accept Change Structural Feature Event Action</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.AcceptChangeStructuralFeatureEventActionImpl#getBase_AcceptEventAction <em>Base Accept Event Action</em>}</li> + * </ul> + * + * @generated + */ +public class AcceptChangeStructuralFeatureEventActionImpl extends MinimalEObjectImpl.Container implements AcceptChangeStructuralFeatureEventAction { + /** + * The cached value of the '{@link #getBase_AcceptEventAction() <em>Base Accept Event Action</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_AcceptEventAction() + * @generated + * @ordered + */ + protected AcceptEventAction base_AcceptEventAction; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected AcceptChangeStructuralFeatureEventActionImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return PortsandflowsPackage.Literals.ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AcceptEventAction getBase_AcceptEventAction() { + if (base_AcceptEventAction != null && base_AcceptEventAction.eIsProxy()) { + InternalEObject oldBase_AcceptEventAction = (InternalEObject)base_AcceptEventAction; + base_AcceptEventAction = (AcceptEventAction)eResolveProxy(oldBase_AcceptEventAction); + if (base_AcceptEventAction != oldBase_AcceptEventAction) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, PortsandflowsPackage.ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION__BASE_ACCEPT_EVENT_ACTION, oldBase_AcceptEventAction, base_AcceptEventAction)); + } + } + return base_AcceptEventAction; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AcceptEventAction basicGetBase_AcceptEventAction() { + return base_AcceptEventAction; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_AcceptEventAction(AcceptEventAction newBase_AcceptEventAction) { + AcceptEventAction oldBase_AcceptEventAction = base_AcceptEventAction; + base_AcceptEventAction = newBase_AcceptEventAction; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, PortsandflowsPackage.ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION__BASE_ACCEPT_EVENT_ACTION, oldBase_AcceptEventAction, base_AcceptEventAction)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case PortsandflowsPackage.ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION__BASE_ACCEPT_EVENT_ACTION: + if (resolve) return getBase_AcceptEventAction(); + return basicGetBase_AcceptEventAction(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case PortsandflowsPackage.ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION__BASE_ACCEPT_EVENT_ACTION: + setBase_AcceptEventAction((AcceptEventAction)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case PortsandflowsPackage.ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION__BASE_ACCEPT_EVENT_ACTION: + setBase_AcceptEventAction((AcceptEventAction)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case PortsandflowsPackage.ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION__BASE_ACCEPT_EVENT_ACTION: + return base_AcceptEventAction != null; + } + return super.eIsSet(featureID); + } + +} //AcceptChangeStructuralFeatureEventActionImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/ChangeStructuralFeatureEventImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/ChangeStructuralFeatureEventImpl.java new file mode 100644 index 0000000..0eb85de --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/ChangeStructuralFeatureEventImpl.java
@@ -0,0 +1,229 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows.internal.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.sysml.portsandflows.ChangeStructuralFeatureEvent; +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; + +import org.eclipse.uml2.uml.ChangeEvent; +import org.eclipse.uml2.uml.StructuralFeature; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Change Structural Feature Event</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.ChangeStructuralFeatureEventImpl#getBase_ChangeEvent <em>Base Change Event</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.ChangeStructuralFeatureEventImpl#getStructuralFeature <em>Structural Feature</em>}</li> + * </ul> + * + * @generated + */ +public class ChangeStructuralFeatureEventImpl extends MinimalEObjectImpl.Container implements ChangeStructuralFeatureEvent { + /** + * The cached value of the '{@link #getBase_ChangeEvent() <em>Base Change Event</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_ChangeEvent() + * @generated + * @ordered + */ + protected ChangeEvent base_ChangeEvent; + + /** + * The cached value of the '{@link #getStructuralFeature() <em>Structural Feature</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getStructuralFeature() + * @generated + * @ordered + */ + protected StructuralFeature structuralFeature; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ChangeStructuralFeatureEventImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return PortsandflowsPackage.Literals.CHANGE_STRUCTURAL_FEATURE_EVENT; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ChangeEvent getBase_ChangeEvent() { + if (base_ChangeEvent != null && base_ChangeEvent.eIsProxy()) { + InternalEObject oldBase_ChangeEvent = (InternalEObject)base_ChangeEvent; + base_ChangeEvent = (ChangeEvent)eResolveProxy(oldBase_ChangeEvent); + if (base_ChangeEvent != oldBase_ChangeEvent) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT__BASE_CHANGE_EVENT, oldBase_ChangeEvent, base_ChangeEvent)); + } + } + return base_ChangeEvent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ChangeEvent basicGetBase_ChangeEvent() { + return base_ChangeEvent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_ChangeEvent(ChangeEvent newBase_ChangeEvent) { + ChangeEvent oldBase_ChangeEvent = base_ChangeEvent; + base_ChangeEvent = newBase_ChangeEvent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT__BASE_CHANGE_EVENT, oldBase_ChangeEvent, base_ChangeEvent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public StructuralFeature getStructuralFeature() { + if (structuralFeature != null && structuralFeature.eIsProxy()) { + InternalEObject oldStructuralFeature = (InternalEObject)structuralFeature; + structuralFeature = (StructuralFeature)eResolveProxy(oldStructuralFeature); + if (structuralFeature != oldStructuralFeature) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT__STRUCTURAL_FEATURE, oldStructuralFeature, structuralFeature)); + } + } + return structuralFeature; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public StructuralFeature basicGetStructuralFeature() { + return structuralFeature; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setStructuralFeature(StructuralFeature newStructuralFeature) { + StructuralFeature oldStructuralFeature = structuralFeature; + structuralFeature = newStructuralFeature; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT__STRUCTURAL_FEATURE, oldStructuralFeature, structuralFeature)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT__BASE_CHANGE_EVENT: + if (resolve) return getBase_ChangeEvent(); + return basicGetBase_ChangeEvent(); + case PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT__STRUCTURAL_FEATURE: + if (resolve) return getStructuralFeature(); + return basicGetStructuralFeature(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT__BASE_CHANGE_EVENT: + setBase_ChangeEvent((ChangeEvent)newValue); + return; + case PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT__STRUCTURAL_FEATURE: + setStructuralFeature((StructuralFeature)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT__BASE_CHANGE_EVENT: + setBase_ChangeEvent((ChangeEvent)null); + return; + case PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT__STRUCTURAL_FEATURE: + setStructuralFeature((StructuralFeature)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT__BASE_CHANGE_EVENT: + return base_ChangeEvent != null; + case PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT__STRUCTURAL_FEATURE: + return structuralFeature != null; + } + return super.eIsSet(featureID); + } + +} //ChangeStructuralFeatureEventImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/DirectedFeatureImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/DirectedFeatureImpl.java new file mode 100644 index 0000000..a5c0560 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/DirectedFeatureImpl.java
@@ -0,0 +1,237 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows.internal.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.sysml.portsandflows.DirectedFeature; +import org.eclipse.papyrus.sysml.portsandflows.FeatureDirection; +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; + +import org.eclipse.uml2.uml.Feature; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Directed Feature</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.DirectedFeatureImpl#getBase_Feature <em>Base Feature</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.DirectedFeatureImpl#getFeatureDirection <em>Feature Direction</em>}</li> + * </ul> + * + * @generated + */ +public class DirectedFeatureImpl extends MinimalEObjectImpl.Container implements DirectedFeature { + /** + * The cached value of the '{@link #getBase_Feature() <em>Base Feature</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Feature() + * @generated + * @ordered + */ + protected Feature base_Feature; + + /** + * The default value of the '{@link #getFeatureDirection() <em>Feature Direction</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getFeatureDirection() + * @generated + * @ordered + */ + protected static final FeatureDirection FEATURE_DIRECTION_EDEFAULT = FeatureDirection.PROVIDED; + + /** + * The cached value of the '{@link #getFeatureDirection() <em>Feature Direction</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getFeatureDirection() + * @generated + * @ordered + */ + protected FeatureDirection featureDirection = FEATURE_DIRECTION_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DirectedFeatureImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return PortsandflowsPackage.Literals.DIRECTED_FEATURE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Feature getBase_Feature() { + if (base_Feature != null && base_Feature.eIsProxy()) { + InternalEObject oldBase_Feature = (InternalEObject)base_Feature; + base_Feature = (Feature)eResolveProxy(oldBase_Feature); + if (base_Feature != oldBase_Feature) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, PortsandflowsPackage.DIRECTED_FEATURE__BASE_FEATURE, oldBase_Feature, base_Feature)); + } + } + return base_Feature; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Feature basicGetBase_Feature() { + return base_Feature; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Feature(Feature newBase_Feature) { + Feature oldBase_Feature = base_Feature; + base_Feature = newBase_Feature; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, PortsandflowsPackage.DIRECTED_FEATURE__BASE_FEATURE, oldBase_Feature, base_Feature)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FeatureDirection getFeatureDirection() { + return featureDirection; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setFeatureDirection(FeatureDirection newFeatureDirection) { + FeatureDirection oldFeatureDirection = featureDirection; + featureDirection = newFeatureDirection == null ? FEATURE_DIRECTION_EDEFAULT : newFeatureDirection; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, PortsandflowsPackage.DIRECTED_FEATURE__FEATURE_DIRECTION, oldFeatureDirection, featureDirection)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case PortsandflowsPackage.DIRECTED_FEATURE__BASE_FEATURE: + if (resolve) return getBase_Feature(); + return basicGetBase_Feature(); + case PortsandflowsPackage.DIRECTED_FEATURE__FEATURE_DIRECTION: + return getFeatureDirection(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case PortsandflowsPackage.DIRECTED_FEATURE__BASE_FEATURE: + setBase_Feature((Feature)newValue); + return; + case PortsandflowsPackage.DIRECTED_FEATURE__FEATURE_DIRECTION: + setFeatureDirection((FeatureDirection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case PortsandflowsPackage.DIRECTED_FEATURE__BASE_FEATURE: + setBase_Feature((Feature)null); + return; + case PortsandflowsPackage.DIRECTED_FEATURE__FEATURE_DIRECTION: + setFeatureDirection(FEATURE_DIRECTION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case PortsandflowsPackage.DIRECTED_FEATURE__BASE_FEATURE: + return base_Feature != null; + case PortsandflowsPackage.DIRECTED_FEATURE__FEATURE_DIRECTION: + return featureDirection != FEATURE_DIRECTION_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (featureDirection: "); //$NON-NLS-1$ + result.append(featureDirection); + result.append(')'); + return result.toString(); + } + +} //DirectedFeatureImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/FlowPropertyImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/FlowPropertyImpl.java new file mode 100644 index 0000000..61bc1d2 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/FlowPropertyImpl.java
@@ -0,0 +1,267 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows.internal.impl; + +import java.lang.reflect.InvocationTargetException; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.sysml.portsandflows.FlowDirection; +import org.eclipse.papyrus.sysml.portsandflows.FlowProperty; +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; + +import org.eclipse.uml2.uml.Image; +import org.eclipse.uml2.uml.Property; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Flow Property</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.FlowPropertyImpl#getBase_Property <em>Base Property</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.FlowPropertyImpl#getDirection <em>Direction</em>}</li> + * </ul> + * + * @generated + */ +public class FlowPropertyImpl extends MinimalEObjectImpl.Container implements FlowProperty { + /** + * The cached value of the '{@link #getBase_Property() <em>Base Property</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Property() + * @generated + * @ordered + */ + protected Property base_Property; + + /** + * The default value of the '{@link #getDirection() <em>Direction</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDirection() + * @generated + * @ordered + */ + protected static final FlowDirection DIRECTION_EDEFAULT = FlowDirection.INOUT; + + /** + * The cached value of the '{@link #getDirection() <em>Direction</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDirection() + * @generated + * @ordered + */ + protected FlowDirection direction = DIRECTION_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected FlowPropertyImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return PortsandflowsPackage.Literals.FLOW_PROPERTY; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Property getBase_Property() { + if (base_Property != null && base_Property.eIsProxy()) { + InternalEObject oldBase_Property = (InternalEObject)base_Property; + base_Property = (Property)eResolveProxy(oldBase_Property); + if (base_Property != oldBase_Property) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, PortsandflowsPackage.FLOW_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property)); + } + } + return base_Property; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Property basicGetBase_Property() { + return base_Property; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Property(Property newBase_Property) { + Property oldBase_Property = base_Property; + base_Property = newBase_Property; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, PortsandflowsPackage.FLOW_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FlowDirection getDirection() { + return direction; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDirection(FlowDirection newDirection) { + FlowDirection oldDirection = direction; + direction = newDirection == null ? DIRECTION_EDEFAULT : newDirection; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, PortsandflowsPackage.FLOW_PROPERTY__DIRECTION, oldDirection, direction)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Image getIcon() { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case PortsandflowsPackage.FLOW_PROPERTY__BASE_PROPERTY: + if (resolve) return getBase_Property(); + return basicGetBase_Property(); + case PortsandflowsPackage.FLOW_PROPERTY__DIRECTION: + return getDirection(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case PortsandflowsPackage.FLOW_PROPERTY__BASE_PROPERTY: + setBase_Property((Property)newValue); + return; + case PortsandflowsPackage.FLOW_PROPERTY__DIRECTION: + setDirection((FlowDirection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case PortsandflowsPackage.FLOW_PROPERTY__BASE_PROPERTY: + setBase_Property((Property)null); + return; + case PortsandflowsPackage.FLOW_PROPERTY__DIRECTION: + setDirection(DIRECTION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case PortsandflowsPackage.FLOW_PROPERTY__BASE_PROPERTY: + return base_Property != null; + case PortsandflowsPackage.FLOW_PROPERTY__DIRECTION: + return direction != DIRECTION_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case PortsandflowsPackage.FLOW_PROPERTY___GET_ICON: + return getIcon(); + } + return super.eInvoke(operationID, arguments); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (direction: "); //$NON-NLS-1$ + result.append(direction); + result.append(')'); + return result.toString(); + } + +} //FlowPropertyImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/FullPortImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/FullPortImpl.java new file mode 100644 index 0000000..6e77ce7 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/FullPortImpl.java
@@ -0,0 +1,168 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows.internal.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.sysml.portsandflows.FullPort; +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; + +import org.eclipse.uml2.uml.Port; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Full Port</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.FullPortImpl#getBase_Port <em>Base Port</em>}</li> + * </ul> + * + * @generated + */ +public class FullPortImpl extends MinimalEObjectImpl.Container implements FullPort { + /** + * The cached value of the '{@link #getBase_Port() <em>Base Port</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Port() + * @generated + * @ordered + */ + protected Port base_Port; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected FullPortImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return PortsandflowsPackage.Literals.FULL_PORT; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Port getBase_Port() { + if (base_Port != null && base_Port.eIsProxy()) { + InternalEObject oldBase_Port = (InternalEObject)base_Port; + base_Port = (Port)eResolveProxy(oldBase_Port); + if (base_Port != oldBase_Port) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, PortsandflowsPackage.FULL_PORT__BASE_PORT, oldBase_Port, base_Port)); + } + } + return base_Port; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Port basicGetBase_Port() { + return base_Port; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Port(Port newBase_Port) { + Port oldBase_Port = base_Port; + base_Port = newBase_Port; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, PortsandflowsPackage.FULL_PORT__BASE_PORT, oldBase_Port, base_Port)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case PortsandflowsPackage.FULL_PORT__BASE_PORT: + if (resolve) return getBase_Port(); + return basicGetBase_Port(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case PortsandflowsPackage.FULL_PORT__BASE_PORT: + setBase_Port((Port)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case PortsandflowsPackage.FULL_PORT__BASE_PORT: + setBase_Port((Port)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case PortsandflowsPackage.FULL_PORT__BASE_PORT: + return base_Port != null; + } + return super.eIsSet(featureID); + } + +} //FullPortImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/InterfaceBlockImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/InterfaceBlockImpl.java new file mode 100644 index 0000000..5637939 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/InterfaceBlockImpl.java
@@ -0,0 +1,49 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows.internal.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.papyrus.sysml.blocks.internal.impl.BlockImpl; + +import org.eclipse.papyrus.sysml.portsandflows.InterfaceBlock; +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Interface Block</b></em>'. + * <!-- end-user-doc --> + * + * @generated + */ +public class InterfaceBlockImpl extends BlockImpl implements InterfaceBlock { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected InterfaceBlockImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return PortsandflowsPackage.Literals.INTERFACE_BLOCK; + } + +} //InterfaceBlockImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/InvocationOnNestedPortActionImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/InvocationOnNestedPortActionImpl.java new file mode 100644 index 0000000..3b2d16a --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/InvocationOnNestedPortActionImpl.java
@@ -0,0 +1,237 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows.internal.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EObjectResolvingEList; + +import org.eclipse.papyrus.sysml.blocks.internal.impl.ElementPropertyPathImpl; + +import org.eclipse.papyrus.sysml.portsandflows.InvocationOnNestedPortAction; +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; + +import org.eclipse.uml2.uml.InvocationAction; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.Type; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Invocation On Nested Port Action</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.InvocationOnNestedPortActionImpl#getBase_InvocationAction <em>Base Invocation Action</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.InvocationOnNestedPortActionImpl#getOnNestedPort <em>On Nested Port</em>}</li> + * </ul> + * + * @generated + */ +public class InvocationOnNestedPortActionImpl extends ElementPropertyPathImpl implements InvocationOnNestedPortAction { + /** + * The cached value of the '{@link #getBase_InvocationAction() <em>Base Invocation Action</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_InvocationAction() + * @generated + * @ordered + */ + protected InvocationAction base_InvocationAction; + + /** + * The cached value of the '{@link #getOnNestedPort() <em>On Nested Port</em>}' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getOnNestedPort() + * @generated + * @ordered + */ + protected EList<Port> onNestedPort; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected InvocationOnNestedPortActionImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return PortsandflowsPackage.Literals.INVOCATION_ON_NESTED_PORT_ACTION; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public InvocationAction getBase_InvocationAction() { + if (base_InvocationAction != null && base_InvocationAction.eIsProxy()) { + InternalEObject oldBase_InvocationAction = (InternalEObject)base_InvocationAction; + base_InvocationAction = (InvocationAction)eResolveProxy(oldBase_InvocationAction); + if (base_InvocationAction != oldBase_InvocationAction) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, PortsandflowsPackage.INVOCATION_ON_NESTED_PORT_ACTION__BASE_INVOCATION_ACTION, oldBase_InvocationAction, base_InvocationAction)); + } + } + return base_InvocationAction; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public InvocationAction basicGetBase_InvocationAction() { + return base_InvocationAction; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_InvocationAction(InvocationAction newBase_InvocationAction) { + InvocationAction oldBase_InvocationAction = base_InvocationAction; + base_InvocationAction = newBase_InvocationAction; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, PortsandflowsPackage.INVOCATION_ON_NESTED_PORT_ACTION__BASE_INVOCATION_ACTION, oldBase_InvocationAction, base_InvocationAction)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Port> getOnNestedPort() { + if (onNestedPort == null) { + onNestedPort = new EObjectResolvingEList<Port>(Port.class, this, PortsandflowsPackage.INVOCATION_ON_NESTED_PORT_ACTION__ON_NESTED_PORT); + } + return onNestedPort; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Port getOnNestedPort(String name, Type type) { + return getOnNestedPort(name, type, false); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Port getOnNestedPort(String name, Type type, boolean ignoreCase) { + onNestedPortLoop: for (Port onNestedPort : getOnNestedPort()) { + if (name != null && !(ignoreCase ? name.equalsIgnoreCase(onNestedPort.getName()) : name.equals(onNestedPort.getName()))) + continue onNestedPortLoop; + if (type != null && !type.equals(onNestedPort.getType())) + continue onNestedPortLoop; + return onNestedPort; + } + return null; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case PortsandflowsPackage.INVOCATION_ON_NESTED_PORT_ACTION__BASE_INVOCATION_ACTION: + if (resolve) return getBase_InvocationAction(); + return basicGetBase_InvocationAction(); + case PortsandflowsPackage.INVOCATION_ON_NESTED_PORT_ACTION__ON_NESTED_PORT: + return getOnNestedPort(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case PortsandflowsPackage.INVOCATION_ON_NESTED_PORT_ACTION__BASE_INVOCATION_ACTION: + setBase_InvocationAction((InvocationAction)newValue); + return; + case PortsandflowsPackage.INVOCATION_ON_NESTED_PORT_ACTION__ON_NESTED_PORT: + getOnNestedPort().clear(); + getOnNestedPort().addAll((Collection<? extends Port>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case PortsandflowsPackage.INVOCATION_ON_NESTED_PORT_ACTION__BASE_INVOCATION_ACTION: + setBase_InvocationAction((InvocationAction)null); + return; + case PortsandflowsPackage.INVOCATION_ON_NESTED_PORT_ACTION__ON_NESTED_PORT: + getOnNestedPort().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case PortsandflowsPackage.INVOCATION_ON_NESTED_PORT_ACTION__BASE_INVOCATION_ACTION: + return base_InvocationAction != null; + case PortsandflowsPackage.INVOCATION_ON_NESTED_PORT_ACTION__ON_NESTED_PORT: + return onNestedPort != null && !onNestedPort.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //InvocationOnNestedPortActionImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/ItemFlowImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/ItemFlowImpl.java new file mode 100644 index 0000000..b113548 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/ItemFlowImpl.java
@@ -0,0 +1,229 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows.internal.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.sysml.portsandflows.ItemFlow; +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; + +import org.eclipse.uml2.uml.InformationFlow; +import org.eclipse.uml2.uml.Property; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Item Flow</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.ItemFlowImpl#getBase_InformationFlow <em>Base Information Flow</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.ItemFlowImpl#getItemProperty <em>Item Property</em>}</li> + * </ul> + * + * @generated + */ +public class ItemFlowImpl extends MinimalEObjectImpl.Container implements ItemFlow { + /** + * The cached value of the '{@link #getBase_InformationFlow() <em>Base Information Flow</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_InformationFlow() + * @generated + * @ordered + */ + protected InformationFlow base_InformationFlow; + + /** + * The cached value of the '{@link #getItemProperty() <em>Item Property</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getItemProperty() + * @generated + * @ordered + */ + protected Property itemProperty; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ItemFlowImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return PortsandflowsPackage.Literals.ITEM_FLOW; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public InformationFlow getBase_InformationFlow() { + if (base_InformationFlow != null && base_InformationFlow.eIsProxy()) { + InternalEObject oldBase_InformationFlow = (InternalEObject)base_InformationFlow; + base_InformationFlow = (InformationFlow)eResolveProxy(oldBase_InformationFlow); + if (base_InformationFlow != oldBase_InformationFlow) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, PortsandflowsPackage.ITEM_FLOW__BASE_INFORMATION_FLOW, oldBase_InformationFlow, base_InformationFlow)); + } + } + return base_InformationFlow; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public InformationFlow basicGetBase_InformationFlow() { + return base_InformationFlow; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_InformationFlow(InformationFlow newBase_InformationFlow) { + InformationFlow oldBase_InformationFlow = base_InformationFlow; + base_InformationFlow = newBase_InformationFlow; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, PortsandflowsPackage.ITEM_FLOW__BASE_INFORMATION_FLOW, oldBase_InformationFlow, base_InformationFlow)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Property getItemProperty() { + if (itemProperty != null && itemProperty.eIsProxy()) { + InternalEObject oldItemProperty = (InternalEObject)itemProperty; + itemProperty = (Property)eResolveProxy(oldItemProperty); + if (itemProperty != oldItemProperty) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, PortsandflowsPackage.ITEM_FLOW__ITEM_PROPERTY, oldItemProperty, itemProperty)); + } + } + return itemProperty; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Property basicGetItemProperty() { + return itemProperty; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setItemProperty(Property newItemProperty) { + Property oldItemProperty = itemProperty; + itemProperty = newItemProperty; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, PortsandflowsPackage.ITEM_FLOW__ITEM_PROPERTY, oldItemProperty, itemProperty)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case PortsandflowsPackage.ITEM_FLOW__BASE_INFORMATION_FLOW: + if (resolve) return getBase_InformationFlow(); + return basicGetBase_InformationFlow(); + case PortsandflowsPackage.ITEM_FLOW__ITEM_PROPERTY: + if (resolve) return getItemProperty(); + return basicGetItemProperty(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case PortsandflowsPackage.ITEM_FLOW__BASE_INFORMATION_FLOW: + setBase_InformationFlow((InformationFlow)newValue); + return; + case PortsandflowsPackage.ITEM_FLOW__ITEM_PROPERTY: + setItemProperty((Property)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case PortsandflowsPackage.ITEM_FLOW__BASE_INFORMATION_FLOW: + setBase_InformationFlow((InformationFlow)null); + return; + case PortsandflowsPackage.ITEM_FLOW__ITEM_PROPERTY: + setItemProperty((Property)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case PortsandflowsPackage.ITEM_FLOW__BASE_INFORMATION_FLOW: + return base_InformationFlow != null; + case PortsandflowsPackage.ITEM_FLOW__ITEM_PROPERTY: + return itemProperty != null; + } + return super.eIsSet(featureID); + } + +} //ItemFlowImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/PortsandflowsFactoryImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/PortsandflowsFactoryImpl.java new file mode 100644 index 0000000..d45d55b --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/PortsandflowsFactoryImpl.java
@@ -0,0 +1,279 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows.internal.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.papyrus.sysml.portsandflows.*; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Factory</b>. + * <!-- end-user-doc --> + * @generated + */ +public class PortsandflowsFactoryImpl extends EFactoryImpl implements PortsandflowsFactory { + /** + * Creates the default factory implementation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static PortsandflowsFactory init() { + try { + PortsandflowsFactory thePortsandflowsFactory = (PortsandflowsFactory)EPackage.Registry.INSTANCE.getEFactory(PortsandflowsPackage.eNS_URI); + if (thePortsandflowsFactory != null) { + return thePortsandflowsFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new PortsandflowsFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PortsandflowsFactoryImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case PortsandflowsPackage.ITEM_FLOW: return createItemFlow(); + case PortsandflowsPackage.PROXY_PORT: return createProxyPort(); + case PortsandflowsPackage.FULL_PORT: return createFullPort(); + case PortsandflowsPackage.INVOCATION_ON_NESTED_PORT_ACTION: return createInvocationOnNestedPortAction(); + case PortsandflowsPackage.INTERFACE_BLOCK: return createInterfaceBlock(); + case PortsandflowsPackage.FLOW_PROPERTY: return createFlowProperty(); + case PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT: return createChangeStructuralFeatureEvent(); + case PortsandflowsPackage.TRIGGER_ON_NESTED_PORT: return createTriggerOnNestedPort(); + case PortsandflowsPackage.ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION: return createAcceptChangeStructuralFeatureEventAction(); + case PortsandflowsPackage.DIRECTED_FEATURE: return createDirectedFeature(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) { + switch (eDataType.getClassifierID()) { + case PortsandflowsPackage.FLOW_DIRECTION: + return createFlowDirectionFromString(eDataType, initialValue); + case PortsandflowsPackage.FEATURE_DIRECTION: + return createFeatureDirectionFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) { + switch (eDataType.getClassifierID()) { + case PortsandflowsPackage.FLOW_DIRECTION: + return convertFlowDirectionToString(eDataType, instanceValue); + case PortsandflowsPackage.FEATURE_DIRECTION: + return convertFeatureDirectionToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ItemFlow createItemFlow() { + ItemFlowImpl itemFlow = new ItemFlowImpl(); + return itemFlow; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ProxyPort createProxyPort() { + ProxyPortImpl proxyPort = new ProxyPortImpl(); + return proxyPort; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FullPort createFullPort() { + FullPortImpl fullPort = new FullPortImpl(); + return fullPort; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public InvocationOnNestedPortAction createInvocationOnNestedPortAction() { + InvocationOnNestedPortActionImpl invocationOnNestedPortAction = new InvocationOnNestedPortActionImpl(); + return invocationOnNestedPortAction; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public InterfaceBlock createInterfaceBlock() { + InterfaceBlockImpl interfaceBlock = new InterfaceBlockImpl(); + return interfaceBlock; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FlowProperty createFlowProperty() { + FlowPropertyImpl flowProperty = new FlowPropertyImpl(); + return flowProperty; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ChangeStructuralFeatureEvent createChangeStructuralFeatureEvent() { + ChangeStructuralFeatureEventImpl changeStructuralFeatureEvent = new ChangeStructuralFeatureEventImpl(); + return changeStructuralFeatureEvent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public TriggerOnNestedPort createTriggerOnNestedPort() { + TriggerOnNestedPortImpl triggerOnNestedPort = new TriggerOnNestedPortImpl(); + return triggerOnNestedPort; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AcceptChangeStructuralFeatureEventAction createAcceptChangeStructuralFeatureEventAction() { + AcceptChangeStructuralFeatureEventActionImpl acceptChangeStructuralFeatureEventAction = new AcceptChangeStructuralFeatureEventActionImpl(); + return acceptChangeStructuralFeatureEventAction; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DirectedFeature createDirectedFeature() { + DirectedFeatureImpl directedFeature = new DirectedFeatureImpl(); + return directedFeature; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FlowDirection createFlowDirectionFromString(EDataType eDataType, String initialValue) { + FlowDirection result = FlowDirection.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + return result; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String convertFlowDirectionToString(EDataType eDataType, Object instanceValue) { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FeatureDirection createFeatureDirectionFromString(EDataType eDataType, String initialValue) { + FeatureDirection result = FeatureDirection.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + return result; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String convertFeatureDirectionToString(EDataType eDataType, Object instanceValue) { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PortsandflowsPackage getPortsandflowsPackage() { + return (PortsandflowsPackage)getEPackage(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @deprecated + * @generated + */ + @Deprecated + public static PortsandflowsPackage getPackage() { + return PortsandflowsPackage.eINSTANCE; + } + +} //PortsandflowsFactoryImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/PortsandflowsPackageImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/PortsandflowsPackageImpl.java new file mode 100644 index 0000000..137ef30 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/PortsandflowsPackageImpl.java
@@ -0,0 +1,682 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows.internal.impl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EOperation; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.EcorePackage; + +import org.eclipse.emf.ecore.impl.EPackageImpl; +import org.eclipse.papyrus.sysml.SysMLPackage; +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; + +import org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl; + +import org.eclipse.papyrus.sysml.allocations.AllocationsPackage; + +import org.eclipse.papyrus.sysml.allocations.internal.impl.AllocationsPackageImpl; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; + +import org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl; + +import org.eclipse.papyrus.sysml.constraintblocks.ConstraintblocksPackage; + +import org.eclipse.papyrus.sysml.constraintblocks.internal.impl.ConstraintblocksPackageImpl; + +import org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsPackage; + +import org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.DeprecatedelementsPackageImpl; +import org.eclipse.papyrus.sysml.internal.impl.SysMLPackageImpl; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; + +import org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl; + +import org.eclipse.papyrus.sysml.portsandflows.AcceptChangeStructuralFeatureEventAction; +import org.eclipse.papyrus.sysml.portsandflows.ChangeStructuralFeatureEvent; +import org.eclipse.papyrus.sysml.portsandflows.DirectedFeature; +import org.eclipse.papyrus.sysml.portsandflows.FeatureDirection; +import org.eclipse.papyrus.sysml.portsandflows.FlowDirection; +import org.eclipse.papyrus.sysml.portsandflows.FlowProperty; +import org.eclipse.papyrus.sysml.portsandflows.FullPort; +import org.eclipse.papyrus.sysml.portsandflows.InterfaceBlock; +import org.eclipse.papyrus.sysml.portsandflows.InvocationOnNestedPortAction; +import org.eclipse.papyrus.sysml.portsandflows.ItemFlow; +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsFactory; +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; +import org.eclipse.papyrus.sysml.portsandflows.ProxyPort; +import org.eclipse.papyrus.sysml.portsandflows.TriggerOnNestedPort; + +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; + +import org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl; + +import org.eclipse.uml2.types.TypesPackage; + +import org.eclipse.uml2.uml.UMLPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Package</b>. + * <!-- end-user-doc --> + * @generated + */ +public class PortsandflowsPackageImpl extends EPackageImpl implements PortsandflowsPackage { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass itemFlowEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass proxyPortEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass fullPortEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass invocationOnNestedPortActionEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass interfaceBlockEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass flowPropertyEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass changeStructuralFeatureEventEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass triggerOnNestedPortEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass acceptChangeStructuralFeatureEventActionEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass directedFeatureEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EEnum flowDirectionEEnum = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EEnum featureDirectionEEnum = null; + + /** + * Creates an instance of the model <b>Package</b>, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + * <p>Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage#eNS_URI + * @see #init() + * @generated + */ + private PortsandflowsPackageImpl() { + super(eNS_URI, PortsandflowsFactory.eINSTANCE); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. + * + * <p>This method is used to initialize {@link PortsandflowsPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static PortsandflowsPackage init() { + if (isInited) return (PortsandflowsPackage)EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI); + + // Obtain or create and register package + PortsandflowsPackageImpl thePortsandflowsPackage = (PortsandflowsPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof PortsandflowsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new PortsandflowsPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + EcorePackage.eINSTANCE.eClass(); + TypesPackage.eINSTANCE.eClass(); + UMLPackage.eINSTANCE.eClass(); + + // Obtain or create and register interdependencies + SysMLPackageImpl theSysMLPackage = (SysMLPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SysMLPackage.eNS_URI) instanceof SysMLPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysMLPackage.eNS_URI) : SysMLPackage.eINSTANCE); + BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE); + ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) : ActivitiesPackage.eINSTANCE); + AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) : AllocationsPackage.eINSTANCE); + RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE); + ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE); + DeprecatedelementsPackageImpl theDeprecatedelementsPackage = (DeprecatedelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) instanceof DeprecatedelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) : DeprecatedelementsPackage.eINSTANCE); + ConstraintblocksPackageImpl theConstraintblocksPackage = (ConstraintblocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) instanceof ConstraintblocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) : ConstraintblocksPackage.eINSTANCE); + + // Create package meta-data objects + thePortsandflowsPackage.createPackageContents(); + theSysMLPackage.createPackageContents(); + theBlocksPackage.createPackageContents(); + theActivitiesPackage.createPackageContents(); + theAllocationsPackage.createPackageContents(); + theRequirementsPackage.createPackageContents(); + theModelelementsPackage.createPackageContents(); + theDeprecatedelementsPackage.createPackageContents(); + theConstraintblocksPackage.createPackageContents(); + + // Initialize created meta-data + thePortsandflowsPackage.initializePackageContents(); + theSysMLPackage.initializePackageContents(); + theBlocksPackage.initializePackageContents(); + theActivitiesPackage.initializePackageContents(); + theAllocationsPackage.initializePackageContents(); + theRequirementsPackage.initializePackageContents(); + theModelelementsPackage.initializePackageContents(); + theDeprecatedelementsPackage.initializePackageContents(); + theConstraintblocksPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + thePortsandflowsPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(PortsandflowsPackage.eNS_URI, thePortsandflowsPackage); + return thePortsandflowsPackage; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getItemFlow() { + return itemFlowEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getItemFlow_Base_InformationFlow() { + return (EReference)itemFlowEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getItemFlow_ItemProperty() { + return (EReference)itemFlowEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getProxyPort() { + return proxyPortEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getProxyPort_Base_Port() { + return (EReference)proxyPortEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getFullPort() { + return fullPortEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getFullPort_Base_Port() { + return (EReference)fullPortEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getInvocationOnNestedPortAction() { + return invocationOnNestedPortActionEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getInvocationOnNestedPortAction_Base_InvocationAction() { + return (EReference)invocationOnNestedPortActionEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getInvocationOnNestedPortAction_OnNestedPort() { + return (EReference)invocationOnNestedPortActionEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getInterfaceBlock() { + return interfaceBlockEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getFlowProperty() { + return flowPropertyEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getFlowProperty_Base_Property() { + return (EReference)flowPropertyEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getFlowProperty_Direction() { + return (EAttribute)flowPropertyEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getFlowProperty__GetIcon() { + return flowPropertyEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getChangeStructuralFeatureEvent() { + return changeStructuralFeatureEventEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getChangeStructuralFeatureEvent_Base_ChangeEvent() { + return (EReference)changeStructuralFeatureEventEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getChangeStructuralFeatureEvent_StructuralFeature() { + return (EReference)changeStructuralFeatureEventEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getTriggerOnNestedPort() { + return triggerOnNestedPortEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getTriggerOnNestedPort_Base_Trigger() { + return (EReference)triggerOnNestedPortEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getTriggerOnNestedPort_OnNestedPort() { + return (EReference)triggerOnNestedPortEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getAcceptChangeStructuralFeatureEventAction() { + return acceptChangeStructuralFeatureEventActionEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAcceptChangeStructuralFeatureEventAction_Base_AcceptEventAction() { + return (EReference)acceptChangeStructuralFeatureEventActionEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getDirectedFeature() { + return directedFeatureEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDirectedFeature_Base_Feature() { + return (EReference)directedFeatureEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDirectedFeature_FeatureDirection() { + return (EAttribute)directedFeatureEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EEnum getFlowDirection() { + return flowDirectionEEnum; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EEnum getFeatureDirection() { + return featureDirectionEEnum; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PortsandflowsFactory getPortsandflowsFactory() { + return (PortsandflowsFactory)getEFactoryInstance(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + itemFlowEClass = createEClass(ITEM_FLOW); + createEReference(itemFlowEClass, ITEM_FLOW__BASE_INFORMATION_FLOW); + createEReference(itemFlowEClass, ITEM_FLOW__ITEM_PROPERTY); + + proxyPortEClass = createEClass(PROXY_PORT); + createEReference(proxyPortEClass, PROXY_PORT__BASE_PORT); + + fullPortEClass = createEClass(FULL_PORT); + createEReference(fullPortEClass, FULL_PORT__BASE_PORT); + + invocationOnNestedPortActionEClass = createEClass(INVOCATION_ON_NESTED_PORT_ACTION); + createEReference(invocationOnNestedPortActionEClass, INVOCATION_ON_NESTED_PORT_ACTION__BASE_INVOCATION_ACTION); + createEReference(invocationOnNestedPortActionEClass, INVOCATION_ON_NESTED_PORT_ACTION__ON_NESTED_PORT); + + interfaceBlockEClass = createEClass(INTERFACE_BLOCK); + + flowPropertyEClass = createEClass(FLOW_PROPERTY); + createEReference(flowPropertyEClass, FLOW_PROPERTY__BASE_PROPERTY); + createEAttribute(flowPropertyEClass, FLOW_PROPERTY__DIRECTION); + createEOperation(flowPropertyEClass, FLOW_PROPERTY___GET_ICON); + + changeStructuralFeatureEventEClass = createEClass(CHANGE_STRUCTURAL_FEATURE_EVENT); + createEReference(changeStructuralFeatureEventEClass, CHANGE_STRUCTURAL_FEATURE_EVENT__BASE_CHANGE_EVENT); + createEReference(changeStructuralFeatureEventEClass, CHANGE_STRUCTURAL_FEATURE_EVENT__STRUCTURAL_FEATURE); + + triggerOnNestedPortEClass = createEClass(TRIGGER_ON_NESTED_PORT); + createEReference(triggerOnNestedPortEClass, TRIGGER_ON_NESTED_PORT__BASE_TRIGGER); + createEReference(triggerOnNestedPortEClass, TRIGGER_ON_NESTED_PORT__ON_NESTED_PORT); + + acceptChangeStructuralFeatureEventActionEClass = createEClass(ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION); + createEReference(acceptChangeStructuralFeatureEventActionEClass, ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION__BASE_ACCEPT_EVENT_ACTION); + + directedFeatureEClass = createEClass(DIRECTED_FEATURE); + createEReference(directedFeatureEClass, DIRECTED_FEATURE__BASE_FEATURE); + createEAttribute(directedFeatureEClass, DIRECTED_FEATURE__FEATURE_DIRECTION); + + // Create enums + flowDirectionEEnum = createEEnum(FLOW_DIRECTION); + featureDirectionEEnum = createEEnum(FEATURE_DIRECTION); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); + BlocksPackage theBlocksPackage = (BlocksPackage)EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + invocationOnNestedPortActionEClass.getESuperTypes().add(theBlocksPackage.getElementPropertyPath()); + interfaceBlockEClass.getESuperTypes().add(theBlocksPackage.getBlock()); + triggerOnNestedPortEClass.getESuperTypes().add(theBlocksPackage.getElementPropertyPath()); + + // Initialize classes, features, and operations; add parameters + initEClass(itemFlowEClass, ItemFlow.class, "ItemFlow", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getItemFlow_Base_InformationFlow(), theUMLPackage.getInformationFlow(), null, "base_InformationFlow", null, 0, 1, ItemFlow.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getItemFlow_ItemProperty(), theUMLPackage.getProperty(), null, "itemProperty", null, 0, 1, ItemFlow.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(proxyPortEClass, ProxyPort.class, "ProxyPort", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getProxyPort_Base_Port(), theUMLPackage.getPort(), null, "base_Port", null, 0, 1, ProxyPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(fullPortEClass, FullPort.class, "FullPort", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getFullPort_Base_Port(), theUMLPackage.getPort(), null, "base_Port", null, 0, 1, FullPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(invocationOnNestedPortActionEClass, InvocationOnNestedPortAction.class, "InvocationOnNestedPortAction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getInvocationOnNestedPortAction_Base_InvocationAction(), theUMLPackage.getInvocationAction(), null, "base_InvocationAction", null, 0, 1, InvocationOnNestedPortAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getInvocationOnNestedPortAction_OnNestedPort(), theUMLPackage.getPort(), null, "onNestedPort", null, 1, -1, InvocationOnNestedPortAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + + initEClass(interfaceBlockEClass, InterfaceBlock.class, "InterfaceBlock", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + + initEClass(flowPropertyEClass, FlowProperty.class, "FlowProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getFlowProperty_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 0, 1, FlowProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getFlowProperty_Direction(), this.getFlowDirection(), "direction", "inout", 1, 1, FlowProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ + + initEOperation(getFlowProperty__GetIcon(), theUMLPackage.getImage(), "getIcon", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(changeStructuralFeatureEventEClass, ChangeStructuralFeatureEvent.class, "ChangeStructuralFeatureEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getChangeStructuralFeatureEvent_Base_ChangeEvent(), theUMLPackage.getChangeEvent(), null, "base_ChangeEvent", null, 0, 1, ChangeStructuralFeatureEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getChangeStructuralFeatureEvent_StructuralFeature(), theUMLPackage.getStructuralFeature(), null, "structuralFeature", null, 1, 1, ChangeStructuralFeatureEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(triggerOnNestedPortEClass, TriggerOnNestedPort.class, "TriggerOnNestedPort", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getTriggerOnNestedPort_Base_Trigger(), theUMLPackage.getTrigger(), null, "base_Trigger", null, 1, 1, TriggerOnNestedPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getTriggerOnNestedPort_OnNestedPort(), theUMLPackage.getPort(), null, "onNestedPort", null, 1, -1, TriggerOnNestedPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ + + initEClass(acceptChangeStructuralFeatureEventActionEClass, AcceptChangeStructuralFeatureEventAction.class, "AcceptChangeStructuralFeatureEventAction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getAcceptChangeStructuralFeatureEventAction_Base_AcceptEventAction(), theUMLPackage.getAcceptEventAction(), null, "base_AcceptEventAction", null, 0, 1, AcceptChangeStructuralFeatureEventAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(directedFeatureEClass, DirectedFeature.class, "DirectedFeature", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getDirectedFeature_Base_Feature(), theUMLPackage.getFeature(), null, "base_Feature", null, 0, 1, DirectedFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getDirectedFeature_FeatureDirection(), this.getFeatureDirection(), "featureDirection", null, 1, 1, DirectedFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + // Initialize enums and add enum literals + initEEnum(flowDirectionEEnum, FlowDirection.class, "FlowDirection"); //$NON-NLS-1$ + addEEnumLiteral(flowDirectionEEnum, FlowDirection.IN); + addEEnumLiteral(flowDirectionEEnum, FlowDirection.INOUT); + addEEnumLiteral(flowDirectionEEnum, FlowDirection.OUT); + + initEEnum(featureDirectionEEnum, FeatureDirection.class, "FeatureDirection"); //$NON-NLS-1$ + addEEnumLiteral(featureDirectionEEnum, FeatureDirection.PROVIDED); + addEEnumLiteral(featureDirectionEEnum, FeatureDirection.PROVIDED_REQUIRED); + addEEnumLiteral(featureDirectionEEnum, FeatureDirection.REQUIRED); + + // Create annotations + // http://www.eclipse.org/uml2/2.0.0/UML + createUMLAnnotations(); + } + + /** + * Initializes the annotations for <b>http://www.eclipse.org/uml2/2.0.0/UML</b>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void createUMLAnnotations() { + String source = "http://www.eclipse.org/uml2/2.0.0/UML"; //$NON-NLS-1$ + addAnnotation + (this, + source, + new String[] { + "originalName", "PortsAndFlows" //$NON-NLS-1$ //$NON-NLS-2$ + }); + } + +} //PortsandflowsPackageImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/ProxyPortImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/ProxyPortImpl.java new file mode 100644 index 0000000..1286279 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/ProxyPortImpl.java
@@ -0,0 +1,168 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows.internal.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; +import org.eclipse.papyrus.sysml.portsandflows.ProxyPort; + +import org.eclipse.uml2.uml.Port; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Proxy Port</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.ProxyPortImpl#getBase_Port <em>Base Port</em>}</li> + * </ul> + * + * @generated + */ +public class ProxyPortImpl extends MinimalEObjectImpl.Container implements ProxyPort { + /** + * The cached value of the '{@link #getBase_Port() <em>Base Port</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Port() + * @generated + * @ordered + */ + protected Port base_Port; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ProxyPortImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return PortsandflowsPackage.Literals.PROXY_PORT; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Port getBase_Port() { + if (base_Port != null && base_Port.eIsProxy()) { + InternalEObject oldBase_Port = (InternalEObject)base_Port; + base_Port = (Port)eResolveProxy(oldBase_Port); + if (base_Port != oldBase_Port) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, PortsandflowsPackage.PROXY_PORT__BASE_PORT, oldBase_Port, base_Port)); + } + } + return base_Port; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Port basicGetBase_Port() { + return base_Port; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Port(Port newBase_Port) { + Port oldBase_Port = base_Port; + base_Port = newBase_Port; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, PortsandflowsPackage.PROXY_PORT__BASE_PORT, oldBase_Port, base_Port)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case PortsandflowsPackage.PROXY_PORT__BASE_PORT: + if (resolve) return getBase_Port(); + return basicGetBase_Port(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case PortsandflowsPackage.PROXY_PORT__BASE_PORT: + setBase_Port((Port)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case PortsandflowsPackage.PROXY_PORT__BASE_PORT: + setBase_Port((Port)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case PortsandflowsPackage.PROXY_PORT__BASE_PORT: + return base_Port != null; + } + return super.eIsSet(featureID); + } + +} //ProxyPortImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/TriggerOnNestedPortImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/TriggerOnNestedPortImpl.java new file mode 100644 index 0000000..08c2d55 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/internal/impl/TriggerOnNestedPortImpl.java
@@ -0,0 +1,237 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows.internal.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EObjectResolvingEList; + +import org.eclipse.papyrus.sysml.blocks.internal.impl.ElementPropertyPathImpl; + +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; +import org.eclipse.papyrus.sysml.portsandflows.TriggerOnNestedPort; + +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.Trigger; +import org.eclipse.uml2.uml.Type; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Trigger On Nested Port</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.TriggerOnNestedPortImpl#getBase_Trigger <em>Base Trigger</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.portsandflows.internal.impl.TriggerOnNestedPortImpl#getOnNestedPort <em>On Nested Port</em>}</li> + * </ul> + * + * @generated + */ +public class TriggerOnNestedPortImpl extends ElementPropertyPathImpl implements TriggerOnNestedPort { + /** + * The cached value of the '{@link #getBase_Trigger() <em>Base Trigger</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Trigger() + * @generated + * @ordered + */ + protected Trigger base_Trigger; + + /** + * The cached value of the '{@link #getOnNestedPort() <em>On Nested Port</em>}' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getOnNestedPort() + * @generated + * @ordered + */ + protected EList<Port> onNestedPort; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected TriggerOnNestedPortImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return PortsandflowsPackage.Literals.TRIGGER_ON_NESTED_PORT; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Trigger getBase_Trigger() { + if (base_Trigger != null && base_Trigger.eIsProxy()) { + InternalEObject oldBase_Trigger = (InternalEObject)base_Trigger; + base_Trigger = (Trigger)eResolveProxy(oldBase_Trigger); + if (base_Trigger != oldBase_Trigger) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, PortsandflowsPackage.TRIGGER_ON_NESTED_PORT__BASE_TRIGGER, oldBase_Trigger, base_Trigger)); + } + } + return base_Trigger; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Trigger basicGetBase_Trigger() { + return base_Trigger; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Trigger(Trigger newBase_Trigger) { + Trigger oldBase_Trigger = base_Trigger; + base_Trigger = newBase_Trigger; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, PortsandflowsPackage.TRIGGER_ON_NESTED_PORT__BASE_TRIGGER, oldBase_Trigger, base_Trigger)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<Port> getOnNestedPort() { + if (onNestedPort == null) { + onNestedPort = new EObjectResolvingEList<Port>(Port.class, this, PortsandflowsPackage.TRIGGER_ON_NESTED_PORT__ON_NESTED_PORT); + } + return onNestedPort; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Port getOnNestedPort(String name, Type type) { + return getOnNestedPort(name, type, false); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Port getOnNestedPort(String name, Type type, boolean ignoreCase) { + onNestedPortLoop: for (Port onNestedPort : getOnNestedPort()) { + if (name != null && !(ignoreCase ? name.equalsIgnoreCase(onNestedPort.getName()) : name.equals(onNestedPort.getName()))) + continue onNestedPortLoop; + if (type != null && !type.equals(onNestedPort.getType())) + continue onNestedPortLoop; + return onNestedPort; + } + return null; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case PortsandflowsPackage.TRIGGER_ON_NESTED_PORT__BASE_TRIGGER: + if (resolve) return getBase_Trigger(); + return basicGetBase_Trigger(); + case PortsandflowsPackage.TRIGGER_ON_NESTED_PORT__ON_NESTED_PORT: + return getOnNestedPort(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case PortsandflowsPackage.TRIGGER_ON_NESTED_PORT__BASE_TRIGGER: + setBase_Trigger((Trigger)newValue); + return; + case PortsandflowsPackage.TRIGGER_ON_NESTED_PORT__ON_NESTED_PORT: + getOnNestedPort().clear(); + getOnNestedPort().addAll((Collection<? extends Port>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case PortsandflowsPackage.TRIGGER_ON_NESTED_PORT__BASE_TRIGGER: + setBase_Trigger((Trigger)null); + return; + case PortsandflowsPackage.TRIGGER_ON_NESTED_PORT__ON_NESTED_PORT: + getOnNestedPort().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case PortsandflowsPackage.TRIGGER_ON_NESTED_PORT__BASE_TRIGGER: + return base_Trigger != null; + case PortsandflowsPackage.TRIGGER_ON_NESTED_PORT__ON_NESTED_PORT: + return onNestedPort != null && !onNestedPort.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //TriggerOnNestedPortImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/util/PortsandflowsAdapterFactory.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/util/PortsandflowsAdapterFactory.java new file mode 100644 index 0000000..2eafeb1 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/util/PortsandflowsAdapterFactory.java
@@ -0,0 +1,331 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows.util; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.papyrus.sysml.blocks.ElementPropertyPath; + +import org.eclipse.papyrus.sysml.portsandflows.*; + +/** + * <!-- begin-user-doc --> + * The <b>Adapter Factory</b> for the model. + * It provides an adapter <code>createXXX</code> method for each class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage + * @generated + */ +public class PortsandflowsAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static PortsandflowsPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PortsandflowsAdapterFactory() { + if (modelPackage == null) { + modelPackage = PortsandflowsPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * <!-- begin-user-doc --> + * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. + * <!-- end-user-doc --> + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the <code>createXXX</code> methods. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected PortsandflowsSwitch<Adapter> modelSwitch = + new PortsandflowsSwitch<Adapter>() { + @Override + public Adapter caseItemFlow(ItemFlow object) { + return createItemFlowAdapter(); + } + @Override + public Adapter caseProxyPort(ProxyPort object) { + return createProxyPortAdapter(); + } + @Override + public Adapter caseFullPort(FullPort object) { + return createFullPortAdapter(); + } + @Override + public Adapter caseInvocationOnNestedPortAction(InvocationOnNestedPortAction object) { + return createInvocationOnNestedPortActionAdapter(); + } + @Override + public Adapter caseInterfaceBlock(InterfaceBlock object) { + return createInterfaceBlockAdapter(); + } + @Override + public Adapter caseFlowProperty(FlowProperty object) { + return createFlowPropertyAdapter(); + } + @Override + public Adapter caseChangeStructuralFeatureEvent(ChangeStructuralFeatureEvent object) { + return createChangeStructuralFeatureEventAdapter(); + } + @Override + public Adapter caseTriggerOnNestedPort(TriggerOnNestedPort object) { + return createTriggerOnNestedPortAdapter(); + } + @Override + public Adapter caseAcceptChangeStructuralFeatureEventAction(AcceptChangeStructuralFeatureEventAction object) { + return createAcceptChangeStructuralFeatureEventActionAdapter(); + } + @Override + public Adapter caseDirectedFeature(DirectedFeature object) { + return createDirectedFeatureAdapter(); + } + @Override + public Adapter caseElementPropertyPath(ElementPropertyPath object) { + return createElementPropertyPathAdapter(); + } + @Override + public Adapter caseBlock(Block object) { + return createBlockAdapter(); + } + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the <code>target</code>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param target the object to adapt. + * @return the adapter for the <code>target</code>. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject)target); + } + + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.portsandflows.ItemFlow <em>Item Flow</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.portsandflows.ItemFlow + * @generated + */ + public Adapter createItemFlowAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.portsandflows.ProxyPort <em>Proxy Port</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.portsandflows.ProxyPort + * @generated + */ + public Adapter createProxyPortAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.portsandflows.FullPort <em>Full Port</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.portsandflows.FullPort + * @generated + */ + public Adapter createFullPortAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.portsandflows.InvocationOnNestedPortAction <em>Invocation On Nested Port Action</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.portsandflows.InvocationOnNestedPortAction + * @generated + */ + public Adapter createInvocationOnNestedPortActionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.portsandflows.InterfaceBlock <em>Interface Block</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.portsandflows.InterfaceBlock + * @generated + */ + public Adapter createInterfaceBlockAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.portsandflows.FlowProperty <em>Flow Property</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.portsandflows.FlowProperty + * @generated + */ + public Adapter createFlowPropertyAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.portsandflows.ChangeStructuralFeatureEvent <em>Change Structural Feature Event</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.portsandflows.ChangeStructuralFeatureEvent + * @generated + */ + public Adapter createChangeStructuralFeatureEventAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.portsandflows.TriggerOnNestedPort <em>Trigger On Nested Port</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.portsandflows.TriggerOnNestedPort + * @generated + */ + public Adapter createTriggerOnNestedPortAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.portsandflows.AcceptChangeStructuralFeatureEventAction <em>Accept Change Structural Feature Event Action</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.portsandflows.AcceptChangeStructuralFeatureEventAction + * @generated + */ + public Adapter createAcceptChangeStructuralFeatureEventActionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.portsandflows.DirectedFeature <em>Directed Feature</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.portsandflows.DirectedFeature + * @generated + */ + public Adapter createDirectedFeatureAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.blocks.ElementPropertyPath <em>Element Property Path</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.blocks.ElementPropertyPath + * @generated + */ + public Adapter createElementPropertyPathAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.blocks.Block <em>Block</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.blocks.Block + * @generated + */ + public Adapter createBlockAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * <!-- begin-user-doc --> + * This default implementation returns null. + * <!-- end-user-doc --> + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //PortsandflowsAdapterFactory
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/util/PortsandflowsSwitch.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/util/PortsandflowsSwitch.java new file mode 100644 index 0000000..99ba7e8 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/portsandflows/util/PortsandflowsSwitch.java
@@ -0,0 +1,345 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.portsandflows.util; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.papyrus.sysml.blocks.ElementPropertyPath; + +import org.eclipse.papyrus.sysml.portsandflows.*; + +/** + * <!-- begin-user-doc --> + * The <b>Switch</b> for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the <code>caseXXX</code> method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage + * @generated + */ +public class PortsandflowsSwitch<T> extends Switch<T> { + /** + * The cached model package + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static PortsandflowsPackage modelPackage; + + /** + * Creates an instance of the switch. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PortsandflowsSwitch() { + if (modelPackage == null) { + modelPackage = PortsandflowsPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the first non-null result returned by a <code>caseXXX</code> call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case PortsandflowsPackage.ITEM_FLOW: { + ItemFlow itemFlow = (ItemFlow)theEObject; + T result = caseItemFlow(itemFlow); + if (result == null) result = defaultCase(theEObject); + return result; + } + case PortsandflowsPackage.PROXY_PORT: { + ProxyPort proxyPort = (ProxyPort)theEObject; + T result = caseProxyPort(proxyPort); + if (result == null) result = defaultCase(theEObject); + return result; + } + case PortsandflowsPackage.FULL_PORT: { + FullPort fullPort = (FullPort)theEObject; + T result = caseFullPort(fullPort); + if (result == null) result = defaultCase(theEObject); + return result; + } + case PortsandflowsPackage.INVOCATION_ON_NESTED_PORT_ACTION: { + InvocationOnNestedPortAction invocationOnNestedPortAction = (InvocationOnNestedPortAction)theEObject; + T result = caseInvocationOnNestedPortAction(invocationOnNestedPortAction); + if (result == null) result = caseElementPropertyPath(invocationOnNestedPortAction); + if (result == null) result = defaultCase(theEObject); + return result; + } + case PortsandflowsPackage.INTERFACE_BLOCK: { + InterfaceBlock interfaceBlock = (InterfaceBlock)theEObject; + T result = caseInterfaceBlock(interfaceBlock); + if (result == null) result = caseBlock(interfaceBlock); + if (result == null) result = defaultCase(theEObject); + return result; + } + case PortsandflowsPackage.FLOW_PROPERTY: { + FlowProperty flowProperty = (FlowProperty)theEObject; + T result = caseFlowProperty(flowProperty); + if (result == null) result = defaultCase(theEObject); + return result; + } + case PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT: { + ChangeStructuralFeatureEvent changeStructuralFeatureEvent = (ChangeStructuralFeatureEvent)theEObject; + T result = caseChangeStructuralFeatureEvent(changeStructuralFeatureEvent); + if (result == null) result = defaultCase(theEObject); + return result; + } + case PortsandflowsPackage.TRIGGER_ON_NESTED_PORT: { + TriggerOnNestedPort triggerOnNestedPort = (TriggerOnNestedPort)theEObject; + T result = caseTriggerOnNestedPort(triggerOnNestedPort); + if (result == null) result = caseElementPropertyPath(triggerOnNestedPort); + if (result == null) result = defaultCase(theEObject); + return result; + } + case PortsandflowsPackage.ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION: { + AcceptChangeStructuralFeatureEventAction acceptChangeStructuralFeatureEventAction = (AcceptChangeStructuralFeatureEventAction)theEObject; + T result = caseAcceptChangeStructuralFeatureEventAction(acceptChangeStructuralFeatureEventAction); + if (result == null) result = defaultCase(theEObject); + return result; + } + case PortsandflowsPackage.DIRECTED_FEATURE: { + DirectedFeature directedFeature = (DirectedFeature)theEObject; + T result = caseDirectedFeature(directedFeature); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Item Flow</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Item Flow</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseItemFlow(ItemFlow object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Proxy Port</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Proxy Port</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseProxyPort(ProxyPort object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Full Port</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Full Port</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseFullPort(FullPort object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Invocation On Nested Port Action</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Invocation On Nested Port Action</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseInvocationOnNestedPortAction(InvocationOnNestedPortAction object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Interface Block</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Interface Block</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseInterfaceBlock(InterfaceBlock object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Flow Property</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Flow Property</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseFlowProperty(FlowProperty object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Change Structural Feature Event</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Change Structural Feature Event</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseChangeStructuralFeatureEvent(ChangeStructuralFeatureEvent object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Trigger On Nested Port</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Trigger On Nested Port</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTriggerOnNestedPort(TriggerOnNestedPort object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Accept Change Structural Feature Event Action</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Accept Change Structural Feature Event Action</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAcceptChangeStructuralFeatureEventAction(AcceptChangeStructuralFeatureEventAction object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Directed Feature</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Directed Feature</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDirectedFeature(DirectedFeature object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Element Property Path</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Element Property Path</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseElementPropertyPath(ElementPropertyPath object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Block</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Block</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseBlock(Block object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>EObject</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} //PortsandflowsSwitch
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/AbstractRequirement.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/AbstractRequirement.java new file mode 100644 index 0000000..185bc5d --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/AbstractRequirement.java
@@ -0,0 +1,336 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.NamedElement; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Abstract Requirement</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getBase_NamedElement <em>Base Named Element</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getDerived <em>Derived</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getDerivedFrom <em>Derived From</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getId <em>Id</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getMaster <em>Master</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getRefinedBy <em>Refined By</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getSatisfiedBy <em>Satisfied By</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getText <em>Text</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getTracedTo <em>Traced To</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getVerifiedBy <em>Verified By</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getAbstractRequirement() + * @model abstract="true" + * @generated + */ +public interface AbstractRequirement extends EObject { + /** + * Returns the value of the '<em><b>Base Named Element</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Named Element</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Named Element</em>' reference. + * @see #setBase_NamedElement(NamedElement) + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getAbstractRequirement_Base_NamedElement() + * @model required="true" ordered="false" + * @generated + */ + NamedElement getBase_NamedElement(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getBase_NamedElement <em>Base Named Element</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Named Element</em>' reference. + * @see #getBase_NamedElement() + * @generated + */ + void setBase_NamedElement(NamedElement value); + + /** + * Returns the value of the '<em><b>Derived</b></em>' reference list. + * The list contents are of type {@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Derived</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Derived</em>' reference list. + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getAbstractRequirement_Derived() + * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" + * @generated + */ + EList<AbstractRequirement> getDerived(); + + /** + * Returns the value of the '<em><b>Derived From</b></em>' reference list. + * The list contents are of type {@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Derived From</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Derived From</em>' reference list. + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getAbstractRequirement_DerivedFrom() + * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" + * @generated + */ + EList<AbstractRequirement> getDerivedFrom(); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * The default value is <code>""</code>. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getAbstractRequirement_Id() + * @model default="" dataType="org.eclipse.uml2.types.String" required="true" ordered="false" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + + /** + * Returns the value of the '<em><b>Master</b></em>' reference list. + * The list contents are of type {@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Master</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Master</em>' reference list. + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getAbstractRequirement_Master() + * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" + * @generated + */ + EList<AbstractRequirement> getMaster(); + + /** + * Returns the value of the '<em><b>Refined By</b></em>' reference list. + * The list contents are of type {@link org.eclipse.uml2.uml.NamedElement}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Refined By</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Refined By</em>' reference list. + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getAbstractRequirement_RefinedBy() + * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" + * @generated + */ + EList<NamedElement> getRefinedBy(); + + /** + * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '<em><b>Refined By</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>. + * @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>. + * @see #getRefinedBy() + * @generated + */ + NamedElement getRefinedBy(String name); + + /** + * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '<em><b>Refined By</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>. + * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons. + * @param eClass The Ecore class of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>. + * @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>. + * @see #getRefinedBy() + * @generated + */ + NamedElement getRefinedBy(String name, boolean ignoreCase, EClass eClass); + + /** + * Returns the value of the '<em><b>Satisfied By</b></em>' reference list. + * The list contents are of type {@link org.eclipse.uml2.uml.NamedElement}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Satisfied By</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Satisfied By</em>' reference list. + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getAbstractRequirement_SatisfiedBy() + * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" + * @generated + */ + EList<NamedElement> getSatisfiedBy(); + + /** + * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '<em><b>Satisfied By</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>. + * @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>. + * @see #getSatisfiedBy() + * @generated + */ + NamedElement getSatisfiedBy(String name); + + /** + * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '<em><b>Satisfied By</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>. + * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons. + * @param eClass The Ecore class of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>. + * @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>. + * @see #getSatisfiedBy() + * @generated + */ + NamedElement getSatisfiedBy(String name, boolean ignoreCase, EClass eClass); + + /** + * Returns the value of the '<em><b>Text</b></em>' attribute. + * The default value is <code>""</code>. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text</em>' attribute. + * @see #setText(String) + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getAbstractRequirement_Text() + * @model default="" dataType="org.eclipse.uml2.types.String" required="true" ordered="false" + * @generated + */ + String getText(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getText <em>Text</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text</em>' attribute. + * @see #getText() + * @generated + */ + void setText(String value); + + /** + * Returns the value of the '<em><b>Traced To</b></em>' reference list. + * The list contents are of type {@link org.eclipse.uml2.uml.NamedElement}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Traced To</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Traced To</em>' reference list. + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getAbstractRequirement_TracedTo() + * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" + * @generated + */ + EList<NamedElement> getTracedTo(); + + /** + * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '<em><b>Traced To</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>. + * @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>. + * @see #getTracedTo() + * @generated + */ + NamedElement getTracedTo(String name); + + /** + * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '<em><b>Traced To</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>. + * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons. + * @param eClass The Ecore class of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>. + * @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>. + * @see #getTracedTo() + * @generated + */ + NamedElement getTracedTo(String name, boolean ignoreCase, EClass eClass); + + /** + * Returns the value of the '<em><b>Verified By</b></em>' reference list. + * The list contents are of type {@link org.eclipse.uml2.uml.NamedElement}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Verified By</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Verified By</em>' reference list. + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getAbstractRequirement_VerifiedBy() + * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" + * @generated + */ + EList<NamedElement> getVerifiedBy(); + + /** + * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '<em><b>Verified By</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>. + * @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>. + * @see #getVerifiedBy() + * @generated + */ + NamedElement getVerifiedBy(String name); + + /** + * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '<em><b>Verified By</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>. + * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons. + * @param eClass The Ecore class of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>. + * @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>. + * @see #getVerifiedBy() + * @generated + */ + NamedElement getVerifiedBy(String name, boolean ignoreCase, EClass eClass); + +} // AbstractRequirement
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/Copy.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/Copy.java new file mode 100644 index 0000000..8fecd18 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/Copy.java
@@ -0,0 +1,27 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Copy</b></em>'. + * <!-- end-user-doc --> + * + * + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getCopy() + * @model + * @generated + */ +public interface Copy extends Trace { +} // Copy
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/DeriveReqt.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/DeriveReqt.java new file mode 100644 index 0000000..b28166d --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/DeriveReqt.java
@@ -0,0 +1,27 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Derive Reqt</b></em>'. + * <!-- end-user-doc --> + * + * + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getDeriveReqt() + * @model + * @generated + */ +public interface DeriveReqt extends Trace { +} // DeriveReqt
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/Refine.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/Refine.java new file mode 100644 index 0000000..a0b9e60 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/Refine.java
@@ -0,0 +1,76 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath; + +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.NamedElement; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Refine</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.requirements.Refine#getBase_Abstraction <em>Base Abstraction</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getRefine() + * @model + * @generated + */ +public interface Refine extends DirectedRelationshipPropertyPath { + /** + * Returns the value of the '<em><b>Base Abstraction</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Abstraction</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Abstraction</em>' reference. + * @see #setBase_Abstraction(Abstraction) + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getRefine_Base_Abstraction() + * @model ordered="false" + * @generated + */ + Abstraction getBase_Abstraction(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.requirements.Refine#getBase_Abstraction <em>Base Abstraction</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Abstraction</em>' reference. + * @see #getBase_Abstraction() + * @generated + */ + void setBase_Abstraction(Abstraction value); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * Refine.allInstances()->select(base_Abstraction.client=ref).base_Abstraction.supplier + * <!-- end-model-doc --> + * @model ordered="false" refRequired="true" refOrdered="false" + * @generated + */ + EList<AbstractRequirement> getRefines(NamedElement ref); + +} // Refine
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/Requirement.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/Requirement.java new file mode 100644 index 0000000..38dbde2 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/Requirement.java
@@ -0,0 +1,59 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Requirement</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.requirements.Requirement#getBase_Class <em>Base Class</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getRequirement() + * @model + * @generated + */ +public interface Requirement extends AbstractRequirement { + /** + * Returns the value of the '<em><b>Base Class</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Class</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Class</em>' reference. + * @see #setBase_Class(org.eclipse.uml2.uml.Class) + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getRequirement_Base_Class() + * @model required="true" ordered="false" + * @generated + */ + org.eclipse.uml2.uml.Class getBase_Class(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.requirements.Requirement#getBase_Class <em>Base Class</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Class</em>' reference. + * @see #getBase_Class() + * @generated + */ + void setBase_Class(org.eclipse.uml2.uml.Class value); + +} // Requirement
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/RequirementsFactory.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/RequirementsFactory.java new file mode 100644 index 0000000..3006270 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/RequirementsFactory.java
@@ -0,0 +1,115 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements; + +import org.eclipse.emf.ecore.EFactory; + +/** + * <!-- begin-user-doc --> + * The <b>Factory</b> for the model. + * It provides a create method for each non-abstract class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage + * @generated + */ +public interface RequirementsFactory extends EFactory { + /** + * The singleton instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + RequirementsFactory eINSTANCE = org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsFactoryImpl.init(); + + /** + * Returns a new object of class '<em>Copy</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Copy</em>'. + * @generated + */ + Copy createCopy(); + + /** + * Returns a new object of class '<em>Trace</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Trace</em>'. + * @generated + */ + Trace createTrace(); + + /** + * Returns a new object of class '<em>Derive Reqt</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Derive Reqt</em>'. + * @generated + */ + DeriveReqt createDeriveReqt(); + + /** + * Returns a new object of class '<em>Verify</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Verify</em>'. + * @generated + */ + Verify createVerify(); + + /** + * Returns a new object of class '<em>Refine</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Refine</em>'. + * @generated + */ + Refine createRefine(); + + /** + * Returns a new object of class '<em>Satisfy</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Satisfy</em>'. + * @generated + */ + Satisfy createSatisfy(); + + /** + * Returns a new object of class '<em>Test Case</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Test Case</em>'. + * @generated + */ + TestCase createTestCase(); + + /** + * Returns a new object of class '<em>Requirement</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Requirement</em>'. + * @generated + */ + Requirement createRequirement(); + + /** + * Returns the package supported by this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the package supported by this factory. + * @generated + */ + RequirementsPackage getRequirementsPackage(); + +} //RequirementsFactory
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/RequirementsPackage.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/RequirementsPackage.java new file mode 100644 index 0000000..bd5bf67 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/RequirementsPackage.java
@@ -0,0 +1,1522 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EOperation; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; + +/** + * <!-- begin-user-doc --> + * The <b>Package</b> for the model. + * It contains accessors for the meta objects to represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each operation of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.requirements.RequirementsFactory + * @model kind="package" + * annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='Requirements'" + * @generated + */ +public interface RequirementsPackage extends EPackage { + /** + * The package name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNAME = "requirements"; //$NON-NLS-1$ + + /** + * The package namespace URI. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_URI = "http://www.eclipse.org/papyrus/sysml/1.5/SysML/Requirements"; //$NON-NLS-1$ + + /** + * The package namespace name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_PREFIX = "Requirements"; //$NON-NLS-1$ + + /** + * The singleton instance of the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + RequirementsPackage eINSTANCE = org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.requirements.internal.impl.TraceImpl <em>Trace</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.TraceImpl + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getTrace() + * @generated + */ + int TRACE = 1; + + /** + * The feature id for the '<em><b>Base Directed Relationship</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRACE__BASE_DIRECTED_RELATIONSHIP = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__BASE_DIRECTED_RELATIONSHIP; + + /** + * The feature id for the '<em><b>Source Context</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRACE__SOURCE_CONTEXT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_CONTEXT; + + /** + * The feature id for the '<em><b>Source Property Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRACE__SOURCE_PROPERTY_PATH = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_PROPERTY_PATH; + + /** + * The feature id for the '<em><b>Target Context</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRACE__TARGET_CONTEXT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_CONTEXT; + + /** + * The feature id for the '<em><b>Target Property Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRACE__TARGET_PROPERTY_PATH = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_PROPERTY_PATH; + + /** + * The feature id for the '<em><b>Base Abstraction</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRACE__BASE_ABSTRACTION = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Trace</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRACE_FEATURE_COUNT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH_FEATURE_COUNT + 1; + + /** + * The operation id for the '<em>Get Traced From</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRACE___GET_TRACED_FROM__NAMEDELEMENT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH_OPERATION_COUNT + 0; + + /** + * The number of operations of the '<em>Trace</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TRACE_OPERATION_COUNT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH_OPERATION_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.requirements.internal.impl.CopyImpl <em>Copy</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.CopyImpl + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getCopy() + * @generated + */ + int COPY = 0; + + /** + * The feature id for the '<em><b>Base Directed Relationship</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COPY__BASE_DIRECTED_RELATIONSHIP = TRACE__BASE_DIRECTED_RELATIONSHIP; + + /** + * The feature id for the '<em><b>Source Context</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COPY__SOURCE_CONTEXT = TRACE__SOURCE_CONTEXT; + + /** + * The feature id for the '<em><b>Source Property Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COPY__SOURCE_PROPERTY_PATH = TRACE__SOURCE_PROPERTY_PATH; + + /** + * The feature id for the '<em><b>Target Context</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COPY__TARGET_CONTEXT = TRACE__TARGET_CONTEXT; + + /** + * The feature id for the '<em><b>Target Property Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COPY__TARGET_PROPERTY_PATH = TRACE__TARGET_PROPERTY_PATH; + + /** + * The feature id for the '<em><b>Base Abstraction</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COPY__BASE_ABSTRACTION = TRACE__BASE_ABSTRACTION; + + /** + * The number of structural features of the '<em>Copy</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COPY_FEATURE_COUNT = TRACE_FEATURE_COUNT + 0; + + /** + * The operation id for the '<em>Get Traced From</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COPY___GET_TRACED_FROM__NAMEDELEMENT = TRACE___GET_TRACED_FROM__NAMEDELEMENT; + + /** + * The number of operations of the '<em>Copy</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COPY_OPERATION_COUNT = TRACE_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.requirements.internal.impl.AbstractRequirementImpl <em>Abstract Requirement</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.AbstractRequirementImpl + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getAbstractRequirement() + * @generated + */ + int ABSTRACT_REQUIREMENT = 2; + + /** + * The feature id for the '<em><b>Base Named Element</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_REQUIREMENT__BASE_NAMED_ELEMENT = 0; + + /** + * The feature id for the '<em><b>Derived</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_REQUIREMENT__DERIVED = 1; + + /** + * The feature id for the '<em><b>Derived From</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_REQUIREMENT__DERIVED_FROM = 2; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_REQUIREMENT__ID = 3; + + /** + * The feature id for the '<em><b>Master</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_REQUIREMENT__MASTER = 4; + + /** + * The feature id for the '<em><b>Refined By</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_REQUIREMENT__REFINED_BY = 5; + + /** + * The feature id for the '<em><b>Satisfied By</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_REQUIREMENT__SATISFIED_BY = 6; + + /** + * The feature id for the '<em><b>Text</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_REQUIREMENT__TEXT = 7; + + /** + * The feature id for the '<em><b>Traced To</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_REQUIREMENT__TRACED_TO = 8; + + /** + * The feature id for the '<em><b>Verified By</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_REQUIREMENT__VERIFIED_BY = 9; + + /** + * The number of structural features of the '<em>Abstract Requirement</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_REQUIREMENT_FEATURE_COUNT = 10; + + /** + * The number of operations of the '<em>Abstract Requirement</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ABSTRACT_REQUIREMENT_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.requirements.internal.impl.DeriveReqtImpl <em>Derive Reqt</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.DeriveReqtImpl + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getDeriveReqt() + * @generated + */ + int DERIVE_REQT = 3; + + /** + * The feature id for the '<em><b>Base Directed Relationship</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DERIVE_REQT__BASE_DIRECTED_RELATIONSHIP = TRACE__BASE_DIRECTED_RELATIONSHIP; + + /** + * The feature id for the '<em><b>Source Context</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DERIVE_REQT__SOURCE_CONTEXT = TRACE__SOURCE_CONTEXT; + + /** + * The feature id for the '<em><b>Source Property Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DERIVE_REQT__SOURCE_PROPERTY_PATH = TRACE__SOURCE_PROPERTY_PATH; + + /** + * The feature id for the '<em><b>Target Context</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DERIVE_REQT__TARGET_CONTEXT = TRACE__TARGET_CONTEXT; + + /** + * The feature id for the '<em><b>Target Property Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DERIVE_REQT__TARGET_PROPERTY_PATH = TRACE__TARGET_PROPERTY_PATH; + + /** + * The feature id for the '<em><b>Base Abstraction</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DERIVE_REQT__BASE_ABSTRACTION = TRACE__BASE_ABSTRACTION; + + /** + * The number of structural features of the '<em>Derive Reqt</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DERIVE_REQT_FEATURE_COUNT = TRACE_FEATURE_COUNT + 0; + + /** + * The operation id for the '<em>Get Traced From</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DERIVE_REQT___GET_TRACED_FROM__NAMEDELEMENT = TRACE___GET_TRACED_FROM__NAMEDELEMENT; + + /** + * The number of operations of the '<em>Derive Reqt</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DERIVE_REQT_OPERATION_COUNT = TRACE_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.requirements.internal.impl.VerifyImpl <em>Verify</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.VerifyImpl + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getVerify() + * @generated + */ + int VERIFY = 4; + + /** + * The feature id for the '<em><b>Base Directed Relationship</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VERIFY__BASE_DIRECTED_RELATIONSHIP = TRACE__BASE_DIRECTED_RELATIONSHIP; + + /** + * The feature id for the '<em><b>Source Context</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VERIFY__SOURCE_CONTEXT = TRACE__SOURCE_CONTEXT; + + /** + * The feature id for the '<em><b>Source Property Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VERIFY__SOURCE_PROPERTY_PATH = TRACE__SOURCE_PROPERTY_PATH; + + /** + * The feature id for the '<em><b>Target Context</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VERIFY__TARGET_CONTEXT = TRACE__TARGET_CONTEXT; + + /** + * The feature id for the '<em><b>Target Property Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VERIFY__TARGET_PROPERTY_PATH = TRACE__TARGET_PROPERTY_PATH; + + /** + * The feature id for the '<em><b>Base Abstraction</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VERIFY__BASE_ABSTRACTION = TRACE__BASE_ABSTRACTION; + + /** + * The number of structural features of the '<em>Verify</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VERIFY_FEATURE_COUNT = TRACE_FEATURE_COUNT + 0; + + /** + * The operation id for the '<em>Get Traced From</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VERIFY___GET_TRACED_FROM__NAMEDELEMENT = TRACE___GET_TRACED_FROM__NAMEDELEMENT; + + /** + * The operation id for the '<em>Get Verifies</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VERIFY___GET_VERIFIES__NAMEDELEMENT = TRACE_OPERATION_COUNT + 0; + + /** + * The number of operations of the '<em>Verify</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VERIFY_OPERATION_COUNT = TRACE_OPERATION_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.requirements.internal.impl.RefineImpl <em>Refine</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RefineImpl + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getRefine() + * @generated + */ + int REFINE = 5; + + /** + * The feature id for the '<em><b>Base Directed Relationship</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REFINE__BASE_DIRECTED_RELATIONSHIP = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__BASE_DIRECTED_RELATIONSHIP; + + /** + * The feature id for the '<em><b>Source Context</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REFINE__SOURCE_CONTEXT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_CONTEXT; + + /** + * The feature id for the '<em><b>Source Property Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REFINE__SOURCE_PROPERTY_PATH = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_PROPERTY_PATH; + + /** + * The feature id for the '<em><b>Target Context</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REFINE__TARGET_CONTEXT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_CONTEXT; + + /** + * The feature id for the '<em><b>Target Property Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REFINE__TARGET_PROPERTY_PATH = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_PROPERTY_PATH; + + /** + * The feature id for the '<em><b>Base Abstraction</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REFINE__BASE_ABSTRACTION = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Refine</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REFINE_FEATURE_COUNT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH_FEATURE_COUNT + 1; + + /** + * The operation id for the '<em>Get Refines</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REFINE___GET_REFINES__NAMEDELEMENT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH_OPERATION_COUNT + 0; + + /** + * The number of operations of the '<em>Refine</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REFINE_OPERATION_COUNT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH_OPERATION_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.requirements.internal.impl.SatisfyImpl <em>Satisfy</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.SatisfyImpl + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getSatisfy() + * @generated + */ + int SATISFY = 6; + + /** + * The feature id for the '<em><b>Base Directed Relationship</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SATISFY__BASE_DIRECTED_RELATIONSHIP = TRACE__BASE_DIRECTED_RELATIONSHIP; + + /** + * The feature id for the '<em><b>Source Context</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SATISFY__SOURCE_CONTEXT = TRACE__SOURCE_CONTEXT; + + /** + * The feature id for the '<em><b>Source Property Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SATISFY__SOURCE_PROPERTY_PATH = TRACE__SOURCE_PROPERTY_PATH; + + /** + * The feature id for the '<em><b>Target Context</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SATISFY__TARGET_CONTEXT = TRACE__TARGET_CONTEXT; + + /** + * The feature id for the '<em><b>Target Property Path</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SATISFY__TARGET_PROPERTY_PATH = TRACE__TARGET_PROPERTY_PATH; + + /** + * The feature id for the '<em><b>Base Abstraction</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SATISFY__BASE_ABSTRACTION = TRACE__BASE_ABSTRACTION; + + /** + * The number of structural features of the '<em>Satisfy</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SATISFY_FEATURE_COUNT = TRACE_FEATURE_COUNT + 0; + + /** + * The operation id for the '<em>Get Traced From</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SATISFY___GET_TRACED_FROM__NAMEDELEMENT = TRACE___GET_TRACED_FROM__NAMEDELEMENT; + + /** + * The operation id for the '<em>Get Satisfies</em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SATISFY___GET_SATISFIES__NAMEDELEMENT = TRACE_OPERATION_COUNT + 0; + + /** + * The number of operations of the '<em>Satisfy</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SATISFY_OPERATION_COUNT = TRACE_OPERATION_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.requirements.internal.impl.TestCaseImpl <em>Test Case</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.TestCaseImpl + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getTestCase() + * @generated + */ + int TEST_CASE = 7; + + /** + * The feature id for the '<em><b>Base Behavior</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TEST_CASE__BASE_BEHAVIOR = 0; + + /** + * The feature id for the '<em><b>Base Operation</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TEST_CASE__BASE_OPERATION = 1; + + /** + * The number of structural features of the '<em>Test Case</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TEST_CASE_FEATURE_COUNT = 2; + + /** + * The number of operations of the '<em>Test Case</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TEST_CASE_OPERATION_COUNT = 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementImpl <em>Requirement</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementImpl + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getRequirement() + * @generated + */ + int REQUIREMENT = 8; + + /** + * The feature id for the '<em><b>Base Named Element</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REQUIREMENT__BASE_NAMED_ELEMENT = ABSTRACT_REQUIREMENT__BASE_NAMED_ELEMENT; + + /** + * The feature id for the '<em><b>Derived</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REQUIREMENT__DERIVED = ABSTRACT_REQUIREMENT__DERIVED; + + /** + * The feature id for the '<em><b>Derived From</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REQUIREMENT__DERIVED_FROM = ABSTRACT_REQUIREMENT__DERIVED_FROM; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REQUIREMENT__ID = ABSTRACT_REQUIREMENT__ID; + + /** + * The feature id for the '<em><b>Master</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REQUIREMENT__MASTER = ABSTRACT_REQUIREMENT__MASTER; + + /** + * The feature id for the '<em><b>Refined By</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REQUIREMENT__REFINED_BY = ABSTRACT_REQUIREMENT__REFINED_BY; + + /** + * The feature id for the '<em><b>Satisfied By</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REQUIREMENT__SATISFIED_BY = ABSTRACT_REQUIREMENT__SATISFIED_BY; + + /** + * The feature id for the '<em><b>Text</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REQUIREMENT__TEXT = ABSTRACT_REQUIREMENT__TEXT; + + /** + * The feature id for the '<em><b>Traced To</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REQUIREMENT__TRACED_TO = ABSTRACT_REQUIREMENT__TRACED_TO; + + /** + * The feature id for the '<em><b>Verified By</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REQUIREMENT__VERIFIED_BY = ABSTRACT_REQUIREMENT__VERIFIED_BY; + + /** + * The feature id for the '<em><b>Base Class</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REQUIREMENT__BASE_CLASS = ABSTRACT_REQUIREMENT_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Requirement</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REQUIREMENT_FEATURE_COUNT = ABSTRACT_REQUIREMENT_FEATURE_COUNT + 1; + + /** + * The number of operations of the '<em>Requirement</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REQUIREMENT_OPERATION_COUNT = ABSTRACT_REQUIREMENT_OPERATION_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.papyrus.sysml.requirements.VerdictKind <em>Verdict Kind</em>}' enum. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.requirements.VerdictKind + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getVerdictKind() + * @generated + */ + int VERDICT_KIND = 9; + + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.requirements.Copy <em>Copy</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Copy</em>'. + * @see org.eclipse.papyrus.sysml.requirements.Copy + * @generated + */ + EClass getCopy(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.requirements.Trace <em>Trace</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Trace</em>'. + * @see org.eclipse.papyrus.sysml.requirements.Trace + * @generated + */ + EClass getTrace(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.requirements.Trace#getBase_Abstraction <em>Base Abstraction</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Abstraction</em>'. + * @see org.eclipse.papyrus.sysml.requirements.Trace#getBase_Abstraction() + * @see #getTrace() + * @generated + */ + EReference getTrace_Base_Abstraction(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.requirements.Trace#getTracedFrom(org.eclipse.uml2.uml.NamedElement) <em>Get Traced From</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Traced From</em>' operation. + * @see org.eclipse.papyrus.sysml.requirements.Trace#getTracedFrom(org.eclipse.uml2.uml.NamedElement) + * @generated + */ + EOperation getTrace__GetTracedFrom__NamedElement(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement <em>Abstract Requirement</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Abstract Requirement</em>'. + * @see org.eclipse.papyrus.sysml.requirements.AbstractRequirement + * @generated + */ + EClass getAbstractRequirement(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getBase_NamedElement <em>Base Named Element</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Named Element</em>'. + * @see org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getBase_NamedElement() + * @see #getAbstractRequirement() + * @generated + */ + EReference getAbstractRequirement_Base_NamedElement(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getDerived <em>Derived</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>Derived</em>'. + * @see org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getDerived() + * @see #getAbstractRequirement() + * @generated + */ + EReference getAbstractRequirement_Derived(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getDerivedFrom <em>Derived From</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>Derived From</em>'. + * @see org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getDerivedFrom() + * @see #getAbstractRequirement() + * @generated + */ + EReference getAbstractRequirement_DerivedFrom(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getId() + * @see #getAbstractRequirement() + * @generated + */ + EAttribute getAbstractRequirement_Id(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getMaster <em>Master</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>Master</em>'. + * @see org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getMaster() + * @see #getAbstractRequirement() + * @generated + */ + EReference getAbstractRequirement_Master(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getRefinedBy <em>Refined By</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>Refined By</em>'. + * @see org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getRefinedBy() + * @see #getAbstractRequirement() + * @generated + */ + EReference getAbstractRequirement_RefinedBy(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getSatisfiedBy <em>Satisfied By</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>Satisfied By</em>'. + * @see org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getSatisfiedBy() + * @see #getAbstractRequirement() + * @generated + */ + EReference getAbstractRequirement_SatisfiedBy(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getText <em>Text</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text</em>'. + * @see org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getText() + * @see #getAbstractRequirement() + * @generated + */ + EAttribute getAbstractRequirement_Text(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getTracedTo <em>Traced To</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>Traced To</em>'. + * @see org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getTracedTo() + * @see #getAbstractRequirement() + * @generated + */ + EReference getAbstractRequirement_TracedTo(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getVerifiedBy <em>Verified By</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference list '<em>Verified By</em>'. + * @see org.eclipse.papyrus.sysml.requirements.AbstractRequirement#getVerifiedBy() + * @see #getAbstractRequirement() + * @generated + */ + EReference getAbstractRequirement_VerifiedBy(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.requirements.DeriveReqt <em>Derive Reqt</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Derive Reqt</em>'. + * @see org.eclipse.papyrus.sysml.requirements.DeriveReqt + * @generated + */ + EClass getDeriveReqt(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.requirements.Verify <em>Verify</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Verify</em>'. + * @see org.eclipse.papyrus.sysml.requirements.Verify + * @generated + */ + EClass getVerify(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.requirements.Verify#getVerifies(org.eclipse.uml2.uml.NamedElement) <em>Get Verifies</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Verifies</em>' operation. + * @see org.eclipse.papyrus.sysml.requirements.Verify#getVerifies(org.eclipse.uml2.uml.NamedElement) + * @generated + */ + EOperation getVerify__GetVerifies__NamedElement(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.requirements.Refine <em>Refine</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Refine</em>'. + * @see org.eclipse.papyrus.sysml.requirements.Refine + * @generated + */ + EClass getRefine(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.requirements.Refine#getBase_Abstraction <em>Base Abstraction</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Abstraction</em>'. + * @see org.eclipse.papyrus.sysml.requirements.Refine#getBase_Abstraction() + * @see #getRefine() + * @generated + */ + EReference getRefine_Base_Abstraction(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.requirements.Refine#getRefines(org.eclipse.uml2.uml.NamedElement) <em>Get Refines</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Refines</em>' operation. + * @see org.eclipse.papyrus.sysml.requirements.Refine#getRefines(org.eclipse.uml2.uml.NamedElement) + * @generated + */ + EOperation getRefine__GetRefines__NamedElement(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.requirements.Satisfy <em>Satisfy</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Satisfy</em>'. + * @see org.eclipse.papyrus.sysml.requirements.Satisfy + * @generated + */ + EClass getSatisfy(); + + /** + * Returns the meta object for the '{@link org.eclipse.papyrus.sysml.requirements.Satisfy#getSatisfies(org.eclipse.uml2.uml.NamedElement) <em>Get Satisfies</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the '<em>Get Satisfies</em>' operation. + * @see org.eclipse.papyrus.sysml.requirements.Satisfy#getSatisfies(org.eclipse.uml2.uml.NamedElement) + * @generated + */ + EOperation getSatisfy__GetSatisfies__NamedElement(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.requirements.TestCase <em>Test Case</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Test Case</em>'. + * @see org.eclipse.papyrus.sysml.requirements.TestCase + * @generated + */ + EClass getTestCase(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.requirements.TestCase#getBase_Behavior <em>Base Behavior</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Behavior</em>'. + * @see org.eclipse.papyrus.sysml.requirements.TestCase#getBase_Behavior() + * @see #getTestCase() + * @generated + */ + EReference getTestCase_Base_Behavior(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.requirements.TestCase#getBase_Operation <em>Base Operation</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Operation</em>'. + * @see org.eclipse.papyrus.sysml.requirements.TestCase#getBase_Operation() + * @see #getTestCase() + * @generated + */ + EReference getTestCase_Base_Operation(); + + /** + * Returns the meta object for class '{@link org.eclipse.papyrus.sysml.requirements.Requirement <em>Requirement</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Requirement</em>'. + * @see org.eclipse.papyrus.sysml.requirements.Requirement + * @generated + */ + EClass getRequirement(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml.requirements.Requirement#getBase_Class <em>Base Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Base Class</em>'. + * @see org.eclipse.papyrus.sysml.requirements.Requirement#getBase_Class() + * @see #getRequirement() + * @generated + */ + EReference getRequirement_Base_Class(); + + /** + * Returns the meta object for enum '{@link org.eclipse.papyrus.sysml.requirements.VerdictKind <em>Verdict Kind</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for enum '<em>Verdict Kind</em>'. + * @see org.eclipse.papyrus.sysml.requirements.VerdictKind + * @generated + */ + EEnum getVerdictKind(); + + /** + * Returns the factory that creates the instances of the model. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the factory that creates the instances of the model. + * @generated + */ + RequirementsFactory getRequirementsFactory(); + + /** + * <!-- begin-user-doc --> + * Defines literals for the meta objects that represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each operation of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @generated + */ + interface Literals { + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.requirements.internal.impl.CopyImpl <em>Copy</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.CopyImpl + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getCopy() + * @generated + */ + EClass COPY = eINSTANCE.getCopy(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.requirements.internal.impl.TraceImpl <em>Trace</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.TraceImpl + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getTrace() + * @generated + */ + EClass TRACE = eINSTANCE.getTrace(); + + /** + * The meta object literal for the '<em><b>Base Abstraction</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference TRACE__BASE_ABSTRACTION = eINSTANCE.getTrace_Base_Abstraction(); + + /** + * The meta object literal for the '<em><b>Get Traced From</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation TRACE___GET_TRACED_FROM__NAMEDELEMENT = eINSTANCE.getTrace__GetTracedFrom__NamedElement(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.requirements.internal.impl.AbstractRequirementImpl <em>Abstract Requirement</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.AbstractRequirementImpl + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getAbstractRequirement() + * @generated + */ + EClass ABSTRACT_REQUIREMENT = eINSTANCE.getAbstractRequirement(); + + /** + * The meta object literal for the '<em><b>Base Named Element</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ABSTRACT_REQUIREMENT__BASE_NAMED_ELEMENT = eINSTANCE.getAbstractRequirement_Base_NamedElement(); + + /** + * The meta object literal for the '<em><b>Derived</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ABSTRACT_REQUIREMENT__DERIVED = eINSTANCE.getAbstractRequirement_Derived(); + + /** + * The meta object literal for the '<em><b>Derived From</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ABSTRACT_REQUIREMENT__DERIVED_FROM = eINSTANCE.getAbstractRequirement_DerivedFrom(); + + /** + * The meta object literal for the '<em><b>Id</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ABSTRACT_REQUIREMENT__ID = eINSTANCE.getAbstractRequirement_Id(); + + /** + * The meta object literal for the '<em><b>Master</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ABSTRACT_REQUIREMENT__MASTER = eINSTANCE.getAbstractRequirement_Master(); + + /** + * The meta object literal for the '<em><b>Refined By</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ABSTRACT_REQUIREMENT__REFINED_BY = eINSTANCE.getAbstractRequirement_RefinedBy(); + + /** + * The meta object literal for the '<em><b>Satisfied By</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ABSTRACT_REQUIREMENT__SATISFIED_BY = eINSTANCE.getAbstractRequirement_SatisfiedBy(); + + /** + * The meta object literal for the '<em><b>Text</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute ABSTRACT_REQUIREMENT__TEXT = eINSTANCE.getAbstractRequirement_Text(); + + /** + * The meta object literal for the '<em><b>Traced To</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ABSTRACT_REQUIREMENT__TRACED_TO = eINSTANCE.getAbstractRequirement_TracedTo(); + + /** + * The meta object literal for the '<em><b>Verified By</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference ABSTRACT_REQUIREMENT__VERIFIED_BY = eINSTANCE.getAbstractRequirement_VerifiedBy(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.requirements.internal.impl.DeriveReqtImpl <em>Derive Reqt</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.DeriveReqtImpl + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getDeriveReqt() + * @generated + */ + EClass DERIVE_REQT = eINSTANCE.getDeriveReqt(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.requirements.internal.impl.VerifyImpl <em>Verify</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.VerifyImpl + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getVerify() + * @generated + */ + EClass VERIFY = eINSTANCE.getVerify(); + + /** + * The meta object literal for the '<em><b>Get Verifies</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation VERIFY___GET_VERIFIES__NAMEDELEMENT = eINSTANCE.getVerify__GetVerifies__NamedElement(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.requirements.internal.impl.RefineImpl <em>Refine</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RefineImpl + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getRefine() + * @generated + */ + EClass REFINE = eINSTANCE.getRefine(); + + /** + * The meta object literal for the '<em><b>Base Abstraction</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference REFINE__BASE_ABSTRACTION = eINSTANCE.getRefine_Base_Abstraction(); + + /** + * The meta object literal for the '<em><b>Get Refines</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation REFINE___GET_REFINES__NAMEDELEMENT = eINSTANCE.getRefine__GetRefines__NamedElement(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.requirements.internal.impl.SatisfyImpl <em>Satisfy</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.SatisfyImpl + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getSatisfy() + * @generated + */ + EClass SATISFY = eINSTANCE.getSatisfy(); + + /** + * The meta object literal for the '<em><b>Get Satisfies</b></em>' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EOperation SATISFY___GET_SATISFIES__NAMEDELEMENT = eINSTANCE.getSatisfy__GetSatisfies__NamedElement(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.requirements.internal.impl.TestCaseImpl <em>Test Case</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.TestCaseImpl + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getTestCase() + * @generated + */ + EClass TEST_CASE = eINSTANCE.getTestCase(); + + /** + * The meta object literal for the '<em><b>Base Behavior</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference TEST_CASE__BASE_BEHAVIOR = eINSTANCE.getTestCase_Base_Behavior(); + + /** + * The meta object literal for the '<em><b>Base Operation</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference TEST_CASE__BASE_OPERATION = eINSTANCE.getTestCase_Base_Operation(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementImpl <em>Requirement</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementImpl + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getRequirement() + * @generated + */ + EClass REQUIREMENT = eINSTANCE.getRequirement(); + + /** + * The meta object literal for the '<em><b>Base Class</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference REQUIREMENT__BASE_CLASS = eINSTANCE.getRequirement_Base_Class(); + + /** + * The meta object literal for the '{@link org.eclipse.papyrus.sysml.requirements.VerdictKind <em>Verdict Kind</em>}' enum. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.requirements.VerdictKind + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsPackageImpl#getVerdictKind() + * @generated + */ + EEnum VERDICT_KIND = eINSTANCE.getVerdictKind(); + + } + +} //RequirementsPackage
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/Satisfy.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/Satisfy.java new file mode 100644 index 0000000..f548a05 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/Satisfy.java
@@ -0,0 +1,41 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.uml2.uml.NamedElement; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Satisfy</b></em>'. + * <!-- end-user-doc --> + * + * + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getSatisfy() + * @model + * @generated + */ +public interface Satisfy extends Trace { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * Satisfy.allInstances()->select(base_Abstraction.client=ref).base_Abstraction.supplier + * <!-- end-model-doc --> + * @model ordered="false" refRequired="true" refOrdered="false" + * @generated + */ + EList<AbstractRequirement> getSatisfies(NamedElement ref); + +} // Satisfy
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/TestCase.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/TestCase.java new file mode 100644 index 0000000..86530c4 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/TestCase.java
@@ -0,0 +1,90 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.uml2.uml.Behavior; +import org.eclipse.uml2.uml.Operation; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Test Case</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.requirements.TestCase#getBase_Behavior <em>Base Behavior</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.requirements.TestCase#getBase_Operation <em>Base Operation</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getTestCase() + * @model + * @generated + */ +public interface TestCase extends EObject { + /** + * Returns the value of the '<em><b>Base Behavior</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Behavior</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Behavior</em>' reference. + * @see #setBase_Behavior(Behavior) + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getTestCase_Base_Behavior() + * @model ordered="false" + * @generated + */ + Behavior getBase_Behavior(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.requirements.TestCase#getBase_Behavior <em>Base Behavior</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Behavior</em>' reference. + * @see #getBase_Behavior() + * @generated + */ + void setBase_Behavior(Behavior value); + + /** + * Returns the value of the '<em><b>Base Operation</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Operation</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Operation</em>' reference. + * @see #setBase_Operation(Operation) + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getTestCase_Base_Operation() + * @model ordered="false" + * @generated + */ + Operation getBase_Operation(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.requirements.TestCase#getBase_Operation <em>Base Operation</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Operation</em>' reference. + * @see #getBase_Operation() + * @generated + */ + void setBase_Operation(Operation value); + +} // TestCase
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/Trace.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/Trace.java new file mode 100644 index 0000000..3ce6f1b --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/Trace.java
@@ -0,0 +1,76 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath; + +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.NamedElement; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Trace</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.requirements.Trace#getBase_Abstraction <em>Base Abstraction</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getTrace() + * @model + * @generated + */ +public interface Trace extends DirectedRelationshipPropertyPath { + /** + * Returns the value of the '<em><b>Base Abstraction</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Abstraction</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Abstraction</em>' reference. + * @see #setBase_Abstraction(Abstraction) + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getTrace_Base_Abstraction() + * @model ordered="false" + * @generated + */ + Abstraction getBase_Abstraction(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.sysml.requirements.Trace#getBase_Abstraction <em>Base Abstraction</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Abstraction</em>' reference. + * @see #getBase_Abstraction() + * @generated + */ + void setBase_Abstraction(Abstraction value); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * AbstractRequirement.allInstances()->select(tracedTo->includes(ref)) + * <!-- end-model-doc --> + * @model ordered="false" refRequired="true" refOrdered="false" + * @generated + */ + EList<AbstractRequirement> getTracedFrom(NamedElement ref); + +} // Trace
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/VerdictKind.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/VerdictKind.java new file mode 100644 index 0000000..19cf025 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/VerdictKind.java
@@ -0,0 +1,278 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.Enumerator; + +/** + * <!-- begin-user-doc --> + * A representation of the literals of the enumeration '<em><b>Verdict Kind</b></em>', + * and utility methods for working with them. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getVerdictKind() + * @model + * @generated + */ +public enum VerdictKind implements Enumerator { + /** + * The '<em><b>Error</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #ERROR_VALUE + * @generated + * @ordered + */ + ERROR(0, "error", "error"), //$NON-NLS-1$ //$NON-NLS-2$ + + /** + * The '<em><b>Fail</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #FAIL_VALUE + * @generated + * @ordered + */ + FAIL(1, "fail", "fail"), //$NON-NLS-1$ //$NON-NLS-2$ + + /** + * The '<em><b>Inconclusive</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #INCONCLUSIVE_VALUE + * @generated + * @ordered + */ + INCONCLUSIVE(2, "inconclusive", "inconclusive"), //$NON-NLS-1$ //$NON-NLS-2$ + + /** + * The '<em><b>Pass</b></em>' literal object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #PASS_VALUE + * @generated + * @ordered + */ + PASS(3, "pass", "pass"); //$NON-NLS-1$ //$NON-NLS-2$ + + /** + * The '<em><b>Error</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>Error</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #ERROR + * @model name="error" + * @generated + * @ordered + */ + public static final int ERROR_VALUE = 0; + + /** + * The '<em><b>Fail</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>Fail</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #FAIL + * @model name="fail" + * @generated + * @ordered + */ + public static final int FAIL_VALUE = 1; + + /** + * The '<em><b>Inconclusive</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>Inconclusive</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #INCONCLUSIVE + * @model name="inconclusive" + * @generated + * @ordered + */ + public static final int INCONCLUSIVE_VALUE = 2; + + /** + * The '<em><b>Pass</b></em>' literal value. + * <!-- begin-user-doc --> + * <p> + * If the meaning of '<em><b>Pass</b></em>' literal object isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @see #PASS + * @model name="pass" + * @generated + * @ordered + */ + public static final int PASS_VALUE = 3; + + /** + * An array of all the '<em><b>Verdict Kind</b></em>' enumerators. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static final VerdictKind[] VALUES_ARRAY = + new VerdictKind[] { + ERROR, + FAIL, + INCONCLUSIVE, + PASS, + }; + + /** + * A public read-only list of all the '<em><b>Verdict Kind</b></em>' enumerators. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final List<VerdictKind> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the '<em><b>Verdict Kind</b></em>' literal with the specified literal value. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param literal the literal. + * @return the matching enumerator or <code>null</code>. + * @generated + */ + public static VerdictKind get(String literal) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + VerdictKind result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) { + return result; + } + } + return null; + } + + /** + * Returns the '<em><b>Verdict Kind</b></em>' literal with the specified name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param name the name. + * @return the matching enumerator or <code>null</code>. + * @generated + */ + public static VerdictKind getByName(String name) { + for (int i = 0; i < VALUES_ARRAY.length; ++i) { + VerdictKind result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) { + return result; + } + } + return null; + } + + /** + * Returns the '<em><b>Verdict Kind</b></em>' literal with the specified integer value. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the integer value. + * @return the matching enumerator or <code>null</code>. + * @generated + */ + public static VerdictKind get(int value) { + switch (value) { + case ERROR_VALUE: return ERROR; + case FAIL_VALUE: return FAIL; + case INCONCLUSIVE_VALUE: return INCONCLUSIVE; + case PASS_VALUE: return PASS; + } + return null; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final int value; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final String name; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private VerdictKind(int value, String name, String literal) { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public int getValue() { + return value; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getLiteral() { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + return literal; + } + +} //VerdictKind
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/Verify.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/Verify.java new file mode 100644 index 0000000..cbed4bc --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/Verify.java
@@ -0,0 +1,41 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.uml2.uml.NamedElement; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Verify</b></em>'. + * <!-- end-user-doc --> + * + * + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#getVerify() + * @model + * @generated + */ +public interface Verify extends Trace { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * Verify.allInstances()->select(base_Abstraction.client=ref).base_Abstraction.supplier + * <!-- end-model-doc --> + * @model ordered="false" refRequired="true" refOrdered="false" + * @generated + */ + EList<AbstractRequirement> getVerifies(NamedElement ref); + +} // Verify
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/AbstractRequirementImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/AbstractRequirementImpl.java new file mode 100644 index 0000000..e126ef2 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/AbstractRequirementImpl.java
@@ -0,0 +1,505 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements.internal.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.sysml.requirements.AbstractRequirement; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; + +import org.eclipse.uml2.uml.NamedElement; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Abstract Requirement</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.requirements.internal.impl.AbstractRequirementImpl#getBase_NamedElement <em>Base Named Element</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.requirements.internal.impl.AbstractRequirementImpl#getDerived <em>Derived</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.requirements.internal.impl.AbstractRequirementImpl#getDerivedFrom <em>Derived From</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.requirements.internal.impl.AbstractRequirementImpl#getId <em>Id</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.requirements.internal.impl.AbstractRequirementImpl#getMaster <em>Master</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.requirements.internal.impl.AbstractRequirementImpl#getRefinedBy <em>Refined By</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.requirements.internal.impl.AbstractRequirementImpl#getSatisfiedBy <em>Satisfied By</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.requirements.internal.impl.AbstractRequirementImpl#getText <em>Text</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.requirements.internal.impl.AbstractRequirementImpl#getTracedTo <em>Traced To</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.requirements.internal.impl.AbstractRequirementImpl#getVerifiedBy <em>Verified By</em>}</li> + * </ul> + * + * @generated + */ +public abstract class AbstractRequirementImpl extends MinimalEObjectImpl.Container implements AbstractRequirement { + /** + * The cached value of the '{@link #getBase_NamedElement() <em>Base Named Element</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_NamedElement() + * @generated + * @ordered + */ + protected NamedElement base_NamedElement; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = ""; //$NON-NLS-1$ + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * The default value of the '{@link #getText() <em>Text</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getText() + * @generated + * @ordered + */ + protected static final String TEXT_EDEFAULT = ""; //$NON-NLS-1$ + + /** + * The cached value of the '{@link #getText() <em>Text</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getText() + * @generated + * @ordered + */ + protected String text = TEXT_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected AbstractRequirementImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RequirementsPackage.Literals.ABSTRACT_REQUIREMENT; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NamedElement getBase_NamedElement() { + if (base_NamedElement != null && base_NamedElement.eIsProxy()) { + InternalEObject oldBase_NamedElement = (InternalEObject)base_NamedElement; + base_NamedElement = (NamedElement)eResolveProxy(oldBase_NamedElement); + if (base_NamedElement != oldBase_NamedElement) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, RequirementsPackage.ABSTRACT_REQUIREMENT__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement)); + } + } + return base_NamedElement; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NamedElement basicGetBase_NamedElement() { + return base_NamedElement; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_NamedElement(NamedElement newBase_NamedElement) { + NamedElement oldBase_NamedElement = base_NamedElement; + base_NamedElement = newBase_NamedElement; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RequirementsPackage.ABSTRACT_REQUIREMENT__BASE_NAMED_ELEMENT, oldBase_NamedElement, base_NamedElement)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<AbstractRequirement> getDerived() { + // TODO: implement this method to return the 'Derived' reference list + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<AbstractRequirement> getDerivedFrom() { + // TODO: implement this method to return the 'Derived From' reference list + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setId(String newId) { + String oldId = id; + id = newId; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RequirementsPackage.ABSTRACT_REQUIREMENT__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<AbstractRequirement> getMaster() { + // TODO: implement this method to return the 'Master' reference list + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<NamedElement> getRefinedBy() { + // TODO: implement this method to return the 'Refined By' reference list + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NamedElement getRefinedBy(String name) { + return getRefinedBy(name, false, null); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NamedElement getRefinedBy(String name, boolean ignoreCase, EClass eClass) { + refinedByLoop: for (NamedElement refinedBy : getRefinedBy()) { + if (eClass != null && !eClass.isInstance(refinedBy)) + continue refinedByLoop; + if (name != null && !(ignoreCase ? name.equalsIgnoreCase(refinedBy.getName()) : name.equals(refinedBy.getName()))) + continue refinedByLoop; + return refinedBy; + } + return null; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<NamedElement> getSatisfiedBy() { + // TODO: implement this method to return the 'Satisfied By' reference list + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NamedElement getSatisfiedBy(String name) { + return getSatisfiedBy(name, false, null); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NamedElement getSatisfiedBy(String name, boolean ignoreCase, EClass eClass) { + satisfiedByLoop: for (NamedElement satisfiedBy : getSatisfiedBy()) { + if (eClass != null && !eClass.isInstance(satisfiedBy)) + continue satisfiedByLoop; + if (name != null && !(ignoreCase ? name.equalsIgnoreCase(satisfiedBy.getName()) : name.equals(satisfiedBy.getName()))) + continue satisfiedByLoop; + return satisfiedBy; + } + return null; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getText() { + return text; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setText(String newText) { + String oldText = text; + text = newText; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RequirementsPackage.ABSTRACT_REQUIREMENT__TEXT, oldText, text)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<NamedElement> getTracedTo() { + // TODO: implement this method to return the 'Traced To' reference list + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NamedElement getTracedTo(String name) { + return getTracedTo(name, false, null); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NamedElement getTracedTo(String name, boolean ignoreCase, EClass eClass) { + tracedToLoop: for (NamedElement tracedTo : getTracedTo()) { + if (eClass != null && !eClass.isInstance(tracedTo)) + continue tracedToLoop; + if (name != null && !(ignoreCase ? name.equalsIgnoreCase(tracedTo.getName()) : name.equals(tracedTo.getName()))) + continue tracedToLoop; + return tracedTo; + } + return null; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<NamedElement> getVerifiedBy() { + // TODO: implement this method to return the 'Verified By' reference list + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NamedElement getVerifiedBy(String name) { + return getVerifiedBy(name, false, null); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NamedElement getVerifiedBy(String name, boolean ignoreCase, EClass eClass) { + verifiedByLoop: for (NamedElement verifiedBy : getVerifiedBy()) { + if (eClass != null && !eClass.isInstance(verifiedBy)) + continue verifiedByLoop; + if (name != null && !(ignoreCase ? name.equalsIgnoreCase(verifiedBy.getName()) : name.equals(verifiedBy.getName()))) + continue verifiedByLoop; + return verifiedBy; + } + return null; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case RequirementsPackage.ABSTRACT_REQUIREMENT__BASE_NAMED_ELEMENT: + if (resolve) return getBase_NamedElement(); + return basicGetBase_NamedElement(); + case RequirementsPackage.ABSTRACT_REQUIREMENT__DERIVED: + return getDerived(); + case RequirementsPackage.ABSTRACT_REQUIREMENT__DERIVED_FROM: + return getDerivedFrom(); + case RequirementsPackage.ABSTRACT_REQUIREMENT__ID: + return getId(); + case RequirementsPackage.ABSTRACT_REQUIREMENT__MASTER: + return getMaster(); + case RequirementsPackage.ABSTRACT_REQUIREMENT__REFINED_BY: + return getRefinedBy(); + case RequirementsPackage.ABSTRACT_REQUIREMENT__SATISFIED_BY: + return getSatisfiedBy(); + case RequirementsPackage.ABSTRACT_REQUIREMENT__TEXT: + return getText(); + case RequirementsPackage.ABSTRACT_REQUIREMENT__TRACED_TO: + return getTracedTo(); + case RequirementsPackage.ABSTRACT_REQUIREMENT__VERIFIED_BY: + return getVerifiedBy(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case RequirementsPackage.ABSTRACT_REQUIREMENT__BASE_NAMED_ELEMENT: + setBase_NamedElement((NamedElement)newValue); + return; + case RequirementsPackage.ABSTRACT_REQUIREMENT__ID: + setId((String)newValue); + return; + case RequirementsPackage.ABSTRACT_REQUIREMENT__TEXT: + setText((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case RequirementsPackage.ABSTRACT_REQUIREMENT__BASE_NAMED_ELEMENT: + setBase_NamedElement((NamedElement)null); + return; + case RequirementsPackage.ABSTRACT_REQUIREMENT__ID: + setId(ID_EDEFAULT); + return; + case RequirementsPackage.ABSTRACT_REQUIREMENT__TEXT: + setText(TEXT_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case RequirementsPackage.ABSTRACT_REQUIREMENT__BASE_NAMED_ELEMENT: + return base_NamedElement != null; + case RequirementsPackage.ABSTRACT_REQUIREMENT__DERIVED: + return !getDerived().isEmpty(); + case RequirementsPackage.ABSTRACT_REQUIREMENT__DERIVED_FROM: + return !getDerivedFrom().isEmpty(); + case RequirementsPackage.ABSTRACT_REQUIREMENT__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + case RequirementsPackage.ABSTRACT_REQUIREMENT__MASTER: + return !getMaster().isEmpty(); + case RequirementsPackage.ABSTRACT_REQUIREMENT__REFINED_BY: + return !getRefinedBy().isEmpty(); + case RequirementsPackage.ABSTRACT_REQUIREMENT__SATISFIED_BY: + return !getSatisfiedBy().isEmpty(); + case RequirementsPackage.ABSTRACT_REQUIREMENT__TEXT: + return TEXT_EDEFAULT == null ? text != null : !TEXT_EDEFAULT.equals(text); + case RequirementsPackage.ABSTRACT_REQUIREMENT__TRACED_TO: + return !getTracedTo().isEmpty(); + case RequirementsPackage.ABSTRACT_REQUIREMENT__VERIFIED_BY: + return !getVerifiedBy().isEmpty(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (id: "); //$NON-NLS-1$ + result.append(id); + result.append(", text: "); //$NON-NLS-1$ + result.append(text); + result.append(')'); + return result.toString(); + } + +} //AbstractRequirementImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/CopyImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/CopyImpl.java new file mode 100644 index 0000000..dbd0db7 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/CopyImpl.java
@@ -0,0 +1,47 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements.internal.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.papyrus.sysml.requirements.Copy; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Copy</b></em>'. + * <!-- end-user-doc --> + * + * @generated + */ +public class CopyImpl extends TraceImpl implements Copy { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected CopyImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RequirementsPackage.Literals.COPY; + } + +} //CopyImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/DeriveReqtImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/DeriveReqtImpl.java new file mode 100644 index 0000000..bffb636 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/DeriveReqtImpl.java
@@ -0,0 +1,47 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements.internal.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.papyrus.sysml.requirements.DeriveReqt; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Derive Reqt</b></em>'. + * <!-- end-user-doc --> + * + * @generated + */ +public class DeriveReqtImpl extends TraceImpl implements DeriveReqt { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DeriveReqtImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RequirementsPackage.Literals.DERIVE_REQT; + } + +} //DeriveReqtImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/RefineImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/RefineImpl.java new file mode 100644 index 0000000..b6a257f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/RefineImpl.java
@@ -0,0 +1,200 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements.internal.impl; + +import java.lang.reflect.InvocationTargetException; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.papyrus.sysml.blocks.internal.impl.DirectedRelationshipPropertyPathImpl; + +import org.eclipse.papyrus.sysml.requirements.AbstractRequirement; +import org.eclipse.papyrus.sysml.requirements.Refine; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; + +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.NamedElement; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Refine</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.requirements.internal.impl.RefineImpl#getBase_Abstraction <em>Base Abstraction</em>}</li> + * </ul> + * + * @generated + */ +public class RefineImpl extends DirectedRelationshipPropertyPathImpl implements Refine { + /** + * The cached value of the '{@link #getBase_Abstraction() <em>Base Abstraction</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Abstraction() + * @generated + * @ordered + */ + protected Abstraction base_Abstraction; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RefineImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RequirementsPackage.Literals.REFINE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Abstraction getBase_Abstraction() { + if (base_Abstraction != null && base_Abstraction.eIsProxy()) { + InternalEObject oldBase_Abstraction = (InternalEObject)base_Abstraction; + base_Abstraction = (Abstraction)eResolveProxy(oldBase_Abstraction); + if (base_Abstraction != oldBase_Abstraction) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, RequirementsPackage.REFINE__BASE_ABSTRACTION, oldBase_Abstraction, base_Abstraction)); + } + } + return base_Abstraction; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Abstraction basicGetBase_Abstraction() { + return base_Abstraction; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Abstraction(Abstraction newBase_Abstraction) { + Abstraction oldBase_Abstraction = base_Abstraction; + base_Abstraction = newBase_Abstraction; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RequirementsPackage.REFINE__BASE_ABSTRACTION, oldBase_Abstraction, base_Abstraction)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<AbstractRequirement> getRefines(NamedElement ref) { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case RequirementsPackage.REFINE__BASE_ABSTRACTION: + if (resolve) return getBase_Abstraction(); + return basicGetBase_Abstraction(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case RequirementsPackage.REFINE__BASE_ABSTRACTION: + setBase_Abstraction((Abstraction)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case RequirementsPackage.REFINE__BASE_ABSTRACTION: + setBase_Abstraction((Abstraction)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case RequirementsPackage.REFINE__BASE_ABSTRACTION: + return base_Abstraction != null; + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case RequirementsPackage.REFINE___GET_REFINES__NAMEDELEMENT: + return getRefines((NamedElement)arguments.get(0)); + } + return super.eInvoke(operationID, arguments); + } + +} //RefineImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementImpl.java new file mode 100644 index 0000000..fbc5d4d --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementImpl.java
@@ -0,0 +1,165 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements.internal.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.papyrus.sysml.requirements.Requirement; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Requirement</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementImpl#getBase_Class <em>Base Class</em>}</li> + * </ul> + * + * @generated + */ +public class RequirementImpl extends AbstractRequirementImpl implements Requirement { + /** + * The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Class() + * @generated + * @ordered + */ + protected org.eclipse.uml2.uml.Class base_Class; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RequirementImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RequirementsPackage.Literals.REQUIREMENT; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public org.eclipse.uml2.uml.Class getBase_Class() { + if (base_Class != null && base_Class.eIsProxy()) { + InternalEObject oldBase_Class = (InternalEObject)base_Class; + base_Class = (org.eclipse.uml2.uml.Class)eResolveProxy(oldBase_Class); + if (base_Class != oldBase_Class) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, RequirementsPackage.REQUIREMENT__BASE_CLASS, oldBase_Class, base_Class)); + } + } + return base_Class; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public org.eclipse.uml2.uml.Class basicGetBase_Class() { + return base_Class; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Class(org.eclipse.uml2.uml.Class newBase_Class) { + org.eclipse.uml2.uml.Class oldBase_Class = base_Class; + base_Class = newBase_Class; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RequirementsPackage.REQUIREMENT__BASE_CLASS, oldBase_Class, base_Class)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case RequirementsPackage.REQUIREMENT__BASE_CLASS: + if (resolve) return getBase_Class(); + return basicGetBase_Class(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case RequirementsPackage.REQUIREMENT__BASE_CLASS: + setBase_Class((org.eclipse.uml2.uml.Class)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case RequirementsPackage.REQUIREMENT__BASE_CLASS: + setBase_Class((org.eclipse.uml2.uml.Class)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case RequirementsPackage.REQUIREMENT__BASE_CLASS: + return base_Class != null; + } + return super.eIsSet(featureID); + } + +} //RequirementImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementsFactoryImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementsFactoryImpl.java new file mode 100644 index 0000000..b5c5bfb --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementsFactoryImpl.java
@@ -0,0 +1,233 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements.internal.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; + +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import org.eclipse.papyrus.sysml.requirements.*; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Factory</b>. + * <!-- end-user-doc --> + * @generated + */ +public class RequirementsFactoryImpl extends EFactoryImpl implements RequirementsFactory { + /** + * Creates the default factory implementation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static RequirementsFactory init() { + try { + RequirementsFactory theRequirementsFactory = (RequirementsFactory)EPackage.Registry.INSTANCE.getEFactory(RequirementsPackage.eNS_URI); + if (theRequirementsFactory != null) { + return theRequirementsFactory; + } + } + catch (Exception exception) { + EcorePlugin.INSTANCE.log(exception); + } + return new RequirementsFactoryImpl(); + } + + /** + * Creates an instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RequirementsFactoryImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case RequirementsPackage.COPY: return createCopy(); + case RequirementsPackage.TRACE: return createTrace(); + case RequirementsPackage.DERIVE_REQT: return createDeriveReqt(); + case RequirementsPackage.VERIFY: return createVerify(); + case RequirementsPackage.REFINE: return createRefine(); + case RequirementsPackage.SATISFY: return createSatisfy(); + case RequirementsPackage.TEST_CASE: return createTestCase(); + case RequirementsPackage.REQUIREMENT: return createRequirement(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object createFromString(EDataType eDataType, String initialValue) { + switch (eDataType.getClassifierID()) { + case RequirementsPackage.VERDICT_KIND: + return createVerdictKindFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String convertToString(EDataType eDataType, Object instanceValue) { + switch (eDataType.getClassifierID()) { + case RequirementsPackage.VERDICT_KIND: + return convertVerdictKindToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Copy createCopy() { + CopyImpl copy = new CopyImpl(); + return copy; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Trace createTrace() { + TraceImpl trace = new TraceImpl(); + return trace; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DeriveReqt createDeriveReqt() { + DeriveReqtImpl deriveReqt = new DeriveReqtImpl(); + return deriveReqt; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Verify createVerify() { + VerifyImpl verify = new VerifyImpl(); + return verify; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Refine createRefine() { + RefineImpl refine = new RefineImpl(); + return refine; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Satisfy createSatisfy() { + SatisfyImpl satisfy = new SatisfyImpl(); + return satisfy; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public TestCase createTestCase() { + TestCaseImpl testCase = new TestCaseImpl(); + return testCase; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Requirement createRequirement() { + RequirementImpl requirement = new RequirementImpl(); + return requirement; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public VerdictKind createVerdictKindFromString(EDataType eDataType, String initialValue) { + VerdictKind result = VerdictKind.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + return result; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String convertVerdictKindToString(EDataType eDataType, Object instanceValue) { + return instanceValue == null ? null : instanceValue.toString(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RequirementsPackage getRequirementsPackage() { + return (RequirementsPackage)getEPackage(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @deprecated + * @generated + */ + @Deprecated + public static RequirementsPackage getPackage() { + return RequirementsPackage.eINSTANCE; + } + +} //RequirementsFactoryImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementsPackageImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementsPackageImpl.java new file mode 100644 index 0000000..8aa4143 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/RequirementsPackageImpl.java
@@ -0,0 +1,684 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements.internal.impl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EOperation; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.EcorePackage; + +import org.eclipse.emf.ecore.impl.EPackageImpl; +import org.eclipse.papyrus.sysml.SysMLPackage; +import org.eclipse.papyrus.sysml.activities.ActivitiesPackage; + +import org.eclipse.papyrus.sysml.activities.internal.impl.ActivitiesPackageImpl; + +import org.eclipse.papyrus.sysml.allocations.AllocationsPackage; + +import org.eclipse.papyrus.sysml.allocations.internal.impl.AllocationsPackageImpl; + +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; + +import org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksPackageImpl; + +import org.eclipse.papyrus.sysml.constraintblocks.ConstraintblocksPackage; + +import org.eclipse.papyrus.sysml.constraintblocks.internal.impl.ConstraintblocksPackageImpl; + +import org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsPackage; + +import org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.DeprecatedelementsPackageImpl; +import org.eclipse.papyrus.sysml.internal.impl.SysMLPackageImpl; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; + +import org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsPackageImpl; + +import org.eclipse.papyrus.sysml.portsandflows.PortsandflowsPackage; + +import org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsPackageImpl; + +import org.eclipse.papyrus.sysml.requirements.AbstractRequirement; +import org.eclipse.papyrus.sysml.requirements.Copy; +import org.eclipse.papyrus.sysml.requirements.DeriveReqt; +import org.eclipse.papyrus.sysml.requirements.Refine; +import org.eclipse.papyrus.sysml.requirements.Requirement; +import org.eclipse.papyrus.sysml.requirements.RequirementsFactory; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.requirements.Satisfy; +import org.eclipse.papyrus.sysml.requirements.TestCase; +import org.eclipse.papyrus.sysml.requirements.Trace; +import org.eclipse.papyrus.sysml.requirements.VerdictKind; +import org.eclipse.papyrus.sysml.requirements.Verify; + +import org.eclipse.uml2.types.TypesPackage; + +import org.eclipse.uml2.uml.UMLPackage; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Package</b>. + * <!-- end-user-doc --> + * @generated + */ +public class RequirementsPackageImpl extends EPackageImpl implements RequirementsPackage { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass copyEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass traceEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass abstractRequirementEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass deriveReqtEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass verifyEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass refineEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass satisfyEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass testCaseEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass requirementEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EEnum verdictKindEEnum = null; + + /** + * Creates an instance of the model <b>Package</b>, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + * <p>Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage#eNS_URI + * @see #init() + * @generated + */ + private RequirementsPackageImpl() { + super(eNS_URI, RequirementsFactory.eINSTANCE); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. + * + * <p>This method is used to initialize {@link RequirementsPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static RequirementsPackage init() { + if (isInited) return (RequirementsPackage)EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI); + + // Obtain or create and register package + RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new RequirementsPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + EcorePackage.eINSTANCE.eClass(); + TypesPackage.eINSTANCE.eClass(); + UMLPackage.eINSTANCE.eClass(); + + // Obtain or create and register interdependencies + SysMLPackageImpl theSysMLPackage = (SysMLPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SysMLPackage.eNS_URI) instanceof SysMLPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SysMLPackage.eNS_URI) : SysMLPackage.eINSTANCE); + PortsandflowsPackageImpl thePortsandflowsPackage = (PortsandflowsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) instanceof PortsandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) : PortsandflowsPackage.eINSTANCE); + BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE); + ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) : ActivitiesPackage.eINSTANCE); + AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) : AllocationsPackage.eINSTANCE); + ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE); + DeprecatedelementsPackageImpl theDeprecatedelementsPackage = (DeprecatedelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) instanceof DeprecatedelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) : DeprecatedelementsPackage.eINSTANCE); + ConstraintblocksPackageImpl theConstraintblocksPackage = (ConstraintblocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) instanceof ConstraintblocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) : ConstraintblocksPackage.eINSTANCE); + + // Create package meta-data objects + theRequirementsPackage.createPackageContents(); + theSysMLPackage.createPackageContents(); + thePortsandflowsPackage.createPackageContents(); + theBlocksPackage.createPackageContents(); + theActivitiesPackage.createPackageContents(); + theAllocationsPackage.createPackageContents(); + theModelelementsPackage.createPackageContents(); + theDeprecatedelementsPackage.createPackageContents(); + theConstraintblocksPackage.createPackageContents(); + + // Initialize created meta-data + theRequirementsPackage.initializePackageContents(); + theSysMLPackage.initializePackageContents(); + thePortsandflowsPackage.initializePackageContents(); + theBlocksPackage.initializePackageContents(); + theActivitiesPackage.initializePackageContents(); + theAllocationsPackage.initializePackageContents(); + theModelelementsPackage.initializePackageContents(); + theDeprecatedelementsPackage.initializePackageContents(); + theConstraintblocksPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theRequirementsPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(RequirementsPackage.eNS_URI, theRequirementsPackage); + return theRequirementsPackage; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getCopy() { + return copyEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getTrace() { + return traceEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getTrace_Base_Abstraction() { + return (EReference)traceEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getTrace__GetTracedFrom__NamedElement() { + return traceEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getAbstractRequirement() { + return abstractRequirementEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAbstractRequirement_Base_NamedElement() { + return (EReference)abstractRequirementEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAbstractRequirement_Derived() { + return (EReference)abstractRequirementEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAbstractRequirement_DerivedFrom() { + return (EReference)abstractRequirementEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getAbstractRequirement_Id() { + return (EAttribute)abstractRequirementEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAbstractRequirement_Master() { + return (EReference)abstractRequirementEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAbstractRequirement_RefinedBy() { + return (EReference)abstractRequirementEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAbstractRequirement_SatisfiedBy() { + return (EReference)abstractRequirementEClass.getEStructuralFeatures().get(6); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getAbstractRequirement_Text() { + return (EAttribute)abstractRequirementEClass.getEStructuralFeatures().get(7); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAbstractRequirement_TracedTo() { + return (EReference)abstractRequirementEClass.getEStructuralFeatures().get(8); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAbstractRequirement_VerifiedBy() { + return (EReference)abstractRequirementEClass.getEStructuralFeatures().get(9); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getDeriveReqt() { + return deriveReqtEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getVerify() { + return verifyEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getVerify__GetVerifies__NamedElement() { + return verifyEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getRefine() { + return refineEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRefine_Base_Abstraction() { + return (EReference)refineEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getRefine__GetRefines__NamedElement() { + return refineEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getSatisfy() { + return satisfyEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EOperation getSatisfy__GetSatisfies__NamedElement() { + return satisfyEClass.getEOperations().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getTestCase() { + return testCaseEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getTestCase_Base_Behavior() { + return (EReference)testCaseEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getTestCase_Base_Operation() { + return (EReference)testCaseEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getRequirement() { + return requirementEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRequirement_Base_Class() { + return (EReference)requirementEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EEnum getVerdictKind() { + return verdictKindEEnum; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RequirementsFactory getRequirementsFactory() { + return (RequirementsFactory)getEFactoryInstance(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + copyEClass = createEClass(COPY); + + traceEClass = createEClass(TRACE); + createEReference(traceEClass, TRACE__BASE_ABSTRACTION); + createEOperation(traceEClass, TRACE___GET_TRACED_FROM__NAMEDELEMENT); + + abstractRequirementEClass = createEClass(ABSTRACT_REQUIREMENT); + createEReference(abstractRequirementEClass, ABSTRACT_REQUIREMENT__BASE_NAMED_ELEMENT); + createEReference(abstractRequirementEClass, ABSTRACT_REQUIREMENT__DERIVED); + createEReference(abstractRequirementEClass, ABSTRACT_REQUIREMENT__DERIVED_FROM); + createEAttribute(abstractRequirementEClass, ABSTRACT_REQUIREMENT__ID); + createEReference(abstractRequirementEClass, ABSTRACT_REQUIREMENT__MASTER); + createEReference(abstractRequirementEClass, ABSTRACT_REQUIREMENT__REFINED_BY); + createEReference(abstractRequirementEClass, ABSTRACT_REQUIREMENT__SATISFIED_BY); + createEAttribute(abstractRequirementEClass, ABSTRACT_REQUIREMENT__TEXT); + createEReference(abstractRequirementEClass, ABSTRACT_REQUIREMENT__TRACED_TO); + createEReference(abstractRequirementEClass, ABSTRACT_REQUIREMENT__VERIFIED_BY); + + deriveReqtEClass = createEClass(DERIVE_REQT); + + verifyEClass = createEClass(VERIFY); + createEOperation(verifyEClass, VERIFY___GET_VERIFIES__NAMEDELEMENT); + + refineEClass = createEClass(REFINE); + createEReference(refineEClass, REFINE__BASE_ABSTRACTION); + createEOperation(refineEClass, REFINE___GET_REFINES__NAMEDELEMENT); + + satisfyEClass = createEClass(SATISFY); + createEOperation(satisfyEClass, SATISFY___GET_SATISFIES__NAMEDELEMENT); + + testCaseEClass = createEClass(TEST_CASE); + createEReference(testCaseEClass, TEST_CASE__BASE_BEHAVIOR); + createEReference(testCaseEClass, TEST_CASE__BASE_OPERATION); + + requirementEClass = createEClass(REQUIREMENT); + createEReference(requirementEClass, REQUIREMENT__BASE_CLASS); + + // Create enums + verdictKindEEnum = createEEnum(VERDICT_KIND); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + BlocksPackage theBlocksPackage = (BlocksPackage)EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI); + UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); + TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + copyEClass.getESuperTypes().add(this.getTrace()); + traceEClass.getESuperTypes().add(theBlocksPackage.getDirectedRelationshipPropertyPath()); + deriveReqtEClass.getESuperTypes().add(this.getTrace()); + verifyEClass.getESuperTypes().add(this.getTrace()); + refineEClass.getESuperTypes().add(theBlocksPackage.getDirectedRelationshipPropertyPath()); + satisfyEClass.getESuperTypes().add(this.getTrace()); + requirementEClass.getESuperTypes().add(this.getAbstractRequirement()); + + // Initialize classes, features, and operations; add parameters + initEClass(copyEClass, Copy.class, "Copy", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + + initEClass(traceEClass, Trace.class, "Trace", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getTrace_Base_Abstraction(), theUMLPackage.getAbstraction(), null, "base_Abstraction", null, 0, 1, Trace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + EOperation op = initEOperation(getTrace__GetTracedFrom__NamedElement(), this.getAbstractRequirement(), "getTracedFrom", 0, -1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ + addEParameter(op, theUMLPackage.getNamedElement(), "ref", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(abstractRequirementEClass, AbstractRequirement.class, "AbstractRequirement", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getAbstractRequirement_Base_NamedElement(), theUMLPackage.getNamedElement(), null, "base_NamedElement", null, 1, 1, AbstractRequirement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getAbstractRequirement_Derived(), this.getAbstractRequirement(), null, "derived", null, 0, -1, AbstractRequirement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getAbstractRequirement_DerivedFrom(), this.getAbstractRequirement(), null, "derivedFrom", null, 0, -1, AbstractRequirement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getAbstractRequirement_Id(), theTypesPackage.getString(), "id", "", 1, 1, AbstractRequirement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ + initEReference(getAbstractRequirement_Master(), this.getAbstractRequirement(), null, "master", null, 0, -1, AbstractRequirement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getAbstractRequirement_RefinedBy(), theUMLPackage.getNamedElement(), null, "refinedBy", null, 0, -1, AbstractRequirement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getAbstractRequirement_SatisfiedBy(), theUMLPackage.getNamedElement(), null, "satisfiedBy", null, 0, -1, AbstractRequirement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEAttribute(getAbstractRequirement_Text(), theTypesPackage.getString(), "text", "", 1, 1, AbstractRequirement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ + initEReference(getAbstractRequirement_TracedTo(), theUMLPackage.getNamedElement(), null, "tracedTo", null, 0, -1, AbstractRequirement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getAbstractRequirement_VerifiedBy(), theUMLPackage.getNamedElement(), null, "verifiedBy", null, 0, -1, AbstractRequirement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(deriveReqtEClass, DeriveReqt.class, "DeriveReqt", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + + initEClass(verifyEClass, Verify.class, "Verify", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + + op = initEOperation(getVerify__GetVerifies__NamedElement(), this.getAbstractRequirement(), "getVerifies", 0, -1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ + addEParameter(op, theUMLPackage.getNamedElement(), "ref", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(refineEClass, Refine.class, "Refine", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getRefine_Base_Abstraction(), theUMLPackage.getAbstraction(), null, "base_Abstraction", null, 0, 1, Refine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + op = initEOperation(getRefine__GetRefines__NamedElement(), this.getAbstractRequirement(), "getRefines", 0, -1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ + addEParameter(op, theUMLPackage.getNamedElement(), "ref", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(satisfyEClass, Satisfy.class, "Satisfy", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + + op = initEOperation(getSatisfy__GetSatisfies__NamedElement(), this.getAbstractRequirement(), "getSatisfies", 0, -1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ + addEParameter(op, theUMLPackage.getNamedElement(), "ref", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(testCaseEClass, TestCase.class, "TestCase", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getTestCase_Base_Behavior(), theUMLPackage.getBehavior(), null, "base_Behavior", null, 0, 1, TestCase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + initEReference(getTestCase_Base_Operation(), theUMLPackage.getOperation(), null, "base_Operation", null, 0, 1, TestCase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + initEClass(requirementEClass, Requirement.class, "Requirement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ + initEReference(getRequirement_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 1, 1, Requirement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ + + // Initialize enums and add enum literals + initEEnum(verdictKindEEnum, VerdictKind.class, "VerdictKind"); //$NON-NLS-1$ + addEEnumLiteral(verdictKindEEnum, VerdictKind.ERROR); + addEEnumLiteral(verdictKindEEnum, VerdictKind.FAIL); + addEEnumLiteral(verdictKindEEnum, VerdictKind.INCONCLUSIVE); + addEEnumLiteral(verdictKindEEnum, VerdictKind.PASS); + + // Create annotations + // http://www.eclipse.org/uml2/2.0.0/UML + createUMLAnnotations(); + } + + /** + * Initializes the annotations for <b>http://www.eclipse.org/uml2/2.0.0/UML</b>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void createUMLAnnotations() { + String source = "http://www.eclipse.org/uml2/2.0.0/UML"; //$NON-NLS-1$ + addAnnotation + (this, + source, + new String[] { + "originalName", "Requirements" //$NON-NLS-1$ //$NON-NLS-2$ + }); + } + +} //RequirementsPackageImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/SatisfyImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/SatisfyImpl.java new file mode 100644 index 0000000..d6c8ff4 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/SatisfyImpl.java
@@ -0,0 +1,79 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements.internal.impl; + +import java.lang.reflect.InvocationTargetException; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.papyrus.sysml.requirements.AbstractRequirement; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.requirements.Satisfy; + +import org.eclipse.uml2.uml.NamedElement; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Satisfy</b></em>'. + * <!-- end-user-doc --> + * + * @generated + */ +public class SatisfyImpl extends TraceImpl implements Satisfy { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected SatisfyImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RequirementsPackage.Literals.SATISFY; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<AbstractRequirement> getSatisfies(NamedElement ref) { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case RequirementsPackage.SATISFY___GET_SATISFIES__NAMEDELEMENT: + return getSatisfies((NamedElement)arguments.get(0)); + } + return super.eInvoke(operationID, arguments); + } + +} //SatisfyImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/TestCaseImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/TestCaseImpl.java new file mode 100644 index 0000000..cb6356c --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/TestCaseImpl.java
@@ -0,0 +1,229 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements.internal.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.requirements.TestCase; + +import org.eclipse.uml2.uml.Behavior; +import org.eclipse.uml2.uml.Operation; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Test Case</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.requirements.internal.impl.TestCaseImpl#getBase_Behavior <em>Base Behavior</em>}</li> + * <li>{@link org.eclipse.papyrus.sysml.requirements.internal.impl.TestCaseImpl#getBase_Operation <em>Base Operation</em>}</li> + * </ul> + * + * @generated + */ +public class TestCaseImpl extends MinimalEObjectImpl.Container implements TestCase { + /** + * The cached value of the '{@link #getBase_Behavior() <em>Base Behavior</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Behavior() + * @generated + * @ordered + */ + protected Behavior base_Behavior; + + /** + * The cached value of the '{@link #getBase_Operation() <em>Base Operation</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Operation() + * @generated + * @ordered + */ + protected Operation base_Operation; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected TestCaseImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RequirementsPackage.Literals.TEST_CASE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Behavior getBase_Behavior() { + if (base_Behavior != null && base_Behavior.eIsProxy()) { + InternalEObject oldBase_Behavior = (InternalEObject)base_Behavior; + base_Behavior = (Behavior)eResolveProxy(oldBase_Behavior); + if (base_Behavior != oldBase_Behavior) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, RequirementsPackage.TEST_CASE__BASE_BEHAVIOR, oldBase_Behavior, base_Behavior)); + } + } + return base_Behavior; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Behavior basicGetBase_Behavior() { + return base_Behavior; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Behavior(Behavior newBase_Behavior) { + Behavior oldBase_Behavior = base_Behavior; + base_Behavior = newBase_Behavior; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RequirementsPackage.TEST_CASE__BASE_BEHAVIOR, oldBase_Behavior, base_Behavior)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Operation getBase_Operation() { + if (base_Operation != null && base_Operation.eIsProxy()) { + InternalEObject oldBase_Operation = (InternalEObject)base_Operation; + base_Operation = (Operation)eResolveProxy(oldBase_Operation); + if (base_Operation != oldBase_Operation) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, RequirementsPackage.TEST_CASE__BASE_OPERATION, oldBase_Operation, base_Operation)); + } + } + return base_Operation; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Operation basicGetBase_Operation() { + return base_Operation; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Operation(Operation newBase_Operation) { + Operation oldBase_Operation = base_Operation; + base_Operation = newBase_Operation; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RequirementsPackage.TEST_CASE__BASE_OPERATION, oldBase_Operation, base_Operation)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case RequirementsPackage.TEST_CASE__BASE_BEHAVIOR: + if (resolve) return getBase_Behavior(); + return basicGetBase_Behavior(); + case RequirementsPackage.TEST_CASE__BASE_OPERATION: + if (resolve) return getBase_Operation(); + return basicGetBase_Operation(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case RequirementsPackage.TEST_CASE__BASE_BEHAVIOR: + setBase_Behavior((Behavior)newValue); + return; + case RequirementsPackage.TEST_CASE__BASE_OPERATION: + setBase_Operation((Operation)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case RequirementsPackage.TEST_CASE__BASE_BEHAVIOR: + setBase_Behavior((Behavior)null); + return; + case RequirementsPackage.TEST_CASE__BASE_OPERATION: + setBase_Operation((Operation)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case RequirementsPackage.TEST_CASE__BASE_BEHAVIOR: + return base_Behavior != null; + case RequirementsPackage.TEST_CASE__BASE_OPERATION: + return base_Operation != null; + } + return super.eIsSet(featureID); + } + +} //TestCaseImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/TraceImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/TraceImpl.java new file mode 100644 index 0000000..a65d234 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/TraceImpl.java
@@ -0,0 +1,200 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements.internal.impl; + +import java.lang.reflect.InvocationTargetException; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.papyrus.sysml.blocks.internal.impl.DirectedRelationshipPropertyPathImpl; + +import org.eclipse.papyrus.sysml.requirements.AbstractRequirement; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.requirements.Trace; + +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.NamedElement; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Trace</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.sysml.requirements.internal.impl.TraceImpl#getBase_Abstraction <em>Base Abstraction</em>}</li> + * </ul> + * + * @generated + */ +public class TraceImpl extends DirectedRelationshipPropertyPathImpl implements Trace { + /** + * The cached value of the '{@link #getBase_Abstraction() <em>Base Abstraction</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getBase_Abstraction() + * @generated + * @ordered + */ + protected Abstraction base_Abstraction; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected TraceImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RequirementsPackage.Literals.TRACE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Abstraction getBase_Abstraction() { + if (base_Abstraction != null && base_Abstraction.eIsProxy()) { + InternalEObject oldBase_Abstraction = (InternalEObject)base_Abstraction; + base_Abstraction = (Abstraction)eResolveProxy(oldBase_Abstraction); + if (base_Abstraction != oldBase_Abstraction) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, RequirementsPackage.TRACE__BASE_ABSTRACTION, oldBase_Abstraction, base_Abstraction)); + } + } + return base_Abstraction; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Abstraction basicGetBase_Abstraction() { + return base_Abstraction; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setBase_Abstraction(Abstraction newBase_Abstraction) { + Abstraction oldBase_Abstraction = base_Abstraction; + base_Abstraction = newBase_Abstraction; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, RequirementsPackage.TRACE__BASE_ABSTRACTION, oldBase_Abstraction, base_Abstraction)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<AbstractRequirement> getTracedFrom(NamedElement ref) { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case RequirementsPackage.TRACE__BASE_ABSTRACTION: + if (resolve) return getBase_Abstraction(); + return basicGetBase_Abstraction(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case RequirementsPackage.TRACE__BASE_ABSTRACTION: + setBase_Abstraction((Abstraction)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case RequirementsPackage.TRACE__BASE_ABSTRACTION: + setBase_Abstraction((Abstraction)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case RequirementsPackage.TRACE__BASE_ABSTRACTION: + return base_Abstraction != null; + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case RequirementsPackage.TRACE___GET_TRACED_FROM__NAMEDELEMENT: + return getTracedFrom((NamedElement)arguments.get(0)); + } + return super.eInvoke(operationID, arguments); + } + +} //TraceImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/VerifyImpl.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/VerifyImpl.java new file mode 100644 index 0000000..e400ebd --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/internal/impl/VerifyImpl.java
@@ -0,0 +1,79 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements.internal.impl; + +import java.lang.reflect.InvocationTargetException; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.papyrus.sysml.requirements.AbstractRequirement; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.requirements.Verify; + +import org.eclipse.uml2.uml.NamedElement; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Verify</b></em>'. + * <!-- end-user-doc --> + * + * @generated + */ +public class VerifyImpl extends TraceImpl implements Verify { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected VerifyImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return RequirementsPackage.Literals.VERIFY; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<AbstractRequirement> getVerifies(NamedElement ref) { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { + switch (operationID) { + case RequirementsPackage.VERIFY___GET_VERIFIES__NAMEDELEMENT: + return getVerifies((NamedElement)arguments.get(0)); + } + return super.eInvoke(operationID, arguments); + } + +} //VerifyImpl
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/util/RequirementsAdapterFactory.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/util/RequirementsAdapterFactory.java new file mode 100644 index 0000000..3764704 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/util/RequirementsAdapterFactory.java
@@ -0,0 +1,294 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements.util; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath; + +import org.eclipse.papyrus.sysml.requirements.*; + +/** + * <!-- begin-user-doc --> + * The <b>Adapter Factory</b> for the model. + * It provides an adapter <code>createXXX</code> method for each class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage + * @generated + */ +public class RequirementsAdapterFactory extends AdapterFactoryImpl { + /** + * The cached model package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static RequirementsPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RequirementsAdapterFactory() { + if (modelPackage == null) { + modelPackage = RequirementsPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * <!-- begin-user-doc --> + * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. + * <!-- end-user-doc --> + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the <code>createXXX</code> methods. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RequirementsSwitch<Adapter> modelSwitch = + new RequirementsSwitch<Adapter>() { + @Override + public Adapter caseCopy(Copy object) { + return createCopyAdapter(); + } + @Override + public Adapter caseTrace(Trace object) { + return createTraceAdapter(); + } + @Override + public Adapter caseAbstractRequirement(AbstractRequirement object) { + return createAbstractRequirementAdapter(); + } + @Override + public Adapter caseDeriveReqt(DeriveReqt object) { + return createDeriveReqtAdapter(); + } + @Override + public Adapter caseVerify(Verify object) { + return createVerifyAdapter(); + } + @Override + public Adapter caseRefine(Refine object) { + return createRefineAdapter(); + } + @Override + public Adapter caseSatisfy(Satisfy object) { + return createSatisfyAdapter(); + } + @Override + public Adapter caseTestCase(TestCase object) { + return createTestCaseAdapter(); + } + @Override + public Adapter caseRequirement(Requirement object) { + return createRequirementAdapter(); + } + @Override + public Adapter caseDirectedRelationshipPropertyPath(DirectedRelationshipPropertyPath object) { + return createDirectedRelationshipPropertyPathAdapter(); + } + @Override + public Adapter defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the <code>target</code>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param target the object to adapt. + * @return the adapter for the <code>target</code>. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) { + return modelSwitch.doSwitch((EObject)target); + } + + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.requirements.Copy <em>Copy</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.requirements.Copy + * @generated + */ + public Adapter createCopyAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.requirements.Trace <em>Trace</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.requirements.Trace + * @generated + */ + public Adapter createTraceAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.requirements.AbstractRequirement <em>Abstract Requirement</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.requirements.AbstractRequirement + * @generated + */ + public Adapter createAbstractRequirementAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.requirements.DeriveReqt <em>Derive Reqt</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.requirements.DeriveReqt + * @generated + */ + public Adapter createDeriveReqtAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.requirements.Verify <em>Verify</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.requirements.Verify + * @generated + */ + public Adapter createVerifyAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.requirements.Refine <em>Refine</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.requirements.Refine + * @generated + */ + public Adapter createRefineAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.requirements.Satisfy <em>Satisfy</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.requirements.Satisfy + * @generated + */ + public Adapter createSatisfyAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.requirements.TestCase <em>Test Case</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.requirements.TestCase + * @generated + */ + public Adapter createTestCaseAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.requirements.Requirement <em>Requirement</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.requirements.Requirement + * @generated + */ + public Adapter createRequirementAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath <em>Directed Relationship Property Path</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath + * @generated + */ + public Adapter createDirectedRelationshipPropertyPathAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * <!-- begin-user-doc --> + * This default implementation returns null. + * <!-- end-user-doc --> + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //RequirementsAdapterFactory
diff --git a/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/util/RequirementsSwitch.java b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/util/RequirementsSwitch.java new file mode 100644 index 0000000..72a65fd --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src-gen/org/eclipse/papyrus/sysml/requirements/util/RequirementsSwitch.java
@@ -0,0 +1,316 @@ +/** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + */ +package org.eclipse.papyrus.sysml.requirements.util; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; + +import org.eclipse.emf.ecore.util.Switch; + +import org.eclipse.papyrus.sysml.blocks.DirectedRelationshipPropertyPath; + +import org.eclipse.papyrus.sysml.requirements.*; + +/** + * <!-- begin-user-doc --> + * The <b>Switch</b> for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the <code>caseXXX</code> method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * <!-- end-user-doc --> + * @see org.eclipse.papyrus.sysml.requirements.RequirementsPackage + * @generated + */ +public class RequirementsSwitch<T> extends Switch<T> { + /** + * The cached model package + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static RequirementsPackage modelPackage; + + /** + * Creates an instance of the switch. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RequirementsSwitch() { + if (modelPackage == null) { + modelPackage = RequirementsPackage.eINSTANCE; + } + } + + /** + * Checks whether this is a switch for the given package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param ePackage the package in question. + * @return whether this is a switch for the given package. + * @generated + */ + @Override + protected boolean isSwitchFor(EPackage ePackage) { + return ePackage == modelPackage; + } + + /** + * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the first non-null result returned by a <code>caseXXX</code> call. + * @generated + */ + @Override + protected T doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case RequirementsPackage.COPY: { + Copy copy = (Copy)theEObject; + T result = caseCopy(copy); + if (result == null) result = caseTrace(copy); + if (result == null) result = caseDirectedRelationshipPropertyPath(copy); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RequirementsPackage.TRACE: { + Trace trace = (Trace)theEObject; + T result = caseTrace(trace); + if (result == null) result = caseDirectedRelationshipPropertyPath(trace); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RequirementsPackage.ABSTRACT_REQUIREMENT: { + AbstractRequirement abstractRequirement = (AbstractRequirement)theEObject; + T result = caseAbstractRequirement(abstractRequirement); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RequirementsPackage.DERIVE_REQT: { + DeriveReqt deriveReqt = (DeriveReqt)theEObject; + T result = caseDeriveReqt(deriveReqt); + if (result == null) result = caseTrace(deriveReqt); + if (result == null) result = caseDirectedRelationshipPropertyPath(deriveReqt); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RequirementsPackage.VERIFY: { + Verify verify = (Verify)theEObject; + T result = caseVerify(verify); + if (result == null) result = caseTrace(verify); + if (result == null) result = caseDirectedRelationshipPropertyPath(verify); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RequirementsPackage.REFINE: { + Refine refine = (Refine)theEObject; + T result = caseRefine(refine); + if (result == null) result = caseDirectedRelationshipPropertyPath(refine); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RequirementsPackage.SATISFY: { + Satisfy satisfy = (Satisfy)theEObject; + T result = caseSatisfy(satisfy); + if (result == null) result = caseTrace(satisfy); + if (result == null) result = caseDirectedRelationshipPropertyPath(satisfy); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RequirementsPackage.TEST_CASE: { + TestCase testCase = (TestCase)theEObject; + T result = caseTestCase(testCase); + if (result == null) result = defaultCase(theEObject); + return result; + } + case RequirementsPackage.REQUIREMENT: { + Requirement requirement = (Requirement)theEObject; + T result = caseRequirement(requirement); + if (result == null) result = caseAbstractRequirement(requirement); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Copy</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Copy</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseCopy(Copy object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Trace</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Trace</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTrace(Trace object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Abstract Requirement</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Abstract Requirement</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAbstractRequirement(AbstractRequirement object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Derive Reqt</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Derive Reqt</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDeriveReqt(DeriveReqt object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Verify</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Verify</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseVerify(Verify object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Refine</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Refine</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRefine(Refine object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Satisfy</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Satisfy</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSatisfy(Satisfy object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Test Case</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Test Case</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTestCase(TestCase object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Requirement</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Requirement</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRequirement(Requirement object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Directed Relationship Property Path</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Directed Relationship Property Path</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseDirectedRelationshipPropertyPath(DirectedRelationshipPropertyPath object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>EObject</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + @Override + public T defaultCase(EObject object) { + return null; + } + +} //RequirementsSwitch
diff --git a/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/Activator.java b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/Activator.java new file mode 100644 index 0000000..9d684e5 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/Activator.java
@@ -0,0 +1,21 @@ +/** + * Copyright (c) 2015 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 + */ +package org.eclipse.papyrus.sysml; + +import org.eclipse.core.runtime.Plugin; + +/** + * The activator class controls the plug-in life cycle + */ +public class Activator extends Plugin { + + // The plug-in ID + public static final String PLUGIN_ID = "org.eclipse.papyrus.sysml"; //$NON-NLS-1$ + +}
diff --git a/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/BlockCustomImpl.java b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/BlockCustomImpl.java new file mode 100644 index 0000000..37fb4ea --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/BlockCustomImpl.java
@@ -0,0 +1,108 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Francois Le Fevre (CEA LIST) francois.le-fevre@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.blocks; +import org.eclipse.emf.common.util.BasicEList; +import org.eclipse.emf.common.util.EList; +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.papyrus.sysml.blocks.internal.impl.BlockImpl; +import org.eclipse.papyrus.sysml.portsandflows.FlowProperty; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; +import org.eclipse.uml2.uml.util.UMLUtil; + + + +/** + * + */ +public class BlockCustomImpl extends BlockImpl { + + /** + * + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlockImpl#getReferences() + * @pap.req org.eclipse.papyrus.sysml#REQ-SYSML14-Block-References + * + * @return the list of Property linked + */ + @Override + public EList<Property> getReferences() { + BasicEList<Property> propertyEList = new BasicEList<>(); + + if (getBase_Class() != null) { + EList<Property> ownedAttributes = getBase_Class().getOwnedAttributes(); + for (Property property : ownedAttributes) { + if (org.eclipse.uml2.uml.AggregationKind.COMPOSITE!=property.getAggregation().getValue()) { + Type type = property.getType(); + Block stereotypeApplication = UMLUtil.getStereotypeApplication(type, Block.class); + if (stereotypeApplication != null){ + propertyEList.add(property); + } + } + } + } + + return new BasicEList.UnmodifiableEList<>(propertyEList.size(), propertyEList.toArray()); + } + + /** + * + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlockImpl#getParts() + * + * @return the list of Property linked + */ + @Override + public EList<Property> getParts() { + BasicEList<Property> propertyEList = new BasicEList<>(); + + if (getBase_Class() != null) { + EList<Property> ownedAttributes = getBase_Class().getOwnedAttributes(); + for (Property property : ownedAttributes) { + if (org.eclipse.uml2.uml.AggregationKind.COMPOSITE==property.getAggregation().getValue()) { + Type type = property.getType(); + Block stereotypeApplication = UMLUtil.getStereotypeApplication(type, Block.class); + if (stereotypeApplication != null){ + propertyEList.add(property); + } + } + } + } + + return new BasicEList.UnmodifiableEList<>(propertyEList.size(), propertyEList.toArray()); + } + + /** + * + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlockImpl#getFlowProperties() + * @pap.req org.eclipse.papyrus.sysml#REQ-001 + * + * @return the list of FlowProperties + */ + @Override + public EList<Property> getFlowProperties() { + BasicEList<Property> propertyEList = new BasicEList<>(); + + if (getBase_Class() != null) { + EList<Property> ownedAttributes = getBase_Class().getOwnedAttributes(); + for (Property property : ownedAttributes) { + FlowProperty stereotypeApplication = UMLUtil.getStereotypeApplication(property, FlowProperty.class); + if (stereotypeApplication != null){ + propertyEList.add(property); + } + } + } + + return new BasicEList.UnmodifiableEList<>(propertyEList.size(), propertyEList.toArray()); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/BlocksFactoryCustomImpl.java b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/BlocksFactoryCustomImpl.java new file mode 100644 index 0000000..51cc7bd --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/BlocksFactoryCustomImpl.java
@@ -0,0 +1,46 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.blocks; +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.papyrus.sysml.blocks.BlocksFactory; +import org.eclipse.papyrus.sysml.blocks.BoundReference; +import org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksFactoryImpl; + + +/** + * + * + */ +public class BlocksFactoryCustomImpl extends BlocksFactoryImpl implements BlocksFactory{ + + /** + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksFactoryImpl#createBoundReference() + * + * @return the BoundReference + */ + @Override + public BoundReference createBoundReference() { + return new BoundReferenceCustomImpl(); + } + + /** + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BlocksFactoryImpl#createBlock() + * + * @return the Block + */ + @Override + public Block createBlock() { + return new BlockCustomImpl(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/BoundReferenceCustomImpl.java b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/BoundReferenceCustomImpl.java new file mode 100644 index 0000000..4debb09 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/blocks/BoundReferenceCustomImpl.java
@@ -0,0 +1,62 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.blocks; +import org.eclipse.emf.common.util.BasicEList; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.util.EcoreEList.UnmodifiableEList; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.blocks.NestedConnectorEnd; +import org.eclipse.papyrus.sysml.blocks.internal.impl.BoundReferenceImpl; +import org.eclipse.uml2.uml.ConnectableElement; +import org.eclipse.uml2.uml.ConnectorEnd; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil; + + + +/** + * + */ +public class BoundReferenceCustomImpl extends BoundReferenceImpl { + + /** + * 8.3.2.4 Bound Reference : /bindingPath : Property [1..*] {ordered, nonunique} Gives the propertyPath of the + * NestedConnectorEnd applied, if any, to the boundEnd, appended to the role of the boundEnd. + * The binding path includes the property at the bound end, and before that, the property + * path of the bound end, if it is a nested connector end. + * + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.BoundReferenceImpl#getBindingPath() + * + * @return the list of Property linked + */ + @Override + public EList<Property> getBindingPath() { + BasicEList<Property> propertyEList = new BasicEList<>(); + ConnectorEnd connectorEnd = getBoundEnd(); + if (connectorEnd != null){ + NestedConnectorEnd nestedConnectorEnd = UMLUtil.getStereotypeApplication(connectorEnd, NestedConnectorEnd.class); + if (nestedConnectorEnd != null) { + EList<Property> propertyPath = nestedConnectorEnd.getPropertyPath(); + propertyEList.addAll(propertyPath); + } + + ConnectableElement role = connectorEnd.getRole(); + if (role instanceof Property) { // should always be true to conform the 1 requirement + propertyEList.add((Property) role); + } + } + return new UnmodifiableEList<>(this, BlocksPackage.eINSTANCE.getBoundReference_BindingPath(), propertyEList.size(), propertyEList.toArray()); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraintblocks/ConstraintBlockCustomImpl.java b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraintblocks/ConstraintBlockCustomImpl.java new file mode 100644 index 0000000..da7869d --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraintblocks/ConstraintBlockCustomImpl.java
@@ -0,0 +1,54 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Francois Le Fevre (CEA LIST) francois.le-fevre@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.constraintblocks; +import org.eclipse.emf.common.util.BasicEList; +import org.eclipse.emf.common.util.EList; +import org.eclipse.papyrus.sysml.constraintblocks.ConstraintBlock; +import org.eclipse.papyrus.sysml.constraintblocks.internal.impl.ConstraintBlockImpl; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; +import org.eclipse.uml2.uml.util.UMLUtil; + + + +/** + * + */ +public class ConstraintBlockCustomImpl extends ConstraintBlockImpl { + + /** + * + * @see org.eclipse.papyrus.sysml.constraintblocks.internal.impl.ConstraintBlockImpl#getParameters() + * + * @return the list of Properties + */ + @Override + public EList<Property> getParameters() { + BasicEList<Property> propertyEList = new BasicEList<>(); + + if (getBase_Class() != null) { + EList<Property> ownedAttributes = getBase_Class().getOwnedAttributes(); + for (Property property : ownedAttributes) { + Type type = property.getType(); + ConstraintBlock stereotypeApplication = UMLUtil.getStereotypeApplication(type, ConstraintBlock.class); + if (stereotypeApplication == null){ + propertyEList.add(property); + } + } + } + + return new BasicEList.UnmodifiableEList<>(propertyEList.size(), propertyEList.toArray()); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraintblocks/ConstraintBlocksFactoryCustomImpl.java b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraintblocks/ConstraintBlocksFactoryCustomImpl.java new file mode 100644 index 0000000..1988289 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/constraintblocks/ConstraintBlocksFactoryCustomImpl.java
@@ -0,0 +1,35 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.constraintblocks; +import org.eclipse.papyrus.sysml.constraintblocks.ConstraintBlock; +import org.eclipse.papyrus.sysml.constraintblocks.ConstraintblocksFactory; +import org.eclipse.papyrus.sysml.constraintblocks.internal.impl.ConstraintblocksFactoryImpl; + + +/** + * + * + */ +public class ConstraintBlocksFactoryCustomImpl extends ConstraintblocksFactoryImpl implements ConstraintblocksFactory{ + + /** + * @see org.eclipse.papyrus.sysml.constraintblocks.internal.impl.ConstraintblocksFactoryImpl#createConstraintBlock() + * + * @return the BoundReference + */ + @Override + public ConstraintBlock createConstraintBlock() { + return new ConstraintBlockCustomImpl(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/deprecatedelements/DeprecatedelementsCustomFactoryImpl.java b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/deprecatedelements/DeprecatedelementsCustomFactoryImpl.java new file mode 100644 index 0000000..f5f7804 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/deprecatedelements/DeprecatedelementsCustomFactoryImpl.java
@@ -0,0 +1,51 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.deprecatedelements; + +import org.eclipse.papyrus.sysml.deprecatedelements.DeprecatedelementsFactory; +import org.eclipse.papyrus.sysml.deprecatedelements.FlowPort; +import org.eclipse.papyrus.sysml.deprecatedelements.FlowSpecification; +import org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.DeprecatedelementsFactoryImpl; + + +/** + * this class has been added in order to integrated specific implementation of Stereotypes: FlowPort. + * Specific code has been added to calculate derived properties see Requirement Req0010 DerivedProperties + * + * and also FlowSpecification + */ +public class DeprecatedelementsCustomFactoryImpl extends DeprecatedelementsFactoryImpl implements + DeprecatedelementsFactory { + + /** + * @see org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.DeprecatedelementsFactoryImpl#createFlowPort() + * + * @return the FlowPort + */ + @Override + public FlowPort createFlowPort() { + return new FlowPortCustomImpl(); + } + + /** + * @see org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.DeprecatedelementsFactoryImpl#createFlowSpecification() + * + * @return the FlowSpecification + */ + @Override + public FlowSpecification createFlowSpecification() { + return new FlowSpecificationCustomImpl(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/deprecatedelements/FlowPortCustomImpl.java b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/deprecatedelements/FlowPortCustomImpl.java new file mode 100644 index 0000000..5f9a778 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/deprecatedelements/FlowPortCustomImpl.java
@@ -0,0 +1,116 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.deprecatedelements; + +import java.util.Map; + +import org.eclipse.papyrus.sysml.deprecatedelements.FlowPort; +import org.eclipse.papyrus.sysml.deprecatedelements.FlowSpecification; +import org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.FlowPortImpl; +import org.eclipse.papyrus.sysml.internal.util.IconUtil; +import org.eclipse.papyrus.sysml.portsandflows.FlowDirection; +import org.eclipse.uml2.uml.Image; +import org.eclipse.uml2.uml.Interface; +import org.eclipse.uml2.uml.Stereotype; +import org.eclipse.uml2.uml.Type; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * this class has been implemented in order to calculate derived properties of "FlowPort" stereotype see Requirement DerivedProperties Req0010 + * + */ +public class FlowPortCustomImpl extends FlowPortImpl implements FlowPort { + + /** + * Icons for displaying port orientation, + */ + private static Map<String,Image> icons; + + /** + * @return the icons for port orientation + */ + public static Map<String,Image> getIcons(FlowPort flowPort) { + if (icons == null){// for PERFORMANCE we call UMLUtil.getStereotype only once + Stereotype stereotype = UMLUtil.getStereotype(flowPort); + icons = IconUtil.getImages(stereotype); + } + return icons; + } + + + /** + * C.3.2.2 FlowPort : /isAtomic : Boolean (derived) This is a derived attribute (derived from the flow port’s type). + * For a flow port typed by a flow specification the value of this attribute is False, otherwise the value is True. + * + * @see org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.FlowPortImpl#isAtomic() + * + * @return true if atomic + */ + @Override + public boolean isAtomic() { + // The FlowPort is Atomic if it is not typed by a FlowSpecification + boolean isAtomic = true; + if (getBase_Port() != null) { + // Find FlowPort type + Type type = getBase_Port().getType(); + if ((type != null) && (type instanceof Interface)) { + FlowSpecification flowSpec = UMLUtil.getStereotypeApplication(type, FlowSpecification.class); + if (flowSpec != null) { + isAtomic = false; + } + } + } + return isAtomic; + } + + + /** + * Images registered in Profile are : + * 0 - FlowPort IN + * 1 - FlowPort OUT + * 2 - FlowPort INOUT + * 3 - FlowPort NA (Non Atomic) + * 4 (Other) - FlowPort (default, similar to INOUT) + * @see org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.FlowPortImpl#getIcon() + * + * @return the icon depending on the orientation of the FlowPort + */ + @Override + public Image getIcon() { + Image image = null; + if (getBase_Port() != null) { + Map<String,Image> iconList = getIcons(this); + switch (getDirection()) { + case IN: + image = iconList.get(getImageKey(FlowDirection.IN)); + break; + case OUT: + image = iconList.get(getImageKey(FlowDirection.OUT)); + break; + case INOUT: + image = iconList.get(getImageKey(FlowDirection.INOUT)); + break; + default: + image = iconList.get(getImageKey(FlowDirection.INOUT)); + break; + } + } + return image; + } + + private String getImageKey(FlowDirection flowDirection) { + return FlowPort.class.getSimpleName()+"_"+flowDirection.getName().toUpperCase();//$NON-NLS-1$ + } + +}
diff --git a/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/deprecatedelements/FlowSpecificationCustomImpl.java b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/deprecatedelements/FlowSpecificationCustomImpl.java new file mode 100644 index 0000000..9ff28c8 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/deprecatedelements/FlowSpecificationCustomImpl.java
@@ -0,0 +1,53 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Francois Le Fevre (CEA LIST) francois.le-fevre@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.deprecatedelements; + +import org.eclipse.emf.common.util.BasicEList; +import org.eclipse.emf.common.util.EList; +import org.eclipse.papyrus.sysml.deprecatedelements.FlowSpecification; +import org.eclipse.papyrus.sysml.deprecatedelements.internal.impl.FlowSpecificationImpl; +import org.eclipse.papyrus.sysml.portsandflows.FlowProperty; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * this class has been implemented in order to calculate derived properties of "FlowSpecification" stereotype see Requirement DerivedProperties ReqXXX + * + */ +public class FlowSpecificationCustomImpl extends FlowSpecificationImpl implements FlowSpecification{ + + /** + * + * @see org.eclipse.papyrus.sysml.blocks.internal.impl.FlowSpecificationImpl#getFlowProperties() + * + * @return the list of FlowProperties + */ + @Override + public EList<Property> getFlowProperties() { + BasicEList<Property> propertyEList = new BasicEList<>(); + + if (getBase_Interface() != null) { + EList<Property> ownedAttributes = getBase_Interface().getOwnedAttributes(); + for (Property property : ownedAttributes) { + FlowProperty stereotypeApplication = UMLUtil.getStereotypeApplication(property, FlowProperty.class); + if (stereotypeApplication != null){ + propertyEList.add(property); + } + } + } + + return new BasicEList.UnmodifiableEList<>(propertyEList.size(), propertyEList.toArray()); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/internal/util/IconUtil.java b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/internal/util/IconUtil.java new file mode 100644 index 0000000..01b0048 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/internal/util/IconUtil.java
@@ -0,0 +1,58 @@ +/***************************************************************************** + * Copyright (c) 2017 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.internal.util; + +import java.util.HashMap; +import java.util.Map; + +import org.eclipse.emf.ecore.EAnnotation; +import org.eclipse.uml2.uml.Image; +import org.eclipse.uml2.uml.Stereotype; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * + */ +// See org.eclipse.papyrus.uml.tools.utils.ImageUtil +// FIXME: copy/paste field since we do not want to introduce a Papyrus dependency in the profile +public class IconUtil { + + /** + * Constructor. + * + */ + private IconUtil() { + // avoid instantiation in utility class + } + + public static final String IMAGE_PAPYRUS_EA = "image_papyrus"; //$NON-NLS-1$ + + /** + * KEY of the EAnnotation where the image's name is stored + * + * @see {@link #getName(Image)} + * @see {@link #setName(Image, String)} + */ + public static final String IMAGE_NAME_KEY = "image_name_key"; //$NON-NLS-1$ + + public static Map<String, Image> getImages(Stereotype stereotype) { + Map<String, Image> icons = new HashMap<>(); + for (Image image : stereotype.getIcons()) { + EAnnotation eAnnotation = UMLUtil.getEAnnotation(image, IMAGE_PAPYRUS_EA, false); + String string = eAnnotation.getDetails().get(IMAGE_NAME_KEY); + icons.put(string, image); + } + return icons; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/ElementGroupCustomImpl.java b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/ElementGroupCustomImpl.java new file mode 100644 index 0000000..3886814 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/ElementGroupCustomImpl.java
@@ -0,0 +1,97 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.modelelements; + +import org.eclipse.emf.common.util.BasicEList; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.util.EcoreEList.UnmodifiableEList; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; +import org.eclipse.papyrus.sysml.modelelements.internal.impl.ElementGroupImpl; +import org.eclipse.uml2.uml.Comment; +import org.eclipse.uml2.uml.Element; + +/** + * + * + */ +public class ElementGroupCustomImpl extends ElementGroupImpl { + + + + /** + * 7.3.2.2 ElementGroup : /criterion[0..1]: String Specifies the rationale for being member of the group. + * Adding an element to the group asserts that the criterion applies to this element. + * Derived from Comment::body. + * + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ElementGroupImpl#getCriterion() + *<p> See the requirement <b>{@papyrus.req org.eclipse.papyrus.sysml#Req014}</b>. + * @return + */ + @Override + public String getCriterion() { + String criterion = ""; //$NON-NLS-1$ + Comment comment = getBase_Comment(); + if (comment != null){ + criterion = comment.getBody(); + } + return criterion; + } + + + /** + * 7.3.2.2 ElementGroup : /criterion[0..1]: String Specifies the rationale for being member of the group. + * Adding an element to the group asserts that the criterion applies to this element. + * Derived from Comment::body. + * + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ElementGroupImpl#setCriterion(java.lang.String) + * + * @param newCriterion + */ + public void setCriterion(String newCriterion) { + Comment comment = getBase_Comment(); + if (comment != null){ + comment.setBody(newCriterion); + } + } + + /** + * + * 7.3.2.2 ElementGroup : /member: Element[0..*] Set specifying the members of the group. + * Derived from Comment::annotatedElement. + * + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ElementGroupImpl#getMember() + * + * @return + */ + @Override + public EList<Element> getMember() { + BasicEList<Element> elementEList = new BasicEList<>(); + Comment comment = getBase_Comment(); + if (comment != null){ + elementEList.addAll( comment.getAnnotatedElements()); + } + return new UnmodifiableEList<>(this, ModelelementsPackage.eINSTANCE.getElementGroup_Member(), elementEList.size(), elementEList.toArray()); + } + + /** + * 7.3.2.2 ElementGroup : /size: Integer Number of members in the group. Derived. + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ElementGroupImpl#getSize() + * + * @return + */ + @Override + public int getSize() { + return getMember().size(); + } +}
diff --git a/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/ModelelementsFactoryCustomImpl.java b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/ModelelementsFactoryCustomImpl.java new file mode 100644 index 0000000..fec2129 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/ModelelementsFactoryCustomImpl.java
@@ -0,0 +1,73 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.modelelements; + +import org.eclipse.papyrus.sysml.modelelements.ElementGroup; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsFactory; +import org.eclipse.papyrus.sysml.modelelements.Stakeholder; +import org.eclipse.papyrus.sysml.modelelements.View; +import org.eclipse.papyrus.sysml.modelelements.Viewpoint; +import org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsFactoryImpl; + +/** + * this class has been added in order to integrated specific implementation of Stereotypes: View. + * Specific code has been added to calculate derived properties see Requirement Req0010 DerivedProperties + * + * + */ +public class ModelelementsFactoryCustomImpl extends ModelelementsFactoryImpl implements ModelelementsFactory { + + /** + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsFactoryImpl#createView() + * + * @return the view + */ + @Override + public View createView() { + return new ViewCustomImpl(); + } + + + /** + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsFactoryImpl#createViewpoint() + * + * @return the viewpoint + */ + @Override + public Viewpoint createViewpoint() { + return new ViewpointCustomImpl(); + } + + + /** + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsFactoryImpl#createElementGroup() + * + * @return the element group + */ + @Override + public ElementGroup createElementGroup() { + return new ElementGroupCustomImpl(); + } + + /** + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ModelelementsFactoryImpl#createStakeholder() + * + * @return the stakeholder + */ + @Override + public Stakeholder createStakeholder() { + return new StakeholderCustomImpl(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/StakeholderCustomImpl.java b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/StakeholderCustomImpl.java new file mode 100644 index 0000000..ff16361 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/StakeholderCustomImpl.java
@@ -0,0 +1,49 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.modelelements; + +import org.eclipse.emf.common.util.BasicEList; +import org.eclipse.emf.common.util.EList; +import org.eclipse.papyrus.sysml.modelelements.internal.impl.StakeholderImpl; +import org.eclipse.uml2.uml.Comment; + +/** + * + * + */ +public class StakeholderCustomImpl extends StakeholderImpl { + + + /** + * 7.3.2.6 Stakeholder : The interests of this stakeholder displayed as the body of the comments from concernList. + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.StakeholderImpl#getConcernList() + *<p> See the requirement <b>{@papyrus.req org.eclipse.papyrus.sysml#Req012}</b>. + * @return + */ + @Override + public EList<String> getConcern() { + EList<String> concern = new BasicEList<>(); + EList<Comment> commentEList = getConcernList(); + if (commentEList!=null && !commentEList.isEmpty()){ + for (Comment comment : commentEList) { + String body = comment.getBody(); + if (body != null){ + concern.add(body); + } + } + } + return concern; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/ViewCustomImpl.java b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/ViewCustomImpl.java new file mode 100644 index 0000000..db8a4bf --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/ViewCustomImpl.java
@@ -0,0 +1,98 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.modelelements; + +import java.util.Iterator; + +import org.eclipse.emf.common.util.BasicEList; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.util.EcoreEList.UnmodifiableEList; +import org.eclipse.papyrus.sysml.modelelements.Conform; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; +import org.eclipse.papyrus.sysml.modelelements.Stakeholder; +import org.eclipse.papyrus.sysml.modelelements.View; +import org.eclipse.papyrus.sysml.modelelements.Viewpoint; +import org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewImpl; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.Generalization; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * this class has been implemented in order to calculate derived properties of "View" stereotype see Requirement DerivedProperties Req0010 + * + */ +public class ViewCustomImpl extends ViewImpl implements View { + + + /** + * 7.3.2.7 View : /viewpoint: Viewpoint The viewpoint for this View is derived from the conform relationship. + * + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewImpl#basicGetViewPoint() + * <p> See the requirement <b>{@papyrus.req org.eclipse.papyrus.sysml#Req015}</b>. + * @return + */ + @Override + public Viewpoint basicGetViewPoint() { + // ViewPoint is related to View via a Conform dependency + Viewpoint viewPoint = null; + Conform conform = null; + + Class viewBaseClass = getBase_Class(); + if (viewBaseClass != null) { + // Find Conform link + EList<Generalization> generalizations = viewBaseClass.getGeneralizations(); + if (generalizations != null) { + Iterator<Generalization> itGen = generalizations.iterator(); + while (itGen.hasNext() && (conform == null)) { + conform = UMLUtil.getStereotypeApplication(itGen.next(), Conform.class); + } + } + // Find ViewPoint + if (conform != null) { + Generalization baseGeneralization = conform.getBase_Generalization(); + if (baseGeneralization != null){ + EList<Element> targets = baseGeneralization.getTargets(); + if (targets != null) { + Iterator<Element> itElt = targets.iterator(); + while (itElt.hasNext()) { + viewPoint = UMLUtil.getStereotypeApplication(itElt.next(), Viewpoint.class); + } + } + } + } + } + return viewPoint; + } + + /** + * + * 7.3.2.7 View : /stakeholder: Stakeholder [*] The list of stakeholders is derived from the viewpoint the view conforms to. + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewImpl#getStakeholder() + * + * @return + */ + @Override + public EList<Stakeholder> getStakeholder() { + EList<Stakeholder> stakeholderEList = new BasicEList<>(); + Viewpoint viewPoint = getViewPoint(); + if (viewPoint != null){ + stakeholderEList.addAll(viewPoint.getStakeholder()); + } + return new UnmodifiableEList<>(this, ModelelementsPackage.eINSTANCE.getViewpoint_Stakeholder(), stakeholderEList.size(), stakeholderEList.toArray()); + } + + + +}
diff --git a/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/ViewpointCustomImpl.java b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/ViewpointCustomImpl.java new file mode 100644 index 0000000..5ba3881 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/modelelements/ViewpointCustomImpl.java
@@ -0,0 +1,85 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.modelelements; + +import java.util.Iterator; + +import org.eclipse.emf.common.util.BasicEList; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.util.EcoreEList.UnmodifiableEList; +import org.eclipse.papyrus.sysml.modelelements.ModelelementsPackage; +import org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewpointImpl; +import org.eclipse.uml2.uml.Behavior; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Comment; +import org.eclipse.uml2.uml.Operation; +import org.eclipse.uml2.uml.profile.standard.Create; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * + * + */ +public class ViewpointCustomImpl extends ViewpointImpl { + + /** + * 7.3.2.8 Viewpoint : /method: Behavior [*] The behavior is derived from the method of the operation with the Create stereotype. + * + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewpointImpl#getMethod() + *<p> See the requirement <b>{@papyrus.req org.eclipse.papyrus.sysml#Req013}</b>. + * @return + */ + @Override + public EList<Behavior> getMethod() { + EList<Behavior> behaviorEList = new BasicEList<>(); + Class clazz = getBase_Class(); + if (clazz != null) { + EList<Operation> operations = clazz.getOperations(); + if (operations != null){ + Iterator<Operation> it = operations.iterator(); + + while (it.hasNext()) { + Operation operation = it.next(); + Create create = UMLUtil.getStereotypeApplication(operation, Create.class); + if (create != null) { + behaviorEList.addAll(operation.getMethods()); + break; + } + } + } + } + return new UnmodifiableEList<>(this, ModelelementsPackage.eINSTANCE.getViewpoint_Method(), behaviorEList.size(), behaviorEList.toArray()); + } + + /** + * 7.3.2.8 Viewpoint : /concern: String [*] The interest of the stakeholders displayed as the body of the comments from concernList. + * + * @see org.eclipse.papyrus.sysml.modelelements.internal.impl.ViewpointImpl#getConcern() + * + * @return + */ + @Override + public EList<String> getConcern() { + EList<String> concernEList = new BasicEList<>(); + EList<Comment> theConcernList = getConcernList(); + for (Comment comment : theConcernList) { + String body = comment.getBody(); + if (body != null && !"".equals(body)){//$NON-NLS-1$ + concernEList.add(body); + } + } + return concernEList; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portsandflows/FlowPropertyCustomImpl.java b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portsandflows/FlowPropertyCustomImpl.java new file mode 100644 index 0000000..ebc5329 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portsandflows/FlowPropertyCustomImpl.java
@@ -0,0 +1,82 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.portsandflows; + + +import java.util.Map; + +import org.eclipse.papyrus.sysml.internal.util.IconUtil; +import org.eclipse.papyrus.sysml.portsandflows.FlowDirection; +import org.eclipse.papyrus.sysml.portsandflows.FlowProperty; +import org.eclipse.papyrus.sysml.portsandflows.internal.impl.FlowPropertyImpl; +import org.eclipse.uml2.uml.Image; +import org.eclipse.uml2.uml.Stereotype; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + */ +public class FlowPropertyCustomImpl extends FlowPropertyImpl implements FlowProperty{ + + /** + * Icons for displaying flow property orientation + */ + private static Map<String,Image> icons; + + + /** + * @return the icons for flow property orientation + */ + public static Map<String,Image> getIcons(FlowProperty flowProperty) { + if (icons == null){// for PERFORMANCE we call UMLUtil.getStereotype only once + Stereotype stereotype = UMLUtil.getStereotype(flowProperty); + icons = IconUtil.getImages(stereotype); + } + return icons; + } + + /** + * Images registered in Profile are : + * 0 - FlowPort IN + * 1 - FlowPort OUT + * 2 - FlowPort INOUT + * 3 (other) - FlowPort (default, similar to INOUT) + */ + @Override + public Image getIcon() { + Image image = null; + if (getBase_Property() != null) { + Map<String,Image> iconList = getIcons(this); + switch (getDirection()) { + case IN: + image = iconList.get(getImageKey(FlowDirection.IN)); + break; + case OUT: + image = iconList.get(getImageKey(FlowDirection.OUT)); + break; + case INOUT: + image = iconList.get(getImageKey(FlowDirection.INOUT)); + break; + default: + image = iconList.get(getImageKey(FlowDirection.INOUT)); + break; + } + } + return image; + } + + private String getImageKey(FlowDirection flowDirection) { + return FlowProperty.class.getSimpleName()+"_"+flowDirection.getName().toUpperCase();//$NON-NLS-1$ + } + +}
diff --git a/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portsandflows/PortsandflowsCustomFactoryImpl.java b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portsandflows/PortsandflowsCustomFactoryImpl.java new file mode 100644 index 0000000..fdae88f --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/portsandflows/PortsandflowsCustomFactoryImpl.java
@@ -0,0 +1,35 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.portsandflows; + +import org.eclipse.papyrus.sysml.portsandflows.FlowProperty; +import org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsFactoryImpl; + +/** + * + * + */ +public class PortsandflowsCustomFactoryImpl extends PortsandflowsFactoryImpl { + + + /** + * @see org.eclipse.papyrus.sysml.portsandflows.internal.impl.PortsandflowsFactoryImpl#createFlowProperty() + * + * @return + */ + @Override + public FlowProperty createFlowProperty() { + return new FlowPropertyCustomImpl(); + } +}
diff --git a/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/RequirementCustomImpl.java b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/RequirementCustomImpl.java new file mode 100644 index 0000000..271b237 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/RequirementCustomImpl.java
@@ -0,0 +1,282 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.requirements; + +import java.util.Iterator; + +import org.eclipse.emf.common.util.BasicEList; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.util.EcoreEList.UnmodifiableEList; +import org.eclipse.papyrus.sysml.requirements.AbstractRequirement; +import org.eclipse.papyrus.sysml.requirements.Copy; +import org.eclipse.papyrus.sysml.requirements.DeriveReqt; +import org.eclipse.papyrus.sysml.requirements.Refine; +import org.eclipse.papyrus.sysml.requirements.Requirement; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.requirements.Satisfy; +import org.eclipse.papyrus.sysml.requirements.Trace; +import org.eclipse.papyrus.sysml.requirements.Verify; +import org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementImpl; +import org.eclipse.uml2.uml.Dependency; +import org.eclipse.uml2.uml.DirectedRelationship; +import org.eclipse.uml2.uml.NamedElement; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * this class has been implemented in order to calculate derived properties of "Requirement" stereotype see Requirement DerivedProperties Req0010 + * + */ +public class RequirementCustomImpl extends RequirementImpl implements Requirement { + + /** + * 16.3.2.4 Requirement : /master: Requirement [0..1 + * This is a derived property that lists the master requirement for this slave requirement. The master attribute is + * derived from the supplier of the Copy dependency that has this requirement as the slave. + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementImpl#basicGetMaster() + * + * @return the Requirement + */ + @Override + public EList<AbstractRequirement> getMaster() { + // The Requirement is the supplier of the Copy link between the master + // Requirement and + // current + // This should return the TestCase verifying current Requirement + EList<AbstractRequirement> masters = new BasicEList<>(); + if (getBase_Class() != null) { + Iterator<Dependency> itDep = getBase_Class().getClientDependencies().iterator(); + + // Find Copy link + while (itDep.hasNext()) { + Dependency currentDep = itDep.next(); + Copy currentCopy = UMLUtil.getStereotypeApplication(currentDep, Copy.class); + + if (currentCopy != null) { + EList<NamedElement> suppliers = currentCopy.getBase_Abstraction().getSuppliers(); + for (NamedElement namedElement : suppliers) { + Requirement currentRequirement = UMLUtil.getStereotypeApplication(namedElement, Requirement.class); + if (currentRequirement != null) { + masters.add(currentRequirement); + } + } + } + } + } + return new UnmodifiableEList<>(this, RequirementsPackage.eINSTANCE.getAbstractRequirement_Master(), masters.size(), masters.toArray()); + } + + + /** + * 16.3.2.4 Requirement : /derived: Requirement [*] +Derived from all requirements that are the client of a «deriveReqt» relationship for which this requirement is a +supplier. + * + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementImpl#getDerived() + * + * @return the list of Requirement + */ + @Override + public EList<AbstractRequirement>getDerived() { + // This should return the Requirement(s) derived from current + EList<AbstractRequirement>derived = new BasicEList<>(); + if (getBase_Class() != null) { + Iterator<DirectedRelationship> itDep = getBase_Class().getTargetDirectedRelationships().iterator(); + + // Find DeriveReqt link + while (itDep.hasNext()) { + DirectedRelationship currentDirectedRelationship = itDep.next(); + DeriveReqt currentDeriveReqt = UMLUtil.getStereotypeApplication(currentDirectedRelationship, DeriveReqt.class); + + if (currentDeriveReqt != null) { + EList<NamedElement> clients = currentDeriveReqt.getBase_Abstraction().getClients(); + Iterator<NamedElement> it = clients.iterator(); + while (it.hasNext()) { + Requirement currentRequirement = UMLUtil.getStereotypeApplication(it.next(), Requirement.class); + if (currentRequirement != null) { + derived.add(currentRequirement); + } + } + } + } + } + + return new UnmodifiableEList<>(this, RequirementsPackage.eINSTANCE.getAbstractRequirement_Derived(), derived.size(), derived.toArray()); + } + + /** + * 16.3.2.4 Requirement : /derivedFrom: Requirement [*] +Derived from all requirements that are the supplier of a «deriveReqt» relationship for which this requirement is a +client. + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementImpl#getDerivedFrom() + * + * @return the list of Requirement + */ + @Override + public EList<AbstractRequirement>getDerivedFrom() { + // This should return the Requirement(s) this Requirement is derived + // from + EList<AbstractRequirement>derivedFrom = new BasicEList<>(); + if (getBase_Class() != null) { + Iterator<DirectedRelationship> itDep = getBase_Class().getSourceDirectedRelationships().iterator(); + + // Find DeriveReqt link + while (itDep.hasNext()) { + DirectedRelationship currentDRelationship = itDep.next(); + DeriveReqt currentDeriveReqt = UMLUtil.getStereotypeApplication(currentDRelationship, DeriveReqt.class); + + if (currentDeriveReqt != null) { + EList<NamedElement> suppliers = currentDeriveReqt.getBase_Abstraction().getSuppliers(); + Iterator<NamedElement> it = suppliers.iterator(); + while (it.hasNext()) { + Requirement currentRequirement = UMLUtil.getStereotypeApplication(it.next(), Requirement.class); + if (currentRequirement != null) { + derivedFrom.add(currentRequirement); + } + } + } + } + } + + return new UnmodifiableEList<>(this, RequirementsPackage.eINSTANCE.getAbstractRequirement_DerivedFrom(), derivedFrom.size(), derivedFrom.toArray()); + } + + + /** + * 16.3.2.4 Requirement : /refinedBy: NamedElement [*] +Derived from all elements that are the client of a «refine» relationship for which this requirement is a supplier. + * + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementImpl#getRefinedBy() + * + * @return the list of refining NamedElements + */ + @Override + public EList<NamedElement> getRefinedBy() { + // This should return the NamedElement(s) that refine current + // Requirement + EList<NamedElement> refinedBy = new BasicEList<>(); + if (getBase_Class() != null) { + Iterator<DirectedRelationship> itDep = getBase_Class().getTargetDirectedRelationships().iterator(); + + // Find Refine link + while (itDep.hasNext()) { + DirectedRelationship currentDRelationship = itDep.next(); + Refine currentRefine = UMLUtil.getStereotypeApplication(currentDRelationship, Refine.class); + + if (currentRefine != null) { + refinedBy.addAll(currentRefine.getBase_Abstraction().getClients()); + } + } + } + + return new UnmodifiableEList<>(this, RequirementsPackage.eINSTANCE.getAbstractRequirement_RefinedBy(), refinedBy.size(), refinedBy.toArray()); + } + + + + /** + * 16.3.2.4 Requirement : /satisfiedBy: NamedElement [*] + * Derived from all elements that are the client of a «satisfy» relationship for which this requirement is a supplier. + * + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementImpl#getSatisfiedBy() + * + * @return the list of statisfying NamedElements + */ + @Override + public EList<NamedElement> getSatisfiedBy() { + // This should return the NamedElement(s) that satisfy current + // Requirement + EList<NamedElement> satisfyBy = new BasicEList<>(); + if (getBase_Class() != null) { + Iterator<DirectedRelationship> itDep = getBase_Class().getTargetDirectedRelationships().iterator(); + + // Find Satisfy link + while (itDep.hasNext()) { + DirectedRelationship currentDRelationship = itDep.next(); + Satisfy currentSatisfy = UMLUtil.getStereotypeApplication(currentDRelationship, Satisfy.class); + + if (currentSatisfy != null) { + satisfyBy.addAll(currentSatisfy.getBase_Abstraction().getClients()); + } + } + } + + return new UnmodifiableEList<>(this, RequirementsPackage.eINSTANCE.getAbstractRequirement_SatisfiedBy(), satisfyBy.size(), satisfyBy.toArray()); + } + + + /** + * 16.3.2.4 Requirement : /tracedTo: NamedElement [*] + * Derived from all elements that are the supplier of a «trace» relationship for which this requirement is a client. + * + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementImpl#getTracedTo() + * + * @return the list of tracing NamedElements + */ + @Override + public EList<NamedElement> getTracedTo() { + // This should return the NamedElement(s) traced by current Requirement + // SysML spec. : Derived from all elements that are the client of a + // <<trace>> relationship + // for which this requirement is a supplier. + EList<NamedElement> tracedTo = new BasicEList<>(); + if (getBase_Class() != null) { + Iterator<DirectedRelationship> itDep = getBase_Class().getTargetDirectedRelationships().iterator(); + + // Find Trace link + while (itDep.hasNext()) { + DirectedRelationship currentDR = itDep.next(); + Trace currentTrace = UMLUtil.getStereotypeApplication(currentDR, Trace.class); + + // Must be a Trace not a subtype (see bug #352563). + if (currentTrace != null && currentTrace.eClass() == RequirementsPackage.eINSTANCE.getTrace()) { + EList<NamedElement> suppliers = currentTrace.getBase_Abstraction().getClients(); + tracedTo.addAll(suppliers); + } + } + } + + return new UnmodifiableEList<>(this, RequirementsPackage.eINSTANCE.getAbstractRequirement_TracedTo(), tracedTo.size(), tracedTo.toArray()); + } + + + + /** + * 16.3.2.4 Requirement : /verifiedBy: NamedElement [*] + * Derived from all elements that are the client of a «verify» relationship for which this requirement is a supplier. + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementImpl#getVerifiedBy() + * + * @return the list of verifying NamedElements + */ + @Override + public EList<NamedElement> getVerifiedBy() { + // This should return the list of NamedElement verifying current + // Requirement + EList<NamedElement> verifiedBy = new BasicEList<>(); + if (getBase_Class() != null) { + Iterator<DirectedRelationship> itDep = getBase_Class().getTargetDirectedRelationships().iterator(); + + // Find Verify link + while (itDep.hasNext()) { + DirectedRelationship currentDRelationship = itDep.next(); + Verify currentVerify = UMLUtil.getStereotypeApplication(currentDRelationship, Verify.class); + + if (currentVerify != null) { + verifiedBy.addAll(currentVerify.getBase_Abstraction().getClients()); + } + } + } + return new UnmodifiableEList<>(this, RequirementsPackage.eINSTANCE.getAbstractRequirement_VerifiedBy(), verifiedBy.size(), verifiedBy.toArray()); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/RequirementsFactoryCustomImpl.java b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/RequirementsFactoryCustomImpl.java new file mode 100644 index 0000000..2d797e2 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/requirements/RequirementsFactoryCustomImpl.java
@@ -0,0 +1,38 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.requirements; + +import org.eclipse.papyrus.sysml.requirements.Requirement; +import org.eclipse.papyrus.sysml.requirements.RequirementsFactory; +import org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsFactoryImpl; + +/** + * this class has been added in order to integrated specific implementation of Stereotypes: Requirement. + * Specific code has been added to calculate derived properties see Requirement Req0010 DerivedProperties + * + * + */ +public class RequirementsFactoryCustomImpl extends RequirementsFactoryImpl implements RequirementsFactory { + + /** + * @see org.eclipse.papyrus.sysml.requirements.internal.impl.RequirementsFactoryImpl#createRequirement() + * + * @return a new requirement + */ + @Override + public Requirement createRequirement() { + return new RequirementCustomImpl(); + } + +}
diff --git a/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/DeprecatedElementUtil.java b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/DeprecatedElementUtil.java new file mode 100644 index 0000000..b1a3f5b --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/DeprecatedElementUtil.java
@@ -0,0 +1,56 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Francois Le Fevre (CEA LIST) francois.le-fevre@cea.fr - Initial API and implementation + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - #498338 Improve performance + *****************************************************************************/ +package org.eclipse.papyrus.sysml.util; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.papyrus.sysml.deprecatedelements.FlowPort; +import org.eclipse.papyrus.sysml.deprecatedelements.FlowSpecification; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.Interface; +import org.eclipse.uml2.uml.Port; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * Utility class to get informations on DeprecatedElement resources + * + */ +public final class DeprecatedElementUtil { + + private DeprecatedElementUtil(){ + } + + /** + * @param eObject + * @return It returns true if the EObject is a deprecated Stereotype or if the Uml element is stereotyped by a deprecated stereotype + */ + //Check performance issues before changing this method + public static boolean isDeprecatedElement(EObject eObject) { + if(eObject!=null){ + if (eObject.getClass().getName().startsWith("org.eclipse.papyrus.sysml.deprecatedelements")){//$NON-NLS-1$ + return true; + } + if(eObject instanceof Element){ + Element element = (Element)eObject; + if (element instanceof Port){ + return UMLUtil.getStereotypeApplication(element, FlowPort.class)!=null; + } + if (element instanceof Interface){ + return UMLUtil.getStereotypeApplication(element, FlowSpecification.class)!=null; + } + } + } + return false; + } + + +}
diff --git a/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/QUDVUtil.java b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/QUDVUtil.java new file mode 100644 index 0000000..9c87892 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/QUDVUtil.java
@@ -0,0 +1,67 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.util; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.Package; +import org.eclipse.uml2.uml.PackageableElement; + +/** + * + */ +public final class QUDVUtil { + + public static final String UNIT_AND_QUANTITY_KIND = "UnitAndQuantityKind"; //$NON-NLS-1$ + + public static final String QUANTITY_KIND = "QuantityKind"; //$NON-NLS-1$ + + public static final String UNIT = "Unit"; //$NON-NLS-1$ + + /** Avoid instantiation for utility class */ + private QUDVUtil() { + } + /** + * Return the classifier in QUDV from the namspace + * Ex : getClassifierByNameSpaceFromQUDV("UnitAndQuantityKind","Unit") to get Unit Classifier + * @param resource + * @param packageName + * @param classifierName + * @return + */ + public static Classifier getClassifierByNameSpaceFromQUDV(String packageName, String classifierName) { + URI createURI = URI.createURI(SysMLResource.LIBRARY_PATH); + Resource res = new ResourceSetImpl().getResource(createURI,true); + return getClassifierByNameSpace(res, packageName, classifierName); + } + + // TODO : this method should be provided as API in an upper level (already exist ?) + public static Classifier getClassifierByNameSpace(Resource resource, String packageName, String classifierName) { + EList<EObject> contents = resource.getContents(); + for (EObject eObject : contents) { + if (eObject instanceof Package){ + Package pkg = (Package) eObject; + PackageableElement packagedElement2 = pkg.getPackagedElement(packageName); + return (Classifier) ((Package) packagedElement2).getPackagedElement(classifierName); + } + } + return null; + } + +}
diff --git a/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/SysMLQualifiedName.java b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/SysMLQualifiedName.java new file mode 100644 index 0000000..21ae6eb --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/SysMLQualifiedName.java
@@ -0,0 +1,34 @@ +/***************************************************************************** + * Copyright (c) 2017 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.util; + + +public final class SysMLQualifiedName { + + private SysMLQualifiedName() { + // to prevent instantiation + } + + /** + * The qualified name of the property direction + * @deprecated + */ + @Deprecated + public static final String STEREOTYPE_FLOWPORT_DIRECTION = "SysML::DeprecatedElements::FlowPort::direction"; //$NON-NLS-1$ + + /** + * QN of SysML::Requirement::Requirement::text. + */ + public static final String SYSML_REQUIREMENTS_REQUIREMENT_TEXT_QN = "SysML::Requirements::Requirement::text"; //$NON-NLS-1$ +}
diff --git a/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/SysMLResource.java b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/SysMLResource.java new file mode 100644 index 0000000..26272d4 --- /dev/null +++ b/core/org.eclipse.papyrus.sysml/src/org/eclipse/papyrus/sysml/util/SysMLResource.java
@@ -0,0 +1,157 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - #507956 + *****************************************************************************/ +package org.eclipse.papyrus.sysml.util; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.ResourceSet; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.Package; +import org.eclipse.uml2.uml.Profile; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.UMLPackage; +import org.eclipse.uml2.uml.resource.UMLResource; + +/** + * Utility class to get informations on SysML resources + * + */ +public final class SysMLResource { + + public static final String PROFILES_PATHMAP = "pathmap://SysML15_PROFILES/"; //$NON-NLS-1$ + + public static final String PROFILE_PATH = PROFILES_PATHMAP+"SysML.profile.uml"; //$NON-NLS-1$ + + public static final String PROFILE_URI = "http://www.eclipse.org/papyrus/sysml/1.5/SysML"; //$NON-NLS-1$ + + public static final String LIBRARIES_PATHMAP = "pathmap://SysML15_LIBRARIES/"; //$NON-NLS-1$ + + public static final String LIBRARY_PATH = LIBRARIES_PATHMAP+"SysML-Standard-Library.uml"; //$NON-NLS-1$ + + public static final String LIBRARY_ROOT_ID = "SysML.Libraries"; //$NON-NLS-1$ + + public static final String QUDV_LIBRARY_PATH = LIBRARIES_PATHMAP+"QUDV.uml"; //$NON-NLS-1$ + + public static final String QUDV_LIBRARY_ROOT_ID = "QUDV"; //$NON-NLS-1$ + + private static final String UNNAMED = "unnamed"; //$NON-NLS-1$ + + private SysMLResource(){ + } + + /** + * Creates a model with SysML profile applied + * + * @param resourceSet + * the resource set in which to create the model + * @return the created model + */ + public static Model createSysMLModel(ResourceSet resourceSet) {//, String modelName + return createSysMLModel(resourceSet, UNNAMED+"."+UMLResource.FILE_EXTENSION, UNNAMED); //$NON-NLS-1$ + } + + /** + * Creates a model with SysML profile applied + * + * @param resourceSet the resource set in which to create the model + * @param resourceName name of the resource + * @param modelName name of the model + * @return the created model + */ + public static Model createSysMLModel(ResourceSet resourceSet, String resourceName, String modelName) { + Model model = UMLFactory.eINSTANCE.createModel(); + model.setName(modelName); + Resource resource = resourceSet.createResource(URI.createURI(resourceName)); + resource.getContents().add(model); + // Apply UML Standard profile + // Retrieve standard profile + Resource standardProfileResource = resourceSet.getResource(URI.createURI(UMLResource.STANDARD_PROFILE_URI), true); + Profile umlStdProfile = (Profile) EcoreUtil.getObjectByType(standardProfileResource.getContents(), UMLPackage.Literals.PACKAGE); + // Apply to the model + model.applyProfile(umlStdProfile); + // Retrieve SysML profile and apply with subprofile + Resource sysmlProfileResource = resourceSet.getResource(URI.createURI(SysMLResource.PROFILE_PATH), true); + Profile sysmlProfile = (Profile) EcoreUtil.getObjectByType(sysmlProfileResource.getContents(), UMLPackage.Literals.PACKAGE); + model.applyProfile(sysmlProfile); + return model; + } + + /** + * Recursive function + * @param element the initial uml2 element + * @param profileLookup the profile we are looking for + * @return a package, a model profiled by SysML or null + */ + public static Package getFirstSysMLMatchingContainerProfiledBySysMLProfile(Element element){ + return getFirstMatchingContainerProfiledBy(element,SysMLResource.PROFILE_URI); + } + + /** + * Recursive function + * @param element the initial uml2 element + * @param profileUri the profile we are looking for + * @return a package, a model or null + */ + public static Package getFirstMatchingContainerProfiledBy(Element element, String profileUri){ + if(element instanceof Package){ + Package pakage = (Package)element; + + EList<Profile> appliedProfiles = pakage.getAppliedProfiles(); + if (appliedProfiles!=null){ + for (Profile appliedProfile : appliedProfiles) { + //as soon as we match with the profile we return true + if(appliedProfile.getURI()!=null && appliedProfile.getURI().compareTo(profileUri)==0){ + return pakage; + } + } + } + + Element elementOwner = element.getOwner(); + if(elementOwner!=null){ + return getFirstMatchingContainerProfiledBy(elementOwner, profileUri); + } + } + //If no match then look at the nearest package + if(element!=null){ + Package myNearestPackage = element.getNearestPackage(); + if(myNearestPackage!=element){ + return getFirstMatchingContainerProfiledBy(myNearestPackage, profileUri); + } + } + //If we are here, it means we have no lookup profile attached at one container of our element. + return null; + } + + + /** + * @param element + * @return true if the element is profiled with SysML profile + */ + public static boolean isSysMLProfileApplied(Element element){ + return isProfiledByProfile(element,SysMLResource.PROFILE_URI); + } + + + /** + * @param element + * @param profileUri + * @return true if the element is profiled by the given profileUri + */ + public static boolean isProfiledByProfile(Element element, String profileUri){ + return getFirstMatchingContainerProfiledBy(element,profileUri)!=null; + } +}
diff --git a/core/org.eclipse.papyrus.sysml14.edit.tests/.project b/core/org.eclipse.papyrus.sysml14.edit.tests/.project deleted file mode 100644 index 090ba81..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit.tests/.project +++ /dev/null
@@ -1,40 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.edit.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> - <buildCommand> - <name>edu.umd.cs.findbugs.plugin.eclipse.findbugsBuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - <nature>edu.umd.cs.findbugs.plugin.eclipse.findbugsNature</nature> - </natures> -</projectDescription>
diff --git a/core/org.eclipse.papyrus.sysml14.edit.tests/META-INF/MANIFEST.MF b/core/org.eclipse.papyrus.sysml14.edit.tests/META-INF/MANIFEST.MF deleted file mode 100644 index e884c59..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit.tests/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,14 +0,0 @@ -Bundle-ActivationPolicy: lazy -Manifest-Version: 1.0 -Fragment-Host: org.eclipse.papyrus.sysml14.edit;bundle-version="1.0.0" -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.edit.tests -Export-Package: org.eclipse.papyrus.sysml14.edit.tests.requirements.provider -Bundle-Vendor: %Bundle-Vendor -Bundle-Version: 1.2.0.qualifier -Bundle-Name: %Bundle-Name -Bundle-Description: %Bundle-Description -Bundle-Localization: plugin -Bundle-ManifestVersion: 2 -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Require-Bundle: org.junit;bundle-version="[4.11.0,5.0.0)" -
diff --git a/core/org.eclipse.papyrus.sysml14.edit.tests/plugin.properties b/core/org.eclipse.papyrus.sysml14.edit.tests/plugin.properties deleted file mode 100644 index 0e76368..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit.tests/plugin.properties +++ /dev/null
@@ -1,13 +0,0 @@ -################################################################################# -# Copyright (c) 2015 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: -# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation -################################################################################## -Bundle-Name=Papyrus SysML 1.4 Edit Tests -Bundle-Description=This plug-in contains the tests for SyML 1.4 edit plugin -Bundle-Vendor=Eclipse Modeling Project \ No newline at end of file
diff --git a/core/org.eclipse.papyrus.sysml14.edit.tests/pom.xml b/core/org.eclipse.papyrus.sysml14.edit.tests/pom.xml deleted file mode 100644 index e83be8d..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit.tests/pom.xml +++ /dev/null
@@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" - xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <modelVersion>4.0.0</modelVersion> - <parent> - <artifactId>org.eclipse.papyrus.sysml14.core</artifactId> - <groupId>org.eclipse.papyrus.sysml</groupId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.edit.tests</artifactId> - <packaging>eclipse-test-plugin</packaging> - <name>org.eclipse.papyrus.sysml14.edit.tests</name> - <description>This plug-in contains the unit tests for SyML 1.4 Edit plugin</description> -</project>
diff --git a/core/org.eclipse.papyrus.sysml14.edit.tests/src/org/eclipse/papyrus/sysml14/edit/tests/requirements/provider/RequirementItemProviderTest.java b/core/org.eclipse.papyrus.sysml14.edit.tests/src/org/eclipse/papyrus/sysml14/edit/tests/requirements/provider/RequirementItemProviderTest.java deleted file mode 100644 index 2b7f5b2..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit.tests/src/org/eclipse/papyrus/sysml14/edit/tests/requirements/provider/RequirementItemProviderTest.java +++ /dev/null
@@ -1,42 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.edit.tests.requirements.provider; - -import org.eclipse.papyrus.sysml14.requirements.RequirementCustomImpl; -import org.eclipse.papyrus.sysml14.requirements.provider.RequirementItemProvider; -import org.eclipse.papyrus.sysml14.requirements.provider.RequirementsItemProviderAdapterFactory; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Basic test RequirementItemProvider - * - * @author Benoit Maggi - */ -public class RequirementItemProviderTest { - - /** - * Check that a Requirement has an image to avoid regression when regeneration - */ - @Ignore - @Test - public void testProfilRegistration() { - RequirementsItemProviderAdapterFactory requirementsItemProviderAdapterFactory = new RequirementsItemProviderAdapterFactory(); - RequirementItemProvider createRequirementAdapter = (RequirementItemProvider) requirementsItemProviderAdapterFactory.createRequirementAdapter(); - Assert.assertNotNull("Requirement should have an image", createRequirementAdapter.getImage(new RequirementCustomImpl())); //$NON-NLS-1$ - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/.project b/core/org.eclipse.papyrus.sysml14.edit/.project deleted file mode 100644 index b1a59ff..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/.project +++ /dev/null
@@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.edit</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> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - </natures> -</projectDescription>
diff --git a/core/org.eclipse.papyrus.sysml14.edit/META-INF/MANIFEST.MF b/core/org.eclipse.papyrus.sysml14.edit/META-INF/MANIFEST.MF deleted file mode 100644 index 9baf8f6..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,30 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %Bundle-Name -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.edit;singleton:=true -Bundle-Version: 1.2.0.qualifier -Bundle-ClassPath: . -Bundle-Activator: org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin$Implementation -Bundle-Vendor: %Bundle-Vendor -Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Export-Package: org.eclipse.papyrus.sysml14.activities.provider, - org.eclipse.papyrus.sysml14.allocations.provider, - org.eclipse.papyrus.sysml14.blocks.provider, - org.eclipse.papyrus.sysml14.constraintblocks.provider, - org.eclipse.papyrus.sysml14.deprecatedelements.provider, - org.eclipse.papyrus.sysml14.modelelements.provider, - org.eclipse.papyrus.sysml14.portsandflows.provider, - org.eclipse.papyrus.sysml14.provider, - org.eclipse.papyrus.sysml14.requirements.provider -Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.6.0,4.0.0)", - org.eclipse.papyrus.sysml14;visibility:=reexport;bundle-version="1.0.0", - org.eclipse.emf.edit;visibility:=reexport;bundle-version="[2.11.1,3.0.0)", - org.eclipse.emf.ecore;visibility:=reexport;bundle-version="[2.11.2,3.0.0)", - org.eclipse.emf.ecore.edit;visibility:=reexport;bundle-version="[2.9.0,3.0.0)", - org.eclipse.uml2.uml.profile.standard;visibility:=reexport;bundle-version="[1.0.100,2.0.0)", - org.eclipse.uml2.types;visibility:=reexport;bundle-version="[2.0.0,3.0.0)", - org.eclipse.uml2.uml;visibility:=reexport;bundle-version="[5.1.0,6.0.0)", - org.eclipse.uml2.uml.edit;visibility:=reexport;bundle-version="[5.1.1,6.0.0)", - org.eclipse.uml2.common.edit;visibility:=reexport;bundle-version="[2.1.0,3.0.0)" -Bundle-ActivationPolicy: lazy
diff --git a/core/org.eclipse.papyrus.sysml14.edit/plugin.properties b/core/org.eclipse.papyrus.sysml14.edit/plugin.properties deleted file mode 100644 index d12fe80..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/plugin.properties +++ /dev/null
@@ -1,279 +0,0 @@ -# Copyright (c) 2015 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 - -Bundle-Name = Papyrus SysML 1.4 Edit Support -Bundle-Vendor = Eclipse Modeling Project - -_UI_CreateChild_text = {0} -_UI_CreateChild_text2 = {1} {0} -_UI_CreateChild_text3 = {1} -_UI_CreateChild_tooltip = Create New {0} Under {1} Feature -_UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}. -_UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent. - -_UI_PropertyDescriptor_description = The {0} of the {1} - -_UI_ValueType_type = Value Type -_UI_DistributedProperty_type = Distributed Property -_UI_ConnectorProperty_type = Connector Property -_UI_ParticipantProperty_type = Participant Property -_UI_BindingConnector_type = Binding Connector -_UI_Block_type = Block -_UI_PropertySpecificType_type = Property Specific Type -_UI_NestedConnectorEnd_type = Nested Connector End -_UI_ElementPropertyPath_type = Element Property Path -_UI_DirectedRelationshipPropertyPath_type = Directed Relationship Property Path -_UI_EndPathMultiplicity_type = End Path Multiplicity -_UI_BoundReference_type = Bound Reference -_UI_AdjunctProperty_type = Adjunct Property -_UI_ClassifierBehaviorProperty_type = Classifier Behavior Property -_UI_ItemFlow_type = Item Flow -_UI_FlowProperty_type = Flow Property -_UI_FullPort_type = Full Port -_UI_InterfaceBlock_type = Interface Block -_UI_ProxyPort_type = Proxy Port -_UI_AcceptChangeStructuralFeatureEventAction_type = Accept Change Structural Feature Event Action -_UI_ChangeStructuralFeatureEvent_type = Change Structural Feature Event -_UI_DirectedFeature_type = Directed Feature -_UI_InvocationOnNestedPortAction_type = Invocation On Nested Port Action -_UI_TriggerOnNestedPort_type = Trigger On Nested Port -_UI_Overwrite_type = Overwrite -_UI_ControlOperator_type = Control Operator -_UI_Rate_type = Rate -_UI_NoBuffer_type = No Buffer -_UI_Discrete_type = Discrete -_UI_Continuous_type = Continuous -_UI_Probability_type = Probability -_UI_Optional_type = Optional -_UI_Rationale_type = Rationale -_UI_View_type = View -_UI_ViewPoint_type = View Point -_UI_Stakeholder_type = Stakeholder -_UI_Conform_type = Conform -_UI_Problem_type = Problem -_UI_Expose_type = Expose -_UI_ElementGroup_type = Element Group -_UI_ConstraintBlock_type = Constraint Block -_UI_AllocateActivityPartition_type = Allocate Activity Partition -_UI_Allocate_type = Allocate -_UI_DeriveReqt_type = Derive Reqt -_UI_Trace_type = Trace -_UI_Requirement_type = Requirement -_UI_Copy_type = Copy -_UI_Satisfy_type = Satisfy -_UI_TestCase_type = Test Case -_UI_Verify_type = Verify -_UI_Refine_type = Refine -_UI_FlowPort_type = Flow Port -_UI_FlowSpecification_type = Flow Specification -_UI_Allocated_type = Allocated -_UI_RequirementRelated_type = Requirement Related -_UI_Deprecated_type = Deprecated -_UI_Auxiliary_type = Auxiliary -_UI_Call_type = Call -_UI_Create_type = Create -_UI_Derive_type = Derive -_UI_Destroy_type = Destroy -_UI_Document_type = Document -_UI_File_type = File -_UI_Entity_type = Entity -_UI_Executable_type = Executable -_UI_Focus_type = Focus -_UI_Framework_type = Framework -_UI_Implement_type = Implement -_UI_ImplementationClass_type = Implementation Class -_UI_Instantiate_type = Instantiate -_UI_Library_type = Library -_UI_Metaclass_type = Metaclass -_UI_ModelLibrary_type = Model Library -_UI_Process_type = Process -_UI_Realization_type = Realization -_UI_Refine_type = Refine -_UI_Responsibility_type = Responsibility -_UI_Script_type = Script -_UI_Send_type = Send -_UI_Service_type = Service -_UI_Source_type = Source -_UI_Specification_type = Specification -_UI_Subsystem_type = Subsystem -_UI_Trace_type = Trace -_UI_Type_type = Type -_UI_Utility_type = Utility -_UI_BuildComponent_type = Build Component -_UI_Metamodel_type = Metamodel -_UI_SystemModel_type = System Model -_UI_Unknown_type = Object - -_UI_Unknown_datatype= Value - -_UI_ValueType_base_DataType_feature = Base Data Type -_UI_ValueType_unit_feature = Unit -_UI_ValueType_quantityKind_feature = Quantity Kind -_UI_DistributedProperty_base_Property_feature = Base Property -_UI_ConnectorProperty_base_Property_feature = Base Property -_UI_ConnectorProperty_connector_feature = Connector -_UI_ParticipantProperty_base_Property_feature = Base Property -_UI_ParticipantProperty_end_feature = End -_UI_BindingConnector_base_Connector_feature = Base Connector -_UI_Block_base_Class_feature = Base Class -_UI_Block_isEncapsulated_feature = Is Encapsulated -_UI_PropertySpecificType_base_Classifier_feature = Base Classifier -_UI_NestedConnectorEnd_base_ConnectorEnd_feature = Base Connector End -_UI_ElementPropertyPath_base_Element_feature = Base Element -_UI_ElementPropertyPath_propertyPath_feature = Property Path -_UI_DirectedRelationshipPropertyPath_base_DirectedRelationship_feature = Base Directed Relationship -_UI_DirectedRelationshipPropertyPath_sourcePropertyPath_feature = Source Property Path -_UI_DirectedRelationshipPropertyPath_targetPropertyPath_feature = Target Property Path -_UI_DirectedRelationshipPropertyPath_sourceContext_feature = Source Context -_UI_DirectedRelationshipPropertyPath_targetContext_feature = Target Context -_UI_EndPathMultiplicity_base_Property_feature = Base Property -_UI_EndPathMultiplicity_lower_feature = Lower -_UI_EndPathMultiplicity_upper_feature = Upper -_UI_BoundReference_boundEnd_feature = Bound End -_UI_BoundReference_bindingPath_feature = Binding Path -_UI_AdjunctProperty_base_Property_feature = Base Property -_UI_AdjunctProperty_principal_feature = Principal -_UI_ClassifierBehaviorProperty_base_Property_feature = Base Property -_UI_ItemFlow_base_InformationFlow_feature = Base Information Flow -_UI_ItemFlow_itemProperty_feature = Item Property -_UI_FlowProperty_base_Property_feature = Base Property -_UI_FlowProperty_direction_feature = Direction -_UI_FullPort_base_Port_feature = Base Port -_UI_ProxyPort_base_Port_feature = Base Port -_UI_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction_feature = Base Accept Event Action -_UI_ChangeStructuralFeatureEvent_base_ChangeEvent_feature = Base Change Event -_UI_ChangeStructuralFeatureEvent_structuralFeature_feature = Structural Feature -_UI_DirectedFeature_base_Feature_feature = Base Feature -_UI_DirectedFeature_featureDirection_feature = Feature Direction -_UI_InvocationOnNestedPortAction_base_InvocationAction_feature = Base Invocation Action -_UI_InvocationOnNestedPortAction_onNestedPort_feature = On Nested Port -_UI_TriggerOnNestedPort_base_Trigger_feature = Base Trigger -_UI_TriggerOnNestedPort_onNestedPort_feature = On Nested Port -_UI_Overwrite_base_ObjectNode_feature = Base Object Node -_UI_ControlOperator_base_Behavior_feature = Base Behavior -_UI_ControlOperator_base_Operation_feature = Base Operation -_UI_Rate_rate_feature = Rate -_UI_Rate_base_ActivityEdge_feature = Base Activity Edge -_UI_Rate_base_ObjectNode_feature = Base Object Node -_UI_Rate_base_Parameter_feature = Base Parameter -_UI_NoBuffer_base_ObjectNode_feature = Base Object Node -_UI_Probability_base_ActivityEdge_feature = Base Activity Edge -_UI_Probability_base_ParameterSet_feature = Base Parameter Set -_UI_Probability_probability_feature = Probability -_UI_Optional_base_Parameter_feature = Base Parameter -_UI_Rationale_base_Comment_feature = Base Comment -_UI_View_base_Package_feature = Base Package -_UI_View_viewPoint_feature = View Point -_UI_View_stakeholder_feature = Stakeholder -_UI_View_base_Class_feature = Base Class -_UI_ViewPoint_base_Class_feature = Base Class -_UI_ViewPoint_stakeholder_feature = Stakeholder -_UI_ViewPoint_purpose_feature = Purpose -_UI_ViewPoint_concernList_feature = Concern List -_UI_ViewPoint_language_feature = Language -_UI_ViewPoint_method_feature = Method -_UI_ViewPoint_presentation_feature = Presentation -_UI_ViewPoint_concern_feature = Concern -_UI_Stakeholder_base_Classifier_feature = Base Classifier -_UI_Stakeholder_concern_feature = Concern -_UI_Stakeholder_concernList_feature = Concern List -_UI_Conform_base_Dependency_feature = Base Dependency -_UI_Conform_base_Generalization_feature = Base Generalization -_UI_Problem_base_Comment_feature = Base Comment -_UI_Expose_base_Dependency_feature = Base Dependency -_UI_ElementGroup_base_Comment_feature = Base Comment -_UI_ElementGroup_name_feature = Name -_UI_ElementGroup_criterion_feature = Criterion -_UI_ElementGroup_size_feature = Size -_UI_ElementGroup_member_feature = Member -_UI_ElementGroup_orderedMember_feature = Ordered Member -_UI_AllocateActivityPartition_base_ActivityPartition_feature = Base Activity Partition -_UI_Allocate_base_Abstraction_feature = Base Abstraction -_UI_Requirement_base_Class_feature = Base Class -_UI_Requirement_text_feature = Text -_UI_Requirement_id_feature = Id -_UI_Requirement_derived_feature = Derived -_UI_Requirement_derivedFrom_feature = Derived From -_UI_Requirement_satisfiedBy_feature = Satisfied By -_UI_Requirement_refinedBy_feature = Refined By -_UI_Requirement_tracedTo_feature = Traced To -_UI_Requirement_verifiedBy_feature = Verified By -_UI_Requirement_master_feature = Master -_UI_TestCase_base_Operation_feature = Base Operation -_UI_TestCase_base_Behavior_feature = Base Behavior -_UI_FlowPort_base_Port_feature = Base Port -_UI_FlowPort_direction_feature = Direction -_UI_FlowPort_isAtomic_feature = Is Atomic -_UI_FlowSpecification_base_Interface_feature = Base Interface -_UI_Allocated_base_NamedElement_feature = Base Named Element -_UI_Allocated_allocatedFrom_feature = Allocated From -_UI_Allocated_allocatedTo_feature = Allocated To -_UI_RequirementRelated_base_NamedElement_feature = Base Named Element -_UI_RequirementRelated_TracedFrom_feature = Traced From -_UI_RequirementRelated_Satisfies_feature = Satisfies -_UI_RequirementRelated_Refines_feature = Refines -_UI_RequirementRelated_Verifies_feature = Verifies -_UI_Deprecated_base_ValueSpecification_feature = Base Value Specification -_UI_Deprecated_base_Property_feature = Base Property -_UI_Deprecated_base_InstanceSpecification_feature = Base Instance Specification -_UI_Deprecated_base_Class_feature = Base Class -_UI_Deprecated_base_Association_feature = Base Association -_UI_Deprecated_deprecatedReason_feature = Deprecated Reason -_UI_Deprecated_base_Generalization_feature = Base Generalization -_UI_Deprecated_base_DataType_feature = Base Data Type -_UI_Auxiliary_base_Class_feature = Base Class -_UI_Call_base_Usage_feature = Base Usage -_UI_Create_base_BehavioralFeature_feature = Base Behavioral Feature -_UI_Create_base_Usage_feature = Base Usage -_UI_Derive_computation_feature = Computation -_UI_Derive_base_Abstraction_feature = Base Abstraction -_UI_Destroy_base_BehavioralFeature_feature = Base Behavioral Feature -_UI_File_base_Artifact_feature = Base Artifact -_UI_Entity_base_Component_feature = Base Component -_UI_Focus_base_Class_feature = Base Class -_UI_Framework_base_Package_feature = Base Package -_UI_Implement_base_Component_feature = Base Component -_UI_ImplementationClass_base_Class_feature = Base Class -_UI_Instantiate_base_Usage_feature = Base Usage -_UI_Metaclass_base_Class_feature = Base Class -_UI_ModelLibrary_base_Package_feature = Base Package -_UI_Process_base_Component_feature = Base Component -_UI_Realization_base_Classifier_feature = Base Classifier -_UI_Refine_base_Abstraction_feature = Base Abstraction -_UI_Responsibility_base_Usage_feature = Base Usage -_UI_Send_base_Usage_feature = Base Usage -_UI_Service_base_Component_feature = Base Component -_UI_Specification_base_Classifier_feature = Base Classifier -_UI_Subsystem_base_Component_feature = Base Component -_UI_Trace_base_Abstraction_feature = Base Abstraction -_UI_Type_base_Class_feature = Base Class -_UI_Utility_base_Class_feature = Base Class -_UI_BuildComponent_base_Component_feature = Base Component -_UI_Metamodel_base_Model_feature = Base Model -_UI_SystemModel_base_Model_feature = Base Model -_UI_Unknown_feature = Unspecified - -_UI_FlowDirection_in_literal = in -_UI_FlowDirection_out_literal = out -_UI_FlowDirection_inout_literal = inout -_UI_FeatureDirection_provided_literal = provided -_UI_FeatureDirection_required_literal = required -_UI_FeatureDirection_providedRequired_literal = providedRequired -_UI_Viewpoint_type = Viewpoint -_UI_ElementGroup_orderedMemeber_feature = Ordered Memeber -_UI_Viewpoint_base_Class_feature = Base Class -_UI_Viewpoint_concern_feature = Concern -_UI_Viewpoint_concernList_feature = Concern List -_UI_Viewpoint_language_feature = Language -_UI_Viewpoint_method_feature = Method -_UI_Viewpoint_presentation_feature = Presentation -_UI_Viewpoint_purpose_feature = Purpose -_UI_Viewpoint_stakeholder_feature = Stakeholder -_UI_VerdictKind_error_literal = error -_UI_VerdictKind_fail_literal = fail -_UI_VerdictKind_inconclusive_literal = inconclusive -_UI_VerdictKind_pass_literal = pass
diff --git a/core/org.eclipse.papyrus.sysml14.edit/plugin.xml b/core/org.eclipse.papyrus.sysml14.edit/plugin.xml deleted file mode 100644 index 6b4557c..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/plugin.xml +++ /dev/null
@@ -1,119 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?eclipse version="3.0"?> - -<!-- - Copyright (c) 2015 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 ---> - -<plugin> - - <extension point="org.eclipse.emf.edit.itemProviderAdapterFactories"> - <!-- @generated SysML.profile --> - <factory - uri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Blocks" - class="org.eclipse.papyrus.sysml14.blocks.provider.BlocksItemProviderAdapterFactory" - supportedTypes= - "org.eclipse.emf.edit.provider.IEditingDomainItemProvider - org.eclipse.emf.edit.provider.IStructuredItemContentProvider - org.eclipse.emf.edit.provider.ITreeItemContentProvider - org.eclipse.emf.edit.provider.IItemLabelProvider - org.eclipse.emf.edit.provider.IItemPropertySource"/> - </extension> - - <extension point="org.eclipse.emf.edit.itemProviderAdapterFactories"> - <!-- @generated SysML.profile --> - <factory - uri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/PortsAndFlows" - class="org.eclipse.papyrus.sysml14.portsandflows.provider.PortsandflowsItemProviderAdapterFactory" - supportedTypes= - "org.eclipse.emf.edit.provider.IEditingDomainItemProvider - org.eclipse.emf.edit.provider.IStructuredItemContentProvider - org.eclipse.emf.edit.provider.ITreeItemContentProvider - org.eclipse.emf.edit.provider.IItemLabelProvider - org.eclipse.emf.edit.provider.IItemPropertySource"/> - </extension> - - <extension point="org.eclipse.emf.edit.itemProviderAdapterFactories"> - <!-- @generated SysML.profile --> - <factory - uri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Activities" - class="org.eclipse.papyrus.sysml14.activities.provider.ActivitiesItemProviderAdapterFactory" - supportedTypes= - "org.eclipse.emf.edit.provider.IEditingDomainItemProvider - org.eclipse.emf.edit.provider.IStructuredItemContentProvider - org.eclipse.emf.edit.provider.ITreeItemContentProvider - org.eclipse.emf.edit.provider.IItemLabelProvider - org.eclipse.emf.edit.provider.IItemPropertySource"/> - </extension> - - <extension point="org.eclipse.emf.edit.itemProviderAdapterFactories"> - <!-- @generated SysML.profile --> - <factory - uri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/ModelElements" - class="org.eclipse.papyrus.sysml14.modelelements.provider.ModelelementsItemProviderAdapterFactory" - supportedTypes= - "org.eclipse.emf.edit.provider.IEditingDomainItemProvider - org.eclipse.emf.edit.provider.IStructuredItemContentProvider - org.eclipse.emf.edit.provider.ITreeItemContentProvider - org.eclipse.emf.edit.provider.IItemLabelProvider - org.eclipse.emf.edit.provider.IItemPropertySource"/> - </extension> - - <extension point="org.eclipse.emf.edit.itemProviderAdapterFactories"> - <!-- @generated SysML.profile --> - <factory - uri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/ConstraintBlocks" - class="org.eclipse.papyrus.sysml14.constraintblocks.provider.ConstraintblocksItemProviderAdapterFactory" - supportedTypes= - "org.eclipse.emf.edit.provider.IEditingDomainItemProvider - org.eclipse.emf.edit.provider.IStructuredItemContentProvider - org.eclipse.emf.edit.provider.ITreeItemContentProvider - org.eclipse.emf.edit.provider.IItemLabelProvider - org.eclipse.emf.edit.provider.IItemPropertySource"/> - </extension> - - <extension point="org.eclipse.emf.edit.itemProviderAdapterFactories"> - <!-- @generated SysML.profile --> - <factory - uri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Allocations" - class="org.eclipse.papyrus.sysml14.allocations.provider.AllocationsItemProviderAdapterFactory" - supportedTypes= - "org.eclipse.emf.edit.provider.IEditingDomainItemProvider - org.eclipse.emf.edit.provider.IStructuredItemContentProvider - org.eclipse.emf.edit.provider.ITreeItemContentProvider - org.eclipse.emf.edit.provider.IItemLabelProvider - org.eclipse.emf.edit.provider.IItemPropertySource"/> - </extension> - - <extension point="org.eclipse.emf.edit.itemProviderAdapterFactories"> - <!-- @generated SysML.profile --> - <factory - uri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements" - class="org.eclipse.papyrus.sysml14.requirements.provider.RequirementsItemProviderAdapterFactory" - supportedTypes= - "org.eclipse.emf.edit.provider.IEditingDomainItemProvider - org.eclipse.emf.edit.provider.IStructuredItemContentProvider - org.eclipse.emf.edit.provider.ITreeItemContentProvider - org.eclipse.emf.edit.provider.IItemLabelProvider - org.eclipse.emf.edit.provider.IItemPropertySource"/> - </extension> - - <extension point="org.eclipse.emf.edit.itemProviderAdapterFactories"> - <!-- @generated SysML.profile --> - <factory - uri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/DeprecatedElements" - class="org.eclipse.papyrus.sysml14.deprecatedelements.provider.DeprecatedelementsItemProviderAdapterFactory" - supportedTypes= - "org.eclipse.emf.edit.provider.IEditingDomainItemProvider - org.eclipse.emf.edit.provider.IStructuredItemContentProvider - org.eclipse.emf.edit.provider.ITreeItemContentProvider - org.eclipse.emf.edit.provider.IItemLabelProvider - org.eclipse.emf.edit.provider.IItemPropertySource"/> - </extension> - -</plugin>
diff --git a/core/org.eclipse.papyrus.sysml14.edit/pom.xml b/core/org.eclipse.papyrus.sysml14.edit/pom.xml deleted file mode 100644 index 7c3da9d..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/pom.xml +++ /dev/null
@@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" -xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <artifactId>org.eclipse.papyrus.sysml14.core</artifactId> - <groupId>org.eclipse.papyrus.sysml</groupId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.edit</artifactId> - <packaging>eclipse-plugin</packaging> - <name>org.eclipse.papyrus.sysml14.edit</name> - <description>This plug-in has been generated from this file : /org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml14/resources/profile/SysML.profile.genmodel</description> -</project> \ No newline at end of file
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/activities/provider/ActivitiesItemProviderAdapterFactory.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/activities/provider/ActivitiesItemProviderAdapterFactory.java deleted file mode 100644 index 3a4983e..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/activities/provider/ActivitiesItemProviderAdapterFactory.java +++ /dev/null
@@ -1,377 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities.provider; - -import java.util.ArrayList; -import java.util.Collection; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.edit.provider.ChangeNotifier; -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.ComposedAdapterFactory; -import org.eclipse.emf.edit.provider.IChangeNotifier; -import org.eclipse.emf.edit.provider.IDisposable; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.INotifyChangedListener; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; - -import org.eclipse.papyrus.sysml14.activities.util.ActivitiesAdapterFactory; - -/** - * This is the factory that is used to provide the interfaces needed to support Viewers. - * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. - * The adapters also support Eclipse property sheets. - * Note that most of the adapters are shared among multiple instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class ActivitiesItemProviderAdapterFactory extends ActivitiesAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { - /** - * This keeps track of the root adapter factory that delegates to this adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ComposedAdapterFactory parentAdapterFactory; - - /** - * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected IChangeNotifier changeNotifier = new ChangeNotifier(); - - /** - * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Collection<Object> supportedTypes = new ArrayList<Object>(); - - /** - * This constructs an instance. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ActivitiesItemProviderAdapterFactory() { - supportedTypes.add(IEditingDomainItemProvider.class); - supportedTypes.add(IStructuredItemContentProvider.class); - supportedTypes.add(ITreeItemContentProvider.class); - supportedTypes.add(IItemLabelProvider.class); - supportedTypes.add(IItemPropertySource.class); - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.activities.Continuous} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ContinuousItemProvider continuousItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.activities.Continuous}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createContinuousAdapter() { - if (continuousItemProvider == null) { - continuousItemProvider = new ContinuousItemProvider(this); - } - - return continuousItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.activities.Rate} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected RateItemProvider rateItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.activities.Rate}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createRateAdapter() { - if (rateItemProvider == null) { - rateItemProvider = new RateItemProvider(this); - } - - return rateItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.activities.ControlOperator} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ControlOperatorItemProvider controlOperatorItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.activities.ControlOperator}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createControlOperatorAdapter() { - if (controlOperatorItemProvider == null) { - controlOperatorItemProvider = new ControlOperatorItemProvider(this); - } - - return controlOperatorItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.activities.Discrete} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected DiscreteItemProvider discreteItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.activities.Discrete}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createDiscreteAdapter() { - if (discreteItemProvider == null) { - discreteItemProvider = new DiscreteItemProvider(this); - } - - return discreteItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.activities.NoBuffer} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected NoBufferItemProvider noBufferItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.activities.NoBuffer}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createNoBufferAdapter() { - if (noBufferItemProvider == null) { - noBufferItemProvider = new NoBufferItemProvider(this); - } - - return noBufferItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.activities.Optional} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected OptionalItemProvider optionalItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.activities.Optional}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createOptionalAdapter() { - if (optionalItemProvider == null) { - optionalItemProvider = new OptionalItemProvider(this); - } - - return optionalItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.activities.Overwrite} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected OverwriteItemProvider overwriteItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.activities.Overwrite}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createOverwriteAdapter() { - if (overwriteItemProvider == null) { - overwriteItemProvider = new OverwriteItemProvider(this); - } - - return overwriteItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.activities.Probability} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ProbabilityItemProvider probabilityItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.activities.Probability}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createProbabilityAdapter() { - if (probabilityItemProvider == null) { - probabilityItemProvider = new ProbabilityItemProvider(this); - } - - return probabilityItemProvider; - } - - /** - * This returns the root adapter factory that contains this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ComposeableAdapterFactory getRootAdapterFactory() { - return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); - } - - /** - * This sets the composed adapter factory that contains this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { - this.parentAdapterFactory = parentAdapterFactory; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean isFactoryForType(Object type) { - return supportedTypes.contains(type) || super.isFactoryForType(type); - } - - /** - * This implementation substitutes the factory itself as the key for the adapter. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter adapt(Notifier notifier, Object type) { - return super.adapt(notifier, this); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object adapt(Object object, Object type) { - if (isFactoryForType(type)) { - Object adapter = super.adapt(object, type); - if (!(type instanceof Class<?>) || (((Class<?>)type).isInstance(adapter))) { - return adapter; - } - } - - return null; - } - - /** - * This adds a listener. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void addListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.addListener(notifyChangedListener); - } - - /** - * This removes a listener. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void removeListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.removeListener(notifyChangedListener); - } - - /** - * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void fireNotifyChanged(Notification notification) { - changeNotifier.fireNotifyChanged(notification); - - if (parentAdapterFactory != null) { - parentAdapterFactory.fireNotifyChanged(notification); - } - } - - /** - * This disposes all of the item providers created by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void dispose() { - if (continuousItemProvider != null) continuousItemProvider.dispose(); - if (rateItemProvider != null) rateItemProvider.dispose(); - if (controlOperatorItemProvider != null) controlOperatorItemProvider.dispose(); - if (discreteItemProvider != null) discreteItemProvider.dispose(); - if (noBufferItemProvider != null) noBufferItemProvider.dispose(); - if (optionalItemProvider != null) optionalItemProvider.dispose(); - if (overwriteItemProvider != null) overwriteItemProvider.dispose(); - if (probabilityItemProvider != null) probabilityItemProvider.dispose(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/activities/provider/ContinuousItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/activities/provider/ContinuousItemProvider.java deleted file mode 100644 index 14b77de..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/activities/provider/ContinuousItemProvider.java +++ /dev/null
@@ -1,104 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.activities.Continuous} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class ContinuousItemProvider extends RateItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ContinuousItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * This returns Continuous.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Continuous")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_Continuous_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/activities/provider/ControlOperatorItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/activities/provider/ControlOperatorItemProvider.java deleted file mode 100644 index 8c9d450..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/activities/provider/ControlOperatorItemProvider.java +++ /dev/null
@@ -1,181 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.activities.ControlOperator} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class ControlOperatorItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ControlOperatorItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_BehaviorPropertyDescriptor(object); - addBase_OperationPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Behavior feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_BehaviorPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ControlOperator_base_Behavior_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ControlOperator_base_Behavior_feature", "_UI_ControlOperator_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ActivitiesPackage.Literals.CONTROL_OPERATOR__BASE_BEHAVIOR, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Base Operation feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_OperationPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ControlOperator_base_Operation_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ControlOperator_base_Operation_feature", "_UI_ControlOperator_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ActivitiesPackage.Literals.CONTROL_OPERATOR__BASE_OPERATION, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns ControlOperator.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/ControlOperator")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_ControlOperator_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/activities/provider/DiscreteItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/activities/provider/DiscreteItemProvider.java deleted file mode 100644 index 935df89..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/activities/provider/DiscreteItemProvider.java +++ /dev/null
@@ -1,104 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.activities.Discrete} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class DiscreteItemProvider extends RateItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DiscreteItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * This returns Discrete.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Discrete")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_Discrete_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/activities/provider/NoBufferItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/activities/provider/NoBufferItemProvider.java deleted file mode 100644 index e267aab..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/activities/provider/NoBufferItemProvider.java +++ /dev/null
@@ -1,158 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.activities.NoBuffer} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class NoBufferItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NoBufferItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_ObjectNodePropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Object Node feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_ObjectNodePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_NoBuffer_base_ObjectNode_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_NoBuffer_base_ObjectNode_feature", "_UI_NoBuffer_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ActivitiesPackage.Literals.NO_BUFFER__BASE_OBJECT_NODE, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns NoBuffer.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/NoBuffer")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_NoBuffer_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/activities/provider/OptionalItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/activities/provider/OptionalItemProvider.java deleted file mode 100644 index b24547c..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/activities/provider/OptionalItemProvider.java +++ /dev/null
@@ -1,158 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.activities.Optional} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class OptionalItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public OptionalItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_ParameterPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Parameter feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_ParameterPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Optional_base_Parameter_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Optional_base_Parameter_feature", "_UI_Optional_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ActivitiesPackage.Literals.OPTIONAL__BASE_PARAMETER, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns Optional.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Optional")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_Optional_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/activities/provider/OverwriteItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/activities/provider/OverwriteItemProvider.java deleted file mode 100644 index 6873cd6..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/activities/provider/OverwriteItemProvider.java +++ /dev/null
@@ -1,158 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.activities.Overwrite} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class OverwriteItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public OverwriteItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_ObjectNodePropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Object Node feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_ObjectNodePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Overwrite_base_ObjectNode_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Overwrite_base_ObjectNode_feature", "_UI_Overwrite_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ActivitiesPackage.Literals.OVERWRITE__BASE_OBJECT_NODE, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns Overwrite.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Overwrite")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_Overwrite_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/activities/provider/ProbabilityItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/activities/provider/ProbabilityItemProvider.java deleted file mode 100644 index c28c59d..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/activities/provider/ProbabilityItemProvider.java +++ /dev/null
@@ -1,204 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.activities.Probability} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class ProbabilityItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ProbabilityItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_ActivityEdgePropertyDescriptor(object); - addBase_ParameterSetPropertyDescriptor(object); - addProbabilityPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Activity Edge feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_ActivityEdgePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Probability_base_ActivityEdge_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Probability_base_ActivityEdge_feature", "_UI_Probability_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ActivitiesPackage.Literals.PROBABILITY__BASE_ACTIVITY_EDGE, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Base Parameter Set feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_ParameterSetPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Probability_base_ParameterSet_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Probability_base_ParameterSet_feature", "_UI_Probability_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ActivitiesPackage.Literals.PROBABILITY__BASE_PARAMETER_SET, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Probability feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addProbabilityPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Probability_probability_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Probability_probability_feature", "_UI_Probability_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ActivitiesPackage.Literals.PROBABILITY__PROBABILITY, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns Probability.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Probability")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_Probability_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/activities/provider/RateItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/activities/provider/RateItemProvider.java deleted file mode 100644 index 6c68f23..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/activities/provider/RateItemProvider.java +++ /dev/null
@@ -1,227 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.activities.Rate} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class RateItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RateItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_ActivityEdgePropertyDescriptor(object); - addBase_ObjectNodePropertyDescriptor(object); - addBase_ParameterPropertyDescriptor(object); - addRatePropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Activity Edge feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_ActivityEdgePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Rate_base_ActivityEdge_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Rate_base_ActivityEdge_feature", "_UI_Rate_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ActivitiesPackage.Literals.RATE__BASE_ACTIVITY_EDGE, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Base Object Node feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_ObjectNodePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Rate_base_ObjectNode_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Rate_base_ObjectNode_feature", "_UI_Rate_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ActivitiesPackage.Literals.RATE__BASE_OBJECT_NODE, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Base Parameter feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_ParameterPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Rate_base_Parameter_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Rate_base_Parameter_feature", "_UI_Rate_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ActivitiesPackage.Literals.RATE__BASE_PARAMETER, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Rate feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addRatePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Rate_rate_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Rate_rate_feature", "_UI_Rate_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ActivitiesPackage.Literals.RATE__RATE, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns Rate.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Rate")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_Rate_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/allocations/provider/AllocateActivityPartitionItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/allocations/provider/AllocateActivityPartitionItemProvider.java deleted file mode 100644 index c8f3966..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/allocations/provider/AllocateActivityPartitionItemProvider.java +++ /dev/null
@@ -1,158 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.allocations.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.allocations.AllocationsPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.allocations.AllocateActivityPartition} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class AllocateActivityPartitionItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AllocateActivityPartitionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_ActivityPartitionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Activity Partition feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_ActivityPartitionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_AllocateActivityPartition_base_ActivityPartition_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_AllocateActivityPartition_base_ActivityPartition_feature", "_UI_AllocateActivityPartition_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - AllocationsPackage.Literals.ALLOCATE_ACTIVITY_PARTITION__BASE_ACTIVITY_PARTITION, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns AllocateActivityPartition.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/AllocateActivityPartition")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_AllocateActivityPartition_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/allocations/provider/AllocateItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/allocations/provider/AllocateItemProvider.java deleted file mode 100644 index 10ae05e..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/allocations/provider/AllocateItemProvider.java +++ /dev/null
@@ -1,147 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.allocations.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; - -import org.eclipse.papyrus.sysml14.allocations.AllocationsPackage; - -import org.eclipse.papyrus.sysml14.blocks.provider.DirectedRelationshipPropertyPathItemProvider; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.allocations.Allocate} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class AllocateItemProvider extends DirectedRelationshipPropertyPathItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AllocateItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_AbstractionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Abstraction feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_AbstractionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Allocate_base_Abstraction_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Allocate_base_Abstraction_feature", "_UI_Allocate_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - AllocationsPackage.Literals.ALLOCATE__BASE_ABSTRACTION, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns Allocate.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Allocate")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_Allocate_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/allocations/provider/AllocationsItemProviderAdapterFactory.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/allocations/provider/AllocationsItemProviderAdapterFactory.java deleted file mode 100644 index d9bcf55..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/allocations/provider/AllocationsItemProviderAdapterFactory.java +++ /dev/null
@@ -1,233 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.allocations.provider; - -import java.util.ArrayList; -import java.util.Collection; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.edit.provider.ChangeNotifier; -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.ComposedAdapterFactory; -import org.eclipse.emf.edit.provider.IChangeNotifier; -import org.eclipse.emf.edit.provider.IDisposable; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.INotifyChangedListener; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; - -import org.eclipse.papyrus.sysml14.allocations.util.AllocationsAdapterFactory; - -/** - * This is the factory that is used to provide the interfaces needed to support Viewers. - * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. - * The adapters also support Eclipse property sheets. - * Note that most of the adapters are shared among multiple instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class AllocationsItemProviderAdapterFactory extends AllocationsAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { - /** - * This keeps track of the root adapter factory that delegates to this adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ComposedAdapterFactory parentAdapterFactory; - - /** - * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected IChangeNotifier changeNotifier = new ChangeNotifier(); - - /** - * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Collection<Object> supportedTypes = new ArrayList<Object>(); - - /** - * This constructs an instance. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AllocationsItemProviderAdapterFactory() { - supportedTypes.add(IEditingDomainItemProvider.class); - supportedTypes.add(IStructuredItemContentProvider.class); - supportedTypes.add(ITreeItemContentProvider.class); - supportedTypes.add(IItemLabelProvider.class); - supportedTypes.add(IItemPropertySource.class); - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.allocations.Allocate} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected AllocateItemProvider allocateItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.allocations.Allocate}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createAllocateAdapter() { - if (allocateItemProvider == null) { - allocateItemProvider = new AllocateItemProvider(this); - } - - return allocateItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.allocations.AllocateActivityPartition} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected AllocateActivityPartitionItemProvider allocateActivityPartitionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.allocations.AllocateActivityPartition}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createAllocateActivityPartitionAdapter() { - if (allocateActivityPartitionItemProvider == null) { - allocateActivityPartitionItemProvider = new AllocateActivityPartitionItemProvider(this); - } - - return allocateActivityPartitionItemProvider; - } - - /** - * This returns the root adapter factory that contains this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ComposeableAdapterFactory getRootAdapterFactory() { - return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); - } - - /** - * This sets the composed adapter factory that contains this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { - this.parentAdapterFactory = parentAdapterFactory; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean isFactoryForType(Object type) { - return supportedTypes.contains(type) || super.isFactoryForType(type); - } - - /** - * This implementation substitutes the factory itself as the key for the adapter. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter adapt(Notifier notifier, Object type) { - return super.adapt(notifier, this); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object adapt(Object object, Object type) { - if (isFactoryForType(type)) { - Object adapter = super.adapt(object, type); - if (!(type instanceof Class<?>) || (((Class<?>)type).isInstance(adapter))) { - return adapter; - } - } - - return null; - } - - /** - * This adds a listener. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void addListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.addListener(notifyChangedListener); - } - - /** - * This removes a listener. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void removeListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.removeListener(notifyChangedListener); - } - - /** - * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void fireNotifyChanged(Notification notification) { - changeNotifier.fireNotifyChanged(notification); - - if (parentAdapterFactory != null) { - parentAdapterFactory.fireNotifyChanged(notification); - } - } - - /** - * This disposes all of the item providers created by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void dispose() { - if (allocateItemProvider != null) allocateItemProvider.dispose(); - if (allocateActivityPartitionItemProvider != null) allocateActivityPartitionItemProvider.dispose(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/AdjunctPropertyItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/AdjunctPropertyItemProvider.java deleted file mode 100644 index 86a11b0..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/AdjunctPropertyItemProvider.java +++ /dev/null
@@ -1,181 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.blocks.AdjunctProperty} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class AdjunctPropertyItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AdjunctPropertyItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_PropertyPropertyDescriptor(object); - addPrincipalPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Property feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_PropertyPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_AdjunctProperty_base_Property_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_AdjunctProperty_base_Property_feature", "_UI_AdjunctProperty_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.ADJUNCT_PROPERTY__BASE_PROPERTY, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Principal feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addPrincipalPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_AdjunctProperty_principal_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_AdjunctProperty_principal_feature", "_UI_AdjunctProperty_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.ADJUNCT_PROPERTY__PRINCIPAL, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns AdjunctProperty.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/AdjunctProperty")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_AdjunctProperty_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/BindingConnectorItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/BindingConnectorItemProvider.java deleted file mode 100644 index 723e2ce..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/BindingConnectorItemProvider.java +++ /dev/null
@@ -1,158 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.blocks.BindingConnector} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class BindingConnectorItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BindingConnectorItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_ConnectorPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Connector feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_ConnectorPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_BindingConnector_base_Connector_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_BindingConnector_base_Connector_feature", "_UI_BindingConnector_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.BINDING_CONNECTOR__BASE_CONNECTOR, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns BindingConnector.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/BindingConnector")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_BindingConnector_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/BlockItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/BlockItemProvider.java deleted file mode 100644 index d443c12..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/BlockItemProvider.java +++ /dev/null
@@ -1,191 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -import org.eclipse.papyrus.sysml14.blocks.Block; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.blocks.Block} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class BlockItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BlockItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_ClassPropertyDescriptor(object); - addIsEncapsulatedPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Class feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_ClassPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Block_base_Class_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Block_base_Class_feature", "_UI_Block_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.BLOCK__BASE_CLASS, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Is Encapsulated feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addIsEncapsulatedPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Block_isEncapsulated_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Block_isEncapsulated_feature", "_UI_Block_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.BLOCK__IS_ENCAPSULATED, - true, - false, - false, - ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, - null, - null)); - } - - /** - * This returns Block.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Block")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - Block block = (Block)object; - return getString("_UI_Block_type") + " " + block.isEncapsulated(); //$NON-NLS-1$ //$NON-NLS-2$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(Block.class)) { - case BlocksPackage.BLOCK__IS_ENCAPSULATED: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/BlocksItemProviderAdapterFactory.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/BlocksItemProviderAdapterFactory.java deleted file mode 100644 index 2d3a5da..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/BlocksItemProviderAdapterFactory.java +++ /dev/null
@@ -1,473 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.provider; - -import java.util.ArrayList; -import java.util.Collection; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.edit.provider.ChangeNotifier; -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.ComposedAdapterFactory; -import org.eclipse.emf.edit.provider.IChangeNotifier; -import org.eclipse.emf.edit.provider.IDisposable; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.INotifyChangedListener; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; - -import org.eclipse.papyrus.sysml14.blocks.util.BlocksAdapterFactory; - -/** - * This is the factory that is used to provide the interfaces needed to support Viewers. - * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. - * The adapters also support Eclipse property sheets. - * Note that most of the adapters are shared among multiple instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class BlocksItemProviderAdapterFactory extends BlocksAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { - /** - * This keeps track of the root adapter factory that delegates to this adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ComposedAdapterFactory parentAdapterFactory; - - /** - * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected IChangeNotifier changeNotifier = new ChangeNotifier(); - - /** - * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Collection<Object> supportedTypes = new ArrayList<Object>(); - - /** - * This constructs an instance. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BlocksItemProviderAdapterFactory() { - supportedTypes.add(IEditingDomainItemProvider.class); - supportedTypes.add(IStructuredItemContentProvider.class); - supportedTypes.add(ITreeItemContentProvider.class); - supportedTypes.add(IItemLabelProvider.class); - supportedTypes.add(IItemPropertySource.class); - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.blocks.AdjunctProperty} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected AdjunctPropertyItemProvider adjunctPropertyItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.blocks.AdjunctProperty}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createAdjunctPropertyAdapter() { - if (adjunctPropertyItemProvider == null) { - adjunctPropertyItemProvider = new AdjunctPropertyItemProvider(this); - } - - return adjunctPropertyItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.blocks.BindingConnector} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected BindingConnectorItemProvider bindingConnectorItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.blocks.BindingConnector}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createBindingConnectorAdapter() { - if (bindingConnectorItemProvider == null) { - bindingConnectorItemProvider = new BindingConnectorItemProvider(this); - } - - return bindingConnectorItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.blocks.Block} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected BlockItemProvider blockItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.blocks.Block}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createBlockAdapter() { - if (blockItemProvider == null) { - blockItemProvider = new BlockItemProvider(this); - } - - return blockItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.blocks.BoundReference} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected BoundReferenceItemProvider boundReferenceItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.blocks.BoundReference}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createBoundReferenceAdapter() { - if (boundReferenceItemProvider == null) { - boundReferenceItemProvider = new BoundReferenceItemProvider(this); - } - - return boundReferenceItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.blocks.EndPathMultiplicity} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EndPathMultiplicityItemProvider endPathMultiplicityItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.blocks.EndPathMultiplicity}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createEndPathMultiplicityAdapter() { - if (endPathMultiplicityItemProvider == null) { - endPathMultiplicityItemProvider = new EndPathMultiplicityItemProvider(this); - } - - return endPathMultiplicityItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.blocks.ClassifierBehaviorProperty} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ClassifierBehaviorPropertyItemProvider classifierBehaviorPropertyItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.blocks.ClassifierBehaviorProperty}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createClassifierBehaviorPropertyAdapter() { - if (classifierBehaviorPropertyItemProvider == null) { - classifierBehaviorPropertyItemProvider = new ClassifierBehaviorPropertyItemProvider(this); - } - - return classifierBehaviorPropertyItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.blocks.ConnectorProperty} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ConnectorPropertyItemProvider connectorPropertyItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.blocks.ConnectorProperty}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createConnectorPropertyAdapter() { - if (connectorPropertyItemProvider == null) { - connectorPropertyItemProvider = new ConnectorPropertyItemProvider(this); - } - - return connectorPropertyItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.blocks.DistributedProperty} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected DistributedPropertyItemProvider distributedPropertyItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.blocks.DistributedProperty}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createDistributedPropertyAdapter() { - if (distributedPropertyItemProvider == null) { - distributedPropertyItemProvider = new DistributedPropertyItemProvider(this); - } - - return distributedPropertyItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.blocks.NestedConnectorEnd} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected NestedConnectorEndItemProvider nestedConnectorEndItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.blocks.NestedConnectorEnd}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createNestedConnectorEndAdapter() { - if (nestedConnectorEndItemProvider == null) { - nestedConnectorEndItemProvider = new NestedConnectorEndItemProvider(this); - } - - return nestedConnectorEndItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.blocks.ParticipantProperty} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ParticipantPropertyItemProvider participantPropertyItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.blocks.ParticipantProperty}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createParticipantPropertyAdapter() { - if (participantPropertyItemProvider == null) { - participantPropertyItemProvider = new ParticipantPropertyItemProvider(this); - } - - return participantPropertyItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.blocks.PropertySpecificType} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PropertySpecificTypeItemProvider propertySpecificTypeItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.blocks.PropertySpecificType}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createPropertySpecificTypeAdapter() { - if (propertySpecificTypeItemProvider == null) { - propertySpecificTypeItemProvider = new PropertySpecificTypeItemProvider(this); - } - - return propertySpecificTypeItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.blocks.ValueType} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ValueTypeItemProvider valueTypeItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.blocks.ValueType}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createValueTypeAdapter() { - if (valueTypeItemProvider == null) { - valueTypeItemProvider = new ValueTypeItemProvider(this); - } - - return valueTypeItemProvider; - } - - /** - * This returns the root adapter factory that contains this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ComposeableAdapterFactory getRootAdapterFactory() { - return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); - } - - /** - * This sets the composed adapter factory that contains this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { - this.parentAdapterFactory = parentAdapterFactory; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean isFactoryForType(Object type) { - return supportedTypes.contains(type) || super.isFactoryForType(type); - } - - /** - * This implementation substitutes the factory itself as the key for the adapter. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter adapt(Notifier notifier, Object type) { - return super.adapt(notifier, this); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object adapt(Object object, Object type) { - if (isFactoryForType(type)) { - Object adapter = super.adapt(object, type); - if (!(type instanceof Class<?>) || (((Class<?>)type).isInstance(adapter))) { - return adapter; - } - } - - return null; - } - - /** - * This adds a listener. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void addListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.addListener(notifyChangedListener); - } - - /** - * This removes a listener. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void removeListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.removeListener(notifyChangedListener); - } - - /** - * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void fireNotifyChanged(Notification notification) { - changeNotifier.fireNotifyChanged(notification); - - if (parentAdapterFactory != null) { - parentAdapterFactory.fireNotifyChanged(notification); - } - } - - /** - * This disposes all of the item providers created by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void dispose() { - if (adjunctPropertyItemProvider != null) adjunctPropertyItemProvider.dispose(); - if (bindingConnectorItemProvider != null) bindingConnectorItemProvider.dispose(); - if (blockItemProvider != null) blockItemProvider.dispose(); - if (boundReferenceItemProvider != null) boundReferenceItemProvider.dispose(); - if (endPathMultiplicityItemProvider != null) endPathMultiplicityItemProvider.dispose(); - if (classifierBehaviorPropertyItemProvider != null) classifierBehaviorPropertyItemProvider.dispose(); - if (connectorPropertyItemProvider != null) connectorPropertyItemProvider.dispose(); - if (distributedPropertyItemProvider != null) distributedPropertyItemProvider.dispose(); - if (nestedConnectorEndItemProvider != null) nestedConnectorEndItemProvider.dispose(); - if (participantPropertyItemProvider != null) participantPropertyItemProvider.dispose(); - if (propertySpecificTypeItemProvider != null) propertySpecificTypeItemProvider.dispose(); - if (valueTypeItemProvider != null) valueTypeItemProvider.dispose(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/BoundReferenceItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/BoundReferenceItemProvider.java deleted file mode 100644 index 56202a0..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/BoundReferenceItemProvider.java +++ /dev/null
@@ -1,155 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.blocks.BoundReference; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.blocks.BoundReference} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class BoundReferenceItemProvider extends EndPathMultiplicityItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BoundReferenceItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBindingPathPropertyDescriptor(object); - addBoundEndPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Binding Path feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBindingPathPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_BoundReference_bindingPath_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_BoundReference_bindingPath_feature", "_UI_BoundReference_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.BOUND_REFERENCE__BINDING_PATH, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Bound End feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBoundEndPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_BoundReference_boundEnd_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_BoundReference_boundEnd_feature", "_UI_BoundReference_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.BOUND_REFERENCE__BOUND_END, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns BoundReference.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/BoundReference")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - BoundReference boundReference = (BoundReference)object; - return getString("_UI_BoundReference_type") + " " + boundReference.getLower(); //$NON-NLS-1$ //$NON-NLS-2$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/ClassifierBehaviorPropertyItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/ClassifierBehaviorPropertyItemProvider.java deleted file mode 100644 index 5a42466..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/ClassifierBehaviorPropertyItemProvider.java +++ /dev/null
@@ -1,158 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.blocks.ClassifierBehaviorProperty} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class ClassifierBehaviorPropertyItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ClassifierBehaviorPropertyItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_PropertyPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Property feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_PropertyPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ClassifierBehaviorProperty_base_Property_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ClassifierBehaviorProperty_base_Property_feature", "_UI_ClassifierBehaviorProperty_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.CLASSIFIER_BEHAVIOR_PROPERTY__BASE_PROPERTY, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns ClassifierBehaviorProperty.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/ClassifierBehaviorProperty")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_ClassifierBehaviorProperty_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/ConnectorPropertyItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/ConnectorPropertyItemProvider.java deleted file mode 100644 index 4c5e366..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/ConnectorPropertyItemProvider.java +++ /dev/null
@@ -1,181 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.blocks.ConnectorProperty} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class ConnectorPropertyItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ConnectorPropertyItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_PropertyPropertyDescriptor(object); - addConnectorPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Property feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_PropertyPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ConnectorProperty_base_Property_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ConnectorProperty_base_Property_feature", "_UI_ConnectorProperty_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.CONNECTOR_PROPERTY__BASE_PROPERTY, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Connector feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addConnectorPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ConnectorProperty_connector_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ConnectorProperty_connector_feature", "_UI_ConnectorProperty_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.CONNECTOR_PROPERTY__CONNECTOR, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns ConnectorProperty.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/ConnectorProperty")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_ConnectorProperty_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/DirectedRelationshipPropertyPathItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/DirectedRelationshipPropertyPathItemProvider.java deleted file mode 100644 index 9b8a631..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/DirectedRelationshipPropertyPathItemProvider.java +++ /dev/null
@@ -1,239 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class DirectedRelationshipPropertyPathItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DirectedRelationshipPropertyPathItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_DirectedRelationshipPropertyDescriptor(object); - addSourceContextPropertyDescriptor(object); - addSourcePropertyPathPropertyDescriptor(object); - addTargetContextPropertyDescriptor(object); - addTargetPropertyPathPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Directed Relationship feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_DirectedRelationshipPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_DirectedRelationshipPropertyPath_base_DirectedRelationship_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_DirectedRelationshipPropertyPath_base_DirectedRelationship_feature", "_UI_DirectedRelationshipPropertyPath_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.DIRECTED_RELATIONSHIP_PROPERTY_PATH__BASE_DIRECTED_RELATIONSHIP, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Source Context feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addSourceContextPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_DirectedRelationshipPropertyPath_sourceContext_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_DirectedRelationshipPropertyPath_sourceContext_feature", "_UI_DirectedRelationshipPropertyPath_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_CONTEXT, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Source Property Path feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addSourcePropertyPathPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_DirectedRelationshipPropertyPath_sourcePropertyPath_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_DirectedRelationshipPropertyPath_sourcePropertyPath_feature", "_UI_DirectedRelationshipPropertyPath_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_PROPERTY_PATH, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Target Context feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addTargetContextPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_DirectedRelationshipPropertyPath_targetContext_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_DirectedRelationshipPropertyPath_targetContext_feature", "_UI_DirectedRelationshipPropertyPath_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_CONTEXT, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Target Property Path feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addTargetPropertyPathPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_DirectedRelationshipPropertyPath_targetPropertyPath_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_DirectedRelationshipPropertyPath_targetPropertyPath_feature", "_UI_DirectedRelationshipPropertyPath_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_PROPERTY_PATH, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_DirectedRelationshipPropertyPath_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/DistributedPropertyItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/DistributedPropertyItemProvider.java deleted file mode 100644 index 975ca8f..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/DistributedPropertyItemProvider.java +++ /dev/null
@@ -1,158 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.blocks.DistributedProperty} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class DistributedPropertyItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DistributedPropertyItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_PropertyPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Property feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_PropertyPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_DistributedProperty_base_Property_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_DistributedProperty_base_Property_feature", "_UI_DistributedProperty_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.DISTRIBUTED_PROPERTY__BASE_PROPERTY, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns DistributedProperty.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/DistributedProperty")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_DistributedProperty_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/ElementPropertyPathItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/ElementPropertyPathItemProvider.java deleted file mode 100644 index 37b786b..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/ElementPropertyPathItemProvider.java +++ /dev/null
@@ -1,170 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.blocks.ElementPropertyPath} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class ElementPropertyPathItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ElementPropertyPathItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_ElementPropertyDescriptor(object); - addPropertyPathPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Element feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_ElementPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ElementPropertyPath_base_Element_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ElementPropertyPath_base_Element_feature", "_UI_ElementPropertyPath_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.ELEMENT_PROPERTY_PATH__BASE_ELEMENT, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Property Path feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addPropertyPathPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ElementPropertyPath_propertyPath_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ElementPropertyPath_propertyPath_feature", "_UI_ElementPropertyPath_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.ELEMENT_PROPERTY_PATH__PROPERTY_PATH, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_ElementPropertyPath_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/EndPathMultiplicityItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/EndPathMultiplicityItemProvider.java deleted file mode 100644 index 596f189..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/EndPathMultiplicityItemProvider.java +++ /dev/null
@@ -1,215 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.blocks.EndPathMultiplicity; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.blocks.EndPathMultiplicity} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class EndPathMultiplicityItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EndPathMultiplicityItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_PropertyPropertyDescriptor(object); - addLowerPropertyDescriptor(object); - addUpperPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Property feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_PropertyPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_EndPathMultiplicity_base_Property_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EndPathMultiplicity_base_Property_feature", "_UI_EndPathMultiplicity_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.END_PATH_MULTIPLICITY__BASE_PROPERTY, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Lower feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addLowerPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_EndPathMultiplicity_lower_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EndPathMultiplicity_lower_feature", "_UI_EndPathMultiplicity_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.END_PATH_MULTIPLICITY__LOWER, - true, - false, - false, - ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, - null, - null)); - } - - /** - * This adds a property descriptor for the Upper feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addUpperPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_EndPathMultiplicity_upper_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_EndPathMultiplicity_upper_feature", "_UI_EndPathMultiplicity_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.END_PATH_MULTIPLICITY__UPPER, - true, - false, - false, - ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, - null, - null)); - } - - /** - * This returns EndPathMultiplicity.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/EndPathMultiplicity")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - EndPathMultiplicity endPathMultiplicity = (EndPathMultiplicity)object; - return getString("_UI_EndPathMultiplicity_type") + " " + endPathMultiplicity.getLower(); //$NON-NLS-1$ //$NON-NLS-2$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(EndPathMultiplicity.class)) { - case BlocksPackage.END_PATH_MULTIPLICITY__LOWER: - case BlocksPackage.END_PATH_MULTIPLICITY__UPPER: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/NestedConnectorEndItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/NestedConnectorEndItemProvider.java deleted file mode 100644 index 282665f..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/NestedConnectorEndItemProvider.java +++ /dev/null
@@ -1,130 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.blocks.NestedConnectorEnd} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class NestedConnectorEndItemProvider extends ElementPropertyPathItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NestedConnectorEndItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_ConnectorEndPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Connector End feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_ConnectorEndPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_NestedConnectorEnd_base_ConnectorEnd_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_NestedConnectorEnd_base_ConnectorEnd_feature", "_UI_NestedConnectorEnd_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.NESTED_CONNECTOR_END__BASE_CONNECTOR_END, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns NestedConnectorEnd.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/NestedConnectorEnd")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_NestedConnectorEnd_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/ParticipantPropertyItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/ParticipantPropertyItemProvider.java deleted file mode 100644 index cb2bdb3..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/ParticipantPropertyItemProvider.java +++ /dev/null
@@ -1,181 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.blocks.ParticipantProperty} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class ParticipantPropertyItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ParticipantPropertyItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_PropertyPropertyDescriptor(object); - addEndPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Property feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_PropertyPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ParticipantProperty_base_Property_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ParticipantProperty_base_Property_feature", "_UI_ParticipantProperty_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.PARTICIPANT_PROPERTY__BASE_PROPERTY, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the End feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addEndPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ParticipantProperty_end_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ParticipantProperty_end_feature", "_UI_ParticipantProperty_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.PARTICIPANT_PROPERTY__END, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns ParticipantProperty.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/ParticipantProperty")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_ParticipantProperty_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/PropertySpecificTypeItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/PropertySpecificTypeItemProvider.java deleted file mode 100644 index 2e846f5..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/PropertySpecificTypeItemProvider.java +++ /dev/null
@@ -1,158 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.blocks.PropertySpecificType} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class PropertySpecificTypeItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PropertySpecificTypeItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_ClassifierPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Classifier feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_ClassifierPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_PropertySpecificType_base_Classifier_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_PropertySpecificType_base_Classifier_feature", "_UI_PropertySpecificType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.PROPERTY_SPECIFIC_TYPE__BASE_CLASSIFIER, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns PropertySpecificType.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/PropertySpecificType")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_PropertySpecificType_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/ValueTypeItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/ValueTypeItemProvider.java deleted file mode 100644 index 8f6f5b3..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/blocks/provider/ValueTypeItemProvider.java +++ /dev/null
@@ -1,204 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.blocks.ValueType} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class ValueTypeItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ValueTypeItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_DataTypePropertyDescriptor(object); - addQuantityKindPropertyDescriptor(object); - addUnitPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Data Type feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_DataTypePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ValueType_base_DataType_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ValueType_base_DataType_feature", "_UI_ValueType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.VALUE_TYPE__BASE_DATA_TYPE, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Quantity Kind feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addQuantityKindPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ValueType_quantityKind_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ValueType_quantityKind_feature", "_UI_ValueType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.VALUE_TYPE__QUANTITY_KIND, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Unit feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addUnitPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ValueType_unit_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ValueType_unit_feature", "_UI_ValueType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - BlocksPackage.Literals.VALUE_TYPE__UNIT, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns ValueType.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/ValueType")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_ValueType_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/provider/ConstraintBlockItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/provider/ConstraintBlockItemProvider.java deleted file mode 100644 index 6f085a1..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/provider/ConstraintBlockItemProvider.java +++ /dev/null
@@ -1,124 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.constraintblocks.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; - -import org.eclipse.papyrus.sysml14.blocks.provider.BlockItemProvider; - -import org.eclipse.papyrus.sysml14.constraintblocks.ConstraintBlock; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.constraintblocks.ConstraintBlock} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class ConstraintBlockItemProvider extends BlockItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ConstraintBlockItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * This returns ConstraintBlock.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/ConstraintBlock")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - ConstraintBlock constraintBlock = (ConstraintBlock)object; - return getString("_UI_ConstraintBlock_type") + " " + constraintBlock.isEncapsulated(); //$NON-NLS-1$ //$NON-NLS-2$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/provider/ConstraintblocksItemProviderAdapterFactory.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/provider/ConstraintblocksItemProviderAdapterFactory.java deleted file mode 100644 index 89e8d3a..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/provider/ConstraintblocksItemProviderAdapterFactory.java +++ /dev/null
@@ -1,209 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.constraintblocks.provider; - -import java.util.ArrayList; -import java.util.Collection; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.edit.provider.ChangeNotifier; -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.ComposedAdapterFactory; -import org.eclipse.emf.edit.provider.IChangeNotifier; -import org.eclipse.emf.edit.provider.IDisposable; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.INotifyChangedListener; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; - -import org.eclipse.papyrus.sysml14.constraintblocks.util.ConstraintblocksAdapterFactory; - -/** - * This is the factory that is used to provide the interfaces needed to support Viewers. - * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. - * The adapters also support Eclipse property sheets. - * Note that most of the adapters are shared among multiple instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class ConstraintblocksItemProviderAdapterFactory extends ConstraintblocksAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { - /** - * This keeps track of the root adapter factory that delegates to this adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ComposedAdapterFactory parentAdapterFactory; - - /** - * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected IChangeNotifier changeNotifier = new ChangeNotifier(); - - /** - * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Collection<Object> supportedTypes = new ArrayList<Object>(); - - /** - * This constructs an instance. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ConstraintblocksItemProviderAdapterFactory() { - supportedTypes.add(IEditingDomainItemProvider.class); - supportedTypes.add(IStructuredItemContentProvider.class); - supportedTypes.add(ITreeItemContentProvider.class); - supportedTypes.add(IItemLabelProvider.class); - supportedTypes.add(IItemPropertySource.class); - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.constraintblocks.ConstraintBlock} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ConstraintBlockItemProvider constraintBlockItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.constraintblocks.ConstraintBlock}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createConstraintBlockAdapter() { - if (constraintBlockItemProvider == null) { - constraintBlockItemProvider = new ConstraintBlockItemProvider(this); - } - - return constraintBlockItemProvider; - } - - /** - * This returns the root adapter factory that contains this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ComposeableAdapterFactory getRootAdapterFactory() { - return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); - } - - /** - * This sets the composed adapter factory that contains this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { - this.parentAdapterFactory = parentAdapterFactory; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean isFactoryForType(Object type) { - return supportedTypes.contains(type) || super.isFactoryForType(type); - } - - /** - * This implementation substitutes the factory itself as the key for the adapter. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter adapt(Notifier notifier, Object type) { - return super.adapt(notifier, this); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object adapt(Object object, Object type) { - if (isFactoryForType(type)) { - Object adapter = super.adapt(object, type); - if (!(type instanceof Class<?>) || (((Class<?>)type).isInstance(adapter))) { - return adapter; - } - } - - return null; - } - - /** - * This adds a listener. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void addListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.addListener(notifyChangedListener); - } - - /** - * This removes a listener. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void removeListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.removeListener(notifyChangedListener); - } - - /** - * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void fireNotifyChanged(Notification notification) { - changeNotifier.fireNotifyChanged(notification); - - if (parentAdapterFactory != null) { - parentAdapterFactory.fireNotifyChanged(notification); - } - } - - /** - * This disposes all of the item providers created by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void dispose() { - if (constraintBlockItemProvider != null) constraintBlockItemProvider.dispose(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/provider/DeprecatedelementsItemProviderAdapterFactory.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/provider/DeprecatedelementsItemProviderAdapterFactory.java deleted file mode 100644 index 220111d..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/provider/DeprecatedelementsItemProviderAdapterFactory.java +++ /dev/null
@@ -1,233 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.deprecatedelements.provider; - -import java.util.ArrayList; -import java.util.Collection; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.edit.provider.ChangeNotifier; -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.ComposedAdapterFactory; -import org.eclipse.emf.edit.provider.IChangeNotifier; -import org.eclipse.emf.edit.provider.IDisposable; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.INotifyChangedListener; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; - -import org.eclipse.papyrus.sysml14.deprecatedelements.util.DeprecatedelementsAdapterFactory; - -/** - * This is the factory that is used to provide the interfaces needed to support Viewers. - * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. - * The adapters also support Eclipse property sheets. - * Note that most of the adapters are shared among multiple instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class DeprecatedelementsItemProviderAdapterFactory extends DeprecatedelementsAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { - /** - * This keeps track of the root adapter factory that delegates to this adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ComposedAdapterFactory parentAdapterFactory; - - /** - * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected IChangeNotifier changeNotifier = new ChangeNotifier(); - - /** - * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Collection<Object> supportedTypes = new ArrayList<Object>(); - - /** - * This constructs an instance. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DeprecatedelementsItemProviderAdapterFactory() { - supportedTypes.add(IEditingDomainItemProvider.class); - supportedTypes.add(IStructuredItemContentProvider.class); - supportedTypes.add(ITreeItemContentProvider.class); - supportedTypes.add(IItemLabelProvider.class); - supportedTypes.add(IItemPropertySource.class); - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected FlowPortItemProvider flowPortItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createFlowPortAdapter() { - if (flowPortItemProvider == null) { - flowPortItemProvider = new FlowPortItemProvider(this); - } - - return flowPortItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowSpecification} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected FlowSpecificationItemProvider flowSpecificationItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowSpecification}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createFlowSpecificationAdapter() { - if (flowSpecificationItemProvider == null) { - flowSpecificationItemProvider = new FlowSpecificationItemProvider(this); - } - - return flowSpecificationItemProvider; - } - - /** - * This returns the root adapter factory that contains this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ComposeableAdapterFactory getRootAdapterFactory() { - return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); - } - - /** - * This sets the composed adapter factory that contains this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { - this.parentAdapterFactory = parentAdapterFactory; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean isFactoryForType(Object type) { - return supportedTypes.contains(type) || super.isFactoryForType(type); - } - - /** - * This implementation substitutes the factory itself as the key for the adapter. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter adapt(Notifier notifier, Object type) { - return super.adapt(notifier, this); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object adapt(Object object, Object type) { - if (isFactoryForType(type)) { - Object adapter = super.adapt(object, type); - if (!(type instanceof Class<?>) || (((Class<?>)type).isInstance(adapter))) { - return adapter; - } - } - - return null; - } - - /** - * This adds a listener. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void addListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.addListener(notifyChangedListener); - } - - /** - * This removes a listener. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void removeListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.removeListener(notifyChangedListener); - } - - /** - * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void fireNotifyChanged(Notification notification) { - changeNotifier.fireNotifyChanged(notification); - - if (parentAdapterFactory != null) { - parentAdapterFactory.fireNotifyChanged(notification); - } - } - - /** - * This disposes all of the item providers created by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void dispose() { - if (flowPortItemProvider != null) flowPortItemProvider.dispose(); - if (flowSpecificationItemProvider != null) flowSpecificationItemProvider.dispose(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/provider/FlowPortItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/provider/FlowPortItemProvider.java deleted file mode 100644 index bbfbea8..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/provider/FlowPortItemProvider.java +++ /dev/null
@@ -1,220 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.deprecatedelements.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -import org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsPackage; -import org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort; - -import org.eclipse.papyrus.sysml14.portsandflows.FlowDirection; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class FlowPortItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public FlowPortItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_PortPropertyDescriptor(object); - addDirectionPropertyDescriptor(object); - addIsAtomicPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Port feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_PortPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_FlowPort_base_Port_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_FlowPort_base_Port_feature", "_UI_FlowPort_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - DeprecatedelementsPackage.Literals.FLOW_PORT__BASE_PORT, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Direction feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addDirectionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_FlowPort_direction_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_FlowPort_direction_feature", "_UI_FlowPort_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - DeprecatedelementsPackage.Literals.FLOW_PORT__DIRECTION, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This adds a property descriptor for the Is Atomic feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addIsAtomicPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_FlowPort_isAtomic_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_FlowPort_isAtomic_feature", "_UI_FlowPort_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - DeprecatedelementsPackage.Literals.FLOW_PORT__IS_ATOMIC, - true, - false, - false, - ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, - null, - null)); - } - - /** - * This returns FlowPort.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/FlowPort")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - FlowDirection labelValue = ((FlowPort)object).getDirection(); - String label = labelValue == null ? null : labelValue.toString(); - return label == null || label.length() == 0 ? - getString("_UI_FlowPort_type") : //$NON-NLS-1$ - getString("_UI_FlowPort_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(FlowPort.class)) { - case DeprecatedelementsPackage.FLOW_PORT__DIRECTION: - case DeprecatedelementsPackage.FLOW_PORT__IS_ATOMIC: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/provider/FlowSpecificationItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/provider/FlowSpecificationItemProvider.java deleted file mode 100644 index 5a92ccf..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/provider/FlowSpecificationItemProvider.java +++ /dev/null
@@ -1,158 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.deprecatedelements.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowSpecification} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class FlowSpecificationItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public FlowSpecificationItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_InterfacePropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Interface feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_InterfacePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_FlowSpecification_base_Interface_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_FlowSpecification_base_Interface_feature", "_UI_FlowSpecification_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - DeprecatedelementsPackage.Literals.FLOW_SPECIFICATION__BASE_INTERFACE, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns FlowSpecification.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/FlowSpecification")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_FlowSpecification_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/modelelements/provider/ConformItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/modelelements/provider/ConformItemProvider.java deleted file mode 100644 index b8262b5..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/modelelements/provider/ConformItemProvider.java +++ /dev/null
@@ -1,158 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.modelelements.Conform} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class ConformItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ConformItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_GeneralizationPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Generalization feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_GeneralizationPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Conform_base_Generalization_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Conform_base_Generalization_feature", "_UI_Conform_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ModelelementsPackage.Literals.CONFORM__BASE_GENERALIZATION, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns Conform.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Conform")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_Conform_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/modelelements/provider/ElementGroupItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/modelelements/provider/ElementGroupItemProvider.java deleted file mode 100644 index 566e00a..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/modelelements/provider/ElementGroupItemProvider.java +++ /dev/null
@@ -1,287 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -import org.eclipse.papyrus.sysml14.modelelements.ElementGroup; -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class ElementGroupItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ElementGroupItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_CommentPropertyDescriptor(object); - addCriterionPropertyDescriptor(object); - addMemberPropertyDescriptor(object); - addNamePropertyDescriptor(object); - addOrderedMemeberPropertyDescriptor(object); - addSizePropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Comment feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_CommentPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ElementGroup_base_Comment_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ElementGroup_base_Comment_feature", "_UI_ElementGroup_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ModelelementsPackage.Literals.ELEMENT_GROUP__BASE_COMMENT, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Criterion feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addCriterionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ElementGroup_criterion_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ElementGroup_criterion_feature", "_UI_ElementGroup_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ModelelementsPackage.Literals.ELEMENT_GROUP__CRITERION, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This adds a property descriptor for the Member feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addMemberPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ElementGroup_member_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ElementGroup_member_feature", "_UI_ElementGroup_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ModelelementsPackage.Literals.ELEMENT_GROUP__MEMBER, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Name feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addNamePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ElementGroup_name_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ElementGroup_name_feature", "_UI_ElementGroup_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ModelelementsPackage.Literals.ELEMENT_GROUP__NAME, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This adds a property descriptor for the Ordered Memeber feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addOrderedMemeberPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ElementGroup_orderedMemeber_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ElementGroup_orderedMemeber_feature", "_UI_ElementGroup_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ModelelementsPackage.Literals.ELEMENT_GROUP__ORDERED_MEMEBER, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Size feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addSizePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ElementGroup_size_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ElementGroup_size_feature", "_UI_ElementGroup_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ModelelementsPackage.Literals.ELEMENT_GROUP__SIZE, - true, - false, - false, - ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, - null, - null)); - } - - /** - * This returns ElementGroup.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/ElementGroup")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - String label = ((ElementGroup)object).getName(); - return label == null || label.length() == 0 ? - getString("_UI_ElementGroup_type") : //$NON-NLS-1$ - getString("_UI_ElementGroup_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(ElementGroup.class)) { - case ModelelementsPackage.ELEMENT_GROUP__CRITERION: - case ModelelementsPackage.ELEMENT_GROUP__NAME: - case ModelelementsPackage.ELEMENT_GROUP__SIZE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/modelelements/provider/ExposeItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/modelelements/provider/ExposeItemProvider.java deleted file mode 100644 index 20fb743..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/modelelements/provider/ExposeItemProvider.java +++ /dev/null
@@ -1,158 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.modelelements.Expose} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class ExposeItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ExposeItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_DependencyPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Dependency feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_DependencyPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Expose_base_Dependency_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Expose_base_Dependency_feature", "_UI_Expose_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ModelelementsPackage.Literals.EXPOSE__BASE_DEPENDENCY, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns Expose.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Expose")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_Expose_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/modelelements/provider/ModelelementsItemProviderAdapterFactory.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/modelelements/provider/ModelelementsItemProviderAdapterFactory.java deleted file mode 100644 index 8066a10..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/modelelements/provider/ModelelementsItemProviderAdapterFactory.java +++ /dev/null
@@ -1,377 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements.provider; - -import java.util.ArrayList; -import java.util.Collection; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.edit.provider.ChangeNotifier; -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.ComposedAdapterFactory; -import org.eclipse.emf.edit.provider.IChangeNotifier; -import org.eclipse.emf.edit.provider.IDisposable; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.INotifyChangedListener; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; - -import org.eclipse.papyrus.sysml14.modelelements.util.ModelelementsAdapterFactory; - -/** - * This is the factory that is used to provide the interfaces needed to support Viewers. - * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. - * The adapters also support Eclipse property sheets. - * Note that most of the adapters are shared among multiple instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class ModelelementsItemProviderAdapterFactory extends ModelelementsAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { - /** - * This keeps track of the root adapter factory that delegates to this adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ComposedAdapterFactory parentAdapterFactory; - - /** - * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected IChangeNotifier changeNotifier = new ChangeNotifier(); - - /** - * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Collection<Object> supportedTypes = new ArrayList<Object>(); - - /** - * This constructs an instance. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ModelelementsItemProviderAdapterFactory() { - supportedTypes.add(IEditingDomainItemProvider.class); - supportedTypes.add(IStructuredItemContentProvider.class); - supportedTypes.add(ITreeItemContentProvider.class); - supportedTypes.add(IItemLabelProvider.class); - supportedTypes.add(IItemPropertySource.class); - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.modelelements.Conform} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ConformItemProvider conformItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.modelelements.Conform}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createConformAdapter() { - if (conformItemProvider == null) { - conformItemProvider = new ConformItemProvider(this); - } - - return conformItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ElementGroupItemProvider elementGroupItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createElementGroupAdapter() { - if (elementGroupItemProvider == null) { - elementGroupItemProvider = new ElementGroupItemProvider(this); - } - - return elementGroupItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.modelelements.Expose} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ExposeItemProvider exposeItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.modelelements.Expose}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createExposeAdapter() { - if (exposeItemProvider == null) { - exposeItemProvider = new ExposeItemProvider(this); - } - - return exposeItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.modelelements.Problem} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ProblemItemProvider problemItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.modelelements.Problem}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createProblemAdapter() { - if (problemItemProvider == null) { - problemItemProvider = new ProblemItemProvider(this); - } - - return problemItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.modelelements.Rationale} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected RationaleItemProvider rationaleItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.modelelements.Rationale}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createRationaleAdapter() { - if (rationaleItemProvider == null) { - rationaleItemProvider = new RationaleItemProvider(this); - } - - return rationaleItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.modelelements.Stakeholder} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected StakeholderItemProvider stakeholderItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.modelelements.Stakeholder}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createStakeholderAdapter() { - if (stakeholderItemProvider == null) { - stakeholderItemProvider = new StakeholderItemProvider(this); - } - - return stakeholderItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.modelelements.View} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ViewItemProvider viewItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.modelelements.View}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createViewAdapter() { - if (viewItemProvider == null) { - viewItemProvider = new ViewItemProvider(this); - } - - return viewItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.modelelements.Viewpoint} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ViewpointItemProvider viewpointItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.modelelements.Viewpoint}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createViewpointAdapter() { - if (viewpointItemProvider == null) { - viewpointItemProvider = new ViewpointItemProvider(this); - } - - return viewpointItemProvider; - } - - /** - * This returns the root adapter factory that contains this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ComposeableAdapterFactory getRootAdapterFactory() { - return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); - } - - /** - * This sets the composed adapter factory that contains this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { - this.parentAdapterFactory = parentAdapterFactory; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean isFactoryForType(Object type) { - return supportedTypes.contains(type) || super.isFactoryForType(type); - } - - /** - * This implementation substitutes the factory itself as the key for the adapter. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter adapt(Notifier notifier, Object type) { - return super.adapt(notifier, this); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object adapt(Object object, Object type) { - if (isFactoryForType(type)) { - Object adapter = super.adapt(object, type); - if (!(type instanceof Class<?>) || (((Class<?>)type).isInstance(adapter))) { - return adapter; - } - } - - return null; - } - - /** - * This adds a listener. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void addListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.addListener(notifyChangedListener); - } - - /** - * This removes a listener. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void removeListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.removeListener(notifyChangedListener); - } - - /** - * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void fireNotifyChanged(Notification notification) { - changeNotifier.fireNotifyChanged(notification); - - if (parentAdapterFactory != null) { - parentAdapterFactory.fireNotifyChanged(notification); - } - } - - /** - * This disposes all of the item providers created by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void dispose() { - if (conformItemProvider != null) conformItemProvider.dispose(); - if (elementGroupItemProvider != null) elementGroupItemProvider.dispose(); - if (exposeItemProvider != null) exposeItemProvider.dispose(); - if (problemItemProvider != null) problemItemProvider.dispose(); - if (rationaleItemProvider != null) rationaleItemProvider.dispose(); - if (stakeholderItemProvider != null) stakeholderItemProvider.dispose(); - if (viewItemProvider != null) viewItemProvider.dispose(); - if (viewpointItemProvider != null) viewpointItemProvider.dispose(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/modelelements/provider/ProblemItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/modelelements/provider/ProblemItemProvider.java deleted file mode 100644 index 48f09f0..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/modelelements/provider/ProblemItemProvider.java +++ /dev/null
@@ -1,158 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.modelelements.Problem} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class ProblemItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ProblemItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_CommentPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Comment feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_CommentPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Problem_base_Comment_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Problem_base_Comment_feature", "_UI_Problem_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ModelelementsPackage.Literals.PROBLEM__BASE_COMMENT, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns Problem.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Problem")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_Problem_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/modelelements/provider/RationaleItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/modelelements/provider/RationaleItemProvider.java deleted file mode 100644 index a5fe4d1..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/modelelements/provider/RationaleItemProvider.java +++ /dev/null
@@ -1,158 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.modelelements.Rationale} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class RationaleItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RationaleItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_CommentPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Comment feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_CommentPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Rationale_base_Comment_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Rationale_base_Comment_feature", "_UI_Rationale_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ModelelementsPackage.Literals.RATIONALE__BASE_COMMENT, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns Rationale.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Rationale")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_Rationale_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/modelelements/provider/StakeholderItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/modelelements/provider/StakeholderItemProvider.java deleted file mode 100644 index 69da7cb..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/modelelements/provider/StakeholderItemProvider.java +++ /dev/null
@@ -1,205 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.modelelements.Stakeholder} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class StakeholderItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public StakeholderItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_ClassifierPropertyDescriptor(object); - addConcernListPropertyDescriptor(object); - addConcernPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Classifier feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_ClassifierPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Stakeholder_base_Classifier_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Stakeholder_base_Classifier_feature", "_UI_Stakeholder_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ModelelementsPackage.Literals.STAKEHOLDER__BASE_CLASSIFIER, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Concern List feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addConcernListPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Stakeholder_concernList_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Stakeholder_concernList_feature", "_UI_Stakeholder_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ModelelementsPackage.Literals.STAKEHOLDER__CONCERN_LIST, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Concern feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addConcernPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Stakeholder_concern_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Stakeholder_concern_feature", "_UI_Stakeholder_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ModelelementsPackage.Literals.STAKEHOLDER__CONCERN, - true, - false, - true, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This returns Stakeholder.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Stakeholder")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_Stakeholder_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/modelelements/provider/ViewItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/modelelements/provider/ViewItemProvider.java deleted file mode 100644 index 4a58825..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/modelelements/provider/ViewItemProvider.java +++ /dev/null
@@ -1,204 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.modelelements.View} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class ViewItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ViewItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_ClassPropertyDescriptor(object); - addStakeholderPropertyDescriptor(object); - addViewPointPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Class feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_ClassPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_View_base_Class_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_View_base_Class_feature", "_UI_View_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ModelelementsPackage.Literals.VIEW__BASE_CLASS, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Stakeholder feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addStakeholderPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_View_stakeholder_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_View_stakeholder_feature", "_UI_View_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ModelelementsPackage.Literals.VIEW__STAKEHOLDER, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the View Point feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addViewPointPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_View_viewPoint_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_View_viewPoint_feature", "_UI_View_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ModelelementsPackage.Literals.VIEW__VIEW_POINT, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns View.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/View")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_View_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/modelelements/provider/ViewpointItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/modelelements/provider/ViewpointItemProvider.java deleted file mode 100644 index f239c1b..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/modelelements/provider/ViewpointItemProvider.java +++ /dev/null
@@ -1,334 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; -import org.eclipse.papyrus.sysml14.modelelements.Viewpoint; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.modelelements.Viewpoint} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class ViewpointItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ViewpointItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_ClassPropertyDescriptor(object); - addConcernPropertyDescriptor(object); - addConcernListPropertyDescriptor(object); - addLanguagePropertyDescriptor(object); - addMethodPropertyDescriptor(object); - addPresentationPropertyDescriptor(object); - addPurposePropertyDescriptor(object); - addStakeholderPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Class feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_ClassPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Viewpoint_base_Class_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Viewpoint_base_Class_feature", "_UI_Viewpoint_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ModelelementsPackage.Literals.VIEWPOINT__BASE_CLASS, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Concern feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addConcernPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Viewpoint_concern_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Viewpoint_concern_feature", "_UI_Viewpoint_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ModelelementsPackage.Literals.VIEWPOINT__CONCERN, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This adds a property descriptor for the Concern List feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addConcernListPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Viewpoint_concernList_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Viewpoint_concernList_feature", "_UI_Viewpoint_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ModelelementsPackage.Literals.VIEWPOINT__CONCERN_LIST, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Language feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addLanguagePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Viewpoint_language_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Viewpoint_language_feature", "_UI_Viewpoint_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ModelelementsPackage.Literals.VIEWPOINT__LANGUAGE, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This adds a property descriptor for the Method feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addMethodPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Viewpoint_method_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Viewpoint_method_feature", "_UI_Viewpoint_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ModelelementsPackage.Literals.VIEWPOINT__METHOD, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Presentation feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addPresentationPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Viewpoint_presentation_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Viewpoint_presentation_feature", "_UI_Viewpoint_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ModelelementsPackage.Literals.VIEWPOINT__PRESENTATION, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This adds a property descriptor for the Purpose feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addPurposePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Viewpoint_purpose_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Viewpoint_purpose_feature", "_UI_Viewpoint_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ModelelementsPackage.Literals.VIEWPOINT__PURPOSE, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This adds a property descriptor for the Stakeholder feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addStakeholderPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Viewpoint_stakeholder_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Viewpoint_stakeholder_feature", "_UI_Viewpoint_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - ModelelementsPackage.Literals.VIEWPOINT__STAKEHOLDER, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns Viewpoint.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Viewpoint")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - String label = ((Viewpoint)object).getPurpose(); - return label == null || label.length() == 0 ? - getString("_UI_Viewpoint_type") : //$NON-NLS-1$ - getString("_UI_Viewpoint_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(Viewpoint.class)) { - case ModelelementsPackage.VIEWPOINT__CONCERN: - case ModelelementsPackage.VIEWPOINT__LANGUAGE: - case ModelelementsPackage.VIEWPOINT__PRESENTATION: - case ModelelementsPackage.VIEWPOINT__PURPOSE: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/AcceptChangeStructuralFeatureEventActionItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/AcceptChangeStructuralFeatureEventActionItemProvider.java deleted file mode 100644 index bdc4033..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/AcceptChangeStructuralFeatureEventActionItemProvider.java +++ /dev/null
@@ -1,158 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.portsandflows.AcceptChangeStructuralFeatureEventAction} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class AcceptChangeStructuralFeatureEventActionItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AcceptChangeStructuralFeatureEventActionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_AcceptEventActionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Accept Event Action feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_AcceptEventActionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction_feature", "_UI_AcceptChangeStructuralFeatureEventAction_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - PortsandflowsPackage.Literals.ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION__BASE_ACCEPT_EVENT_ACTION, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns AcceptChangeStructuralFeatureEventAction.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/AcceptChangeStructuralFeatureEventAction")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_AcceptChangeStructuralFeatureEventAction_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/ChangeStructuralFeatureEventItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/ChangeStructuralFeatureEventItemProvider.java deleted file mode 100644 index 2c6635f..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/ChangeStructuralFeatureEventItemProvider.java +++ /dev/null
@@ -1,181 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.portsandflows.ChangeStructuralFeatureEvent} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class ChangeStructuralFeatureEventItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ChangeStructuralFeatureEventItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_ChangeEventPropertyDescriptor(object); - addStructuralFeaturePropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Change Event feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_ChangeEventPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ChangeStructuralFeatureEvent_base_ChangeEvent_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ChangeStructuralFeatureEvent_base_ChangeEvent_feature", "_UI_ChangeStructuralFeatureEvent_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - PortsandflowsPackage.Literals.CHANGE_STRUCTURAL_FEATURE_EVENT__BASE_CHANGE_EVENT, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Structural Feature feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addStructuralFeaturePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ChangeStructuralFeatureEvent_structuralFeature_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ChangeStructuralFeatureEvent_structuralFeature_feature", "_UI_ChangeStructuralFeatureEvent_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - PortsandflowsPackage.Literals.CHANGE_STRUCTURAL_FEATURE_EVENT__STRUCTURAL_FEATURE, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns ChangeStructuralFeatureEvent.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/ChangeStructuralFeatureEvent")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_ChangeStructuralFeatureEvent_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/DirectedFeatureItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/DirectedFeatureItemProvider.java deleted file mode 100644 index 6c738e0..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/DirectedFeatureItemProvider.java +++ /dev/null
@@ -1,195 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -import org.eclipse.papyrus.sysml14.portsandflows.DirectedFeature; -import org.eclipse.papyrus.sysml14.portsandflows.FeatureDirection; -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.portsandflows.DirectedFeature} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class DirectedFeatureItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DirectedFeatureItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_FeaturePropertyDescriptor(object); - addFeatureDirectionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Feature feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_FeaturePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_DirectedFeature_base_Feature_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_DirectedFeature_base_Feature_feature", "_UI_DirectedFeature_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - PortsandflowsPackage.Literals.DIRECTED_FEATURE__BASE_FEATURE, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Feature Direction feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addFeatureDirectionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_DirectedFeature_featureDirection_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_DirectedFeature_featureDirection_feature", "_UI_DirectedFeature_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - PortsandflowsPackage.Literals.DIRECTED_FEATURE__FEATURE_DIRECTION, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This returns DirectedFeature.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/DirectedFeature")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - FeatureDirection labelValue = ((DirectedFeature)object).getFeatureDirection(); - String label = labelValue == null ? null : labelValue.toString(); - return label == null || label.length() == 0 ? - getString("_UI_DirectedFeature_type") : //$NON-NLS-1$ - getString("_UI_DirectedFeature_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(DirectedFeature.class)) { - case PortsandflowsPackage.DIRECTED_FEATURE__FEATURE_DIRECTION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/FlowPropertyItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/FlowPropertyItemProvider.java deleted file mode 100644 index 845ceea..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/FlowPropertyItemProvider.java +++ /dev/null
@@ -1,195 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -import org.eclipse.papyrus.sysml14.portsandflows.FlowDirection; -import org.eclipse.papyrus.sysml14.portsandflows.FlowProperty; -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.portsandflows.FlowProperty} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class FlowPropertyItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public FlowPropertyItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_PropertyPropertyDescriptor(object); - addDirectionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Property feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_PropertyPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_FlowProperty_base_Property_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_FlowProperty_base_Property_feature", "_UI_FlowProperty_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - PortsandflowsPackage.Literals.FLOW_PROPERTY__BASE_PROPERTY, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Direction feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addDirectionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_FlowProperty_direction_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_FlowProperty_direction_feature", "_UI_FlowProperty_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - PortsandflowsPackage.Literals.FLOW_PROPERTY__DIRECTION, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This returns FlowProperty.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/FlowProperty")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - FlowDirection labelValue = ((FlowProperty)object).getDirection(); - String label = labelValue == null ? null : labelValue.toString(); - return label == null || label.length() == 0 ? - getString("_UI_FlowProperty_type") : //$NON-NLS-1$ - getString("_UI_FlowProperty_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(FlowProperty.class)) { - case PortsandflowsPackage.FLOW_PROPERTY__DIRECTION: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/FullPortItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/FullPortItemProvider.java deleted file mode 100644 index e167b55..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/FullPortItemProvider.java +++ /dev/null
@@ -1,158 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.portsandflows.FullPort} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class FullPortItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public FullPortItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_PortPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Port feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_PortPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_FullPort_base_Port_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_FullPort_base_Port_feature", "_UI_FullPort_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - PortsandflowsPackage.Literals.FULL_PORT__BASE_PORT, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns FullPort.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/FullPort")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_FullPort_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/InterfaceBlockItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/InterfaceBlockItemProvider.java deleted file mode 100644 index 66d0e1a..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/InterfaceBlockItemProvider.java +++ /dev/null
@@ -1,124 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; - -import org.eclipse.papyrus.sysml14.blocks.provider.BlockItemProvider; - -import org.eclipse.papyrus.sysml14.portsandflows.InterfaceBlock; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.portsandflows.InterfaceBlock} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class InterfaceBlockItemProvider extends BlockItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public InterfaceBlockItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * This returns InterfaceBlock.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/InterfaceBlock")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - InterfaceBlock interfaceBlock = (InterfaceBlock)object; - return getString("_UI_InterfaceBlock_type") + " " + interfaceBlock.isEncapsulated(); //$NON-NLS-1$ //$NON-NLS-2$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/InvocationOnNestedPortActionItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/InvocationOnNestedPortActionItemProvider.java deleted file mode 100644 index 633692d..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/InvocationOnNestedPortActionItemProvider.java +++ /dev/null
@@ -1,170 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; - -import org.eclipse.papyrus.sysml14.blocks.provider.ElementPropertyPathItemProvider; - -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.portsandflows.InvocationOnNestedPortAction} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class InvocationOnNestedPortActionItemProvider extends ElementPropertyPathItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public InvocationOnNestedPortActionItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_InvocationActionPropertyDescriptor(object); - addOnNestedPortPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Invocation Action feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_InvocationActionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_InvocationOnNestedPortAction_base_InvocationAction_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_InvocationOnNestedPortAction_base_InvocationAction_feature", "_UI_InvocationOnNestedPortAction_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - PortsandflowsPackage.Literals.INVOCATION_ON_NESTED_PORT_ACTION__BASE_INVOCATION_ACTION, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the On Nested Port feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addOnNestedPortPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_InvocationOnNestedPortAction_onNestedPort_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_InvocationOnNestedPortAction_onNestedPort_feature", "_UI_InvocationOnNestedPortAction_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - PortsandflowsPackage.Literals.INVOCATION_ON_NESTED_PORT_ACTION__ON_NESTED_PORT, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns InvocationOnNestedPortAction.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/InvocationOnNestedPortAction")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_InvocationOnNestedPortAction_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/ItemFlowItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/ItemFlowItemProvider.java deleted file mode 100644 index a57cb0c..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/ItemFlowItemProvider.java +++ /dev/null
@@ -1,181 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.portsandflows.ItemFlow} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class ItemFlowItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ItemFlowItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_InformationFlowPropertyDescriptor(object); - addItemPropertyPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Information Flow feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_InformationFlowPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ItemFlow_base_InformationFlow_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ItemFlow_base_InformationFlow_feature", "_UI_ItemFlow_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - PortsandflowsPackage.Literals.ITEM_FLOW__BASE_INFORMATION_FLOW, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Item Property feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addItemPropertyPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ItemFlow_itemProperty_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ItemFlow_itemProperty_feature", "_UI_ItemFlow_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - PortsandflowsPackage.Literals.ITEM_FLOW__ITEM_PROPERTY, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns ItemFlow.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/ItemFlow")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_ItemFlow_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/PortsandflowsItemProviderAdapterFactory.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/PortsandflowsItemProviderAdapterFactory.java deleted file mode 100644 index 5c7a0f2..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/PortsandflowsItemProviderAdapterFactory.java +++ /dev/null
@@ -1,425 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows.provider; - -import java.util.ArrayList; -import java.util.Collection; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.edit.provider.ChangeNotifier; -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.ComposedAdapterFactory; -import org.eclipse.emf.edit.provider.IChangeNotifier; -import org.eclipse.emf.edit.provider.IDisposable; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.INotifyChangedListener; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; - -import org.eclipse.papyrus.sysml14.portsandflows.util.PortsandflowsAdapterFactory; - -/** - * This is the factory that is used to provide the interfaces needed to support Viewers. - * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. - * The adapters also support Eclipse property sheets. - * Note that most of the adapters are shared among multiple instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class PortsandflowsItemProviderAdapterFactory extends PortsandflowsAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { - /** - * This keeps track of the root adapter factory that delegates to this adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ComposedAdapterFactory parentAdapterFactory; - - /** - * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected IChangeNotifier changeNotifier = new ChangeNotifier(); - - /** - * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Collection<Object> supportedTypes = new ArrayList<Object>(); - - /** - * This constructs an instance. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PortsandflowsItemProviderAdapterFactory() { - supportedTypes.add(IEditingDomainItemProvider.class); - supportedTypes.add(IStructuredItemContentProvider.class); - supportedTypes.add(ITreeItemContentProvider.class); - supportedTypes.add(IItemLabelProvider.class); - supportedTypes.add(IItemPropertySource.class); - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.portsandflows.AcceptChangeStructuralFeatureEventAction} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected AcceptChangeStructuralFeatureEventActionItemProvider acceptChangeStructuralFeatureEventActionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.portsandflows.AcceptChangeStructuralFeatureEventAction}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createAcceptChangeStructuralFeatureEventActionAdapter() { - if (acceptChangeStructuralFeatureEventActionItemProvider == null) { - acceptChangeStructuralFeatureEventActionItemProvider = new AcceptChangeStructuralFeatureEventActionItemProvider(this); - } - - return acceptChangeStructuralFeatureEventActionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.portsandflows.ChangeStructuralFeatureEvent} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ChangeStructuralFeatureEventItemProvider changeStructuralFeatureEventItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.portsandflows.ChangeStructuralFeatureEvent}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createChangeStructuralFeatureEventAdapter() { - if (changeStructuralFeatureEventItemProvider == null) { - changeStructuralFeatureEventItemProvider = new ChangeStructuralFeatureEventItemProvider(this); - } - - return changeStructuralFeatureEventItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.portsandflows.DirectedFeature} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected DirectedFeatureItemProvider directedFeatureItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.portsandflows.DirectedFeature}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createDirectedFeatureAdapter() { - if (directedFeatureItemProvider == null) { - directedFeatureItemProvider = new DirectedFeatureItemProvider(this); - } - - return directedFeatureItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.portsandflows.FlowProperty} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected FlowPropertyItemProvider flowPropertyItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.portsandflows.FlowProperty}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createFlowPropertyAdapter() { - if (flowPropertyItemProvider == null) { - flowPropertyItemProvider = new FlowPropertyItemProvider(this); - } - - return flowPropertyItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.portsandflows.FullPort} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected FullPortItemProvider fullPortItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.portsandflows.FullPort}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createFullPortAdapter() { - if (fullPortItemProvider == null) { - fullPortItemProvider = new FullPortItemProvider(this); - } - - return fullPortItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.portsandflows.InterfaceBlock} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected InterfaceBlockItemProvider interfaceBlockItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.portsandflows.InterfaceBlock}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createInterfaceBlockAdapter() { - if (interfaceBlockItemProvider == null) { - interfaceBlockItemProvider = new InterfaceBlockItemProvider(this); - } - - return interfaceBlockItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.portsandflows.InvocationOnNestedPortAction} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected InvocationOnNestedPortActionItemProvider invocationOnNestedPortActionItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.portsandflows.InvocationOnNestedPortAction}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createInvocationOnNestedPortActionAdapter() { - if (invocationOnNestedPortActionItemProvider == null) { - invocationOnNestedPortActionItemProvider = new InvocationOnNestedPortActionItemProvider(this); - } - - return invocationOnNestedPortActionItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.portsandflows.ItemFlow} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ItemFlowItemProvider itemFlowItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.portsandflows.ItemFlow}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createItemFlowAdapter() { - if (itemFlowItemProvider == null) { - itemFlowItemProvider = new ItemFlowItemProvider(this); - } - - return itemFlowItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.portsandflows.ProxyPort} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ProxyPortItemProvider proxyPortItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.portsandflows.ProxyPort}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createProxyPortAdapter() { - if (proxyPortItemProvider == null) { - proxyPortItemProvider = new ProxyPortItemProvider(this); - } - - return proxyPortItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.portsandflows.TriggerOnNestedPort} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected TriggerOnNestedPortItemProvider triggerOnNestedPortItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.portsandflows.TriggerOnNestedPort}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createTriggerOnNestedPortAdapter() { - if (triggerOnNestedPortItemProvider == null) { - triggerOnNestedPortItemProvider = new TriggerOnNestedPortItemProvider(this); - } - - return triggerOnNestedPortItemProvider; - } - - /** - * This returns the root adapter factory that contains this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ComposeableAdapterFactory getRootAdapterFactory() { - return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); - } - - /** - * This sets the composed adapter factory that contains this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { - this.parentAdapterFactory = parentAdapterFactory; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean isFactoryForType(Object type) { - return supportedTypes.contains(type) || super.isFactoryForType(type); - } - - /** - * This implementation substitutes the factory itself as the key for the adapter. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter adapt(Notifier notifier, Object type) { - return super.adapt(notifier, this); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object adapt(Object object, Object type) { - if (isFactoryForType(type)) { - Object adapter = super.adapt(object, type); - if (!(type instanceof Class<?>) || (((Class<?>)type).isInstance(adapter))) { - return adapter; - } - } - - return null; - } - - /** - * This adds a listener. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void addListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.addListener(notifyChangedListener); - } - - /** - * This removes a listener. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void removeListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.removeListener(notifyChangedListener); - } - - /** - * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void fireNotifyChanged(Notification notification) { - changeNotifier.fireNotifyChanged(notification); - - if (parentAdapterFactory != null) { - parentAdapterFactory.fireNotifyChanged(notification); - } - } - - /** - * This disposes all of the item providers created by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void dispose() { - if (acceptChangeStructuralFeatureEventActionItemProvider != null) acceptChangeStructuralFeatureEventActionItemProvider.dispose(); - if (changeStructuralFeatureEventItemProvider != null) changeStructuralFeatureEventItemProvider.dispose(); - if (directedFeatureItemProvider != null) directedFeatureItemProvider.dispose(); - if (flowPropertyItemProvider != null) flowPropertyItemProvider.dispose(); - if (fullPortItemProvider != null) fullPortItemProvider.dispose(); - if (interfaceBlockItemProvider != null) interfaceBlockItemProvider.dispose(); - if (invocationOnNestedPortActionItemProvider != null) invocationOnNestedPortActionItemProvider.dispose(); - if (itemFlowItemProvider != null) itemFlowItemProvider.dispose(); - if (proxyPortItemProvider != null) proxyPortItemProvider.dispose(); - if (triggerOnNestedPortItemProvider != null) triggerOnNestedPortItemProvider.dispose(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/ProxyPortItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/ProxyPortItemProvider.java deleted file mode 100644 index 44d587e..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/ProxyPortItemProvider.java +++ /dev/null
@@ -1,158 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.portsandflows.ProxyPort} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class ProxyPortItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ProxyPortItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_PortPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Port feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_PortPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ProxyPort_base_Port_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_ProxyPort_base_Port_feature", "_UI_ProxyPort_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - PortsandflowsPackage.Literals.PROXY_PORT__BASE_PORT, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns ProxyPort.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/ProxyPort")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_ProxyPort_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/TriggerOnNestedPortItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/TriggerOnNestedPortItemProvider.java deleted file mode 100644 index 5c62417..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/portsandflows/provider/TriggerOnNestedPortItemProvider.java +++ /dev/null
@@ -1,170 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; - -import org.eclipse.papyrus.sysml14.blocks.provider.ElementPropertyPathItemProvider; - -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.portsandflows.TriggerOnNestedPort} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class TriggerOnNestedPortItemProvider extends ElementPropertyPathItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public TriggerOnNestedPortItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_TriggerPropertyDescriptor(object); - addOnNestedPortPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Trigger feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_TriggerPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_TriggerOnNestedPort_base_Trigger_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_TriggerOnNestedPort_base_Trigger_feature", "_UI_TriggerOnNestedPort_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - PortsandflowsPackage.Literals.TRIGGER_ON_NESTED_PORT__BASE_TRIGGER, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the On Nested Port feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addOnNestedPortPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_TriggerOnNestedPort_onNestedPort_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_TriggerOnNestedPort_onNestedPort_feature", "_UI_TriggerOnNestedPort_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - PortsandflowsPackage.Literals.TRIGGER_ON_NESTED_PORT__ON_NESTED_PORT, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns TriggerOnNestedPort.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/TriggerOnNestedPort")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_TriggerOnNestedPort_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/provider/SysMLEditPlugin.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/provider/SysMLEditPlugin.java deleted file mode 100644 index ff2c862..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/provider/SysMLEditPlugin.java +++ /dev/null
@@ -1,105 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.provider; - -import org.eclipse.emf.common.EMFPlugin; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.ecore.provider.EcoreEditPlugin; - -import org.eclipse.uml2.uml.edit.UMLEditPlugin; - -/** - * This is the central singleton for the SysML edit plugin. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public final class SysMLEditPlugin extends EMFPlugin { - /** - * Keep track of the singleton. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final SysMLEditPlugin INSTANCE = new SysMLEditPlugin(); - - /** - * Keep track of the singleton. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static Implementation plugin; - - /** - * Create the instance. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public SysMLEditPlugin() { - super - (new ResourceLocator [] { - EcoreEditPlugin.INSTANCE, - UMLEditPlugin.INSTANCE, - }); - } - - /** - * Returns the singleton instance of the Eclipse plugin. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the singleton instance. - * @generated - */ - @Override - public ResourceLocator getPluginResourceLocator() { - return plugin; - } - - /** - * Returns the singleton instance of the Eclipse plugin. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the singleton instance. - * @generated - */ - public static Implementation getPlugin() { - return plugin; - } - - /** - * The actual implementation of the Eclipse <b>Plugin</b>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static class Implementation extends EclipsePlugin { - /** - * Creates an instance. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Implementation() { - super(); - - // Remember the static instance. - // - plugin = this; - } - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/requirements/provider/CopyItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/requirements/provider/CopyItemProvider.java deleted file mode 100644 index e9d7ce7..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/requirements/provider/CopyItemProvider.java +++ /dev/null
@@ -1,104 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.requirements.Copy} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class CopyItemProvider extends TraceItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public CopyItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * This returns Copy.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Copy")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_Copy_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/requirements/provider/DeriveReqtItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/requirements/provider/DeriveReqtItemProvider.java deleted file mode 100644 index ec30aa9..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/requirements/provider/DeriveReqtItemProvider.java +++ /dev/null
@@ -1,104 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.requirements.DeriveReqt} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class DeriveReqtItemProvider extends TraceItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DeriveReqtItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * This returns DeriveReqt.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/DeriveReqt")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_DeriveReqt_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/requirements/provider/RefineItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/requirements/provider/RefineItemProvider.java deleted file mode 100644 index 3253f8e..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/requirements/provider/RefineItemProvider.java +++ /dev/null
@@ -1,147 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; - -import org.eclipse.papyrus.sysml14.blocks.provider.DirectedRelationshipPropertyPathItemProvider; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.requirements.Refine} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class RefineItemProvider extends DirectedRelationshipPropertyPathItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RefineItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_AbstractionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Abstraction feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_AbstractionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Refine_base_Abstraction_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Refine_base_Abstraction_feature", "_UI_Refine_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - RequirementsPackage.Literals.REFINE__BASE_ABSTRACTION, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns Refine.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Refine")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_Refine_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/requirements/provider/RequirementItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/requirements/provider/RequirementItemProvider.java deleted file mode 100644 index 8151505..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/requirements/provider/RequirementItemProvider.java +++ /dev/null
@@ -1,378 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.emf.edit.provider.ViewerNotification; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -import org.eclipse.papyrus.sysml14.requirements.Requirement; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.requirements.Requirement} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class RequirementItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RequirementItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_ClassPropertyDescriptor(object); - addDerivedPropertyDescriptor(object); - addDerivedFromPropertyDescriptor(object); - addIdPropertyDescriptor(object); - addMasterPropertyDescriptor(object); - addRefinedByPropertyDescriptor(object); - addSatisfiedByPropertyDescriptor(object); - addTextPropertyDescriptor(object); - addTracedToPropertyDescriptor(object); - addVerifiedByPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Class feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_ClassPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Requirement_base_Class_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Requirement_base_Class_feature", "_UI_Requirement_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - RequirementsPackage.Literals.REQUIREMENT__BASE_CLASS, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Derived feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addDerivedPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Requirement_derived_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Requirement_derived_feature", "_UI_Requirement_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - RequirementsPackage.Literals.REQUIREMENT__DERIVED, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Derived From feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addDerivedFromPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Requirement_derivedFrom_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Requirement_derivedFrom_feature", "_UI_Requirement_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - RequirementsPackage.Literals.REQUIREMENT__DERIVED_FROM, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Id feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addIdPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Requirement_id_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Requirement_id_feature", "_UI_Requirement_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - RequirementsPackage.Literals.REQUIREMENT__ID, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This adds a property descriptor for the Master feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addMasterPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Requirement_master_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Requirement_master_feature", "_UI_Requirement_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - RequirementsPackage.Literals.REQUIREMENT__MASTER, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Refined By feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addRefinedByPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Requirement_refinedBy_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Requirement_refinedBy_feature", "_UI_Requirement_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - RequirementsPackage.Literals.REQUIREMENT__REFINED_BY, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Satisfied By feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addSatisfiedByPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Requirement_satisfiedBy_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Requirement_satisfiedBy_feature", "_UI_Requirement_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - RequirementsPackage.Literals.REQUIREMENT__SATISFIED_BY, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Text feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addTextPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Requirement_text_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Requirement_text_feature", "_UI_Requirement_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - RequirementsPackage.Literals.REQUIREMENT__TEXT, - true, - false, - false, - ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, - null, - null)); - } - - /** - * This adds a property descriptor for the Traced To feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addTracedToPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Requirement_tracedTo_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Requirement_tracedTo_feature", "_UI_Requirement_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - RequirementsPackage.Literals.REQUIREMENT__TRACED_TO, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Verified By feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addVerifiedByPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Requirement_verifiedBy_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Requirement_verifiedBy_feature", "_UI_Requirement_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - RequirementsPackage.Literals.REQUIREMENT__VERIFIED_BY, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns Requirement.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Requirement")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - String label = ((Requirement)object).getId(); - return label == null || label.length() == 0 ? - getString("_UI_Requirement_type") : //$NON-NLS-1$ - getString("_UI_Requirement_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - - switch (notification.getFeatureID(Requirement.class)) { - case RequirementsPackage.REQUIREMENT__ID: - case RequirementsPackage.REQUIREMENT__TEXT: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - } - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/requirements/provider/RequirementsItemProviderAdapterFactory.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/requirements/provider/RequirementsItemProviderAdapterFactory.java deleted file mode 100644 index 7aa4d42..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/requirements/provider/RequirementsItemProviderAdapterFactory.java +++ /dev/null
@@ -1,377 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements.provider; - -import java.util.ArrayList; -import java.util.Collection; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.edit.provider.ChangeNotifier; -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.ComposedAdapterFactory; -import org.eclipse.emf.edit.provider.IChangeNotifier; -import org.eclipse.emf.edit.provider.IDisposable; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.INotifyChangedListener; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; - -import org.eclipse.papyrus.sysml14.requirements.util.RequirementsAdapterFactory; - -/** - * This is the factory that is used to provide the interfaces needed to support Viewers. - * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}. - * The adapters also support Eclipse property sheets. - * Note that most of the adapters are shared among multiple instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class RequirementsItemProviderAdapterFactory extends RequirementsAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { - /** - * This keeps track of the root adapter factory that delegates to this adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ComposedAdapterFactory parentAdapterFactory; - - /** - * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected IChangeNotifier changeNotifier = new ChangeNotifier(); - - /** - * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Collection<Object> supportedTypes = new ArrayList<Object>(); - - /** - * This constructs an instance. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RequirementsItemProviderAdapterFactory() { - supportedTypes.add(IEditingDomainItemProvider.class); - supportedTypes.add(IStructuredItemContentProvider.class); - supportedTypes.add(ITreeItemContentProvider.class); - supportedTypes.add(IItemLabelProvider.class); - supportedTypes.add(IItemPropertySource.class); - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.requirements.Copy} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected CopyItemProvider copyItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.requirements.Copy}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createCopyAdapter() { - if (copyItemProvider == null) { - copyItemProvider = new CopyItemProvider(this); - } - - return copyItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.requirements.Trace} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected TraceItemProvider traceItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.requirements.Trace}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createTraceAdapter() { - if (traceItemProvider == null) { - traceItemProvider = new TraceItemProvider(this); - } - - return traceItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.requirements.Requirement} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected RequirementItemProvider requirementItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.requirements.Requirement}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createRequirementAdapter() { - if (requirementItemProvider == null) { - requirementItemProvider = new RequirementItemProvider(this); - } - - return requirementItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.requirements.DeriveReqt} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected DeriveReqtItemProvider deriveReqtItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.requirements.DeriveReqt}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createDeriveReqtAdapter() { - if (deriveReqtItemProvider == null) { - deriveReqtItemProvider = new DeriveReqtItemProvider(this); - } - - return deriveReqtItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.requirements.Refine} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected RefineItemProvider refineItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.requirements.Refine}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createRefineAdapter() { - if (refineItemProvider == null) { - refineItemProvider = new RefineItemProvider(this); - } - - return refineItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.requirements.Satisfy} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected SatisfyItemProvider satisfyItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.requirements.Satisfy}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createSatisfyAdapter() { - if (satisfyItemProvider == null) { - satisfyItemProvider = new SatisfyItemProvider(this); - } - - return satisfyItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.requirements.TestCase} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected TestCaseItemProvider testCaseItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.requirements.TestCase}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createTestCaseAdapter() { - if (testCaseItemProvider == null) { - testCaseItemProvider = new TestCaseItemProvider(this); - } - - return testCaseItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.sysml14.requirements.Verify} instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected VerifyItemProvider verifyItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.sysml14.requirements.Verify}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter createVerifyAdapter() { - if (verifyItemProvider == null) { - verifyItemProvider = new VerifyItemProvider(this); - } - - return verifyItemProvider; - } - - /** - * This returns the root adapter factory that contains this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ComposeableAdapterFactory getRootAdapterFactory() { - return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); - } - - /** - * This sets the composed adapter factory that contains this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { - this.parentAdapterFactory = parentAdapterFactory; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean isFactoryForType(Object type) { - return supportedTypes.contains(type) || super.isFactoryForType(type); - } - - /** - * This implementation substitutes the factory itself as the key for the adapter. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Adapter adapt(Notifier notifier, Object type) { - return super.adapt(notifier, this); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object adapt(Object object, Object type) { - if (isFactoryForType(type)) { - Object adapter = super.adapt(object, type); - if (!(type instanceof Class<?>) || (((Class<?>)type).isInstance(adapter))) { - return adapter; - } - } - - return null; - } - - /** - * This adds a listener. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void addListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.addListener(notifyChangedListener); - } - - /** - * This removes a listener. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void removeListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.removeListener(notifyChangedListener); - } - - /** - * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void fireNotifyChanged(Notification notification) { - changeNotifier.fireNotifyChanged(notification); - - if (parentAdapterFactory != null) { - parentAdapterFactory.fireNotifyChanged(notification); - } - } - - /** - * This disposes all of the item providers created by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void dispose() { - if (copyItemProvider != null) copyItemProvider.dispose(); - if (traceItemProvider != null) traceItemProvider.dispose(); - if (requirementItemProvider != null) requirementItemProvider.dispose(); - if (deriveReqtItemProvider != null) deriveReqtItemProvider.dispose(); - if (refineItemProvider != null) refineItemProvider.dispose(); - if (satisfyItemProvider != null) satisfyItemProvider.dispose(); - if (testCaseItemProvider != null) testCaseItemProvider.dispose(); - if (verifyItemProvider != null) verifyItemProvider.dispose(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/requirements/provider/SatisfyItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/requirements/provider/SatisfyItemProvider.java deleted file mode 100644 index b846dd0..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/requirements/provider/SatisfyItemProvider.java +++ /dev/null
@@ -1,104 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.requirements.Satisfy} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class SatisfyItemProvider extends TraceItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public SatisfyItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * This returns Satisfy.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Satisfy")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_Satisfy_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/requirements/provider/TestCaseItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/requirements/provider/TestCaseItemProvider.java deleted file mode 100644 index 774f46a..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/requirements/provider/TestCaseItemProvider.java +++ /dev/null
@@ -1,181 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; -import org.eclipse.emf.edit.provider.IItemLabelProvider; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; -import org.eclipse.emf.edit.provider.IItemPropertySource; -import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; -import org.eclipse.emf.edit.provider.ITreeItemContentProvider; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.requirements.TestCase} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class TestCaseItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public TestCaseItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_BehaviorPropertyDescriptor(object); - addBase_OperationPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Behavior feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_BehaviorPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_TestCase_base_Behavior_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_TestCase_base_Behavior_feature", "_UI_TestCase_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - RequirementsPackage.Literals.TEST_CASE__BASE_BEHAVIOR, - true, - false, - true, - null, - null, - null)); - } - - /** - * This adds a property descriptor for the Base Operation feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_OperationPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_TestCase_base_Operation_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_TestCase_base_Operation_feature", "_UI_TestCase_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - RequirementsPackage.Literals.TEST_CASE__BASE_OPERATION, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns TestCase.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/TestCase")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_TestCase_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/requirements/provider/TraceItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/requirements/provider/TraceItemProvider.java deleted file mode 100644 index a4eb703..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/requirements/provider/TraceItemProvider.java +++ /dev/null
@@ -1,147 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.ResourceLocator; - -import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; - -import org.eclipse.papyrus.sysml14.blocks.provider.DirectedRelationshipPropertyPathItemProvider; - -import org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin; - -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.requirements.Trace} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class TraceItemProvider extends DirectedRelationshipPropertyPathItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public TraceItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - addBase_AbstractionPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Base Abstraction feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addBase_AbstractionPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_Trace_base_Abstraction_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_Trace_base_Abstraction_feature", "_UI_Trace_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - RequirementsPackage.Literals.TRACE__BASE_ABSTRACTION, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns Trace.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Trace")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_Trace_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return SysMLEditPlugin.INSTANCE; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/requirements/provider/VerifyItemProvider.java b/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/requirements/provider/VerifyItemProvider.java deleted file mode 100644 index 625be40..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src-gen/org/eclipse/papyrus/sysml14/requirements/provider/VerifyItemProvider.java +++ /dev/null
@@ -1,104 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements.provider; - - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.sysml14.requirements.Verify} object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class VerifyItemProvider extends TraceItemProvider { - /** - * This constructs an instance from a factory and a notifier. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public VerifyItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * This returns Verify.gif. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/Verify")); //$NON-NLS-1$ - } - - /** - * This returns the label text for the adapted class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_Verify_type"); //$NON-NLS-1$ - } - - - /** - * This handles model notifications by calling {@link #updateChildren} to update any cached - * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void notifyChanged(Notification notification) { - updateChildren(notification); - super.notifyChanged(notification); - } - - /** - * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children - * that can be created under this object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src/org/eclipse/papyrus/sysml14/edit/provider/IComposableAdapterFactory.java b/core/org.eclipse.papyrus.sysml14.edit/src/org/eclipse/papyrus/sysml14/edit/provider/IComposableAdapterFactory.java deleted file mode 100644 index 9bc4634..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src/org/eclipse/papyrus/sysml14/edit/provider/IComposableAdapterFactory.java +++ /dev/null
@@ -1,38 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2011 Atos. - * - * - * 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: - * Atos - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.edit.provider; - - -/** - * The purpose of this interface is to create composable adapterFactory but in a - * way much simpler than EMF does. - * - * @author "Arthur Daussy <a href="mailto:arthur.daussy@atos.net">arthur.daussy@atos.net</a>" - * - */ -public interface IComposableAdapterFactory { - - /** - * Return the root of the adapter factory - * - * @return {@link org.eclipse.emf.common.notify.AdapterFactory} - */ - IRootAdapterFactory getIRootAdapterFactory(); - - /** - * Set the root AdapterFactory - * - * @param root - */ - void setRootAdapterFactory(IRootAdapterFactory root); -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src/org/eclipse/papyrus/sysml14/edit/provider/IRootAdapterFactory.java b/core/org.eclipse.papyrus.sysml14.edit/src/org/eclipse/papyrus/sysml14/edit/provider/IRootAdapterFactory.java deleted file mode 100644 index 48f8fb0..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src/org/eclipse/papyrus/sysml14/edit/provider/IRootAdapterFactory.java +++ /dev/null
@@ -1,31 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2011 Atos. - * - * - * 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: - * Atos - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.edit.provider; - -/** - * Interfaces which has to be implemented by Root AdapterFactory - */ -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; - -public interface IRootAdapterFactory { - - /** - * Give back the itemProvider which correspond to the given EClass In this - * prog : used to get back the UML ItemProvider of the EClass - * - * @param eClass - * @return - */ - ItemProviderAdapter getItemProvider(EClass eClass); -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src/org/eclipse/papyrus/sysml14/edit/provider/IVisibilityOverlayImage.java b/core/org.eclipse.papyrus.sysml14.edit/src/org/eclipse/papyrus/sysml14/edit/provider/IVisibilityOverlayImage.java deleted file mode 100644 index 4593c49..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src/org/eclipse/papyrus/sysml14/edit/provider/IVisibilityOverlayImage.java +++ /dev/null
@@ -1,28 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2011 Atos. - * - * - * 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: - * Atos - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.edit.provider; - -import org.eclipse.emf.edit.provider.ComposedImage; - -/** - * Interface that allow an ItemProvider to compose an overlay that handle - * visibility logo - * - * @author Arthur Daussy <a - * href=mailto:arthur.daussy@atos.net>arthur.daussy@atos.net</a> - * - */ -public interface IVisibilityOverlayImage { - - ComposedImage composeVisibilityImage(Object object, ComposedImage composedImage); -}
diff --git a/core/org.eclipse.papyrus.sysml14.edit/src/org/eclipse/papyrus/sysml14/edit/provider/SysMLItemProviderAdapter.java b/core/org.eclipse.papyrus.sysml14.edit/src/org/eclipse/papyrus/sysml14/edit/provider/SysMLItemProviderAdapter.java deleted file mode 100644 index 39c451d..0000000 --- a/core/org.eclipse.papyrus.sysml14.edit/src/org/eclipse/papyrus/sysml14/edit/provider/SysMLItemProviderAdapter.java +++ /dev/null
@@ -1,53 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2011 Atos Origin. - * - * - * 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: - * Atos Origin - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.edit.provider; - -import org.eclipse.emf.common.notify.AdapterFactory; -import org.eclipse.emf.edit.provider.ComposedImage; -import org.eclipse.emf.edit.provider.ItemProviderAdapter; -import org.eclipse.uml2.uml.NamedElement; -import org.eclipse.uml2.uml.edit.UMLEditPlugin; - -/** - * Extends org.eclipse.emf.edit.provider.ItemProviderAdapter in order to - * implement specific SysML itemProvider fonctions - * - * @author "Arthur Daussy <a href="mailto:arthur.daussy@atos.net">arthur.daussy@atos.net</a>" - * - */ -public class SysMLItemProviderAdapter extends ItemProviderAdapter implements IVisibilityOverlayImage { - - private static final String FULL_OVR16_VISIBILITY_KIND = "full/ovr16/VisibilityKind_"; //$NON-NLS-1$ - - public SysMLItemProviderAdapter(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * Compose the image with specific visibility logo Copied from UML - * implementation - * - * @param object - * @param composedImage - * @return {@link ComposedImage} - */ - public ComposedImage composeVisibilityImage(Object object, ComposedImage composedImage) { - NamedElement namedElement = (NamedElement) object; - if (namedElement.isSetVisibility()) { - composedImage.getImages().add(UMLEditPlugin.INSTANCE.getImage(FULL_OVR16_VISIBILITY_KIND - + namedElement.getVisibility().getName())); - } - return composedImage; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types.tests/.project b/core/org.eclipse.papyrus.sysml14.service.types.tests/.project deleted file mode 100644 index 7424cc3..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types.tests/.project +++ /dev/null
@@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.service.types.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> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription>
diff --git a/core/org.eclipse.papyrus.sysml14.service.types.tests/META-INF/MANIFEST.MF b/core/org.eclipse.papyrus.sysml14.service.types.tests/META-INF/MANIFEST.MF deleted file mode 100644 index b32ccba..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types.tests/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,17 +0,0 @@ -Manifest-Version: 1.0 -Fragment-Host: org.eclipse.papyrus.sysml14.service.types;bundle-version="1.0.0" -Export-Package: org.eclipse.papyrus.sysml14.service.types.tests -Bundle-Vendor: %Bundle-Vendor -Bundle-Version: 1.2.0.qualifier -Bundle-Name: %Bundle-Name -Bundle-Localization: plugin -Bundle-ManifestVersion: 2 -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.service.types.tests -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Require-Bundle: org.junit;bundle-version="[4.11.0,5.0.0)", - org.eclipse.papyrus.uml.diagram.clazz;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.composite;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.interactionoverview;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.profile;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.statemachine;bundle-version="[3.0.0,4.0.0)" -
diff --git a/core/org.eclipse.papyrus.sysml14.service.types.tests/plugin.properties b/core/org.eclipse.papyrus.sysml14.service.types.tests/plugin.properties deleted file mode 100644 index cececed..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types.tests/plugin.properties +++ /dev/null
@@ -1,14 +0,0 @@ -################################################################################# -# Copyright (c) 2011 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: -# -# CEA LIST - Initial API and Implementation. -# -################################################################################## -Bundle-Name=Papyrus SysML 1.4 Service Types Tests -Bundle-Vendor=Eclipse Modeling Project
diff --git a/core/org.eclipse.papyrus.sysml14.service.types.tests/pom.xml b/core/org.eclipse.papyrus.sysml14.service.types.tests/pom.xml deleted file mode 100644 index f25134e..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types.tests/pom.xml +++ /dev/null
@@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" - xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <modelVersion>4.0.0</modelVersion> - <parent> - <artifactId>org.eclipse.papyrus.sysml14.core</artifactId> - <groupId>org.eclipse.papyrus.sysml</groupId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.service.types.tests</artifactId> - <packaging>eclipse-test-plugin</packaging> - <name>org.eclipse.papyrus.sysml14.service.types.tests</name> - <description>This plug-in contains the SyML 1.4 element types unit tests.</description> -</project>
diff --git a/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/PrivatePackageImportTest.java b/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/PrivatePackageImportTest.java deleted file mode 100644 index 5aa34fe..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/PrivatePackageImportTest.java +++ /dev/null
@@ -1,83 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.service.types.tests; - -import java.util.Map; - -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils; -import org.eclipse.papyrus.infra.services.edit.service.IElementEditService; -import org.eclipse.papyrus.infra.types.ElementTypeSetConfiguration; -import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.PackageImport; -import org.eclipse.uml2.uml.VisibilityKind; -import org.junit.Assert; -import org.junit.BeforeClass; -import org.junit.Test; - -/** - * Class to test Private package creation - */ -@SuppressWarnings("nls") -public class PrivatePackageImportTest { - - private static final String ELEMENT_TYPE_ID = "org.eclipse.papyrus.SysML14.PrivatePackageImport"; - - @BeforeClass - public static void loadSysMLDefinition() { - ElementTypeSetConfigurationRegistry instance = ElementTypeSetConfigurationRegistry.getInstance(); - Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurations = instance.getElementTypeSetConfigurations(); - Map<String, ElementTypeSetConfiguration> map = elementTypeSetConfigurations.get(SysMLServiceTypeUtil.SYSML14_CONTEXT_ID); - ElementTypeSetConfiguration elementTypeSetConfiguration = map.get("org.eclipse.papyrus.sysml14.service.types.elementTypeSet.extension"); - Assert.assertNotNull("The SysML element type set definition is missing", elementTypeSetConfiguration); - } - - @Test - public void testCreation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - IElementType elementType = ElementTypeRegistry.getInstance().getType(ELEMENT_TYPE_ID); - CreateRelationshipRequest validRequest = new CreateRelationshipRequest(model, model, elementType); - IElementEditService commandService = ElementEditServiceUtils.getCommandProvider(model); - ICommand editCommand = commandService.getEditCommand(validRequest); - - Assert.assertTrue("The command for creating a private package import should be executable", editCommand.canExecute()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(editCommand)); - startTransaction.commit(); - Object result = editCommand.getCommandResult().getReturnValue(); - Assert.assertTrue("The result should be a PackageImport", result instanceof PackageImport); - Assert.assertEquals("The PackageImport is expected a private visibility",VisibilityKind.PRIVATE_LITERAL, ((PackageImport) result).getVisibility()); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/SharedAssociationTest.java b/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/SharedAssociationTest.java deleted file mode 100644 index 04248f5..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/SharedAssociationTest.java +++ /dev/null
@@ -1,86 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.service.types.tests; - -import java.util.Map; - -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils; -import org.eclipse.papyrus.infra.services.edit.service.IElementEditService; -import org.eclipse.papyrus.infra.types.ElementTypeSetConfiguration; -import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.uml2.uml.AggregationKind; -import org.eclipse.uml2.uml.Association; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.junit.Assert; -import org.junit.BeforeClass; -import org.junit.Ignore; -import org.junit.Test; - -/** - * Class to test SharedAssociation - */ -@SuppressWarnings("nls") -public class SharedAssociationTest { - - private static final String ELEMENT_TYPE_ID = "org.eclipse.papyrus.uml.AssociationShared"; - - @BeforeClass - public static void loadSysMLDefinition() { - ElementTypeSetConfigurationRegistry instance = ElementTypeSetConfigurationRegistry.getInstance(); - Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurations = instance.getElementTypeSetConfigurations(); - Map<String, ElementTypeSetConfiguration> map = elementTypeSetConfigurations.get(SysMLServiceTypeUtil.SYSML14_CONTEXT_ID); - ElementTypeSetConfiguration elementTypeSetConfiguration = map.get("org.eclipse.papyrus.sysml14.service.types.elementTypeSet.extension"); - Assert.assertNotNull("The SysML element type set definition is missing", elementTypeSetConfiguration); - } - - @Ignore // FIXME : fail with NPE to be checked after full switch to independent contextid - @Test - public void testCreation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - Class clazz = model.createOwnedClass("Class", false); - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - IElementType elementType = ElementTypeRegistry.getInstance().getType(ELEMENT_TYPE_ID); - CreateRelationshipRequest validRequest = new CreateRelationshipRequest(clazz, clazz, elementType); - IElementEditService commandService = ElementEditServiceUtils.getCommandProvider(model); - ICommand editCommand = commandService.getEditCommand(validRequest); - - Assert.assertTrue("The command for creating a provate package import should be executable", editCommand.canExecute()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(editCommand)); - startTransaction.commit(); - Object result = editCommand.getCommandResult().getReturnValue(); - Assert.assertTrue("The result should be a Association", result instanceof Association); - Assert.assertEquals("The Association is expected a shared aggregation in the first member end",AggregationKind.SHARED_LITERAL, ((Association) result).getMemberEnds().get(0).getAggregation()); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/SysML14ElementTypesExtensionTest.java b/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/SysML14ElementTypesExtensionTest.java deleted file mode 100644 index 2350fab..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/SysML14ElementTypesExtensionTest.java +++ /dev/null
@@ -1,129 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.tests; - -import java.util.Map; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.common.util.TreeIterator; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.ecore.util.Diagnostician; -import org.eclipse.papyrus.infra.types.AbstractMatcherConfiguration; -import org.eclipse.papyrus.infra.types.ElementTypeConfiguration; -import org.eclipse.papyrus.infra.types.ElementTypeSetConfiguration; -import org.eclipse.papyrus.infra.types.SpecializationTypeConfiguration; -import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.junit.Assert; -import org.junit.BeforeClass; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * This class is to check any change in the SysML 1.4 element type id - * (since the ids can be used a specialization they are part of public API) - * - */ -@SuppressWarnings("nls") -public class SysML14ElementTypesExtensionTest { - - public static final String ELEMENTTYPE_EXTENSION_MENU_PATH = "org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations"; //$NON-NLS-1$ - - @BeforeClass - public static void loadSysMLDefinition() { - ElementTypeSetConfigurationRegistry instance = ElementTypeSetConfigurationRegistry.getInstance(); - Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurations = instance.getElementTypeSetConfigurations(); - Map<String, ElementTypeSetConfiguration> map = elementTypeSetConfigurations.get(SysMLServiceTypeUtil.SYSML14_CONTEXT_ID); - ElementTypeSetConfiguration elementTypeSetConfiguration = map.get("org.eclipse.papyrus.sysml14.service.types.elementTypeSet.extension"); - Assert.assertNotNull("The SysML element type set definition is missing", elementTypeSetConfiguration); - } - - @Test - @Ignore //FIXME Setting a field by model create a working bu invalide model - public void validateSysML14ElementTypesExtensionModel() { - URI createPlatformPluginURI = URI.createPlatformPluginURI(ELEMENTTYPE_EXTENSION_MENU_PATH, true); - Resource resource = new ResourceSetImpl().getResource(createPlatformPluginURI, true); - Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); - Assert.assertEquals("The SysML14ElementTypesExtension model is not valid ", Diagnostic.OK, diagnostic.getSeverity()); - } - - /** - * Check that all SpecializationTypeConfiguration have a matcher - * (This is no more required for avoiding to broke UML Diagrams since contextid but still a good idea) - */ - @Test - public void checkElementTypeMatcher() { - URI createPlatformPluginURI = URI.createPlatformPluginURI(ELEMENTTYPE_EXTENSION_MENU_PATH, true); - ResourceSetImpl resourceSetImpl = new ResourceSetImpl(); - Resource resource = resourceSetImpl.getResource(createPlatformPluginURI, true); - - - TreeIterator<EObject> allContents = resource.getAllContents(); - while (allContents.hasNext()) { - EObject eObject = (EObject) allContents.next(); - if (eObject instanceof ElementTypeSetConfiguration) { - ElementTypeSetConfiguration elementTypeSetConfiguration = (ElementTypeSetConfiguration) eObject; - EList<ElementTypeConfiguration> elementTypeConfigurations = elementTypeSetConfiguration.getElementTypeConfigurations(); - for (ElementTypeConfiguration elementTypeConfiguration : elementTypeConfigurations) { - if (elementTypeConfiguration instanceof SpecializationTypeConfiguration) { - SpecializationTypeConfiguration specializationTypeConfiguration = (SpecializationTypeConfiguration) elementTypeConfiguration; - AbstractMatcherConfiguration matcherConfiguration = specializationTypeConfiguration.getMatcherConfiguration(); - Assert.assertNotNull(specializationTypeConfiguration.getName()+"is missing its matcher. All SysML 1.4 SpecializationTypeConfiguration must have a matcher. By default, use org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher)", matcherConfiguration); - } - } - } - } - } - - @Test - public void testRegistryContentForUnit() { - Assert.assertTrue("Unit element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Unit")); - } - - @Test - public void testRegistryContentForQuantityKind() { - Assert.assertTrue("QuantityKind element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.QuantityKind")); - } - - @Test - public void testRegistryContentForConstraintProperty() { - Assert.assertTrue("ConstraintProperty element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.ConstraintProperty")); - } - - @Test - public void testRegistryContentForActorPart() { - Assert.assertTrue("ActorPart element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.ActorPart")); - } - - @Test - public void testRegistryContentForValue() { - Assert.assertTrue("Value element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Value")); - } - - @Test - public void testRegistryContentForReference() { - Assert.assertTrue("Reference element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Reference")); - } - - @Test - public void testRegistryContentForPart() { - Assert.assertTrue("Part element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Part")); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/SysML14ElementTypesTest.java b/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/SysML14ElementTypesTest.java deleted file mode 100644 index a0612ff..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/SysML14ElementTypesTest.java +++ /dev/null
@@ -1,405 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.tests; - -import java.util.Map; - -import org.eclipse.papyrus.infra.types.ElementTypeSetConfiguration; -import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.junit.Assert; -import org.junit.BeforeClass; -import org.junit.Test; - - -/** - * This class is to check any change in the SysML 1.4 element type id - * (since the ids can be used a specialization they are part of public API) - * - */ -@SuppressWarnings("nls") -public class SysML14ElementTypesTest { - - @BeforeClass - public static void loadSysml14Defintion() { - ElementTypeSetConfigurationRegistry instance = ElementTypeSetConfigurationRegistry.getInstance(); - Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurations = instance.getElementTypeSetConfigurations(); - Map<String, ElementTypeSetConfiguration> map = elementTypeSetConfigurations.get(SysMLServiceTypeUtil.SYSML14_CONTEXT_ID); - ElementTypeSetConfiguration elementTypeSetConfiguration = map.get("org.eclipse.papyrus.sysml14.service.types.elementTypeSet"); - Assert.assertNotNull("The SysML 1.4 element type set definition is missing", elementTypeSetConfiguration); - } - - @Test - public void testRegistryContentForAcceptChangeStructuralFeatureEventAction() { - Assert.assertTrue("AcceptChangeStructuralFeatureEventAction element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.AcceptChangeStructuralFeatureEventAction")); - } - - @Test - public void testRegistryContentForAdjunctProperty() { - Assert.assertTrue("AdjunctProperty element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.AdjunctProperty")); - } - - @Test - public void testRegistryContentForAllocateActivityPartition() { - Assert.assertTrue("AllocateActivityPartition element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.AllocateActivityPartition")); - } - - @Test - public void testRegistryContentForAllocateAbstraction() { - Assert.assertTrue("Allocate Abstraction element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Allocate_Abstraction")); - } - - @Test - public void testRegistryContentForAllocateDirectedRelationship() { - Assert.assertTrue("Allocate DirectedRelationship element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Allocate_DirectedRelationship")); - } - - @Test - public void testRegistryContentForBindingConnector() { - Assert.assertTrue("BindingConnector element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.BindingConnector")); - } - - @Test - public void testRegistryContentForBlock() { - Assert.assertTrue("Block element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Block")); - } - - @Test - public void testRegistryContentForBoundReference() { - Assert.assertTrue("BoundReference element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.BoundReference")); - } - - @Test - public void testRegistryContentForChangeStructuralFeatureEvent() { - Assert.assertTrue("ChangeStructuralFeatureEvent element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.ChangeStructuralFeatureEvent")); - } - - @Test - public void testRegistryContentForClassifierBehaviorProperty() { - Assert.assertTrue("ClassifierBehaviorProperty element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.ClassifierBehaviorProperty")); - } - - @Test - public void testRegistryContentForConform() { - Assert.assertTrue("Conform element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Conform")); - } - - @Test - public void testRegistryContentForConnectorProperty() { - Assert.assertTrue("ConnectorProperty element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.ConnectorProperty")); - } - - @Test - public void testRegistryContentForConstraintBlock() { - Assert.assertTrue("ConstraintBlock element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.ConstraintBlock")); - } - - @Test - public void testRegistryContentForContinuousActivityEdge() { - Assert.assertTrue("Continuous ActivityEdge element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Continuous_ActivityEdge")); - } - - @Test - public void testRegistryContentForContinuousObjectNode() { - Assert.assertTrue("Continuous ObjectNode element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Continuous_ObjectNode")); - } - - @Test - public void testRegistryContentForContinuousParameter() { - Assert.assertTrue("Continuous Parameter element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Continuous_Parameter")); - } - - @Test - public void testRegistryContentForControlOperatorBehavior() { - Assert.assertTrue("ControlOperator Behavior element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.ControlOperator_Behavior")); - } - - @Test - public void testRegistryContentForControlOperatorOperation() { - Assert.assertTrue("ControlOperator Operation element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.ControlOperator_Operation")); - } - - @Test - public void testRegistryContentForCopyAbstraction() { - Assert.assertTrue("Copy Abstraction element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Copy_Abstraction")); - } - - @Test - public void testRegistryContentForCopyDirectedRelationship() { - Assert.assertTrue("Copy DirectedRelationship element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Copy_DirectedRelationship")); - } - - @Test - public void testRegistryContentForDeriveReqtAbstraction() { - Assert.assertTrue("DeriveReqt Abstraction element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.DeriveReqt_Abstraction")); - } - - @Test - public void testRegistryContentForDeriveReqtDirectedRelationship() { - Assert.assertTrue("DeriveReqt DirectedRelationship element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.DeriveReqt_DirectedRelationship")); - } - - @Test - public void testRegistryContentForDirectedFeature() { - Assert.assertTrue("DirectedFeature element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.DirectedFeature")); - } - - @Test - public void testRegistryContentForDirectedRelationshipPropertyPath() { - Assert.assertTrue("DirectedRelationshipPropertyPath element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.DirectedRelationshipPropertyPath")); - } - - @Test - public void testRegistryContentForDiscreteActivityEdge() { - Assert.assertTrue("Discrete ActivityEdge element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Discrete_ActivityEdge")); - } - - @Test - public void testRegistryContentForDiscreteObjectNode() { - Assert.assertTrue("Discrete ObjectNode element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Discrete_ObjectNode")); - } - - @Test - public void testRegistryContentForDiscreteParameter() { - Assert.assertTrue("Discrete Parameter element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Discrete_Parameter")); - } - - @Test - public void testRegistryContentForDistributedProperty() { - Assert.assertTrue("DistributedProperty element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.DistributedProperty")); - } - - @Test - public void testRegistryContentForElementGroup() { - Assert.assertTrue("ElementGroup element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.ElementGroup")); - } - - @Test - public void testRegistryContentForElementPropertyPath() { - Assert.assertTrue("ElementPropertyPath element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.ElementPropertyPath")); - } - - @Test - public void testRegistryContentForEndPathMultiplicity() { - Assert.assertTrue("EndPathMultiplicity element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.EndPathMultiplicity")); - } - - @Test - public void testRegistryContentForExpose() { - Assert.assertTrue("Expose element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Expose")); - } - - @Test - public void testRegistryContentForFlowPort() { - Assert.assertTrue("FlowPort element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.FlowPort")); - } - - @Test - public void testRegistryContentForFlowProperty() { - Assert.assertTrue("FlowProperty element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.FlowProperty")); - } - - @Test - public void testRegistryContentForFlowSpecification() { - Assert.assertTrue("FlowSpecification element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.FlowSpecification")); - } - - @Test - public void testRegistryContentForFullPort() { - Assert.assertTrue("FullPort element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.FullPort")); - } - - @Test - public void testRegistryContentForInterfaceBlock() { - Assert.assertTrue("InterfaceBlock element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.InterfaceBlock")); - } - - @Test - public void testRegistryContentForInvocationOnNestedPortActionElement() { - Assert.assertTrue("InvocationOnNestedPortAction Element element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.InvocationOnNestedPortAction_Element")); - } - - @Test - public void testRegistryContentForInvocationOnNestedPortActionInvocationAction() { - Assert.assertTrue("InvocationOnNestedPortAction InvocationAction element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.InvocationOnNestedPortAction_InvocationAction")); - } - - @Test - public void testRegistryContentForItemFlow() { - Assert.assertTrue("ItemFlow element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.ItemFlow")); - } - - @Test - public void testRegistryContentForNestedConnectorEndConnectorEnd() { - Assert.assertTrue("NestedConnectorEnd ConnectorEnd element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.NestedConnectorEnd_ConnectorEnd")); - } - - @Test - public void testRegistryContentForNestedConnectorEndElement() { - Assert.assertTrue("NestedConnectorEnd Element element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.NestedConnectorEnd_Element")); - } - - @Test - public void testRegistryContentForNoBuffer() { - Assert.assertTrue("NoBuffer element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.NoBuffer")); - } - - @Test - public void testRegistryContentForOptional() { - Assert.assertTrue("Optional element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Optional")); - } - - @Test - public void testRegistryContentForOverwrite() { - Assert.assertTrue("Overwrite element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Overwrite")); - } - - @Test - public void testRegistryContentForParticipantProperty() { - Assert.assertTrue("ParticipantProperty element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.ParticipantProperty")); - } - - @Test - public void testRegistryContentForProbabilityActivityEdge() { - Assert.assertTrue("Probability ActivityEdge element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Probability_ActivityEdge")); - } - - @Test - public void testRegistryContentForProbabilityParameterSet() { - Assert.assertTrue("Probability ParameterSet element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Probability_ParameterSet")); - } - - @Test - public void testRegistryContentForProblem() { - Assert.assertTrue("Problem element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Problem")); - } - - @Test - public void testRegistryContentForPropertySpecificType() { - Assert.assertTrue("PropertySpecificType element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.PropertySpecificType")); - } - - @Test - public void testRegistryContentForProxyPort() { - Assert.assertTrue("ProxyPort element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.ProxyPort")); - } - - @Test - public void testRegistryContentForRateActivityEdge() { - Assert.assertTrue("Rate ActivityEdge element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Rate_ActivityEdge")); - } - - @Test - public void testRegistryContentForRateObjectNode() { - Assert.assertTrue("Rate ObjectNode element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Rate_ObjectNode")); - } - - @Test - public void testRegistryContentForRateParameter() { - Assert.assertTrue("Rate Parameter element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Rate_Parameter")); - } - - @Test - public void testRegistryContentForRationale() { - Assert.assertTrue("Rationale element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Rationale")); - } - - @Test - public void testRegistryContentForRefineAbstraction() { - Assert.assertTrue("Refine Abstraction element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Refine_Abstraction")); - } - - @Test - public void testRegistryContentForRefineDirectedRelationship() { - Assert.assertTrue("Refine DirectedRelationship element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Refine_DirectedRelationship")); - } - - @Test - public void testRegistryContentForRequirement() { - Assert.assertTrue("Requirement element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Requirement")); - } - - @Test - public void testRegistryContentForSatisfyAbstraction() { - Assert.assertTrue("Satisfy Abstraction element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Satisfy_Abstraction")); - } - - @Test - public void testRegistryContentForSatisfyDirectedRelationship() { - Assert.assertTrue("Satisfy DirectedRelationship element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Satisfy_DirectedRelationship")); - } - - @Test - public void testRegistryContentForStakeholder() { - Assert.assertTrue("Stakeholder element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Stakeholder")); - } - - @Test - public void testRegistryContentForTestCaseBehavior() { - Assert.assertTrue("TestCase Behavior element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.TestCase_Behavior")); - } - - @Test - public void testRegistryContentForTestCaseOperation() { - Assert.assertTrue("TestCase Operation element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.TestCase_Operation")); - } - - @Test - public void testRegistryContentForTraceAbstraction() { - Assert.assertTrue("Trace Abstraction element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Trace_Abstraction")); - } - - @Test - public void testRegistryContentForTraceDirectedRelationship() { - Assert.assertTrue("Trace DirectedRelationship element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Trace_DirectedRelationship")); - } - - @Test - public void testRegistryContentForTriggerOnNestedPortElement() { - Assert.assertTrue("TriggerOnNestedPort Element element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.TriggerOnNestedPort_Element")); - } - - @Test - public void testRegistryContentForTriggerOnNestedPortTrigger() { - Assert.assertTrue("TriggerOnNestedPort Trigger element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.TriggerOnNestedPort_Trigger")); - } - - @Test - public void testRegistryContentForValueType() { - Assert.assertTrue("ValueType element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.ValueType")); - } - - @Test - public void testRegistryContentForVerifyAbstraction() { - Assert.assertTrue("Verify Abstraction element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Verify_Abstraction")); - } - - @Test - public void testRegistryContentForVerifyDirectedRelationship() { - Assert.assertTrue("Verify DirectedRelationship element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Verify_DirectedRelationship")); - } - - @Test - public void testRegistryContentForView() { - Assert.assertTrue("View element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.View")); - } - - @Test - public void testRegistryContentForViewpoint() { - Assert.assertTrue("Viewpoint element type not found in SysML element type set ", SysMLServiceTypeUtil.isKnown("org.eclipse.papyrus.SysML14.Viewpoint")); - } - - - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/advice/ConformCreationEditHelperAdviceTest.java b/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/advice/ConformCreationEditHelperAdviceTest.java deleted file mode 100644 index 1ef7769..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/advice/ConformCreationEditHelperAdviceTest.java +++ /dev/null
@@ -1,91 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.tests.advice; - -import java.util.Map; - -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest; -import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest; -import org.eclipse.papyrus.infra.types.ElementTypeSetConfiguration; -import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; -import org.eclipse.papyrus.sysml14.service.types.advice.ConformCreationEditHelperAdvice; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.Test; - -/** - * Test class for conform creation - * This class verifies the requirement{@papyrus.req org.eclipse.papyrus.sysml14.service.types#Req_001} - */ -@SuppressWarnings("nls") -public class ConformCreationEditHelperAdviceTest { - - @BeforeClass - public static void loadSysml14Definition() { - ElementTypeSetConfigurationRegistry instance = ElementTypeSetConfigurationRegistry.getInstance(); - Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurations = instance.getElementTypeSetConfigurations(); - Map<String, ElementTypeSetConfiguration> map = elementTypeSetConfigurations.get(SysMLServiceTypeUtil.SYSML14_CONTEXT_ID); - ElementTypeSetConfiguration elementTypeSetConfiguration = map.get("org.eclipse.papyrus.sysml14.service.types.elementTypeSet"); - Assert.assertNotNull("The SysML 1.4 element type set definition is missing", elementTypeSetConfiguration); - } - - /** - * A Class with the stereotype Viewpoint - */ - private org.eclipse.uml2.uml.Class classStereotypeViewpoint; - - /** - * A Class with the stereotype View - */ - private org.eclipse.uml2.uml.Class classStereotypeView; - - @Before - public void setUp() { - // Prepare test - Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - StereotypeApplicationHelper stereotypeApplicationHelper = StereotypeApplicationHelper.getInstance(null); - classStereotypeViewpoint = model.createOwnedClass("classStereotypeViewpoint", false); - stereotypeApplicationHelper.applyStereotype(classStereotypeViewpoint, ModelelementsPackage.eINSTANCE.getViewpoint()); - classStereotypeView = model.createOwnedClass("classStereotypeView", false); - stereotypeApplicationHelper.applyStereotype(classStereotypeView, ModelelementsPackage.eINSTANCE.getView()); - } - - - /** - * Test if the creation of conform following SysML requirements - */ - @Test - public void testApproveRequest() { - ConformCreationEditHelperAdvice conformCreationEditHelperAdvice = new ConformCreationEditHelperAdvice(); - IElementType type = ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_CONFORM); - - IEditCommandRequest invalidRequest = new CreateRelationshipRequest(type); - Assert.assertFalse("Creation should forbiden for a conform not linked to any elements", conformCreationEditHelperAdvice.approveRequest(invalidRequest)); - - IEditCommandRequest validRequest = new CreateRelationshipRequest(classStereotypeView, classStereotypeViewpoint, type); - Assert.assertTrue("Conform is allow from a View to a Viewpoint", conformCreationEditHelperAdvice.approveRequest(validRequest)); - - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/advice/ConformReorientEditHelperAdviceTest.java b/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/advice/ConformReorientEditHelperAdviceTest.java deleted file mode 100644 index 4011874..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/advice/ConformReorientEditHelperAdviceTest.java +++ /dev/null
@@ -1,138 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.tests.advice; - -import java.util.Map; - -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest; -import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; -import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRequest; -import org.eclipse.papyrus.infra.types.ElementTypeSetConfiguration; -import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; -import org.eclipse.papyrus.sysml14.service.types.advice.ConformReorientEditHelperAdvice; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.Test; - -/** - * Test class for conform creation - * This class verifies the requirement{@papyrus.req org.eclipse.papyrus.sysml14.service.types#Req_001} - */ -@SuppressWarnings("nls") -public class ConformReorientEditHelperAdviceTest { - - @BeforeClass - public static void loadSysml14Definition() { - ElementTypeSetConfigurationRegistry instance = ElementTypeSetConfigurationRegistry.getInstance(); - Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurations = instance.getElementTypeSetConfigurations(); - Map<String, ElementTypeSetConfiguration> map = elementTypeSetConfigurations.get(SysMLServiceTypeUtil.SYSML14_CONTEXT_ID); - ElementTypeSetConfiguration elementTypeSetConfiguration = map.get("org.eclipse.papyrus.sysml14.service.types.elementTypeSet"); - Assert.assertNotNull("The SysML 1.4 element type set definition is missing", elementTypeSetConfiguration); - - } - - /** - * A Class with the stereotype Viewpoint - */ - private org.eclipse.uml2.uml.Class classStereotypeViewpoint; - - /** - * A Class with the stereotype View - */ - private org.eclipse.uml2.uml.Class classStereotypeView; - - /** - * a class without stereotype - */ - private org.eclipse.uml2.uml.Class notStereotypeClass; - - /** - * the link conform - */ - private Abstraction conformLink; - - /** - * A Class with the stereotype Viewpoint to test re-orient - */ - private Class classStereotypeView2; - - /** - * A Class with the stereotype View to test re-orient - */ - private Class classStereotypeViewpoint2; - - @Before - public void setUp() { - // Prepare test - Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - StereotypeApplicationHelper stereotypeApplicationHelper = StereotypeApplicationHelper.getInstance(null); - classStereotypeViewpoint = model.createOwnedClass("classStereotypeViewpoint", false); - stereotypeApplicationHelper.applyStereotype(classStereotypeViewpoint, ModelelementsPackage.eINSTANCE.getViewpoint()); - classStereotypeView = model.createOwnedClass("classStereotypeView", false); - stereotypeApplicationHelper.applyStereotype(classStereotypeView, ModelelementsPackage.eINSTANCE.getView()); - - // class not sterotyped - notStereotypeClass = model.createOwnedClass("notStereotypeClass", false); - - // creation of the conform link - conformLink = UMLFactory.eINSTANCE.createAbstraction(); - model.getPackagedElements().add(conformLink); - conformLink.getClients().add(classStereotypeView); - conformLink.getSuppliers().add(classStereotypeViewpoint); - stereotypeApplicationHelper.applyStereotype(conformLink, ModelelementsPackage.eINSTANCE.getConform()); - - - classStereotypeView2 = model.createOwnedClass("classStereotypeView2", false); - stereotypeApplicationHelper.applyStereotype(classStereotypeView2, ModelelementsPackage.eINSTANCE.getView()); - - - classStereotypeViewpoint2 = model.createOwnedClass("classStereotypeViewpoint2", false); - stereotypeApplicationHelper.applyStereotype(classStereotypeViewpoint2, ModelelementsPackage.eINSTANCE.getViewpoint()); - } - - - /** - * Test if the creation of conform following SysML requirements - */ - @Test - public void testApproveRequest() { - ConformReorientEditHelperAdvice conformReorientEditHelperAdvice = new ConformReorientEditHelperAdvice(); - - IEditCommandRequest invalidRequest = new ReorientRelationshipRequest(conformLink, notStereotypeClass, classStereotypeViewpoint, ReorientRequest.REORIENT_TARGET); - Assert.assertFalse("Target reorient should forbiden for a conform not linked to any elements", conformReorientEditHelperAdvice.approveRequest(invalidRequest)); - - IEditCommandRequest validRequest = new ReorientRelationshipRequest(conformLink, classStereotypeViewpoint2, classStereotypeViewpoint, ReorientRequest.REORIENT_TARGET); - Assert.assertTrue("Target reorient should allow on view point", conformReorientEditHelperAdvice.approveRequest(validRequest)); - - IEditCommandRequest invalidRequest2 = new ReorientRelationshipRequest(conformLink, notStereotypeClass, classStereotypeView, ReorientRequest.REORIENT_SOURCE); - Assert.assertFalse("Source reotient should forbiden for a conform not linked to any elements", conformReorientEditHelperAdvice.approveRequest(invalidRequest2)); - - IEditCommandRequest validRequest2 = new ReorientRelationshipRequest(conformLink, classStereotypeView2, classStereotypeView, ReorientRequest.REORIENT_SOURCE); - Assert.assertTrue("Source reorient should should allow on view ", conformReorientEditHelperAdvice.approveRequest(validRequest2)); - - - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/advice/DirectedRelationshipPropertyPathEditHelperAdviceTest.java b/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/advice/DirectedRelationshipPropertyPathEditHelperAdviceTest.java deleted file mode 100644 index c8efe2d..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/advice/DirectedRelationshipPropertyPathEditHelperAdviceTest.java +++ /dev/null
@@ -1,70 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.tests.advice; - -import java.util.Map; - -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest; -import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest; -import org.eclipse.papyrus.infra.types.ElementTypeSetConfiguration; -import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; -import org.eclipse.papyrus.sysml14.service.types.advice.DirectedRelationshipPropertyPathEditHelperAdvice; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.uml2.uml.Model; -import org.junit.Assert; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.Test; - -/** - * Test class for DirectedRelationshipPropertyPathEditHelperAdvice - */ -@SuppressWarnings("nls") -public class DirectedRelationshipPropertyPathEditHelperAdviceTest { - - @BeforeClass - public static void loadSysml14Definition() { - ElementTypeSetConfigurationRegistry instance = ElementTypeSetConfigurationRegistry.getInstance(); - Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurations = instance.getElementTypeSetConfigurations(); - Map<String, ElementTypeSetConfiguration> map = elementTypeSetConfigurations.get(SysMLServiceTypeUtil.SYSML14_CONTEXT_ID); - ElementTypeSetConfiguration elementTypeSetConfiguration = map.get("org.eclipse.papyrus.sysml14.service.types.elementTypeSet"); - Assert.assertNotNull("The SysML 1.4 element type set definition is missing", elementTypeSetConfiguration); - } - - @Before - public void setUp() { - // Prepare test - Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - } - - - /** - * Test if the call of after create with null parameter - * Seems to happen sometimes https://bugs.eclipse.org/bugs/show_bug.cgi?id=492564 - */ - @Test - public void testGetAfterCreateRelationshipCommand() { - DirectedRelationshipPropertyPathEditHelperAdvice directedRelationshipPropertyPathEditHelperAdvice = new DirectedRelationshipPropertyPathEditHelperAdvice(); - IElementType type = ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_ALLOCATE_ABSTRACTION); - IEditCommandRequest invalidRequest = new CreateRelationshipRequest(null, null, type); - Assert.assertNull("Conform is allow from a View to a Viewpoint", directedRelationshipPropertyPathEditHelperAdvice.getAfterEditCommand(invalidRequest)); - - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/command/CreateAssociationCommandTest.java b/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/command/CreateAssociationCommandTest.java deleted file mode 100644 index c114001..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/command/CreateAssociationCommandTest.java +++ /dev/null
@@ -1,141 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.service.types.tests.command; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.sysml14.service.types.command.CreateAssociationCommand; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.uml2.uml.AggregationKind; -import org.eclipse.uml2.uml.Association; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CreateAssociationCommand - * - */ -@SuppressWarnings("nls") -public class CreateAssociationCommandTest { - - - /** - * Test method for {@link org.eclipse.papyrus.sysml14.service.types.command.CreateAssociationCommand#canExecute()}. - */ - @Test - public void testCanExecute() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class sourceClass = model.createOwnedClass("C1", false); - Class targetClass = model.createOwnedClass("C2", false); - Property property = sourceClass.createOwnedAttribute("P1", targetClass); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - IElementType type = ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_PART); - ConfigureRequest validRequest = new ConfigureRequest(editingDomain, property, type); - CreateAssociationCommand createAssociationCommand = new CreateAssociationCommand(validRequest, null); - Assert.assertFalse("The createAssociationCommand should'nt be executable", createAssociationCommand.canExecute()); - } - - /** - * Test method for {@link org.eclipse.papyrus.sysml14.service.types.command.CreateAssociationCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)}. - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void testExecution() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class sourceClass = model.createOwnedClass("C1", false); - Class targetClass = model.createOwnedClass("C2", false); - Property property = sourceClass.createOwnedAttribute("P1", targetClass); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - IElementType type = ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_PART); - ConfigureRequest validRequest = new ConfigureRequest(editingDomain, property, type); - CreateAssociationCommand createAssociationCommand = new CreateAssociationCommand(validRequest, AggregationKind.COMPOSITE_LITERAL); - Assert.assertTrue("The createAssociationCommand should be executable", createAssociationCommand.canExecute()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(createAssociationCommand)); - startTransaction.commit(); - Object result = createAssociationCommand.getCommandResult().getReturnValue(); - Assert.assertTrue("The result of a seNestedPathCommand should be a Connector", result instanceof Property); - Assert.assertNotNull("The association wasn't created", ((Property) result).getAssociation()); - Assert.assertEquals("The property has the wrong aggregation",AggregationKind.COMPOSITE_LITERAL, ((Property) result).getAggregation()); - } - - /** - * Bug 483564 :Test Undo/Redo that invert association end - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void testExecutionUndoRedo() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class sourceClass = model.createOwnedClass("C1", false); - Class targetClass = model.createOwnedClass("C2", false); - Property property = sourceClass.createOwnedAttribute("P1", targetClass); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - IElementType type = ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_PART); - ConfigureRequest validRequest = new ConfigureRequest(editingDomain, property, type); - CreateAssociationCommand createAssociationCommand = new CreateAssociationCommand(validRequest, AggregationKind.COMPOSITE_LITERAL); - Assert.assertTrue("The createAssociationCommand should be executable", createAssociationCommand.canExecute()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(createAssociationCommand)); - startTransaction.commit(); - Object result = createAssociationCommand.getCommandResult().getReturnValue(); - Assert.assertTrue("The result of a seNestedPathCommand should be a Connector", result instanceof Property); - Association association = ((Property) result).getAssociation(); - Assert.assertNotNull("The association wasn't created", association); - EList<Property> memberEnds = association.getMemberEnds(); - // save the reference of the first execution - Property firstDoMemberEnd = memberEnds.get(0); - Property secondDoMemberEnd = memberEnds.get(1); - editingDomain.getCommandStack().undo(); - editingDomain.getCommandStack().redo(); - Assert.assertEquals("The first member end should stay the same",firstDoMemberEnd, association.getMemberEnds().get(0)); - Assert.assertEquals("The second member end should stay the same",secondDoMemberEnd, association.getMemberEnds().get(1)); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/command/UpdateNestedPathConnectorEndTest.java b/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/command/UpdateNestedPathConnectorEndTest.java deleted file mode 100644 index 2984d7a..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/command/UpdateNestedPathConnectorEndTest.java +++ /dev/null
@@ -1,187 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 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: - * Pauline DEVILLE (CEA LIST) pauline.deville@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.tests.command; - -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; -import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest; -import org.eclipse.gmf.runtime.notation.Node; -import org.eclipse.gmf.runtime.notation.NotationFactory; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.blocks.NestedConnectorEnd; -import org.eclipse.papyrus.sysml14.service.types.command.UpdateNestedPathConnectorEnd; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Connector; -import org.eclipse.uml2.uml.ConnectorEnd; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Before; -import org.junit.Test; - -/** - * Test class for connector creation - */ -@SuppressWarnings("nls") -public class UpdateNestedPathConnectorEndTest { - - private ResourceSetImpl resourceSet; - - private Model model; - private org.eclipse.uml2.uml.Class blockRoot; - private Property p1; - private Property p2; - private Property p3; - - private Node p1View; - private Node p2View; - private Node p3ViewInP1; - private Node p3ViewInP2; - - /** - * Data structure: - * | blockRoot | | classType | - * |----------------| |----------------| - * | p1 : classType | | p3 : classType | - * | p2 : classType | | | - * - * View structure: - * +-------------------------+ - * | blockRootView | - * +-------------------------+ - * | p1View | p2View | - * |+----------+|+----------+| - * ||p3ViewInP1|||p3ViewInP2|| - * |+----------+|+----------+| - * +-------------------------+ - * - */ - @Before - public void setUp() { - // Prepare test - resourceSet = new ResourceSetImpl(); - model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - // Data structure - StereotypeApplicationHelper stereotypeApplicationHelper = StereotypeApplicationHelper.getInstance(null); - blockRoot = model.createOwnedClass("blockClass", false); - stereotypeApplicationHelper.applyStereotype(blockRoot, BlocksPackage.eINSTANCE.getBlock()); - Class classType = model.createOwnedClass("classType", false); - p1 = blockRoot.createOwnedAttribute("p1", classType); - p2 = blockRoot.createOwnedAttribute("p2", classType); - p3 = classType.createOwnedAttribute("p3", classType); - - // View structure - p3ViewInP1 = NotationFactory.eINSTANCE.createNode(); - p3ViewInP1.setElement(p3); - - p3ViewInP2 = NotationFactory.eINSTANCE.createNode(); - p3ViewInP2.setElement(p3); - - p2View = NotationFactory.eINSTANCE.createNode(); - p2View.setElement(p2); - p2View.insertChild(p3ViewInP2); - - p1View = NotationFactory.eINSTANCE.createNode(); - p1View.setElement(p1); - p1View.insertChild(p3ViewInP1); - - Node blockRootView = NotationFactory.eINSTANCE.createNode(); - blockRootView.setElement(blockRoot); - blockRootView.insertChild(p1View); - blockRootView.insertChild(p2View); - } - - /** - * The connector: connect the property p3 (p3ViewInP1) and the property p2 (p2View) - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void testExecution() throws InterruptedException, RollbackException { - Connector connector = blockRoot.createOwnedConnector("bindingConnector"); - ConnectorEnd sourceEnd = connector.createEnd(); - sourceEnd.setRole(p3); - ConnectorEnd targetEnd = connector.createEnd(); - targetEnd.setRole(p2); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - IElementType type = ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_BINDINGCONNECTOR); - IEditCommandRequest validRequest = new ConfigureRequest(editingDomain, connector, type); - UpdateNestedPathConnectorEnd createAssociationCommand = new UpdateNestedPathConnectorEnd("UpdateNestedPathConnectorEnd test source", p3ViewInP1, validRequest, true); - Assert.assertTrue("The createAssociationCommand should be executable", createAssociationCommand.canExecute()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(createAssociationCommand)); - startTransaction.commit(); - NestedConnectorEnd stereotypeApplication = UMLUtil.getStereotypeApplication(sourceEnd, NestedConnectorEnd.class); - Assert.assertTrue("The sourceEnd should have a NestedConnectorEnd applied", stereotypeApplication != null); - } - - /** - * Test the case when the source connector end and the target connector end roles are equals - * The connector: connect the property p3 (p3ViewInP1) and the property p3 (p3ViewInP2) - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void testExecution_sourceRoleEqualTargetRole() throws InterruptedException, RollbackException { - Connector connector = blockRoot.createOwnedConnector("bindingConnector"); - ConnectorEnd sourceEnd = connector.createEnd(); - sourceEnd.setRole(p3); - ConnectorEnd targetEnd = connector.createEnd(); - targetEnd.setRole(p3); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - IElementType type = ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_BINDINGCONNECTOR); - IEditCommandRequest validRequest = new ConfigureRequest(editingDomain, connector, type); - - UpdateNestedPathConnectorEnd createAssociationCommand = new UpdateNestedPathConnectorEnd("UpdateNestedPathConnectorEnd test source", p3ViewInP1, validRequest, true); - Assert.assertTrue("The createAssociationCommand should be executable", createAssociationCommand.canExecute()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(createAssociationCommand)); - startTransaction.commit(); - NestedConnectorEnd stereotypeApplication = UMLUtil.getStereotypeApplication(sourceEnd, NestedConnectorEnd.class); - Assert.assertTrue("The sourceEnd should have a NestedConnectorEnd applied", stereotypeApplication != null); - - UpdateNestedPathConnectorEnd createAssociationCommand_target = new UpdateNestedPathConnectorEnd("UpdateNestedPathConnectorEnd test target", p3ViewInP2, validRequest, false); - Assert.assertTrue("The createAssociationCommand should be executable", createAssociationCommand_target.canExecute()); - - InternalTransaction startTransaction_target = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(createAssociationCommand_target)); - startTransaction_target.commit(); - NestedConnectorEnd stereotypeApplication_target = UMLUtil.getStereotypeApplication(targetEnd, NestedConnectorEnd.class); - Assert.assertTrue("The targetEnd should have a NestedConnectorEnd applied", stereotypeApplication_target != null); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/util/ConnectorUtilTest.java b/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/util/ConnectorUtilTest.java deleted file mode 100644 index 27abb92..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/util/ConnectorUtilTest.java +++ /dev/null
@@ -1,149 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * Pauline DEVILLE (CEA LIST) pauline.deville@cea.fr - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.service.types.tests.util; - -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertTrue; - -import java.util.Arrays; -import java.util.List; - -import org.eclipse.gmf.runtime.notation.Node; -import org.eclipse.gmf.runtime.notation.NotationFactory; -import org.eclipse.papyrus.sysml14.service.types.util.ConnectorUtil; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.UMLFactory; -import org.junit.Test; - -@SuppressWarnings("nls") -public class ConnectorUtilTest { - - /** - * Data structure: - * | clazzRoot | - * | P1: clazzType1 | - * - * | clazzType1 | | clazzType2 | | clazzType3 | - * | P2: clazzType2 | | P3: clazzType3 | | P4: clazzType1 | - * - * View structure: - * |clazzRootViewNode | - * | |p1View || - * | | |p2View ||| - * | | | |p3View ||| - * | | | | |p4View |||| - * - * results: - * - nested path for p4View : {P1, P2, P3} - * - nested path for p2View : {P1} - * - * [SysML 1.4 - 8.3.2.9]: "The ordering of properties is from a property of the context block, through a - * property of each intermediate block that types the preceding property, ending in a property with a type - * that owns or inherits the fully nested property." - */ - @Test - public void testGetNestedPath() { - // Data structure - Class clazzRoot = UMLFactory.eINSTANCE.createClass(); - Class clazzType1 = UMLFactory.eINSTANCE.createClass(); - Class clazzType2 = UMLFactory.eINSTANCE.createClass(); - Class clazzType3 = UMLFactory.eINSTANCE.createClass(); - Property p1 = clazzRoot.createOwnedAttribute("P1", clazzType1); - Property p2 = clazzType1.createOwnedAttribute("P2", clazzType2); - Property p3 = clazzType2.createOwnedAttribute("P3", clazzType3); - Property p4 = clazzType3.createOwnedAttribute("P4", clazzType1); - - // View structure - Node p4View = NotationFactory.eINSTANCE.createNode(); - p4View.setElement(p4); - - Node p3View = NotationFactory.eINSTANCE.createNode(); - p3View.setElement(p3); - p3View.insertChild(p4View); - - Node p2View = NotationFactory.eINSTANCE.createNode(); - p2View.setElement(p2); - p2View.insertChild(p3View); - - Node p1View = NotationFactory.eINSTANCE.createNode(); - p1View.setElement(p1); - p1View.insertChild(p2View); - - Node clazzRootViewNode = NotationFactory.eINSTANCE.createNode(); - clazzRootViewNode.setElement(clazzRoot); - clazzRootViewNode.insertChild(p1View); - - List<Property> nestedPath = ConnectorUtil.getNestedPath(clazzRoot, p4View); - assertEquals("Wrong nested path, expected {P1, P2, P3}", Arrays.asList(p1, p2, p3), nestedPath); - - nestedPath = ConnectorUtil.getNestedPath(clazzRoot, p2View); - assertTrue("Wrong nested path, expected {P1}", nestedPath.size() == 1 && nestedPath.get(0) == p1); - } - - /** - * Data structure: - * | clazzRoot | - * | P1: clazzType1 | - * | P2: clazzType1 | - * - * | clazzType | - * | P3: clazzType1 | - * - * View structure: - * +-------------------------+ - * | clazzRootView | - * +-------------------------+ - * | p1View | p2View | - * |+----------+|+----------+| - * ||p3ViewInP1|||p3ViewInP2|| - * |+----------+|+----------+| - * +-------------------------+ - */ - @Test - public void testGetNestedPath_sameProperty_differentView() { - Class clazzRoot = UMLFactory.eINSTANCE.createClass(); - Class clazzType = UMLFactory.eINSTANCE.createClass(); - Property p1 = clazzRoot.createOwnedAttribute("P1", clazzType); - Property p2 = clazzRoot.createOwnedAttribute("P2", clazzType); - Property p3 = clazzType.createOwnedAttribute("P3", clazzType); - - Node p3ViewInpP1 = NotationFactory.eINSTANCE.createNode(); - p3ViewInpP1.setElement(p3); - - Node p3ViewInpP2 = NotationFactory.eINSTANCE.createNode(); - p3ViewInpP2.setElement(p3); - - Node p2View = NotationFactory.eINSTANCE.createNode(); - p2View.setElement(p2); - p2View.insertChild(p3ViewInpP2); - - Node p1View = NotationFactory.eINSTANCE.createNode(); - p1View.setElement(p1); - p1View.insertChild(p3ViewInpP1); - - Node clazzRootView = NotationFactory.eINSTANCE.createNode(); - clazzRootView.setElement(clazzRoot); - clazzRootView.insertChild(p1View); - clazzRootView.insertChild(p2View); - - List<Property> nestedPath = ConnectorUtil.getNestedPath(clazzRoot, p3ViewInpP1); - assertEquals("Wrong nested path, expected {P1}", Arrays.asList(p1), nestedPath); - - nestedPath = ConnectorUtil.getNestedPath(clazzRoot, p3ViewInpP2); - assertEquals("Wrong nested path, expected {P2}", Arrays.asList(p2), nestedPath); - - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/util/SysMLServiceTypeUtilTest.java b/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/util/SysMLServiceTypeUtilTest.java deleted file mode 100644 index ad2cc58..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types.tests/src/org/eclipse/papyrus/sysml14/service/types/tests/util/SysMLServiceTypeUtilTest.java +++ /dev/null
@@ -1,74 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.service.types.tests.util; - -import java.lang.reflect.Field; -import java.util.Map; - -import org.eclipse.papyrus.infra.core.services.ServiceException; -import org.eclipse.papyrus.infra.types.ElementTypeSetConfiguration; -import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.junit.Assert; -import org.junit.BeforeClass; -import org.junit.Test; - -/** - * - * The class should test that all constant in SysMLServiceTypeUtil should be referring - * to an existing element type - * @author Benoit Maggi - * - */ -@SuppressWarnings("nls") -public class SysMLServiceTypeUtilTest { - - /** - * Check that the required element type set are correctly loaded - */ - @BeforeClass - public static void loadSysml14Defintion() { - ElementTypeSetConfigurationRegistry instance = ElementTypeSetConfigurationRegistry.getInstance(); - Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurations = instance.getElementTypeSetConfigurations(); - Map<String, ElementTypeSetConfiguration> map = elementTypeSetConfigurations.get(SysMLServiceTypeUtil.SYSML14_CONTEXT_ID); - ElementTypeSetConfiguration elementTypeSetConfiguration = map.get("org.eclipse.papyrus.sysml14.service.types.elementTypeSet"); - Assert.assertNotNull("The SysML 1.4 element type set definition is missing", elementTypeSetConfiguration); - ElementTypeSetConfiguration elementTypeSetConfigurationExtension = map.get("org.eclipse.papyrus.sysml14.service.types.elementTypeSet.extension"); - Assert.assertNotNull("The SysML 1.4 element type set extension definition is missing", elementTypeSetConfigurationExtension); - - } - - - /** - * Check that each field is referencing an existing element type - * @throws IllegalArgumentException - * @throws IllegalAccessException - * @throws ServiceException - */ - @Test - public void testElementTypeIdsDefinedAsConstant() throws IllegalArgumentException, IllegalAccessException, ServiceException { - Field[] declaredFields = SysMLServiceTypeUtil.class.getDeclaredFields(); - for (int i = 0; i < declaredFields.length; i++) { - Field field = declaredFields[i]; - if (field.isAccessible()){ - String name = field.getName(); - Object value = field.get(SysMLServiceTypeUtil.class); - Assert.assertTrue(name+" value should define as a String", value instanceof String); - boolean knownElementType = SysMLServiceTypeUtil.isKnown((String) value); - Assert.assertTrue(name+" value should define an existing elementtype id", knownElementType); - } - } - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/.project b/core/org.eclipse.papyrus.sysml14.service.types/.project deleted file mode 100644 index a9b7f9e..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/.project +++ /dev/null
@@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.service.types</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> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription>
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/META-INF/MANIFEST.MF b/core/org.eclipse.papyrus.sysml14.service.types/META-INF/MANIFEST.MF deleted file mode 100644 index 9fe99f3..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,25 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %Bundle-Name -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.service.types;singleton:=true -Bundle-Version: 1.2.0.qualifier -Bundle-Activator: org.eclipse.papyrus.sysml14.service.types.Activator -Require-Bundle: org.eclipse.gmf.runtime.emf.type.core;bundle-version="[1.9.0,2.0.0)", - org.eclipse.gmf.runtime.notation.edit;bundle-version="[1.7.0,2.0.0)", - org.eclipse.papyrus.infra.types.core;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.services.edit;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.service.types;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.types.core;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.tools.utils;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.sysml14;bundle-version="1.0.0" -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Bundle-ActivationPolicy: lazy -Bundle-Vendor: %Bundle-Vendor -Bundle-Description: %Bundle-Description -Bundle-Localization: plugin -Export-Package: org.eclipse.papyrus.sysml14.service.types, - org.eclipse.papyrus.sysml14.service.types.advice, - org.eclipse.papyrus.sysml14.service.types.command, - org.eclipse.papyrus.sysml14.service.types.matcher, - org.eclipse.papyrus.sysml14.service.types.util
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/build.properties b/core/org.eclipse.papyrus.sysml14.service.types/build.properties deleted file mode 100644 index 89a13bf..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/build.properties +++ /dev/null
@@ -1,10 +0,0 @@ -source.. = src/ -output.. = target/classes/ -bin.includes = META-INF/,\ - .,\ - model/,\ - plugin.properties,\ - pom.xml,\ - plugin.xml,\ - about.html -src.includes = about.html
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations b/core/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations deleted file mode 100755 index d7b9f0a..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations +++ /dev/null
@@ -1,242 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<elementtypesconfigurations:ElementTypeSetConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:applystereotypeadvice="http://www.eclipse.org/papyrus/uml/types/applystereotypeadvice/1.1" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:setvaluesadvice="http://www.eclipse.org/papyrus/emf/types/setvaluesadvice/1.1" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="org.eclipse.papyrus.sysml14.service.types.elementTypeSet.extension" description="SysML 1.4 extension element type set" identifier="org.eclipse.papyrus.sysml14.service.types.elementTypeSet.extension" name="SysML 1.4" metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML"> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.AbstractDefinition" identifier="org.eclipse.papyrus.SysML14.AbstractDefinition" name="AbstractDefinition" hint="UML::Classifier"> - <iconEntry xmi:id="_Fh6LgPJVEeSpV8ZeWOq13Q" iconPath="/icons/full/obj16/Classifier.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_BE2mYIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Classifier"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.AbstractDefinitionClass" identifier="org.eclipse.papyrus.SysML14.AbstractDefinitionClass" name="AbstractDefinitionClass" hint="UML::Class"> - <iconEntry xmi:id="_Fh6LgPJVEeSpV8ZeWOq13Q" iconPath="/icons/full/obj16/Classifier.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_BE2mYIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="#org.eclipse.papyrus.SysML14.AbstractDefinition"/> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Class"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Unit" identifier="org.eclipse.papyrus.SysML14.Unit" name="Unit" hint="UML::InstanceSpecification"> - <iconEntry xmi:id="_Fh6LgPJVEeSpV8ZeWOq13Q" iconPath="/icons/full/obj16/InstanceSpecification.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_o8jhkOjFEeSUQvXhEVQh8w" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.service.types.advice.UnitEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_BE2mYIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.InstanceSpecification"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.QuantityKind" identifier="org.eclipse.papyrus.SysML14.QuantityKind" name="QuantityKind" hint="UML::InstanceSpecification"> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_e4MKkOjOEeSWwY3EZCu9OA" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.service.types.advice.QuantityKindEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_CnAVoIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.InstanceSpecification"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.ConstraintProperty" description="Create a constraint Property" identifier="org.eclipse.papyrus.SysML14.ConstraintProperty" name="ConstraintProperty" hint="UML::Property"> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_9KeL8PflEeSxkueHcFw1lw" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.service.types.advice.ConstraintPropertyEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_Eka-AF4NEeWhfPUqbhxdNA" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.ConstraintPropertyMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.ActorPart" description="Create an actor Part" identifier="org.eclipse.papyrus.SysML14.ActorPart" name="ActorPart" hint="UML::Property"> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_-i3TYSCDEeWp9rJ2gmw59A" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.service.types.advice.ActorPartEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_DvHNMIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Value" description="Create a value" identifier="org.eclipse.papyrus.SysML14.Value" name="Value" hint="UML::Property"> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_dWnbASCxEeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.service.types.advice.AfterConfigureCommandEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_D6YpEIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Reference" description="Create a reference" identifier="org.eclipse.papyrus.SysML14.Reference" name="Reference" hint="UML::Property"> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_n1I8cSC-EeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.service.types.advice.AfterConfigureCommandEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_zmSPMGD8EeWD7_0a8AR7SA" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.ReferencePropertyMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Part" description="Create a part" identifier="org.eclipse.papyrus.SysML14.Part" name="Part" hint="UML::Property"> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_VH780SDGEeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.service.types.advice.AfterConfigureCommandEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_EgLdwIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Parameter" description="Create a parameter" identifier="org.eclipse.papyrus.SysML14.Parameter" name="Parameter" hint="UML::Property"> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_I_vSgAI_Eeav1Me8hSVMqw" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.service.types.advice.AfterConfigureCommandEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_Qp1iUAI9Eeav1Me8hSVMqw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.ConfiguredFlowProperty" description="Create a FlowProperty" identifier="org.eclipse.papyrus.SysML14.ConfiguredFlowProperty" name="FlowProperty" hint="UML::Property"> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_urzE0GFBEeWbSMDuSXx8SQ" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.service.types.advice.AfterConfigureCommandEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_EyD38Ie7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" xmi:id="org.eclipse.papyrus.sysml.stereotypeinstance.Block" identifier="org.eclipse.papyrus.sysml.stereotypeinstance.Block" name="SysML::StereotypeInstance::Block" hint="SysML::StereotypeInstance::Block" editHelperClassName="org.eclipse.papyrus.infra.gmfdiag.common.helper.DefaultEditHelper"> - <eClass href="../../org.eclipse.papyrus.sysml14/resources/profile/sysml.ecore#//blocks/Block"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Activity" description="Create a TestCase Activity" identifier="org.eclipse.papyrus.SysML14.Activity" name="Activity" hint="UML::Activity"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_FAeHYIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Activity"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.FunctionBehavior" description="Create a TestCase FunctionBehavior" identifier="org.eclipse.papyrus.SysML14.FunctionBehavior" name="TestCase FunctionBehavior" hint="UML::FunctionBehavior"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_FJUhYIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.FunctionBehavior"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Interaction" description="Create a TestCase Interaction" identifier="org.eclipse.papyrus.SysML14.Interaction" name="TestCase Interaction" hint="UML::Interaction"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_FWT0gIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Interaction"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.OpaqueBehavior" description="Create a TestCase OpaqueBehavior" identifier="org.eclipse.papyrus.SysML14.OpaqueBehavior" name="TestCase OpaqueBehavior" hint="UML::OpaqueBehavior"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_FgMwUIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.OpaqueBehavior"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.ProtocolStateMachine" description="Create a TestCase ProtocolStateMachine" identifier="org.eclipse.papyrus.SysML14.ProtocolStateMachine" name="TestCase ProtocolStateMachine" hint="UML::ProtocolStateMachine"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_FqLywIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ProtocolStateMachine"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.StateMachine" description="Create a TestCase StateMachine" identifier="org.eclipse.papyrus.SysML14.StateMachine" name="TestCase StateMachine" hint="UML::StateMachine"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_FygBQIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.StateMachine"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.PrivatePackageImport" description="Create a PrivatePackageImport" identifier="org.eclipse.papyrus.SysML14.PrivatePackageImport" name="PrivatePackageImport" hint="UML::PackageImport"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_bo2CgJzwEeWe1L0yBJDEDA" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.PackageImport"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.AssociationBlock" description="Create an AssociationBlock" identifier="org.eclipse.papyrus.SysML14.AssociationBlock" name="AssociationBlock" hint="UML::AssociationClass"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_37v7w5bYEeaZ0sxu8zNRQA" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.AssociationClass"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.ContinuousControlFlow" description="Create an ContinuousControlFlow" identifier="org.eclipse.papyrus.SysML14.ContinuousControlFlow" name="ContinuousControlFlow" hint="UML::ControlFlow"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_v5bGoYZzEeerT_fHYI6l5w" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ControlFlow"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.StakeholderClass" identifier="org.eclipse.papyrus.SysML14.StakeholderClass" name="Stakeholder" hint="UML::Class"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_v5bGoYZzEeerT_fHYI6l5w" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Stakeholder"/> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Class"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.DiscreteControlFlow" description="Create an DiscreteControlFlow" identifier="org.eclipse.papyrus.SysML14.DiscreteControlFlow" name="DiscreteControlFlow" hint="UML::ControlFlow"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_v5bGoYZzEeerT_fHYI6l5w" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ControlFlow"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.RateControlFlow" description="Create an RateControlFlow" identifier="org.eclipse.papyrus.SysML14.RateControlFlow" name="RateControlFlow" hint="UML::ControlFlow"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_v5bGoYZzEeerT_fHYI6l5w" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ControlFlow"/> - </elementTypeConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VhTxBEyW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.apply.continuous" target="org.eclipse.papyrus.SysML14.ContinuousControlFlow"> - <stereotypesToApply xmi:id="_fy_VhjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Continuous" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VhTxBEyW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.apply.discrete" target="org.eclipse.papyrus.SysML14.DiscreteControlFlow"> - <stereotypesToApply xmi:id="_fy_VhjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Discrete" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VhTxBEyW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.apply.rate" target="org.eclipse.papyrus.SysML14.RateControlFlow"> - <stereotypesToApply xmi:id="_fy_VhjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Rate" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_TpKq0FFwEeWPz5cwbRdVrg" description="satisfy org.eclipse.papyrus.sysml14.service.types.REQ_001" identifier="org.eclipse.papyru.sysml14.advice.ConformCreation" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.service.types.advice.ConformCreationEditHelperAdvice"> - <target xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Classifier"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_HjxKkIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_pt2vIFIiEeWPz5cwbRdVrg" description="satisfy org.eclipse.papyrus.sysml14.service.types.REQ_001" identifier="org.eclipse.papyru.sysml14.advice.ConformReorient" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.service.types.advice.ConformReorientEditHelperAdvice"> - <target xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Conform"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_H3hNAIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_NLW78FMHEeWPz5cwbRdVrg" description="satisfy org.eclipse.papyrus.sysml14.service.types.REQ_002" identifier="org.eclipse.papyru.sysml14.advice.ElementGroup" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.service.types.advice.ElementGroupEditHelperAdvice"> - <target xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Comment"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_H_W6YIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_YSwK8FeYEeWPz5cwbRdVrg" description="satisfy org.eclipse.papyrus.sysml14.service.types.REQ_004" identifier="org.eclipse.papyrus.sysml14.service.types.advice.PartCreationEditHelperAdvice" target="org.eclipse.papyrus.SysML14.Part" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.service.types.advice.PartCreationEditHelperAdvice"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_IF3yEIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_XQ3NIFe5EeWPz5cwbRdVrg" description="satisfy org.eclipse.papyrus.sysml14.service.types.REQ_004" identifier="org.eclipse.papyrus.sysml14.service.types.advice.ReferenceCreationEditHelperAdvice" target="org.eclipse.papyrus.SysML14.Reference" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.service.types.advice.ReferenceCreationEditHelperAdvice"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_IMTxQIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_tA9JMFhlEeWtAJZqY6vX8w" description="satisfy org.eclipse.papyrus.sysml14.service.types.REQ_007" identifier="org.eclipse.papyru.sysml14.advice.ConnectorReorientEditHelperAdvice" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.service.types.advice.ConnectorReorientEditHelperAdvice"> - <target xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Connector"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_ISq38Ie7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_tO760FhlEeWtAJZqY6vX8w" description="satisfy org.eclipse.papyrus.sysml14.service.types.REQ_007" identifier="org.eclipse.papyru.sysml14.advice.ConnectorCreationEditHelperAdvice" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.service.types.advice.ConnectorCreationEditHelperAdvice"> - <target xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Block"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_IZPaAIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_4AoGQGYREeeWpsOEmp97Xw" description="satisfy org.eclipse.papyrus.sysml14.service.types.REQ_007" identifier="org.eclipse.papyru.sysml14.advice.ConnectorCreationConstraintBlockEditHelperAdvice" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.service.types.advice.ConnectorCreationEditHelperAdvice"> - <target xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ConstraintBlock"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_4AoGQWYREeeWpsOEmp97Xw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_rgTZMGFBEeW4GYiHqXalDg" description="satisfy org.eclipse.papyrus.sysml14.service.types.REQ_007" identifier="org.eclipse.papyrus.sysml14.service.types.advice.SetEncapsulatedEditHelperAdvice" target="org.eclipse.papyrus.sysml.stereotypeinstance.Block" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.service.types.advice.SetEncapsulatedEditHelperAdvice"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_IiwiYIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_lVBAYGaLEeWv7P_h5u3SSw" identifier="org.eclipse.papyrus.SysML14.testcase.Activity" target="org.eclipse.papyrus.SysML14.Activity"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_KmOO8Ie7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <stereotypesToApply xmi:id="_shGzoGaLEeWv7P_h5u3SSw" stereotypeQualifiedName="SysML::Requirements::TestCase"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_lVBAYGaLEeWv7P_h5u3SSw" identifier="org.eclipse.papyrus.SysML14.testcase.FunctionBehavior" target="org.eclipse.papyrus.SysML14.FunctionBehavior"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_KwI_8Ie7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <stereotypesToApply xmi:id="_shGzoGaLEeWv7P_h5u3SSw" stereotypeQualifiedName="SysML::Requirements::TestCase"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_lVBAYGaLEeWv7P_h5u3SSw" identifier="org.eclipse.papyrus.SysML14.testcase.Interaction" target="org.eclipse.papyrus.SysML14.Interaction"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_K7KkMIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <stereotypesToApply xmi:id="_shGzoGaLEeWv7P_h5u3SSw" stereotypeQualifiedName="SysML::Requirements::TestCase"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_lVBAYGaLEeWv7P_h5u3SSw" identifier="org.eclipse.papyrus.SysML14.testcase.OpaqueBehavior" target="org.eclipse.papyrus.SysML14.OpaqueBehavior"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_LKI0UIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <stereotypesToApply xmi:id="_shGzoGaLEeWv7P_h5u3SSw" stereotypeQualifiedName="SysML::Requirements::TestCase"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_lVBAYGaLEeWv7P_h5u3SSw" identifier="org.eclipse.papyrus.SysML14.testcase.ProtocolStateMachine" target="org.eclipse.papyrus.SysML14.ProtocolStateMachine"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_LU0aUIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <stereotypesToApply xmi:id="_shGzoGaLEeWv7P_h5u3SSw" stereotypeQualifiedName="SysML::Requirements::TestCase"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_lVBAYGaLEeWv7P_h5u3SSw" identifier="org.eclipse.papyrus.SysML14.testcase.StateMachine" target="org.eclipse.papyrus.SysML14.StateMachine"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_Lg5ugIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <stereotypesToApply xmi:id="_shGzoGaLEeWv7P_h5u3SSw" stereotypeQualifiedName="SysML::Requirements::TestCase"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_lVBAYGaLEeWv7P_h4u3SSw" identifier="org.eclipse.papyrus.SysML14.testcase.StateMachine" target="org.eclipse.papyrus.SysML14.AssociationBlock"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_Lg5ugIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <stereotypesToApply xmi:id="_shGzoGaLEeWv7P_h5u2SSw" stereotypeQualifiedName="SysML::Blocks::Block"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_hnZx8HHKEeWA-bU7ePaZzw" identifier="Allocate_Abstraction.DirectedRelationshipPropertyPathEditHelperAdvice" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.service.types.advice.DirectedRelationshipPropertyPathEditHelperAdvice"> - <target xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Package"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_KTvX0Ie7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_df5_gHMnEeWA-bU7ePaZzw" identifier="Allocate_Abstraction.ReorientDirectedRelationshipPPEditHelperAdvice" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.service.types.advice.ReorientDirectedRelationshipPPEditHelperAdvice"> - <target xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Allocate_Abstraction"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_KbIZQIe7EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_TLxCYIPfEeWhLaOZG6fRyw" identifier="org.eclipse.papyrus.sysml14.service.types.advice.ConstraintCreationEditHelperAdvice" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.service.types.advice.ConstraintCreationEditHelperAdvice"> - <target xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="setvaluesadvice:SetValuesAdviceConfiguration" xmi:id="_v6SvEKsWEeaA7ctmzDJT8w" description="Set visibility to private " identifier="org.eclipse.papyrus.SysML14.PrivatePackageImport.setPrivate" target="org.eclipse.papyrus.SysML14.PrivatePackageImport"> - <featuresToSet xmi:id="_w_Fz8KsWEeaA7ctmzDJT8w" featureName="visibility"> - <value xsi:type="setvaluesadvice:ConstantValue" xmi:id="__8iDoKsWEeaA7ctmzDJT8w"> - <valueInstance xsi:type="uml:InstanceValue" xmi:id="_XknIMKsXEeaA7ctmzDJT8w"> - <type xsi:type="uml:Enumeration" href="pathmap://UML_METAMODELS/UML.metamodel.uml#VisibilityKind"/> - <instance href="pathmap://UML_METAMODELS/UML.metamodel.uml#VisibilityKind-private"/> - </valueInstance> - </value> - </featuresToSet> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_Qe1A8DbzEeeuq_-iYg-Yhg" description="" identifier="org.eclipse.papyru.sysml14.advice.DeriveReqtClient" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.service.types.advice.DeriveReqtClientEditHelperAdvice"> - <target xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Element"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_Qe1A8TbzEeeuq_-iYg-Yhg" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_XecvUDoxEeeIivSImw6BZw" description="" identifier="org.eclipse.papyru.sysml14.advice.DeriveReqtSupplier" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.service.types.advice.DeriveReqtSupplierEditHelperAdvice"> - <target xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Package"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_XecvUToxEeeIivSImw6BZw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="elementtypesconfigurations:AdviceBindingConfiguration" xmi:id="_YtnJcHFNEeeCZ-Pk8PbmwA" description="" identifier="org.eclipse.papyru.sysml14.advice.ConnectorPropertyEditHelperAdvice" inheritance="all" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.service.types.advice.ConnectorPropertyEditHelperAdvice"> - <target xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ConnectorProperty"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_YtnJcXFNEeeCZ-Pk8PbmwA" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="setvaluesadvice:SetValuesAdviceConfiguration" xmi:id="_Tk5JQI7zEeeDbJfI3Rz1yA" description="Set abstract to true " identifier="org.eclipse.papyrus.SysML14.AbstractDefinition.setAbstract" target="org.eclipse.papyrus.SysML14.AbstractDefinition"> - <featuresToSet xmi:id="_Tk5JQY7zEeeDbJfI3Rz1yA" featureName="isAbstract"> - <value xsi:type="setvaluesadvice:ConstantValue" xmi:id="_Tk5JQo7zEeeDbJfI3Rz1yA"> - <valueInstance xsi:type="uml:LiteralBoolean" xmi:id="_m69mEI7zEeeDbJfI3Rz1yA" value="true"/> - </value> - </featuresToSet> - </adviceBindingsConfigurations> -</elementtypesconfigurations:ElementTypeSetConfiguration>
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations b/core/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations deleted file mode 100644 index 76a9fe3..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations +++ /dev/null
@@ -1,867 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<elementtypesconfigurations:ElementTypeSetConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:applystereotypeadvice="http://www.eclipse.org/papyrus/uml/types/applystereotypeadvice/1.1" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:stereotypematcher="http://www.eclipse.org/papyrus/uml/types/stereotypematcher/1.1" xmi:id="org.eclipse.papyrus.sysml14.service.types.elementTypeSet" identifier="org.eclipse.papyrus.sysml14.service.types.elementTypeSet" name="SysML 1.4" metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML"> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.AcceptChangeStructuralFeatureEventAction" description="" identifier="org.eclipse.papyrus.SysML14.AcceptChangeStructuralFeatureEventAction" name="AcceptChangeStructuralFeatureEventAction" hint="UML::AcceptEventAction"> - <iconEntry xmi:id="_fy_UkjxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/AcceptEventAction.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UkzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::PortsAndFlows::AcceptChangeStructuralFeatureEventAction</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.AcceptEventAction"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.AdjunctProperty" identifier="org.eclipse.papyrus.SysML14.AdjunctProperty" name="AdjunctProperty" hint="UML::Property"> - <iconEntry xmi:id="_fy_UlTxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UljxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Blocks::AdjunctProperty</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.AllocateActivityPartition" identifier="org.eclipse.papyrus.SysML14.AllocateActivityPartition" name="AllocateActivityPartition" hint="UML::ActivityPartition"> - <iconEntry xmi:id="_fy_UmDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/ActivityPartition.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UmTxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Allocations::AllocateActivityPartition</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ActivityPartition"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Allocate_Abstraction" identifier="org.eclipse.papyrus.SysML14.Allocate_Abstraction" name="Allocate Abstraction" hint="UML::Abstraction"> - <iconEntry xmi:id="_fy_UmzxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Abstraction.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UnDxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Allocations::Allocate</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Abstraction"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Allocate_DirectedRelationship" identifier="org.eclipse.papyrus.SysML14.Allocate_DirectedRelationship" name="Allocate DirectedRelationship" hint="UML::DirectedRelationship"> - <iconEntry xmi:id="_fy_UnjxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/DirectedRelationship.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UnzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Allocations::Allocate</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DirectedRelationship"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.BindingConnector" identifier="org.eclipse.papyrus.SysML14.BindingConnector" name="BindingConnector" hint="UML::Connector"> - <iconEntry xmi:id="_fy_UoTxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Connector.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UojxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Blocks::BindingConnector</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Connector"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Block" identifier="org.eclipse.papyrus.SysML14.Block" name="Block" hint="UML::Class"> - <iconEntry xmi:id="_fy_UpDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Class.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_hWNdwIFAEeW-oJNntvAv1g" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Blocks::Block</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Class"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.BoundReference" identifier="org.eclipse.papyrus.SysML14.BoundReference" name="BoundReference" hint="UML::Property"> - <iconEntry xmi:id="_fy_UpzxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UqDxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Blocks::BoundReference</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.ChangeStructuralFeatureEvent" identifier="org.eclipse.papyrus.SysML14.ChangeStructuralFeatureEvent" name="ChangeStructuralFeatureEvent" hint="UML::ChangeEvent"> - <iconEntry xmi:id="_fy_UqjxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/ChangeEvent.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UqzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::PortsAndFlows::ChangeStructuralFeatureEvent</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ChangeEvent"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.ClassifierBehaviorProperty" identifier="org.eclipse.papyrus.SysML14.ClassifierBehaviorProperty" name="ClassifierBehaviorProperty" hint="UML::Property"> - <iconEntry xmi:id="_fy_UrTxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UrjxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Blocks::ClassifierBehaviorProperty</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Conform" identifier="org.eclipse.papyrus.SysML14.Conform" name="Conform" hint="UML::Generalization"> - <iconEntry xmi:id="_fy_UsDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Generalization.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UsTxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::ModelElements::Conform</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Generalization"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.ConnectorProperty" identifier="org.eclipse.papyrus.SysML14.ConnectorProperty" name="ConnectorProperty" hint="UML::Property"> - <iconEntry xmi:id="_fy_UszxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UtDxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Blocks::ConnectorProperty</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.ConstraintBlock" identifier="org.eclipse.papyrus.SysML14.ConstraintBlock" name="ConstraintBlock" hint="UML::Class"> - <iconEntry xmi:id="_fy_UtjxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Class.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UtzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::ConstraintBlocks::ConstraintBlock</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Class"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Continuous_ActivityEdge" identifier="org.eclipse.papyrus.SysML14.Continuous_ActivityEdge" name="Continuous ActivityEdge" hint="UML::ActivityEdge"> - <iconEntry xmi:id="_fy_UuTxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/ActivityEdge.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UujxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Activities::Continuous</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ActivityEdge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Continuous_ObjectNode" identifier="org.eclipse.papyrus.SysML14.Continuous_ObjectNode" name="Continuous ObjectNode" hint="UML::ObjectNode"> - <iconEntry xmi:id="_fy_UvDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/ObjectNode.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UvTxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Activities::Continuous</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ObjectNode"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Continuous_Parameter" identifier="org.eclipse.papyrus.SysML14.Continuous_Parameter" name="Continuous Parameter" hint="UML::Parameter"> - <iconEntry xmi:id="_fy_UvzxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Parameter.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UwDxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Activities::Continuous</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Parameter"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.ControlOperator_Behavior" identifier="org.eclipse.papyrus.SysML14.ControlOperator_Behavior" name="ControlOperator Behavior" hint="UML::Behavior"> - <iconEntry xmi:id="_fy_UwjxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Behavior.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UwzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Activities::ControlOperator</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Behavior"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.ControlOperator_Operation" identifier="org.eclipse.papyrus.SysML14.ControlOperator_Operation" name="ControlOperator Operation" hint="UML::Operation"> - <iconEntry xmi:id="_fy_UxTxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Operation.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UxjxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Activities::ControlOperator</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Operation"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Copy_Abstraction" identifier="org.eclipse.papyrus.SysML14.Copy_Abstraction" name="Copy Abstraction" hint="UML::Abstraction"> - <iconEntry xmi:id="_fy_UyDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Abstraction.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UyTxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Requirements::Copy</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Abstraction"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Copy_DirectedRelationship" identifier="org.eclipse.papyrus.SysML14.Copy_DirectedRelationship" name="Copy DirectedRelationship" hint="UML::DirectedRelationship"> - <iconEntry xmi:id="_fy_UyzxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/DirectedRelationship.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UzDxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Requirements::Copy</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DirectedRelationship"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.DeriveReqt_Abstraction" identifier="org.eclipse.papyrus.SysML14.DeriveReqt_Abstraction" name="DeriveReqt Abstraction" hint="UML::Abstraction"> - <iconEntry xmi:id="_fy_UzjxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Abstraction.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_UzzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Requirements::DeriveReqt</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Abstraction"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.DeriveReqt_DirectedRelationship" identifier="org.eclipse.papyrus.SysML14.DeriveReqt_DirectedRelationship" name="DeriveReqt DirectedRelationship" hint="UML::DirectedRelationship"> - <iconEntry xmi:id="_fy_U0TxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/DirectedRelationship.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U0jxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Requirements::DeriveReqt</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DirectedRelationship"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.DirectedFeature" identifier="org.eclipse.papyrus.SysML14.DirectedFeature" name="DirectedFeature" hint="UML::Feature"> - <iconEntry xmi:id="_fy_U1DxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Feature.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U1TxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::PortsAndFlows::DirectedFeature</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Feature"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.DirectedRelationshipPropertyPath" identifier="org.eclipse.papyrus.SysML14.DirectedRelationshipPropertyPath" name="DirectedRelationshipPropertyPath" hint="UML::DirectedRelationship"> - <iconEntry xmi:id="_fy_U1zxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/DirectedRelationship.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U2DxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Blocks::DirectedRelationshipPropertyPath</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DirectedRelationship"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Discrete_ActivityEdge" identifier="org.eclipse.papyrus.SysML14.Discrete_ActivityEdge" name="Discrete ActivityEdge" hint="UML::ActivityEdge"> - <iconEntry xmi:id="_fy_U2jxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/ActivityEdge.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U2zxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Activities::Discrete</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ActivityEdge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Discrete_ObjectNode" identifier="org.eclipse.papyrus.SysML14.Discrete_ObjectNode" name="Discrete ObjectNode" hint="UML::ObjectNode"> - <iconEntry xmi:id="_fy_U3TxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/ObjectNode.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U3jxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Activities::Discrete</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ObjectNode"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Discrete_Parameter" identifier="org.eclipse.papyrus.SysML14.Discrete_Parameter" name="Discrete Parameter" hint="UML::Parameter"> - <iconEntry xmi:id="_fy_U4DxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Parameter.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U4TxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Activities::Discrete</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Parameter"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.DistributedProperty" identifier="org.eclipse.papyrus.SysML14.DistributedProperty" name="DistributedProperty" hint="UML::Property"> - <iconEntry xmi:id="_fy_U4zxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U5DxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Blocks::DistributedProperty</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.ElementGroup" identifier="org.eclipse.papyrus.SysML14.ElementGroup" name="ElementGroup" hint="UML::Comment"> - <iconEntry xmi:id="_fy_U5jxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Comment.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U5zxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::ModelElements::ElementGroup</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Comment"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.ElementPropertyPath" identifier="org.eclipse.papyrus.SysML14.ElementPropertyPath" name="ElementPropertyPath" hint="UML::Element"> - <iconEntry xmi:id="_fy_U6TxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Element.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U6jxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Blocks::ElementPropertyPath</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Element"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.EndPathMultiplicity" identifier="org.eclipse.papyrus.SysML14.EndPathMultiplicity" name="EndPathMultiplicity" hint="UML::Property"> - <iconEntry xmi:id="_fy_U7DxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U7TxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Blocks::EndPathMultiplicity</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Expose" identifier="org.eclipse.papyrus.SysML14.Expose" name="Expose" hint="UML::Dependency"> - <iconEntry xmi:id="_fy_U7zxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Dependency.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U8DxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::ModelElements::Expose</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Dependency"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.FlowPort" identifier="org.eclipse.papyrus.SysML14.FlowPort" name="FlowPort" hint="UML::Port"> - <iconEntry xmi:id="_fy_U8jxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Port.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U8zxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::DeprecatedElements::FlowPort</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Port"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.FlowProperty" identifier="org.eclipse.papyrus.SysML14.FlowProperty" name="FlowProperty" hint="UML::Property"> - <iconEntry xmi:id="_fy_U9TxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U9jxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::PortsAndFlows::FlowProperty</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.FlowSpecification" identifier="org.eclipse.papyrus.SysML14.FlowSpecification" name="FlowSpecification" hint="UML::Interface"> - <iconEntry xmi:id="_fy_U-DxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Interface.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U-TxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::DeprecatedElements::FlowSpecification</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Interface"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.FullPort" identifier="org.eclipse.papyrus.SysML14.FullPort" name="FullPort" hint="UML::Port"> - <iconEntry xmi:id="_fy_U-zxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Port.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U_DxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::PortsAndFlows::FullPort</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Port"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.InterfaceBlock" identifier="org.eclipse.papyrus.SysML14.InterfaceBlock" name="InterfaceBlock" hint="UML::Class"> - <iconEntry xmi:id="_fy_U_jxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Class.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_U_zxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::PortsAndFlows::InterfaceBlock</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Class"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.InvocationOnNestedPortAction_Element" identifier="org.eclipse.papyrus.SysML14.InvocationOnNestedPortAction_Element" name="InvocationOnNestedPortAction Element" hint="UML::Element"> - <iconEntry xmi:id="_fy_VATxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Element.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VAjxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::PortsAndFlows::InvocationOnNestedPortAction</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Element"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.InvocationOnNestedPortAction_InvocationAction" identifier="org.eclipse.papyrus.SysML14.InvocationOnNestedPortAction_InvocationAction" name="InvocationOnNestedPortAction InvocationAction" hint="UML::InvocationAction"> - <iconEntry xmi:id="_fy_VBDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/InvocationAction.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VBTxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::PortsAndFlows::InvocationOnNestedPortAction</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.InvocationAction"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.ItemFlow" identifier="org.eclipse.papyrus.SysML14.ItemFlow" name="ItemFlow" hint="UML::InformationFlow"> - <iconEntry xmi:id="_fy_VBzxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/InformationFlow.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VCDxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::PortsAndFlows::ItemFlow</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.InformationFlow"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.NestedConnectorEnd_ConnectorEnd" identifier="org.eclipse.papyrus.SysML14.NestedConnectorEnd_ConnectorEnd" name="NestedConnectorEnd ConnectorEnd" hint="UML::ConnectorEnd"> - <iconEntry xmi:id="_fy_VCjxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/ConnectorEnd.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VCzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Blocks::NestedConnectorEnd</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ConnectorEnd"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.NestedConnectorEnd_Element" identifier="org.eclipse.papyrus.SysML14.NestedConnectorEnd_Element" name="NestedConnectorEnd Element" hint="UML::Element"> - <iconEntry xmi:id="_fy_VDTxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Element.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VDjxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Blocks::NestedConnectorEnd</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Element"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.NoBuffer" identifier="org.eclipse.papyrus.SysML14.NoBuffer" name="NoBuffer" hint="UML::ObjectNode"> - <iconEntry xmi:id="_fy_VEDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/ObjectNode.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VETxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Activities::NoBuffer</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ObjectNode"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Optional" identifier="org.eclipse.papyrus.SysML14.Optional" name="Optional" hint="UML::Parameter"> - <iconEntry xmi:id="_fy_VEzxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Parameter.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VFDxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Activities::Optional</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Parameter"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Overwrite" identifier="org.eclipse.papyrus.SysML14.Overwrite" name="Overwrite" hint="UML::ObjectNode"> - <iconEntry xmi:id="_fy_VFjxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/ObjectNode.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VFzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Activities::Overwrite</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ObjectNode"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.ParticipantProperty" identifier="org.eclipse.papyrus.SysML14.ParticipantProperty" name="ParticipantProperty" hint="UML::Property"> - <iconEntry xmi:id="_fy_VGTxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VGjxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Blocks::ParticipantProperty</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Probability_ActivityEdge" identifier="org.eclipse.papyrus.SysML14.Probability_ActivityEdge" name="Probability ActivityEdge" hint="UML::ActivityEdge"> - <iconEntry xmi:id="_fy_VHDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/ActivityEdge.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VHTxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Activities::Probability</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ActivityEdge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Probability_ParameterSet" identifier="org.eclipse.papyrus.SysML14.Probability_ParameterSet" name="Probability ParameterSet" hint="UML::ParameterSet"> - <iconEntry xmi:id="_fy_VHzxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/ParameterSet.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VIDxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Activities::Probability</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ParameterSet"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Problem" identifier="org.eclipse.papyrus.SysML14.Problem" name="Problem" hint="UML::Comment"> - <iconEntry xmi:id="_fy_VIjxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Comment.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VIzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::ModelElements::Problem</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Comment"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.PropertySpecificType" identifier="org.eclipse.papyrus.SysML14.PropertySpecificType" name="PropertySpecificType" hint="UML::Classifier"> - <iconEntry xmi:id="_fy_VJTxBEeW7COAmy3tOJw" iconPath="/icons/Classifier.gif" bundleId="org.eclipse.papyrus.uml.service.types"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VJjxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Blocks::PropertySpecificType</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Classifier"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.ProxyPort" identifier="org.eclipse.papyrus.SysML14.ProxyPort" name="ProxyPort" hint="UML::Port"> - <iconEntry xmi:id="_fy_VKDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Port.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VKTxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::PortsAndFlows::ProxyPort</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Port"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Rate_ActivityEdge" identifier="org.eclipse.papyrus.SysML14.Rate_ActivityEdge" name="Rate ActivityEdge" hint="UML::ActivityEdge"> - <iconEntry xmi:id="_fy_VKzxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/ActivityEdge.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VLDxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Activities::Rate</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ActivityEdge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Rate_ObjectNode" identifier="org.eclipse.papyrus.SysML14.Rate_ObjectNode" name="Rate ObjectNode" hint="UML::ObjectNode"> - <iconEntry xmi:id="_fy_VLjxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/ObjectNode.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VLzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Activities::Rate</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ObjectNode"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Rate_Parameter" identifier="org.eclipse.papyrus.SysML14.Rate_Parameter" name="Rate Parameter" hint="UML::Parameter"> - <iconEntry xmi:id="_fy_VMTxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Parameter.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VMjxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Activities::Rate</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Parameter"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Rationale" identifier="org.eclipse.papyrus.SysML14.Rationale" name="Rationale" hint="UML::Comment"> - <iconEntry xmi:id="_fy_VNDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Comment.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VNTxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::ModelElements::Rationale</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Comment"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Refine_Abstraction" identifier="org.eclipse.papyrus.SysML14.Refine_Abstraction" name="Refine Abstraction" hint="UML::Abstraction"> - <iconEntry xmi:id="_fy_VNzxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Abstraction.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VODxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Requirements::Refine</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Abstraction"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Refine_DirectedRelationship" identifier="org.eclipse.papyrus.SysML14.Refine_DirectedRelationship" name="Refine DirectedRelationship" hint="UML::DirectedRelationship"> - <iconEntry xmi:id="_fy_VOjxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/DirectedRelationship.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VOzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Requirements::Refine</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DirectedRelationship"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Requirement" identifier="org.eclipse.papyrus.SysML14.Requirement" name="Requirement" hint="UML::Class"> - <iconEntry xmi:id="_fy_VPTxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Class.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VPjxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Requirements::Requirement</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Class"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Satisfy_Abstraction" identifier="org.eclipse.papyrus.SysML14.Satisfy_Abstraction" name="Satisfy Abstraction" hint="UML::Abstraction"> - <iconEntry xmi:id="_fy_VQDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Abstraction.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VQTxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Requirements::Satisfy</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Abstraction"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Satisfy_DirectedRelationship" identifier="org.eclipse.papyrus.SysML14.Satisfy_DirectedRelationship" name="Satisfy DirectedRelationship" hint="UML::DirectedRelationship"> - <iconEntry xmi:id="_fy_VQzxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/DirectedRelationship.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VRDxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Requirements::Satisfy</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DirectedRelationship"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Stakeholder" identifier="org.eclipse.papyrus.SysML14.Stakeholder" name="Stakeholder" hint="UML::Classifier"> - <iconEntry xmi:id="_fy_VRjxBEeW7COAmy3tOJw" iconPath="/icons/Classifier.gif" bundleId="org.eclipse.papyrus.uml.service.types"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VRzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::ModelElements::Stakeholder</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Classifier"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.TestCase_Behavior" identifier="org.eclipse.papyrus.SysML14.TestCase_Behavior" name="TestCase Behavior" hint="UML::Behavior"> - <iconEntry xmi:id="_fy_VSTxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Behavior.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VSjxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Requirements::TestCase</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Behavior"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.TestCase_Operation" identifier="org.eclipse.papyrus.SysML14.TestCase_Operation" name="TestCase Operation" hint="UML::Operation"> - <iconEntry xmi:id="_fy_VTDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Operation.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VTTxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Requirements::TestCase</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Operation"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Trace_Abstraction" identifier="org.eclipse.papyrus.SysML14.Trace_Abstraction" name="Trace Abstraction" hint="UML::Abstraction"> - <iconEntry xmi:id="_fy_VTzxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Abstraction.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VUDxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Requirements::Trace</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Abstraction"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Trace_DirectedRelationship" identifier="org.eclipse.papyrus.SysML14.Trace_DirectedRelationship" name="Trace DirectedRelationship" hint="UML::DirectedRelationship"> - <iconEntry xmi:id="_fy_VUjxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/DirectedRelationship.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VUzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Requirements::Trace</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DirectedRelationship"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.TriggerOnNestedPort_Element" identifier="org.eclipse.papyrus.SysML14.TriggerOnNestedPort_Element" name="TriggerOnNestedPort Element" hint="UML::Element"> - <iconEntry xmi:id="_fy_VVTxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Element.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VVjxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::PortsAndFlows::TriggerOnNestedPort</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Element"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.TriggerOnNestedPort_Trigger" identifier="org.eclipse.papyrus.SysML14.TriggerOnNestedPort_Trigger" name="TriggerOnNestedPort Trigger" hint="UML::Trigger"> - <iconEntry xmi:id="_fy_VWDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Trigger.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VWTxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::PortsAndFlows::TriggerOnNestedPort</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Trigger"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.ValueType" identifier="org.eclipse.papyrus.SysML14.ValueType" name="ValueType" hint="UML::DataType"> - <iconEntry xmi:id="_fy_VWzxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/DataType.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VXDxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Blocks::ValueType</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DataType"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Verify_Abstraction" identifier="org.eclipse.papyrus.SysML14.Verify_Abstraction" name="Verify Abstraction" hint="UML::Abstraction"> - <iconEntry xmi:id="_fy_VXjxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Abstraction.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VXzxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Requirements::Verify</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Abstraction"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Verify_DirectedRelationship" identifier="org.eclipse.papyrus.SysML14.Verify_DirectedRelationship" name="Verify DirectedRelationship" hint="UML::DirectedRelationship"> - <iconEntry xmi:id="_fy_VYTxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/DirectedRelationship.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VYjxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::Requirements::Verify</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DirectedRelationship"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.View" identifier="org.eclipse.papyrus.SysML14.View" name="View" hint="UML::Class"> - <iconEntry xmi:id="_fy_VZDxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Class.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VZTxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::ModelElements::View</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Class"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.SysML14.Viewpoint" identifier="org.eclipse.papyrus.SysML14.Viewpoint" name="Viewpoint" hint="UML::Class"> - <iconEntry xmi:id="_fy_VZzxBEeW7COAmy3tOJw" iconPath="/icons/full/obj16/Class.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_fy_VaDxBEeW7COAmy3tOJw" profileUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <stereotypesQualifiedNames>SysML::ModelElements::Viewpoint</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Class"/> - </elementTypeConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VaTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.acceptChangeStructuralFeatureEventAction" target="org.eclipse.papyrus.SysML14.AcceptChangeStructuralFeatureEventAction"> - <stereotypesToApply xmi:id="_fy_VajxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::PortsAndFlows::AcceptChangeStructuralFeatureEventAction" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VazxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.adjunctProperty" target="org.eclipse.papyrus.SysML14.AdjunctProperty"> - <stereotypesToApply xmi:id="_fy_VbDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::AdjunctProperty" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VbTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.allocate" target="org.eclipse.papyrus.SysML14.Allocate_Abstraction"> - <stereotypesToApply xmi:id="_fy_VbjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Allocations::Allocate" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VbzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.allocate" target="org.eclipse.papyrus.SysML14.Allocate_DirectedRelationship"> - <stereotypesToApply xmi:id="_fy_VcDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Allocations::Allocate" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VcTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.allocateActivityPartition" target="org.eclipse.papyrus.SysML14.AllocateActivityPartition"> - <stereotypesToApply xmi:id="_fy_VcjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Allocations::AllocateActivityPartition" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VczxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.bindingConnector" target="org.eclipse.papyrus.SysML14.BindingConnector"> - <stereotypesToApply xmi:id="_fy_VdDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::BindingConnector" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VdTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.block" target="org.eclipse.papyrus.SysML14.Block"> - <stereotypesToApply xmi:id="_fy_VdjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::Block" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VdzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.boundReference" target="org.eclipse.papyrus.SysML14.BoundReference"> - <stereotypesToApply xmi:id="_fy_VeDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::BoundReference" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VeTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.changeStructuralFeatureEvent" target="org.eclipse.papyrus.SysML14.ChangeStructuralFeatureEvent"> - <stereotypesToApply xmi:id="_fy_VejxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::PortsAndFlows::ChangeStructuralFeatureEvent" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VezxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.classifierBehaviorProperty" target="org.eclipse.papyrus.SysML14.ClassifierBehaviorProperty"> - <stereotypesToApply xmi:id="_fy_VfDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::ClassifierBehaviorProperty" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VfTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.conform" target="org.eclipse.papyrus.SysML14.Conform"> - <stereotypesToApply xmi:id="_fy_VfjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::ModelElements::Conform" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VfzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.connectorProperty" target="org.eclipse.papyrus.SysML14.ConnectorProperty"> - <stereotypesToApply xmi:id="_fy_VgDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::ConnectorProperty" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VgTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.constraintBlock" target="org.eclipse.papyrus.SysML14.ConstraintBlock"> - <stereotypesToApply xmi:id="_fy_VgjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::ConstraintBlocks::ConstraintBlock" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VgzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.continuous" target="org.eclipse.papyrus.SysML14.Continuous_ActivityEdge"> - <stereotypesToApply xmi:id="_fy_VhDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Continuous" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VhTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.continuous" target="org.eclipse.papyrus.SysML14.Continuous_ObjectNode"> - <stereotypesToApply xmi:id="_fy_VhjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Continuous" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VhzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.continuous" target="org.eclipse.papyrus.SysML14.Continuous_Parameter"> - <stereotypesToApply xmi:id="_fy_ViDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Continuous" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_ViTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.controlOperator" target="org.eclipse.papyrus.SysML14.ControlOperator_Behavior"> - <stereotypesToApply xmi:id="_fy_VijxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::ControlOperator" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VizxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.controlOperator" target="org.eclipse.papyrus.SysML14.ControlOperator_Operation"> - <stereotypesToApply xmi:id="_fy_VjDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::ControlOperator" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VjTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.copy" target="org.eclipse.papyrus.SysML14.Copy_Abstraction"> - <stereotypesToApply xmi:id="_fy_VjjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::Copy" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VjzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.copy" target="org.eclipse.papyrus.SysML14.Copy_DirectedRelationship"> - <stereotypesToApply xmi:id="_fy_VkDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::Copy" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VkTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.deriveReqt" target="org.eclipse.papyrus.SysML14.DeriveReqt_Abstraction"> - <stereotypesToApply xmi:id="_fy_VkjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::DeriveReqt" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VkzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.deriveReqt" target="org.eclipse.papyrus.SysML14.DeriveReqt_DirectedRelationship"> - <stereotypesToApply xmi:id="_fy_VlDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::DeriveReqt" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VlTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.directedFeature" target="org.eclipse.papyrus.SysML14.DirectedFeature"> - <stereotypesToApply xmi:id="_fy_VljxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::PortsAndFlows::DirectedFeature" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VlzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.directedRelationshipPropertyPath" target="org.eclipse.papyrus.SysML14.DirectedRelationshipPropertyPath"> - <stereotypesToApply xmi:id="_fy_VmDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::DirectedRelationshipPropertyPath" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VmTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.discrete" target="org.eclipse.papyrus.SysML14.Discrete_ActivityEdge"> - <stereotypesToApply xmi:id="_fy_VmjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Discrete" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VmzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.discrete" target="org.eclipse.papyrus.SysML14.Discrete_ObjectNode"> - <stereotypesToApply xmi:id="_fy_VnDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Discrete" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VnTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.discrete" target="org.eclipse.papyrus.SysML14.Discrete_Parameter"> - <stereotypesToApply xmi:id="_fy_VnjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Discrete" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VnzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.distributedProperty" target="org.eclipse.papyrus.SysML14.DistributedProperty"> - <stereotypesToApply xmi:id="_fy_VoDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::DistributedProperty" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VoTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.elementGroup" target="org.eclipse.papyrus.SysML14.ElementGroup"> - <stereotypesToApply xmi:id="_fy_VojxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::ModelElements::ElementGroup" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VozxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.elementPropertyPath" target="org.eclipse.papyrus.SysML14.ElementPropertyPath"> - <stereotypesToApply xmi:id="_fy_VpDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::ElementPropertyPath" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VpTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.endPathMultiplicity" target="org.eclipse.papyrus.SysML14.EndPathMultiplicity"> - <stereotypesToApply xmi:id="_fy_VpjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::EndPathMultiplicity" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VpzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.expose" target="org.eclipse.papyrus.SysML14.Expose"> - <stereotypesToApply xmi:id="_fy_VqDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::ModelElements::Expose" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VqTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.flowPort" target="org.eclipse.papyrus.SysML14.FlowPort"> - <stereotypesToApply xmi:id="_fy_VqjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::DeprecatedElements::FlowPort" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VqzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.flowProperty" target="org.eclipse.papyrus.SysML14.FlowProperty"> - <stereotypesToApply xmi:id="_fy_VrDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::PortsAndFlows::FlowProperty" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VrTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.flowSpecification" target="org.eclipse.papyrus.SysML14.FlowSpecification"> - <stereotypesToApply xmi:id="_fy_VrjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::DeprecatedElements::FlowSpecification" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VrzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.fullPort" target="org.eclipse.papyrus.SysML14.FullPort"> - <stereotypesToApply xmi:id="_fy_VsDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::PortsAndFlows::FullPort" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VsTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.interfaceBlock" target="org.eclipse.papyrus.SysML14.InterfaceBlock"> - <stereotypesToApply xmi:id="_fy_VsjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::PortsAndFlows::InterfaceBlock" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VszxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.invocationOnNestedPortAction" target="org.eclipse.papyrus.SysML14.InvocationOnNestedPortAction_InvocationAction"> - <stereotypesToApply xmi:id="_fy_VtDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::PortsAndFlows::InvocationOnNestedPortAction" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VtTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.invocationOnNestedPortAction" target="org.eclipse.papyrus.SysML14.InvocationOnNestedPortAction_Element"> - <stereotypesToApply xmi:id="_fy_VtjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::PortsAndFlows::InvocationOnNestedPortAction" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VtzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.itemFlow_UML::InformationFlow" target="org.eclipse.papyrus.SysML14.ItemFlow"> - <stereotypesToApply xmi:id="_fy_VuDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::PortsAndFlows::ItemFlow" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VuTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.nestedConnectorEnd" target="org.eclipse.papyrus.SysML14.NestedConnectorEnd_ConnectorEnd"> - <stereotypesToApply xmi:id="_fy_VujxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::NestedConnectorEnd" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VuzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.nestedConnectorEnd" target="org.eclipse.papyrus.SysML14.NestedConnectorEnd_Element"> - <stereotypesToApply xmi:id="_fy_VvDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::NestedConnectorEnd" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VvTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.noBuffer" target="org.eclipse.papyrus.SysML14.NoBuffer"> - <stereotypesToApply xmi:id="_fy_VvjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::NoBuffer" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VvzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.optional" target="org.eclipse.papyrus.SysML14.Optional"> - <stereotypesToApply xmi:id="_fy_VwDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Optional" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VwTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.overwrite" target="org.eclipse.papyrus.SysML14.Overwrite"> - <stereotypesToApply xmi:id="_fy_VwjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Overwrite" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VwzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.participantProperty" target="org.eclipse.papyrus.SysML14.ParticipantProperty"> - <stereotypesToApply xmi:id="_fy_VxDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::ParticipantProperty" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VxTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.probability" target="org.eclipse.papyrus.SysML14.Probability_ActivityEdge"> - <stereotypesToApply xmi:id="_fy_VxjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Probability" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VxzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.probability" target="org.eclipse.papyrus.SysML14.Probability_ParameterSet"> - <stereotypesToApply xmi:id="_fy_VyDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Probability" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VyTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.problem" target="org.eclipse.papyrus.SysML14.Problem"> - <stereotypesToApply xmi:id="_fy_VyjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::ModelElements::Problem" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VyzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.propertySpecificType" target="org.eclipse.papyrus.SysML14.PropertySpecificType"> - <stereotypesToApply xmi:id="_fy_VzDxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::PropertySpecificType" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VzTxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.proxyPort" target="org.eclipse.papyrus.SysML14.ProxyPort"> - <stereotypesToApply xmi:id="_fy_VzjxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::PortsAndFlows::ProxyPort" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_VzzxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.rate" target="org.eclipse.papyrus.SysML14.Rate_ActivityEdge"> - <stereotypesToApply xmi:id="_fy_V0DxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Rate" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V0TxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.rate" target="org.eclipse.papyrus.SysML14.Rate_ObjectNode"> - <stereotypesToApply xmi:id="_fy_V0jxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Rate" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V0zxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.rate" target="org.eclipse.papyrus.SysML14.Rate_Parameter"> - <stereotypesToApply xmi:id="_fy_V1DxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Activities::Rate" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V1TxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.rationale" target="org.eclipse.papyrus.SysML14.Rationale"> - <stereotypesToApply xmi:id="_fy_V1jxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::ModelElements::Rationale" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V1zxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.refine" target="org.eclipse.papyrus.SysML14.Refine_Abstraction"> - <stereotypesToApply xmi:id="_fy_V2DxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::Refine" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V2TxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.refine" target="org.eclipse.papyrus.SysML14.Refine_DirectedRelationship"> - <stereotypesToApply xmi:id="_fy_V2jxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::Refine" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V2zxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.requirement" target="org.eclipse.papyrus.SysML14.Requirement"> - <stereotypesToApply xmi:id="_fy_V3DxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::Requirement" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V3TxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.satisfy" target="org.eclipse.papyrus.SysML14.Satisfy_Abstraction"> - <stereotypesToApply xmi:id="_fy_V3jxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::Satisfy" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V3zxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.satisfy" target="org.eclipse.papyrus.SysML14.Satisfy_DirectedRelationship"> - <stereotypesToApply xmi:id="_fy_V4DxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::Satisfy" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V4TxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.stakeholder" target="org.eclipse.papyrus.SysML14.Stakeholder"> - <stereotypesToApply xmi:id="_fy_V4jxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::ModelElements::Stakeholder" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V4zxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.testCase" target="org.eclipse.papyrus.SysML14.TestCase_Behavior"> - <stereotypesToApply xmi:id="_fy_V5DxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::TestCase" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V5TxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.testCase" target="org.eclipse.papyrus.SysML14.TestCase_Operation"> - <stereotypesToApply xmi:id="_fy_V5jxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::TestCase" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V5zxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.trace" target="org.eclipse.papyrus.SysML14.Trace_Abstraction"> - <stereotypesToApply xmi:id="_fy_V6DxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::Trace" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V6TxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.trace" target="org.eclipse.papyrus.SysML14.Trace_DirectedRelationship"> - <stereotypesToApply xmi:id="_fy_V6jxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::Trace" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V6zxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.triggerOnNestedPort" target="org.eclipse.papyrus.SysML14.TriggerOnNestedPort_Trigger"> - <stereotypesToApply xmi:id="_fy_V7DxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::PortsAndFlows::TriggerOnNestedPort" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V7TxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.triggerOnNestedPort" target="org.eclipse.papyrus.SysML14.TriggerOnNestedPort_Element"> - <stereotypesToApply xmi:id="_fy_V7jxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::PortsAndFlows::TriggerOnNestedPort" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V7zxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.valueType" target="org.eclipse.papyrus.SysML14.ValueType"> - <stereotypesToApply xmi:id="_fy_V8DxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Blocks::ValueType" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V8TxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.verify" target="org.eclipse.papyrus.SysML14.Verify_Abstraction"> - <stereotypesToApply xmi:id="_fy_V8jxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::Verify" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V8zxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.verify" target="org.eclipse.papyrus.SysML14.Verify_DirectedRelationship"> - <stereotypesToApply xmi:id="_fy_V9DxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::Requirements::Verify" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V9TxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.view" target="org.eclipse.papyrus.SysML14.View"> - <stereotypesToApply xmi:id="_fy_V9jxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::ModelElements::View" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> - <adviceBindingsConfigurations xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration" xmi:id="_fy_V9zxBEeW7COAmy3tOJw" identifier="org.eclipse.papyrus.SysML14.viewpoint" target="org.eclipse.papyrus.SysML14.Viewpoint"> - <stereotypesToApply xmi:id="_fy_V-DxBEeW7COAmy3tOJw" stereotypeQualifiedName="SysML::ModelElements::Viewpoint" updateName="true"> - <requiredProfiles>SysML</requiredProfiles> - </stereotypesToApply> - </adviceBindingsConfigurations> -</elementtypesconfigurations:ElementTypeSetConfiguration>
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/plugin.properties b/core/org.eclipse.papyrus.sysml14.service.types/plugin.properties deleted file mode 100644 index b5f208a..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/plugin.properties +++ /dev/null
@@ -1,15 +0,0 @@ -################################################################################# -# Copyright (c) 2015 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: -# Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - initial API and implementation -################################################################################## -Bundle-Name=Papyrus SysML 1.4 Service Type -Bundle-Description=This plug-in contains the SyML 1.4 element types. -Bundle-Vendor=Eclipse Modeling Project - -
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/plugin.xml b/core/org.eclipse.papyrus.sysml14.service.types/plugin.xml deleted file mode 100644 index 3ae619e..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/plugin.xml +++ /dev/null
@@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?eclipse version="3.4"?> -<plugin> - <extension - point="org.eclipse.papyrus.infra.types.core.elementTypeSetConfiguration"> - <elementTypeSet - clientContextID="org.eclipse.papyrus.infra.services.edit.TypeContext" - path="model/SysML14.elementtypesconfigurations"> - </elementTypeSet> - </extension> - - <extension - point="org.eclipse.papyrus.infra.types.core.elementTypeSetConfiguration"> - <elementTypeSet - clientContextID="org.eclipse.papyrus.infra.services.edit.TypeContext" - path="model/SysML14-extension.elementtypesconfigurations"> - </elementTypeSet> - </extension> - -</plugin>
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/pom.xml b/core/org.eclipse.papyrus.sysml14.service.types/pom.xml deleted file mode 100644 index f138e20..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/pom.xml +++ /dev/null
@@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" -xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <artifactId>org.eclipse.papyrus.sysml14.core</artifactId> - <groupId>org.eclipse.papyrus.sysml</groupId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.service.types</artifactId> - <packaging>eclipse-plugin</packaging> - <name>org.eclipse.papyrus.sysml14.service.types</name> - <description>This plug-in contains the SyML 1.4 element types. Papyrus element type is the model based approach for managing object life cycle (based on eclipse gmf framework)</description> -</project> \ No newline at end of file
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/resources/doc/org.eclipse.papyrus.sysml14.service.types.notation b/core/org.eclipse.papyrus.sysml14.service.types/resources/doc/org.eclipse.papyrus.sysml14.service.types.notation deleted file mode 100644 index 483eda0..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/resources/doc/org.eclipse.papyrus.sysml14.service.types.notation +++ /dev/null
@@ -1,611 +0,0 @@ -<?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:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/gmfdiag/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"> - <notation:Diagram xmi:id="_3lvKYFFxEeWPz5cwbRdVrg" type="PapyrusUMLClassDiagram" name="tracability Req for modelelements" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_5gwsoFFxEeWPz5cwbRdVrg" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_5g4BYFFxEeWPz5cwbRdVrg" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_5g4BYVFxEeWPz5cwbRdVrg" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_5g4BYlFxEeWPz5cwbRdVrg" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_5g9g8FFxEeWPz5cwbRdVrg" visible="false" type="Class_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_5g9g8VFxEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_5g9g8lFxEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_5g9g81FxEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5g9g9FFxEeWPz5cwbRdVrg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_5g9g9VFxEeWPz5cwbRdVrg" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_5g9g9lFxEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_5g9g91FxEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_5g9g-FFxEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5g9g-VFxEeWPz5cwbRdVrg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_5g9g-lFxEeWPz5cwbRdVrg" visible="false" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_5g9g-1FxEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_5g9g_FFxEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_5g9g_VFxEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5g9g_lFxEeWPz5cwbRdVrg"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_nxL8wJoSEeeOUvsiG0ZmwQ" type="StereotypeLabel"> - <styles xmi:type="notation:StringValueStyle" xmi:id="_nxL8wZoSEeeOUvsiG0ZmwQ" name="stereotype" stringValue="SysML::Requirements::Requirement"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_nxL8wpoSEeeOUvsiG0ZmwQ"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_nxZYIJoSEeeOUvsiG0ZmwQ" type="StereotypeBrace"> - <styles xmi:type="notation:TitleStyle" xmi:id="_nxZYIZoSEeeOUvsiG0ZmwQ"/> - <styles xmi:type="notation:StringValueStyle" xmi:id="_nxZYIpoSEeeOUvsiG0ZmwQ" name="stereotype" stringValue="SysML::Requirements::Requirement"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_nxZYI5oSEeeOUvsiG0ZmwQ"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_nxgF0JoSEeeOUvsiG0ZmwQ" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_nxkXQJoSEeeOUvsiG0ZmwQ" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_nxoBoJoSEeeOUvsiG0ZmwQ" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_nxp20JoSEeeOUvsiG0ZmwQ" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_nxrsAJoSEeeOUvsiG0ZmwQ" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_nxthMJoSEeeOUvsiG0ZmwQ" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_nxv9cJoSEeeOUvsiG0ZmwQ" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_nxyZsJoSEeeOUvsiG0ZmwQ" type="Parameters"/> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.service.types.uml#_pjr20FFvEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5gwsoVFxEeWPz5cwbRdVrg" x="140" y="140" width="221" height="41"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_5kJX0FFxEeWPz5cwbRdVrg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_5kJX0VFxEeWPz5cwbRdVrg" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_5kJ-4FFxEeWPz5cwbRdVrg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.service.types.uml#_pjr20FFvEeWPz5cwbRdVrg"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5kJX0lFxEeWPz5cwbRdVrg" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_CArfQFFyEeWPz5cwbRdVrg" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_CAsGUFFyEeWPz5cwbRdVrg" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_CAsGUVFyEeWPz5cwbRdVrg" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_CAsGUlFyEeWPz5cwbRdVrg" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_CAsGU1FyEeWPz5cwbRdVrg" visible="false" type="Class_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_CAsGVFFyEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_CAsGVVFyEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_CAsGVlFyEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CAsGV1FyEeWPz5cwbRdVrg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_CAsGWFFyEeWPz5cwbRdVrg" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_CAsGWVFyEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_CAsGWlFyEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_CAsGW1FyEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CAsGXFFyEeWPz5cwbRdVrg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_CAsGXVFyEeWPz5cwbRdVrg" visible="false" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_CAsGXlFyEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_CAsGX1FyEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_CAsGYFFyEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CAsGYVFyEeWPz5cwbRdVrg"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_nyfkUJoSEeeOUvsiG0ZmwQ" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_nyhZgJoSEeeOUvsiG0ZmwQ" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_nyjOsJoSEeeOUvsiG0ZmwQ" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_nykc0JoSEeeOUvsiG0ZmwQ" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_nylq8JoSEeeOUvsiG0ZmwQ" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_nym5EJoSEeeOUvsiG0ZmwQ" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_nyouQJoSEeeOUvsiG0ZmwQ" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_nyqjcJoSEeeOUvsiG0ZmwQ" type="Parameters"/> - <element xmi:type="uml:Class" href="platform:/resource/org.eclipse.papyrus.sysml14/doc/omg.sysml.uml#_66F9iDq8EeW79ofuztDyTA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CArfQVFyEeWPz5cwbRdVrg" x="140" y="60" height="41"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_CBFu81FyEeWPz5cwbRdVrg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_CBFu9FFyEeWPz5cwbRdVrg" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_CBFu9lFyEeWPz5cwbRdVrg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="platform:/resource/org.eclipse.papyrus.sysml14/doc/omg.sysml.uml#_66F9iDq8EeW79ofuztDyTA"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CBFu9VFyEeWPz5cwbRdVrg" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_IpK2M1FyEeWPz5cwbRdVrg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_IpK2NFFyEeWPz5cwbRdVrg" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_IpLdQFFyEeWPz5cwbRdVrg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.service.types.uml#_FKM08FFyEeWPz5cwbRdVrg"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_IpK2NVFyEeWPz5cwbRdVrg" x="340" y="40"/> - </children> - <styles xmi:type="notation:StringValueStyle" xmi:id="_3lvKYVFxEeWPz5cwbRdVrg" name="diagram_compatibility_version" stringValue="1.3.0"/> - <styles xmi:type="notation:DiagramStyle" xmi:id="_3lvKYlFxEeWPz5cwbRdVrg"/> - <styles xmi:type="style:PapyrusDiagramStyle" xmi:id="_nvy1oJoSEeeOUvsiG0ZmwQ" diagramKindId="org.eclipse.papyrus.uml.diagram.class"> - <owner xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.service.types.uml#_jDs7oFFvEeWPz5cwbRdVrg"/> - </styles> - <element xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.service.types.uml#_jDs7oFFvEeWPz5cwbRdVrg"/> - <edges xmi:type="notation:Connector" xmi:id="_5kO3YFFxEeWPz5cwbRdVrg" type="StereotypeCommentLink" source="_5gwsoFFxEeWPz5cwbRdVrg" target="_5kJX0FFxEeWPz5cwbRdVrg"> - <styles xmi:type="notation:FontStyle" xmi:id="_5kO3YVFxEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_5kPeclFxEeWPz5cwbRdVrg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.service.types.uml#_pjr20FFvEeWPz5cwbRdVrg"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_5kO3YlFxEeWPz5cwbRdVrg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_5kPecFFxEeWPz5cwbRdVrg"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_5kPecVFxEeWPz5cwbRdVrg"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_CBFu91FyEeWPz5cwbRdVrg" type="StereotypeCommentLink" source="_CArfQFFyEeWPz5cwbRdVrg" target="_CBFu81FyEeWPz5cwbRdVrg"> - <styles xmi:type="notation:FontStyle" xmi:id="_CBFu-FFyEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_CBFu_FFyEeWPz5cwbRdVrg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="platform:/resource/org.eclipse.papyrus.sysml14/doc/omg.sysml.uml#_66F9iDq8EeW79ofuztDyTA"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_CBFu-VFyEeWPz5cwbRdVrg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_CBFu-lFyEeWPz5cwbRdVrg"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_CBFu-1FyEeWPz5cwbRdVrg"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_FKRGYFFyEeWPz5cwbRdVrg" type="Abstraction_Edge" source="_5gwsoFFxEeWPz5cwbRdVrg" target="_CArfQFFyEeWPz5cwbRdVrg"> - <children xmi:type="notation:DecorationNode" xmi:id="_FKRGY1FyEeWPz5cwbRdVrg" type="Abstraction_NameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_FKRGZFFyEeWPz5cwbRdVrg" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_FKRGZVFyEeWPz5cwbRdVrg" type="Abstraction_StereotypeLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_FKRGZlFyEeWPz5cwbRdVrg" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_FKRGYVFyEeWPz5cwbRdVrg"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.service.types.uml#_FKM08FFyEeWPz5cwbRdVrg"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_FKRGYlFyEeWPz5cwbRdVrg" points="[-2, -5, -19, 60]$[-92, -59, -109, 6]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FLjf0FFyEeWPz5cwbRdVrg" id="(0.45248868778280543,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FLjf0VFyEeWPz5cwbRdVrg" id="(0.45871559633027525,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_IpLdQVFyEeWPz5cwbRdVrg" type="StereotypeCommentLink" source="_FKRGYFFyEeWPz5cwbRdVrg" target="_IpK2M1FyEeWPz5cwbRdVrg"> - <styles xmi:type="notation:FontStyle" xmi:id="_IpLdQlFyEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_IpLdRlFyEeWPz5cwbRdVrg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.service.types.uml#_FKM08FFyEeWPz5cwbRdVrg"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_IpLdQ1FyEeWPz5cwbRdVrg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_IpLdRFFyEeWPz5cwbRdVrg"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_IpLdRVFyEeWPz5cwbRdVrg"/> - </edges> - </notation:Diagram> - <notation:Diagram xmi:id="_gi0YYFIhEeWPz5cwbRdVrg" type="PapyrusUMLClassDiagram" name="Design" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_h4P6QFIhEeWPz5cwbRdVrg" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_h4P6QlIhEeWPz5cwbRdVrg" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_h4P6Q1IhEeWPz5cwbRdVrg" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_h4P6RFIhEeWPz5cwbRdVrg" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_h4QhUFIhEeWPz5cwbRdVrg" visible="false" type="Class_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_h4QhUVIhEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_h4QhUlIhEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_h4QhU1IhEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_h4QhVFIhEeWPz5cwbRdVrg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_h4QhVVIhEeWPz5cwbRdVrg" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_h4QhVlIhEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_h4QhV1IhEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_h4QhWFIhEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_h4QhWVIhEeWPz5cwbRdVrg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_h4QhWlIhEeWPz5cwbRdVrg" visible="false" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_h4QhW1IhEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_h4QhXFIhEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_h4QhXVIhEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_h4QhXlIhEeWPz5cwbRdVrg"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_mIYy8JoSEeeOUvsiG0ZmwQ" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_mIb2QJoSEeeOUvsiG0ZmwQ" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_mIdEYJoSEeeOUvsiG0ZmwQ" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_mIe5kJoSEeeOUvsiG0ZmwQ" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_mIgHsJoSEeeOUvsiG0ZmwQ" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_mIhV0JoSEeeOUvsiG0ZmwQ" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_mIij8JoSEeeOUvsiG0ZmwQ" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_mIjyEJoSEeeOUvsiG0ZmwQ" type="Parameters"/> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.service.types.uml#_h4NeAFIhEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_h4P6QVIhEeWPz5cwbRdVrg" x="20" y="240" width="221" height="61"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_m0Ds8FIhEeWPz5cwbRdVrg" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_m0Ds8VIhEeWPz5cwbRdVrg" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_m0Ds8lIhEeWPz5cwbRdVrg" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_m0Ds81IhEeWPz5cwbRdVrg" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_m0Ds9FIhEeWPz5cwbRdVrg" visible="false" type="Class_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_m0Ds9VIhEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_m0Ds9lIhEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_m0Ds91IhEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_m0Ds-FIhEeWPz5cwbRdVrg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_m0Ds-VIhEeWPz5cwbRdVrg" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_m0Ds-lIhEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_m0Ds-1IhEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_m0Ds_FIhEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_m0Ds_VIhEeWPz5cwbRdVrg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_m0Ds_lIhEeWPz5cwbRdVrg" visible="false" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_m0Ds_1IhEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_m0DtAFIhEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_m0DtAVIhEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_m0DtAlIhEeWPz5cwbRdVrg"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_mh3C4JoSEeeOUvsiG0ZmwQ" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_mh6GMJoSEeeOUvsiG0ZmwQ" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_mh6tQJoSEeeOUvsiG0ZmwQ" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_mh77YJoSEeeOUvsiG0ZmwQ" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_mh9JgJoSEeeOUvsiG0ZmwQ" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_mh9wkJoSEeeOUvsiG0ZmwQ" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_mh_lwJoSEeeOUvsiG0ZmwQ" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_miBa8JoSEeeOUvsiG0ZmwQ" type="Parameters"/> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.service.types.uml#_m0DF4FIhEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_m0DtBlIhEeWPz5cwbRdVrg" x="260" y="240" width="241" height="61"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_sdqZwFIhEeWPz5cwbRdVrg" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_sdqZwlIhEeWPz5cwbRdVrg" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_sdqZw1IhEeWPz5cwbRdVrg" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_sdqZxFIhEeWPz5cwbRdVrg" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_sdrA0FIhEeWPz5cwbRdVrg" visible="false" type="Class_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_sdrA0VIhEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_sdrA0lIhEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_sdrA01IhEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_sdrA1FIhEeWPz5cwbRdVrg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_sdrA1VIhEeWPz5cwbRdVrg" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_sdrA1lIhEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_sdrA11IhEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_sdrA2FIhEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_sdrA2VIhEeWPz5cwbRdVrg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_sdrA2lIhEeWPz5cwbRdVrg" visible="false" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_sdrA21IhEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_sdrA3FIhEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_sdrA3VIhEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_sdrA3lIhEeWPz5cwbRdVrg"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_minQ0JoSEeeOUvsiG0ZmwQ" type="StereotypeLabel"> - <styles xmi:type="notation:StringValueStyle" xmi:id="_minQ0ZoSEeeOUvsiG0ZmwQ" name="stereotype" stringValue="SysML::Requirements::Requirement"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_minQ0poSEeeOUvsiG0ZmwQ"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_miq7MJoSEeeOUvsiG0ZmwQ" type="StereotypeBrace"> - <styles xmi:type="notation:TitleStyle" xmi:id="_miq7MZoSEeeOUvsiG0ZmwQ"/> - <styles xmi:type="notation:StringValueStyle" xmi:id="_miq7MpoSEeeOUvsiG0ZmwQ" name="stereotype" stringValue="SysML::Requirements::Requirement"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_miq7M5oSEeeOUvsiG0ZmwQ"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_mitXcJoSEeeOUvsiG0ZmwQ" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_miulkJoSEeeOUvsiG0ZmwQ" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_miwawJoSEeeOUvsiG0ZmwQ" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_mixo4JoSEeeOUvsiG0ZmwQ" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_mizeEJoSEeeOUvsiG0ZmwQ" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_mi16UJoSEeeOUvsiG0ZmwQ" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_mi3vgJoSEeeOUvsiG0ZmwQ" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_mi5ksJoSEeeOUvsiG0ZmwQ" type="Parameters"/> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.service.types.uml#_pjr20FFvEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_sdqZwVIhEeWPz5cwbRdVrg" x="40" y="20" width="201" height="41"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_sd5qU1IhEeWPz5cwbRdVrg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_sd5qVFIhEeWPz5cwbRdVrg" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_sd5qVlIhEeWPz5cwbRdVrg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.service.types.uml#_pjr20FFvEeWPz5cwbRdVrg"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_sd5qVVIhEeWPz5cwbRdVrg" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_waxvk1IhEeWPz5cwbRdVrg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_waxvlFIhEeWPz5cwbRdVrg" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_waxvllIhEeWPz5cwbRdVrg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.service.types.uml#_uaIGcFIhEeWPz5cwbRdVrg"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_waxvlVIhEeWPz5cwbRdVrg" x="220" y="140"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_xMmOE1IhEeWPz5cwbRdVrg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_xMmOFFIhEeWPz5cwbRdVrg" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_xMmOFlIhEeWPz5cwbRdVrg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.service.types.uml#_u1cJcFIhEeWPz5cwbRdVrg"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xMmOFVIhEeWPz5cwbRdVrg" x="460" y="140"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_S_g5oFMMEeWPz5cwbRdVrg" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_S_iHwFMMEeWPz5cwbRdVrg" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_S_iHwVMMEeWPz5cwbRdVrg" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_S_iu0FMMEeWPz5cwbRdVrg" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_S_iu0VMMEeWPz5cwbRdVrg" visible="false" type="Class_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_S_iu0lMMEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_S_iu01MMEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_S_iu1FMMEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_S_iu1VMMEeWPz5cwbRdVrg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_S_iu1lMMEeWPz5cwbRdVrg" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_S_iu11MMEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_S_iu2FMMEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_S_iu2VMMEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_S_iu2lMMEeWPz5cwbRdVrg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_S_iu21MMEeWPz5cwbRdVrg" visible="false" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_S_iu3FMMEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_S_iu3VMMEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_S_iu3lMMEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_S_iu31MMEeWPz5cwbRdVrg"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_mjv5QJoSEeeOUvsiG0ZmwQ" type="StereotypeLabel"> - <styles xmi:type="notation:StringValueStyle" xmi:id="_mjv5QZoSEeeOUvsiG0ZmwQ" name="stereotype" stringValue="SysML::Requirements::Requirement"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_mjv5QpoSEeeOUvsiG0ZmwQ"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_mj1_4JoSEeeOUvsiG0ZmwQ" type="StereotypeBrace"> - <styles xmi:type="notation:TitleStyle" xmi:id="_mj1_4ZoSEeeOUvsiG0ZmwQ"/> - <styles xmi:type="notation:StringValueStyle" xmi:id="_mj1_4poSEeeOUvsiG0ZmwQ" name="stereotype" stringValue="SysML::Requirements::Requirement"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_mj1_45oSEeeOUvsiG0ZmwQ"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_mj4cIJoSEeeOUvsiG0ZmwQ" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_mj5qQJoSEeeOUvsiG0ZmwQ" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_mj6RUJoSEeeOUvsiG0ZmwQ" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_mj8GgJoSEeeOUvsiG0ZmwQ" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_mj9UoJoSEeeOUvsiG0ZmwQ" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_mj-iwJoSEeeOUvsiG0ZmwQ" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_mj_w4JoSEeeOUvsiG0ZmwQ" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_mkBmEJoSEeeOUvsiG0ZmwQ" type="Parameters"/> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.service.types.uml#_k3eBYFMGEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_S_g5oVMMEeWPz5cwbRdVrg" x="620" y="20" height="45"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_S_2341MMEeWPz5cwbRdVrg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_S_235FMMEeWPz5cwbRdVrg" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_S_235lMMEeWPz5cwbRdVrg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.service.types.uml#_k3eBYFMGEeWPz5cwbRdVrg"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_S_235VMMEeWPz5cwbRdVrg" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_TsJ9MFMMEeWPz5cwbRdVrg" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_TsKkQFMMEeWPz5cwbRdVrg" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_TsKkQVMMEeWPz5cwbRdVrg" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_TsKkQlMMEeWPz5cwbRdVrg" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_TsKkQ1MMEeWPz5cwbRdVrg" visible="false" type="Class_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_TsKkRFMMEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_TsKkRVMMEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_TsKkRlMMEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_TsKkR1MMEeWPz5cwbRdVrg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_TsKkSFMMEeWPz5cwbRdVrg" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_TsKkSVMMEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_TsKkSlMMEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_TsKkS1MMEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_TsKkTFMMEeWPz5cwbRdVrg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_TsKkTVMMEeWPz5cwbRdVrg" visible="false" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_TsKkTlMMEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_TsKkT1MMEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_TsKkUFMMEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_TsKkUVMMEeWPz5cwbRdVrg"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_mkjxkJoSEeeOUvsiG0ZmwQ" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_mkk_sJoSEeeOUvsiG0ZmwQ" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_mklmwJoSEeeOUvsiG0ZmwQ" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_mkm04JoSEeeOUvsiG0ZmwQ" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_mkoDAJoSEeeOUvsiG0ZmwQ" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_mkpRIJoSEeeOUvsiG0ZmwQ" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_mkqfQJoSEeeOUvsiG0ZmwQ" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_mkrGUJoSEeeOUvsiG0ZmwQ" type="Parameters"/> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.service.types.uml#_TsIvEFMMEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_TsJ9MVMMEeWPz5cwbRdVrg" x="580" y="120" height="41"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_h1TCI1MMEeWPz5cwbRdVrg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_h1TCJFMMEeWPz5cwbRdVrg" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_h1TCJlMMEeWPz5cwbRdVrg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.service.types.uml#_exeEwFMMEeWPz5cwbRdVrg"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_h1TCJVMMEeWPz5cwbRdVrg" x="780" y="20"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_2iNxYFViEeWPz5cwbRdVrg" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_2iNxYlViEeWPz5cwbRdVrg" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_2iNxY1ViEeWPz5cwbRdVrg" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_2iNxZFViEeWPz5cwbRdVrg" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_2iOYcFViEeWPz5cwbRdVrg" visible="false" type="Class_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_2iOYcVViEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_2iOYclViEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_2iOYc1ViEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2iOYdFViEeWPz5cwbRdVrg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_2iOYdVViEeWPz5cwbRdVrg" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_2iOYdlViEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_2iOYd1ViEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_2iOYeFViEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2iOYeVViEeWPz5cwbRdVrg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_2iOYelViEeWPz5cwbRdVrg" visible="false" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_2iOYe1ViEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_2iOYfFViEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_2iOYfVViEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2iOYflViEeWPz5cwbRdVrg"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_mk5v0JoSEeeOUvsiG0ZmwQ" type="StereotypeLabel"> - <styles xmi:type="notation:StringValueStyle" xmi:id="_mk5v0ZoSEeeOUvsiG0ZmwQ" name="stereotype" stringValue="SysML::Requirements::Requirement"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_mk5v0poSEeeOUvsiG0ZmwQ"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_mk_PYJoSEeeOUvsiG0ZmwQ" type="StereotypeBrace"> - <styles xmi:type="notation:TitleStyle" xmi:id="_mk_PYZoSEeeOUvsiG0ZmwQ"/> - <styles xmi:type="notation:StringValueStyle" xmi:id="_mk_PYpoSEeeOUvsiG0ZmwQ" name="stereotype" stringValue="SysML::Requirements::Requirement"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_mk_PY5oSEeeOUvsiG0ZmwQ"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_mlBroJoSEeeOUvsiG0ZmwQ" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_mlC5wJoSEeeOUvsiG0ZmwQ" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_mlEu8JoSEeeOUvsiG0ZmwQ" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_mlF9EJoSEeeOUvsiG0ZmwQ" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_mlJAYJoSEeeOUvsiG0ZmwQ" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_mlK1kJoSEeeOUvsiG0ZmwQ" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_mlMqwJoSEeeOUvsiG0ZmwQ" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_mlOf8JoSEeeOUvsiG0ZmwQ" type="Parameters"/> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.service.types.uml#_032hUFViEeWPz5cwbRdVrg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2iNxYVViEeWPz5cwbRdVrg" x="410" y="19" height="42"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_2ibMwFViEeWPz5cwbRdVrg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_2ibMwVViEeWPz5cwbRdVrg" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_2ibMw1ViEeWPz5cwbRdVrg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.service.types.uml#_032hUFViEeWPz5cwbRdVrg"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2ibMwlViEeWPz5cwbRdVrg" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_4wwskFViEeWPz5cwbRdVrg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_4wwskVViEeWPz5cwbRdVrg" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_4wwsk1ViEeWPz5cwbRdVrg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.service.types.uml#_3ZNq0FViEeWPz5cwbRdVrg"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4wwsklViEeWPz5cwbRdVrg" x="460" y="140"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_57UbM1ViEeWPz5cwbRdVrg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_57UbNFViEeWPz5cwbRdVrg" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_57UbNlViEeWPz5cwbRdVrg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.service.types.uml#_3DQo8FViEeWPz5cwbRdVrg"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_57UbNVViEeWPz5cwbRdVrg" x="220" y="140"/> - </children> - <styles xmi:type="notation:StringValueStyle" xmi:id="_gi0YYVIhEeWPz5cwbRdVrg" name="diagram_compatibility_version" stringValue="1.3.0"/> - <styles xmi:type="notation:DiagramStyle" xmi:id="_gi0YYlIhEeWPz5cwbRdVrg"/> - <styles xmi:type="style:PapyrusDiagramStyle" xmi:id="_mFxj0JoSEeeOUvsiG0ZmwQ" diagramKindId="org.eclipse.papyrus.uml.diagram.class"> - <owner xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.service.types.uml#_a2u_UFIhEeWPz5cwbRdVrg"/> - </styles> - <element xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.service.types.uml#_a2u_UFIhEeWPz5cwbRdVrg"/> - <edges xmi:type="notation:Connector" xmi:id="_sd5qV1IhEeWPz5cwbRdVrg" type="StereotypeCommentLink" source="_sdqZwFIhEeWPz5cwbRdVrg" target="_sd5qU1IhEeWPz5cwbRdVrg"> - <styles xmi:type="notation:FontStyle" xmi:id="_sd5qWFIhEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_sd6RYFIhEeWPz5cwbRdVrg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.service.types.uml#_pjr20FFvEeWPz5cwbRdVrg"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_sd5qWVIhEeWPz5cwbRdVrg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_sd5qWlIhEeWPz5cwbRdVrg"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_sd5qW1IhEeWPz5cwbRdVrg"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_uaJ7oFIhEeWPz5cwbRdVrg" type="Abstraction_Edge" source="_h4P6QFIhEeWPz5cwbRdVrg" target="_sdqZwFIhEeWPz5cwbRdVrg"> - <children xmi:type="notation:DecorationNode" xmi:id="_uaKisFIhEeWPz5cwbRdVrg" type="Abstraction_NameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_uaKisVIhEeWPz5cwbRdVrg" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_uaKislIhEeWPz5cwbRdVrg" type="Abstraction_StereotypeLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_uaKis1IhEeWPz5cwbRdVrg" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_uaJ7oVIhEeWPz5cwbRdVrg"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.service.types.uml#_uaIGcFIhEeWPz5cwbRdVrg"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_uaJ7olIhEeWPz5cwbRdVrg" points="[-3, -9, 38, 168]$[-50, -125, -9, 52]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_uakLUFIhEeWPz5cwbRdVrg" id="(0.45248868778280543,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_uakLUVIhEeWPz5cwbRdVrg" id="(0.39800995024875624,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_u1dXkFIhEeWPz5cwbRdVrg" type="Abstraction_Edge" source="_m0Ds8FIhEeWPz5cwbRdVrg" target="_sdqZwFIhEeWPz5cwbRdVrg"> - <children xmi:type="notation:DecorationNode" xmi:id="_u1d-oFIhEeWPz5cwbRdVrg" type="Abstraction_NameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_u1d-oVIhEeWPz5cwbRdVrg" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_u1d-olIhEeWPz5cwbRdVrg" type="Abstraction_StereotypeLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_u1d-o1IhEeWPz5cwbRdVrg" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_u1dXkVIhEeWPz5cwbRdVrg"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.service.types.uml#_u1cJcFIhEeWPz5cwbRdVrg"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_u1dXklIhEeWPz5cwbRdVrg" points="[-45, -30, 245, 168]$[-240, -165, 50, 33]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_u1udUFIhEeWPz5cwbRdVrg" id="(0.3941908713692946,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_u1udUVIhEeWPz5cwbRdVrg" id="(1.0,0.8076923076923077)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_waxvl1IhEeWPz5cwbRdVrg" type="StereotypeCommentLink" source="_uaJ7oFIhEeWPz5cwbRdVrg" target="_waxvk1IhEeWPz5cwbRdVrg"> - <styles xmi:type="notation:FontStyle" xmi:id="_waxvmFIhEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_waxvnFIhEeWPz5cwbRdVrg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.service.types.uml#_uaIGcFIhEeWPz5cwbRdVrg"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_waxvmVIhEeWPz5cwbRdVrg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_waxvmlIhEeWPz5cwbRdVrg"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_waxvm1IhEeWPz5cwbRdVrg"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_xMmOF1IhEeWPz5cwbRdVrg" type="StereotypeCommentLink" source="_u1dXkFIhEeWPz5cwbRdVrg" target="_xMmOE1IhEeWPz5cwbRdVrg"> - <styles xmi:type="notation:FontStyle" xmi:id="_xMmOGFIhEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_xMm1IlIhEeWPz5cwbRdVrg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.service.types.uml#_u1cJcFIhEeWPz5cwbRdVrg"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_xMmOGVIhEeWPz5cwbRdVrg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_xMm1IFIhEeWPz5cwbRdVrg"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_xMm1IVIhEeWPz5cwbRdVrg"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_S_2351MMEeWPz5cwbRdVrg" type="StereotypeCommentLink" source="_S_g5oFMMEeWPz5cwbRdVrg" target="_S_2341MMEeWPz5cwbRdVrg"> - <styles xmi:type="notation:FontStyle" xmi:id="_S_236FMMEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_S_237FMMEeWPz5cwbRdVrg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.service.types.uml#_k3eBYFMGEeWPz5cwbRdVrg"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_S_236VMMEeWPz5cwbRdVrg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_S_236lMMEeWPz5cwbRdVrg"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_S_2361MMEeWPz5cwbRdVrg"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_exf58FMMEeWPz5cwbRdVrg" type="Abstraction_Edge" source="_TsJ9MFMMEeWPz5cwbRdVrg" target="_S_g5oFMMEeWPz5cwbRdVrg"> - <children xmi:type="notation:DecorationNode" xmi:id="_exf581MMEeWPz5cwbRdVrg" type="Abstraction_NameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_exf59FMMEeWPz5cwbRdVrg" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_exf59VMMEeWPz5cwbRdVrg" type="Abstraction_StereotypeLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_exf59lMMEeWPz5cwbRdVrg" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_exf58VMMEeWPz5cwbRdVrg"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.service.types.uml#_exeEwFMMEeWPz5cwbRdVrg"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_exf58lMMEeWPz5cwbRdVrg" points="[-4, -10, -2, 78]$[-4, -65, -2, 23]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ex5ikFMMEeWPz5cwbRdVrg" id="(0.48148148148148145,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ex5ikVMMEeWPz5cwbRdVrg" id="(0.48,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_h1TCJ1MMEeWPz5cwbRdVrg" type="StereotypeCommentLink" source="_exf58FMMEeWPz5cwbRdVrg" target="_h1TCI1MMEeWPz5cwbRdVrg"> - <styles xmi:type="notation:FontStyle" xmi:id="_h1TCKFMMEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_h1TCLFMMEeWPz5cwbRdVrg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.service.types.uml#_exeEwFMMEeWPz5cwbRdVrg"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_h1TCKVMMEeWPz5cwbRdVrg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_h1TCKlMMEeWPz5cwbRdVrg"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_h1TCK1MMEeWPz5cwbRdVrg"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_2ibMxFViEeWPz5cwbRdVrg" type="StereotypeCommentLink" source="_2iNxYFViEeWPz5cwbRdVrg" target="_2ibMwFViEeWPz5cwbRdVrg"> - <styles xmi:type="notation:FontStyle" xmi:id="_2ibMxVViEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_2ibMyVViEeWPz5cwbRdVrg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.service.types.uml#_032hUFViEeWPz5cwbRdVrg"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_2ibMxlViEeWPz5cwbRdVrg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_2ibMx1ViEeWPz5cwbRdVrg"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_2ibMyFViEeWPz5cwbRdVrg"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_3DR3EFViEeWPz5cwbRdVrg" type="Abstraction_Edge" source="_h4P6QFIhEeWPz5cwbRdVrg" target="_2iNxYFViEeWPz5cwbRdVrg"> - <children xmi:type="notation:DecorationNode" xmi:id="_3DR3E1ViEeWPz5cwbRdVrg" type="Abstraction_NameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_3DR3FFViEeWPz5cwbRdVrg" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_3DR3FVViEeWPz5cwbRdVrg" type="Abstraction_StereotypeLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_3DSeIFViEeWPz5cwbRdVrg" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_3DR3EVViEeWPz5cwbRdVrg"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.service.types.uml#_3DQo8FViEeWPz5cwbRdVrg"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_3DR3ElViEeWPz5cwbRdVrg" points="[43, -30, -250, 177]$[280, -210, -13, -3]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_3D1QsFViEeWPz5cwbRdVrg" id="(0.6425339366515838,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_3D13wFViEeWPz5cwbRdVrg" id="(0.0,0.5)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_3ZO48FViEeWPz5cwbRdVrg" type="Abstraction_Edge" source="_m0Ds8FIhEeWPz5cwbRdVrg" target="_2iNxYFViEeWPz5cwbRdVrg"> - <children xmi:type="notation:DecorationNode" xmi:id="_3ZO481ViEeWPz5cwbRdVrg" type="Abstraction_NameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_3ZO49FViEeWPz5cwbRdVrg" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_3ZO49VViEeWPz5cwbRdVrg" type="Abstraction_StereotypeLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_3ZO49lViEeWPz5cwbRdVrg" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_3ZO48VViEeWPz5cwbRdVrg"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.service.types.uml#_3ZNq0FViEeWPz5cwbRdVrg"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_3ZO48lViEeWPz5cwbRdVrg" points="[1, -14, -9, 169]$[15, -131, 5, 52]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_3Z0u0FViEeWPz5cwbRdVrg" id="(0.7925311203319502,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_3Z0u0VViEeWPz5cwbRdVrg" id="(0.52,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_4wwslFViEeWPz5cwbRdVrg" type="StereotypeCommentLink" source="_3ZO48FViEeWPz5cwbRdVrg" target="_4wwskFViEeWPz5cwbRdVrg"> - <styles xmi:type="notation:FontStyle" xmi:id="_4wwslVViEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_4wwsmVViEeWPz5cwbRdVrg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.service.types.uml#_3ZNq0FViEeWPz5cwbRdVrg"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_4wwsllViEeWPz5cwbRdVrg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_4wwsl1ViEeWPz5cwbRdVrg"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_4wwsmFViEeWPz5cwbRdVrg"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_57UbN1ViEeWPz5cwbRdVrg" type="StereotypeCommentLink" source="_3DR3EFViEeWPz5cwbRdVrg" target="_57UbM1ViEeWPz5cwbRdVrg"> - <styles xmi:type="notation:FontStyle" xmi:id="_57UbOFViEeWPz5cwbRdVrg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_57UbPFViEeWPz5cwbRdVrg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.service.types.uml#_3DQo8FViEeWPz5cwbRdVrg"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_57UbOVViEeWPz5cwbRdVrg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_57UbOlViEeWPz5cwbRdVrg"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_57UbO1ViEeWPz5cwbRdVrg"/> - </edges> - </notation:Diagram> -</xmi:XMI>
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/resources/doc/org.eclipse.papyrus.sysml14.service.types.uml b/core/org.eclipse.papyrus.sysml14.service.types/resources/doc/org.eclipse.papyrus.sysml14.service.types.uml deleted file mode 100644 index fc54162..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/resources/doc/org.eclipse.papyrus.sysml14.service.types.uml +++ /dev/null
@@ -1,212 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Requirements="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"> - <uml:Model xmi:id="_2-N-wFFuEeWPz5cwbRdVrg" name="org.eclipse.papyrus.sysml14.service.types"> - <packageImport xmi:type="uml:PackageImport" xmi:id="__cVTMFFxEeWPz5cwbRdVrg"> - <importedPackage xmi:type="uml:Model" href="../../org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml#_d7ALQDqsEeWNg8WvR7UDoQ"/> - </packageImport> - <packagedElement xmi:type="uml:Package" xmi:id="_-ElkgFFuEeWPz5cwbRdVrg" name="requirement"> - <packagedElement xmi:type="uml:Package" xmi:id="_jDs7oFFvEeWPz5cwbRdVrg" name="modelelements"> - <packagedElement xmi:type="uml:Class" xmi:id="_pjr20FFvEeWPz5cwbRdVrg" name="Conform"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_FKM08FFyEeWPz5cwbRdVrg" client="_jDs7oFFvEeWPz5cwbRdVrg"> - <supplier xmi:type="uml:Class" href="../../org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml#_66F9iDq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_k3eBYFMGEeWPz5cwbRdVrg" name="ElementGroup"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_k5pysFMGEeWPz5cwbRdVrg" name="DeriveFrom_REQ-OMG-SYSML14-7.3.2.2 ElementGroup" client="_k3eBYFMGEeWPz5cwbRdVrg"> - <supplier xmi:type="uml:Class" href="../../org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml#_66F9ijq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_032hUFViEeWPz5cwbRdVrg" name="View"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_036ywFViEeWPz5cwbRdVrg" name="DeriveFrom_REQ-OMG-SYSML14-7.3.2.7 View" client="_032hUFViEeWPz5cwbRdVrg"> - <supplier xmi:type="uml:Class" href="../../org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml#_66Gkkzq8EeW79ofuztDyTA"/> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_cIi_sFe3EeWPz5cwbRdVrg" name="blocks"> - <packagedElement xmi:type="uml:Class" xmi:id="_WTFoMFe3EeWPz5cwbRdVrg" name="PropertiesManagments"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_WVYHMFe3EeWPz5cwbRdVrg" name="DeriveFrom_REQ-OMG-SYSML14-8.3.2.3 Block" client="_WTFoMFe3EeWPz5cwbRdVrg"> - <supplier xmi:type="uml:Class" href="../../org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml#_66Jn6Tq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_m2bX8FxHEeW0k6XN8uzkXw" name="AdjunctProperty"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_m68rkFxHEeW0k6XN8uzkXw" name="DeriveFrom_REQ-OMG-SYSML14-8.3.2.1 AdjunctProperty" client="_m2bX8FxHEeW0k6XN8uzkXw"> - <supplier xmi:type="uml:Class" href="../../org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml#_66Jn5Tq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_GTiEwFxYEeWr-Pk75xSDhQ" name="Binding Connector"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_GYcZ8FxYEeWr-Pk75xSDhQ" name="DeriveFrom_REQ-OMG-SYSML14-8.3.2.2 Binding Connector" client="_GTiEwFxYEeWr-Pk75xSDhQ"> - <supplier xmi:type="uml:Class" href="../../org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml#_66Jn5zq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_uwfBgF4VEeWFWaNLeXhgRA" name="Block"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_uwiE0F4VEeWFWaNLeXhgRA" name="DeriveFrom_REQ-OMG-SYSML14-8.3.2.3 Block" client="_uwfBgF4VEeWFWaNLeXhgRA"> - <supplier xmi:type="uml:Class" href="../../org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml#_66Jn6Tq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_Tot9sGwxEeW3aKrkUDyinQ" name="BoundReference"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_TvG5kGwxEeW3aKrkUDyinQ" name="DeriveFrom_REQ-OMG-SYSML14-8.3.2.4 Bound Reference" client="_Tot9sGwxEeW3aKrkUDyinQ"> - <supplier xmi:type="uml:Class" href="../../../org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml#_66Jn6zq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_4petYHcjEeWPQ_Xktcrbyw" name="DirectedRelationshipPropertyPath"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_4xR-gHcjEeWPQ_Xktcrbyw" name="DeriveFrom_REQ-OMG-SYSML14-8.3.2.7 DirectedRelationshipPropertyPath" client="_4petYHcjEeWPQ_Xktcrbyw"> - <supplier xmi:type="uml:Class" href="../../../org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml#_66KO8jq8EeW79ofuztDyTA"/> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_2EYmAJNUEeWdadf1362W_Q" name="ConstraintBlocks"> - <packagedElement xmi:type="uml:Class" xmi:id="_WuV6wJNVEeWdadf1362W_Q" name="Constraint inside Constraint property"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="__9NP0JNVEeWdadf1362W_Q" name="DeriveFrom_REQ-OMG-SYSML14-10.3.1.1.1 Constraint block definition" client="_WuV6wJNVEeWdadf1362W_Q"> - <supplier xmi:type="uml:Class" href="../../../org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml#_66Puhzq8EeW79ofuztDyTA"/> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_vox38JK5EeW2veiEFQH_HQ" name="technical"> - <packagedElement xmi:type="uml:Class" xmi:id="_zCj3MJK5EeW2veiEFQH_HQ" name="Creation of element can imply launch of popup"> - <nestedClassifier xmi:type="uml:Class" xmi:id="_EEFCAJK7EeW7Jfdq1shRhg" name="Actor part"/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_KHU1gJLJEeW7Jfdq1shRhg" name="PropertyValue"/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_cLMDkJLJEeW7Jfdq1shRhg" name="reference"/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_krMVwJLJEeW7Jfdq1shRhg" name="part"/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_oqSBgJLJEeW7Jfdq1shRhg" name=" flowproperty"/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_NZUPoJNWEeWdadf1362W_Q" name="The constraint property can imply to launch a popup"/> - </packagedElement> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_a2u_UFIhEeWPz5cwbRdVrg" name="Design"> - <packagedElement xmi:type="uml:Package" xmi:id="_8eCBMJK7EeW7Jfdq1shRhg" name="org.eclipse.papyrus.sysml14.service.types.advice"> - <ownedComment xmi:type="uml:Comment" xmi:id="_JrdaoGxCEeW3aKrkUDyinQ" annotatedElement="_AmVpMGxCEeW3aKrkUDyinQ"> - <body>NestedConnector are created in this command so the set connectorEnd cannot been created outside the command</body> - </ownedComment> - <packagedElement xmi:type="uml:Class" xmi:id="_8eEdcJK7EeW7Jfdq1shRhg" name="ActorPartEditHelperAdvice"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_-t5yEJK7EeW7Jfdq1shRhg" name="Satisfies_Actor part" client="_8eEdcJK7EeW7Jfdq1shRhg" supplier="_EEFCAJK7EeW7Jfdq1shRhg"/> - <packagedElement xmi:type="uml:Class" xmi:id="_h4NeAFIhEeWPz5cwbRdVrg" name="ConformCreationEditHelperAdvice"/> - <packagedElement xmi:type="uml:Class" xmi:id="_m0DF4FIhEeWPz5cwbRdVrg" name="ConformReorientEditHelperAdvice"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_uaIGcFIhEeWPz5cwbRdVrg" client="_h4NeAFIhEeWPz5cwbRdVrg" supplier="_pjr20FFvEeWPz5cwbRdVrg"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_u1cJcFIhEeWPz5cwbRdVrg" client="_m0DF4FIhEeWPz5cwbRdVrg" supplier="_pjr20FFvEeWPz5cwbRdVrg"/> - <packagedElement xmi:type="uml:Class" xmi:id="_TsIvEFMMEeWPz5cwbRdVrg" name="ElementGroupEditHelperAdvice"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_exeEwFMMEeWPz5cwbRdVrg" client="_TsIvEFMMEeWPz5cwbRdVrg" supplier="_k3eBYFMGEeWPz5cwbRdVrg"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_3DQo8FViEeWPz5cwbRdVrg" client="_h4NeAFIhEeWPz5cwbRdVrg" supplier="_032hUFViEeWPz5cwbRdVrg"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_3ZNq0FViEeWPz5cwbRdVrg" client="_m0DF4FIhEeWPz5cwbRdVrg" supplier="_032hUFViEeWPz5cwbRdVrg"/> - <packagedElement xmi:type="uml:Class" xmi:id="_Nsg-gFe4EeWPz5cwbRdVrg" name="PartCreationEditHelperAdvice"/> - <packagedElement xmi:type="uml:Class" xmi:id="_Sc3vIFe4EeWPz5cwbRdVrg" name="ReferenceCreationEditHelperAdvice"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_Xt3usFe4EeWPz5cwbRdVrg" client="_Nsg-gFe4EeWPz5cwbRdVrg" supplier="_WTFoMFe3EeWPz5cwbRdVrg"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_YGDlMFe4EeWPz5cwbRdVrg" client="_Sc3vIFe4EeWPz5cwbRdVrg" supplier="_WTFoMFe3EeWPz5cwbRdVrg"/> - <packagedElement xmi:type="uml:Class" xmi:id="_W7380F4VEeWFWaNLeXhgRA" name="BindingConnectorEditHelperAdvice"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_dp7wQF4VEeWFWaNLeXhgRA" client="_W7380F4VEeWFWaNLeXhgRA" supplier="_GTiEwFxYEeWr-Pk75xSDhQ"/> - <packagedElement xmi:type="uml:Class" xmi:id="_BpQ7wGE_EeW4GYiHqXalDg" name="ConnectorCreationEditHelperAdvice"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_E5hLkGE_EeW4GYiHqXalDg" client="_BpQ7wGE_EeW4GYiHqXalDg" supplier="_uwfBgF4VEeWFWaNLeXhgRA"/> - <packagedElement xmi:type="uml:Class" xmi:id="_fm-FoGE_EeW4GYiHqXalDg" name="ConnectorReorientEditHelperAdvice"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_jPJGMGE_EeW4GYiHqXalDg" client="_fm-FoGE_EeW4GYiHqXalDg" supplier="_uwfBgF4VEeWFWaNLeXhgRA"/> - <packagedElement xmi:type="uml:Class" xmi:id="_o7OqwGH5EeW4GYiHqXalDg" name="SetEncapsulatedEditHelperAdvice"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_tv8-AGH5EeW4GYiHqXalDg" client="_o7OqwGH5EeW4GYiHqXalDg" supplier="_uwfBgF4VEeWFWaNLeXhgRA"/> - <packagedElement xmi:type="uml:Class" xmi:id="_AmVpMGxCEeW3aKrkUDyinQ" name="SetNestedPathCommand"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_H63mwGxCEeW3aKrkUDyinQ" client="_AmVpMGxCEeW3aKrkUDyinQ" supplier="_Tot9sGwxEeW3aKrkUDyinQ"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_u_-aAGxCEeW3aKrkUDyinQ" client="_AmVpMGxCEeW3aKrkUDyinQ" supplier="_GTiEwFxYEeWr-Pk75xSDhQ"/> - <packagedElement xmi:type="uml:Class" xmi:id="_WTkXsHckEeWPQ_Xktcrbyw" name="DirectedRelationshipPropertyPathEditHelperAdvice"/> - <packagedElement xmi:type="uml:Class" xmi:id="_aW-iwHckEeWPQ_Xktcrbyw" name="ReorientDirectedRelationshipPPEditHelperAdvice"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_hhclYHckEeWPQ_Xktcrbyw" name="Satisfies_DirectedRelationshipPropertyPath" client="_WTkXsHckEeWPQ_Xktcrbyw" supplier="_4petYHcjEeWPQ_Xktcrbyw"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_jpCkAHckEeWPQ_Xktcrbyw" name="Satisfies_DirectedRelationshipPropertyPath" client="_aW-iwHckEeWPQ_Xktcrbyw" supplier="_4petYHcjEeWPQ_Xktcrbyw"/> - <packagedElement xmi:type="uml:Class" xmi:id="_wvIBsJLJEeW7Jfdq1shRhg" name="AfterConfigureCommandEditHelperAdvice"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_zCPT0JLJEeW7Jfdq1shRhg" name="Satisfies_PropertyValue" client="_wvIBsJLJEeW7Jfdq1shRhg" supplier="_KHU1gJLJEeW7Jfdq1shRhg"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_zCTlQJLJEeW7Jfdq1shRhg" name="Satisfies_reference" client="_wvIBsJLJEeW7Jfdq1shRhg" supplier="_cLMDkJLJEeW7Jfdq1shRhg"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_zCWBgJLJEeW7Jfdq1shRhg" name="Satisfies_part" client="_wvIBsJLJEeW7Jfdq1shRhg" supplier="_krMVwJLJEeW7Jfdq1shRhg"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_zCYdwJLJEeW7Jfdq1shRhg" name="Satisfies_ flowproperty" client="_wvIBsJLJEeW7Jfdq1shRhg" supplier="_oqSBgJLJEeW7Jfdq1shRhg"/> - <packagedElement xmi:type="uml:Class" xmi:id="_1ObY8JNVEeWdadf1362W_Q" name="ConstraintCreationEditHelperAdvice"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_2-H08JNVEeWdadf1362W_Q" name="Satisfies_Constraint inside Constraint property" client="_1ObY8JNVEeWdadf1362W_Q" supplier="_WuV6wJNVEeWdadf1362W_Q"/> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="__AKb8FFuEeWPz5cwbRdVrg" name="test"/> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_dzLbgJoSEeeOUvsiG0ZmwQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_dzMpoJoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#/"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_dzNQsJoSEeeOUvsiG0ZmwQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_dzN3wJoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//activities"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Activities"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_dzOe0JoSEeeOUvsiG0ZmwQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_dzPF4JoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//allocations"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Allocations"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_dzPs8JoSEeeOUvsiG0ZmwQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_dzQUAJoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//blocks"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_dzRiIJoSEeeOUvsiG0ZmwQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_dzRiIZoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//constraintblocks"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ConstraintBlocks"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_dzSJMJoSEeeOUvsiG0ZmwQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_dzSwQJoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//deprecatedelements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_DeprecatedElements"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_dzTXUJoSEeeOUvsiG0ZmwQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_dzT-YJoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//modelelements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ModelElements"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_dzUlcJoSEeeOUvsiG0ZmwQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_dzVMgJoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//portsandflows"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_dzVzkJoSEeeOUvsiG0ZmwQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_dzWaoJoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements"/> - </profileApplication> - </uml:Model> - <Requirements:Requirement xmi:id="_pm0DUFFvEeWPz5cwbRdVrg" base_Class="_pjr20FFvEeWPz5cwbRdVrg" id="REQ_001" text="the service edit must implement the following constraints
[1] The general classifier must be an element stereotyped by Viewpoint.
[2] The specific classifier must be an element that is stereotyped by View."/> - <Requirements:DeriveReqt xmi:id="_IpAeIFFyEeWPz5cwbRdVrg" base_Abstraction="_FKM08FFyEeWPz5cwbRdVrg"/> - <Requirements:Satisfy xmi:id="_wapMsFIhEeWPz5cwbRdVrg" base_Abstraction="_uaIGcFIhEeWPz5cwbRdVrg"/> - <Requirements:Satisfy xmi:id="_xMeSQFIhEeWPz5cwbRdVrg" base_Abstraction="_u1cJcFIhEeWPz5cwbRdVrg"/> - <Requirements:Requirement xmi:id="_k5pLoFMGEeWPz5cwbRdVrg" base_Class="_k3eBYFMGEeWPz5cwbRdVrg" id="REQ_002" text="We must update the list of ordered member by taking account the list member.
• /member: Element[0..*]
Set specifying the members of the group.
Derived from Comment::annotatedElement.
• orderedMember: Element[0..*] {ordered, subsets member}
Organize member according to an arbitrary order. Optional.
ElementGroup details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=46"/> - <Requirements:DeriveReqt xmi:id="_k5rn4FMGEeWPz5cwbRdVrg" base_Abstraction="_k5pysFMGEeWPz5cwbRdVrg"/> - <Requirements:Satisfy xmi:id="_h1KfQFMMEeWPz5cwbRdVrg" base_Abstraction="_exeEwFMMEeWPz5cwbRdVrg"/> - <Requirements:Requirement xmi:id="_036LsFViEeWPz5cwbRdVrg" base_Class="_032hUFViEeWPz5cwbRdVrg" id="REQ_003" text="
View details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=48

The service edit must implelement the following constraint:
 A view must only conform to a single viewpoint."/> - <Requirements:DeriveReqt xmi:id="_038A4FViEeWPz5cwbRdVrg" base_Abstraction="_036ywFViEeWPz5cwbRdVrg"/> - <Requirements:Satisfy xmi:id="_4wowwFViEeWPz5cwbRdVrg" base_Abstraction="_3ZNq0FViEeWPz5cwbRdVrg"/> - <Requirements:Satisfy xmi:id="_57MfYFViEeWPz5cwbRdVrg" base_Abstraction="_3DQo8FViEeWPz5cwbRdVrg"/> - <Requirements:Requirement xmi:id="_WVW5EFe3EeWPz5cwbRdVrg" base_Class="_WTFoMFe3EeWPz5cwbRdVrg" id="REQ_004" text="Block details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=70
When a property (part or reference) is created :
- an association must be created
- the property must be typed by a block

when the property is moved , the association must changed
when the type of the property has change, the association has to changed

"/> - <Requirements:DeriveReqt xmi:id="_WVZVUFe3EeWPz5cwbRdVrg" base_Abstraction="_WVYHMFe3EeWPz5cwbRdVrg"/> - <Requirements:Satisfy xmi:id="_ZUmb8Fe4EeWPz5cwbRdVrg" base_Abstraction="_Xt3usFe4EeWPz5cwbRdVrg"/> - <Requirements:Satisfy xmi:id="_aECU0Fe4EeWPz5cwbRdVrg" base_Abstraction="_YGDlMFe4EeWPz5cwbRdVrg"/> - <Requirements:Requirement xmi:id="_m63zEFxHEeW0k6XN8uzkXw" base_Class="_m2bX8FxHEeW0k6XN8uzkXw" id="REQ_005" text="The service edit must compute the name of the adjunct property
comes form the spec :
[2] Properties to which AdjunctProperty applied must have the same name as the principal.
AdjunctProperty details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=68"/> - <Requirements:DeriveReqt xmi:id="_m7AV8FxHEeW0k6XN8uzkXw" base_Abstraction="_m68rkFxHEeW0k6XN8uzkXw"/> - <Requirements:Requirement xmi:id="_GYSo8FxYEeWr-Pk75xSDhQ" base_Class="_GTiEwFxYEeWr-Pk75xSDhQ" id="REQ_006" text="The service etdit must help to type port when it is not typed.
The two ends of a binding connector must have either the same type or types that are compatible so that equality of their
values can be defined.
Binding details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=69"/> - <Requirements:DeriveReqt xmi:id="_GYcZ8VxYEeWr-Pk75xSDhQ" base_Abstraction="_GYcZ8FxYEeWr-Pk75xSDhQ"/> - <Requirements:Satisfy xmi:id="_f3ZtYF4VEeWFWaNLeXhgRA" base_Abstraction="_dp7wQF4VEeWFWaNLeXhgRA"/> - <Requirements:Requirement xmi:id="_uwg2sF4VEeWFWaNLeXhgRA" base_Class="_uwfBgF4VEeWFWaNLeXhgRA" id="REQ_007" text="Block details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=70
the service edit must implement:
isEncapsulated: Boolean [0..1]
If true, then the block is treated as a black box; a part typed by this black box can only be connected via its ports or
directly to its outer boundary. If false, or if a value is not present, then connections can be established to elements of
its internal structure via deep-nested connector ends."/> - <Requirements:DeriveReqt xmi:id="_uwm9UF4VEeWFWaNLeXhgRA" base_Abstraction="_uwiE0F4VEeWFWaNLeXhgRA"/> - <Requirements:Satisfy xmi:id="_GUy2wGE_EeW4GYiHqXalDg" base_Abstraction="_E5hLkGE_EeW4GYiHqXalDg"/> - <Requirements:Satisfy xmi:id="_kVDlYGE_EeW4GYiHqXalDg" base_Abstraction="_jPJGMGE_EeW4GYiHqXalDg"/> - <Requirements:Satisfy xmi:id="_uypxIGH5EeW4GYiHqXalDg" base_Abstraction="_tv8-AGH5EeW4GYiHqXalDg"/> - <Requirements:Requirement xmi:id="_TvAy8GwxEeW3aKrkUDyinQ" base_Class="_Tot9sGwxEeW3aKrkUDyinQ" id="REQ_008" text="Bound Reference details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=78
service type must implements
boundEnd : ConnectorEnd [1]
Gives a connector end of a binding connector opposite to the end linked to the stereotyped property, or linked to
property that generalizes the stereotyped one through redefinition."/> - <Requirements:DeriveReqt xmi:id="_TvNAMGwxEeW3aKrkUDyinQ" base_Abstraction="_TvG5kGwxEeW3aKrkUDyinQ"/> - <Requirements:Satisfy xmi:id="_JPHc4GxCEeW3aKrkUDyinQ" base_Abstraction="_H63mwGxCEeW3aKrkUDyinQ"/> - <Requirements:Satisfy xmi:id="_wTyLQGxCEeW3aKrkUDyinQ" base_Abstraction="_u_-aAGxCEeW3aKrkUDyinQ"/> - <Requirements:Requirement xmi:id="_4xKpwHcjEeWPQ_Xktcrbyw" base_Class="_4petYHcjEeWPQ_Xktcrbyw" id="REQ_009" text="the service edit must implment:
sourcePropertyPath: Property [0..*] {ordered, nonunique}
A series of properties that identifies the source of the directed relationship in the context of the block specified by the
sourceContext property. The ordering of properties is from a property of the sourceContext block, through a property
of each intermediate block that types the preceding property, ending in a property with a type that owns or inherits the
source of the directed relationship. The source is not included in the propertyPath list. The same property might
appear more than once because a block can own a property with the same or specialized block as a type.
• targetPropertyPath: Property [0..*] {ordered, nonunique}
A series of properties that identifies the target of the directed relationship in the context of the block specified by the
targetContext property. The ordering of properties is from a property of the targetContext block, through a property of
each intermediate block that types the preceding property, ending in a property with a type that owns or inherits the
target of the directed relationship. The target is not included in the propertyPath list. The same property might appear
more than once because a block can own a property with the same or specialized block as a type.
• sourceContext: Classifier [0.1]
Gives the context for sourcePropertyPath to begin from.
• targetContext: Classifier [0.1]
Gives the context for targetPropertyPath to begin from.
DirectedRelationshipPropertyPath details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=80"/> - <Requirements:DeriveReqt xmi:id="_4xXeEHcjEeWPQ_Xktcrbyw" base_Abstraction="_4xR-gHcjEeWPQ_Xktcrbyw"/> - <Requirements:Satisfy xmi:id="_hhgPwHckEeWPQ_Xktcrbyw" base_Abstraction="_hhclYHckEeWPQ_Xktcrbyw"/> - <Requirements:Satisfy xmi:id="_jpFAQHckEeWPQ_Xktcrbyw" base_Abstraction="_jpCkAHckEeWPQ_Xktcrbyw"/> - <Requirements:Requirement xmi:id="_zCm6gJK5EeW2veiEFQH_HQ" base_Class="_zCj3MJK5EeW2veiEFQH_HQ" id="req_010" text="The creation of element can imply launch of popup.
For example, the creation of a part implies the choice about the type"/> - <Requirements:Requirement xmi:id="_EK8fAJK7EeW7Jfdq1shRhg" base_Class="_EEFCAJK7EeW7Jfdq1shRhg" id="req_010_001" text="The actorpart value can imply to launch a popup"/> - <Requirements:Satisfy xmi:id="_-t9ccJK7EeW7Jfdq1shRhg" base_Abstraction="_-t5yEJK7EeW7Jfdq1shRhg"/> - <Requirements:Requirement xmi:id="_KHbjMJLJEeW7Jfdq1shRhg" base_Class="_KHU1gJLJEeW7Jfdq1shRhg" id="req_010_002" text="The property value can imply to launch a popup"/> - <Requirements:Requirement xmi:id="_cLPG4JLJEeW7Jfdq1shRhg" base_Class="_cLMDkJLJEeW7Jfdq1shRhg" id="req_010_003" text="The reference can imply to launch a popup"/> - <Requirements:Requirement xmi:id="_krPZEJLJEeW7Jfdq1shRhg" base_Class="_krMVwJLJEeW7Jfdq1shRhg" id="req_010_004" text="The part can imply to launch a popup"/> - <Requirements:Requirement xmi:id="_oqT2sJLJEeW7Jfdq1shRhg" base_Class="_oqSBgJLJEeW7Jfdq1shRhg" id="req_010_005" text="The flowproperty value can imply to launch a popup"/> - <Requirements:Satisfy xmi:id="_zCRwEJLJEeW7Jfdq1shRhg" base_Abstraction="_zCPT0JLJEeW7Jfdq1shRhg"/> - <Requirements:Satisfy xmi:id="_zCUzYJLJEeW7Jfdq1shRhg" base_Abstraction="_zCTlQJLJEeW7Jfdq1shRhg"/> - <Requirements:Satisfy xmi:id="_zCXPoJLJEeW7Jfdq1shRhg" base_Abstraction="_zCWBgJLJEeW7Jfdq1shRhg"/> - <Requirements:Satisfy xmi:id="_zCZr4JLJEeW7Jfdq1shRhg" base_Abstraction="_zCYdwJLJEeW7Jfdq1shRhg"/> - <Requirements:Requirement xmi:id="_Wx0FgJNVEeWdadf1362W_Q" base_Class="_WuV6wJNVEeWdadf1362W_Q" id="req011" text="When we create a constraint inside constraint property, the constraint must be created inside the type of the constraint property"/> - <Requirements:Satisfy xmi:id="_2-KRMJNVEeWdadf1362W_Q" base_Abstraction="_2-H08JNVEeWdadf1362W_Q"/> - <Requirements:DeriveReqt xmi:id="__9PsEJNVEeWdadf1362W_Q" base_Abstraction="__9NP0JNVEeWdadf1362W_Q"/> - <Requirements:Requirement xmi:id="_NZaWQJNWEeWdadf1362W_Q" base_Class="_NZUPoJNWEeWdadf1362W_Q" id="req_010_006" text="The constraint property can imply to launch a popup"/> -</xmi:XMI>
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/Activator.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/Activator.java deleted file mode 100644 index 4061fc4..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/Activator.java +++ /dev/null
@@ -1,25 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types; - -import org.eclipse.core.runtime.Plugin; - -/** - * The activator class controls the plug-in life cycle - */ -public class Activator extends Plugin { - - // The plug-in ID - public static final String PLUGIN_ID = "org.eclipse.papyrus.sysml14.service.types"; //$NON-NLS-1$ - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ActorPartEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ActorPartEditHelperAdvice.java deleted file mode 100644 index 53dc13a..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ActorPartEditHelperAdvice.java +++ /dev/null
@@ -1,50 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.advice; - -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; -import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; - -/** - * The creation of element can imply launch of popup. - * - * It must be possible to let the possibility to add a popup to create actor Part - * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml14.service.types#req_010_001} - * - * - */ -public class ActorPartEditHelperAdvice extends AbstractEditHelperAdvice { - - - /** - * Parameter id used to pass the command for setting the type of the property - */ - public static final String SET_ACTOR_ICOMMAND = "SET_ACTOR_ICOMMAND"; //$NON-NLS-1$ - - - /** - * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getAfterConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest) - * - * @param request - * @return - */ - @Override - protected ICommand getAfterConfigureCommand(ConfigureRequest request) { - Object parameter = request.getParameter(SET_ACTOR_ICOMMAND); - - if (parameter instanceof ICommand) { - return (ICommand) parameter; - } - return super.getAfterConfigureCommand(request); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/AfterConfigureCommandEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/AfterConfigureCommandEditHelperAdvice.java deleted file mode 100644 index 71a2d83..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/AfterConfigureCommandEditHelperAdvice.java +++ /dev/null
@@ -1,56 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.advice; - -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; -import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; - -/** - * The EditHelperAdvice class used for: - * The property value can imply to launch a popup - * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml14.service.types#req_010_002} - * - * The reference can imply to launch a popup - * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml14.service.types#req_010_003} - * - * The part can imply to launch a popup - * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml14.service.types#req_010_004} - * - * The flowproperty value can imply to launch a popup - * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml14.service.types#req_010_005} - */ -public class AfterConfigureCommandEditHelperAdvice extends AbstractEditHelperAdvice { - - - /** - * Parameter id used to pass the command for setting the type of the property - */ - public static final String AFTER_CONFIGURE_COMMAND = "AFTER_CONFIGURE_COMMAND"; //$NON-NLS-1$ - - - /** - * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getAfterConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest) - * - * @param request - * @return - */ - @Override - protected ICommand getAfterConfigureCommand(ConfigureRequest request) { - Object parameter = request.getParameter(AFTER_CONFIGURE_COMMAND); - - if (parameter instanceof ICommand) { - return (ICommand) parameter; - } - return super.getAfterConfigureCommand(request); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ConformCreationEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ConformCreationEditHelperAdvice.java deleted file mode 100644 index 5b67161..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ConformCreationEditHelperAdvice.java +++ /dev/null
@@ -1,121 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Patrick Tessier (CEA LIST) - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.service.types.advice; - -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Iterator; -import java.util.List; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; -import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; -import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest; -import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest; -import org.eclipse.papyrus.sysml14.modelelements.Conform; -import org.eclipse.papyrus.sysml14.modelelements.View; -import org.eclipse.papyrus.sysml14.modelelements.Viewpoint; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.Generalization; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * 7.3.2.1 Conform - * the service edit must implement the following constraints - * [1] The general classifier must be an element stereotyped by Viewpoint. - * [2] The specific classifier must be an element that is stereotyped by View. - * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml14.service.types#Req_001} - * - *7.3.2.7 View - *[1] A view must only conform to a single viewpoint. - * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml14.service.types#Req_003} - * - */ -public class ConformCreationEditHelperAdvice extends AbstractEditHelperAdvice { - - /** - * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#approveRequest(org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest) - * - * @param request - * @return - */ - @Override - public boolean approveRequest(IEditCommandRequest request) { - //only CreateRelationshipRequest are interested for conform - if(request instanceof CreateRelationshipRequest){ - CreateRelationshipRequest createRelationshipRequest=(CreateRelationshipRequest)request; - //only elementType conform are interested for conform - IElementType elementType=createRelationshipRequest.getElementType(); - if (elementType instanceof ISpecializationType){ - List<IElementType> elementTypesHierarchy= new ArrayList<>(); - elementTypesHierarchy.add(elementType); - ISpecializationType iSpecializationType=(ISpecializationType)elementType; - elementTypesHierarchy.addAll(Arrays.asList(iSpecializationType.getAllSuperTypes())); - if(elementTypesHierarchy.contains(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_CONFORM))){ - return approveCreateRelationshipRequest(createRelationshipRequest); - } - } - } - return super.approveRequest(request); - } - - /** - * is the createRelationshipRequest on Conform (or one sub specialization is approved) - * @param createRelationshipRequest - * @return - */ - private boolean approveCreateRelationshipRequest(CreateRelationshipRequest createRelationshipRequest) { - //test source - EObject source = createRelationshipRequest.getSource(); - if (!(source instanceof Classifier)){ - return false; - } - else{ - // this is a view, but has it a conform link? - Conform conformLink=null; - Classifier viewBaseClass= (Classifier)source; - // Find Conform link - EList<Generalization> generalizations = viewBaseClass.getGeneralizations(); - if (generalizations != null) { - Iterator<Generalization> itGen = generalizations.iterator(); - while (itGen.hasNext() && (conformLink == null)) { - conformLink = UMLUtil.getStereotypeApplication(itGen.next(), Conform.class); - } - } - //Test to verify if the view has already a conform link. - if(conformLink!=null){ - return false; - } - } - //the source is ok - if( UMLUtil.getStereotypeApplication((Classifier)source, View.class)==null){ - return false; - } - - //test target - EObject target = createRelationshipRequest.getTarget(); - if(target==null){ - return true; - } - if (!(target instanceof Classifier)){ - return false; - } - return UMLUtil.getStereotypeApplication((Classifier)target, Viewpoint.class)!=null; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ConformReorientEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ConformReorientEditHelperAdvice.java deleted file mode 100644 index f45b0e0..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ConformReorientEditHelperAdvice.java +++ /dev/null
@@ -1,87 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Patrick Tessier (CEA LIST) - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.advice; - -import java.util.Iterator; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; -import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest; -import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; -import org.eclipse.papyrus.sysml14.modelelements.Conform; -import org.eclipse.papyrus.sysml14.modelelements.View; -import org.eclipse.papyrus.sysml14.modelelements.Viewpoint; -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.Generalization; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * 7.3.2.1 Conform - * the service edit must implement the following constraints - * [1] The general classifier must be an element stereotyped by Viewpoint. - * [2] The specific classifier must be an element that is stereotyped by View. - * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml14.service.types#Req_001} - * - * 7.3.2.7 View - *A view must only conform to a single viewpoint. - *this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml14.service.types#Req_003} - * - */ -public class ConformReorientEditHelperAdvice extends AbstractEditHelperAdvice { - - /** - * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#approveRequest(org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest) - * - * @param request - * @return - */ - @Override - public boolean approveRequest(IEditCommandRequest request) { - if(!(request instanceof ReorientRelationshipRequest)){ - return super.approveRequest(request); - } - ReorientRelationshipRequest reorientRelationshipRequest= (ReorientRelationshipRequest) request; - EObject newRelationshipEnd = reorientRelationshipRequest.getNewRelationshipEnd(); - if (!(newRelationshipEnd instanceof Classifier)){ - return false; - } - - Classifier newRelationshipEndClassifier = (Classifier) newRelationshipEnd ; - //SOURCE - if(ReorientRelationshipRequest.REORIENT_SOURCE==reorientRelationshipRequest.getDirection()){ - if( UMLUtil.getStereotypeApplication(newRelationshipEndClassifier, View.class)!=null){ - // this is a view, but has it a conform link? - Conform conformLink=null; - // Find Conform link - EList<Generalization> generalizations = newRelationshipEndClassifier.getGeneralizations(); - if (generalizations != null) { - Iterator<Generalization> itGen = generalizations.iterator(); - while (itGen.hasNext() && (conformLink == null)) { - conformLink = UMLUtil.getStereotypeApplication(itGen.next(), Conform.class); - } - } - //Test to verify if the view has already a conform link. - if(conformLink!=null){ - return false; - } - return true; - } - }else{//TARGET - if( UMLUtil.getStereotypeApplication(newRelationshipEndClassifier, Viewpoint.class)!=null){ - return true; - } - } - return false; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ConnectorCreationEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ConnectorCreationEditHelperAdvice.java deleted file mode 100644 index b770ba9..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ConnectorCreationEditHelperAdvice.java +++ /dev/null
@@ -1,155 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.advice; - -import java.util.Arrays; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.common.core.command.UnexecutableCommand; -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; -import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; -import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.papyrus.sysml14.service.types.command.UpdateNestedPathConnectorEnd; -import org.eclipse.papyrus.sysml14.service.types.util.ConnectorUtil; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.papyrus.sysml14.service.types.util.UMLConnectorUtils; -import org.eclipse.papyrus.uml.service.types.element.UMLElementTypes; -import org.eclipse.papyrus.uml.service.types.utils.RequestParameterUtils; -import org.eclipse.uml2.uml.ConnectableElement; - -/** - * 8.3.2.3 Block - * the service edit must implement the following constraints - * isEncapsulated: Boolean [0..1] - * If true, then the block is treated as a black box; a part typed by this black box can only be connected via its ports or - * directly to its outer boundary. If false, or if a value is not present, then connections can be established to elements of - * its internal structure via deep-nested connector ends. - * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml14.service.types#Req_007} - * - */ -public class ConnectorCreationEditHelperAdvice extends AbstractEditHelperAdvice { - - private UMLConnectorUtils utils = new UMLConnectorUtils(); - - /** - * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getBeforeCreateRelationshipCommand(org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest) - * - * @param request - * @return - */ - @Override - protected ICommand getBeforeCreateRelationshipCommand(CreateRelationshipRequest request) { - - EObject source = request.getSource(); - EObject target = request.getTarget(); - EObject container = request.getContainer(); - View sourceView = RequestParameterUtils.getSourceView(request); - View targetView = RequestParameterUtils.getTargetView(request); - - // Restrict this advice action to the end of Connector creation gesture (before clicking on target) - // in order to add SysML specific constraint - if ((Arrays.asList(request.getElementType().getAllSuperTypes()).contains(UMLElementTypes.CONNECTOR)) - && (source != null) && (target != null) && (container != null)) { - - // Restrict action to SysML Connector (meaning owned by Block) - if (((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_BLOCK)).getMatcher().matches(container) - || ((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_CONSTRAINTBLOCK)).getMatcher().matches(container)) { - // If the source or target view is enclosed in a structure encapsulated view, forbid creation. - if (ConnectorUtil.isCrossingEncapsulation(sourceView, targetView) - || ConnectorUtil.isCrossingEncapsulation(targetView, sourceView)) { - return UnexecutableCommand.INSTANCE; - } - if (canCreate(source, target, sourceView, targetView)) { - request.setParameter(org.eclipse.papyrus.uml.service.types.utils.RequestParameterConstants.UML_STRICT, false); - } - } - } - return super.getBeforeCreateRelationshipCommand(request); - } - - /** - * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getAfterCreateRelationshipCommand(org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest) - * - * @param request - * @return - */ - @Override - protected ICommand getAfterCreateRelationshipCommand(CreateRelationshipRequest request) { - - ICommand defaultCommand = super.getAfterCreateRelationshipCommand(request); - - EObject container = request.getContainer(); - View sourceView = RequestParameterUtils.getSourceView(request); - View targetView = RequestParameterUtils.getTargetView(request); - - // Restrict this advice action to the end of Connector creation gesture (before clicking on target) - // in order to add SysML specific constraint - if ((Arrays.asList(request.getElementType().getAllSuperTypes()).contains(UMLElementTypes.CONNECTOR)) - && (request.getSource() != null) && (request.getTarget() != null) && (container != null)) { - // Restrict action to SysML Connector (meaning owned by Block) - if (((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_BLOCK)).getMatcher().matches(container) - || ((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_CONSTRAINTBLOCK)).getMatcher().matches(container)) { - UpdateNestedPathConnectorEnd updateNestedPathConnectorEndSource = new UpdateNestedPathConnectorEnd("UpdateNestedPathConnectorEnd Source", sourceView, request, true); - defaultCommand = CompositeCommand.compose(defaultCommand, updateNestedPathConnectorEndSource); - UpdateNestedPathConnectorEnd updateNestedPathConnectorEndTarget = new UpdateNestedPathConnectorEnd("UpdateNestedPathConnectorEnd Target", targetView, request, false); - defaultCommand = CompositeCommand.compose(defaultCommand, updateNestedPathConnectorEndTarget); - } - } - - return defaultCommand; - } - - /** - * Test if the relationship creation is allowed. - * - * @param source - * the relationship source can be null - * @param target - * the relationship target can be null - * @param sourceView - * the relationship graphical source can be null - * @param targetView - * the relationship graphical target can be null - * @return true if the creation is allowed - */ - //FIXME test creation should be done in approve request - private boolean canCreate(EObject source, EObject target, View sourceView, View targetView) { - - if ((source != null) && !(source instanceof ConnectableElement)) { - return false; - } - - if ((target != null) && !(target instanceof ConnectableElement)) { - return false; - } - - if ((sourceView != null) && (targetView != null)) { - // Cannot create a connector from a view representing a Part to its own Port (or the opposite) - if ((sourceView.getChildren().contains(targetView)) || (targetView.getChildren().contains(sourceView))) { - return false; - } - - // Cannot connect a Part to one of its (possibly indirect) containment, must connect to one of its Port. - if (utils.getStructureContainers(sourceView).contains(targetView) || utils.getStructureContainers(targetView).contains(sourceView)) { - return false; - } - } - return true; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ConnectorPropertyEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ConnectorPropertyEditHelperAdvice.java deleted file mode 100644 index ed2a7c1..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ConnectorPropertyEditHelperAdvice.java +++ /dev/null
@@ -1,42 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.advice; - -import org.eclipse.core.commands.ExecutionException; -import org.eclipse.core.runtime.IAdaptable; -import org.eclipse.core.runtime.IProgressMonitor; -import org.eclipse.gmf.runtime.common.core.command.CommandResult; -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.emf.type.core.commands.ConfigureElementCommand; -import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; -import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; -import org.eclipse.uml2.uml.AggregationKind; -import org.eclipse.uml2.uml.Property; - -/** - * The EditHelperAdvice class used for ConnectorProperty - * [3]The aggregation of a property stereotyped by ConnectorProperty must be composite. - */ -public class ConnectorPropertyEditHelperAdvice extends AbstractEditHelperAdvice { - - @Override - protected ICommand getBeforeConfigureCommand(ConfigureRequest request) { - final Property property = (Property) request.getElementToConfigure(); - return new ConfigureElementCommand(request) { - @Override - protected CommandResult doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info) throws ExecutionException { - property.setAggregation(AggregationKind.COMPOSITE_LITERAL); - return CommandResult.newOKCommandResult(property); - } - }; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ConnectorReorientEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ConnectorReorientEditHelperAdvice.java deleted file mode 100644 index a1b895f..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ConnectorReorientEditHelperAdvice.java +++ /dev/null
@@ -1,99 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * - * CEA LIST - Initial API and implementation - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - 510133 - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.advice; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; -import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; -import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; -import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; -import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRequest; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.papyrus.sysml14.service.types.command.UpdateNestedPathConnectorEnd; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.papyrus.uml.service.types.utils.RequestParameterUtils; -import org.eclipse.uml2.uml.Connector; - -/** - * 8.3.2.3 Block - * the service edit must implement the following constraints - * isEncapsulated: Boolean [0..1] - * If true, then the block is treated as a black box; a part typed by this black box can only be connected via its ports or - * directly to its outer boundary. If false, or if a value is not present, then connections can be established to elements of - * its internal structure via deep-nested connector ends. - * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml14.service.types#Req_007} - * - */ -public class ConnectorReorientEditHelperAdvice extends AbstractEditHelperAdvice { - - /** - * Update the nested path from the NestedConnectorEnd stereotype - * ( Remove the stereotype if the new nested path is empty) - * - * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getAfterReorientRelationshipCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest) - * - * @param request - * @return - */ - @Override - protected ICommand getAfterReorientRelationshipCommand(final ReorientRelationshipRequest request) { - ICommand defaultCommand = super.getAfterReorientRelationshipCommand(request); - Connector connector = (Connector) request.getRelationship(); - // Restrict action to SysML Connector (meaning owned by Block) - EObject eContainer = connector.eContainer(); - if (((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_BLOCK)).getMatcher().matches(eContainer) - || ((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_CONSTRAINTBLOCK)).getMatcher().matches(eContainer)) { - View reconnectedEndView = RequestParameterUtils.getReconnectedEndView(request); - if (reconnectedEndView != null) { - boolean isSourceReorientation = request.getDirection() == ReorientRequest.REORIENT_SOURCE; - UpdateNestedPathConnectorEnd updateNestedPathConnectorEndSource = new UpdateNestedPathConnectorEnd("UpdateNestedPathConnectorEnd Reconnected End", reconnectedEndView, request, isSourceReorientation); - defaultCommand = CompositeCommand.compose(defaultCommand, updateNestedPathConnectorEndSource); - } - } - return defaultCommand; - } - - /** - * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getAfterConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest) - * After a re-configuration update the NestedPathConnectorEnd - * @param request - * @return - */ - @Override - protected ICommand getAfterConfigureCommand(ConfigureRequest request) { - ICommand defaultCommand = super.getAfterConfigureCommand(request); - View sourceView = RequestParameterUtils.getSourceView(request); - View targetView = RequestParameterUtils.getTargetView(request); - if (request.getElementToConfigure() instanceof Connector) { - Connector connector = (Connector) request.getElementToConfigure(); - EObject eContainer = connector.eContainer(); - if (((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_BLOCK)).getMatcher().matches(eContainer) - || ((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_CONSTRAINTBLOCK)).getMatcher().matches(eContainer)) { - if (sourceView != null) { - UpdateNestedPathConnectorEnd updateNestedPathConnectorEndSource = new UpdateNestedPathConnectorEnd("UpdateNestedPathConnectorEnd Source", sourceView, request, true); - defaultCommand = CompositeCommand.compose(defaultCommand, updateNestedPathConnectorEndSource); - } - if (targetView != null) { - UpdateNestedPathConnectorEnd updateNestedPathConnectorEndTarget = new UpdateNestedPathConnectorEnd("UpdateNestedPathConnectorEnd Target", targetView, request, false); - defaultCommand = CompositeCommand.compose(defaultCommand, updateNestedPathConnectorEndTarget); - } - } - } - return defaultCommand; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ConstraintCreationEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ConstraintCreationEditHelperAdvice.java deleted file mode 100644 index 88327f4..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ConstraintCreationEditHelperAdvice.java +++ /dev/null
@@ -1,64 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.service.types.advice; - -import java.util.Arrays; - -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; -import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; -import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest; -import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.papyrus.uml.service.types.element.UMLElementTypes; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.UMLPackage; - -/** - * This advice is used to redirect creation of constraint inside a property to the type of the property - * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml14.service.types#Req_011} - * - */ -public class ConstraintCreationEditHelperAdvice extends AbstractEditHelperAdvice { - /** - * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#configureRequest(org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest) - * - * @param request - */ - @Override - public void configureRequest(IEditCommandRequest request) { - if (request instanceof CreateElementRequest) { - // check the element to create is a sub kind of UML Constraint - CreateElementRequest createElementRequest = (CreateElementRequest) request; - if (Arrays.asList(createElementRequest.getElementType().getAllSuperTypes()).contains(UMLElementTypes.CONSTRAINT)) { - // check the container as Constraint Block property - if (((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_CONSTRAINTPROPERTY)).getMatcher().matches(createElementRequest.getContainer())) { - if (createElementRequest.getContainer() instanceof Property) { - // this line is very important - // change the context ok, but the feature must be change in order to create a port inside the class - createElementRequest.setContainmentFeature(UMLPackage.eINSTANCE.getNamespace_OwnedRule()); - Property p = (Property) createElementRequest.getContainer(); - if (p.getType() != null) { - createElementRequest.setContainer(p.getType()); - } - - } - } - } - } - - super.configureRequest(request); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ConstraintPropertyEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ConstraintPropertyEditHelperAdvice.java deleted file mode 100644 index 7f7e546..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ConstraintPropertyEditHelperAdvice.java +++ /dev/null
@@ -1,47 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.advice; - -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; -import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; - -/** - * The EditHelperAdvice class used for ConstraintProperty - * Get the command from graphical element type to type the property by a constraint block - * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml14.service.types#Req_010_006} - */ -public class ConstraintPropertyEditHelperAdvice extends AbstractEditHelperAdvice { - - - /** - * Parameter id used to pass the command for setting the type of the property - */ - public static final String SET_CONSTRAINT_ICOMMAND = "SET_CONSTRAINT_ICOMMAND"; //$NON-NLS-1$ - - - /** - * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getAfterConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest) - * - * @param request - * @return - */ - @Override - protected ICommand getAfterConfigureCommand(ConfigureRequest request) { - Object parameter = request.getParameter(SET_CONSTRAINT_ICOMMAND); - - if (parameter instanceof ICommand) { - return (ICommand) parameter; - } - return super.getAfterConfigureCommand(request); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/DeriveReqtClientEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/DeriveReqtClientEditHelperAdvice.java deleted file mode 100755 index 3596462..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/DeriveReqtClientEditHelperAdvice.java +++ /dev/null
@@ -1,89 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Patrick Tessier (CEA LIST) - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.service.types.advice; - -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; -import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; -import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest; -import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest; -import org.eclipse.papyrus.sysml14.requirements.Requirement; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * 16.3.2.2 DeriveReqt (SysML 1.4) - * Constraints - * [2] The client must be an element stereotyped by «requirement» or one of «requirement» subtypes. - * - */ -public class DeriveReqtClientEditHelperAdvice extends AbstractEditHelperAdvice { - - /** - * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#approveRequest(org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest) - * - * @param request - * @return - */ - @Override - public boolean approveRequest(IEditCommandRequest request) { - // only CreateRelationshipRequest are interested for conform - if (request instanceof CreateRelationshipRequest) { - CreateRelationshipRequest createRelationshipRequest = (CreateRelationshipRequest) request; - // only elementType conform are interested for conform - IElementType elementType = createRelationshipRequest.getElementType(); - if (elementType instanceof ISpecializationType) { - if (isSpecializationof((ISpecializationType) elementType, SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_DERIVEREQT_ABSTRACTION) || - isSpecializationof((ISpecializationType) elementType, SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_DERIVEREQT_DIRECTEDRELATIONSHIP)) { - return approveCreateRelationshipRequest(createRelationshipRequest); - } - } - } - return super.approveRequest(request); - } - - /** - * Client (source) of the createRelationshipRequest should be a requirement - * - * @param createRelationshipRequest - * @return - */ - private boolean approveCreateRelationshipRequest(CreateRelationshipRequest createRelationshipRequest) { - EObject source = createRelationshipRequest.getSource(); - return (source instanceof Classifier) && UMLUtil.getStereotypeApplication((Classifier) source, Requirement.class) != null; - } - - /** - * Check if iSpecializationType is a specialization of elementTypeId - * - * @param iSpecializationType - * @param elementTypeId - * @return - */ - // FIXME : this utility should be provided by the elementType API - private boolean isSpecializationof(ISpecializationType iSpecializationType, String elementTypeId) { - List<IElementType> elementTypesHierarchy = new ArrayList<>(); - elementTypesHierarchy.add(iSpecializationType); - elementTypesHierarchy.addAll(Arrays.asList(iSpecializationType.getAllSuperTypes())); - return elementTypesHierarchy.contains(ElementTypeRegistry.getInstance().getType(elementTypeId)); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/DeriveReqtSupplierEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/DeriveReqtSupplierEditHelperAdvice.java deleted file mode 100755 index d79bcd7..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/DeriveReqtSupplierEditHelperAdvice.java +++ /dev/null
@@ -1,88 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Patrick Tessier (CEA LIST) - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.service.types.advice; - -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; -import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; -import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest; -import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest; -import org.eclipse.papyrus.sysml14.requirements.Requirement; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * 16.3.2.2 DeriveReqt (SysML 1.4) - * Constraints - * [1] The supplier must be an element stereotyped by «requirement» or one of «requirement» subtypes. - */ -public class DeriveReqtSupplierEditHelperAdvice extends AbstractEditHelperAdvice { - - /** - * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#approveRequest(org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest) - * - * @param request - * @return - */ - @Override - public boolean approveRequest(IEditCommandRequest request) { - // only CreateRelationshipRequest are interested for conform - if (request instanceof CreateRelationshipRequest) { - CreateRelationshipRequest createRelationshipRequest = (CreateRelationshipRequest) request; - // only elementType conform are interested for conform - IElementType elementType = createRelationshipRequest.getElementType(); - if (elementType instanceof ISpecializationType) { - if (isSpecializationof((ISpecializationType) elementType, SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_DERIVEREQT_ABSTRACTION) || - isSpecializationof((ISpecializationType) elementType, SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_DERIVEREQT_DIRECTEDRELATIONSHIP)) { - return approveCreateRelationshipRequest(createRelationshipRequest); - } - } - } - return super.approveRequest(request); - } - - /** - * supplier (target) of the createRelationshipRequest should be a requirement - * - * @param createRelationshipRequest - * @return - */ - private boolean approveCreateRelationshipRequest(CreateRelationshipRequest createRelationshipRequest) { - EObject target = createRelationshipRequest.getTarget(); - return (target instanceof Classifier) && UMLUtil.getStereotypeApplication((Classifier) target, Requirement.class) != null; - } - - /** - * Check if iSpecializationType is a specialization of elementTypeId - * - * @param iSpecializationType - * @param elementTypeId - * @return - */ - // FIXME : this utility should be provided by the elementType API - private boolean isSpecializationof(ISpecializationType iSpecializationType, String elementTypeId) { - List<IElementType> elementTypesHierarchy = new ArrayList<>(); - elementTypesHierarchy.add(iSpecializationType); - elementTypesHierarchy.addAll(Arrays.asList(iSpecializationType.getAllSuperTypes())); - return elementTypesHierarchy.contains(ElementTypeRegistry.getInstance().getType(elementTypeId)); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/DirectedRelationshipPropertyPathEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/DirectedRelationshipPropertyPathEditHelperAdvice.java deleted file mode 100644 index 432ed10..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/DirectedRelationshipPropertyPathEditHelperAdvice.java +++ /dev/null
@@ -1,96 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * - * CEA LIST - Initial API and implementation - * Benoit Maggi - #492564 Fix NPE - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.advice; - -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; - -import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; -import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; -import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.papyrus.sysml14.service.types.command.SetDirectedRelationshipPropertyPathCommand; -import org.eclipse.papyrus.sysml14.service.types.command.wrapper.EMFToCreateElementEditCommandWrapper; -import org.eclipse.papyrus.sysml14.service.types.command.wrapper.EMFToIEditCommandWrapper; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.papyrus.uml.service.types.utils.RequestParameterUtils; -import org.eclipse.uml2.uml.Property; - -/** - * 8.3.2.7 DirectedRelationshipPropertyPath - * sourcePropertyPath: Property [0..*] {ordered, nonunique} - * A series of properties that identifies the source of the directed relationship in the context of the block specified by the - * sourceContext property. The ordering of properties is from a property of the sourceContext block, through a property - * of each intermediate block that types the preceding property, ending in a property with a type that owns or inherits the - * source of the directed relationship. The source is not included in the propertyPath list. The same property might - * appear more than once because a block can own a property with the same or specialized block as a type. - * • targetPropertyPath: Property [0..*] {ordered, nonunique} - * A series of properties that identifies the target of the directed relationship in the context of the block specified by the - * targetContext property. The ordering of properties is from a property of the targetContext block, through a property of - * each intermediate block that types the preceding property, ending in a property with a type that owns or inherits the - * target of the directed relationship. The target is not included in the propertyPath list. The same property might appear - * more than once because a block can own a property with the same or specialized block as a type. - * • sourceContext: Classifier [0.1] - * Gives the context for sourcePropertyPath to begin from. - * • targetContext: Classifier [0.1] - * Gives the context for targetPropertyPath to begin from. - * - */ -public class DirectedRelationshipPropertyPathEditHelperAdvice extends AbstractEditHelperAdvice { - - /** - * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getAfterCreateRelationshipCommand(org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest) - * - * @param request - * @return - */ - @Override - protected ICommand getAfterCreateRelationshipCommand(CreateRelationshipRequest request) { - - ICommand defaultCommand = super.getAfterCreateRelationshipCommand(request); - View sourceView = RequestParameterUtils.getSourceView(request); - View targetView = RequestParameterUtils.getTargetView(request); - if (request.getElementType() instanceof ISpecializationType) { - // get all specializations from elementTypes - List<IElementType> elementTypesHierarchy = new ArrayList<>(); - elementTypesHierarchy.add(request.getElementType()); - ISpecializationType iSpecializationType = (ISpecializationType) request.getElementType(); - elementTypesHierarchy.addAll(Arrays.asList(iSpecializationType.getAllSuperTypes())); - - if ((elementTypesHierarchy.contains(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_ALLOCATE_ABSTRACTION))) || - (elementTypesHierarchy.contains(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_REFINE_ABSTRACTION))) || - (elementTypesHierarchy.contains(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_TRACE_ABSTRACTION)))) { - - if (sourceView!=null && sourceView.getElement() instanceof Property) { - SetDirectedRelationshipPropertyPathCommand setPropertyPathCommand = new SetDirectedRelationshipPropertyPathCommand(request.getEditingDomain(), sourceView, true); - EMFToIEditCommandWrapper editCommandWrapper = new EMFToCreateElementEditCommandWrapper(request.getContainer(), request, setPropertyPathCommand); - defaultCommand = CompositeCommand.compose(defaultCommand, editCommandWrapper); - } - - if (targetView!=null && targetView.getElement() instanceof Property) { - SetDirectedRelationshipPropertyPathCommand setPropertyPathCommand = new SetDirectedRelationshipPropertyPathCommand(request.getEditingDomain(), targetView, false); - EMFToIEditCommandWrapper editCommandWrapper = new EMFToCreateElementEditCommandWrapper(request.getContainer(), request, setPropertyPathCommand); - defaultCommand = CompositeCommand.compose(defaultCommand, editCommandWrapper); - } - } - } - return defaultCommand; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ElementGroupEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ElementGroupEditHelperAdvice.java deleted file mode 100644 index 9a3260a..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ElementGroupEditHelperAdvice.java +++ /dev/null
@@ -1,31 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Patrick Tessier (CEA LIST) - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.service.types.advice; - -import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; - -/** - * 7.3.2. ElementGroup - * /member: Element[0..*] - * Set specifying the members of the group. - * Derived from Comment::annotatedElement. - * orderedMember: Element[0..*] {ordered, subsets member} - * Organize member according to an arbitrary order. - * - *this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml14.service.types#Req_002} - * - */ -public class ElementGroupEditHelperAdvice extends AbstractEditHelperAdvice { - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/PartCreationEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/PartCreationEditHelperAdvice.java deleted file mode 100644 index 322d998..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/PartCreationEditHelperAdvice.java +++ /dev/null
@@ -1,72 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.service.types.advice; - -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; - -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; -import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; -import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; -import org.eclipse.papyrus.sysml14.service.types.command.CreateAssociationCommand; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.uml2.uml.AggregationKind; - -/** - * - *8.3.2.3 Block - *[1] For an association in which both ends are typed by blocks, the number of ends must be exactly two. - * - *[3] In the UML metamodel on which SysML is built, any instance of the Property metaclass that is typed by a block (a Class - *with the «block» stereotype applied) and which is owned by an Association may not have a name and may not be defined - *as a navigable owned end of the association. (While the Property has a “name” property as defined by its NamedElement - *superclass, the value of the “name” property, which is optional, must be missing.) - * - *[4] In the UML metamodel on which SysML is built, a Property that is typed by a block must be defined as an end of an association. - *(An inverse end of this association, whether owned by another block or the association itself, must always be present - *so there is always a metamodel element to record the inverse multiplicity of the reference.) - * - *this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml14.service.types#Req_004} - */ -public class PartCreationEditHelperAdvice extends AbstractEditHelperAdvice { - /** - * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getAfterConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest) - * - * @param request - * @return - */ - @Override - protected org.eclipse.gmf.runtime.common.core.command.ICommand getAfterConfigureCommand(final ConfigureRequest request) { - IElementType elementType=request.getTypeToConfigure(); - - if (elementType instanceof ISpecializationType){ - List<IElementType> elementTypesHierarchy= new ArrayList<>(); - elementTypesHierarchy.add(elementType); - ISpecializationType iSpecializationType=(ISpecializationType)elementType; - elementTypesHierarchy.addAll(Arrays.asList(iSpecializationType.getAllSuperTypes())); - - //this is part - if(elementTypesHierarchy.contains(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_PART))){ - return new CreateAssociationCommand( request, AggregationKind.COMPOSITE_LITERAL); - } - - } - return super.getAfterConfigureCommand(request); - - } - - }
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/QuantityKindEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/QuantityKindEditHelperAdvice.java deleted file mode 100644 index d219fa7..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/QuantityKindEditHelperAdvice.java +++ /dev/null
@@ -1,44 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.service.types.advice; - - - -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; -import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; -import org.eclipse.papyrus.sysml14.service.types.command.InstanceSpecificationWithSlotConfigureElementCommand; -import org.eclipse.papyrus.sysml14.util.QUDVUtil; -import org.eclipse.uml2.uml.Classifier; - -/** - * The helperadvice class used for QuantityKind. - * - Init the type of the instance specification - * - create all slot corresponding to quantityKind attributes - * - */ -public class QuantityKindEditHelperAdvice extends AbstractEditHelperAdvice { - - /** - * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getBeforeConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest) - * - * @param request - * @return - */ - @Override - protected ICommand getBeforeConfigureCommand(ConfigureRequest request) { - Classifier quantityKindClassifier = QUDVUtil.getClassifierByNameSpaceFromQUDV(QUDVUtil.UNIT_AND_QUANTITY_KIND, QUDVUtil.QUANTITY_KIND); - return new InstanceSpecificationWithSlotConfigureElementCommand(request,quantityKindClassifier); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ReferenceCreationEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ReferenceCreationEditHelperAdvice.java deleted file mode 100644 index 7f60775..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ReferenceCreationEditHelperAdvice.java +++ /dev/null
@@ -1,71 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.service.types.advice; - -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; - -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; -import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; -import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; -import org.eclipse.papyrus.sysml14.service.types.command.CreateAssociationCommand; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.uml2.uml.AggregationKind; - -/** - * 8.3.2.3 Block - * [1] For an association in which both ends are typed by blocks, the number of ends must be exactly two. - * - * [3] In the UML metamodel on which SysML is built, any instance of the Property metaclass that is typed by a block (a Class - * with the «block» stereotype applied) and which is owned by an Association may not have a name and may not be defined - * as a navigable owned end of the association. (While the Property has a “name” property as defined by its NamedElement - * superclass, the value of the “name” property, which is optional, must be missing.) - * - * [4] In the UML metamodel on which SysML is built, a Property that is typed by a block must be defined as an end of an association. - * (An inverse end of this association, whether owned by another block or the association itself, must always be present - * so there is always a metamodel element to record the inverse multiplicity of the reference.) - * - * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml14.service.types#Req_004} - **/ -public class ReferenceCreationEditHelperAdvice extends AbstractEditHelperAdvice { - /** - * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getAfterConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest) - * - * @param request - * @return - */ - @Override - protected org.eclipse.gmf.runtime.common.core.command.ICommand getAfterConfigureCommand(final ConfigureRequest request) { - IElementType elementType = request.getTypeToConfigure(); - - if (elementType instanceof ISpecializationType) { - List<IElementType> elementTypesHierarchy = new ArrayList<>(); - elementTypesHierarchy.add(elementType); - ISpecializationType iSpecializationType = (ISpecializationType) elementType; - elementTypesHierarchy.addAll(Arrays.asList(iSpecializationType.getAllSuperTypes())); - - // this is a reference - if (elementTypesHierarchy.contains(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_REFERENCE))) { - return new CreateAssociationCommand(request, AggregationKind.SHARED_LITERAL); - } - - } - return super.getAfterConfigureCommand(request); - - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ReorientDirectedRelationshipPPEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ReorientDirectedRelationshipPPEditHelperAdvice.java deleted file mode 100644 index 2217c57..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/ReorientDirectedRelationshipPPEditHelperAdvice.java +++ /dev/null
@@ -1,77 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.advice; - -import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; -import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; -import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; -import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRequest; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.papyrus.sysml14.service.types.command.SetDirectedRelationshipPropertyPathCommand; -import org.eclipse.papyrus.sysml14.service.types.command.wrapper.EMFToIEditCommandWrapper; -import org.eclipse.papyrus.sysml14.service.types.command.wrapper.EMFToReorientRelationshipEditCommandWrapper; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.papyrus.uml.service.types.utils.RequestParameterUtils; -import org.eclipse.uml2.uml.Property; - -/** - * 8.3.2.7 DirectedRelationshipPropertyPath - * sourcePropertyPath: Property [0..*] {ordered, nonunique} - * A series of properties that identifies the source of the directed relationship in the context of the block specified by the - * sourceContext property. The ordering of properties is from a property of the sourceContext block, through a property - * of each intermediate block that types the preceding property, ending in a property with a type that owns or inherits the - * source of the directed relationship. The source is not included in the propertyPath list. The same property might - * appear more than once because a block can own a property with the same or specialized block as a type. - * • targetPropertyPath: Property [0..*] {ordered, nonunique} - * A series of properties that identifies the target of the directed relationship in the context of the block specified by the - * targetContext property. The ordering of properties is from a property of the targetContext block, through a property of - * each intermediate block that types the preceding property, ending in a property with a type that owns or inherits the - * target of the directed relationship. The target is not included in the propertyPath list. The same property might appear - * more than once because a block can own a property with the same or specialized block as a type. - * • sourceContext: Classifier [0.1] - * Gives the context for sourcePropertyPath to begin from. - * • targetContext: Classifier [0.1] - * Gives the context for targetPropertyPath to begin from. - * - */ -public class ReorientDirectedRelationshipPPEditHelperAdvice extends AbstractEditHelperAdvice { - - - /** - * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getAfterReorientRelationshipCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest) - * - * @param request - * @return - */ - @Override - protected ICommand getAfterReorientRelationshipCommand(ReorientRelationshipRequest request) { - ICommand defaultCommand = super.getAfterReorientRelationshipCommand(request); - int reorientDirection = request.getDirection(); - View newEndView = RequestParameterUtils.getReconnectedEndView(request); - if ((((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_ALLOCATE_ABSTRACTION)).getMatcher().matches(request.getRelationship())) || - (((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_REFINE_ABSTRACTION)).getMatcher().matches(request.getRelationship())) || - (((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_TRACE_ABSTRACTION)).getMatcher().matches(request.getRelationship()))) { - boolean isSource = ReorientRequest.REORIENT_SOURCE == reorientDirection; - if (newEndView.getElement() instanceof Property) { - SetDirectedRelationshipPropertyPathCommand setPropertyPathCommand = new SetDirectedRelationshipPropertyPathCommand(request.getEditingDomain(), newEndView, isSource); - EMFToIEditCommandWrapper editCommandWrapper = new EMFToReorientRelationshipEditCommandWrapper(request.getRelationship(), request, setPropertyPathCommand); - defaultCommand = CompositeCommand.compose(defaultCommand, editCommandWrapper); - } - } - return defaultCommand; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/SetEncapsulatedEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/SetEncapsulatedEditHelperAdvice.java deleted file mode 100644 index d3f2d06..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/SetEncapsulatedEditHelperAdvice.java +++ /dev/null
@@ -1,142 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.advice; - -import java.util.ArrayList; -import java.util.Collection; -import java.util.Collections; -import java.util.HashSet; -import java.util.LinkedList; -import java.util.List; -import java.util.Set; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.emf.core.util.EMFCoreUtil; -import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; -import org.eclipse.gmf.runtime.emf.type.core.requests.DestroyDependentsRequest; -import org.eclipse.gmf.runtime.emf.type.core.requests.SetRequest; -import org.eclipse.papyrus.sysml14.blocks.Block; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.blocks.NestedConnectorEnd; -import org.eclipse.uml2.uml.Connector; -import org.eclipse.uml2.uml.ConnectorEnd; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.UMLPackage; - -/** - * 8.3.2.3 Block - * the service edit must implement the following constraints - * isEncapsulated: Boolean [0..1] - * If true, then the block is treated as a black box; a part typed by this black box can only be connected via its ports or - * directly to its outer boundary. If false, or if a value is not present, then connections can be established to elements of - * its internal structure via deep-nested connector ends. - * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml14.service.types#Req_007} - * - * <pre> - * This advice is used to remove inconsistent {@link Connector} when a related {@link Block} - * is set as encapsulated ({@link Block#isEncapsulated()} property). - * </pre> - */ -public class SetEncapsulatedEditHelperAdvice extends AbstractEditHelperAdvice { - - /** - * <pre> - * {@inheritDoc} - * - * Returns the command to destroy any {@link Connector} breaking encapsulation rules. - * </pre> - * - * @param request - * the request to modify the model - * @return - * the command to destroy the views of the parts which are not owned by the new type - * - */ - @Override - protected ICommand getBeforeSetCommand(SetRequest request) { - ICommand setCommand = super.getBeforeSetCommand(request); - Set<Connector> connectorToDelete = new HashSet<>(); - - EObject elementToEdit = request.getElementToEdit(); - if ((elementToEdit instanceof Block) && (request.getFeature() == BlocksPackage.eINSTANCE.getBlock_IsEncapsulated())) { - - Block blockApp = (Block) elementToEdit; - Boolean setAsEncapsulated = (request.getValue() instanceof Boolean) ? (Boolean) request.getValue() : false; - if (!blockApp.isEncapsulated() && setAsEncapsulated) { - - for (Property property : getPropertyTypedByBlock(blockApp)) { - for (NestedConnectorEnd nestedEnd : getRelatedNestedConnectorEnd(property)) { - ConnectorEnd end = nestedEnd.getBase_ConnectorEnd(); - Connector connector = (end != null) ? (Connector) end.eContainer() : null; - if (connector != null) { - connectorToDelete.add(connector); - } - } - } - } - } - - // Add connector destroy command if needed - if (!(connectorToDelete.isEmpty())) { - DestroyDependentsRequest req = new DestroyDependentsRequest(request.getEditingDomain(), elementToEdit, false); - req.setClientContext(request.getClientContext()); - req.addParameters(request.getParameters()); - ICommand connectorDestroyCommand = req.getDestroyDependentsCommand(connectorToDelete); - if (connectorDestroyCommand != null) { - setCommand = CompositeCommand.compose(connectorDestroyCommand, setCommand); - } - } - - return setCommand; - } - - /** - * Get any {@link Property} typed by the given {@link Block} (its base class). - * - * @param block - * the block. - * @return a collection of {@link Property} - */ - private Collection<Property> getPropertyTypedByBlock(Block block) { - EReference[] eRefs = new EReference[] { UMLPackage.eINSTANCE.getTypedElement_Type() }; - - Collection<?> references = EMFCoreUtil.getReferencers(block.getBase_Class(), eRefs); - List<Property> propertyReferences = new LinkedList<>(); - for (Object reference : references) { - if (reference instanceof Property) { - propertyReferences.add((Property) reference); - } - } - - return propertyReferences; - } - - /** - * Get any {@link NestedConnectorEnd} stereotype application that holds the property in its path. - * - * @param property - * the property that should be in the path. - * @return a collection of {@link NestedConnectorEnd} - */ - @SuppressWarnings("unchecked") - private Collection<NestedConnectorEnd> getRelatedNestedConnectorEnd(Property property) { - EReference[] eRefs = new EReference[] { BlocksPackage.eINSTANCE.getElementPropertyPath_PropertyPath() }; - - Collection<NestedConnectorEnd> references = EMFCoreUtil.getReferencers(property, eRefs); - return (references != null) ? references : Collections.unmodifiableList(new ArrayList<NestedConnectorEnd>()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/UnitEditHelperAdvice.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/UnitEditHelperAdvice.java deleted file mode 100644 index 39989c0..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/advice/UnitEditHelperAdvice.java +++ /dev/null
@@ -1,40 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2014 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.advice; - -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; -import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; -import org.eclipse.papyrus.sysml14.service.types.command.InstanceSpecificationWithSlotConfigureElementCommand; -import org.eclipse.papyrus.sysml14.util.QUDVUtil; -import org.eclipse.uml2.uml.Classifier; - -/** - * The helper advice class used for Unit. - * - Init the type of the instance specification - * - create all slot corresponding to Unit attributes - * - */ -public class UnitEditHelperAdvice extends AbstractEditHelperAdvice { - - /** - * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getBeforeConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest) - * - * @param request - * @return - */ - @Override - protected ICommand getBeforeConfigureCommand(ConfigureRequest request) { - Classifier unitClassifier = QUDVUtil.getClassifierByNameSpaceFromQUDV(QUDVUtil.UNIT_AND_QUANTITY_KIND, QUDVUtil.UNIT); - return new InstanceSpecificationWithSlotConfigureElementCommand(request,unitClassifier); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/command/CreateAssociationCommand.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/command/CreateAssociationCommand.java deleted file mode 100644 index 9b50334..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/command/CreateAssociationCommand.java +++ /dev/null
@@ -1,98 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015,2016 CEA LIST and others. - * - * 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: - * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Bug 483564 - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.command; - -import org.eclipse.core.commands.ExecutionException; -import org.eclipse.core.runtime.IAdaptable; -import org.eclipse.core.runtime.IProgressMonitor; -import org.eclipse.gmf.runtime.common.core.command.CommandResult; -import org.eclipse.gmf.runtime.emf.type.core.commands.ConfigureElementCommand; -import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; -import org.eclipse.uml2.uml.AggregationKind; -import org.eclipse.uml2.uml.Association; -import org.eclipse.uml2.uml.Package; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; -import org.eclipse.uml2.uml.UMLFactory; - -/** - * This class is used to create an association from a property - * - */ -public class CreateAssociationCommand extends ConfigureElementCommand { - - private final AggregationKind aggregationKind; - - /** - * Constructor using default Aggregation - * - * @param request - * @param aggregationKind - */ - public CreateAssociationCommand(ConfigureRequest request) { - this(request,AggregationKind.NONE_LITERAL); - } - - /** - * Constructor. - * - * @param request - * @param aggregationKind - */ - public CreateAssociationCommand(ConfigureRequest request, AggregationKind aggregationKind) { - super(request); - this.aggregationKind = aggregationKind; - } - - /** - * @see org.eclipse.gmf.runtime.emf.type.core.commands.EditElementCommand#canExecute() - * - * @return - */ - @Override - public boolean canExecute() { - if (aggregationKind!= null && (getElementToEdit() instanceof Property)) { - return super.canExecute(); - } - return false; - } - - @Override - protected CommandResult doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info) throws ExecutionException { - Property sourcePart = (Property) getElementToEdit(); - - // set the aggregation - if (sourcePart != null) { - sourcePart.setAggregation(aggregationKind); - - // construct the Association - if (sourcePart.getType() != null) { - - // Create association between element owner and element type - Type sourceType = (Type) sourcePart.getOwner(); - Package associationContainer = sourceType.getNearestPackage(); - - // Create targetProperty - Property targetProperty = UMLFactory.eINSTANCE.createProperty(); - targetProperty.setType(sourceType); - - Association association = UMLFactory.eINSTANCE.createAssociation(); - association.setPackage(associationContainer); - association.getMemberEnds().add(sourcePart); - association.getOwnedEnds().add(targetProperty); - association.getMemberEnds().add(targetProperty); - } - } - return CommandResult.newOKCommandResult(sourcePart); - } -} \ No newline at end of file
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/command/InstanceSpecificationWithSlotConfigureElementCommand.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/command/InstanceSpecificationWithSlotConfigureElementCommand.java deleted file mode 100644 index 95a8bcd..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/command/InstanceSpecificationWithSlotConfigureElementCommand.java +++ /dev/null
@@ -1,85 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.command; - -import org.eclipse.core.commands.ExecutionException; -import org.eclipse.core.runtime.IAdaptable; -import org.eclipse.core.runtime.IProgressMonitor; -import org.eclipse.emf.common.util.EList; -import org.eclipse.gmf.runtime.common.core.command.CommandResult; -import org.eclipse.gmf.runtime.emf.type.core.commands.ConfigureElementCommand; -import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.InstanceSpecification; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Slot; -import org.eclipse.uml2.uml.Type; -import org.eclipse.uml2.uml.UMLPackage; -import org.eclipse.uml2.uml.ValueSpecification; - -/** - * - * A command to configure an instance specification from a classifier - * @author Benoit Maggi - * - */ -public class InstanceSpecificationWithSlotConfigureElementCommand extends ConfigureElementCommand { - - private Classifier classifier; - - /** - * Configure the instance specification to use this classifier - * - * @param request - * @param classifier - */ - public InstanceSpecificationWithSlotConfigureElementCommand(ConfigureRequest request,Classifier classifier) { - super(request); - this.classifier = classifier; - } - - - /** - * Add the classifier to the instance specification and create slots for each attributes - * - * @see org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable) - * - * @param monitor - * @param info - * @return - * @throws ExecutionException - */ - @Override - protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info) throws ExecutionException { - final InstanceSpecification instanceSpecification = (InstanceSpecification) getElementToEdit(); - if (classifier != null){ - // set instance classifier - instanceSpecification.getClassifiers().add(classifier); - EList<Property> attributes = classifier.getAttributes(); - // create the slots - for (Property property : attributes) { - Slot slot = instanceSpecification.createSlot(); - Type type = property.getType(); - if (type!=null){ - ValueSpecification valueSpecification = slot.createValue(property.getName(), type, UMLPackage.eINSTANCE.getInstanceValue()); - valueSpecification.setType(type); - }else { - slot.createValue(property.getName(), null, UMLPackage.eINSTANCE.getLiteralString()); - } - slot.setDefiningFeature(property); - } - } - return CommandResult.newOKCommandResult(instanceSpecification); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/command/SetDirectedRelationshipPropertyPathCommand.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/command/SetDirectedRelationshipPropertyPathCommand.java deleted file mode 100644 index 90caa01..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/command/SetDirectedRelationshipPropertyPathCommand.java +++ /dev/null
@@ -1,113 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Patrick Tessier(CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.service.types.command; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.transaction.RecordingCommand; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath; -import org.eclipse.papyrus.sysml14.service.types.command.wrapper.IEMFElementToEditCommand; -import org.eclipse.papyrus.sysml14.service.types.util.PropertyPathUtil; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * 8.3.2.7 DirectedRelationshipPropertyPath - * sourcePropertyPath: Property [0..*] {ordered, nonunique} - * A series of properties that identifies the source of the directed relationship in the context of the block specified by the - * sourceContext property. The ordering of properties is from a property of the sourceContext block, through a property - * of each intermediate block that types the preceding property, ending in a property with a type that owns or inherits the - * source of the directed relationship. The source is not included in the propertyPath list. The same property might - * appear more than once because a block can own a property with the same or specialized block as a type. - * • targetPropertyPath: Property [0..*] {ordered, nonunique} - * A series of properties that identifies the target of the directed relationship in the context of the block specified by the - * targetContext property. The ordering of properties is from a property of the targetContext block, through a property of - * each intermediate block that types the preceding property, ending in a property with a type that owns or inherits the - * target of the directed relationship. The target is not included in the propertyPath list. The same property might appear - * more than once because a block can own a property with the same or specialized block as a type. - * • sourceContext: Classifier [0.1] - * Gives the context for sourcePropertyPath to begin from. - * • targetContext: Classifier [0.1] - * Gives the context for targetPropertyPath to begin from. - * this class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml14.service.types#Req_009} - */ -public class SetDirectedRelationshipPropertyPathCommand extends RecordingCommand implements IEMFElementToEditCommand { - - protected Element directedRelationShipPropertyPath = null; - protected View sourceView = null; - protected boolean isSource; - - /** - * Constructor. - * - * @param domain - * @param view - * the view that reference the semantic element, it is need to calculus the context... - * @param isSource - * if true fill information about the source, false fill information about the target - */ - public SetDirectedRelationshipPropertyPathCommand(TransactionalEditingDomain domain, View view, boolean isSource) { - super(domain); - this.sourceView = view; - this.isSource = isSource; - } - - /** - * @see org.eclipse.emf.common.command.AbstractCommand#canExecute() - * - * @return - */ - @Override - public boolean canExecute() { - if (directedRelationShipPropertyPath == null || sourceView == null) { - return false; - } - return super.canExecute(); - } - - /** - * @see org.eclipse.emf.transaction.RecordingCommand#doExecute() - * - */ - @Override - protected void doExecute() { - if (canExecute()) { - if (isSource) { - DirectedRelationshipPropertyPath stereotypeApplication = UMLUtil.getStereotypeApplication(directedRelationShipPropertyPath, DirectedRelationshipPropertyPath.class); - stereotypeApplication.getSourcePropertyPath().clear(); - stereotypeApplication.getSourcePropertyPath().addAll(PropertyPathUtil.getPropertyPath(sourceView)); - stereotypeApplication.setSourceContext(PropertyPathUtil.getCompositeContext(sourceView)); - } else { - DirectedRelationshipPropertyPath stereotypeApplication = UMLUtil.getStereotypeApplication(directedRelationShipPropertyPath, DirectedRelationshipPropertyPath.class); - stereotypeApplication.getTargetPropertyPath().clear(); - stereotypeApplication.getTargetPropertyPath().addAll(PropertyPathUtil.getPropertyPath(sourceView)); - stereotypeApplication.setTargetContext(PropertyPathUtil.getCompositeContext(sourceView)); - } - } - } - - /** - * @see org.eclipse.papyrus.sysml14.service.types.command.wrapper.IEMFElementToEditCommand#SetElementToEdit(org.eclipse.emf.ecore.EObject) - * - * @param eObject - */ - @Override - public void setElementToEdit(EObject eObject) { - if (eObject instanceof Element) { - directedRelationShipPropertyPath = (Element) eObject; - } - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/command/UpdateNestedPathConnectorEnd.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/command/UpdateNestedPathConnectorEnd.java deleted file mode 100644 index ca9cc2c..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/command/UpdateNestedPathConnectorEnd.java +++ /dev/null
@@ -1,172 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 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: - * - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * Pauline DEVILLE (CEA LIST) pauline.deville@cea.fr - Bug 528161 - NestedConnectorEnd Stereotype is not applied - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.command; - -import java.util.List; - -import org.eclipse.core.commands.ExecutionException; -import org.eclipse.core.runtime.IAdaptable; -import org.eclipse.core.runtime.IProgressMonitor; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.gmf.runtime.common.core.command.CommandResult; -import org.eclipse.gmf.runtime.emf.type.core.commands.EditElementCommand; -import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; -import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest; -import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest; -import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.blocks.NestedConnectorEnd; -import org.eclipse.papyrus.sysml14.service.types.util.ConnectorUtil; -import org.eclipse.papyrus.uml.service.types.utils.ConnectorUtils; -import org.eclipse.uml2.uml.Connector; -import org.eclipse.uml2.uml.ConnectorEnd; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; - -/** - * NestedConnectorEnd - * - * The NestedConnectorEnd stereotype of UML ConnectorEnd extends a UML ConnectorEnd so that the connected property - * may be identified by a multi-level path of accessible properties from the block that owns the connector. The propertyPath - * inherited from ElementPropertyPath gives a series of properties that identifies the connected property in the context of the - * block that owns the connector. - * - * The ordering of properties is from a property of the block that owns the connector, through - * a property of each intermediate block that types the preceding property, ending in a property with a type that owns or - * inherits the property that is the role of the connector end (the property that the connector graphically attaches to at that - * end). The property that is the role of the connector end is not included in the propertyPath list. - */ -public class UpdateNestedPathConnectorEnd extends EditElementCommand { - - /** - * The current ConnectorEnd is the source of the Connector - */ - private Boolean isSource; - - @Deprecated // deprecated in 1.1.0 - public UpdateNestedPathConnectorEnd(String label, EObject elementToEdit, IEditCommandRequest request) { - super(label, elementToEdit, request); - } - - public UpdateNestedPathConnectorEnd(String label, EObject elementToEdit, IEditCommandRequest request, boolean isSource) { - super(label, elementToEdit, request); - this.isSource = isSource; - } - - /** - * Check that the command access the connector and that the we have a view for NestedConnectorEnd target. - */ - @Override - public boolean canExecute() { - return getElementToEdit() instanceof View && super.canExecute(); - } - - /** - * Get the class owning the connector that owns the connector end - * - * @param connectorEnd - * @return - */ - private org.eclipse.uml2.uml.Class getConnectorClass(ConnectorEnd connectorEnd) { - Element connectorEndOwner = connectorEnd.getOwner(); - if (connectorEndOwner instanceof Connector) { - Connector connector = (Connector) connectorEndOwner; - Element connectorOwner = connector.getOwner(); - if (connectorOwner instanceof org.eclipse.uml2.uml.Class) { - return (org.eclipse.uml2.uml.Class) connectorOwner; - } - } - return null; - } - - @Override - protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info) throws ExecutionException { - if (!(canExecute() && getConnector() != null)) { - throw new ExecutionException("Can't update NesteConnectorEnd, missing View or connector."); //$NON-NLS-1$ - } - EList<ConnectorEnd> ends = getConnector().getEnds(); - if (ends != null && ends.size() > 1) { - ConnectorEnd connectorEnd = null; - View elementToEdit = (View) getElementToEdit(); - connectorEnd = getCalculatedConnectorEnd(); - if (connectorEnd != null) { - List<Property> nestedPath = ConnectorUtil.getNestedPath(getConnectorClass(connectorEnd), elementToEdit); - NestedConnectorEnd nestedConnectorEnd = UMLUtil.getStereotypeApplication(connectorEnd, NestedConnectorEnd.class); - - if (nestedPath.isEmpty()) { - if (nestedConnectorEnd != null) { - EcoreUtil.delete(nestedConnectorEnd, true);// Remove stereotype if applied - } - } else { - if (nestedConnectorEnd == null) { - nestedConnectorEnd = (NestedConnectorEnd) StereotypeApplicationHelper.getInstance(null).applyStereotype(connectorEnd, BlocksPackage.eINSTANCE.getNestedConnectorEnd()); - } - // set new path if different from existing - if (!nestedConnectorEnd.getPropertyPath().equals(nestedPath)) { - nestedConnectorEnd.getPropertyPath().clear(); - nestedConnectorEnd.getPropertyPath().addAll(nestedPath); - } - } - } - } - return CommandResult.newOKCommandResult(getElementToEdit()); - } - - - private Connector getConnector() { - if (getRequest() instanceof CreateRelationshipRequest) { - return (Connector) ((CreateRelationshipRequest) getRequest()).getNewElement(); - } else if (getRequest() instanceof ReorientRelationshipRequest) { - return (Connector) ((ReorientRelationshipRequest) getRequest()).getRelationship(); - } else if (getRequest() instanceof ConfigureRequest) { - return (Connector) ((ConfigureRequest) getRequest()).getElementToConfigure(); - } - return null; - } - - /** - * Get the calculated connector end - * - * @return the calculated connector end or null is isSource is null - */ - private ConnectorEnd getCalculatedConnectorEnd() { - Connector connector = getConnector(); - EList<ConnectorEnd> ends = getConnector().getEnds(); - if (ends != null && ends.size() > 1) { - if (isSource != null) { - if (isSource) { - return new ConnectorUtils().getSourceConnectorEnd(connector); - } else { - return new ConnectorUtils().getTargetConnectorEnd(connector); - } - } else { - View elementToEdit = (View) getElementToEdit(); - ConnectorEnd connectorEndSource = ends.get(0); - if (elementToEdit.getElement().equals(connectorEndSource.getRole())) { - return connectorEndSource; - } else { - return ends.get(1); - } - } - } - return null; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/command/wrapper/EMFToCreateElementEditCommandWrapper.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/command/wrapper/EMFToCreateElementEditCommandWrapper.java deleted file mode 100644 index 014228a..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/command/wrapper/EMFToCreateElementEditCommandWrapper.java +++ /dev/null
@@ -1,52 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.service.types.command.wrapper; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest; - -/** - * This class is a specialization to wrap creation command of editCommand (element or relationship). - * - */ -public class EMFToCreateElementEditCommandWrapper extends EMFToIEditCommandWrapper { - - - /** - * Constructor. - * - * @param label - * @param elementToEdit - * the element to edit maybe different to the created element! it could be the container ... - * @param request - * the {@link org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest} - * @param emfCommand - * the EMF command that is wrapped see {@link IEMFElementToEditCommand} - */ - public EMFToCreateElementEditCommandWrapper(EObject elementToEdit, CreateElementRequest request, IEMFElementToEditCommand emfCommand) { - super(elementToEdit, request, emfCommand); - } - - /** - * @see org.eclipse.papyrus.sysml14.service.types.command.wrapper.EMFToIEditCommandWrapper#getEMFElementToEdit() - * - * @return - */ - @Override - protected EObject getEMFElementToEdit() { - return ((CreateElementRequest) getRequest()).getNewElement(); - - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/command/wrapper/EMFToIEditCommandWrapper.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/command/wrapper/EMFToIEditCommandWrapper.java deleted file mode 100644 index 6d87714..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/command/wrapper/EMFToIEditCommandWrapper.java +++ /dev/null
@@ -1,71 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.service.types.command.wrapper; - -import org.eclipse.core.commands.ExecutionException; -import org.eclipse.core.runtime.IAdaptable; -import org.eclipse.core.runtime.IProgressMonitor; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.common.core.command.CommandResult; -import org.eclipse.gmf.runtime.emf.type.core.commands.EditElementCommand; -import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest; - -/** - * This class is used to delegate the execution to a emf command as recording command... - * - */ -public abstract class EMFToIEditCommandWrapper extends EditElementCommand { - - /** the wrapped EMF command **/ - protected IEMFElementToEditCommand emfCommand; - - /** - * Constructor. - * - * @param label - * @param elementToEdit - * the element to edit maybe different to the created element! it could be the container ... - * @param request - * the {@link IEditCommandRequest} - * @param emfCommand - * the EMF command that is wrapped see {@link IEMFElementToEditCommand} - */ - protected EMFToIEditCommandWrapper(EObject elementToEdit, IEditCommandRequest request, IEMFElementToEditCommand emfCommand) { - super(emfCommand.getLabel(), elementToEdit, request); - this.emfCommand = emfCommand; - } - - - /** - * @see org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable) - * - * @param arg0 - * @param arg1 - * @return - * @throws ExecutionException - */ - @Override - protected CommandResult doExecuteWithResult(IProgressMonitor arg0, IAdaptable arg1) throws ExecutionException { - emfCommand.setElementToEdit(getEMFElementToEdit()); - if (emfCommand.canExecute()) { - emfCommand.execute(); - } - return CommandResult.newOKCommandResult(getEMFElementToEdit()); - } - - /** - * get the real element that will be created or modified not the container - */ - protected abstract EObject getEMFElementToEdit(); -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/command/wrapper/EMFToReorientRelationshipEditCommandWrapper.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/command/wrapper/EMFToReorientRelationshipEditCommandWrapper.java deleted file mode 100644 index 367839a..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/command/wrapper/EMFToReorientRelationshipEditCommandWrapper.java +++ /dev/null
@@ -1,52 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.service.types.command.wrapper; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest; - -/** - * This class is a specialization to wrap re-orient command of editCommand. - * - */ -public class EMFToReorientRelationshipEditCommandWrapper extends EMFToIEditCommandWrapper { - - - /** - * Constructor. - * - * @param label - * @param elementToEdit - * the element to edit maybe different to the created element! it could be the container ... - * @param request - * the {@link org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest} - * @param emfCommand - * the EMF command that is wrapped see {@link IEMFElementToEditCommand} - */ - public EMFToReorientRelationshipEditCommandWrapper(EObject elementToEdit, ReorientRelationshipRequest request, IEMFElementToEditCommand emfCommand) { - super(elementToEdit, request, emfCommand); - } - - /** - * @see org.eclipse.papyrus.sysml14.service.types.command.wrapper.EMFToIEditCommandWrapper#getEMFElementToEdit() - * - * @return - */ - @Override - protected EObject getEMFElementToEdit() { - return ((ReorientRelationshipRequest) getRequest()).getRelationship(); - - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/command/wrapper/IEMFElementToEditCommand.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/command/wrapper/IEMFElementToEditCommand.java deleted file mode 100644 index f393865..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/command/wrapper/IEMFElementToEditCommand.java +++ /dev/null
@@ -1,33 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.service.types.command.wrapper; - -import org.eclipse.emf.common.command.Command; -import org.eclipse.emf.ecore.EObject; - -/** - * This class is used in the context of @see {@link IEMFElementToEditCommand} - * This command will modified an element that must be given in parameter of the operation <B>setElementToEdit</B> - */ -public interface IEMFElementToEditCommand extends Command { - - /** - * set the element that will be modified in this EMF command, typically request.getNewElement() from {@link org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest} - * - * @param eObject - * EOject that will be modified in this EMF command. - */ - void setElementToEdit(EObject eObject); - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/ActorPartPropertyMatcher.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/ActorPartPropertyMatcher.java deleted file mode 100644 index 355eba1..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/ActorPartPropertyMatcher.java +++ /dev/null
@@ -1,44 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2012 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: - * - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.matcher; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher; -import org.eclipse.uml2.uml.Actor; -import org.eclipse.uml2.uml.AggregationKind; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.Property; - -/** - * Test if current {@link Property} is a {@link Actor} Part - */ -public class ActorPartPropertyMatcher implements IElementMatcher { - - /** - * {@inheritDoc} - */ - @Override - public boolean matches(EObject eObject) { - boolean isMatch = false; - if ((eObject instanceof Property) && !(eObject instanceof Port)) { - Property element = (Property) eObject; - // The property is necessary a composition and has a type - if ((element.getType() != null) && (element.getAggregation() == AggregationKind.COMPOSITE_LITERAL)) { - // Moreover its type has to be a Actor - isMatch = element.getType() instanceof Actor; - } - } - return isMatch; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/ConstraintPropertyMatcher.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/ConstraintPropertyMatcher.java deleted file mode 100644 index cda4e9a..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/ConstraintPropertyMatcher.java +++ /dev/null
@@ -1,46 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Francois Le Fevre francois.le-fevre@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.matcher; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher; -import org.eclipse.papyrus.sysml14.constraintblocks.ConstraintBlock; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * Test if type {@link Type} is a {@link ConstraintBlock} - */ -public class ConstraintPropertyMatcher implements IElementMatcher { - - /** - * @see org.eclipse.gmf.runtime.emf.type.core.IElementMatcher#matches(org.eclipse.emf.ecore.EObject) - * - * @param eObject - * @return - */ - @Override - public boolean matches(EObject eObject) { - if (eObject instanceof Property) { - Property property = (Property) eObject; - Type type= property.getType(); - if(type instanceof Class && UMLUtil.getStereotypeApplication(type, ConstraintBlock.class)!=null){ - return true; - } - } - - return false; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/FlowPortInMatcher.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/FlowPortInMatcher.java deleted file mode 100644 index 1a3a19d..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/FlowPortInMatcher.java +++ /dev/null
@@ -1,47 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2010 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 - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.matcher; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher; -import org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort; -import org.eclipse.papyrus.sysml14.portsandflows.FlowDirection; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * Test if current {@link Port} is a {@link FlowPort} with IN direction - */ -public class FlowPortInMatcher implements IElementMatcher { - - /** - * Test if the parameter match a FlowPortIn, so if it : - * - is a Uml Port - * - has the Flow Port stereotype applied - * - the direction of the applied FlowPort is IN - * - * @see org.eclipse.gmf.runtime.emf.type.core.IElementMatcher#matches(org.eclipse.emf.ecore.EObject) - * - * @param eObject - * @return - */ - @Override - public boolean matches(EObject eObject) { - boolean isFlowPortIn = false; - if (eObject instanceof Port) { - Port port = (Port) eObject; - FlowPort flowPort = UMLUtil.getStereotypeApplication(port, FlowPort.class); - if ((flowPort != null) && (flowPort.getDirection() == FlowDirection.IN)) { - isFlowPortIn = true; - } - } - return isFlowPortIn; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/FlowPortInOutMatcher.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/FlowPortInOutMatcher.java deleted file mode 100644 index 8d4d81f..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/FlowPortInOutMatcher.java +++ /dev/null
@@ -1,47 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2010 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 - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.matcher; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher; -import org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort; -import org.eclipse.papyrus.sysml14.portsandflows.FlowDirection; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * Test if current {@link Port} is a {@link FlowPort} with INOUT direction - */ -public class FlowPortInOutMatcher implements IElementMatcher { - - /** - * Test if the parameter match a FlowPortINOut, so if it : - * - is a Uml Port - * - has the Flow Port stereotype applied - * - the direction of the applied FlowPort is INOUT - * - * @see org.eclipse.gmf.runtime.emf.type.core.IElementMatcher#matches(org.eclipse.emf.ecore.EObject) - * - * @param eObject - * @return - */ - @Override - public boolean matches(EObject eObject) { - boolean isFlowPortInOut = false; - if (eObject instanceof Port) { - Port port = (Port) eObject; - FlowPort flowPort = UMLUtil.getStereotypeApplication(port, FlowPort.class); - if ((flowPort != null) && (flowPort.getDirection() == FlowDirection.INOUT)) { - isFlowPortInOut = true; - } - } - return isFlowPortInOut; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/FlowPortNAMatcher.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/FlowPortNAMatcher.java deleted file mode 100644 index 588f3fa..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/FlowPortNAMatcher.java +++ /dev/null
@@ -1,41 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2010 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 - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.matcher; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher; -import org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * Test if current {@link Port} is a non atomic {@link FlowPort}. - */ -public class FlowPortNAMatcher implements IElementMatcher { - - /** - * @see org.eclipse.gmf.runtime.emf.type.core.IElementMatcher#matches(org.eclipse.emf.ecore.EObject) - * - * @param eObject - * @return - */ - @Override - public boolean matches(EObject eObject) { - boolean isFlowPortNa = false; - if (eObject instanceof Port) { - Port port = (Port) eObject; - FlowPort flowPort = UMLUtil.getStereotypeApplication(port, FlowPort.class); - if ((flowPort != null) && (!flowPort.isAtomic())) { - isFlowPortNa = true; - } - } - return isFlowPortNa; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/FlowPortOutMatcher.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/FlowPortOutMatcher.java deleted file mode 100644 index 4d94923..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/FlowPortOutMatcher.java +++ /dev/null
@@ -1,47 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2010 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 - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.matcher; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher; -import org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort; -import org.eclipse.papyrus.sysml14.portsandflows.FlowDirection; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * Test if current {@link Port} is a {@link FlowPort} with OUT direction - */ -public class FlowPortOutMatcher implements IElementMatcher { - - /** - * Test if the parameter match a FlowPortOut, so if it : - * - is a Uml Port - * - has the Flow Port stereotype applied - * - the direction of the applied FlowPort is OUT - * - * @see org.eclipse.gmf.runtime.emf.type.core.IElementMatcher#matches(org.eclipse.emf.ecore.EObject) - * - * @param eObject - * @return - */ - @Override - public boolean matches(EObject eObject) { - boolean isFlowPortOut = false; - if (eObject instanceof Port) { - Port port = (Port) eObject; - FlowPort flowPort = UMLUtil.getStereotypeApplication(port, FlowPort.class); - if ((flowPort != null) && (flowPort.getDirection() == FlowDirection.OUT)) { - isFlowPortOut = true; - } - } - return isFlowPortOut; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/PartPropertyMatcher.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/PartPropertyMatcher.java deleted file mode 100644 index 80bd487..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/PartPropertyMatcher.java +++ /dev/null
@@ -1,45 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2010 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 - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.matcher; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher; -import org.eclipse.papyrus.sysml14.blocks.Block; -import org.eclipse.uml2.uml.AggregationKind; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * Test if current {@link Property} is a {@link Block} Part - */ -public class PartPropertyMatcher implements IElementMatcher { - - /** - * {@inheritDoc} - */ - @Override - public boolean matches(EObject eObject) { - boolean isMatch = false; - if ((eObject instanceof Property) && !(eObject instanceof Port)) { - Property element = (Property) eObject; - // The property is necessary a composition and has a type - Type type = element.getType(); - if (type != null && (element.getAggregation() == AggregationKind.COMPOSITE_LITERAL)) { - // Moreover its type has to be a Block (type is tested as class before for performance) - isMatch = type instanceof Class && UMLUtil.getStereotypeApplication(type, Block.class) != null; - } - } - return isMatch; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/ReferencePropertyMatcher.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/ReferencePropertyMatcher.java deleted file mode 100644 index 7ee60ff..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/ReferencePropertyMatcher.java +++ /dev/null
@@ -1,45 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2010 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 - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.matcher; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher; -import org.eclipse.papyrus.sysml14.blocks.Block; -import org.eclipse.uml2.uml.AggregationKind; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * Test if current {@link Property} is a {@link Block} Reference - */ -public class ReferencePropertyMatcher implements IElementMatcher { - - /** - * {@inheritDoc} - */ - @Override - public boolean matches(EObject eObject) { - boolean isMatch = false; - if ((eObject instanceof Property) && !(eObject instanceof Port)) { - Property element = (Property) eObject; - // The property is not a composition and has a type - Type type = element.getType(); - if (type != null && (element.getAggregation() != AggregationKind.COMPOSITE_LITERAL)) { - // Moreover its type has to be a Block (type is tested as class before for performance) - isMatch = type instanceof Class && (UMLUtil.getStereotypeApplication(type, Block.class) != null); - } - } - return isMatch; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/ValuePropertyMatcher.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/ValuePropertyMatcher.java deleted file mode 100644 index 5b62210..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/ValuePropertyMatcher.java +++ /dev/null
@@ -1,51 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2010 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 - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.matcher; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher; -import org.eclipse.papyrus.sysml14.blocks.ValueType; -import org.eclipse.uml2.uml.AggregationKind; -import org.eclipse.uml2.uml.DataType; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * Test if current {@link Property} is a value. - */ -public class ValuePropertyMatcher implements IElementMatcher { - - /** - * {@inheritDoc} - */ - @Override - public boolean matches(EObject eObject) { - boolean isMatch = false; - if ((eObject instanceof Property) && !(eObject instanceof Port)) { - Property element = (Property) eObject; - // The property is necessary a composition and has a type - Type type = element.getType(); - if (type != null && (element.getAggregation() == AggregationKind.COMPOSITE_LITERAL)) { - - // Moreover its type has either to be a DataType or a ValueType - // (for performance avoid when possible to look for stereotype) - if (type instanceof DataType || UMLUtil.getStereotypeApplication(type, ValueType.class) != null) { - isMatch = true; - } - - - } - } - return isMatch; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/internal/SysML14ProfileMatcher.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/internal/SysML14ProfileMatcher.java deleted file mode 100644 index de6368b..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/matcher/internal/SysML14ProfileMatcher.java +++ /dev/null
@@ -1,59 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.matcher.internal; - -import java.util.ArrayList; -import java.util.List; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Profile; - -/** - * org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher - */ -public class SysML14ProfileMatcher implements IElementMatcher { - - /** - * {@inheritDoc} - */ - @Override - public boolean matches(EObject eObject) { - if (!(eObject instanceof Element)) { - return false; - } - Element element = (Element) eObject; - Model model = element.getModel(); - if (model == null) { - return false; - } - - EList<Profile> allAppliedProfiles = model.getAllAppliedProfiles(); - if (allAppliedProfiles!=null){ - List<String> appliedProfileByUri = new ArrayList<>(); - for (Profile appliedProfile : allAppliedProfiles) { - appliedProfileByUri.add(appliedProfile.getURI()); - } - - if (!appliedProfileByUri.contains(SysMLResource.PROFILE_URI)) { - return false; - } - } - return true; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/util/ConnectorUtil.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/util/ConnectorUtil.java deleted file mode 100644 index 0e6637c..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/util/ConnectorUtil.java +++ /dev/null
@@ -1,281 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2012, 2017 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: - * - * CEA LIST - Initial API and implementation - * Pauline DEVILLE (CEA LIST) - Bug 528159 nestedConnectorEnd in wrong order - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.util; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.papyrus.sysml14.blocks.Block; -import org.eclipse.papyrus.sysml14.blocks.NestedConnectorEnd; -import org.eclipse.uml2.uml.ConnectableElement; -import org.eclipse.uml2.uml.Connector; -import org.eclipse.uml2.uml.ConnectorEnd; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.StructuredClassifier; -import org.eclipse.uml2.uml.Type; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * Utility class for Connector - */ -public class ConnectorUtil { - - public static final UMLConnectorUtils umlUtility = new UMLConnectorUtils(); // TODO all methods should be static in an utility class - - /** - * the key used to store the nested path as parameter of the request. The value will be a List of {@link Property} - */ - public static final String NESTED_CONNECTOR_END_PATH = "connectorEndPath"; //$NON-NLS-1$ - - /** the separator used in the role path to distinguish the part. */ - public static final String PART_SEPARATOR = "."; //$NON-NLS-1$ - - /** allow to know if a string contains others characters than a-z A-Z 0-9 and _. */ - public static final String HAS_NO_WORD_CHAR_REGEX = "\\W+"; //$NON-NLS-1$ - - /** String used to delimit a name with contains special chars. */ - public static final String STRING_DELIMITER = "\'"; //$NON-NLS-1$ - - /** - * Utility class avoid instantiation. - * - */ - private ConnectorUtil() { - } - - /** - * Gets the encapsulated container. - * - * @param view - * the view - * @return the nearest encapsulated structure container or null - */ - public static View getEncapsulatedContainer(View view) { - View encapsulatedContainer = null; - - for (View containerView : umlUtility.getStructureContainers(view)) { - - if (view == containerView) { - continue; - } - - if ((view.getElement() instanceof Port) && (containerView.getChildren().contains(view))) { - continue; - } - - StructuredClassifier structuredClassifier = umlUtility.getStructuredClassifier(containerView); - Block block = UMLUtil.getStereotypeApplication(structuredClassifier, Block.class); - if (block!= null && block.isEncapsulated()) { - encapsulatedContainer = containerView; - break; - } - } - - return encapsulatedContainer; - } - - /** - * Test if an encapsulation crossing is required to connect the checked end to the opposite end. - * - * @param checkedEnd - * the checked end view. - * @param oppositeEnd - * the opposite end view. - * @return true if the gesture break encapsulation rule. - */ - public static boolean isCrossingEncapsulation(View checkedEnd, View oppositeEnd) { - boolean isCrossingEncapsulation = false; - - View encapsulatedContainer = getEncapsulatedContainer(checkedEnd); - if (encapsulatedContainer != null) { - View containerView = umlUtility.deduceViewContainer(checkedEnd, oppositeEnd); - List<View> containers = umlUtility.getStructureContainers(checkedEnd); - - if (containers.indexOf(encapsulatedContainer) < containers.indexOf(containerView)) { - isCrossingEncapsulation = true; - } - } - - return isCrossingEncapsulation; - } - - - /** - * Gets the role path. - * - * @param end - * the connector end - * @return the role path - * the path for the role of the connector end (without using label provider) - */ - public static final String getRolePath(final ConnectorEnd end) { - final NestedConnectorEnd nestedConnectorEnd = UMLUtil.getStereotypeApplication(end, NestedConnectorEnd.class); - final ConnectableElement role = end.getRole(); - final StringBuilder rolePath = new StringBuilder(); - if (role != null) { - if (nestedConnectorEnd != null) { - final List<Property> properties = nestedConnectorEnd.getPropertyPath(); - for (final Property current : properties) { - rolePath.append(UMLConnectorUtils.getNameWithQuotes(current)); - rolePath.append(UMLConnectorUtils.PART_SEPARATOR); - } - } else { - // when the stereotype is applied, the Property for partWithPort is included in the stereotype#path - final Property partWithPort = end.getPartWithPort(); - if (partWithPort != null) { - rolePath.append(UMLConnectorUtils.getNameWithQuotes(partWithPort)); - rolePath.append(UMLConnectorUtils.PART_SEPARATOR); - } - } - rolePath.append(UMLConnectorUtils.getNameWithQuotes(role)); - } - - return rolePath.toString(); - } - - - - /** - * Checks if is crossing encapsulation. - * - * @param nestedPath - * the nested path - * @return true, if is crossing encapsulation <code>true</code> if we are breaking encapsulation (see SysML rules in SysML Standard 1.2, p.44): - * isEncapsulated: Boolean [0..1] If true, then the block is treated as a black box; a part typed by this black box can only be connected - * via its ports or directly to its outer boundary. If false, or if a value is not present, then connections can be established to - * elements of its internal structure via deep-nested connector ends. - */ - public static final boolean isCrossingEncapuslation(final List<Property> nestedPath) { - for (final ConnectableElement current : nestedPath) { - final Type type = current.getType(); - if (type != null) { - final Block block = UMLUtil.getStereotypeApplication(type, Block.class); - if (block != null && block.isEncapsulated()) { - return true; - } - } - } - return false; - } - - /** - * Can display existing connector between views according to nested paths. - * - * @param connector - * a connector existing in the model - * @param sourceView - * a potential source for this connector - * @param targetView - * a potential target for this connector - * @return true, if successful <code>true</code> if displaying the existing connector between this source and this target view is correct - */ - public static boolean canDisplayExistingConnectorBetweenViewsAccordingToNestedPaths(final Connector connector, final View sourceView, final View targetView) { - final List<Property> sourcePath = umlUtility.getNestedPropertyPath(sourceView, targetView); - final List<Property> targetPath = umlUtility.getNestedPropertyPath(targetView, sourceView); - boolean hasWantedPath = true; - for (final ConnectorEnd end : connector.getEnds()) { - if (sourceView != null && end.getRole() == sourceView.getElement()) { - hasWantedPath = hasWantedPath && haveSamePath(sourcePath, end); - } else if (targetView != null && end.getRole() == targetView.getElement()) { - hasWantedPath = hasWantedPath && haveSamePath(targetPath, end); - } - } - return hasWantedPath; - } - - - - /** - * Have same path. - * - * @param wantedPath - * the wanted nested path for the end - * @param end - * an end - * @return true, if successful - * true if the end has as nested path THE wanted path - */ - protected static boolean haveSamePath(final List<Property> wantedPath, final ConnectorEnd end) { - NestedConnectorEnd nestedConnectorEnd = UMLUtil.getStereotypeApplication(end, NestedConnectorEnd.class); - if (nestedConnectorEnd != null) { - return nestedConnectorEnd.getPropertyPath().equals(wantedPath); - } else { - return wantedPath.isEmpty(); - } - } - - - - - /** - * Filter connectors that have this property in their <NestedConnectorEnd> property path. - * - * @param connectors - * @param part - * @return connectors that have this property in their <NestedConnectorEnd> property path. - */ - public static List<Connector> filterConnectorByPropertyInNestedConnectorEnd(List<Connector> connectors, Property part) { - List<Connector> res = new ArrayList<>(); - for (Connector connector : connectors) { - EList<ConnectorEnd> ends = connector.getEnds(); - for (ConnectorEnd connectorEnd : ends) { - NestedConnectorEnd stereotypeApplication = UMLUtil.getStereotypeApplication(connectorEnd, NestedConnectorEnd.class); - if (stereotypeApplication != null) { - EList<Property> propertyPath = stereotypeApplication.getPropertyPath(); - for (Property property : propertyPath) { - if (property.equals(part)) { - res.add(connector); - } - } - } - } - } - return res; - } - - /** - * Inverse of property path from the view to the class - * - * [SysML 1.4 - 8.3.2.9]: "The ordering of properties is from a property of the context block, through a - * property of each intermediate block that types the preceding property, ending in a property with a type - * that owns or inherits the fully nested property." - * - * @param clazz - * @param view - * @return - */ - public static List<Property> getNestedPath(org.eclipse.uml2.uml.Class clazz, View view) { - List<Property> propertyPath = new ArrayList<>(); - View currentView = ViewUtil.getContainerView(view); - // get the path from view to clazz - while (!clazz.equals(currentView.getElement())) { - EObject property = currentView.getElement(); - if (property instanceof Property) { - propertyPath.add((Property) property); - } - currentView = ViewUtil.getContainerView(currentView); - } - Collections.reverse(propertyPath); - return propertyPath; - } - - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/util/PropertyPathUtil.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/util/PropertyPathUtil.java deleted file mode 100644 index 7870b83..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/util/PropertyPathUtil.java +++ /dev/null
@@ -1,95 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Patrick Tessier (CEA LIST) - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.service.types.util; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -import org.eclipse.gmf.runtime.notation.Shape; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.Property; - -/** - * This class is used to calculus property path and block context in the context of SysML - * To do that the view inside the diagram is needed. - */ -public final class PropertyPathUtil { - - /** - * Constructor. - * - */ - private PropertyPathUtil() { - } - - /** - * - * @param view - * the current view - * @return the composite context from a view (it look for the first representation of a classifier) - */ - public static Classifier getCompositeContext(View view) { - View currentView = view; - while (currentView != null) { - if (currentView instanceof Shape && currentView.getElement() instanceof Classifier) { - return (Classifier) currentView.getElement(); - } - currentView = (View) currentView.eContainer(); - } - return null; - } - - /** - * - * @param view - * the view that references an element in the diagram - * @return a list of properties defined by hierarchy of view, maybe an empty list - */ - public static List<Property> getPropertyListFromView(View view) { - List<Property> propertiesList = new ArrayList<>(); - View currentView = view; - while (currentView != null) { - if (currentView instanceof Shape && currentView.getElement() instanceof Property) { - propertiesList.add((Property) currentView.getElement()); - } - currentView = (View) currentView.eContainer(); - } - return propertiesList; - } - - /** - * A series of properties that identifies the source of the directed relationship in the context of the block specified by the - * sourceContext property. The ordering of properties is from a property of the sourceContext block, through a property - * of each intermediate block that types the preceding property, ending in a property with a type that owns or inherits the - * source of the directed relationship. The source is not included in the propertyPath list. The same property might - * appear more than once because a block can own a property with the same or specialized block as a type. - * - * @param SourceView - * the view that represent the property - * - * @return the property path as defined in SysML, maybe an emptylist - */ - public static List<Property> getPropertyPath(View sourceView) { - List<Property> propertyList = getPropertyListFromView(sourceView); - // remove the first property - if (!propertyList.isEmpty()) { - propertyList.remove(0); - Collections.reverse(propertyList); - } - return propertyList; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/util/SysMLServiceTypeUtil.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/util/SysMLServiceTypeUtil.java deleted file mode 100644 index 7e713a6..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/util/SysMLServiceTypeUtil.java +++ /dev/null
@@ -1,197 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.service.types.util; - -import org.eclipse.gmf.runtime.emf.type.core.ClientContextManager; -import org.eclipse.gmf.runtime.emf.type.core.IClientContext; -import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils; -import org.eclipse.papyrus.infra.services.edit.service.IElementEditServiceProvider; - -/** - * List all SysML 1.4 element type ids - */ -public final class SysMLServiceTypeUtil { - - /** - * Say if an element is know in the SysML 1.4 context - * @param elementTypeId - * @return - */ - public static boolean isKnown(String elementTypeId) { - IClientContext context = ClientContextManager.getInstance().getClientContext(SYSML14_CONTEXT_ID); - IElementEditServiceProvider editServiceProvider = ElementEditServiceUtils.getEditServiceProvider(context); - return editServiceProvider.isKnownElementType(elementTypeId); - } - - public static final String SYSML14_CONTEXT_ID = "org.eclipse.papyrus.infra.services.edit.TypeContext"; //$NON-NLS-1$ - //"org.eclipse.papyrus.sysml.architecture.SysML14"; //$NON-NLS-1$ - - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_VALUETYPE = "org.eclipse.papyrus.SysML14.ValueType"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_DISTRIBUTEDPROPERTY = "org.eclipse.papyrus.SysML14.DistributedProperty"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_CONNECTORPROPERTY = "org.eclipse.papyrus.SysML14.ConnectorProperty"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_PARTICIPANTPROPERTY = "org.eclipse.papyrus.SysML14.ParticipantProperty"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_BINDINGCONNECTOR = "org.eclipse.papyrus.SysML14.BindingConnector"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_BLOCK = "org.eclipse.papyrus.SysML14.Block"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_PROPERTYSPECIFICTYPE = "org.eclipse.papyrus.SysML14.PropertySpecificType"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_NESTEDCONNECTOREND_CONNECTOREND = "org.eclipse.papyrus.SysML14.NestedConnectorEnd_ConnectorEnd"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_NESTEDCONNECTOREND_ELEMENT = "org.eclipse.papyrus.SysML14.NestedConnectorEnd_Element"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_DIRECTEDRELATIONSHIPPROPERTYPATH = "org.eclipse.papyrus.SysML14.DirectedRelationshipPropertyPath"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_ELEMENTPROPERTYPATH = "org.eclipse.papyrus.SysML14.ElementPropertyPath"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_ENDPATHMULTIPLICITY = "org.eclipse.papyrus.SysML14.EndPathMultiplicity"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_BOUNDREFERENCE = "org.eclipse.papyrus.SysML14.BoundReference"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_ADJUNCTPROPERTY = "org.eclipse.papyrus.SysML14.AdjunctProperty"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_CLASSIFIERBEHAVIORPROPERTY = "org.eclipse.papyrus.SysML14.ClassifierBehaviorProperty"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_ITEMFLOW = "org.eclipse.papyrus.SysML14.ItemFlow"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_FLOWPROPERTY = "org.eclipse.papyrus.SysML14.FlowProperty"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_FULLPORT = "org.eclipse.papyrus.SysML14.FullPort"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_INTERFACEBLOCK = "org.eclipse.papyrus.SysML14.InterfaceBlock"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_PROXYPORT = "org.eclipse.papyrus.SysML14.ProxyPort"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_ACCEPTCHANGESTRUCTURALFEATUREEVENTACTION = "org.eclipse.papyrus.SysML14.AcceptChangeStructuralFeatureEventAction"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_CHANGESTRUCTURALFEATUREEVENT = "org.eclipse.papyrus.SysML14.ChangeStructuralFeatureEvent"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_DIRECTEDFEATURE = "org.eclipse.papyrus.SysML14.DirectedFeature"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_INVOCATIONONNESTEDPORTACTION_INVOCATIONACTION = "org.eclipse.papyrus.SysML14.InvocationOnNestedPortAction_InvocationAction"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_INVOCATIONONNESTEDPORTACTION_ELEMENT = "org.eclipse.papyrus.SysML14.InvocationOnNestedPortAction_Element"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_TRIGGERONNESTEDPORT_TRIGGER = "org.eclipse.papyrus.SysML14.TriggerOnNestedPort_Trigger"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_TRIGGERONNESTEDPORT_ELEMENT = "org.eclipse.papyrus.SysML14.TriggerOnNestedPort_Element"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_OVERWRITE = "org.eclipse.papyrus.SysML14.Overwrite"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_CONTROLOPERATOR_BEHAVIOR = "org.eclipse.papyrus.SysML14.ControlOperator_Behavior"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_CONTROLOPERATOR_OPERATION = "org.eclipse.papyrus.SysML14.ControlOperator_Operation"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_RATE_ACTIVITYEDGE = "org.eclipse.papyrus.SysML14.Rate_ActivityEdge"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_RATE_PARAMETER = "org.eclipse.papyrus.SysML14.Rate_Parameter"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_NOBUFFER = "org.eclipse.papyrus.SysML14.NoBuffer"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_DISCRETE_ACTIVITYEDGE = "org.eclipse.papyrus.SysML14.Discrete_ActivityEdge"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_DISCRETE_PARAMETER = "org.eclipse.papyrus.SysML14.Discrete_Parameter"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_CONTINUOUS_ACTIVITYEDGE = "org.eclipse.papyrus.SysML14.Continuous_ActivityEdge"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_CONTINUOUS_PARAMETER = "org.eclipse.papyrus.SysML14.Continuous_Parameter"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_PROBABILITY_ACTIVITYEDGE = "org.eclipse.papyrus.SysML14.Probability_ActivityEdge"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_PROBABILITY_PARAMETERSET = "org.eclipse.papyrus.SysML14.Probability_ParameterSet"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_OPTIONAL = "org.eclipse.papyrus.SysML14.Optional"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_RATIONALE = "org.eclipse.papyrus.SysML14.Rationale"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_VIEW = "org.eclipse.papyrus.SysML14.View"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_CONFORM = "org.eclipse.papyrus.SysML14.Conform"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_PROBLEM = "org.eclipse.papyrus.SysML14.Problem"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_VIEWPOINT = "org.eclipse.papyrus.SysML14.Viewpoint"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_STAKEHOLDER = "org.eclipse.papyrus.SysML14.Stakeholder"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_EXPOSE = "org.eclipse.papyrus.SysML14.Expose"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_ELEMENTGROUP = "org.eclipse.papyrus.SysML14.ElementGroup"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_CONSTRAINTBLOCK = "org.eclipse.papyrus.SysML14.ConstraintBlock"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_ALLOCATEACTIVITYPARTITION = "org.eclipse.papyrus.SysML14.AllocateActivityPartition"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_ALLOCATE_ABSTRACTION = "org.eclipse.papyrus.SysML14.Allocate_Abstraction"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_ALLOCATE_DIRECTEDRELATIONSHIP = "org.eclipse.papyrus.SysML14.Allocate_DirectedRelationship"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_DERIVEREQT_ABSTRACTION = "org.eclipse.papyrus.SysML14.DeriveReqt_Abstraction"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_DERIVEREQT_DIRECTEDRELATIONSHIP = "org.eclipse.papyrus.SysML14.DeriveReqt_DirectedRelationship"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_COPY_ABSTRACTION = "org.eclipse.papyrus.SysML14.Copy_Abstraction"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_COPY_DIRECTEDRELATIONSHIP = "org.eclipse.papyrus.SysML14.Copy_DirectedRelationship"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_SATISFY_ABSTRACTION = "org.eclipse.papyrus.SysML14.Satisfy_Abstraction"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_SATISFY_DIRECTEDRELATIONSHIP = "org.eclipse.papyrus.SysML14.Satisfy_DirectedRelationship"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_TESTCASE_OPERATION = "org.eclipse.papyrus.SysML14.TestCase_Operation"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_TESTCASE_BEHAVIOR = "org.eclipse.papyrus.SysML14.TestCase_Behavior"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_REQUIREMENT = "org.eclipse.papyrus.SysML14.Requirement"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_VERIFY_ABSTRACTION = "org.eclipse.papyrus.SysML14.Verify_Abstraction"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_VERIFY_DIRECTEDRELATIONSHIP = "org.eclipse.papyrus.SysML14.Verify_DirectedRelationship"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_TRACE_ABSTRACTION = "org.eclipse.papyrus.SysML14.Trace_Abstraction"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_TRACE_DIRECTEDRELATIONSHIP = "org.eclipse.papyrus.SysML14.Trace_DirectedRelationship"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_REFINE_ABSTRACTION = "org.eclipse.papyrus.SysML14.Refine_Abstraction"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_REFINE_DIRECTEDRELATIONSHIP = "org.eclipse.papyrus.SysML14.Refine_DirectedRelationship"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_FLOWPORT = "org.eclipse.papyrus.SysML14.FlowPort"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_FLOWSPECIFICATION = "org.eclipse.papyrus.SysML14.FlowSpecification"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_UNIT = "org.eclipse.papyrus.SysML14.Unit"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_QUANTITYKIND = "org.eclipse.papyrus.SysML14.QuantityKind"; //$NON-NLS-1$ - - // List here the elementype present in the extension element type set - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_CONSTRAINTPROPERTY = "org.eclipse.papyrus.SysML14.ConstraintProperty"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_REFERENCE = "org.eclipse.papyrus.SysML14.Reference"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_PART = "org.eclipse.papyrus.SysML14.Part"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_VALUE = "org.eclipse.papyrus.SysML14.Value"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_ACTORPART = "org.eclipse.papyrus.SysML14.ActorPart"; //$NON-NLS-1$ - - private SysMLServiceTypeUtil() { - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/util/UMLConnectorUtils.java b/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/util/UMLConnectorUtils.java deleted file mode 100644 index db93aa6..0000000 --- a/core/org.eclipse.papyrus.sysml14.service.types/src/org/eclipse/papyrus/sysml14/service/types/util/UMLConnectorUtils.java +++ /dev/null
@@ -1,266 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2012 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: - * - * CEA LIST - Initial API and implementation - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - 508337 - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.service.types.util; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.regex.Matcher; -import java.util.regex.Pattern; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.uml2.uml.ConnectableElement; -import org.eclipse.uml2.uml.Connector; -import org.eclipse.uml2.uml.ConnectorEnd; -import org.eclipse.uml2.uml.NamedElement; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; -import org.eclipse.uml2.uml.TypedElement; - -/** - * Utility class for Connector edit helpers. - */ -// TODO : this class should be move to uml core -public class UMLConnectorUtils extends org.eclipse.papyrus.uml.service.types.utils.ConnectorUtils { - - /** - * the key used to store the nested path as parameter of the request. The value will be a List of {@link Property} - */ - public static final String NESTED_CONNECTOR_END_PATH = "connectorEndPath"; //$NON-NLS-1$ - - /** the separator used in the role path to distinguish the part. */ - public static final String PART_SEPARATOR = "."; //$NON-NLS-1$ - - /** allow to know if a string contains others characters than a-z A-Z 0-9 and _. */ - public static final String HAS_NO_WORD_CHAR_REGEX = "\\W+"; //$NON-NLS-1$ - - /** String used to delimit a name with contains special chars. */ - public static final String STRING_DELIMITER = "\'"; //$NON-NLS-1$ - - /** - * Get the path of structure views crossed by the checked end. - * - * @param checkedEnd - * the checked end view. - * @param oppositeEnd - * the opposite end view. - * @return the list of crossed structure views. - */ - public List<View> getNestedPath(View checkedEnd, View oppositeEnd) { - List<View> isNestedConnectableElement = new ArrayList<>(); - - View nearestContainer = new UMLConnectorUtils().getNearestStructureContainer(checkedEnd); - if (nearestContainer != null) { - View containerView = new UMLConnectorUtils().deduceViewContainer(checkedEnd, oppositeEnd); - List<View> containers = new UMLConnectorUtils().getStructureContainers(checkedEnd); - - if (containers.indexOf(nearestContainer) < containers.indexOf(containerView)) { - isNestedConnectableElement = containers.subList(containers.indexOf(nearestContainer), containers.indexOf(containerView)); - } - } - - // nested path is taken from the top block to the deepest property ==> collection must be reverted - Collections.reverse(isNestedConnectableElement); - - return isNestedConnectableElement; - } - - /** - * Get the path of structure views crossed by the checked end. - * - * @param checkedEnd - * the checked end view. - * @param oppositeEnd - * the opposite end view. - * @return the list of crossed structure views. - */ - public List<Property> getNestedPropertyPath(View checkedEnd, View oppositeEnd) { - List<Property> nestedPropertyPath = new ArrayList<>(); - List<View> nestedPath = getNestedPath(checkedEnd, oppositeEnd); - - for (View view : nestedPath) { - if ((view.getElement() != null) && (view.getElement() instanceof Property)) { - nestedPropertyPath.add((Property) view.getElement()); - } - } - - // if end is a port, and the list is not empty, add the property from the check view in the list - if (!nestedPropertyPath.isEmpty() && checkedEnd.getElement() instanceof Port) { - Property partWithPort = getPartWithPort(checkedEnd, oppositeEnd); - if (partWithPort != null) { - nestedPropertyPath.add(partWithPort); - } - } - - return nestedPropertyPath; - } - - /** - * Test if the checked end is nested (means it cross StructuredClassifier borders). - * - * @param checkedEnd - * the checked end view. - * @param oppositeEnd - * the opposite end view. - * @return true if the checked end is nested. - */ - public boolean isNestedConnectableElement(View checkedEnd, View oppositeEnd) { - return !(getNestedPath(checkedEnd, oppositeEnd).isEmpty()); - } - - /** - * Gets the nearest structure container. - * - * @param view - * the view - * @return the nearest structure container or null - */ - public View getNearestStructureContainer(View view) { - View nearestStructureContainer = null; - for (View containerView : getStructureContainers(view)) { - if (view == containerView) { - continue; - } - nearestStructureContainer = containerView; - break; - } - return nearestStructureContainer; - } - - /** - * Gets the name with quotes. - * - * @param property - * a property - * @return the name with quotes - * the property name with name delimiter if it is required - */ - public static final String getNameWithQuotes(final NamedElement property) { - final String partName = property.getName(); - final StringBuilder partNameBuffer = new StringBuilder(); - final Pattern pattern = Pattern.compile(UMLConnectorUtils.HAS_NO_WORD_CHAR_REGEX); - final Matcher matcher = pattern.matcher(partName); - boolean mustHaveQuote = false; - while (matcher.find() && !mustHaveQuote) { - mustHaveQuote = true; - } - if (mustHaveQuote) { - partNameBuffer.append(UMLConnectorUtils.STRING_DELIMITER); - partNameBuffer.append(partName); - partNameBuffer.append(UMLConnectorUtils.STRING_DELIMITER); - } else { - partNameBuffer.append(partName); - } - - return partNameBuffer.toString(); - } - - /** - * Can display existing connector between views according to partWithPort. - * - * @param connector - * the connector - * @param sourceView - * the source view - * @param targetView - * the target view - * @return true, if successful - */ - public boolean canDisplayExistingConnectorBetweenViewsAccordingToPartWithPort(final Connector connector, final View sourceView, final View targetView) { - Property partWithPort = getPartWithPortFromConnector(connector); - if (partWithPort != null) { - String partWithPortName = partWithPort.getName(); - Type partWithPortType = partWithPort.getType(); - EObject sourceContainer = ((View) sourceView.eContainer()).getElement(); - EObject targetContainer = ((View) targetView.eContainer()).getElement(); - - boolean sameSourceType = false; - if (sourceContainer instanceof TypedElement) { - sameSourceType = partWithPortType.conformsTo(((TypedElement) sourceContainer).getType()); - } - boolean sameSourceName = partWithPortName.equals(((NamedElement) sourceContainer).getName()); - - boolean sameTargetType = false; - if (targetContainer instanceof TypedElement) { - sameTargetType = partWithPortType.conformsTo(((TypedElement) targetContainer).getType()); - } - boolean sametargetName = partWithPortName.equals(((NamedElement) targetContainer).getName()); - - return (sameSourceType && sameSourceName) || (sameTargetType && sametargetName); - } - return true; - } - - /** - * Gets the partWithPort from the connector. - * - * @param connector - * the connector - * @return the part with port from connector - */ - public Property getPartWithPortFromConnector(final Connector connector) { - if (connector != null && connector.getEnds() != null) { - for (final ConnectorEnd end : connector.getEnds()) { - Property partWithPort = end.getPartWithPort(); - if (partWithPort != null) { - return partWithPort; - } - } - } - return null; - } - - /** - * Test if the relationship creation is allowed. - * - * @deprecated in 0.10.1 (will be removed in 0.11.0) - * - * @param source - * the relationship source can be null - * @param target - * the relationship target can be null - * @param sourceView - * the relationship graphical source can be null - * @param targetView - * the relationship graphical target can be null - * @return true if the creation is allowed - */ - @Deprecated // test creation should be done in approve request - public static boolean canCreate(EObject source, EObject target, View sourceView, View targetView) { - - if ((source != null) && !(source instanceof ConnectableElement)) { - return false; - } - - if ((target != null) && !(target instanceof ConnectableElement)) { - return false; - } - - if ((sourceView != null) && (targetView != null)) { - // Cannot create a connector from a view representing a Part to its own Port (or the opposite) - if ((sourceView.getChildren().contains(targetView)) || (targetView.getChildren().contains(sourceView))) { - return false; - } - - // Cannot connect a Part to one of its (possibly indirect) containment, must connect to one of its Port. - if (new UMLConnectorUtils().getStructureContainers(sourceView).contains(targetView) || new UMLConnectorUtils().getStructureContainers(targetView).contains(sourceView)) { - return false; - } - } - return true; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.tests/.project b/core/org.eclipse.papyrus.sysml14.tests/.project deleted file mode 100644 index a708dbe..0000000 --- a/core/org.eclipse.papyrus.sysml14.tests/.project +++ /dev/null
@@ -1,40 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.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> - <buildCommand> - <name>edu.umd.cs.findbugs.plugin.eclipse.findbugsBuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - <nature>edu.umd.cs.findbugs.plugin.eclipse.findbugsNature</nature> - </natures> -</projectDescription>
diff --git a/core/org.eclipse.papyrus.sysml14.tests/META-INF/MANIFEST.MF b/core/org.eclipse.papyrus.sysml14.tests/META-INF/MANIFEST.MF deleted file mode 100644 index 57c4811..0000000 --- a/core/org.eclipse.papyrus.sysml14.tests/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,23 +0,0 @@ -Bundle-ActivationPolicy: lazy -Manifest-Version: 1.0 -Fragment-Host: org.eclipse.papyrus.sysml14;bundle-version="1.0.0" -Export-Package: org.eclipse.papyrus.sysml14.tests, - org.eclipse.papyrus.sysml14.tests.blocks, - org.eclipse.papyrus.sysml14.tests.constraintblocks, - org.eclipse.papyrus.sysml14.tests.deprecatedelements, - org.eclipse.papyrus.sysml14.tests.library, - org.eclipse.papyrus.sysml14.tests.modelelements, - org.eclipse.papyrus.sysml14.tests.portsandflows, - org.eclipse.papyrus.sysml14.tests.requirements, - org.eclipse.papyrus.sysml14.tests.resources, - org.eclipse.papyrus.sysml14.tests.util -Bundle-Vendor: %Bundle-Vendor -Bundle-Version: 1.2.0.qualifier -Bundle-Name: %Bundle-Name -Bundle-Description: %Bundle-Description -Bundle-Localization: plugin -Bundle-ManifestVersion: 2 -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.tests -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Require-Bundle: org.junit;bundle-version="[4.11.0,5.0.0)" -
diff --git a/core/org.eclipse.papyrus.sysml14.tests/plugin.properties b/core/org.eclipse.papyrus.sysml14.tests/plugin.properties deleted file mode 100644 index dea1b87..0000000 --- a/core/org.eclipse.papyrus.sysml14.tests/plugin.properties +++ /dev/null
@@ -1,13 +0,0 @@ -################################################################################# -# Copyright (c) 2015 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: -# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation -################################################################################## -Bundle-Name=Papyrus SysML 1.4 Profile Tests -Bundle-Description=This plug-in contains the tests for SyML 1.4 profile -Bundle-Vendor=Eclipse Modeling Project \ No newline at end of file
diff --git a/core/org.eclipse.papyrus.sysml14.tests/pom.xml b/core/org.eclipse.papyrus.sysml14.tests/pom.xml deleted file mode 100644 index 4526fcf..0000000 --- a/core/org.eclipse.papyrus.sysml14.tests/pom.xml +++ /dev/null
@@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" - xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <modelVersion>4.0.0</modelVersion> - <parent> - <artifactId>org.eclipse.papyrus.sysml14.core</artifactId> - <groupId>org.eclipse.papyrus.sysml</groupId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.tests</artifactId> - <packaging>eclipse-test-plugin</packaging> - <name>org.eclipse.papyrus.sysml14.tests</name> - <description>This plug-in contains the unit tests for SyML 1.4 profile.</description> -</project>
diff --git a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/CDOIntegration.java b/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/CDOIntegration.java deleted file mode 100644 index 94c6a29..0000000 --- a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/CDOIntegration.java +++ /dev/null
@@ -1,134 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.tests; - -import org.eclipse.emf.common.util.TreeIterator; -import org.eclipse.emf.ecore.EAnnotation; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EClassifier; -import org.eclipse.emf.ecore.EGenericType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.papyrus.sysml14.sysmlPackage; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.junit.Test; - -/** - * This class is here to check that the profile will work correctly with CDO - * The solution to have something working is: - * - adding a DummyElement in the .ecore (not in the profile) - * - it will generate the correct code - * - this test will catch any regression - * - * This is clearly not a "good" solution and is open to improvement, but: - * - avoid changing the profile (Keep the normative file) - * - avoid using/maintain a custom generator - * - */ -@SuppressWarnings("nls") -public class CDOIntegration { - - - @Test - public void testBlock() { - checkCrossResourceURIs(BlocksPackage.eINSTANCE); - checkCrossResourceURIs(sysmlPackage.eINSTANCE); - } - - // This method is copy-pasted from CDOUTIL (do not modify it) - public static void checkCrossResourceURIs(EPackage ePackage) - { - TreeIterator<EObject> it = ePackage.eAllContents(); - while (it.hasNext()) - { - EObject e = it.next(); - - if (e instanceof EAnnotation) - { - // we don't need to validate the structure of annotations. The applications that - // define annotations will have to take what they can get - it.prune(); - } - else - { - for (EObject r : e.eCrossReferences()) - { - EObject refTarget = null; - - if (r.eIsProxy()) - { - String msg = "Package '%s' contains unresolved proxy '%s'"; - msg = String.format(msg, ePackage.getNsURI(), ((InternalEObject)r).eProxyURI()); - throw new IllegalStateException(msg); - } - - if (r.eResource() != null && r.eResource() != e.eResource()) - { - // It's a ref into another resource - EPackage pkg = null; - if (r instanceof EClassifier) - { - refTarget = r; - pkg = ((EClassifier)r).getEPackage(); - } - else if (r instanceof EStructuralFeature) - { - refTarget = r; - EStructuralFeature feature = (EStructuralFeature)r; - EClass ownerClass = (EClass)feature.eContainer(); - pkg = ownerClass.getEPackage(); - } - else if (r instanceof EGenericType) - { - EGenericType genType = (EGenericType)r; - EClassifier c = genType.getEClassifier(); - if (c != null) - { - refTarget = c; - pkg = c.getEPackage(); - } - } - - if (pkg == null) - { - continue; - } - - while (pkg.getESuperPackage() != null) - { - pkg = pkg.getESuperPackage(); - } - - Resource eResource = refTarget.eResource(); - String resourceURI = eResource.getURI().toString(); - if (!resourceURI.equals(pkg.getNsURI())) - { - String msg = "URI of the resource (%s) does not match the nsURI (%s) of the top-level package;%n" - + "this can be fixed by calling Resource.setURI(URI) after loading the packages,%n" - + "or by configuring a URI mapping from nsURI's to location URI's before loading the packages,%n" - + "and then loading them with their nsURI's"; - msg = String.format(msg, resourceURI, pkg.getNsURI()); - throw new IllegalStateException(msg); - } - } - } - } - } - } - - -}
diff --git a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/SysmlProfileTest.java b/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/SysmlProfileTest.java deleted file mode 100644 index 6ff73aa..0000000 --- a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/SysmlProfileTest.java +++ /dev/null
@@ -1,42 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.tests; - -import org.eclipse.uml2.uml.UMLPlugin; -import org.junit.Assert; -import org.junit.Test; - -/** - * Basic test for SysML 1.4 profile - * - * @author Benoit Maggi - */ -@SuppressWarnings("nls") -public class SysmlProfileTest { - - /** - * Check that we have a profile registered here : - * "http://www.eclipse.org/papyrus/sysml/1.4/SysML" - */ - @Test - public void testProfilRegistration() { - Assert.assertNotNull( - UMLPlugin.getEPackageNsURIToProfileLocationMap().get("http://www.eclipse.org/papyrus/sysml/1.4/SysML")); - } - - - - - -}
diff --git a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/blocks/BlockTest.java b/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/blocks/BlockTest.java deleted file mode 100644 index 3e9f2c6..0000000 --- a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/blocks/BlockTest.java +++ /dev/null
@@ -1,158 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * - * 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: - * Francois Le Fevre (CEA LIST) francois.le-fevre@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.tests.blocks; - -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.papyrus.sysml14.blocks.Block; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.uml2.uml.AggregationKind; -import org.eclipse.uml2.uml.Association; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Before; -import org.junit.Test; - -/** - * A test case for the model object '<em><b>Block</b></em>'. - * - * <p> - * The following features are tested: - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.Block#getReferences <em>References</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.Block#getParts <em>Parts</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.Block#getFlowProperties <em>FlowProperties</em>}</li> - * </ul> - * </p> - */ -@SuppressWarnings("nls") -public class BlockTest { - - private Block owningAgregationBlock=null; - - private Block owningCompositionBlock=null; - - private Block flowPropertiesBlock=null; - - /** - * @see junit.framework.TestCase#setUp() - */ - @Before - public void setUp() { - // Prepare Model test - Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - StereotypeApplicationHelper stereotypeApplicationHelper = StereotypeApplicationHelper.getInstance(null); - /* - * create an association - */ - Class owningAgregationBlockClass1=model.createOwnedClass("Block1", false); - owningAgregationBlock = (Block) stereotypeApplicationHelper.applyStereotype(owningAgregationBlockClass1, BlocksPackage.eINSTANCE.getBlock()); - - Class ownedBlockClass2=model.createOwnedClass("Block2", false); - stereotypeApplicationHelper.applyStereotype(ownedBlockClass2, BlocksPackage.eINSTANCE.getBlock()); - - Property p1Inblock1 = owningAgregationBlockClass1.createOwnedAttribute("P1", ownedBlockClass2); - - Association associationAgregation = UMLFactory.eINSTANCE.createAssociation(); - Property p1InAsso = associationAgregation.createOwnedEnd("P1", owningAgregationBlockClass1); - associationAgregation.getMemberEnds().add(p1Inblock1); - associationAgregation.getMemberEnds().add(p1InAsso); - - p1Inblock1.setAggregation(AggregationKind.SHARED_LITERAL); - p1InAsso.setAggregation(AggregationKind.NONE_LITERAL); - - associationAgregation.setPackage(model); - - /* - * create a composition - */ - Class owningCompositionBlockClass3 = model.createOwnedClass("Block3", false); - owningCompositionBlock = (Block) stereotypeApplicationHelper.applyStereotype(owningCompositionBlockClass3, BlocksPackage.eINSTANCE.getBlock()); - - Property p1Inblock3 = owningCompositionBlockClass3.createOwnedAttribute("P1", ownedBlockClass2); - - Association compositionAssociation = UMLFactory.eINSTANCE.createAssociation(); - Property p1InAsso3 = compositionAssociation.createOwnedEnd("P1", owningCompositionBlockClass3); - compositionAssociation.getMemberEnds().add(p1Inblock3); - compositionAssociation.getMemberEnds().add(p1InAsso3); - - p1Inblock3.setAggregation(AggregationKind.COMPOSITE_LITERAL); - p1InAsso3.setAggregation(AggregationKind.NONE_LITERAL); - - compositionAssociation.setPackage(model); - - /* - * create a flow property and add it to the Block - */ - Class flowPropertyClass = model.createOwnedClass("FPClass1", false); - flowPropertiesBlock = (Block) stereotypeApplicationHelper.applyStereotype(flowPropertyClass, BlocksPackage.eINSTANCE.getBlock()); - Property p0 = flowPropertyClass.createOwnedAttribute("p0", null); - StereotypeApplicationHelper.getInstance(null).applyStereotype(p0, PortsandflowsPackage.eINSTANCE.getFlowProperty()); - } - - /** - * Tests the '{@link org.eclipse.papyrus.sysml14.blocks.Block#getReferences() - * <em>Reference</em>}' feature getter. - * @see org.eclipse.papyrus.sysml14.blocks.Block#getReferences() - */ - @Test - public void testGetReferences() { - /* - * Test if association Aggregation is operational - */ - Assert.assertNotNull("References should not be null", owningAgregationBlock.getReferences()); - Assert.assertEquals("References size should be 1", 1,owningAgregationBlock.getReferences().size()); - /* - * Test if association Composition is not interfering - */ - Assert.assertNotNull("References should not be null", owningCompositionBlock.getReferences()); - Assert.assertEquals("References size should be 0", 0,owningCompositionBlock.getReferences().size()); - - } - - /** - * Tests the '{@link org.eclipse.papyrus.sysml14.blocks.Block#getParts() - * <em>Part</em>}' feature getter. - * @see org.eclipse.papyrus.sysml14.blocks.Block#getParts() - */ - @Test - public void testGetParts() { - /* - * Test if association Composition is not interfering - */ - Assert.assertNotNull("References should not be null", owningCompositionBlock.getParts()); - Assert.assertEquals("References size should be 1", 1,owningCompositionBlock.getParts().size()); - - } - - - /** - * Tests the '{@link org.eclipse.papyrus.sysml14.blocks.Block#getFlowProperties() - * <em>FlowProperty</em>}' feature getter. - * @see org.eclipse.papyrus.sysml14.blocks.Block#getFlowProperties() - */ - @Test - public void testGetFlowProperties() { - Assert.assertNotNull("FlowProperties should not be null", flowPropertiesBlock.getFlowProperties()); - Assert.assertEquals("FlowProperties size should be 1", 1, flowPropertiesBlock.getFlowProperties().size()); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/blocks/BoundReferenceTest.java b/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/blocks/BoundReferenceTest.java deleted file mode 100644 index d4051e1..0000000 --- a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/blocks/BoundReferenceTest.java +++ /dev/null
@@ -1,95 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - write the test - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.tests.blocks; - - -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.blocks.BoundReference; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Connector; -import org.eclipse.uml2.uml.ConnectorEnd; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Before; -import org.junit.Test; -/** - * A test case for the model object '<em><b>BoundReference</b></em>'. - * See the requirement <b>{@papyrus.req org.eclipse.papyrus.sysml14#Req016}</b>. - * <p> - * The following features are tested: - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.BoundReferenceTest#testGetBindingPath <em>BindingPath</em>}</li> - * </ul> - * </p> - */ -@SuppressWarnings("nls") -public class BoundReferenceTest { - - private BoundReference defaultBoundReference=null; - - private Property p1=null; - - /** - * @see junit.framework.TestCase#setUp() - */ - @Before - public void setUp() { - // Prepare test - Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - StereotypeApplicationHelper stereotypeApplicationHelper = StereotypeApplicationHelper.getInstance(null); - - - Class composite=model.createOwnedClass("mainComposite", false); - stereotypeApplicationHelper.applyStereotype(composite, BlocksPackage.eINSTANCE.getBlock()); - Class block1=model.createOwnedClass("Block1", false); - stereotypeApplicationHelper.applyStereotype(block1, BlocksPackage.eINSTANCE.getBlock()); - - Class block2=model.createOwnedClass("Block2", false); - stereotypeApplicationHelper.applyStereotype(block2, BlocksPackage.eINSTANCE.getBlock()); - p1 = composite.createOwnedAttribute("P1", block1); - - Property p2=composite.createOwnedAttribute("P2", block2); - defaultBoundReference = (BoundReference)stereotypeApplicationHelper.applyStereotype(p2, BlocksPackage.eINSTANCE.getBoundReference()); - - Connector connector=composite.createOwnedConnector("connector"); - stereotypeApplicationHelper.applyStereotype(connector, BlocksPackage.eINSTANCE.getBindingConnector()); - - ConnectorEnd connectorEnd1= connector.createEnd(); - connectorEnd1.setRole(p1); - stereotypeApplicationHelper.applyStereotype(connector, BlocksPackage.eINSTANCE.getNestedConnectorEnd()); - - ConnectorEnd connectorEnd2= connector.createEnd(); - connectorEnd2.setRole(p2); - defaultBoundReference.setBoundEnd(connectorEnd1); - } - /** - * Tests the '{@link org.eclipse.papyrus.sysml14.blocks.BoundReference#testGetBindingPath() - * <em>BindingPath</em>}' feature getter. - * @see org.eclipse.papyrus.sysml14.blocks.BoundReference#getBindingPath() - */ - @Test - public void testGetBindingPath() { - Assert.assertNotNull("bindingpath of bound reference can never be null", defaultBoundReference.getBindingPath()); - Assert.assertEquals("In this context the binding paht must be equals to 1", 1, defaultBoundReference.getBindingPath().size()); - Assert.assertTrue("The boundEnd is not contained in the BindingPath", defaultBoundReference.getBindingPath().contains(p1)); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/constraintblocks/ConstraintBlockTest.java b/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/constraintblocks/ConstraintBlockTest.java deleted file mode 100644 index 2d344a9..0000000 --- a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/constraintblocks/ConstraintBlockTest.java +++ /dev/null
@@ -1,86 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * - * 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: - * Francois Le Fevre (CEA LIST) francois.le-fevre@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.tests.constraintblocks; - -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.constraintblocks.ConstraintBlock; -import org.eclipse.papyrus.sysml14.constraintblocks.ConstraintblocksPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Before; -import org.junit.Test; - -/** - * A test case for the model object '<em><b>Block</b></em>'. - * - * <p> - * The following features are tested: - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.constraintblocks.ConstraintBlock#getParameters <em>Parameters</em>}</li> - * </ul> - * </p> - */ -@SuppressWarnings("nls") -public class ConstraintBlockTest { - - private ConstraintBlock constraintBlock=null; - - /** - * @see junit.framework.TestCase#setUp() - */ - @Before - public void setUp() { - // Prepare Model test - Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - StereotypeApplicationHelper stereotypeApplicationHelper = StereotypeApplicationHelper.getInstance(null); - -/* Constraint blocks support a special form of compartment, with the label “parameters,” which may contain declarations for - some or all of its constraint parameters. Properties of a constraint block should be shown either in the constraints - compartment, for org eclipse uml2 create nested constraint properties, or within the parameters compartment. -*/ - - Class ownedBlockClass3=model.createOwnedClass("Block3", false); - stereotypeApplicationHelper.applyStereotype(ownedBlockClass3, BlocksPackage.eINSTANCE.getBlock()); - - //The root constraintBlock - Class constraintBlockClass = model.createOwnedClass("ConstraintBlock", false); - constraintBlock = (ConstraintBlock) stereotypeApplicationHelper.applyStereotype(constraintBlockClass, ConstraintblocksPackage.eINSTANCE.getConstraintBlock()); - - Class ownedBlockClass2=model.createOwnedClass("Block2", false); - stereotypeApplicationHelper.applyStereotype(ownedBlockClass2, BlocksPackage.eINSTANCE.getBlock()); - - //create a owned property type by a ConstraintBlock - constraintBlockClass.createOwnedAttribute("cbProperty", constraintBlockClass); - //create a owned property type by a Block - constraintBlockClass.createOwnedAttribute("uncbProperty", ownedBlockClass2); - } - - /** - * Tests the '{@link org.eclipse.papyrus.sysml14.constraintblocks.ConstraintBlock#getParameters() - * <em>FlowProperty</em>}' feature getter. - * @see org.eclipse.papyrus.sysml14.constraintblocks.ConstraintBlock#getParameters - */ - @Test - public void testGetParameters() { - Assert.assertNotNull("Parameters should not be null", constraintBlock.getParameters()); - Assert.assertEquals("Parameters size should be 1", 1, constraintBlock.getParameters().size()); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/deprecatedelements/FlowPortTest.java b/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/deprecatedelements/FlowPortTest.java deleted file mode 100644 index 8157c13..0000000 --- a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/deprecatedelements/FlowPortTest.java +++ /dev/null
@@ -1,148 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2009, 2014 CEA LIST and others. - * - * - * 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: - * Yann Tanguy (CEA LIST) yann.tanguy@cea.fr - Initial API and implementation - * Christian W. Damus (CEA) - bug 422257 - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Transcode the test to SysML 1.4 - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.tests.deprecatedelements; - -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsPackage; -import org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort; -import org.eclipse.papyrus.sysml14.deprecatedelements.FlowPortCustomImpl; -import org.eclipse.papyrus.sysml14.portsandflows.FlowDirection; -import org.eclipse.papyrus.sysml14.util.DeprecatedElementUtil; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Image; -import org.eclipse.uml2.uml.Interface; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.PrimitiveType; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Before; -import org.junit.Test; - -/** - * A test case for the model object ' - * <em><b>Flow Port</b></em>'. - * <p> - * The following features are tested: - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort#isAtomic() - * <em>Is Atomic</em>}</li> - * </ul> - * </p> - * <p> - * The following operations are tested: - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort#getIcon() - * <em>Get Icon</em>}</li> - * </ul> - * </p> - * - */ -@SuppressWarnings("nls") -public class FlowPortTest { - - private Port p0 = null; - - private FlowPort fpDefault = null; - - private FlowPort fpOut = null; - - private FlowPort fpIn = null; - - /** - * @see junit.framework.TestCase#setUp() - */ - @Before - public void setUp() { - // Prepare test - Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - // Create classes & interface - Class c0 = model.createOwnedClass("c0", false); - Interface i2 = model.createOwnedInterface("i2"); - - // Create type - PrimitiveType ptype = model.createOwnedPrimitiveType("type"); - - // Create ports - p0 = c0.createOwnedPort("p0", null); - Port p1 = c0.createOwnedPort("p1", ptype); - Port p2 = c0.createOwnedPort("p2", i2); //$NON-NLS-1$ - - // Add FlowPort stereotypes - StereotypeApplicationHelper stereotypeApplicationHelper = StereotypeApplicationHelper.getInstance(null); - fpDefault = (FlowPort) stereotypeApplicationHelper.applyStereotype(p0, - DeprecatedelementsPackage.eINSTANCE.getFlowPort()); - - fpOut = (FlowPort) stereotypeApplicationHelper.applyStereotype(p1, - DeprecatedelementsPackage.eINSTANCE.getFlowPort()); - fpOut.setDirection(FlowDirection.OUT); - fpIn = (FlowPort) stereotypeApplicationHelper.applyStereotype(p2, - DeprecatedelementsPackage.eINSTANCE.getFlowPort()); - fpIn.setDirection(FlowDirection.IN); - - p2.setIsConjugated(true); - - // Add FlowSpecification - stereotypeApplicationHelper.applyStereotype(i2, DeprecatedelementsPackage.eINSTANCE.getFlowSpecification()); - } - - /** - * Tests the ' - * {@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort#isAtomic() - * <em>Is Atomic</em>}' feature getter. - * - * @see org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort#isAtomic() - */ - @Test - public void testIsAtomic() { - Assert.assertTrue("FlowPort without type is Atomic", fpDefault.isAtomic()); - Assert.assertTrue("FlowPort type is not a FlowSpecification",fpOut.isAtomic()); - Assert.assertFalse("FlowPort type is a FlowSpecification", fpIn.isAtomic()); - } - - /** - * Tests the ' - * {@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort#getIcon() <em>Get Icon</em>}' operation. - * - * @see org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort#getIcon() - * - */ - @Test - public void testGetIcon() { - Image imageIn = FlowPortCustomImpl.getIcons(fpIn).get("FlowPort_IN"); - Image imageOut = FlowPortCustomImpl.getIcons(fpOut).get("FlowPort_OUT"); - Image imageInOut = FlowPortCustomImpl.getIcons(fpDefault).get("FlowPort_INOUT"); - - Assert.assertEquals("A Flow property with an INOUT direction must have the INOUT image",imageInOut,fpDefault.getIcon()); - Assert.assertEquals("A Flow property with an OUT direction must have the OUT image",imageOut,fpOut.getIcon()); - Assert.assertEquals("A Flow property with an IN direction must have the IN image",imageIn,fpIn.getIcon()); - } - - /** - * Tests the ' - * {@link org.eclipse.papyrus.sysml14.util.DeprecatedElementUtil#isDeprecatedElement() - * <em>Is Deprecated</em>}' feature getter. - * - * @see org.eclipse.papyrus.sysml14.util.DeprecatedElementUtil#isDeprecatedElement() - */ - @Test - public void testIsDeprecated() { - Assert.assertTrue("FlowPort is deprecated", DeprecatedElementUtil.isDeprecatedElement(p0)); - Assert.assertTrue("FlowPort is deprecated", DeprecatedElementUtil.isDeprecatedElement(fpOut)); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/deprecatedelements/FlowSpecificationTest.java b/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/deprecatedelements/FlowSpecificationTest.java deleted file mode 100644 index c51d43e..0000000 --- a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/deprecatedelements/FlowSpecificationTest.java +++ /dev/null
@@ -1,97 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * - * 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: - * Francois Le Fevre (CEA LIST) francois.le-fevre@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.tests.deprecatedelements; - -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsPackage; -import org.eclipse.papyrus.sysml14.deprecatedelements.FlowSpecification; -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.uml2.uml.Interface; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Before; -import org.junit.Test; - -/** - * A test case for the model object '<em><b>FlowSpecification</b></em>'. - * - * <p> - * The following features are tested: - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowSpecification#getFlowProperties <em>FlowProperties</em>}</li> - * </ul> - * </p> - */ -@SuppressWarnings("nls") -public class FlowSpecificationTest { - - private FlowSpecification flowSpecification=null; - - /** - * @see junit.framework.TestCase#setUp() - */ - @Before - public void setUp() { - // Prepare Model test - Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - StereotypeApplicationHelper stereotypeApplicationHelper = StereotypeApplicationHelper.getInstance(null); - /* - * create a FlowSpecification - */ - Interface flowSpecificationInterface=model.createOwnedInterface("FlowSpecification1"); - flowSpecification = (FlowSpecification) stereotypeApplicationHelper.applyStereotype(flowSpecificationInterface, DeprecatedelementsPackage.eINSTANCE.getFlowSpecification()); - - /* - * create a flow property and add it to the FlowSpecification - */ - Property property1 = flowSpecificationInterface.createOwnedAttribute("property1", null); - StereotypeApplicationHelper.getInstance(null).applyStereotype(property1, PortsandflowsPackage.eINSTANCE.getFlowProperty()); - - } - - /** - * @pap.req Flow specifications cannot own operations or receptions (they can only own FlowProperties) - */ - @Test - public void testGetOperations() { - Assert.assertEquals("Operations size should be 0", 0, flowSpecification.getBase_Interface().getAllOperations().size()); - } - - /** - * @pap.req Flow specifications cannot own operations or receptions (they can only own FlowProperties) - */ - @Test - public void testGetReceptions() { - Assert.assertEquals("Receptions size should be 0", 0, flowSpecification.getBase_Interface().getOwnedReceptions().size()); - } - - /** - * Tests the '{@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowSpecification#getFlowProperties() - * <em>FlowProperty</em>}' feature getter. - * @see org.eclipse.papyrus.sysml14.deprecatedelements.FlowSpecification#getFlowProperties() - */ - @Test - public void testGetFlowProperties() { - Assert.assertNotNull("FlowProperties should not be null", flowSpecification.getFlowProperties()); - Assert.assertEquals("FlowProperties size should be 1", 1, flowSpecification.getFlowProperties().size()); - } - - - -}
diff --git a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/library/QUDVTest.java b/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/library/QUDVTest.java deleted file mode 100644 index c6d77fc..0000000 --- a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/library/QUDVTest.java +++ /dev/null
@@ -1,46 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.tests.library; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.ecore.util.Diagnostician; -import org.eclipse.papyrus.sysml14.Activator; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test the QUDV model : - * - validate the model - * - * @author Benoit Maggi - */ -public class QUDVTest { - - public static final String QUDV_PATH = Activator.PLUGIN_ID +"/resources/library/QUDV.uml"; //$NON-NLS-1$ - - /** - * Validate the model with the rules defined in the meta-model tooling - */ - @Test - public void validatePropertiesModel() { - URI createPlatformPluginURI = URI.createPlatformPluginURI(QUDV_PATH, true); - Resource resource = new ResourceSetImpl().getResource(createPlatformPluginURI, true); - Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); - // FIXME the model provided by OMG is raising warnings - Assert.assertEquals("The QUDV.uml model is not valid ", Diagnostic.WARNING, diagnostic.getSeverity()); //$NON-NLS-1$ - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/library/SysMLStandardLibraryTest.java b/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/library/SysMLStandardLibraryTest.java deleted file mode 100644 index a94f9b0..0000000 --- a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/library/SysMLStandardLibraryTest.java +++ /dev/null
@@ -1,45 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.tests.library; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.ecore.util.Diagnostician; -import org.eclipse.papyrus.sysml14.Activator; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test the library model : - * - validate the model - * - * @author Benoit Maggi - */ -public class SysMLStandardLibraryTest { - - public static final String LIBRARY_PATH = Activator.PLUGIN_ID +"/resources/library/SysML-Standard-Library.uml"; //$NON-NLS-1$ - - /** - * Validate the model with the rules defined in the meta-model tooling - */ - @Test - public void validatePropertiesModel() { - URI createPlatformPluginURI = URI.createPlatformPluginURI(LIBRARY_PATH, true); - Resource resource = new ResourceSetImpl().getResource(createPlatformPluginURI, true); - Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); - Assert.assertEquals("The SysML-Standard-Library is not valid ", Diagnostic.OK, diagnostic.getSeverity()); //$NON-NLS-1$ - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/modelelements/ElementGroupTest.java b/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/modelelements/ElementGroupTest.java deleted file mode 100644 index 214e065..0000000 --- a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/modelelements/ElementGroupTest.java +++ /dev/null
@@ -1,102 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2009, 2014 CEA LIST and others. - * - * - * 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: - * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.tests.modelelements; - -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.papyrus.sysml14.modelelements.ElementGroup; -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Comment; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Before; -import org.junit.Test; - -/** - * A test case for the model object '<em><b>ElementGroupTest</b></em>'. - * See the requirement <b>{@papyrus.req org.eclipse.papyrus.sysml14#Req014}</b>. - * <p> - * The following features are tested: - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getCriterion <em>Criterion</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getSize <em>Size</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getMember <em>Member</em>}</li> - * </ul> - * </p> - */ -@SuppressWarnings("nls") -public class ElementGroupTest { - - private static final String CRITERION = "Authored by Patrick"; - - private ElementGroup defaultElementgroup=null; - - private Class class1=null; - - private Class class2=null; - - /** - * @see junit.framework.TestCase#setUp() - */ - @Before - public void setUp() { - - // Prepare test - Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); - - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - // Create comments & class - Comment defaultComment= model.createOwnedComment(); - defaultElementgroup = (ElementGroup)StereotypeApplicationHelper.getInstance(null).applyStereotype(defaultComment, ModelelementsPackage.eINSTANCE.getElementGroup()); - defaultComment.setBody(CRITERION); - class1 = model.createOwnedClass("Class1", false); - class2 = model.createOwnedClass("Class2", false); - defaultComment.getAnnotatedElements().add(class1); - defaultComment.getAnnotatedElements().add(class2); - - - } - - /** - * Tests the '{@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getCriterion() - * <em>criterion</em>}' feature getter. - * @see org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getCriterion() - */ - @Test - public void testGetCriterion() { - Assert.assertEquals("The criterion of Elementgroup is badly computed, it must be equals to the body of the comment",CRITERION, defaultElementgroup.getCriterion()); - } - /** - * Tests the '{@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getSize() - * <em>Size</em>}' feature getter. - * @see org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getSize() - */ - @Test - public void testGetSize() { - Assert.assertEquals("Size of ElementGroup is badly computed. It must contain two elements",2,defaultElementgroup.getSize()); - } - /** - * Tests the '{@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getMember() - * <em>Member</em>}' feature getter. - * @see org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getMember() - */ - @Test - public void testGetMember() { - Assert.assertEquals("Member of elementGroup is badly computed, the content of the list member is not correct",class1,defaultElementgroup.getMember().get(0)); - Assert.assertEquals("Member of elementGroup is badly computed, the content of the list member is not correct",class2,defaultElementgroup.getMember().get(1)); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/modelelements/StakeholderTest.java b/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/modelelements/StakeholderTest.java deleted file mode 100644 index 46cd931..0000000 --- a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/modelelements/StakeholderTest.java +++ /dev/null
@@ -1,88 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2009, 2014 CEA LIST and others. - * - * - * 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: - * Patrick Tessier (CEA LIST)Patrick.tessier@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.tests.modelelements; - - - -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; -import org.eclipse.papyrus.sysml14.modelelements.Stakeholder; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Comment; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Before; -import org.junit.Test; - -/** - * A test case for the model object '<em><b>Stakeholder</b></em>'. - * See the requirement <b>{@papyrus.req org.eclipse.papyrus.sysml14#Req012}</b>. - * <p> - * The following features are tested: - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.StakeholderTest#testGetConcern <em>Concern</em>}</li> - * </ul> - * </p> - */ -@SuppressWarnings("nls") -public class StakeholderTest { - - private static final String THIS_IS_THE_BODY_OF_COMMENT2 = "this is the body of comment2"; - - private static final String THIS_IS_THE_BODY_OF_COMMENT1 = "this is the body of comment1"; - - private Stakeholder defaultStakeholder= null; - - /** - * @see junit.framework.TestCase#setUp() - */ - @Before - public void setUp() { - // Prepare test - Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); - - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - // Create classes & interface - Class defaultClass = model.createOwnedClass("defaultClass", false); - - // Add stakeholder stereotypes - defaultStakeholder = (Stakeholder)StereotypeApplicationHelper.getInstance(null).applyStereotype(defaultClass, ModelelementsPackage.eINSTANCE.getStakeholder()); - Comment comment1=UMLFactory.eINSTANCE.createComment(); - comment1.setBody(THIS_IS_THE_BODY_OF_COMMENT1); - model.getOwnedComments().add(comment1); - Comment comment2=UMLFactory.eINSTANCE.createComment(); - comment2.setBody(THIS_IS_THE_BODY_OF_COMMENT2); - model.getOwnedComments().add(comment2); - defaultStakeholder.getConcernList().add(comment1); - defaultStakeholder.getConcernList().add(comment2); - } - - - /** - * Tests the '{@link org.eclipse.papyrus.sysml14.modelelements.Stakeholder#getConcern() - * <em>concern</em>}' feature getter. - * @see org.eclipse.papyrus.sysml14.modelelements.Stakeholder#getConcern() - */ - @Test - public void testGetConcern() { - Assert.assertEquals("The derived property concern is badly calculated, the size of the list must be 2.", 2, defaultStakeholder.getConcern().size()); - Assert.assertEquals("The derived property concern is badly calculated, the body of the first comment is not at the first place",THIS_IS_THE_BODY_OF_COMMENT1,defaultStakeholder.getConcern().get(0)); - Assert.assertEquals("The derived property concern is badly calculated, the body of the second comment is not à the second place",THIS_IS_THE_BODY_OF_COMMENT2,defaultStakeholder.getConcern().get(1)); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/modelelements/ViewPointTest.java b/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/modelelements/ViewPointTest.java deleted file mode 100644 index 18d2948..0000000 --- a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/modelelements/ViewPointTest.java +++ /dev/null
@@ -1,109 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2009, 2014 CEA LIST and others. - * - * - * 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: - * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.tests.modelelements; - -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; -import org.eclipse.papyrus.sysml14.modelelements.Viewpoint; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.uml2.uml.Behavior; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Comment; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Operation; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.UMLPackage; -import org.eclipse.uml2.uml.profile.standard.StandardPackage; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Before; -import org.junit.Test; - -/** - * A test case for the model object '<em><b>ViewPoint</b></em>'. - * See the requirement <b>{@papyrus.req org.eclipse.papyrus.sysml14#Req013}</b>. - * <p> - * The following features are tested: - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getConcern <em>Concern</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getMethod <em>Method</em>}</li> - * </ul> - * </p> - */ -@SuppressWarnings("nls") -public class ViewPointTest { - - private static final String THIS_IS_THE_BODY_OF_COMMENT2 = "this is the body of comment2"; - - private static final String THIS_IS_THE_BODY_OF_COMMENT1 = "this is the body of comment1"; - - private Viewpoint defaultViewpoint = null; - - private Behavior ownedBehavior = null; - - /** - * @see junit.framework.TestCase#setUp() - */ - @Before - public void setUp() { - - // Prepare test - Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); - - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - // Create classes & interface - Class defaultClass = model.createOwnedClass("defaultClass", false); - - // Add viewPoint stereotypes - StereotypeApplicationHelper stereotypeApplicationHelper = StereotypeApplicationHelper.getInstance(null); - defaultViewpoint = (Viewpoint)stereotypeApplicationHelper.applyStereotype(defaultClass, ModelelementsPackage.eINSTANCE.getViewpoint()); - Comment comment1=UMLFactory.eINSTANCE.createComment(); - comment1.setBody(THIS_IS_THE_BODY_OF_COMMENT1); - model.getOwnedComments().add(comment1); - Comment comment2=UMLFactory.eINSTANCE.createComment(); - comment2.setBody(THIS_IS_THE_BODY_OF_COMMENT2); - model.getOwnedComments().add(comment2); - defaultViewpoint.getConcernList().add(comment1); - defaultViewpoint.getConcernList().add(comment2); - Operation createOperation= UMLFactory.eINSTANCE.createOperation(); - createOperation.setName("View"); - defaultClass.getOwnedOperations().add(createOperation); - ownedBehavior = defaultClass.createOwnedBehavior("aBehavior", UMLPackage.eINSTANCE.getActivity()); - createOperation.getMethods().add(ownedBehavior); - stereotypeApplicationHelper.applyStereotype(createOperation, StandardPackage.eINSTANCE.getCreate()); - } - - /** - * Tests the '{@link org.eclipse.papyrus.sysml14.modelelements.viewpoint#getConcern() - * <em>concern</em>}' feature getter. - * @see org.eclipse.papyrus.sysml14.modelelements.viewpoint#getConcern() - */ - @Test - public void testGetConcern() { - Assert.assertEquals("The derived property concern is badly calculated.The size of the list must 2.", 2, defaultViewpoint.getConcern().size()); - Assert.assertEquals("The derived property concern is badly calculated. Concern must contain at the first place the body of the first comment",THIS_IS_THE_BODY_OF_COMMENT1,defaultViewpoint.getConcern().get(0)); - Assert.assertEquals("The derived property concern is badly calculated. Concern must contain at the second place the body of the second comment",THIS_IS_THE_BODY_OF_COMMENT2,defaultViewpoint.getConcern().get(1)); - } - /** - * Tests the '{@link org.eclipse.papyrus.sysml14.modelelements.viewpoint#getBehavior() - * <em>behavior</em>}' feature getter. - * @see org.eclipse.papyrus.sysml14.modelelements.viewpoint#getBehavior() - */ - @Test - public void testGetMethod() { - Assert.assertEquals("The derived property method is badly calculated. The size of the list must 1",1,defaultViewpoint.getMethod().size()); - Assert.assertEquals("The derived property method is badly calculated. The view point must contained in the list",ownedBehavior,defaultViewpoint.getMethod().get(0)); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/modelelements/ViewTest.java b/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/modelelements/ViewTest.java deleted file mode 100644 index 5b31115..0000000 --- a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/modelelements/ViewTest.java +++ /dev/null
@@ -1,105 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * - * 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: - * Patrick.tessier (CEA LIST) patrick.tessier@cea.fr - refactor all the test - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.tests.modelelements; - -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; -import org.eclipse.papyrus.sysml14.modelelements.Stakeholder; -import org.eclipse.papyrus.sysml14.modelelements.View; -import org.eclipse.papyrus.sysml14.modelelements.Viewpoint; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Generalization; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Before; -import org.junit.Test; - -/** - * A test case for the model object '<em><b>View</b></em>'. - * <p> See the requirement <b>{@papyrus.req org.eclipse.papyrus.sysml14#Req015}</b>. - * The following features are tested: - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.View#getViewPoint() <em>View Point</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.View#getStakeholder() <em>Stakeholder</em>}</li> - * </ul> - * </p> - */ -@SuppressWarnings("nls") -public class ViewTest { - - private Viewpoint viewpoint = null; - - private View defaultView = null; - - private Stakeholder stakeholder; - - /** - * @see junit.framework.TestCase#setUp() - */ - @Before - public void setUp() { - - // Prepare test - Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); - - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - // Create class - Class defaultClass = model.createOwnedClass("View1", false); - - Class class1 = model.createOwnedClass("Viewpoint1", false); - Class class2= model.createOwnedClass("stakeholder", false); - - // Add View stereotype - - defaultView = (View)StereotypeApplicationHelper.getInstance(null).applyStereotype(defaultClass, ModelelementsPackage.eINSTANCE.getView()); - - // Add ViewPoint stereotype - viewpoint = (Viewpoint)StereotypeApplicationHelper.getInstance(null).applyStereotype(class1, ModelelementsPackage.eINSTANCE.getViewpoint()); - stakeholder = (Stakeholder)StereotypeApplicationHelper.getInstance(null).applyStereotype(class2, ModelelementsPackage.eINSTANCE.getStakeholder()); - - - // create conform link based on Generalization - Generalization generalization=defaultClass.createGeneralization(class1); - StereotypeApplicationHelper.getInstance(null).applyStereotype(generalization, ModelelementsPackage.eINSTANCE.getConform()); - - //add stakeholder to the viewpoint - viewpoint.getStakeholder().add(stakeholder); - - } - - /** - * Tests the '{@link org.eclipse.papyrus.sysml14.modelelements.View#getViewPoint() - * <em>View Point</em>}' feature getter. - * @see org.eclipse.papyrus.sysml14.modelelements.View#getViewPoint() - */ - @Test - public void testGetViewPoint() { - Assert.assertNotNull("The derived property viewpoint is baldy computed for View, it must not be null", defaultView.getViewPoint()); - Assert.assertEquals("The derived property viewpoint is baldy computed for View, it must not be equal to view point",viewpoint, defaultView.getViewPoint()); - } - /** - * Tests the '{@link org.eclipse.papyrus.sysml14.modelelements.View#getStakeholder() - * <em>Stakeholder</em>}' feature getter. - * @see org.eclipse.papyrus.sysml14.modelelements.View#getStakeholder() - */ - @Test - public void testGetStakeholder() { - Assert.assertEquals("The derived property Stakeholder is baldy computed for View, it must not be equal to 1",1, defaultView.getStakeholder().size()); - Assert.assertTrue("The derived property Stakeholder is baldy computed for View, it must not be equal to the stakeholder",defaultView.getStakeholder().contains(stakeholder)); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/portsandflows/FlowPropertyTest.java b/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/portsandflows/FlowPropertyTest.java deleted file mode 100644 index 60d92aa..0000000 --- a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/portsandflows/FlowPropertyTest.java +++ /dev/null
@@ -1,104 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2009, 2014 CEA LIST and others. - * - * - * 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: - * Yann Tanguy (CEA LIST) yann.tanguy@cea.fr - Initial API and implementation - * Christian W. Damus (CEA) - bug 422257 - * Benoit Maggi (CEA LIST) - bug 476430 - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.tests.portsandflows; - -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.papyrus.sysml14.portsandflows.FlowDirection; -import org.eclipse.papyrus.sysml14.portsandflows.FlowProperty; -import org.eclipse.papyrus.sysml14.portsandflows.FlowPropertyCustomImpl; -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.uml2.uml.Image; -import org.eclipse.uml2.uml.Interface; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Before; -import org.junit.Test; - -/** - * A test case for the model object '<em><b>Flow Property</b></em>'. - * <p> - * The following operations are tested: - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.FlowProperty#getIcon() <em>Get Icon</em>}</li> - * </ul> - * </p> - * <p> - * The following operations are tested: - * <ul> - * <li>{@link org.eclipse.papyrus.sysm14.portsandflows.FlowProperty#getIcon() - * <em>Get Icon</em>}</li> - * </ul> - * </p> - */ -@SuppressWarnings("nls") -public class FlowPropertyTest { - - private FlowProperty fpIn = null; - - private FlowProperty fpOut = null; - - private FlowProperty fpInOut = null; - /** - * @see junit.framework.TestCase#setUp() - */ - @Before - public void setUp(){ - // Prepare test - Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); - - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - // Create interface - Interface i = model.createOwnedInterface("i"); - - // Create properties - Property p0 = i.createOwnedAttribute("p0", null); - Property p1 = i.createOwnedAttribute("p1", null); - Property p2 = i.createOwnedAttribute("p2", null); - - // Add FlowPort stereotypes - fpIn = (FlowProperty)StereotypeApplicationHelper.getInstance(null).applyStereotype(p0, PortsandflowsPackage.eINSTANCE.getFlowProperty()); - fpIn.setDirection(FlowDirection.IN); - - fpOut = (FlowProperty)StereotypeApplicationHelper.getInstance(null).applyStereotype(p1, PortsandflowsPackage.eINSTANCE.getFlowProperty()); - fpOut.setDirection(FlowDirection.OUT); - - fpInOut = (FlowProperty)StereotypeApplicationHelper.getInstance(null).applyStereotype(p2, PortsandflowsPackage.eINSTANCE.getFlowProperty()); - fpInOut.setDirection(FlowDirection.INOUT); - - } - - /** - * Tests the '{@link org.eclipse.papyrus.sysm14.portsandflows.FlowProperty#getIcon() - * <em>Get Icon</em>}' operation. - * - * @see org.eclipse.papyrus.sysm14.portsandflows.FlowProperty#getIcon() - * - */ - @Test - public void testGetIcon() { - Image imageIn = FlowPropertyCustomImpl.getIcons(fpIn).get("FlowProperty_IN"); - Image imageOut = FlowPropertyCustomImpl.getIcons(fpOut).get("FlowProperty_OUT"); - Image imageInOut = FlowPropertyCustomImpl.getIcons(fpInOut).get("FlowProperty_INOUT"); - - Assert.assertEquals("A Flow property with an INOUT direction must have the INOUT image",imageInOut,fpInOut.getIcon()); - Assert.assertEquals("A Flow property with an OUT direction must have the OUT image",imageOut,fpOut.getIcon()); - Assert.assertEquals("A Flow property with an IN direction must have the IN image",imageIn,fpIn.getIcon()); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/requirements/RequirementTest.java b/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/requirements/RequirementTest.java deleted file mode 100644 index dadf50c..0000000 --- a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/requirements/RequirementTest.java +++ /dev/null
@@ -1,407 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2009, 2016 CEA LIST and others. - * - * - * 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: - * Yann Tanguy (CEA LIST) yann.tanguy@cea.fr - Initial API and implementation - * Christian W. Damus (CEA) - bug 422257 - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Check Read only derived attribute - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.tests.requirements; - -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.papyrus.sysml14.requirements.Requirement; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.NamedElement; -import org.eclipse.uml2.uml.Operation; -import org.eclipse.uml2.uml.Realization; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Before; -import org.junit.Test; - -/** - * A test case for the model object '<em><b>Requirement</b></em>'. - * - * See the requirement org.eclipse.papyrus.sysml14.Req011 - * <p> - * The following features are tested: - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getDerived() <em>Derived</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getDerivedFrom() <em>Derived From</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getSatisfiedBy() <em>Satisfied By</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getRefinedBy() <em>Refined By</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getTracedTo() <em>Traced To</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getVerifiedBy() <em>Verified By</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getMaster() <em>Master</em>}</li> - * </ul> - * </p> - * - * - */ -@SuppressWarnings("nls") -public class RequirementTest { - - private Requirement defaultReq = null; - - private Class copy = null; - - private Requirement copyReq = null; - - private Requirement masterReq = null; - - private Class derived1 = null; - - private Class derived2 = null; - - private Requirement derive1Req = null; - - private Requirement derive2Req = null; - - private Requirement derived1Req = null; - - private Requirement derived2Req = null; - - private Class satisfyingNE1 = null; - - private Class satisfyingNE2 = null; - - private Requirement satisfiedReq = null; - - private Class refiningNE1 = null; - - private Class refiningNE2 = null; - - private Requirement refinedReq = null; - - private Class traced1 = null; - - private Class traced2 = null; - - private Requirement traceReq = null; - - private Requirement verifiedReq = null; - - private org.eclipse.papyrus.sysml14.requirements.TestCase testCase1 = null; - - private NamedElement verifierNamedElement = null; - - private org.eclipse.papyrus.sysml14.requirements.TestCase testCase2 = null; - - /** - * @see junit.framework.TestCase#setUp() - */ - @Before - public void setUp() { - // Prepare test - Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); - - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - // Create classes & interface - Class defaultClass = model.createOwnedClass("defaultClass", false); - - // Add Requirement stereotypes - defaultReq = (Requirement)StereotypeApplicationHelper.getInstance(null).applyStereotype(defaultClass, RequirementsPackage.eINSTANCE.getRequirement()); - - // //////////////////////////////////////////////////////////////////// - // Prepare getMaster test elements - // //////////////////////////////////////////////////////////////////// - - Class master = model.createOwnedClass("master", false); - masterReq = (Requirement)StereotypeApplicationHelper.getInstance(null).applyStereotype(master, RequirementsPackage.eINSTANCE.getRequirement()); - copy = model.createOwnedClass("copy", false); - copyReq = (Requirement)StereotypeApplicationHelper.getInstance(null).applyStereotype(copy, RequirementsPackage.eINSTANCE.getRequirement()); - - // Add "copy" (Abstraction) between master and copy - // copy -> master - Abstraction copy2Master = UMLFactory.eINSTANCE.createAbstraction(); - copy2Master.getClients().add(copy); - copy2Master.getSuppliers().add(master); - model.getPackagedElements().add(copy2Master); - StereotypeApplicationHelper.getInstance(null).applyStereotype(copy2Master, RequirementsPackage.eINSTANCE.getCopy()); - - // //////////////////////////////////////////////////////////////////// - - // //////////////////////////////////////////////////////////////////// - // Prepare getDerived / getDerivedFrom test elements - // //////////////////////////////////////////////////////////////////// - - Class derive1 = model.createOwnedClass("d1", false); - derive1Req = (Requirement)StereotypeApplicationHelper.getInstance(null).applyStereotype(derive1, RequirementsPackage.eINSTANCE.getRequirement()); - - Class derive2 = model.createOwnedClass("d2", false); - derive2Req = (Requirement)StereotypeApplicationHelper.getInstance(null).applyStereotype(derive2, RequirementsPackage.eINSTANCE.getRequirement()); - - derived1 = model.createOwnedClass("dd1", false); - derived1Req = (Requirement)StereotypeApplicationHelper.getInstance(null).applyStereotype(derived1, RequirementsPackage.eINSTANCE.getRequirement()); - - derived2 = model.createOwnedClass("dd2", false); - derived2Req = (Requirement)StereotypeApplicationHelper.getInstance(null).applyStereotype(derived2, RequirementsPackage.eINSTANCE.getRequirement()); - - // Add "DeriveReqt" (Abstraction) between derive and derived - // derived1 -> derive1, derive2 - // derived2 -> derive2 - Abstraction d11 = UMLFactory.eINSTANCE.createAbstraction(); - d11.getClients().add(derived1); - d11.getSuppliers().add(derive1); - model.getPackagedElements().add(d11); - StereotypeApplicationHelper.getInstance(null).applyStereotype(d11, RequirementsPackage.eINSTANCE.getDeriveReqt()); - - Abstraction d12 = UMLFactory.eINSTANCE.createAbstraction(); - d12.getClients().add(derived1); - d12.getSuppliers().add(derive2); - model.getPackagedElements().add(d12); - StereotypeApplicationHelper.getInstance(null).applyStereotype(d12, RequirementsPackage.eINSTANCE.getDeriveReqt()); - - Abstraction d22 = UMLFactory.eINSTANCE.createAbstraction(); - d22.getClients().add(derived2); - d22.getSuppliers().add(derive2); - model.getPackagedElements().add(d22); - StereotypeApplicationHelper.getInstance(null).applyStereotype(d22, RequirementsPackage.eINSTANCE.getDeriveReqt()); - - // //////////////////////////////////////////////////////////////////// - - // //////////////////////////////////////////////////////////////////// - // Prepare getSatisfiedBy test elements - // //////////////////////////////////////////////////////////////////// - - Class satisfied = model.createOwnedClass("satisfied", false); - satisfiedReq = (Requirement)StereotypeApplicationHelper.getInstance(null).applyStereotype(satisfied, RequirementsPackage.eINSTANCE.getRequirement()); - - satisfyingNE1 = model.createOwnedClass("sNE1", false); - satisfyingNE2 = model.createOwnedClass("sNE2", false); - - // Add "Satisfy" (Realization) between satisfyingNE(s) and satisfied - // requirement - // satisfyingNE1, satisfyingNE2 -> satisfied - Realization ne12S1 = UMLFactory.eINSTANCE.createRealization(); - ne12S1.getClients().add(satisfyingNE1); - ne12S1.getSuppliers().add(satisfied); - model.getPackagedElements().add(ne12S1); - StereotypeApplicationHelper.getInstance(null).applyStereotype(ne12S1, RequirementsPackage.eINSTANCE.getSatisfy()); - - Realization ne22S1 = UMLFactory.eINSTANCE.createRealization(); - ne22S1.getClients().add(satisfyingNE2); - ne22S1.getSuppliers().add(satisfied); - model.getPackagedElements().add(ne22S1); - StereotypeApplicationHelper.getInstance(null).applyStereotype(ne22S1, RequirementsPackage.eINSTANCE.getSatisfy()); - - // //////////////////////////////////////////////////////////////////// - - // //////////////////////////////////////////////////////////////////// - // Prepare getRefinedBy test elements - // //////////////////////////////////////////////////////////////////// - - Class refined = model.createOwnedClass("refined", false); - refinedReq = (Requirement)StereotypeApplicationHelper.getInstance(null).applyStereotype(refined, RequirementsPackage.eINSTANCE.getRequirement()); - - refiningNE1 = model.createOwnedClass("rNE1", false); - refiningNE2 = model.createOwnedClass("rNE2", false); - - // Add "Refine" (Abstraction) between refiningNE(s) and refined - // requirement - // refiningNE1, refiningNE2 -> refined - Abstraction rne12S1 = UMLFactory.eINSTANCE.createAbstraction(); - rne12S1.getClients().add(refiningNE1); - rne12S1.getSuppliers().add(refined); - model.getPackagedElements().add(rne12S1); - StereotypeApplicationHelper.getInstance(null).applyStereotype(rne12S1, RequirementsPackage.eINSTANCE.getRefine()); - - Abstraction rne22S1 = UMLFactory.eINSTANCE.createAbstraction(); - rne22S1.getClients().add(refiningNE2); - rne22S1.getSuppliers().add(refined); - model.getPackagedElements().add(rne22S1); - StereotypeApplicationHelper.getInstance(null).applyStereotype(rne22S1, RequirementsPackage.eINSTANCE.getRefine()); - - // //////////////////////////////////////////////////////////////////// - - // //////////////////////////////////////////////////////////////////// - // Prepare getTracedTo test elements - // //////////////////////////////////////////////////////////////////// - - traced1 = model.createOwnedClass("traced1", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(traced1, RequirementsPackage.eINSTANCE.getRequirement()); - - traced2 = model.createOwnedClass("traced2", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(traced2, RequirementsPackage.eINSTANCE.getRequirement()); - - Class trace = model.createOwnedClass("trace", false); - traceReq = (Requirement)StereotypeApplicationHelper.getInstance(null).applyStereotype(trace, RequirementsPackage.eINSTANCE.getRequirement()); - - // Add "Trace" (Abstraction) - // [traced1, traced2] -> trace - Abstraction t11 = UMLFactory.eINSTANCE.createAbstraction(); - t11.getClients().add(traced1); - t11.getSuppliers().add(trace); - model.getPackagedElements().add(t11); - StereotypeApplicationHelper.getInstance(null).applyStereotype(t11, RequirementsPackage.eINSTANCE.getTrace()); - - Abstraction t12 = UMLFactory.eINSTANCE.createAbstraction(); - t12.getClients().add(traced2); - t12.getSuppliers().add(trace); - model.getPackagedElements().add(t12); - StereotypeApplicationHelper.getInstance(null).applyStereotype(t12, RequirementsPackage.eINSTANCE.getTrace()); - - // //////////////////////////////////////////////////////////////////// - - // //////////////////////////////////////////////////////////////////// - // Prepare getVerifiedBy test elements - // //////////////////////////////////////////////////////////////////// - - verifierNamedElement = model.createOwnedClass("verifierNamedElement", false); - - Class verified = model.createOwnedClass("verified", false); - verifiedReq = (Requirement)StereotypeApplicationHelper.getInstance(null).applyStereotype(verified, RequirementsPackage.eINSTANCE.getRequirement()); - - Class testClass = model.createOwnedClass("testClass", false); - Operation op1 = testClass.createOwnedOperation("op1", null, null, null); - Operation op2 = testClass.createOwnedOperation("op2", null, null, null); - - testCase1 = (org.eclipse.papyrus.sysml14.requirements.TestCase)StereotypeApplicationHelper.getInstance(null).applyStereotype(op1, RequirementsPackage.eINSTANCE.getTestCase()); - testCase2 = (org.eclipse.papyrus.sysml14.requirements.TestCase)StereotypeApplicationHelper.getInstance(null).applyStereotype(op2, RequirementsPackage.eINSTANCE.getTestCase()); - - // Add "Verify" (Abstraction) - // testCase1, testCase2 -> verified - Abstraction t12V = UMLFactory.eINSTANCE.createAbstraction(); - t12V.getClients().add(op1); - t12V.getSuppliers().add(verified); - model.getPackagedElements().add(t12V); - StereotypeApplicationHelper.getInstance(null).applyStereotype(t12V, RequirementsPackage.eINSTANCE.getVerify()); - - Abstraction t22V = UMLFactory.eINSTANCE.createAbstraction(); - t22V.getClients().add(op2); - t22V.getSuppliers().add(verified); - model.getPackagedElements().add(t22V); - StereotypeApplicationHelper.getInstance(null).applyStereotype(t22V, RequirementsPackage.eINSTANCE.getVerify()); - - // Add "Verify" (Abstraction) - // verifierNamedElement -> verified - Abstraction t32V = UMLFactory.eINSTANCE.createAbstraction(); - t32V.getClients().add(verifierNamedElement); - t32V.getSuppliers().add(verified); - model.getPackagedElements().add(t32V); - StereotypeApplicationHelper.getInstance(null).applyStereotype(t32V, RequirementsPackage.eINSTANCE.getVerify()); - - // //////////////////////////////////////////////////////////////////// - } - - - /** - * Tests the '{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getDerived() - * <em>Derived</em>}' feature getter. - * @see org.eclipse.papyrus.sysml14.requirements.Requirement#getDerived() - */ - @Test - public void testGetDerived() { - Assert.assertTrue("Isolated requirement : default_req.getDerived() = []", defaultReq.getDerived().isEmpty()); - Assert.assertTrue("Verifies : derive1_req.getDerived() = [derived1_req]", derive1Req.getDerived().contains(derived1Req)); - Assert.assertTrue("Verifies : derive2_req.getDerived() = [derived1_req, derived2_req]",derive2Req.getDerived().contains(derived1Req)); - Assert.assertTrue("Verifies : derive2_req.getDerived() = [derived1_req, derived2_req]",derive2Req.getDerived().contains(derived2Req)); - } - - /** - * Tests the '{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getDerivedFrom() - * <em>Derived From</em>}' feature getter. - * @see org.eclipse.papyrus.sysml14.requirements.Requirement#getDerivedFrom() - */ - @Test - public void testGetDerivedFrom() { - Assert.assertTrue("Isolated requirement : default_req.getDerivedFrom() = []",defaultReq.getDerivedFrom().isEmpty()); - Assert.assertTrue("Verifies : derived2_req.getDerivedFrom() = [derive2_req]",derived2Req.getDerivedFrom().contains(derive2Req)); - Assert.assertTrue("Verifies : derived1_req.getDerivedFrom() = [derive1_req, derive2_req]",derived1Req.getDerivedFrom().contains(derive1Req)); - Assert.assertTrue("Verifies : derived1_req.getDerivedFrom() = [derive1_req, derive2_req]",derived1Req.getDerivedFrom().contains(derive2Req)); - } - - /** - * Tests the '{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getMaster() - * <em>Master</em>}' feature getter. - * @see org.eclipse.papyrus.sysml14.requirements.Requirement#getMaster() - */ - @Test - public void testGetMaster() { - Assert.assertNull("Isolated requirement : default_req.getMaster() = null", defaultReq.getMaster()); - Assert.assertEquals("Try retrieving Master from Copy requirement", masterReq, copyReq.getMaster()); - } - - /** - * Tests the '{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getRefinedBy() - * <em>Refined By</em>}' feature getter. - * @see org.eclipse.papyrus.sysml14.requirements.Requirement#getRefinedBy() - */ - @Test - public void testGetRefinedBy() { - Assert.assertTrue("Isolated requirement : default_req.getRefinedBy() = []", defaultReq.getRefinedBy().isEmpty()); - Assert.assertTrue("Verifies : refined_req.getRefinedBy() = [refiningNE1, refiningNE2]",refinedReq.getRefinedBy().contains(refiningNE1)); - Assert.assertTrue("Verifies : refined_req.getRefinedBy() = [refiningNE1, refiningNE2]",refinedReq.getRefinedBy().contains(refiningNE2)); - } - - /** - * Tests the '{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getSatisfiedBy() - * <em>Satisfied By</em>}' feature getter. - * - * @see org.eclipse.papyrus.sysml14.requirements.Requirement#getSatisfiedBy() - */ - @Test - public void testGetSatisfiedBy() { - Assert.assertTrue("Isolated requirement : default_req.getSatisfiedBy() = []",defaultReq.getSatisfiedBy().isEmpty()); - Assert.assertTrue("Verifies : satisfied_req.getSatisfiedBy() = [satisfyingNE1, satisfyingNE2]",satisfiedReq.getSatisfiedBy().contains(satisfyingNE1)); - Assert.assertTrue("Verifies : satisfied_req.getSatisfiedBy() = [satisfyingNE1, satisfyingNE2]",satisfiedReq.getSatisfiedBy().contains(satisfyingNE2)); - } - - /** - * Tests the '{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getTracedTo() - * <em>Traced To</em>}' feature getter. - * @see org.eclipse.papyrus.sysml14.requirements.Requirement#getTracedTo() - */ - @Test - public void testGetTracedTo() { - Assert.assertTrue("Isolated requirement : default_req.getTracedTo = []",defaultReq.getTracedTo().isEmpty()); - // DeriveReqt / Verify / Copy inherits from Trace - Assert.assertFalse("Test getter through Copy (should not be taken into account see bug #352563)",masterReq.getTracedTo().contains(copy)); - // Test getter through DeriveReqt (tracedTo = Clients) - Assert.assertFalse("derived1 -> [derive1_req, derive2_req] (should not be taken into account see bug #352563)",derive1Req.getTracedTo().contains(derived1)); - Assert.assertFalse("derived1 -> [derive1_req, derive2_req] (should not be taken into account see bug #352563)",derive2Req.getTracedTo().contains(derived1)); - Assert.assertFalse("derived2 -> [derive2_req] (should not be taken into account see bug #352563)",derive2Req.getTracedTo().contains(derived2)); - // Should not happen... - // Direct test - Assert.assertTrue("Test getter through Verify (should not be taken into account see bug #352563)",traceReq.getTracedTo().contains(traced1)); - Assert.assertTrue("Test getter through Verify (should not be taken into account see bug #352563)",traceReq.getTracedTo().contains(traced2)); - } - - /** - * Tests the '{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getVerifiedBy() - * <em>Verified By</em>}' feature getter. - * @see org.eclipse.papyrus.sysml14.requirements.Requirement#getVerifiedBy() - */ - @Test - public void testGetVerifiedBy() { - Assert.assertTrue("Isolated requirement : default_req.getVerifiedBy() = []", defaultReq.getVerifiedBy().isEmpty()); - Assert.assertTrue("Test getVerifiedBy getter for [testCase1, testCase2, verifierNamedElement] -> verified_req", verifiedReq.getVerifiedBy().contains(testCase1.getBase_Operation())); - Assert.assertTrue("Test getVerifiedBy getter for [testCase1, testCase2, verifierNamedElement] -> verified_req", verifiedReq.getVerifiedBy().contains(testCase2.getBase_Operation())); - Assert.assertTrue("Test getVerifiedBy getter for [testCase1, testCase2, verifierNamedElement] -> verified_req", verifiedReq.getVerifiedBy().contains(verifierNamedElement)); - } - - /** - * Verify that derived attribute is read only (Not present in the official SysML 1.4, hop fully will in SysML 1.5) - * This is required to have a working copy paste in Papyrus - */ - @Test(expected=IllegalArgumentException.class) - public void testReadOnlyDerived() { - EReference derivedEReference = RequirementsPackage.eINSTANCE.getRequirement_Derived(); - defaultReq.eSet(derivedEReference, ""); - } - - -}
diff --git a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/resources/ModelValidationTest.java b/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/resources/ModelValidationTest.java deleted file mode 100644 index 9d4a6a3..0000000 --- a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/resources/ModelValidationTest.java +++ /dev/null
@@ -1,79 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.tests.resources; - -import java.util.Arrays; -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.ecore.util.Diagnostician; -import org.eclipse.papyrus.sysml14.Activator; -import org.junit.Assert; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.Parameterized; -import org.junit.runners.Parameterized.Parameters; - -/** - * This is a parameterized test to validate all model in the plugin - * - * @author Benoit Maggi - */ -@SuppressWarnings("nls") -@RunWith(Parameterized.class) -public class ModelValidationTest { - - @Parameters - public static Collection<Object[]> data() { - return Arrays.asList(new Object[][] { - //FIXME Invalid {"/resources/library/QUDV.uml"}, - //FIXME Invalid {"/resources/profile/SysML.profile.uml"}, - {"/resources/library/SysML-Standard-Library.uml"}, - }); - } - - private String modelPath; - - public ModelValidationTest(String modelPath) { - this.modelPath = modelPath; - } - - /** - * Validate the model with the rules defined in the meta-model tooling - */ - @Test - public void validateModel() { - String fullPath = Activator.PLUGIN_ID + this.modelPath; - URI modelPlatformURI = URI.createPlatformPluginURI(fullPath, true); - Resource resource = new ResourceSetImpl().getResource(modelPlatformURI, true); - Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); - Assert.assertEquals("The "+modelPath+" model is invalid "+print(diagnostic), Diagnostic.OK, diagnostic.getSeverity()); - } - - // FIXME : Something should exist in API to do that - private String print(Diagnostic diagnostic) { - List<Diagnostic> children = diagnostic.getChildren(); - StringBuilder stringBuilder = new StringBuilder(diagnostic.getMessage()); - for (Diagnostic diagnosticChildren : children) { - stringBuilder.append("\n"); //$NON-NLS-1$ - stringBuilder.append(diagnosticChildren.getMessage()); - } - return stringBuilder.toString(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/util/DeprecatedElementUtilTest.java b/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/util/DeprecatedElementUtilTest.java deleted file mode 100644 index 2ecf9bd..0000000 --- a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/util/DeprecatedElementUtilTest.java +++ /dev/null
@@ -1,72 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.tests.util; - -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.papyrus.sysml14.blocks.Block; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsPackage; -import org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort; -import org.eclipse.papyrus.sysml14.deprecatedelements.FlowSpecification; -import org.eclipse.papyrus.sysml14.util.DeprecatedElementUtil; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Interface; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Tests for deprecated utility class - * - */ -@SuppressWarnings("nls") -public class DeprecatedElementUtilTest { - - /** - * Check that FlowPort and FlowSpecification are deprecated - */ - @Test - public void testIsDeprecatedElement() { - // Prepare Model test - Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - StereotypeApplicationHelper stereotypeApplicationHelper = StereotypeApplicationHelper.getInstance(null); - Class c0 = model.createOwnedClass("class", false); - - // Create ports - Port port = c0.createOwnedPort("port", null); - - FlowPort fpDefault = (FlowPort) stereotypeApplicationHelper.applyStereotype(port, - DeprecatedelementsPackage.eINSTANCE.getFlowPort()); - - Assert.assertTrue("FlowPort should be deprecated", DeprecatedElementUtil.isDeprecatedElement(fpDefault)); - Assert.assertTrue("FlowPort should be deprecated", DeprecatedElementUtil.isDeprecatedElement(port)); - - Interface flowSpecificationInterface=model.createOwnedInterface("FlowSpecification1"); - FlowSpecification flowSpecification = (FlowSpecification) stereotypeApplicationHelper.applyStereotype(flowSpecificationInterface, DeprecatedelementsPackage.eINSTANCE.getFlowSpecification()); - Assert.assertTrue("FlowSpecification should be deprecated", DeprecatedElementUtil.isDeprecatedElement(flowSpecificationInterface)); - Assert.assertTrue("FlowSpecification should be deprecated", DeprecatedElementUtil.isDeprecatedElement(flowSpecification)); - - Class blockClass=model.createOwnedClass("Block1", false); - Block block = (Block) stereotypeApplicationHelper.applyStereotype(blockClass, BlocksPackage.eINSTANCE.getBlock()); - Assert.assertFalse("Class should not be deprecated", DeprecatedElementUtil.isDeprecatedElement(blockClass)); - Assert.assertFalse("Block should not be deprecated", DeprecatedElementUtil.isDeprecatedElement(block)); - - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/util/SysmlResourceTest.java b/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/util/SysmlResourceTest.java deleted file mode 100644 index 1f54e51..0000000 --- a/core/org.eclipse.papyrus.sysml14.tests/src/org/eclipse/papyrus/sysml14/tests/util/SysmlResourceTest.java +++ /dev/null
@@ -1,116 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Francois Le Fevre (CEA LIST) francois.le-fevre@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.tests.util; - -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.ResourceSet; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Package; -import org.eclipse.uml2.uml.Profile; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.UMLPackage; -import org.junit.Assert; -import org.junit.Test; - -/** - * Basic test for Sysml 1.4 profile - * - * @author Francois Le Fevre - */ -@SuppressWarnings("nls") -public class SysmlResourceTest { - - /** - * Check that profile application lookup is well implemented - */ - @Test - public void testGetFirstSysMLMatchingContainerProfiledBySysMLProfile4UMLModel() { - //Model tree is umlModel>nestedPackage,rootPackage>secondPackage - Package rootPackage,secondPackage,nestedPackage; - Package resultPackage,pakage; - - Model umlModel = UMLFactory.eINSTANCE.createModel(); - pakage = SysMLResource.getFirstSysMLMatchingContainerProfiledBySysMLProfile(umlModel); - Assert.assertNull("Initial model should not match any SysML profile",pakage); - - nestedPackage = umlModel.createNestedPackage("myNestedPackage"); - pakage = SysMLResource.getFirstSysMLMatchingContainerProfiledBySysMLProfile(nestedPackage); - Assert.assertNull("Nested package should not match any SysML profile",pakage); - - rootPackage = (Package)umlModel.createPackagedElement("myRootPackage", UMLPackage.eINSTANCE.getPackage()); - resultPackage = SysMLResource.getFirstSysMLMatchingContainerProfiledBySysMLProfile(rootPackage); - Assert.assertNull("Root package should not match any SysML profil",resultPackage); - - secondPackage = (Package)rootPackage.createPackagedElement("myPackage2", UMLPackage.eINSTANCE.getPackage()); - resultPackage = SysMLResource.getFirstSysMLMatchingContainerProfiledBySysMLProfile(pakage); - Assert.assertNull("Secund level package should not match any SysML profile",resultPackage); - - ResourceSet resourceSet= new ResourceSetImpl(); - Resource sysmlProfileResource = resourceSet.getResource(URI.createURI(SysMLResource.PROFILE_PATH), true); - Profile sysmlProfile = (Profile) EcoreUtil.getObjectByType(sysmlProfileResource.getContents(), UMLPackage.Literals.PACKAGE); - rootPackage.applyProfile(sysmlProfile); - resultPackage = SysMLResource.getFirstSysMLMatchingContainerProfiledBySysMLProfile(rootPackage); - Assert.assertNotNull("Should retrieve a root package with SysML applied profile",resultPackage); - Assert.assertEquals("Should retrieve the root package with SysML applied profile",rootPackage,resultPackage); - - resultPackage = SysMLResource.getFirstSysMLMatchingContainerProfiledBySysMLProfile(secondPackage); - Assert.assertNotNull("Should retrieve a root package from the level2 package with SysML applied profile",resultPackage); - Assert.assertEquals("Should retrieve the root package from the level2 package with SysML applied profile",rootPackage,resultPackage); - } - - /** - * Check that profile application lookup is well implemented - */ - @Test - public void testGetFirstSysMLMatchingContainerProfiledBySysMLProfile4SysMLModel() { - //Model tree is model>rootPackage>secondPackage - Package rootPackage,secondPackage; - Package resultPackage; - - Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - resultPackage = SysMLResource.getFirstSysMLMatchingContainerProfiledBySysMLProfile(model); - Assert.assertNotNull("Model is the first lvel with SysML applied profil",resultPackage); - Assert.assertEquals(model,resultPackage); - - rootPackage = (Package)model.createPackagedElement("rootPackage", UMLPackage.eINSTANCE.getPackage()); - resultPackage = SysMLResource.getFirstSysMLMatchingContainerProfiledBySysMLProfile(rootPackage); - Assert.assertNotNull("Should retrieve a package",resultPackage); - Assert.assertEquals("Should retrieve the root model",model,resultPackage); - - secondPackage = (Package)rootPackage.createPackagedElement("myPackage2", UMLPackage.eINSTANCE.getPackage()); - resultPackage = SysMLResource.getFirstSysMLMatchingContainerProfiledBySysMLProfile(secondPackage); - Assert.assertNotNull("Should retrieve a result from the level2 package",resultPackage); - Assert.assertEquals("Should retrieve the root model",model,resultPackage); - - ResourceSet resourceSet= new ResourceSetImpl(); - Resource sysmlProfileResource = resourceSet.getResource(URI.createURI(SysMLResource.PROFILE_PATH), true); - Profile sysmlProfile = (Profile) EcoreUtil.getObjectByType(sysmlProfileResource.getContents(), UMLPackage.Literals.PACKAGE); - rootPackage.applyProfile(sysmlProfile); - resultPackage = SysMLResource.getFirstSysMLMatchingContainerProfiledBySysMLProfile(rootPackage); - Assert.assertNotNull("Should retrieve a package with applied sysml profil",resultPackage); - Assert.assertEquals("Should retrieve the root package with applied sysml profil",rootPackage,resultPackage); - - resultPackage = SysMLResource.getFirstSysMLMatchingContainerProfiledBySysMLProfile(secondPackage); - Assert.assertNotNull("Should retrieve a package from the level2 package with applied sysml profil ",resultPackage); - Assert.assertEquals("Should retrieve the root package from the level2 package with applied sysml profil",rootPackage,resultPackage); - - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/.project b/core/org.eclipse.papyrus.sysml14.validation.tests/.project deleted file mode 100644 index b6ed69c..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/.project +++ /dev/null
@@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.validation.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> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription>
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/META-INF/MANIFEST.MF b/core/org.eclipse.papyrus.sysml14.validation.tests/META-INF/MANIFEST.MF deleted file mode 100644 index f9682b3..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,17 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %Bundle-Name -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.validation.tests -Bundle-Version: 1.2.0.qualifier -Fragment-Host: org.eclipse.papyrus.sysml14.validation -Require-Bundle: org.junit;bundle-version="[4.11.0,5.0.0)", - org.eclipse.papyrus.uml.service.validation;bundle-version="[2.0.0,3.0.0)", - org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="[3.0.0,4.0.0)" -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Bundle-Localization: plugin -Export-Package: org.eclipse.papyrus.sysml14.validation.tests.ocl, - org.eclipse.papyrus.sysml14.validation.tests.rules.activities, - org.eclipse.papyrus.sysml14.validation.tests.rules.blocks, - org.eclipse.papyrus.sysml14.validation.tests.rules.modelelements, - org.eclipse.papyrus.sysml14.validation.tests.rules.portsandflows, - org.eclipse.papyrus.sysml14.validation.tests.rules.requirements
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/plugin.properties b/core/org.eclipse.papyrus.sysml14.validation.tests/plugin.properties deleted file mode 100644 index a57f049..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/plugin.properties +++ /dev/null
@@ -1,13 +0,0 @@ -################################################################################# -# Copyright (c) 2016 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: -# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation -################################################################################## -Bundle-Name=Papyrus SysML 1.4 Validation Test -Bundle-Description=This plug-in contains test for SyML 1.4 model validation -Bundle-Vendor=Eclipse Modeling Project
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/pom.xml b/core/org.eclipse.papyrus.sysml14.validation.tests/pom.xml deleted file mode 100644 index 9fd5118..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/pom.xml +++ /dev/null
@@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" - xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <modelVersion>4.0.0</modelVersion> - <parent> - <artifactId>org.eclipse.papyrus.sysml14.core</artifactId> - <groupId>org.eclipse.papyrus.sysml</groupId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.validation.tests</artifactId> - <packaging>eclipse-test-plugin</packaging> - <name>org.eclipse.papyrus.sysml14.validation.tests</name> - <description>This plug-in contains the unit tests for SyML 1.4 ocl validation.</description> -</project>
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/ocl/RequirementIdTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/ocl/RequirementIdTest.java deleted file mode 100644 index c267797..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/ocl/RequirementIdTest.java +++ /dev/null
@@ -1,86 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.ocl; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.requirements.Requirement; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on RequirementId constraint - * - */ -@SuppressWarnings("nls") -public class RequirementIdTest { - - public static final String CONSTRAINT_ID = "constraint.requirement.requireId"; - - /** - * Test method for {@link org.eclipse.papyrus.sysml14.service.types.command.SetNestedPathCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)}. - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class valid = model.createOwnedClass("valid", false); - Requirement req1 = (Requirement)StereotypeApplicationHelper.getInstance(null).applyStereotype(valid, RequirementsPackage.eINSTANCE.getRequirement()); - req1.setId("1"); - Class invalid = model.createOwnedClass("invalid", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalid, RequirementsPackage.eINSTANCE.getRequirement()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this requirement", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, valid).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this requirement", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalid).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/ocl/RequirementTextTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/ocl/RequirementTextTest.java deleted file mode 100644 index 8a94d71..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/ocl/RequirementTextTest.java +++ /dev/null
@@ -1,86 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.ocl; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.requirements.Requirement; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on RequirementId constraint - * - */ -@SuppressWarnings("nls") -public class RequirementTextTest { - - public static final String CONSTRAINT_ID = "constraint.requirement.requireText"; - - /** - * Test method for {@link org.eclipse.papyrus.sysml14.service.types.command.SetNestedPathCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)}. - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class valid = model.createOwnedClass("valid", false); - Requirement req1 = (Requirement)StereotypeApplicationHelper.getInstance(null).applyStereotype(valid, RequirementsPackage.eINSTANCE.getRequirement()); - req1.setText("1"); - Class invalid = model.createOwnedClass("invalid", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalid, RequirementsPackage.eINSTANCE.getRequirement()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this requirement", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, valid).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this requirement", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalid).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/activities/DiscreteNoContinuousModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/activities/DiscreteNoContinuousModelConstraintTest.java deleted file mode 100644 index d84c95d..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/activities/DiscreteNoContinuousModelConstraintTest.java +++ /dev/null
@@ -1,89 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.activities; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Activity; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Parameter; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on RequirementId constraint - * - */ -@SuppressWarnings("nls") -public class DiscreteNoContinuousModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.discrete.nocontinuous"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - Activity activity = UMLFactory.eINSTANCE.createActivity(); - activity.setPackage(model); - Parameter validParameter = activity.createOwnedParameter("validParameter", null); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validParameter, ActivitiesPackage.eINSTANCE.getDiscrete()); - - Parameter invalidParameter = activity.createOwnedParameter("invalidParameter", null); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidParameter, ActivitiesPackage.eINSTANCE.getDiscrete()); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidParameter, ActivitiesPackage.eINSTANCE.getContinuous()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validParameter).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidParameter).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/activities/NoBufferNoOverwriteModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/activities/NoBufferNoOverwriteModelConstraintTest.java deleted file mode 100644 index b197558..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/activities/NoBufferNoOverwriteModelConstraintTest.java +++ /dev/null
@@ -1,91 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.activities; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Activity; -import org.eclipse.uml2.uml.InputPin; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.StructuredActivityNode; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on RequirementId constraint - * - */ -@SuppressWarnings("nls") -public class NoBufferNoOverwriteModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.nobuffer.nooverwrite"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - Activity activity = UMLFactory.eINSTANCE.createActivity(); - activity.setPackage(model); - StructuredActivityNode structuredNode = activity.createStructuredNode("StructuredNode"); - InputPin validStructuredNodeInput = structuredNode.createStructuredNodeInput("validStructuredNodeInput", null); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validStructuredNodeInput, ActivitiesPackage.eINSTANCE.getNoBuffer()); - - InputPin invalidStructuredNodeInput = structuredNode.createStructuredNodeInput("invalidStructuredNodeInput", null); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidStructuredNodeInput, ActivitiesPackage.eINSTANCE.getNoBuffer()); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidStructuredNodeInput, ActivitiesPackage.eINSTANCE.getOverwrite()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validStructuredNodeInput).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidStructuredNodeInput).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/activities/OptionalMultiplicityModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/activities/OptionalMultiplicityModelConstraintTest.java deleted file mode 100644 index 05c1c04..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/activities/OptionalMultiplicityModelConstraintTest.java +++ /dev/null
@@ -1,90 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.activities; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Activity; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Parameter; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on RequirementId constraint - * - */ -@SuppressWarnings("nls") -public class OptionalMultiplicityModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.optional.multiplicity"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - Activity activity = UMLFactory.eINSTANCE.createActivity(); - activity.setPackage(model); - Parameter validParameter = activity.createOwnedParameter("validParameter", null); - validParameter.setLower(0); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validParameter, ActivitiesPackage.eINSTANCE.getOptional()); - - Parameter invalidParameter = activity.createOwnedParameter("invalidParameter", null); - invalidParameter.setLower(1); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidParameter, ActivitiesPackage.eINSTANCE.getOptional()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validParameter).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidParameter).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/activities/OverwriteNoNoBufferModelConstraintModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/activities/OverwriteNoNoBufferModelConstraintModelConstraintTest.java deleted file mode 100644 index 2d434b0..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/activities/OverwriteNoNoBufferModelConstraintModelConstraintTest.java +++ /dev/null
@@ -1,91 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.activities; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Activity; -import org.eclipse.uml2.uml.InputPin; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.StructuredActivityNode; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID constraint - * - */ -@SuppressWarnings("nls") -public class OverwriteNoNoBufferModelConstraintModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.overwrite.nonobuffer"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - Activity activity = UMLFactory.eINSTANCE.createActivity(); - activity.setPackage(model); - StructuredActivityNode structuredNode = activity.createStructuredNode("StructuredNode"); - InputPin validStructuredNodeInput = structuredNode.createStructuredNodeInput("validStructuredNodeInput", null); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validStructuredNodeInput, ActivitiesPackage.eINSTANCE.getOverwrite()); - - InputPin invalidStructuredNodeInput = structuredNode.createStructuredNodeInput("invalidStructuredNodeInput", null); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidStructuredNodeInput, ActivitiesPackage.eINSTANCE.getOverwrite()); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidStructuredNodeInput, ActivitiesPackage.eINSTANCE.getNoBuffer()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validStructuredNodeInput).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidStructuredNodeInput).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/activities/RateParameterIsStreamModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/activities/RateParameterIsStreamModelConstraintTest.java deleted file mode 100644 index 7d1c758..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/activities/RateParameterIsStreamModelConstraintTest.java +++ /dev/null
@@ -1,91 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.activities; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Activity; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Parameter; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on RequirementId constraint - * - */ -@SuppressWarnings("nls") -public class RateParameterIsStreamModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.rate.parameterisstream"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - Activity activity = UMLFactory.eINSTANCE.createActivity(); - activity.setPackage(model); - - Parameter validParameter = activity.createOwnedParameter("validParameter", null); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validParameter, ActivitiesPackage.eINSTANCE.getRate()); - validParameter.setIsStream(true); - - Parameter invalidParameter = activity.createOwnedParameter("invalidParameter", null); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidParameter, ActivitiesPackage.eINSTANCE.getRate()); - invalidParameter.setIsStream(false); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validParameter).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidParameter).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/allocations/AllocateOneClientSupplierModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/allocations/AllocateOneClientSupplierModelConstraintTest.java deleted file mode 100644 index d86debb..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/allocations/AllocateOneClientSupplierModelConstraintTest.java +++ /dev/null
@@ -1,98 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.allocations; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.allocations.AllocationsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID constraint - * - */ -@SuppressWarnings("nls") -public class AllocateOneClientSupplierModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.allocate.oneclientsupplier"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class class1 = model.createOwnedClass("Class1", false); - Abstraction validAbstraction = UMLFactory.eINSTANCE.createAbstraction(); - model.getPackagedElements().add(validAbstraction); - validAbstraction.getSuppliers().add(class1); - validAbstraction.getClients().add(class1); - - StereotypeApplicationHelper.getInstance(null).applyStereotype(validAbstraction, AllocationsPackage.eINSTANCE.getAllocate()); - - Abstraction invalidAbstraction = UMLFactory.eINSTANCE.createAbstraction(); - model.getPackagedElements().add(invalidAbstraction); - invalidAbstraction.getSuppliers().add(class1); - Class class2 = model.createOwnedClass("Class2", false); - invalidAbstraction.getSuppliers().add(class2); - invalidAbstraction.getClients().add(class1); - - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidAbstraction, AllocationsPackage.eINSTANCE.getAllocate()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validAbstraction).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidAbstraction).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/allocations/AllocateOnlyAbstractionModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/allocations/AllocateOnlyAbstractionModelConstraintTest.java deleted file mode 100644 index d7a36ff..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/allocations/AllocateOnlyAbstractionModelConstraintTest.java +++ /dev/null
@@ -1,94 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.allocations; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.allocations.AllocationsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Realization; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID constraint - * - */ -@SuppressWarnings("nls") -public class AllocateOnlyAbstractionModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.allocate.onlyabstraction"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Abstraction validAllocate = UMLFactory.eINSTANCE.createAbstraction(); - validAllocate.setName("validAllocate"); - model.getPackagedElements().add(validAllocate); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validAllocate, AllocationsPackage.eINSTANCE.getAllocate()); - - Realization invalidAllocate = UMLFactory.eINSTANCE.createRealization(); - invalidAllocate.setName("invalidAllocate"); - model.getPackagedElements().add(invalidAllocate); - - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidAllocate, AllocationsPackage.eINSTANCE.getAllocate()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validAllocate).size()); - - //FIXME the diagnostic is returning 2 failures instead of one - //Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidAllocate).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/AssociationBlockModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/AssociationBlockModelConstraintTest.java deleted file mode 100644 index 4f7fee8..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/AssociationBlockModelConstraintTest.java +++ /dev/null
@@ -1,95 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.blocks; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.AggregationKind; -import org.eclipse.uml2.uml.Association; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -@Ignore // test not working Selector seems to be not working -public class AssociationBlockModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.block.associationBlock"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class validBlock = model.createOwnedClass("validBlock", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validBlock, BlocksPackage.eINSTANCE.getBlock()); - Association validassociation = validBlock.createAssociation(true, AggregationKind.NONE_LITERAL, "", 0, 0, validBlock, true, AggregationKind.NONE_LITERAL, "", 0, 0); - validassociation.setPackage(model); - - Class invalidBlock = model.createOwnedClass("invalidBlock", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidBlock, BlocksPackage.eINSTANCE.getBlock()); - Association invalidassociation = invalidBlock.createAssociation(true, AggregationKind.NONE_LITERAL, "", 0, 0, invalidBlock, true, AggregationKind.NONE_LITERAL, "", 0, 0); - Property invalidAttribute = invalidBlock.createOwnedAttribute("invalidAttribute", null); - invalidassociation.getMemberEnds().add(invalidAttribute); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validassociation).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidassociation).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/BindingConnectorSameEndsTypeModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/BindingConnectorSameEndsTypeModelConstraintTest.java deleted file mode 100644 index 5c929ae..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/BindingConnectorSameEndsTypeModelConstraintTest.java +++ /dev/null
@@ -1,106 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.blocks; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Connector; -import org.eclipse.uml2.uml.ConnectorEnd; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -public class BindingConnectorSameEndsTypeModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.bindingconnector.sameendstype"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class clazz = model.createOwnedClass("Class", false); - Class clazz2 = model.createOwnedClass("Class2", false); - Property sameType1 = clazz.createOwnedAttribute("sameType", clazz); - Property sameType2 = clazz.createOwnedAttribute("sameType", clazz); - Property differentType = clazz.createOwnedAttribute("differentType", clazz2); - - Connector validBindingConnector = clazz.createOwnedConnector("validBindingConnector"); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validBindingConnector, BlocksPackage.eINSTANCE.getBindingConnector()); - - // Add source connector end - ConnectorEnd connectorEndSameType1 = UMLFactory.eINSTANCE.createConnectorEnd(); - connectorEndSameType1.setRole(sameType1); - ConnectorEnd connectorEndSameType2 = UMLFactory.eINSTANCE.createConnectorEnd(); - connectorEndSameType2.setRole(sameType2); - validBindingConnector.getEnds().add(connectorEndSameType1); - validBindingConnector.getEnds().add(connectorEndSameType2); - - Connector invalidBindingConnector = clazz.createOwnedConnector("invalidBindingConnector"); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidBindingConnector, BlocksPackage.eINSTANCE.getBindingConnector()); - ConnectorEnd connectorEndDifferentType = UMLFactory.eINSTANCE.createConnectorEnd(); - connectorEndDifferentType.setRole(differentType); - invalidBindingConnector.getEnds().add(connectorEndSameType1); - invalidBindingConnector.getEnds().add(connectorEndDifferentType); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validBindingConnector).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidBindingConnector).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/BlockPropertyCompositeModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/BlockPropertyCompositeModelConstraintTest.java deleted file mode 100644 index abcdf69..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/BlockPropertyCompositeModelConstraintTest.java +++ /dev/null
@@ -1,96 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.blocks; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.AggregationKind; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.DataType; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -public class BlockPropertyCompositeModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.block.propertycomposite"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - DataType valueType = UMLFactory.eINSTANCE.createDataType(); - valueType.setPackage(model); - StereotypeApplicationHelper.getInstance(null).applyStereotype(valueType, BlocksPackage.eINSTANCE.getValueType()); - - Class validBlock = model.createOwnedClass("validBlock", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validBlock, BlocksPackage.eINSTANCE.getBlock()); - Property validAttribute = validBlock.createOwnedAttribute("validAttribute", valueType); - validAttribute.setAggregation(AggregationKind.COMPOSITE_LITERAL); - - Class invalidBlock = model.createOwnedClass("invalidBlock", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidBlock, BlocksPackage.eINSTANCE.getBlock()); - Property invalidAttribute = invalidBlock.createOwnedAttribute("invalidAttribute", valueType); - invalidAttribute.setAggregation(AggregationKind.NONE_LITERAL); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validBlock).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidBlock).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/BlockPropertyNoNameModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/BlockPropertyNoNameModelConstraintTest.java deleted file mode 100644 index aad4495..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/BlockPropertyNoNameModelConstraintTest.java +++ /dev/null
@@ -1,96 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.blocks; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.AggregationKind; -import org.eclipse.uml2.uml.Association; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -public class BlockPropertyNoNameModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.block.propertynoname"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class validBlock = model.createOwnedClass("validBlock", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validBlock, BlocksPackage.eINSTANCE.getBlock()); - Property validAttribute = validBlock.createOwnedAttribute("", validBlock); - Association validassociation = validBlock.createAssociation(true, AggregationKind.NONE_LITERAL, "", 0, 0, validBlock, true, AggregationKind.NONE_LITERAL, "", 0, 0); - validAttribute.setOwningAssociation(validassociation); - validassociation.getMemberEnds().add(validAttribute); - - Class invalidBlock = model.createOwnedClass("invalidBlock", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidBlock, BlocksPackage.eINSTANCE.getBlock()); - Property invalidAttribute = invalidBlock.createOwnedAttribute("invalidAttribute", invalidBlock); - Association invalidassociation = validBlock.createAssociation(true, AggregationKind.NONE_LITERAL, "", 0, 0, validBlock, true, AggregationKind.NONE_LITERAL, "", 0, 0); - invalidAttribute.setOwningAssociation(invalidassociation); - invalidassociation.getMemberEnds().add(invalidAttribute); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validAttribute).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidAttribute).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/BlockSpecializationModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/BlockSpecializationModelConstraintTest.java deleted file mode 100644 index 5b84d4a..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/BlockSpecializationModelConstraintTest.java +++ /dev/null
@@ -1,91 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.blocks; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -public class BlockSpecializationModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.block.specialization"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class validBlock = model.createOwnedClass("validBlock", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validBlock, BlocksPackage.eINSTANCE.getBlock()); - - Class parentValidBlock = model.createOwnedClass("parentValidBlock", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(parentValidBlock, BlocksPackage.eINSTANCE.getBlock()); - validBlock.createGeneralization(parentValidBlock); - - Class invalidBlock = model.createOwnedClass("invalidBlock", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidBlock, BlocksPackage.eINSTANCE.getBlock()); - Class invalidClass = model.createOwnedClass("invalidClass", false); - invalidClass.createGeneralization(invalidBlock); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validBlock).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidClass).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ClassifierBehaviorPropertyIsCompositeModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ClassifierBehaviorPropertyIsCompositeModelConstraintTest.java deleted file mode 100644 index fb070f3..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ClassifierBehaviorPropertyIsCompositeModelConstraintTest.java +++ /dev/null
@@ -1,91 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.blocks; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.AggregationKind; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -public class ClassifierBehaviorPropertyIsCompositeModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.classifierbehaviorproperty.iscomposite"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class clazz = model.createOwnedClass("Class", false); - - Property validClassifierBehaviorProperty = clazz.createOwnedAttribute("validClassifierBehaviorProperty", clazz); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validClassifierBehaviorProperty, BlocksPackage.eINSTANCE.getClassifierBehaviorProperty()); - validClassifierBehaviorProperty.setAggregation(AggregationKind.COMPOSITE_LITERAL); - - Property invalidClassifierBehaviorProperty = clazz.createOwnedAttribute("invalidClassifierBehaviorProperty", clazz); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidClassifierBehaviorProperty, BlocksPackage.eINSTANCE.getClassifierBehaviorProperty()); - invalidClassifierBehaviorProperty.setAggregation(AggregationKind.NONE_LITERAL); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validClassifierBehaviorProperty).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidClassifierBehaviorProperty).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ClassifierBehaviorPropertyOnBlockModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ClassifierBehaviorPropertyOnBlockModelConstraintTest.java deleted file mode 100644 index 256c047..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ClassifierBehaviorPropertyOnBlockModelConstraintTest.java +++ /dev/null
@@ -1,93 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.blocks; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.UMLPackage; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -public class ClassifierBehaviorPropertyOnBlockModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.classifierbehaviorproperty.onblock"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class validBlock = model.createOwnedClass("validBlock", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validBlock, BlocksPackage.eINSTANCE.getBlock()); - validBlock.createClassifierBehavior("validClassifierBehavior", UMLPackage.eINSTANCE.getActivity()); - - Property validClassifierBehaviorProperty = validBlock.createOwnedAttribute("validClassifierBehaviorProperty", validBlock); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validClassifierBehaviorProperty, BlocksPackage.eINSTANCE.getClassifierBehaviorProperty()); - - Class invalidBlock = model.createOwnedClass("invalidBlock", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidBlock, BlocksPackage.eINSTANCE.getBlock()); - Property invalidClassifierBehaviorProperty = invalidBlock.createOwnedAttribute("invalidClassifierBehaviorProperty", null); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidClassifierBehaviorProperty, BlocksPackage.eINSTANCE.getClassifierBehaviorProperty()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validClassifierBehaviorProperty).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidClassifierBehaviorProperty).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ClassifierBehaviorPropertyTypedByModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ClassifierBehaviorPropertyTypedByModelConstraintTest.java deleted file mode 100644 index 403b3eb..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ClassifierBehaviorPropertyTypedByModelConstraintTest.java +++ /dev/null
@@ -1,96 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.blocks; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Behavior; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.UMLPackage; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -public class ClassifierBehaviorPropertyTypedByModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.classifierbehaviorproperty.typedby"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class validBlock = model.createOwnedClass("validBlock", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validBlock, BlocksPackage.eINSTANCE.getBlock()); - Behavior createClassifierBehavior = validBlock.createClassifierBehavior("validClassifierBehavior", UMLPackage.eINSTANCE.getActivity()); - - Property validClassifierBehaviorProperty = validBlock.createOwnedAttribute("validClassifierBehaviorProperty", validBlock); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validClassifierBehaviorProperty, BlocksPackage.eINSTANCE.getClassifierBehaviorProperty()); - validClassifierBehaviorProperty.setType(createClassifierBehavior); - - Class invalidBlock = model.createOwnedClass("invalidBlock", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidBlock, BlocksPackage.eINSTANCE.getBlock()); - Property invalidClassifierBehaviorProperty = invalidBlock.createOwnedAttribute("invalidClassifierBehaviorProperty", null); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidClassifierBehaviorProperty, BlocksPackage.eINSTANCE.getClassifierBehaviorProperty()); - invalidClassifierBehaviorProperty.setType(validBlock); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validClassifierBehaviorProperty).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidClassifierBehaviorProperty).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ConnectorPropertyOnlyCompositeModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ConnectorPropertyOnlyCompositeModelConstraintTest.java deleted file mode 100644 index d89762d..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ConnectorPropertyOnlyCompositeModelConstraintTest.java +++ /dev/null
@@ -1,91 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.blocks; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -public class ConnectorPropertyOnlyCompositeModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.connectorproperty.onlycomposite"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class clazz = model.createOwnedClass("Class", false); - - Property validConnectorProperty = clazz.createOwnedAttribute("validConnectorProperty", clazz); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validConnectorProperty, BlocksPackage.eINSTANCE.getConnectorProperty()); - validConnectorProperty.setIsComposite(true); - - - Property invalidConnectorProperty = clazz.createOwnedAttribute("invalidConnectorProperty", clazz); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidConnectorProperty, BlocksPackage.eINSTANCE.getConnectorProperty()); - invalidConnectorProperty.setIsComposite(false); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validConnectorProperty).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidConnectorProperty).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ConnectorPropertyOnlyOnBlockModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ConnectorPropertyOnlyOnBlockModelConstraintTest.java deleted file mode 100644 index f461670..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ConnectorPropertyOnlyOnBlockModelConstraintTest.java +++ /dev/null
@@ -1,90 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.blocks; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -public class ConnectorPropertyOnlyOnBlockModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.connectorproperty.onlyonblock"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class clazz = model.createOwnedClass("Class", false); - Class block = model.createOwnedClass("Block", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(block, BlocksPackage.eINSTANCE.getBlock()); - - Property validConnectorProperty = block.createOwnedAttribute("validConnectorProperty", block); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validConnectorProperty, BlocksPackage.eINSTANCE.getConnectorProperty()); - - Property invalidConnectorProperty = clazz.createOwnedAttribute("invalidConnectorProperty", clazz); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidConnectorProperty, BlocksPackage.eINSTANCE.getConnectorProperty()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validConnectorProperty).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidConnectorProperty).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ConnectorPropertyReferOwnedConnectorModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ConnectorPropertyReferOwnedConnectorModelConstraintTest.java deleted file mode 100644 index 5c9bc1e..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ConnectorPropertyReferOwnedConnectorModelConstraintTest.java +++ /dev/null
@@ -1,95 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.blocks; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.blocks.ConnectorProperty; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Connector; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -public class ConnectorPropertyReferOwnedConnectorModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.connectorproperty.referownedconnector"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class clazz = model.createOwnedClass("Class", false); - Class block = model.createOwnedClass("Block", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(block, BlocksPackage.eINSTANCE.getBlock()); - - Property validProperty = block.createOwnedAttribute("validProperty", block); - ConnectorProperty validConnectorProperty = (ConnectorProperty) StereotypeApplicationHelper.getInstance(null).applyStereotype(validProperty, BlocksPackage.eINSTANCE.getConnectorProperty()); - Connector ownedConnector = block.createOwnedConnector("ownedConnector"); - validConnectorProperty.setConnector(ownedConnector); - - Property invalidProperty = clazz.createOwnedAttribute("invalidProperty", clazz); - ConnectorProperty invalidConnectorProperty = (ConnectorProperty) StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidProperty, BlocksPackage.eINSTANCE.getConnectorProperty()); - invalidConnectorProperty.setConnector(ownedConnector); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validProperty).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidProperty).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ConnectorPropertySameNameModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ConnectorPropertySameNameModelConstraintTest.java deleted file mode 100644 index 2c7ff78..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ConnectorPropertySameNameModelConstraintTest.java +++ /dev/null
@@ -1,103 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.blocks; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.blocks.ConnectorProperty; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.AggregationKind; -import org.eclipse.uml2.uml.Association; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Connector; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -public class ConnectorPropertySameNameModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.connectorproperty.samename"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class clazz = model.createOwnedClass("Class", false); - Class block = model.createOwnedClass("Block", false); - - Association association = clazz.createAssociation(true, AggregationKind.NONE_LITERAL, "", 0, 0, clazz, true, AggregationKind.NONE_LITERAL, "", 0, 0); - - StereotypeApplicationHelper.getInstance(null).applyStereotype(block, BlocksPackage.eINSTANCE.getBlock()); - - Property validProperty = block.createOwnedAttribute("validProperty", block); - validProperty.setType(association); - ConnectorProperty validConnectorProperty = (ConnectorProperty) StereotypeApplicationHelper.getInstance(null).applyStereotype(validProperty, BlocksPackage.eINSTANCE.getConnectorProperty()); - Connector ownedConnector = block.createOwnedConnector("ownedConnector"); - validConnectorProperty.setConnector(ownedConnector); - ownedConnector.setName("validProperty"); - ownedConnector.setType(association); - - Property invalidProperty = clazz.createOwnedAttribute("invalidProperty", clazz); - ConnectorProperty invalidConnectorProperty = (ConnectorProperty) StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidProperty, BlocksPackage.eINSTANCE.getConnectorProperty()); - invalidConnectorProperty.setConnector(ownedConnector); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validProperty).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidProperty).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ConnectorPropertyTypedByAssociationBlockModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ConnectorPropertyTypedByAssociationBlockModelConstraintTest.java deleted file mode 100644 index eead8f4..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ConnectorPropertyTypedByAssociationBlockModelConstraintTest.java +++ /dev/null
@@ -1,109 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.blocks; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.blocks.ConnectorProperty; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.AggregationKind; -import org.eclipse.uml2.uml.Association; -import org.eclipse.uml2.uml.AssociationClass; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Connector; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -public class ConnectorPropertyTypedByAssociationBlockModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.connectorproperty.typedbyassociationblock"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class clazz = model.createOwnedClass("Class", false); - Class block = model.createOwnedClass("Block", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(block, BlocksPackage.eINSTANCE.getBlock()); - - AssociationClass createAssociationClass = UMLFactory.eINSTANCE.createAssociationClass(); - createAssociationClass.setPackage(model); - StereotypeApplicationHelper.getInstance(null).applyStereotype(createAssociationClass, BlocksPackage.eINSTANCE.getBlock()); - - Property validProperty = block.createOwnedAttribute("validProperty", block); - ConnectorProperty validConnectorProperty = (ConnectorProperty) StereotypeApplicationHelper.getInstance(null).applyStereotype(validProperty, BlocksPackage.eINSTANCE.getConnectorProperty()); - Connector validOwnedConnector = block.createOwnedConnector("validOwnedConnector"); - validConnectorProperty.setConnector(validOwnedConnector); - validOwnedConnector.setType(createAssociationClass); - - Property invalidProperty = clazz.createOwnedAttribute("invalidProperty", clazz); - ConnectorProperty invalidConnectorProperty = (ConnectorProperty) StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidProperty, BlocksPackage.eINSTANCE.getConnectorProperty()); - Connector invalidOwnedConnector = block.createOwnedConnector("invalidOwnedConnector"); - invalidConnectorProperty.setConnector(invalidOwnedConnector); - Association association = clazz.createAssociation(true, AggregationKind.NONE_LITERAL, "", 0, 0, clazz, true, AggregationKind.NONE_LITERAL, "", 0, 0); - invalidOwnedConnector.setType(association); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validProperty).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidProperty).size()); - } - -} -
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/DistributedPropertyTypedByModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/DistributedPropertyTypedByModelConstraintTest.java deleted file mode 100644 index c26f9dd..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/DistributedPropertyTypedByModelConstraintTest.java +++ /dev/null
@@ -1,90 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.blocks; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -public class DistributedPropertyTypedByModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.distributedproperty.typedby"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class clazz = model.createOwnedClass("Class", false); - Class block = model.createOwnedClass("Block", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(block, BlocksPackage.eINSTANCE.getBlock()); - - Property validDistributedProperty = clazz.createOwnedAttribute("validDistributedProperty", block); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validDistributedProperty, BlocksPackage.eINSTANCE.getDistributedProperty()); - - Property invalidDistributedProperty = clazz.createOwnedAttribute("invalidDistributedProperty", clazz); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidDistributedProperty, BlocksPackage.eINSTANCE.getDistributedProperty()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validDistributedProperty).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidDistributedProperty).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/EndPathMultiplicityNotNegativeModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/EndPathMultiplicityNotNegativeModelConstraintTest.java deleted file mode 100644 index 61fa58f..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/EndPathMultiplicityNotNegativeModelConstraintTest.java +++ /dev/null
@@ -1,91 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.blocks; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.blocks.EndPathMultiplicity; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -public class EndPathMultiplicityNotNegativeModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.endpathmultiplicity.notnegative"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class clazz = model.createOwnedClass("Class", false); - - Property validEndPathMultiplicity = clazz.createOwnedAttribute("validEndPathMultiplicity", clazz); - EndPathMultiplicity validEndPathMultiplicityStereotype= (EndPathMultiplicity) StereotypeApplicationHelper.getInstance(null).applyStereotype(validEndPathMultiplicity, BlocksPackage.eINSTANCE.getEndPathMultiplicity()); - validEndPathMultiplicityStereotype.setLower(1); - - Property invalidEndPathMultiplicity = clazz.createOwnedAttribute("invalidEndPathMultiplicity", clazz); - EndPathMultiplicity invalidEndPathMultiplicityStereotype= (EndPathMultiplicity) StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidEndPathMultiplicity, BlocksPackage.eINSTANCE.getEndPathMultiplicity()); - invalidEndPathMultiplicityStereotype.setLower(-1); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validEndPathMultiplicity).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidEndPathMultiplicity).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ParticipantPropertyEndMultiplicityModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ParticipantPropertyEndMultiplicityModelConstraintTest.java deleted file mode 100644 index 86d02a8..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ParticipantPropertyEndMultiplicityModelConstraintTest.java +++ /dev/null
@@ -1,92 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.blocks; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -public class ParticipantPropertyEndMultiplicityModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.participantproperty.endmultiplicity"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class clazz = model.createOwnedClass("Class", false); - - Property validProperty = clazz.createOwnedAttribute("validProperty", clazz); - validProperty.setUpper(1); - validProperty.setLower(1); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validProperty, BlocksPackage.eINSTANCE.getParticipantProperty()); - - Property invalidProperty = clazz.createOwnedAttribute("invalidProperty", clazz); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidProperty, BlocksPackage.eINSTANCE.getParticipantProperty()); - invalidProperty.setUpper(2); - invalidProperty.setLower(0); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validProperty).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidProperty).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ParticipantPropertyNoAssociationMemberEndsModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ParticipantPropertyNoAssociationMemberEndsModelConstraintTest.java deleted file mode 100644 index 6e589f4..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ParticipantPropertyNoAssociationMemberEndsModelConstraintTest.java +++ /dev/null
@@ -1,93 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.blocks; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.AggregationKind; -import org.eclipse.uml2.uml.Association; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -public class ParticipantPropertyNoAssociationMemberEndsModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.participantproperty.noassociationmemberends"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class clazz = model.createOwnedClass("Class", false); - - - Property validProperty = clazz.createOwnedAttribute("validProperty", clazz); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validProperty, BlocksPackage.eINSTANCE.getParticipantProperty()); - - Property invalidProperty = clazz.createOwnedAttribute("invalidProperty", clazz); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidProperty, BlocksPackage.eINSTANCE.getParticipantProperty()); - Association association = clazz.createAssociation(true, AggregationKind.NONE_LITERAL, "", 0, 0, clazz, true, AggregationKind.NONE_LITERAL, "", 0, 0); - invalidProperty.setAssociation(association); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validProperty).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidProperty).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ParticipantPropertyOnlyAssociationBlockModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ParticipantPropertyOnlyAssociationBlockModelConstraintTest.java deleted file mode 100644 index df289b3..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ParticipantPropertyOnlyAssociationBlockModelConstraintTest.java +++ /dev/null
@@ -1,94 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.blocks; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.AssociationClass; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -public class ParticipantPropertyOnlyAssociationBlockModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.participantproperty.onlyassociationblock"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class clazz = model.createOwnedClass("Class", false); - - AssociationClass createAssociationClass = UMLFactory.eINSTANCE.createAssociationClass(); - createAssociationClass.setPackage(model); - StereotypeApplicationHelper.getInstance(null).applyStereotype(createAssociationClass, BlocksPackage.eINSTANCE.getBlock()); - - Property validProperty = createAssociationClass.createOwnedAttribute("validProperty", clazz); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validProperty, BlocksPackage.eINSTANCE.getParticipantProperty()); - - Property invalidProperty = clazz.createOwnedAttribute("invalidProperty", clazz); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidProperty, BlocksPackage.eINSTANCE.getParticipantProperty()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validProperty).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidProperty).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ParticipantPropertyOnlyNoneAggregationModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ParticipantPropertyOnlyNoneAggregationModelConstraintTest.java deleted file mode 100644 index 222c712..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ParticipantPropertyOnlyNoneAggregationModelConstraintTest.java +++ /dev/null
@@ -1,91 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.blocks; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.AggregationKind; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -public class ParticipantPropertyOnlyNoneAggregationModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.participantproperty.onlynoneaggregation"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class clazz = model.createOwnedClass("Class", false); - - Property validProperty = clazz.createOwnedAttribute("validProperty", clazz); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validProperty, BlocksPackage.eINSTANCE.getParticipantProperty()); - validProperty.setAggregation(AggregationKind.NONE_LITERAL); - - Property invalidProperty = clazz.createOwnedAttribute("invalidProperty", clazz); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidProperty, BlocksPackage.eINSTANCE.getParticipantProperty()); - invalidProperty.setAggregation(AggregationKind.COMPOSITE_LITERAL); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validProperty).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidProperty).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ParticipantPropertySameEndModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ParticipantPropertySameEndModelConstraintTest.java deleted file mode 100644 index 8ace369..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ParticipantPropertySameEndModelConstraintTest.java +++ /dev/null
@@ -1,105 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.blocks; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.blocks.ParticipantProperty; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.AssociationClass; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -public class ParticipantPropertySameEndModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.participantproperty.sameend"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class clazz = model.createOwnedClass("Class", false); - Class clazz2 = model.createOwnedClass("Class2", false); - - AssociationClass createAssociationClass = UMLFactory.eINSTANCE.createAssociationClass(); - createAssociationClass.setPackage(model); - - - Property endSameType = createAssociationClass.createOwnedAttribute("endSameType", clazz); - Property endDiffType = createAssociationClass.createOwnedAttribute("endDiffType", clazz2); - - createAssociationClass.getMemberEnds().add(endSameType); - - StereotypeApplicationHelper.getInstance(null).applyStereotype(createAssociationClass, BlocksPackage.eINSTANCE.getBlock()); - - Property validProperty = createAssociationClass.createOwnedAttribute("validProperty", clazz); - ParticipantProperty validParticipantProperty = (ParticipantProperty) StereotypeApplicationHelper.getInstance(null).applyStereotype(validProperty, BlocksPackage.eINSTANCE.getParticipantProperty()); - validParticipantProperty.setEnd(endSameType); - - Property invalidProperty = createAssociationClass.createOwnedAttribute("invalidProperty", clazz); - ParticipantProperty invalidParticipantProperty = (ParticipantProperty) StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidProperty, BlocksPackage.eINSTANCE.getParticipantProperty()); - invalidParticipantProperty.setEnd(endDiffType); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validProperty).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidProperty).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ParticipantPropertySameTypeModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ParticipantPropertySameTypeModelConstraintTest.java deleted file mode 100644 index e129826..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/ParticipantPropertySameTypeModelConstraintTest.java +++ /dev/null
@@ -1,94 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.blocks; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.blocks.ParticipantProperty; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -public class ParticipantPropertySameTypeModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.participantproperty.sametype"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class clazz = model.createOwnedClass("Class", false); - Class clazz2 = model.createOwnedClass("Class2", false); - Property endSameType = clazz.createOwnedAttribute("validProperty", clazz); - Property endDiffType = clazz.createOwnedAttribute("validProperty", clazz2); - - Property validProperty = clazz.createOwnedAttribute("validProperty", clazz); - ParticipantProperty validParticipantProperty = (ParticipantProperty) StereotypeApplicationHelper.getInstance(null).applyStereotype(validProperty, BlocksPackage.eINSTANCE.getParticipantProperty()); - validParticipantProperty.setEnd(endSameType); - - Property invalidProperty = clazz.createOwnedAttribute("invalidProperty", clazz); - ParticipantProperty invalidParticipantProperty = (ParticipantProperty) StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidProperty, BlocksPackage.eINSTANCE.getParticipantProperty()); - invalidParticipantProperty.setEnd(endDiffType); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validProperty).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidProperty).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/PropertySpecificTypeMissingNameModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/PropertySpecificTypeMissingNameModelConstraintTest.java deleted file mode 100644 index e9e486f..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/PropertySpecificTypeMissingNameModelConstraintTest.java +++ /dev/null
@@ -1,85 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.blocks; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -public class PropertySpecificTypeMissingNameModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.propertyspecifictype.missingname"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class validClass = model.createOwnedClass(null, false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validClass, BlocksPackage.eINSTANCE.getPropertySpecificType()); - - Class invalidClass = model.createOwnedClass("invalidClass", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidClass, BlocksPackage.eINSTANCE.getPropertySpecificType()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validClass).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidClass).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/PropertySpecificTypeUniquePropertyModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/PropertySpecificTypeUniquePropertyModelConstraintTest.java deleted file mode 100644 index 3708a5f..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/blocks/PropertySpecificTypeUniquePropertyModelConstraintTest.java +++ /dev/null
@@ -1,88 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.blocks; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -public class PropertySpecificTypeUniquePropertyModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.propertyspecifictype.uniqueproperty"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class validClass = model.createOwnedClass("validClass", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validClass, BlocksPackage.eINSTANCE.getPropertySpecificType()); - validClass.createOwnedAttribute("typeUniqueAttribute", validClass); - - Class invalidClass = model.createOwnedClass("invalidClass", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidClass, BlocksPackage.eINSTANCE.getPropertySpecificType()); - invalidClass.createOwnedAttribute("typeDoubleAttribute", invalidClass); - invalidClass.createOwnedAttribute("typeDoubleAttribute2", invalidClass); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validClass).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidClass).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/modelelements/ConformGeneralClassifierViewpointModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/modelelements/ConformGeneralClassifierViewpointModelConstraintTest.java deleted file mode 100644 index 55cd1a5..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/modelelements/ConformGeneralClassifierViewpointModelConstraintTest.java +++ /dev/null
@@ -1,90 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.modelelements; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Generalization; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -public class ConformGeneralClassifierViewpointModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.conform.generalviewpoint"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class clazz = model.createOwnedClass("Class", false); - Class viewpoint = model.createOwnedClass("Viewpoint", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(viewpoint, ModelelementsPackage.eINSTANCE.getViewpoint()); - - Generalization validConform = clazz.createGeneralization(viewpoint); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validConform, ModelelementsPackage.eINSTANCE.getConform()); - - Generalization invalidConform = clazz.createGeneralization(clazz); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidConform, ModelelementsPackage.eINSTANCE.getConform()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validConform).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidConform).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/modelelements/ConformSpecificClassifierViewModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/modelelements/ConformSpecificClassifierViewModelConstraintTest.java deleted file mode 100644 index 9bd884f..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/modelelements/ConformSpecificClassifierViewModelConstraintTest.java +++ /dev/null
@@ -1,90 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.modelelements; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Generalization; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -public class ConformSpecificClassifierViewModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.conform.specificview"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class clazz = model.createOwnedClass("Class", false); - Class view = model.createOwnedClass("View", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(view, ModelelementsPackage.eINSTANCE.getView()); - - Generalization validConform = view.createGeneralization(clazz); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validConform, ModelelementsPackage.eINSTANCE.getConform()); - - Generalization invalidConform = clazz.createGeneralization(clazz); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidConform, ModelelementsPackage.eINSTANCE.getConform()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validConform).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidConform).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/modelelements/ExposeClientStereotypedByViewModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/modelelements/ExposeClientStereotypedByViewModelConstraintTest.java deleted file mode 100644 index 4b95151..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/modelelements/ExposeClientStereotypedByViewModelConstraintTest.java +++ /dev/null
@@ -1,90 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.modelelements; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Dependency; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -public class ExposeClientStereotypedByViewModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.expose.clientview"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class clazz = model.createOwnedClass("Class", false); - Class view = model.createOwnedClass("View", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(view, ModelelementsPackage.eINSTANCE.getView()); - - Dependency validExpose = view.createDependency(clazz); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validExpose, ModelelementsPackage.eINSTANCE.getExpose()); - - Dependency invalidExpose = clazz.createDependency(clazz); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidExpose, ModelelementsPackage.eINSTANCE.getExpose()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validExpose).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidExpose).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/modelelements/ViewSingleViewpointModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/modelelements/ViewSingleViewpointModelConstraintTest.java deleted file mode 100644 index da95be3..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/modelelements/ViewSingleViewpointModelConstraintTest.java +++ /dev/null
@@ -1,98 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.modelelements; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Generalization; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -public class ViewSingleViewpointModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.view.singleviewpoint"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class viewpoint = model.createOwnedClass("viewpoint", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(viewpoint, ModelelementsPackage.eINSTANCE.getViewpoint()); - - Class validView = model.createOwnedClass("validView", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validView, ModelelementsPackage.eINSTANCE.getView()); - - Generalization validConform = validView.createGeneralization(viewpoint); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validConform, ModelelementsPackage.eINSTANCE.getConform()); - - Class invalidView = model.createOwnedClass("invalidView", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidView, ModelelementsPackage.eINSTANCE.getView()); - - Generalization invalidConform1 = invalidView.createGeneralization(viewpoint); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidConform1, ModelelementsPackage.eINSTANCE.getConform()); - Generalization invalidConform2 = invalidView.createGeneralization(viewpoint); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidConform2, ModelelementsPackage.eINSTANCE.getConform()); - - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validView).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidView).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/modelelements/ViewpointOwnedViewModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/modelelements/ViewpointOwnedViewModelConstraintTest.java deleted file mode 100644 index 24e750e..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/modelelements/ViewpointOwnedViewModelConstraintTest.java +++ /dev/null
@@ -1,91 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.modelelements; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Operation; -import org.eclipse.uml2.uml.profile.standard.StandardPackage; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID - * - */ -@SuppressWarnings("nls") -public class ViewpointOwnedViewModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.viewpoint.ownedview"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class validViewpoint = model.createOwnedClass("validViewpoint", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validViewpoint, ModelelementsPackage.eINSTANCE.getViewpoint()); - - Operation validOwnedOperation = validViewpoint.createOwnedOperation("View", null, null); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validOwnedOperation,StandardPackage.eINSTANCE.getCreate()); - - Class invalidViewpoint = model.createOwnedClass("invalidViewpoint", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidViewpoint, ModelelementsPackage.eINSTANCE.getViewpoint()); - - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validViewpoint).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidViewpoint).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/FlowPropertyTypedByModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/FlowPropertyTypedByModelConstraintTest.java deleted file mode 100644 index 28d72e8..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/FlowPropertyTypedByModelConstraintTest.java +++ /dev/null
@@ -1,92 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.portsandflows; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on FlowPropertyTypedByModelConstraint - * - */ -@SuppressWarnings("nls") -public class FlowPropertyTypedByModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.flowproperty.typedby"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class clazz = model.createOwnedClass("Class", false); - Class block = model.createOwnedClass("Block", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(block, BlocksPackage.eINSTANCE.getBlock()); - - Property validFlowProperty = clazz.createOwnedAttribute("validFlowProperty", block); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validFlowProperty, PortsandflowsPackage.eINSTANCE.getFlowProperty()); - - - Property invalidFlowProperty = clazz.createOwnedAttribute("invalidFlowProperty", clazz); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidFlowProperty, PortsandflowsPackage.eINSTANCE.getFlowProperty()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validFlowProperty).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidFlowProperty).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/FullPortNotBehavioralModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/FullPortNotBehavioralModelConstraintTest.java deleted file mode 100644 index 1078ff4..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/FullPortNotBehavioralModelConstraintTest.java +++ /dev/null
@@ -1,89 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.portsandflows; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on FullPortNotBehavioral constraint - * - */ -@SuppressWarnings("nls") -public class FullPortNotBehavioralModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.fullport.notbehavioral"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class clazz = model.createOwnedClass("Class", false); - Port validPort = clazz.createOwnedPort("validPort", null); - validPort.setIsBehavior(false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validPort, PortsandflowsPackage.eINSTANCE.getFullPort()); - - Port invalidPort = clazz.createOwnedPort("invalidPort", null); - invalidPort.setIsBehavior(true); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidPort, PortsandflowsPackage.eINSTANCE.getFullPort()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validPort).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidPort).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/FullPortNotConjugatedModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/FullPortNotConjugatedModelConstraintTest.java deleted file mode 100644 index 3c31136..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/FullPortNotConjugatedModelConstraintTest.java +++ /dev/null
@@ -1,88 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.portsandflows; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on FullPortNotConjugated constraint - * - */ -@SuppressWarnings("nls") -public class FullPortNotConjugatedModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.fullport.notconjugated"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class clazz = model.createOwnedClass("Class", false); - Port validPort = clazz.createOwnedPort("validPort", null); - validPort.setIsConjugated(false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validPort, PortsandflowsPackage.eINSTANCE.getFullPort()); - Port invalidPort = clazz.createOwnedPort("invalidPort", null); - invalidPort.setIsConjugated(true); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidPort, PortsandflowsPackage.eINSTANCE.getFullPort()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validPort).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidPort).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/FullPortNotProxyPortModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/FullPortNotProxyPortModelConstraintTest.java deleted file mode 100644 index 4cdeff7..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/FullPortNotProxyPortModelConstraintTest.java +++ /dev/null
@@ -1,87 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.portsandflows; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on FullPortNotProxyPort constraint - * - */ -@SuppressWarnings("nls") -public class FullPortNotProxyPortModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.fullport.notproxyport"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class clazz = model.createOwnedClass("Class", false); - Port validPort = clazz.createOwnedPort("validPort", null); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validPort, PortsandflowsPackage.eINSTANCE.getFullPort()); - Port invalidPort = clazz.createOwnedPort("invalidPort", null); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidPort, PortsandflowsPackage.eINSTANCE.getFullPort()); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidPort, PortsandflowsPackage.eINSTANCE.getProxyPort()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validPort).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidPort).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/InterfaceBlockNoBehaviorConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/InterfaceBlockNoBehaviorConstraintTest.java deleted file mode 100644 index 342042b..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/InterfaceBlockNoBehaviorConstraintTest.java +++ /dev/null
@@ -1,87 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.portsandflows; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.UMLPackage; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID constraint - * - */ -@SuppressWarnings("nls") -public class InterfaceBlockNoBehaviorConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.interfaceblock.nobehavior"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class validInterfaceBlock = model.createOwnedClass("validInterfaceBlock", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validInterfaceBlock, PortsandflowsPackage.eINSTANCE.getInterfaceBlock()); - - Class invalidInterfaceBlock = model.createOwnedClass("invalidInterfaceBlock", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidInterfaceBlock, PortsandflowsPackage.eINSTANCE.getInterfaceBlock()); - invalidInterfaceBlock.createClassifierBehavior("invalidClassifierBehavior", UMLPackage.eINSTANCE.getActivity()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validInterfaceBlock).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidInterfaceBlock).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/InterfaceBlockNoCompositePropertyModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/InterfaceBlockNoCompositePropertyModelConstraintTest.java deleted file mode 100644 index 6c48fe8..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/InterfaceBlockNoCompositePropertyModelConstraintTest.java +++ /dev/null
@@ -1,90 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.portsandflows; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.AggregationKind; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID constraint - * - */ -@SuppressWarnings("nls") -public class InterfaceBlockNoCompositePropertyModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.interfaceblock.nocompositeproperty"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class validInterfaceBlock = model.createOwnedClass("validInterfaceBlock", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validInterfaceBlock, PortsandflowsPackage.eINSTANCE.getInterfaceBlock()); - validInterfaceBlock.createOwnedAttribute("valideProperty", null); - - Class invalidInterfaceBlock = model.createOwnedClass("invalidInterfaceBlock", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidInterfaceBlock, PortsandflowsPackage.eINSTANCE.getInterfaceBlock()); - Property invalideProperty = invalidInterfaceBlock.createOwnedAttribute("invalideProperty", null); - invalideProperty.setAggregation(AggregationKind.COMPOSITE_LITERAL); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validInterfaceBlock).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidInterfaceBlock).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/InterfaceBlockPortTypeModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/InterfaceBlockPortTypeModelConstraintTest.java deleted file mode 100644 index 90058fc..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/InterfaceBlockPortTypeModelConstraintTest.java +++ /dev/null
@@ -1,91 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.portsandflows; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID constraint - * - */ -@SuppressWarnings("nls") -public class InterfaceBlockPortTypeModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.interfaceblock.porttype"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class validInterfaceBlock = model.createOwnedClass("validInterfaceBlock", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validInterfaceBlock, PortsandflowsPackage.eINSTANCE.getInterfaceBlock()); - Port validePort = validInterfaceBlock.createOwnedPort("validePort", null); - validePort.setType(validInterfaceBlock); - - Class invalidInterfaceBlock = model.createOwnedClass("invalidInterfaceBlock", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidInterfaceBlock, PortsandflowsPackage.eINSTANCE.getInterfaceBlock()); - Property invalidePort = invalidInterfaceBlock.createOwnedPort("invalidePort", null); - invalidePort.setType(model.createOwnedClass("Class", false)); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validInterfaceBlock).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidInterfaceBlock).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/ProxyPortForceInnerProxyPortModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/ProxyPortForceInnerProxyPortModelConstraintTest.java deleted file mode 100644 index 0d30bf3..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/ProxyPortForceInnerProxyPortModelConstraintTest.java +++ /dev/null
@@ -1,96 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.portsandflows; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on FullPortNotProxyPort constraint - * - */ -@SuppressWarnings("nls") -public class ProxyPortForceInnerProxyPortModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.proxyport.innerproxyport"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class clazz = model.createOwnedClass("Class", false); - Port validPort = clazz.createOwnedPort("validPort", null); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validPort, PortsandflowsPackage.eINSTANCE.getProxyPort()); - - Class clazzWithOnlyProxyPort = model.createOwnedClass("clazzWithOnlyProxyPort", false); - Port innerProxyPort = clazzWithOnlyProxyPort.createOwnedPort("innerProxyPort", null); - StereotypeApplicationHelper.getInstance(null).applyStereotype(innerProxyPort, PortsandflowsPackage.eINSTANCE.getProxyPort()); - validPort.setType(clazzWithOnlyProxyPort); - - Port invalidPort = clazz.createOwnedPort("invalidPort", null); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidPort, PortsandflowsPackage.eINSTANCE.getProxyPort()); - - Class clazzWithStandardPort = model.createOwnedClass("clazzWithStandardPort", false); - clazzWithStandardPort.createOwnedPort("innerProxyPort", null); - invalidPort.setType(clazzWithStandardPort); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validPort).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidPort).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/ProxyPortNotFullPortModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/ProxyPortNotFullPortModelConstraintTest.java deleted file mode 100644 index fe0d03f..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/ProxyPortNotFullPortModelConstraintTest.java +++ /dev/null
@@ -1,87 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.portsandflows; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on FullPortNotProxyPort constraint - * - */ -@SuppressWarnings("nls") -public class ProxyPortNotFullPortModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.proxyport.notfullport"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class clazz = model.createOwnedClass("Class", false); - Port validPort = clazz.createOwnedPort("validPort", null); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validPort, PortsandflowsPackage.eINSTANCE.getProxyPort()); - Port invalidPort = clazz.createOwnedPort("invalidPort", null); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidPort, PortsandflowsPackage.eINSTANCE.getProxyPort()); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidPort, PortsandflowsPackage.eINSTANCE.getFullPort()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validPort).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidPort).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/ProxyPortTypedByInterfaceBlockModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/ProxyPortTypedByInterfaceBlockModelConstraintTest.java deleted file mode 100644 index 29e11c0..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/portsandflows/ProxyPortTypedByInterfaceBlockModelConstraintTest.java +++ /dev/null
@@ -1,93 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.portsandflows; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on FullPortNotProxyPort constraint - * - */ -@SuppressWarnings("nls") -public class ProxyPortTypedByInterfaceBlockModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.proxyport.typedinterfaceblock"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class clazz = model.createOwnedClass("Class", false); - Port validPort = clazz.createOwnedPort("validPort", null); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validPort, PortsandflowsPackage.eINSTANCE.getProxyPort()); - - Class interfaceBlock = model.createOwnedClass("interfaceBlock", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(interfaceBlock, PortsandflowsPackage.eINSTANCE.getInterfaceBlock()); - validPort.setType(interfaceBlock); - - Port invalidPort = clazz.createOwnedPort("invalidPort", null); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalidPort, PortsandflowsPackage.eINSTANCE.getProxyPort()); - Class noStereotypeClazz = model.createOwnedClass("noStereotypeClazz", false); - invalidPort.setType(noStereotypeClazz); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, validPort).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalidPort).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/CopyBetweenRequirementsModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/CopyBetweenRequirementsModelConstraintTest.java deleted file mode 100644 index dd5768a..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/CopyBetweenRequirementsModelConstraintTest.java +++ /dev/null
@@ -1,97 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.requirements; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on Refine One Client and One Supplier constraint - * - */ -@SuppressWarnings("nls") -public class CopyBetweenRequirementsModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.copy.betweenrequirements"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Abstraction copyValid = UMLFactory.eINSTANCE.createAbstraction(); - model.getPackagedElements().add(copyValid); - Class requirementSupplier = model.createOwnedClass("requirementSupplier", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(requirementSupplier, RequirementsPackage.eINSTANCE.getRequirement()); - copyValid.getSuppliers().add(requirementSupplier); - Class requirementClient = model.createOwnedClass("requirementClient", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(requirementClient, RequirementsPackage.eINSTANCE.getRequirement()); - copyValid.getClients().add(requirementClient); - StereotypeApplicationHelper.getInstance(null).applyStereotype(copyValid, RequirementsPackage.eINSTANCE.getCopy()); - - Abstraction copyInvalid = UMLFactory.eINSTANCE.createAbstraction(); - model.getPackagedElements().add(copyInvalid); - copyInvalid.getSuppliers().add(model.createOwnedClass("classsupplier", false)); - copyInvalid.getClients().add(model.createOwnedClass("classclien", false)); - StereotypeApplicationHelper.getInstance(null).applyStereotype(copyInvalid, RequirementsPackage.eINSTANCE.getCopy()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, copyValid).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, copyInvalid).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/CopyReadOnlyModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/CopyReadOnlyModelConstraintTest.java deleted file mode 100644 index 0adf51e..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/CopyReadOnlyModelConstraintTest.java +++ /dev/null
@@ -1,106 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.requirements; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.requirements.Requirement; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on Refine One Client and One Supplier constraint - * - */ -@SuppressWarnings("nls") -public class CopyReadOnlyModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.copy.readonly"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Abstraction copyValid = UMLFactory.eINSTANCE.createAbstraction(); - model.getPackagedElements().add(copyValid); - Class requirementSupplier = model.createOwnedClass("requirementSupplier", false); - Requirement requirementSupplierStereotypeplication = (Requirement) StereotypeApplicationHelper.getInstance(null).applyStereotype(requirementSupplier, RequirementsPackage.eINSTANCE.getRequirement()); - requirementSupplierStereotypeplication.setText("Copied text"); - copyValid.getSuppliers().add(requirementSupplier); - Class requirementClient = model.createOwnedClass("requirementClient", false); - Requirement requirementSupplierStereotypeplication2 = (Requirement) StereotypeApplicationHelper.getInstance(null).applyStereotype(requirementClient, RequirementsPackage.eINSTANCE.getRequirement()); - requirementSupplierStereotypeplication2.setText("Copied text"); - copyValid.getClients().add(requirementClient); - StereotypeApplicationHelper.getInstance(null).applyStereotype(copyValid, RequirementsPackage.eINSTANCE.getCopy()); - - Abstraction copyInvalid = UMLFactory.eINSTANCE.createAbstraction(); - model.getPackagedElements().add(copyInvalid); - Class requirementSupplierInvalid = model.createOwnedClass("requirementSupplier", false); - Requirement requirementSupplierStereotypeplication3 = (Requirement) StereotypeApplicationHelper.getInstance(null).applyStereotype(requirementSupplierInvalid, RequirementsPackage.eINSTANCE.getRequirement()); - requirementSupplierStereotypeplication3.setText("Copied text"); - copyInvalid.getSuppliers().add(requirementSupplierInvalid); - Class requirementClientInvalid = model.createOwnedClass("requirementClient", false); - Requirement requirementSupplierStereotypeplication4 = (Requirement) StereotypeApplicationHelper.getInstance(null).applyStereotype(requirementClientInvalid, RequirementsPackage.eINSTANCE.getRequirement()); - requirementSupplierStereotypeplication4.setText("Different Copied text"); - copyInvalid.getClients().add(requirementClientInvalid); - StereotypeApplicationHelper.getInstance(null).applyStereotype(copyInvalid, RequirementsPackage.eINSTANCE.getCopy()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, copyValid).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, copyInvalid).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/DeriveReqtClientModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/DeriveReqtClientModelConstraintTest.java deleted file mode 100644 index 542d28e..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/DeriveReqtClientModelConstraintTest.java +++ /dev/null
@@ -1,96 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.requirements; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on DeriveReqt Client constraint - * - */ -@SuppressWarnings("nls") -public class DeriveReqtClientModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.derivereqt.client"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class clientRequirement = model.createOwnedClass("ClientRequirement", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(clientRequirement, RequirementsPackage.eINSTANCE.getRequirement()); - Abstraction deriveReqtValid = UMLFactory.eINSTANCE.createAbstraction(); - model.getPackagedElements().add(deriveReqtValid); - deriveReqtValid.getClients().add(clientRequirement); - deriveReqtValid.getSuppliers().add(model.createOwnedClass("uselessSupplier1", false)); - StereotypeApplicationHelper.getInstance(null).applyStereotype(deriveReqtValid, RequirementsPackage.eINSTANCE.getDeriveReqt()); - - Class clientClass = model.createOwnedClass("ClientClass", false); - Abstraction deriveReqtInvalid = UMLFactory.eINSTANCE.createAbstraction(); - model.getPackagedElements().add(deriveReqtInvalid); - deriveReqtInvalid.getClients().add(clientClass); - deriveReqtInvalid.getSuppliers().add(model.createOwnedClass("uselessSupplier2", false)); - StereotypeApplicationHelper.getInstance(null).applyStereotype(deriveReqtInvalid, RequirementsPackage.eINSTANCE.getDeriveReqt()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, deriveReqtValid).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, deriveReqtInvalid).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/DeriveReqtSupplierModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/DeriveReqtSupplierModelConstraintTest.java deleted file mode 100644 index a211a8b..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/DeriveReqtSupplierModelConstraintTest.java +++ /dev/null
@@ -1,96 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.requirements; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on DeriveReqt Supplier constraint - * - */ -@SuppressWarnings("nls") -public class DeriveReqtSupplierModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.derivereqt.supplier"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class supplierRequirement = model.createOwnedClass("SupplierRequirement", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(supplierRequirement, RequirementsPackage.eINSTANCE.getRequirement()); - Abstraction deriveReqtValid = UMLFactory.eINSTANCE.createAbstraction(); - model.getPackagedElements().add(deriveReqtValid); - deriveReqtValid.getSuppliers().add(supplierRequirement); - deriveReqtValid.getClients().add(model.createOwnedClass("uselessClient1", false)); - StereotypeApplicationHelper.getInstance(null).applyStereotype(deriveReqtValid, RequirementsPackage.eINSTANCE.getDeriveReqt()); - - Class supplierClass = model.createOwnedClass("SupplierClass", false); - Abstraction deriveReqtInvalid = UMLFactory.eINSTANCE.createAbstraction(); - model.getPackagedElements().add(deriveReqtInvalid); - deriveReqtInvalid.getSuppliers().add(supplierClass); - deriveReqtInvalid.getClients().add(model.createOwnedClass("uselessClient2", false)); - StereotypeApplicationHelper.getInstance(null).applyStereotype(deriveReqtInvalid, RequirementsPackage.eINSTANCE.getDeriveReqt()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, deriveReqtValid).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, deriveReqtInvalid).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/RefineDependencyModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/RefineDependencyModelConstraintTest.java deleted file mode 100644 index 13f214f..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/RefineDependencyModelConstraintTest.java +++ /dev/null
@@ -1,88 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.requirements; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.Generalization; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on Refine One Client and One Supplier constraint - * - */ -@SuppressWarnings("nls") -public class RefineDependencyModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.refine.dependency"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Abstraction refineValid = UMLFactory.eINSTANCE.createAbstraction(); - model.getPackagedElements().add(refineValid); - StereotypeApplicationHelper.getInstance(null).applyStereotype(refineValid, RequirementsPackage.eINSTANCE.getRefine()); - - Generalization refineInvalid = model.createOwnedClass("Child", false).createGeneralization(model.createOwnedClass("Parent", false)); - StereotypeApplicationHelper.getInstance(null).applyStereotype(refineInvalid, RequirementsPackage.eINSTANCE.getRefine()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, refineValid).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, refineInvalid).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/RefineOneClientSupplierModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/RefineOneClientSupplierModelConstraintTest.java deleted file mode 100644 index 2d022df..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/RefineOneClientSupplierModelConstraintTest.java +++ /dev/null
@@ -1,90 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.requirements; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on Refine One Client and One Supplier constraint - * - */ -@SuppressWarnings("nls") -public class RefineOneClientSupplierModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.refine.oneclientsupplier"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Abstraction refineValid = UMLFactory.eINSTANCE.createAbstraction(); - model.getPackagedElements().add(refineValid); - refineValid.getClients().add(model.createOwnedClass("client", false)); - refineValid.getSuppliers().add(model.createOwnedClass("supplier", false)); - StereotypeApplicationHelper.getInstance(null).applyStereotype(refineValid, RequirementsPackage.eINSTANCE.getRefine()); - - Abstraction refineInvalid = UMLFactory.eINSTANCE.createAbstraction(); - model.getPackagedElements().add(refineInvalid); - StereotypeApplicationHelper.getInstance(null).applyStereotype(refineInvalid, RequirementsPackage.eINSTANCE.getRefine()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, refineValid).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, refineInvalid).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/RequirementEmptyOwnedAttributeModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/RequirementEmptyOwnedAttributeModelConstraintTest.java deleted file mode 100644 index 9f28b95..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/RequirementEmptyOwnedAttributeModelConstraintTest.java +++ /dev/null
@@ -1,85 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.requirements; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID constraint - * - */ -@SuppressWarnings("nls") -public class RequirementEmptyOwnedAttributeModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.requirement.emptyownedattribute"; - - /** - * Test method for {@link org.eclipse.papyrus.sysml14.service.types.command.SetNestedPathCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)}. - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class valid = model.createOwnedClass("valid", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(valid, RequirementsPackage.eINSTANCE.getRequirement()); - - Class invalid = model.createOwnedClass("invalid", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalid, RequirementsPackage.eINSTANCE.getRequirement()); - invalid.createOwnedAttribute("invalidAttribute", null); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this requirement", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, valid).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this requirement", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalid).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/RequirementEmptyOwnedOperationModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/RequirementEmptyOwnedOperationModelConstraintTest.java deleted file mode 100644 index 63eaf2b..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/RequirementEmptyOwnedOperationModelConstraintTest.java +++ /dev/null
@@ -1,85 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.requirements; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID constraint - * - */ -@SuppressWarnings("nls") -public class RequirementEmptyOwnedOperationModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.requirement.emptyownedoperation"; - - /** - * Test method for {@link org.eclipse.papyrus.sysml14.service.types.command.SetNestedPathCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)}. - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class valid = model.createOwnedClass("valid", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(valid, RequirementsPackage.eINSTANCE.getRequirement()); - - Class invalid = model.createOwnedClass("invalid", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalid, RequirementsPackage.eINSTANCE.getRequirement()); - invalid.createOwnedOperation("invalidOperation", null, null); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this requirement", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, valid).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this requirement", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalid).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/RequirementNestedRequirementModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/RequirementNestedRequirementModelConstraintTest.java deleted file mode 100644 index d17eb76..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/RequirementNestedRequirementModelConstraintTest.java +++ /dev/null
@@ -1,88 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.requirements; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID constraint - * - */ -@SuppressWarnings("nls") -public class RequirementNestedRequirementModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.requirement.nestedrequirement"; - - /** - * Test method for {@link org.eclipse.papyrus.sysml14.service.types.command.SetNestedPathCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)}. - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class valid = model.createOwnedClass("valid", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(valid, RequirementsPackage.eINSTANCE.getRequirement()); - Classifier validNestedRequirement = valid.createNestedClassifier("validNestedClassifier", valid.eClass()); - StereotypeApplicationHelper.getInstance(null).applyStereotype(validNestedRequirement, RequirementsPackage.eINSTANCE.getRequirement()); - - Class invalid = model.createOwnedClass("invalid", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalid, RequirementsPackage.eINSTANCE.getRequirement()); - invalid.createNestedClassifier("invalidNestedClassifier", invalid.eClass()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this requirement", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, valid).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this requirement", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalid).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/RequirementNoAssociationModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/RequirementNoAssociationModelConstraintTest.java deleted file mode 100644 index 79b6c79..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/RequirementNoAssociationModelConstraintTest.java +++ /dev/null
@@ -1,86 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.requirements; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.AggregationKind; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID constraint - * - */ -@SuppressWarnings("nls") -public class RequirementNoAssociationModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.requirement.noassociation"; - - /** - * Test method for {@link org.eclipse.papyrus.sysml14.service.types.command.SetNestedPathCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)}. - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class valid = model.createOwnedClass("valid", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(valid, RequirementsPackage.eINSTANCE.getRequirement()); - - Class invalid = model.createOwnedClass("invalid", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalid, RequirementsPackage.eINSTANCE.getRequirement()); - invalid.createAssociation(true, AggregationKind.NONE_LITERAL, "", 0, 0, invalid, true, AggregationKind.NONE_LITERAL, "", 0, 0); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this requirement", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, valid).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this requirement", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalid).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/RequirementNoGeneralizationModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/RequirementNoGeneralizationModelConstraintTest.java deleted file mode 100644 index 81799f6..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/RequirementNoGeneralizationModelConstraintTest.java +++ /dev/null
@@ -1,85 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.requirements; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID constraint - * - */ -@SuppressWarnings("nls") -public class RequirementNoGeneralizationModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.requirement.nogeneralization"; - - /** - * Test method for {@link org.eclipse.papyrus.sysml14.service.types.command.SetNestedPathCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)}. - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class valid = model.createOwnedClass("valid", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(valid, RequirementsPackage.eINSTANCE.getRequirement()); - - Class invalid = model.createOwnedClass("invalid", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalid, RequirementsPackage.eINSTANCE.getRequirement()); - invalid.createGeneralization(invalid); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this requirement", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, valid).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this requirement", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalid).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/RequirementNotTypeModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/RequirementNotTypeModelConstraintTest.java deleted file mode 100644 index a548852..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/RequirementNotTypeModelConstraintTest.java +++ /dev/null
@@ -1,85 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.requirements; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on CONSTRAINT_ID constraint - * - */ -@SuppressWarnings("nls") -public class RequirementNotTypeModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.requirement.notype"; - - /** - * Test method for {@link org.eclipse.papyrus.sysml14.service.types.command.SetNestedPathCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)}. - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Class valid = model.createOwnedClass("valid", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(valid, RequirementsPackage.eINSTANCE.getRequirement()); - - Class invalid = model.createOwnedClass("invalid", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(invalid, RequirementsPackage.eINSTANCE.getRequirement()); - invalid.createOwnedAttribute("invalidrequirementType", invalid); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this requirement", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, valid).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this requirement", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, invalid).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/SatisfySupplierModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/SatisfySupplierModelConstraintTest.java deleted file mode 100644 index 0e6087d..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/SatisfySupplierModelConstraintTest.java +++ /dev/null
@@ -1,93 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.requirements; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on Refine One Client and One Supplier constraint - * - */ -@SuppressWarnings("nls") -public class SatisfySupplierModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.satisfy.supplier"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Abstraction satisfyValid = UMLFactory.eINSTANCE.createAbstraction(); - model.getPackagedElements().add(satisfyValid); - Class requirementSupplier = model.createOwnedClass("supplier", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(requirementSupplier, RequirementsPackage.eINSTANCE.getRequirement()); - satisfyValid.getSuppliers().add(requirementSupplier); - StereotypeApplicationHelper.getInstance(null).applyStereotype(satisfyValid, RequirementsPackage.eINSTANCE.getSatisfy()); - - Abstraction satisfyInvalid = UMLFactory.eINSTANCE.createAbstraction(); - model.getPackagedElements().add(satisfyInvalid); - satisfyInvalid.getSuppliers().add(model.createOwnedClass("fakesupplier", false)); - StereotypeApplicationHelper.getInstance(null).applyStereotype(satisfyInvalid, RequirementsPackage.eINSTANCE.getSatisfy()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, satisfyValid).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, satisfyInvalid).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/TestCaseParameterVerdictKindModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/TestCaseParameterVerdictKindModelConstraintTest.java deleted file mode 100644 index f156dc1..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/TestCaseParameterVerdictKindModelConstraintTest.java +++ /dev/null
@@ -1,94 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.requirements; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Type; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - -/** - * Test on Refine One Client and One Supplier constraint - * - */ -@SuppressWarnings("nls") -public class TestCaseParameterVerdictKindModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.testcase.parameterverdictkind"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Ignore - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - - Class testCaseValid = model.createOwnedClass("Class", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(testCaseValid, RequirementsPackage.eINSTANCE.getTestCase()); - Type returnType = model.createOwnedType("VerdictKind", testCaseValid.eClass()); - testCaseValid.createOwnedOperation("operation", null, null, returnType); - - Class testCaseInvalid = model.createOwnedClass("testCaseInvalid", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(testCaseInvalid, RequirementsPackage.eINSTANCE.getTestCase()); - Type returnTypeInvalid = model.createOwnedType("NotVerdictKind", testCaseInvalid.eClass()); - testCaseInvalid.createOwnedOperation("operation", null, null, returnTypeInvalid); - - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, testCaseValid).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, testCaseInvalid).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/TraceDependencyModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/TraceDependencyModelConstraintTest.java deleted file mode 100644 index b0a4384..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/TraceDependencyModelConstraintTest.java +++ /dev/null
@@ -1,88 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.requirements; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.Generalization; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on Trace One Client and One Supplier constraint - * - */ -@SuppressWarnings("nls") -public class TraceDependencyModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.trace.dependency"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Abstraction traceValid = UMLFactory.eINSTANCE.createAbstraction(); - model.getPackagedElements().add(traceValid); - StereotypeApplicationHelper.getInstance(null).applyStereotype(traceValid, RequirementsPackage.eINSTANCE.getTrace()); - - Generalization traceInvalid = model.createOwnedClass("Child", false).createGeneralization(model.createOwnedClass("Parent", false)); - StereotypeApplicationHelper.getInstance(null).applyStereotype(traceInvalid, RequirementsPackage.eINSTANCE.getTrace()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, traceValid).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, traceInvalid).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/TraceOneClientSupplierModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/TraceOneClientSupplierModelConstraintTest.java deleted file mode 100644 index 2c878cf..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/TraceOneClientSupplierModelConstraintTest.java +++ /dev/null
@@ -1,90 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.requirements; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on Trace One Client and One Supplier constraint - * - */ -@SuppressWarnings("nls") -public class TraceOneClientSupplierModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.trace.supplier"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Abstraction traceValid = UMLFactory.eINSTANCE.createAbstraction(); - model.getPackagedElements().add(traceValid); - traceValid.getClients().add(model.createOwnedClass("client", false)); - traceValid.getSuppliers().add(model.createOwnedClass("supplier", false)); - StereotypeApplicationHelper.getInstance(null).applyStereotype(traceValid, RequirementsPackage.eINSTANCE.getTrace()); - - Abstraction traceInvalid = UMLFactory.eINSTANCE.createAbstraction(); - model.getPackagedElements().add(traceInvalid); - StereotypeApplicationHelper.getInstance(null).applyStereotype(traceInvalid, RequirementsPackage.eINSTANCE.getTrace()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, traceValid).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, traceInvalid).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/VerifySupplierModelConstraintTest.java b/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/VerifySupplierModelConstraintTest.java deleted file mode 100644 index 0955ef4..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation.tests/src/org/eclipse/papyrus/sysml14/validation/tests/rules/requirements/VerifySupplierModelConstraintTest.java +++ /dev/null
@@ -1,93 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.validation.tests.rules.requirements; - -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.emf.transaction.impl.InternalTransaction; -import org.eclipse.emf.transaction.impl.InternalTransactionalEditingDomain; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.service.ConstraintRegistry; -import org.eclipse.emf.validation.service.IConstraintDescriptor; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.sysml14.validation.Activator; -import org.eclipse.papyrus.sysml14.validation.internal.utils.DiagnosticUtil; -import org.eclipse.papyrus.uml.service.validation.internal.UMLDiagnostician; -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test on Refine One Client and One Supplier constraint - * - */ -@SuppressWarnings("nls") -public class VerifySupplierModelConstraintTest { - - public static final String CONSTRAINT_ID = "constraint.verify.supplier"; - - /** - * Test method for the constraint - * - * @throws InterruptedException - * @throws RollbackException - */ - @Test - public void checkRuleValidation() throws InterruptedException, RollbackException { - ResourceSetImpl resourceSet = new ResourceSetImpl(); - Model model = SysMLResource.createSysMLModel(resourceSet); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - - Abstraction verifyValid = UMLFactory.eINSTANCE.createAbstraction(); - model.getPackagedElements().add(verifyValid); - Class requirementSupplier = model.createOwnedClass("supplier", false); - StereotypeApplicationHelper.getInstance(null).applyStereotype(requirementSupplier, RequirementsPackage.eINSTANCE.getRequirement()); - verifyValid.getSuppliers().add(requirementSupplier); - StereotypeApplicationHelper.getInstance(null).applyStereotype(verifyValid, RequirementsPackage.eINSTANCE.getVerify()); - - Abstraction verifyInvalid = UMLFactory.eINSTANCE.createAbstraction(); - model.getPackagedElements().add(verifyInvalid); - verifyInvalid.getSuppliers().add(model.createOwnedClass("fakesupplier", false)); - StereotypeApplicationHelper.getInstance(null).applyStereotype(verifyInvalid, RequirementsPackage.eINSTANCE.getVerify()); - - TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(resourceSet); - InternalTransactionalEditingDomain editingDomain = (InternalTransactionalEditingDomain) TransactionUtil.getEditingDomain(model); - - final ValidateModelCommand validateModelCommand = new ValidateModelCommand(model, new UMLDiagnostician()); - - InternalTransaction startTransaction = editingDomain.startTransaction(false, null); - editingDomain.getCommandStack().execute(GMFtoEMFCommandWrapper.wrap(validateModelCommand)); - startTransaction.commit(); - // check that the constraint exist - ConstraintRegistry instance = ConstraintRegistry.getInstance(); - IConstraintDescriptor descriptor = instance.getDescriptor(Activator.PLUGIN_ID, CONSTRAINT_ID); - Assert.assertNotNull("Constraint is missing "+CONSTRAINT_ID, descriptor); - - List<Diagnostic> constraintDiagnosticList = DiagnosticUtil.findDiagnosticBySource(validateModelCommand.getDiagnostic(), Activator.PLUGIN_ID + "." + CONSTRAINT_ID); - - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should not trigger an issue for this use case ", 0, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, verifyValid).size()); - Assert.assertEquals("The rule "+CONSTRAINT_ID+" should trigger an issue for this use case ", 1, DiagnosticUtil.filterDiagnosticsByElement(constraintDiagnosticList, verifyInvalid).size()); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/.project b/core/org.eclipse.papyrus.sysml14.validation/.project deleted file mode 100644 index 66ed55b..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/.project +++ /dev/null
@@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.validation</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> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription>
diff --git a/core/org.eclipse.papyrus.sysml14.validation/META-INF/MANIFEST.MF b/core/org.eclipse.papyrus.sysml14.validation/META-INF/MANIFEST.MF deleted file mode 100644 index e583014..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,32 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %Bundle-Name -Bundle-Vendor: %Bundle-Vendor -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.validation;singleton:=true -Bundle-Version: 1.2.0.qualifier -Bundle-Activator: org.eclipse.papyrus.sysml14.validation.Activator -Require-Bundle: org.eclipse.core.resources;bundle-version="[3.9.0,4.0.0)", - org.eclipse.emf.validation.ocl;bundle-version="[1.4.0,2.0.0)", - org.eclipse.ocl.pivot;bundle-version="[1.1.0,2.0.0)", - org.eclipse.ocl.pivot.uml;bundle-version="[1.1.0,2.0.0)", - org.eclipse.ocl.uml;bundle-version="[5.2.0,6.0.0)", - org.eclipse.ocl.ecore;bundle-version="[3.6.0,4.0.0)", - org.eclipse.uml2.uml.validation;bundle-version="[5.0.0,6.0.0)", - org.eclipse.papyrus.infra.services.validation;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.oclconstraintevaluation;bundle-version="[1.2.0,2.0.0)", - org.eclipse.papyrus.uml.xtext.integration.validation;bundle-version="[2.0.0,3.0.0)", - org.eclipse.papyrus.uml.textedit.constraintwithessentialocl.xtext;bundle-version="[1.2.0,2.0.0)", - org.eclipse.papyrus.sysml14;bundle-version="1.0.0" -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Bundle-ActivationPolicy: lazy -Bundle-Localization: plugin -Export-Package: org.eclipse.papyrus.sysml14.validation, - org.eclipse.papyrus.sysml14.validation.internal.utils, - org.eclipse.papyrus.sysml14.validation.rules.activities, - org.eclipse.papyrus.sysml14.validation.rules.allocations, - org.eclipse.papyrus.sysml14.validation.rules.blocks, - org.eclipse.papyrus.sysml14.validation.rules.modelelements, - org.eclipse.papyrus.sysml14.validation.rules.nonnormative, - org.eclipse.papyrus.sysml14.validation.rules.portsandflows, - org.eclipse.papyrus.sysml14.validation.rules.requirements, - org.eclipse.papyrus.sysml14.validation.selectors
diff --git a/core/org.eclipse.papyrus.sysml14.validation/plugin.properties b/core/org.eclipse.papyrus.sysml14.validation/plugin.properties deleted file mode 100644 index a32d657..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/plugin.properties +++ /dev/null
@@ -1,274 +0,0 @@ -################################################################################# -# Copyright (c) 2016 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: -# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation -################################################################################## -Bundle-Name=Papyrus SysML 1.4 Validation -Bundle-Description=This plug-in contains the rules for SyML 1.4 model validation -Bundle-Vendor=Eclipse Modeling Project - -##### Non normative ##### -inv_RequirementId=Requirement is missing an id -ocl_RequirementId=id <> '' -inv_RequirementText=Requirement is missing a text -ocl_RequirementText=text <> '' -# FIXME : there seems to be no constraint in the norm for Requirement id and text - -inv_NestedConnectorEndMissing=NestedConnectorEnd stereotype should be applied to the <Connector end> {0}. - - -##### End Non normative ##### - -#Conform -inv_ConformGeneralClassifierViewpoint=Conform [1] The general classifier must be an element stereotyped by Viewpoint. -ocl_ConformGeneralClassifierViewpoint=Viewpoint.allInstances()->exists(v | v.base_Class = self.base_Generalization.general) -inv_ConformSpecificClassifierView=Conform [2] The specific classifier must be an element that is stereotyped by View. -ocl_ConformSpecificClassifierView=View.allInstances()->exists(v | v.base_Class = self.base_Generalization.specific) - -# Expose -inv_ExposeClientStereotypedByView=Expose [1] The client must be an element stereotyped by View. - -#View -# FIXME: the constraint should only ensure one conform generalization -inv_ViewSingleViewpoint=View [1] A view must only conform to a single viewpoint. -#FIXME: not a constraint (query?): View [2] The derived value of the viewpoint is the classifier stereotyped by Viewpoint that is the general classifier of the generalization relationship stereotyped by Conform for which the View is the specific classifier. -#FIXME: not a constraint (query?): View [3] The derived values of the stakeholder attribute are the names of the classifiers stereotyped by Stakeholder that are the values of the stakeholder attribute of the general classifier of the generalization relationship stereotyped by Conform for which the View is the specific classifier. - -#Viewpoint -#FIXME: not a constraint (query?):Viewpoint [1] The derived values of the method attribute are the names of the methods of the operations stereotyped by the UML Create stereotype on the classifier stereotyped by Viewpoint. -inv_ViewpointOwnedView=Viewpoint [2] The property ownedOperation must include at least one operation named «View» with the UML Create stereotype applied. - -#Binding Connector -inv_BindingConnectorSameEndsType=Binding Connector [1] The two ends of a binding connector must have either the same type or types that are compatible so that equality of their values can be defined. -#FIXME can have more that 2 ends - -# Block -inv_AssociationBlock=Block [1] For an association in which both ends are typed by blocks, the number of ends must be exactly two. -inv_BlockConnectorTwoEnds=Block [2] The number of ends of a connector owned by a block must be exactly two. -#(In SysML, a binding connector is not typed by an association, so this constraint is not implied entirely by the preceding constraint.) -inv_BlockPropertyNoName=Block [3] In the UML metamodel on which SysML is built, any instance of the Property metaclass that is typed by a block (a Class with the «block» stereotype applied) and which is owned by an Association may not have a name and may not be defined as a navigable owned end of the association. (While the Property has a «name» property as defined by its NamedElement -inv_BlockPropertyAssociationEnd=Block [4] In the UML metamodel on which SysML is built, a Property that is typed by a block must be defined as an end of an association. (An inverse end of this association, whether owned by another block or the association itself, must always be present so there is always a metamodel element to record the inverse multiplicity of the reference.) -#No Implementation [5] The following constraint under sub clause 9.3.6, «Connector» in the UML 2 Superstructure Specification is removed by SysML: «[3] The ConnectableElements attached as roles to each ConnectorEnd owned by a Connector must be roles of the Classifier that owned the Connector, or they must be ports of such roles.» -inv_BlockPropertyComposite=Block [6] If a property owned by a SysML Block or SysML ValueType is typed by a SysML ValueType, then the aggregation attribute of the property must be «composite.» -#Need more explanation -#TODO[7] Within an instance of a SysML Block, the values of any property with composite aggregation (aggregation = composite) must not contain the block in any of its own properties that also have composite aggregation, or within any unbroken chain of properties that all have composite aggregation. (Within an instance of a SysML Block, the instances of properties with composite aggregation must form an acyclic graph.) -inv_BlockSpecialization=Block [8] Any classifier that specializes a Block must also have the Block stereotype or one of its specializations applied. -#No Implementation [9] The following constraint under sub clause 9.3.7, «ConnectorEnd» in the UML 2 Superstructure Specification is removed by SysML: «[3] The property held in self.partWithPort must not be a Port.» - -#BoundReference -inv_BoundReference1=BoundReference [1] Properties to which BoundReference is applied must be the role of a connector end of at least one binding connector, or generalized by such a property through redefinition. -ocl_BoundReference1=BindingConnector.allInstances().base_Connector.end.role->exists(r | r=self.base_Property or self.base_Property->closure(redefinedElement)->includes(r)) -inv_BoundReference2=BoundReference [2] The value of boundEnd must be a connector end of a binding connector, as identified in constraint BoundReference [1], opposite the property, as identified in constraint BoundReference [1]. -ocl_BoundReference2=let opposite: UML::ConnectorEnd = BindingConnector.allInstances().base_Connector.end->any(e | e.role=self.base_Property or self.base_Property->closure(redefinedElement)->includes(e.role)) in self.boundEnd = opposite.owner.oclAsType(UML::Connector).end->any(e | e<>opposite) -#unclear-- [3] The role of boundEnd must be a property accessible by navigation from instances of the block owning the property to which BoundReference is applied, but must not be the property to which BoundReference is applied, or one that it is related to by redefinition. -inv_BoundReference4=BoundReference [4] The last value of bindingPath is the role of boundEnd, and the other values are the propertyPath of the NestedConnectorEnd applied to boundEnd, if any. -ocl_BoundReference4=self.boundEnd = self.bindingPath->last() and (let nce: NestedConnectorEnd = NestedConnectorEnd.allInstances()->any(n| n.base_ConnectorEnd=self.boundEnd) in nce->oclIsUndefined() or self.bindingPath->subSequence(1, self.bindingPath->size()-1) = nce.propertyPath) -inv_BoundReference5=BoundReference [5] Properties to which BoundReference is applied must either be a reference properties or value properties. -ocl_BoundReference5=ValueType.allInstances().base_DataType->includes(self.base_Property.type) or not self.base_Property.isComposite() -inv_BoundReference6=BoundReference [6] Properties with BoundReference applied that have an upper multiplicity greater than one must be ordered and non-unique. -ocl_BoundReference6=self.base_Property.upper > 1 implies self.base_Property.isOrdered and not self.base_Property.isUnique -inv_BoundReference7=BoundReference [7] BoundReferences must not be applied to properties that are related by redefinition to other properties with BoundReference applied. -ocl_BoundReference7=self.base_Property.redefinedElement->notEmpty() implies BoundReference.allInstances().base_Property->excludesAll(self.base_Property.redefinedElement) -inv_BoundReference8=BoundReference [8] The binding connector identified in constraint BoundReference [1] must not have the same property on both ends, or properties related by redefinition. -ocl_BoundReference8=let e1: UML::ConnectorEnd = self.boundEnd.owner.oclAsType(UML::Connector).end->at(1) in let e2: UML::ConnectorEnd = self.boundEnd.owner.oclAsType(UML::Connector).end->at(2) in e1.role <> e2.role and (e1.role.oclIsKindOf(UML::Property) and e2.role.oclIsKindOf(UML::Property) implies e1.role.oclAsType(UML::Property).redefinedElement->excludes(e2.role) and e2.role.oclAsType(UML::Property).redefinedElement->excludes(e1.role)) - -#ClassifierBehaviorProperty -inv_ClassifierBehaviorPropertyOnBlock=ClassifierBehaviorProperty [1] ClassifierBehaviorProperty may only be applied to properties owned (not inherited) by blocks that have classifier behaviors. -inv_ClassifierBehaviorPropertyIsComposite=ClassifierBehaviorProperty [2] Properties to which ClassifierBehaviorProperty applied must be composite. -ocl_ClassifierBehaviorPropertyIsComposite=base_Property.isComposite() -inv_ClassifierBehaviorPropertyTypedBy=ClassifierBehaviorProperty [3] Properties to which ClassifierBehaviorProperty applied must be typed by the classifier behavior of their owning block or a generalization of the classifier behavior. - -#ConnectorProperty -inv_ConnectorPropertyOnlyOnBlock=ConnectorProperty [1] ConnectorProperty may only be applied to properties of classes stereotyped by Block. -#inv inv_ConnectorPropertyOnlyOnBlock: self.base_Property.owner.getAppliedStereotype('Blocks::Block')->notEmpty() -inv_ConnectorPropertyReferOwnedConnector=ConnectorProperty [2] The connector attribute of the applied stereotype must refer to a connector owned or inherited by a block owning the property on which the stereotype is applied. -inv_ConnectorPropertyOnlyComposite=ConnectorProperty [3] The aggregation of a property stereotyped by ConnectorProperty must be composite. -ocl_ConnectorPropertyOnlyComposite=base_Property.isComposite() -inv_ConnectorPropertyTypedByAssociationBlock=ConnectorProperty [4] The type of the connector referred to by a connector attribute must be an association class stereotyped by Block. -inv_ConnectorPropertySameName=ConnectorProperty [5] A property stereotyped by ConnectorProperty must have the same name and type as the connector referred to by the connector attribute. - - -#DirectedRelationshipPropertyPath -inv_DirectedRelationshipPropertyPathRequireSourceContext=DirectedRelationshipPropertyPath [1] source#context must have a value when sourcePropertyPath has a value. -inv_DirectedRelationshipPropertyPathRequireTargetContext=DirectedRelationshipPropertyPath [2] target#context must have a value when targetPropertyPath has a value. -inv_DirectedRelationshipPropertyPathSourceFirst=DirectedRelationshipPropertyPath [3] The property in the first position of the sourcePropertyPath list, if any, must be owned by the source#context or one of its generalizations. -inv_DirectedRelationshipPropertyPathTargetFirst=DirectedRelationshipPropertyPath [4] The property in the first position of the targetPropertyPath list, if any, must be owned by the target#context or one of its generalizations. -#TODO [5] The property at each successive position of the sourcePropertyPath and targetPropertyPath, following the first position, must be owned by the Block or ValueType that types the property at the immediately preceding position, or a generalization of the Block or ValueType. -inv_DirectedRelationshipPropertyPathSourceLast=DirectedRelationshipPropertyPath [6] The type of the property at the last position of the sourcePropertyPath list must own or inherit the source of the stereotyped directed relationship. -inv_DirectedRelationshipPropertyPathTargetLast=DirectedRelationshipPropertyPath [7] The type of the property at the last position of the targetPropertyPath list must own or inherit the target of the stereotyped directed relationship. - -#DistributedProperty -inv_DistributedPropertyTypedBy=DistributedProperty [1] The DistributedProperty stereotype may be applied only to properties of classifiers stereotyped by Block or ValueType. -#inv inv_DistributedPropertyOnlyOnBlock: self.base_Property.owner.getAppliedStereotype('Blocks::Block')->notEmpty() or self.base_Property.owner.getAppliedStereotype('Blocks::ValueType')->notEmpty() - -#ElementPropertyPath -inv_ElementPropertyPathPropertiesOwner=ElementPropertyPath [1] The property at each successive position of the propertyPath attribute, following the first position, must be owned by the Block or ValueType that types the property at the immediately preceding position, or a generalization of the Block or ValueType. - -# EndPathMultiplicity -inv_EndPathMultiplicityBoundReferenceProperty=EndPathMultiplicity [1] Properties to which EndPathMultiplicity is applied must be related by redefinition to a property to which BoundReference is applied. -inv_EndPathMultiplicityNotNegative=EndPathMultiplicity [2] endPathLower must be non-negative. -ocl_EndPathMultiplicityNotNegative=lower >= 0 - -#NestedConnectorEnd -inv_NestedConnectorEndFirstProperty=NestedConnectorEnd [1] The first property in propertyPath must be owned by the block that owns the connector, or one of the block's generalizations. -inv_NestedConnectorEndLastProperty=NestedConnectorEnd [2] The type of the property at the last position of the propertyPath list must own or inherit the role property of the stereotyped connector end. -inv_NestedConnectorEndOnlyConnectorEnds=NestedConnectorEnd [3] NestedConnectorEnd may only be applied to connector ends - -#ParticipantProperty -inv_ParticipantPropertyOnlyAssociationBlock=ParticipantProperty [1] ParticipantProperty may only be applied to properties of association classes stereotyped by Block. -inv_ParticipantPropertyNoAssociationMemberEnds=ParticipantProperty [2] ParticipantProperty may not be applied to properties that are member ends of an association. -inv_ParticipantPropertyOnlyNoneAggregation=ParticipantProperty [3] The aggregation of a property stereotyped by ParticipantProperty must be none. -inv_ParticipantPropertySameEnd=ParticipantProperty [4] The end attribute of the applied stereotype must refer to a member end of the association block owning the property on which the stereotype is applied. -inv_ParticipantPropertySameType=ParticipantProperty [5] A property stereotyped by ParticipantProperty must have the same type as the property referred to by the end attribute. -inv_ParticipantPropertyEndMultiplicity=ParticipantProperty [6] The property referred to by end must have a multiplicity of 1. - -#PropertySpecificType -inv_PropertySpecificTypeUniqueProperty=PropertySpecificType [1] A classifier to which the PropertySpecificType stereotype is applied must be referenced as the type of one and only one property. -inv_PropertySpecificTypeMissingName=PropertySpecificType [2] The name of a classifier to which a PropertySpecificType is applied must be missing. (The «name» attribute of the NamedElement metaclass must be empty.) - -#ValueType -#[1] Any classifier that specializes a ValueType must also have the ValueType stereotype applied. -#[2] The unit of a ValueType, if any, must be an InstanceSpecification classified by SysML's Unit block in the UnitAndQuantityKind model library or a specialization of it. -#inv: unit->notEmpty() and unit.classifier->notEmpty()implies unit.classifier-> -#[3] The quantityKind of a ValueType, if any, must be an InstanceSpecification classified by SysML's QuantityKind block in the UnitAndQuantityKind model library or a specialization of it. -#inv: quantityKind->notEmpty() and quantityKind.classifier->notEmpty() implies - -#AcceptChangeStructuralFeatureEventAction -#inv_AcceptChangeStructuralFeatureEventActionOneTrigger=9.3.2.1 AcceptChangeStructuralFeatureEventAction [1] The action has exactly one trigger, the event of which must be a change structural feature event. -#[2] The action has two result pins with type and ordering the same as the type and ordering of the structural feature of the trigger event, and multiplicity compatible with the multiplicity of the structural feature. -#[3] The structural feature of the trigger event must be owned by or inherited by the #context of the behavior containing the action. (The #context of a behavior is either its owning block or itself if it is not owned by a block. See definition in the UML 2 Superstructure Specification.) -#[4] Visibility of the structural feature of the trigger event must allow access to the object performing the action. -#No implementation[5] The constraint under sub clause 11.3.2, «AcceptEventAction» in the UML 2 Superstructure Specification, «[2] There are no output pins if the trigger events are only ChangeEvents,» is removed for accept event actions that have AcceptChangeStructuralFeatureEventAction applied. - -#ChangeStructuralFeatureEvent -inv_ChangeStructuralFeatureEventNotStatic=ChangeStructuralFeatureEvent [1] The structural feature must not be static. -#inv inv_StructuralFeatureNotStatic: self.base_Class. FIXME : structural feature <- Property what is the link with the base_Class? -inv_ChangeStructuralFeatureEventOneFeaturingClassifier=ChangeStructuralFeatureEvent [2] The structural feature must have exactly one featuringClassifier. - -#DirectedFeature -inv_DirectedFeatureOnlyBehavioral=DirectedFeature [1] DirectedFeature can only be applied to behavioral features, or to properties that do not have FlowProperty applied, including on subsetted or redefined features. -#FIXME: what is the link? non-provided direction enum, but no idea for the rest -#TODO [2] A non-provided operation cannot be associated with a behavior as its method. - -#FeatureDirection -inv_FlowPropertyTypedBy=FeatureDirection [1] A FlowProperty is typed by a ValueType, Block, or Signal. - -#FullPort -inv_FullPortNotProxyPort=FullPort [1]: Full ports cannot also be proxy ports. This applies even if some of the stereotypes are on subsetted or redefined ports. -#[2] Binding connectors cannot link full ports (either directly or indirectly through other binding connectors) to other composite properties of the block owning the full port (or that block's generalizations or specializations), unless the composite properties are non-full ports. -inv_FullPortNotBehavioral=FullPort [3]: Full ports cannot be behavioral (isBehavior=false). -ocl_FullPortNotBehavioral=base_Port.isBehavior = false -inv_FullPortNotConjugated=FullPort [4]: Full ports cannot be conjugated (isConjugated=false). -ocl_FullPortNotConjugated=base_Port.isConjugated = false - -#InterfaceBlock -inv_InterfaceBlockNoBehavior=InterfaceBlock [1] Interface blocks cannot own or inherit behaviors, have classifier behaviors, or methods for their behavioral features. -inv_InterfaceBlockNoCompositeProperty=InterfaceBlock [2] Interface blocks cannot have composite properties that are not ports. -inv_InterfaceBlockPortType=InterfaceBlock [3] Ports owned by interface blocks can only be typed by interface blocks. - -#InvocationOnNestedPortAction -inv_InvocationOnNestedPortActionRequiredOnPort=InvocationOnNestedPortAction [1] The onPort property of an invocation action must have a value when this stereotype is applied. -#[2] The port at the first position in the onNestedPort list must be owned (directly or via inheritance) by a block that types the target pin of the invocation action, or one of the block\u2019s generalizations. -# Where comes the constraint from ? -#TODO[3] The first constraint of ElementPropertyPath applies to onNestedPort. -#[4] The type of the port at the last position of the onNestedPort list must own or inherit the onPort port of the stereotyped invocation action. -inv_InvocationOnNestedPortActionOnlyInvocationAction=InvocationOnNestedPortAction [5] InvocationOnNestedPortAction may only be applied to invocation actions. - -#ItemFlow -#[1] A Connector or an Association, or an inherited Association must exist between the source and the target of the InformationFlow. -inv_ItemFlowSamePropertyTypedBy=ItemFlow [2] An ItemFlow itemProperty is typed by a ValueType, Block, or Signal. -#inv inv_ItemFlowItemPropertyTypedByValueTypeBlockSignal: self.itemProperty.type.getAppliedStereotype('Blocks::ValueType')->notEmpty() or self.itemProperty.type.getAppliedStereotype('Blocks::Block')->notEmpty() or self.itemProperty.type.oclIsTypeOf(UML::Signal) -#[3] itemProperty is a property of the common (possibly indirect) owner of the source and the target. -#[4] itemProperty cannot have a value if the item flow is realized by an Association. -#[5] If an ItemFlow has an itemProperty, one of the classifiers of conveyed items must be the same as the type of the item property. -# FIXME the item flow doesn't have a name (should be information flow) -inv_ItemFlowSamePropertyName=ItemFlow [6] If an ItemFlow has an itemProperty, its name should be the same as the name of the item flow. - -#ProxyPort -inv_ProxyPortNotFullPort=ProxyPort [1] Proxy ports cannot also be full ports. This applies even if some of the stereotypes are on subsetted or redefined ports. -inv_ProxyPortTypedByInterfaceBlock=ProxyPort [2] Proxy ports can only be typed by interface blocks. -inv_ProxyPortForceInnerProxyPort=ProxyPort [3] Ports owned by the type of a proxy port must be proxy ports. -# -#TriggerOnNestedPort -#[1] The port property of the stereotyped trigger must have exactly one value, and the value cannot be a full port. -#[2] The values of the onNestedPort property must not be full ports. -#[3] The port at the first position in the onNestedPort list must be owned by a block in which the trigger is used, or one of the block\u2019s generalizations. -#[4] The first constraint of ElementPropertyPath applies to onNestedPort. -#[5] The type of the port at the last position of the onNestedPort list must own or inherit the port port of must own or inherit the port port of -#Bad description [6] the stereotyped invocation action the stereotyped invocation action. - -#Discrete -inv_DiscreteNoContinuous=Discrete [1] The «discrete» and «continuous» stereotypes cannot be applied to the same element at the same time. - -#NoBuffer -inv_NoBufferNoOverwrite=NoBuffer [1] The «nobuffer» and «overwrite» stereotypes cannot be applied to the same element at the same time. -ocl_NoBufferNoOverwrite=base_ObjectNode.getAppliedStereotype('SysML::Activities::Overwrite')->isEmpty() - -#Overwrite -inv_OverwriteNoNoBuffer=Overwrite [1] The «overwrite» and «nobuffer» stereotypes cannot be applied to the same element at the same time. -ocl_OverwriteNoNoBuffer=base_ObjectNode.getAppliedStereotype('SysML::Activities::NoBuffer')->isEmpty() - -#Optional -inv_OptionalParameterMultiplicity=Optional [1] Optional parameter lower value has to be 0 -ocl_OptionalParameterMultiplicity=base_Parameter.lower = 0 - -#Probability -inv_ProbabilityBaseElement=Probability [1] The «probability» stereotype can only be applied to activity edges that have decision nodes or object nodes as sources, or to output parameter sets. -inv_ProbabilityAllEdges=Probability [2] When the «probability» stereotype is applied to an activity edge, then it must be applied to all edges coming out of the same source. -inv_ProbabilityToAllParameterSet=Probability [3] When the «probability» stereotype is applied to an output parameter set, it must also be applied to all the parameter sets of the behavior or operation owning the original parameter set. . -inv_ProbabilityOutputParameters=Probability [4] When the «probability» stereotype is applied to an output parameter set, all the output parameters must be in some parameter set. - -#Rate -inv_RateParameterIsStream=Rate [1] When the «rate» stereotype is applied to a parameter, the parameter must be streaming. -inv_RateParameterLessInout=Rate [2] The rate of a parameter must be less than or equal to rates on edges that come into or go out from pins and parameters nodes corresponding to the parameter. - -#Allocate(from Allocations) -inv_AllocateOnlyAbstraction=Allocate [1] The Allocate stereotype may only be applied to abstractions. -inv_AllocateOneClientSupplier=Allocate [2] A single «allocate» dependency shall have only one client (from) and one supplier (to). -#No implementation [3] If subtypes of the «allocate» dependency are introduced to represent more specialized forms of allocation, then they should have constraints applied to supplier and client as appropriate. - - -#AllocateActivityPartition(from Allocations) -# FIXME avoid "will" when defining a constraint -#No implementation [1] An Action appearing in an «AllocateActivityPartition» will be the /client (from) end of an «allocate» dependency. The element that represents the «AllocateActivityPartition» will be the /supplier (to) end of the same «allocate» dependency. In the «AllocateActivityPartition» name field, Properties are designated by the use of a fully qualified name (including colon, e.g., «part_name:Block_Name»), and Classifiers are designated by a simple name (no colons, e.g., «Block_Name»). -#No implementation [2] The «AllocateActivityPartition» maintains the constraints, but not the semantics, of the UML2::ActivityPartition. Classifiers or Properties represented by an «AllocateActivityPartition» do not have any direct responsibility for invoking behavior depicted within the partition boundaries. To depict this kind of direct responsibility, the modeler is directed to the UML 2 Superstructure specification, sub clause 12.3.10, «ActivityPartition,» Semantics topic. - -#Copy -inv_CopyBetweenRequirementsModelConstraint=Copy [1] A Copy dependency may only be created between two classes that have the «requirement»stereotype, or a subtype of the «requirement» stereotype applied. -inv_CopyReadOnlyModelConstraint=Copy [2] The text property of the client requirement is constrained to be a read-only copy of the text property of the supplier requirement. - -#DeriveReqt -inv_DeriveReqtSupplierModelConstraint=DeriveReqt [1] The supplier must be an element stereotyped by «requirement» or one of «requirement» subtypes. -inv_DeriveReqtClientModelConstraint=DeriveReqt [2] The client must be an element stereotyped by «requirement» or one of «requirement» subtypes. - -#Refine -inv_RefineDependencyModelConstraint=Refine [1] The Refine stereotype may only be applied to dependencies. -inv_RefineOneClientSupplierModelConstraint=Refine [2] Dependencies with a Refine stereotype or one of its specializations applied must have exactly one client and one supplier. - -#Requirement -inv_RequirementEmptyOwnedOperation=Requirement [1] The property «ownedOperation» must be empty. -ocl_RequirementEmptyOwnedOperation=base_Class.ownedOperation->isEmpty() -inv_RequirementEmptyOwnedAttribute=Requirement [2] The property «ownedAttribute» must be empty. -ocl_RequirementEmptyOwnedAttribute=base_Class.ownedAttribute->isEmpty() -inv_RequirementNoAssociationModelConstraint=Requirement [3] Classes stereotyped by «requirement» may not participate in associations. -inv_RequirementNoGeneralizationModelConstraint=Requirement [4] Classes stereotyped by «requirement» may not participate in generalizations. -inv_RequirementNestedRequirementModelConstraint=Requirement [5] A nested classifier of a class stereotyped by «requirement» must also be stereotyped by «requirement». -inv_RequirementNotType=Requirement [6] Classes stereotyped by «requirement» may not be used to type any other model element. - -#TestCase -inv_TestCaseParameterVerdictKindModelConstraint=TestCase [1] The type of return parameter of the stereotyped model element must be VerdictKind. - -#Satisfy -inv_SatisfySupplierModelConstraint=Satisfy [1] The supplier must be an element stereotyped by «requirement» or one of «requirement» subtypes. - -#Trace -inv_TraceDependencyModelConstraint=Trace [1] The Trace stereotype may only be applied to dependencies. -inv_TraceOneClientSupplierModelConstraint=Trace [2] Dependencies with a Trace stereotype or one of its specializations applied must have exactly one client and one supplier. - -#Verify -inv_VerifySupplierModelConstraint=Verify [1] The supplier must be an element stereotyped by «requirement» or one of «requirement» subtypes.
diff --git a/core/org.eclipse.papyrus.sysml14.validation/plugin.xml b/core/org.eclipse.papyrus.sysml14.validation/plugin.xml deleted file mode 100644 index a301134..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/plugin.xml +++ /dev/null
@@ -1,964 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<?eclipse version="3.4"?> -<plugin> - <extension name="org.eclipse.papyrus.sysml14.validation.constraintProviders" point="org.eclipse.emf.validation.constraintProviders"> - <category id="org.eclipse.papyrus.sysml14.validation.category.normative" mandatory="false" name="SysML 1.4 normative constraints"> - Constraints listed in SysML 1.4 norm. - </category> - <category id="org.eclipse.papyrus.sysml14.validation.category.optional" mandatory="false" name="SysML 1.4 optional constraints"> - Constraints provided to help the modeler but not required by the norm. - </category> - - <!-- Constraints on UML elements --> - <constraintProvider cache="false" mode="Batch"> - <package namespaceUri="http://www.eclipse.org/uml2/5.0.0/UML"/> - <constraints categories="org.eclipse.papyrus.sysml14.validation.category.normative"> - <constraint id="constraint.block.associationBlock" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="block.associationBlock" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.AssociationBlockModelConstraint"> - <message>%inv_AssociationBlock</message> - <description>%inv_AssociationBlock</description> - </constraint> - - <constraint id="constraint.block.property.asssociationend" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="property.asssociationend" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.BlockPropertyAssociationEndModelConstraint"> - <message>%inv_BlockPropertyAssociationEnd</message> - <description>%inv_BlockPropertyAssociationEnd</description> - </constraint> - - <constraint id="constraint.block.specialization" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="block.specialization" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.BlockSpecializationModelConstraint"> - <message>%inv_BlockSpecialization</message> - <description>%inv_BlockSpecialization</description> - </constraint> - - <constraint id="constraint.block.propertynoname" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="block.propertynoname" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.BlockPropertyNoNameModelConstraint"> - <message>%inv_BlockPropertyNoName</message> - <description>%inv_BlockPropertyNoName</description> - </constraint> - - </constraints> - <constraints categories="org.eclipse.papyrus.sysml14.validation.category.optional"> - <constraint id="constraint.nestedConnectorEnd.missing" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="nestedConnectorEnd.missing" - class="org.eclipse.papyrus.sysml14.validation.rules.nonnormative.NestedConnectorEndMissingConstraintModelConstraint"> - <message>%inv_NestedConnectorEndMissing</message> - <description>%inv_NestedConnectorEndMissing</description> - </constraint> - </constraints> - - - - </constraintProvider> - - <constraintProvider cache="false" mode="Batch"> - <package namespaceUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements"/> - <constraints categories="org.eclipse.papyrus.sysml14.validation.category.optional"> - <constraint id="constraint.requirement.requireId" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="WARNING" statusCode="1" name="requirement.requireId"> - <message>%inv_RequirementId</message> - <description>%inv_RequirementId</description> - <![CDATA[%ocl_RequirementId]]> - </constraint> - <constraint id="constraint.requirement.requireText" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="WARNING" statusCode="1" name="requirement.requireText"> - <message>%inv_RequirementText</message> - <description>%inv_RequirementText</description> - <![CDATA[%ocl_RequirementText]]> - </constraint> - </constraints> - - <constraints categories="org.eclipse.papyrus.sysml14.validation.category.normative"> - <constraint id="constraint.requirement.emptyownedattribute" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="requirement.emptyownedattribute"> - <message>%inv_RequirementEmptyOwnedAttribute</message> - <description>%inv_RequirementEmptyOwnedAttribute</description> - <![CDATA[%ocl_RequirementEmptyOwnedAttribute]]> - </constraint> - <constraint id="constraint.requirement.emptyownedoperation" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="requirement.emptyownedoperation"> - <message>%inv_RequirementEmptyOwnedOperation</message> - <description>%inv_RequirementEmptyOwnedOperation</description> - <![CDATA[%ocl_RequirementEmptyOwnedOperation]]> - </constraint> - - <constraint id="constraint.requirement.nestedrequirement" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="requirement.nestedrequirement" - class="org.eclipse.papyrus.sysml14.validation.rules.requirements.RequirementNestedRequirementModelConstraint"> - <message>%inv_RequirementNestedRequirementModelConstraint</message> - <description>%inv_RequirementNestedRequirementModelConstraint</description> - </constraint> - <constraint id="constraint.requirement.noassociation" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="requirement.noassociation" - class="org.eclipse.papyrus.sysml14.validation.rules.requirements.RequirementNoAssociationModelConstraint"> - <message>%inv_RequirementNoAssociationModelConstraint</message> - <description>%inv_RequirementNoAssociationModelConstraint</description> - </constraint> - <constraint id="constraint.requirement.nogeneralization" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="requirement.nogeneralization" - class="org.eclipse.papyrus.sysml14.validation.rules.requirements.RequirementNoGeneralizationModelConstraint"> - <message>%inv_RequirementNoGeneralizationModelConstraint</message> - <description>%inv_RequirementNoGeneralizationModelConstraint</description> - </constraint> - - <constraint id="constraint.requirement.notype" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="requirement.notype" - class="org.eclipse.papyrus.sysml14.validation.rules.requirements.RequirementNotTypeModelConstraint"> - <message>%inv_RequirementNotType</message> - <description>%inv_RequirementNotType</description> - </constraint> - - - <constraint id="constraint.derivereqt.client" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="derivereqt.client" - class="org.eclipse.papyrus.sysml14.validation.rules.requirements.DeriveReqtClientModelConstraint"> - <message>%inv_DeriveReqtClientModelConstraint</message> - <description>%inv_DeriveReqtClientModelConstraint</description> - </constraint> - - <constraint id="constraint.derivereqt.supplier" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="derivereqt.supplier" - class="org.eclipse.papyrus.sysml14.validation.rules.requirements.DeriveReqtSupplierModelConstraint"> - <message>%inv_DeriveReqtSupplierModelConstraint</message> - <description>%inv_DeriveReqtSupplierModelConstraint</description> - </constraint> - <constraint id="constraint.refine.dependency" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="refine.dependency" - class="org.eclipse.papyrus.sysml14.validation.rules.requirements.RefineDependencyModelConstraint"> - <message>%inv_RefineDependencyModelConstraint</message> - <description>%inv_RefineDependencyModelConstraint</description> - </constraint> - <constraint id="constraint.refine.oneclientsupplier" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="refine.oneclientsupplier" - class="org.eclipse.papyrus.sysml14.validation.rules.requirements.RefineOneClientSupplierModelConstraint"> - <message>%inv_RefineOneClientSupplierModelConstraint</message> - <description>%inv_RefineOneClientSupplierModelConstraint</description> - </constraint> - <constraint id="constraint.verify.supplier" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="verify.supplier" - class="org.eclipse.papyrus.sysml14.validation.rules.requirements.VerifySupplierModelConstraint"> - <message>%inv_VerifySupplierModelConstraint</message> - <description>%inv_VerifySupplierModelConstraint</description> - </constraint> - <constraint id="constraint.satisfy.supplier" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="satisfy.supplier" - class="org.eclipse.papyrus.sysml14.validation.rules.requirements.SatisfySupplierModelConstraint"> - <message>%inv_SatisfySupplierModelConstraint</message> - <description>%inv_SatisfySupplierModelConstraint</description> - </constraint> - <constraint id="constraint.trace.dependency" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="trace.dependency" - class="org.eclipse.papyrus.sysml14.validation.rules.requirements.TraceDependencyModelConstraint"> - <message>%inv_TraceDependencyModelConstraint</message> - <description>%inv_TraceDependencyModelConstraint</description> - </constraint> - <constraint id="constraint.trace.supplier" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="trace.supplier" - class="org.eclipse.papyrus.sysml14.validation.rules.requirements.TraceOneClientSupplierModelConstraint"> - <message>%inv_TraceOneClientSupplierModelConstraint</message> - <description>%inv_TraceOneClientSupplierModelConstraint</description> - </constraint> - <constraint id="constraint.copy.betweenrequirements" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="copy.betweenrequirements" - class="org.eclipse.papyrus.sysml14.validation.rules.requirements.CopyBetweenRequirementsModelConstraint"> - <message>%inv_CopyBetweenRequirementsModelConstraint</message> - <description>%inv_CopyBetweenRequirementsModelConstraint</description> - </constraint> - <constraint id="constraint.copy.readonly" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="copy.readonly" - class="org.eclipse.papyrus.sysml14.validation.rules.requirements.CopyReadOnlyModelConstraint"> - <message>%inv_CopyReadOnlyModelConstraint</message> - <description>%inv_CopyReadOnlyModelConstraint</description> - </constraint> - <constraint id="constraint.testcase.parameterverdictkind" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="testcase.parameterverdictkind" - class="org.eclipse.papyrus.sysml14.validation.rules.requirements.TestCaseParamVerdictKindModelConstraint"> - <message>%inv_TestCaseParameterVerdictKindModelConstraint</message> - <description>%inv_TestCaseParameterVerdictKindModelConstraint</description> - </constraint> - </constraints> - </constraintProvider> - - <constraintProvider cache="false" mode="Batch"> - <package namespaceUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Activities"/> - <constraints categories="org.eclipse.papyrus.sysml14.validation.category.normative"> - <constraint id="constraint.optional.multiplicity" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="optional.multiplicity"> - <message>%inv_OptionalParameterMultiplicity</message> - <description>%inv_OptionalParameterMultiplicity</description> - <![CDATA[%ocl_OptionalParameterMultiplicity]]> - </constraint> - - <constraint id="constraint.discrete.nocontinuous" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="discrete.nocontinuous" - class="org.eclipse.papyrus.sysml14.validation.rules.activities.DiscreteNoContinuousModelConstraint"> - <message>%inv_DiscreteNoContinuous</message> - <description>%inv_DiscreteNoContinuous</description> - </constraint> - - <constraint id="constraint.nobuffer.nooverwrite" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="nobuffer.nooverwrite"> - <message>%inv_NoBufferNoOverwrite</message> - <description>%inv_NoBufferNoOverwrite</description> - <![CDATA[%ocl_NoBufferNoOverwrite]]> - </constraint> - - <constraint id="constraint.overwrite.nonobuffer" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="overwrite.nonobuffer"> - <message>%inv_OverwriteNoNoBuffer</message> - <description>%inv_OverwriteNoNoBuffer</description> - <![CDATA[%ocl_OverwriteNoNoBuffer]]> - </constraint> - - <constraint id="constraint.rate.parameterisstream" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="rate.parameterisstream" - class="org.eclipse.papyrus.sysml14.validation.rules.activities.RateParameterIsStreamModelConstraint"> - <message>%inv_RateParameterIsStream</message> - <description>%inv_RateParameterIsStream</description> - </constraint> - - <constraint id="constraint.rate.parameterlessinout" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="rate.parameterlessinout" - class="org.eclipse.papyrus.sysml14.validation.rules.activities.RateParameterLessInoutModelConstraint"> - <message>%inv_RateParameterLessInout</message> - <description>%inv_RateParameterLessInout</description> - </constraint> - - <constraint id="constraint.probability.alledges" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="probability.alledges" - class="org.eclipse.papyrus.sysml14.validation.rules.activities.ProbabilityAllEdgesModelConstraint"> - <message>%inv_ProbabilityAllEdges</message> - <description>%inv_ProbabilityAllEdges</description> - </constraint> - - <constraint id="constraint.probability.baseelement" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="probability.baseelement" - class="org.eclipse.papyrus.sysml14.validation.rules.activities.ProbabilityBaseElementModelConstraint"> - <message>%inv_ProbabilityBaseElement</message> - <description>%inv_ProbabilityBaseElement</description> - </constraint> - - <constraint id="constraint.probability.outputparameters" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="probability.outputparameters" - class="org.eclipse.papyrus.sysml14.validation.rules.activities.ProbabilityOutputParametersModelConstraint"> - <message>%inv_ProbabilityOutputParameters</message> - <description>%inv_ProbabilityOutputParameters</description> - </constraint> - - <constraint id="constraint.probability.allparameterset" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="probability.allparameterset" - class="org.eclipse.papyrus.sysml14.validation.rules.activities.ProbabilityToAllParameterSetModelConstraint"> - <message>%inv_ProbabilityToAllParameterSet</message> - <description>%inv_ProbabilityToAllParameterSet</description> - </constraint> - - </constraints> - </constraintProvider> - - <constraintProvider cache="false" mode="Batch"> - <package namespaceUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Allocations"/> - <constraints categories="org.eclipse.papyrus.sysml14.validation.category.normative"> - <constraint id="constraint.allocate.oneclientsupplier" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="allocate.oneclientsupplier" - class="org.eclipse.papyrus.sysml14.validation.rules.allocations.AllocateOneClientSupplierModelConstraint"> - <message>%inv_AllocateOneClientSupplier</message> - <description>%inv_AllocateOneClientSupplier</description> - </constraint> - <constraint id="constraint.allocate.onlyabstraction" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="allocate.onlyabstraction" - class="org.eclipse.papyrus.sysml14.validation.rules.allocations.AllocateOnlyAbstractionModelConstraint"> - <message>%inv_AllocateOnlyAbstraction</message> - <description>%inv_AllocateOnlyAbstraction</description> - </constraint> - - </constraints> - </constraintProvider> - - - - <constraintProvider cache="false" mode="Batch"> - <package namespaceUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Blocks"/> - <constraints categories="org.eclipse.papyrus.sysml14.validation.category.normative"> - - <constraint id="constraint.boundreference.1" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="BoundReference [1]"> - <message>%inv_BoundReference1</message> - <description>%inv_BoundReference1</description> - <![CDATA[%ocl_BoundReference1]]> - </constraint> - <constraint id="constraint.boundreference.2" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="BoundReference [2]"> - <message>%inv_BoundReference2</message> - <description>%inv_BoundReference2</description> - <![CDATA[%ocl_BoundReference2]]> - </constraint> - - <constraint id="constraint.boundreference.4" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="BoundReference [4]"> - <message>%inv_BoundReference4</message> - <description>%inv_BoundReference4</description> - <![CDATA[%ocl_BoundReference4]]> - </constraint> - <constraint id="constraint.boundreference.5" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="BoundReference [5]"> - <message>%inv_BoundReference5</message> - <description>%inv_BoundReference5</description> - <![CDATA[%ocl_BoundReference5]]> - </constraint> - <constraint id="constraint.boundreference.6" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="BoundReference [6]"> - <message>%inv_BoundReference6</message> - <description>%inv_BoundReference6</description> - <![CDATA[%ocl_BoundReference6]]> - </constraint> - <constraint id="constraint.boundreference.7" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="BoundReference [7]"> - <message>%inv_BoundReference7</message> - <description>%inv_BoundReference7</description> - <![CDATA[%ocl_BoundReference7]]> - </constraint> - <constraint id="constraint.boundreference.8" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="BoundReference [8]"> - <message>%inv_BoundReference8</message> - <description>%inv_BoundReference8</description> - <![CDATA[%ocl_BoundReference8]]> - </constraint> - - <constraint id="constraint.directedrelationshippropertypath.requiresourcecontext" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="directedrelationshippropertypath.requiresourcecontext" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.DirectedRelationshipPropertyPathRequireSourceContextModelConstraint"> - <message>%inv_DirectedRelationshipPropertyPathRequireSourceContext</message> - <description>%inv_DirectedRelationshipPropertyPathRequireSourceContext</description> - </constraint> - <constraint id="constraint.directedrelationshippropertypath.requiretargetcontext" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="directedrelationshippropertypath.requiretargetcontext" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.DirectedRelationshipPropertyPathRequireTargetContextModelConstraint"> - <message>%inv_DirectedRelationshipPropertyPathRequireTargetContext</message> - <description>%inv_DirectedRelationshipPropertyPathRequireTargetContext</description> - </constraint> - <constraint id="constraint.directedrelationshippropertypath.sourcefirst" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="directedrelationshippropertypath.sourcefirst" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.DirectedRelationshipPropertyPathSourceFirstModelConstraint"> - <message>%inv_DirectedRelationshipPropertyPathSourceFirst</message> - <description>%inv_DirectedRelationshipPropertyPathSourceFirst</description> - </constraint> - <constraint id="constraint.directedrelationshippropertypath.targetfirst" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="directedrelationshippropertypath.targetfirst" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.DirectedRelationshipPropertyPathTargetFirstModelConstraint"> - <message>%inv_DirectedRelationshipPropertyPathTargetFirst</message> - <description>%inv_DirectedRelationshipPropertyPathTargetFirst</description> - </constraint> - <constraint id="constraint.directedrelationshippropertypath.sourcelast" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="directedrelationshippropertypath.sourcelast" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.DirectedRelationshipPropertyPathSourceLastModelConstraint"> - <message>%inv_DirectedRelationshipPropertyPathSourceLast</message> - <description>%inv_DirectedRelationshipPropertyPathSourceLast</description> - </constraint> - <constraint id="constraint.directedrelationshippropertypath.targetlast" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="directedrelationshippropertypath.targetlast" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.DirectedRelationshipPropertyPathRequireSourceContextModelConstraint"> - <message>%inv_DirectedRelationshipPropertyPathTargetLast</message> - <description>%inv_DirectedRelationshipPropertyPathTargetLast</description> - </constraint> - <constraint id="constraint.block.propertycomposite" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="block.propertycomposite" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.BlockPropertyCompositeModelConstraint"> - <message>%inv_BlockPropertyComposite</message> - <description>%inv_BlockPropertyComposite</description> - </constraint> - - <constraint id="constraint.block.connectortwoends" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="block.connectortwoends" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.BlockConnectorTwoEndsModelConstraint"> - <message>%inv_BlockConnectorTwoEnds</message> - <description>%inv_BlockConnectorTwoEnds</description> - </constraint> - - <constraint id="constraint.elementpropertypath.propertiesowner" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="elementpropertypath.propertiesowner" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.ElementPropertyPathPropertiesOwnerModelConstraint"> - <message>%inv_ElementPropertyPathPropertiesOwner</message> - <description>%inv_ElementPropertyPathPropertiesOwner</description> - </constraint> - - <constraint id="constraint.nestedconnectorend.onlyconnectorends" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="nestedconnectorend.onlyconnectorends" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.NestedConnectorEndOnlyConnectorEndsModelConstraint"> - <message>%inv_NestedConnectorEndOnlyConnectorEnds</message> - <description>%inv_NestedConnectorEndOnlyConnectorEnds</description> - </constraint> - - <constraint id="constraint.nestedconnectorend.lastproperty" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="nestedconnectorend.lastproperty" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.NestedConnectorEndLastPropertyModelConstraint"> - <message>%inv_NestedConnectorEndLastProperty</message> - <description>%inv_NestedConnectorEndLastProperty</description> - </constraint> - - <constraint id="constraint.nestedconnectorend.firstproperty" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="nestedconnectorend.firstproperty" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.NestedConnectorEndFirstPropertyModelConstraint"> - <message>%inv_NestedConnectorEndFirstProperty</message> - <description>%inv_NestedConnectorEndFirstProperty</description> - </constraint> - - <constraint id="constraint.propertyspecifictype.missingname" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="propertyspecifictype.missingname" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.PropertySpecificTypeMissingNameModelConstraint"> - <message>%inv_PropertySpecificTypeMissingName</message> - <description>%inv_PropertySpecificTypeMissingName</description> - </constraint> - - <constraint id="constraint.propertyspecifictype.uniqueproperty" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="propertyspecifictype.uniqueproperty" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.PropertySpecificTypeUniquePropertyModelConstraint"> - <message>%inv_PropertySpecificTypeUniqueProperty</message> - <description>%inv_PropertySpecificTypeUniqueProperty</description> - </constraint> - - - <constraint id="constraint.endpathmultiplicity.boundreferenceproperty" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="endpathmultiplicity.boundreferenceproperty" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.EndPathMultiplicityBoundReferencePropertyModelConstraint"> - <message>%inv_EndPathMultiplicityBoundReferenceProperty</message> - <description>%inv_EndPathMultiplicityBoundReferenceProperty</description> - </constraint> - - <constraint id="constraint.endpathmultiplicity.notnegative" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="endpathmultiplicity.notnegative"> - <message>%inv_EndPathMultiplicityNotNegative</message> - <description>%inv_EndPathMultiplicityNotNegative</description> - <![CDATA[%ocl_EndPathMultiplicityNotNegative]]> - </constraint> - - <constraint id="constraint.distributedproperty.typedby" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="distributedproperty.typedby" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.DistributedPropertyTypedByModelConstraint"> - <message>%inv_DistributedPropertyTypedBy</message> - <description>%inv_DistributedPropertyTypedBy</description> - </constraint> - - <constraint id="constraint.classifierbehaviorproperty.iscomposite" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="classifierbehaviorproperty.iscomposite"> - <message>%inv_ClassifierBehaviorPropertyIsComposite</message> - <description>%inv_ClassifierBehaviorPropertyIsComposite</description> - <![CDATA[%ocl_ClassifierBehaviorPropertyIsComposite]]> - </constraint> - - <constraint id="constraint.classifierbehaviorproperty.onblock" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="classifierbehaviorproperty.onblock" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.ClassifierBehaviorPropertyOnBlockModelConstraint"> - <message>%inv_ClassifierBehaviorPropertyOnBlock</message> - <description>%inv_ClassifierBehaviorPropertyOnBlock</description> - </constraint> - - <constraint id="constraint.classifierbehaviorproperty.typedby" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="classifierbehaviorproperty.typedby" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.ClassifierBehaviorPropertyTypedByModelConstraint"> - <message>%inv_ClassifierBehaviorPropertyTypedBy</message> - <description>%inv_ClassifierBehaviorPropertyTypedBy</description> - </constraint> - - <constraint id="constraint.connectorproperty.onlycomposite" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="connectorproperty.onlycomposite" > - <message>%inv_ConnectorPropertyOnlyComposite</message> - <description>%inv_ConnectorPropertyOnlyComposite</description> - <![CDATA[%ocl_ConnectorPropertyOnlyComposite]]> - </constraint> - - <constraint id="constraint.connectorproperty.onlyonblock" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="connectorproperty.onlyonblock" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.ConnectorPropertyOnlyOnBlockModelConstraint"> - <message>%inv_ConnectorPropertyOnlyOnBlock</message> - <description>%inv_ConnectorPropertyOnlyOnBlock</description> - </constraint> - <constraint id="constraint.connectorproperty.referownedconnector" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="connectorproperty.referownedconnector" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.ConnectorPropertyReferOwnedConnectorModelConstraint"> - <message>%inv_ConnectorPropertyReferOwnedConnector</message> - <description>%inv_ConnectorPropertyReferOwnedConnector</description> - </constraint> - <constraint id="constraint.connectorproperty.samename" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="connectorproperty.samename" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.ConnectorPropertySameNameModelConstraint"> - <message>%inv_ConnectorPropertySameName</message> - <description>%inv_ConnectorPropertySameName</description> - </constraint> - <constraint id="constraint.connectorproperty.typedbyassociationblock" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="connectorproperty.typedbyassociationblock" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.ConnectorPropertyTypedByAssociationBlockModelConstraint"> - <message>%inv_ConnectorPropertyTypedByAssociationBlock</message> - <description>%inv_ConnectorPropertyTypedByAssociationBlock</description> - </constraint> - - <constraint id="constraint.bindingconnector.sameendstype" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="bindingconnector.sameendstype" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.BindingConnectorSameEndsTypeModelConstraint"> - <message>%inv_BindingConnectorSameEndsType</message> - <description>%inv_BindingConnectorSameEndsType</description> - </constraint> - - - <constraint id="constraint.participantproperty.endmultiplicity" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="participantproperty.endmultiplicity" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.ParticipantPropertyEndMultiplicityModelConstraint"> - <message>%inv_ParticipantPropertyEndMultiplicity</message> - <description>%inv_ParticipantPropertyEndMultiplicity</description> - </constraint> - - <constraint id="constraint.participantproperty.noassociationmemberends" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="participantproperty.noassociationmemberends" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.ParticipantPropertyNoAssociationMemberEndsModelConstraint"> - <message>%inv_ParticipantPropertyNoAssociationMemberEnds</message> - <description>%inv_ParticipantPropertyNoAssociationMemberEnds</description> - </constraint> - - <constraint id="constraint.participantproperty.onlyassociationblock" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="participantproperty.onlyassociationblock" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.ParticipantPropertyOnlyAssociationBlockModelConstraint"> - <message>%inv_ParticipantPropertyOnlyAssociationBlock</message> - <description>%inv_ParticipantPropertyOnlyAssociationBlock</description> - </constraint> - - <constraint id="constraint.participantproperty.onlynoneaggregation" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="participantproperty.onlynoneaggregation" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.ParticipantPropertyOnlyNoneAggregationModelConstraint"> - <message>%inv_ParticipantPropertyOnlyNoneAggregation</message> - <description>%inv_ParticipantPropertyOnlyNoneAggregation</description> - </constraint> - - <constraint id="constraint.participantproperty.sameend" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="participantproperty.sameend" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.ParticipantPropertySameEndModelConstraint"> - <message>%inv_ParticipantPropertySameEnd</message> - <description>%inv_ParticipantPropertySameEnd</description> - </constraint> - - <constraint id="constraint.participantproperty.sametype" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="participantproperty.sametype" - class="org.eclipse.papyrus.sysml14.validation.rules.blocks.ParticipantPropertySameTypeModelConstraint"> - <message>%inv_ParticipantPropertySameType</message> - <description>%inv_ParticipantPropertySameType</description> - </constraint> - - - </constraints> - </constraintProvider> - - <constraintProvider cache="false" mode="Batch"> - <package namespaceUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/ModelElements"/> - <constraints categories="org.eclipse.papyrus.sysml14.validation.category.normative"> - - <constraint id="constraint.view.singleviewpoint" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="view.singleviewpoint" - class="org.eclipse.papyrus.sysml14.validation.rules.modelelements.ViewSingleViewpointModelConstraint"> - <message>%inv_ViewSingleViewpoint</message> - <description>%inv_ViewSingleViewpoint</description> - </constraint> - - <constraint id="constraint.viewpoint.ownedview" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="viewpoint.ownedview" - class="org.eclipse.papyrus.sysml14.validation.rules.modelelements.ViewpointOwnedViewModelConstraint"> - <message>%inv_ViewpointOwnedView</message> - <description>%inv_ViewpointOwnedView</description> - </constraint> - - <constraint id="constraint.expose.clientview" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="expose.clientview" - class="org.eclipse.papyrus.sysml14.validation.rules.modelelements.ExposeClientStereotypedByViewModelConstraint"> - <message>%inv_ExposeClientStereotypedByView</message> - <description>%inv_ExposeClientStereotypedByView</description> - </constraint> - - <constraint id="constraint.conform.generalviewpoint" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="conform.generalviewpoint"> - <message>%inv_ConformGeneralClassifierViewpoint</message> - <description>%inv_ConformGeneralClassifierViewpoint</description> - <![CDATA[%ocl_ConformGeneralClassifierViewpoint]]> - </constraint> - - <constraint id="constraint.conform.specificview" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="conform.specificview"> - <message>%inv_ConformSpecificClassifierView</message> - <description>%inv_ConformSpecificClassifierView</description> - <![CDATA[%ocl_ConformSpecificClassifierView]]> - </constraint> - - </constraints> - </constraintProvider> - - - <constraintProvider cache="false" mode="Batch"> - <package namespaceUri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/PortsAndFlows"/> - <constraints categories="org.eclipse.papyrus.sysml14.validation.category.normative"> - - - <constraint id="constraint.itemflow.sameproperty" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="itemflow.sameproperty" - class="org.eclipse.papyrus.sysml14.validation.rules.portsandflows.ItemFlowSamePropertyNameModelConstraint"> - <message>%inv_ItemFlowSamePropertyName</message> - <description>%inv_ItemFlowSamePropertyName</description> - </constraint> - <constraint id="constraint.itemflow.propertytypedby" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="itemflow.propertytypedby" - class="org.eclipse.papyrus.sysml14.validation.rules.portsandflows.ItemFlowSamePropertyTypedByModelConstraint"> - <message>%inv_ItemFlowSamePropertyTypedBy</message> - <description>%inv_ItemFlowSamePropertyTypedBy</description> - </constraint> - - <constraint id="constraint.invocationonnestedportaction.onlyinvocationaction" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="invocationonnestedportaction.onlyinvocationaction" - class="org.eclipse.papyrus.sysml14.validation.rules.portsandflows.InvocationOnNestedPortActionOnlyInvocationActionModelConstraint"> - <message>%inv_InvocationOnNestedPortActionOnlyInvocationAction</message> - <description>%inv_InvocationOnNestedPortActionOnlyInvocationAction</description> - </constraint> - <constraint id="constraint.invocationonnestedportaction.requiredonport" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="invocationonnestedport.requiredonport" - class="org.eclipse.papyrus.sysml14.validation.rules.portsandflows.InvocationOnNestedPortActionRequiredOnPortModelConstraint"> - <message>%inv_InvocationOnNestedPortActionRequiredOnPort</message> - <description>%inv_InvocationOnNestedPortActionRequiredOnPort</description> - </constraint> - - <constraint id="constraint.directedfeature.onlybehavioral" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="directedfeature.onlybehavioral" - class="org.eclipse.papyrus.sysml14.validation.rules.portsandflows.DirectedFeatureOnlyBehavioralModelConstraint"> - <message>%inv_DirectedFeatureOnlyBehavioral</message> - <description>%inv_DirectedFeatureOnlyBehavioral</description> - </constraint> - - <constraint id="constraint.changestrucuralfeatureevent.notstatic" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="changestrucuralfeatureevent.notstatic" - class="org.eclipse.papyrus.sysml14.validation.rules.portsandflows.ChangeStructuralFeatureEventNotStaticModelConstraint"> - <message>%inv_ChangeStructuralFeatureEventNotStatic</message> - <description>%inv_ChangeStructuralFeatureEventNotStatic</description> - </constraint> - - - <constraint id="constraint.changestrucuralfeatureevent.onefeaturingclassifier" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="changestrucuralfeatureevent.onefeaturingclassifier" - class="org.eclipse.papyrus.sysml14.validation.rules.portsandflows.ChangeStructuralFeatureEventOneFeaturingClassifierModelConstraint"> - <message>%inv_ChangeStructuralFeatureEventOneFeaturingClassifier</message> - <description>%inv_ChangeStructuralFeatureEventOneFeaturingClassifier</description> - </constraint> - - <constraint id="constraint.flowproperty.typedby" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="flowproperty.typedby" - class="org.eclipse.papyrus.sysml14.validation.rules.portsandflows.FlowPropertyTypedByModelConstraint"> - <message>%inv_FlowPropertyTypedBy</message> - <description>%inv_FlowPropertyTypedBy</description> - </constraint> - <constraint id="constraint.fullport.notproxyport" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="fullport.notproxyport" - class="org.eclipse.papyrus.sysml14.validation.rules.portsandflows.FullPortNotProxyPortModelConstraint"> - <message>%inv_FullPortNotProxyPort</message> - <description>%inv_FullPortNotProxyPort</description> - </constraint> - <constraint id="constraint.fullport.notbehavioral" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="fullport.notbehavioral"> - <message>%inv_FullPortNotBehavioral</message> - <description>%inv_FullPortNotBehavioral</description> - <![CDATA[%ocl_FullPortNotBehavioral]]> - </constraint> - <constraint id="constraint.fullport.notconjugated" isEnabledByDefault="true" lang="OCLpivot" mode="Batch" severity="ERROR" statusCode="3" name="fullport.notconjugated"> - <message>%inv_FullPortNotConjugated</message> - <description>%inv_FullPortNotConjugated</description> - <![CDATA[%ocl_FullPortNotConjugated]]> - </constraint> - - <constraint id="constraint.proxyport.notfullport" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="proxyport.notfullport" - class="org.eclipse.papyrus.sysml14.validation.rules.portsandflows.ProxyPortNotFullPortModelConstraint"> - <message>%inv_ProxyPortNotFullPort</message> - <description>%inv_ProxyPortNotFullPort</description> - </constraint> - <constraint id="constraint.proxyport.typedinterfaceblock" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="proxyport.typedinterfaceblock" - class="org.eclipse.papyrus.sysml14.validation.rules.portsandflows.ProxyPortTypedByInterfaceBlockModelConstraint"> - <message>%inv_ProxyPortTypedByInterfaceBlock</message> - <description>%inv_ProxyPortTypedByInterfaceBlock</description> - </constraint> - <constraint id="constraint.proxyport.innerproxyport" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="proxyport.innerproxyport" - class="org.eclipse.papyrus.sysml14.validation.rules.portsandflows.ProxyPortForceInnerProxyPortModelConstraint"> - <message>%inv_ProxyPortForceInnerProxyPort</message> - <description>%inv_ProxyPortForceInnerProxyPort</description> - </constraint> - - <constraint id="constraint.interfaceblock.porttype" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="interfaceblock.porttype" - class="org.eclipse.papyrus.sysml14.validation.rules.portsandflows.InterfaceBlockPortTypeModelConstraint"> - <message>%inv_InterfaceBlockPortType</message> - <description>%inv_InterfaceBlockPortType</description> - </constraint> - - <constraint id="constraint.interfaceblock.nobehavior" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="interfaceblock.nobehavior" - class="org.eclipse.papyrus.sysml14.validation.rules.portsandflows.InterfaceBlockNoBehaviorConstraint"> - <message>%inv_InterfaceBlockNoBehavior</message> - <description>%inv_InterfaceBlockNoBehavior</description> - </constraint> - - <constraint id="constraint.interfaceblock.nocompositeproperty" isEnabledByDefault="true" lang="Java" mode="Batch" severity="ERROR" statusCode="3" name="interfaceblock.nocompositeproperty" - class="org.eclipse.papyrus.sysml14.validation.rules.portsandflows.InterfaceBlockNoCompositePropertyModelConstraint"> - <message>%inv_InterfaceBlockNoCompositeProperty</message> - <description>%inv_InterfaceBlockNoCompositeProperty</description> - </constraint> - - </constraints> - </constraintProvider> - </extension> - <extension name="org.eclipse.papyrus.sysml14.validation.constraintBindings" point="org.eclipse.emf.validation.constraintBindings"> - - <!-- UML fake context (should be replaced by filter see Bug 487500)--> - <clientContext id="TrueContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.TrueSelector"/> - </clientContext> - <binding context="TrueContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.block.property.asssociationend"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.block.associationBlock"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.block.specialization"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.block.propertynoname"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.nestedConnectorEnd.missing"/> - </binding> - - <!-- Requirement Context --> - <clientContext id="CopyClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.CopySelector"/> - </clientContext> - <binding context="CopyClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.copy.betweenrequirements"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.copy.readonly"/> - </binding> - <clientContext id="DeriveReqtClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.DeriveReqtSelector"/> - </clientContext> - <binding context="DeriveReqtClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.derivereqt.client"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.derivereqt.supplier"/> - </binding> - <clientContext id="RefineClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.RefineSelector"/> - </clientContext> - <binding context="RefineClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.refine.dependency"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.refine.oneclientsupplier"/> - </binding> - <clientContext id="RequirementClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.RequirementSelector"/> - </clientContext> - <binding context="RequirementClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.requirement.requireId"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.requirement.requireText"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.requirement.emptyownedattribute"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.requirement.emptyownedoperation"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.requirement.nestedrequirement"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.requirement.noassociation"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.requirement.nogeneralization"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.requirement.notype"/> - </binding> - <clientContext id="TestCaseClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.TestCaseSelector"/> - </clientContext> - <binding context="TestCaseClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.testcase.parameterverdictkind"/> - </binding> - <clientContext id="SatisfyClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.SatisfySelector"/> - </clientContext> - <binding context="SatisfyClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.satisfy.supplier"/> - </binding> - <clientContext id="TraceClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.TraceSelector"/> - </clientContext> - <binding context="TraceClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.trace.supplier"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.trace.dependency"/> - </binding> - <clientContext id="VerifyClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.VerifySelector"/> - </clientContext> - <binding context="VerifyClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.verify.supplier"/> - </binding> - - <!-- Blocks context --> - - <clientContext id="BoundReferenceContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.BoundReferenceSelector"/> - </clientContext> - <binding context="BoundReferenceContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.boundreference.1"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.boundreference.2"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.boundreference.4"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.boundreference.5"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.boundreference.6"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.boundreference.7"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.boundreference.8"/> - </binding> - - <clientContext id="DirectedRelationshipPropertyPathContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.DirectedRelationshipPropertyPathSelector"/> - </clientContext> - <binding context="DirectedRelationshipPropertyPathContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.directedrelationshippropertypath.requiresourcecontext"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.directedrelationshippropertypath.requiretargetcontext"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.directedrelationshippropertypath.sourcefirst"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.directedrelationshippropertypath.targetfirst"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.directedrelationshippropertypath.sourcelast"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.directedrelationshippropertypath.targetlast"/> - </binding> - - <clientContext id="BlockContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.BlockSelector"/> - </clientContext> - <binding context="BlockContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.block.propertycomposite"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.block.connectortwoends"/> - </binding> - - <clientContext id="ElementPropertyPathContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.ElementPropertyPathSelector"/> - </clientContext> - <binding context="ElementPropertyPathContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.elementpropertypath.propertiesowner"/> - </binding> - - <clientContext id="NestedConnectorEndClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.NestedConnectorEndSelector"/> - </clientContext> - <binding context="NestedConnectorEndClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.nestedconnectorend.onlyconnectorends"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.nestedconnectorend.lastproperty"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.nestedconnectorend.firstproperty"/> - </binding> - - <clientContext id="PropertySpecificTypeMissingNameClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.PropertySpecificTypeSelector"/> - </clientContext> - <binding context="PropertySpecificTypeMissingNameClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.propertyspecifictype.missingname"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.propertyspecifictype.uniqueproperty"/> - </binding> - - <clientContext id="EndPathMultiplicityClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.EndPathMultiplicitySelector"/> - </clientContext> - <binding context="EndPathMultiplicityClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.endpathmultiplicity.boundreferenceproperty"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.endpathmultiplicity.notnegative"/> - </binding> - - <clientContext id="DistributedPropertyClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.DistributedPropertySelector"/> - </clientContext> - <binding context="DistributedPropertyClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.distributedproperty.typedby"/> - </binding> - - <clientContext id="ClassifierBehaviorPropertyContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.ClassifierBehaviorPropertySelector"/> - </clientContext> - <binding context="ClassifierBehaviorPropertyContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.classifierbehaviorproperty.onblock"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.classifierbehaviorproperty.iscomposite"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.classifierbehaviorproperty.typedby"/> - </binding> - - <clientContext id="ConnectorPropertyClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.ConnectorPropertySelector"/> - </clientContext> - <binding context="ConnectorPropertyClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.connectorproperty.onlyonblock"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.connectorproperty.onlycomposite"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.connectorproperty.referownedconnector"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.connectorproperty.samename"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.connectorproperty.typedbyassociationblock"/> - </binding> - - <clientContext id="BindingConnectorClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.BindingConnectorSelector"/> - </clientContext> - <binding context="BindingConnectorClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.bindingconnector.sameendstype"/> - </binding> - - <clientContext id="ParticipantPropertyClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.ParticipantPropertySelector"/> - </clientContext> - <binding context="ParticipantPropertyClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.participantproperty.endmultiplicity"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.participantproperty.noassociationmemberends"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.participantproperty.onlyassociationblock"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.participantproperty.onlynoneaggregation"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.participantproperty.sameend"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.participantproperty.sametype"/> - </binding> - <!-- ModelElements context --> - <clientContext id="ExposeClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.ExposeSelector"/> - </clientContext> - <binding context="ExposeClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.expose.clientview"/> - </binding> - <clientContext id="ConformClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.ConformSelector"/> - </clientContext> - <binding context="ConformClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.conform.generalviewpoint"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.conform.specificview"/> - </binding> - - <clientContext id="ViewClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.ViewSelector"/> - </clientContext> - <binding context="ViewClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.view.singleviewpoint"/> - </binding> - - <clientContext id="ViewpointClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.ViewpointSelector"/> - </clientContext> - <binding context="ViewpointClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.viewpoint.ownedview"/> - </binding> - - <!-- Activities context --> - <clientContext id="OptionalClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.OptionalSelector"/> - </clientContext> - <binding context="OptionalClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.optional.multiplicity"/> - </binding> - - <clientContext id="DiscreteClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.DiscreteSelector"/> - </clientContext> - <binding context="DiscreteClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.discrete.nocontinuous"/> - </binding> - - <clientContext id="NoBufferClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.NoBufferSelector"/> - </clientContext> - <binding context="NoBufferClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.nobuffer.nooverwrite"/> - </binding> - - <clientContext id="OverwriteClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.OverwriteSelector"/> - </clientContext> - <binding context="OverwriteClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.overwrite.nonobuffer"/> - </binding> - - <clientContext id="RateClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.RateSelector"/> - </clientContext> - <binding context="RateClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.rate.parameterisstream"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.rate.parameterlessinout"/> - </binding> - - <clientContext id="ProbabilityClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.ProbabilitySelector"/> - </clientContext> - <binding context="ProbabilityClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.probability.alledges"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.probability.baseelement"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.probability.outputparameters"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.probability.allparameterset"/> - </binding> - - <!-- Alocations context --> - <clientContext id="AllocateClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.AllocateSelector"/> - </clientContext> - <binding context="AllocateClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.allocate.oneclientsupplier"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.onlyabstraction"/> - </binding> - - <!-- 9 Ports and Flows --> - <clientContext id="ItemFlowClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.ItemFlowSelector"/> - </clientContext> - <binding context="ItemFlowClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.itemflow.sameproperty"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.itemflow.propertytypedby"/> - </binding> - - <clientContext id="InvocationOnNestedPortActionClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.InvocationOnNestedPortActionSelector"/> - </clientContext> - <binding context="InvocationOnNestedPortActionClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.invocationonnestedportaction.onlyinvocationaction"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.invocationonnestedportaction.requiredonport"/> - </binding> - - <clientContext id="DirectedFeatureClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.DirectedFeatureSelector"/> - </clientContext> - <binding context="DirectedFeatureClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.directedfeature.onlybehavioral"/> - </binding> - - <clientContext id="ChangeStructuralFeatureEventClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.ChangeStructuralFeatureEventSelector"/> - </clientContext> - <binding context="ChangeStructuralFeatureEventClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.changestrucuralfeatureevent.onefeaturingclassifier"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.changestrucuralfeatureevent.notstatic"/> - </binding> - - <clientContext id="ChangeStructuralFeatureEventClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.ChangeStructuralFeatureEventSelector"/> - </clientContext> - <binding context="ChangeStructuralFeatureEventClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.changestrucuralfeatureevent.onefeaturingclassifier"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.changestrucuralfeatureevent.notstatic"/> - </binding> - - <clientContext id="FlowPropertyClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.FlowPropertySelector"/> - </clientContext> - <binding context="FlowPropertyClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.flowproperty.typedby"/> - </binding> - - <clientContext id="FullPortClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.FullPortSelector"/> - </clientContext> - <binding context="FullPortClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.fullport.notproxyport"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.fullport.notbehavioral"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.fullport.notconjugated"/> - </binding> - <clientContext id="InterfaceBlockClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.InterfaceBlockSelector"/> - </clientContext> - <binding context="InterfaceBlockClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.interfaceblock.porttype"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.interfaceblock.nobehavior"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.interfaceblock.nocompositeproperty"/> - </binding> - - <clientContext id="ProxyPortClientContext"> - <selector class="org.eclipse.papyrus.sysml14.validation.selectors.ProxyPortSelector"/> - </clientContext> - <binding context="ProxyPortClientContext"> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.proxyport.notfullport"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.proxyport.typedinterfaceblock"/> - <constraint ref="org.eclipse.papyrus.sysml14.validation.constraint.proxyport.innerproxyport"/> - </binding> - </extension> -</plugin>
diff --git a/core/org.eclipse.papyrus.sysml14.validation/pom.xml b/core/org.eclipse.papyrus.sysml14.validation/pom.xml deleted file mode 100644 index 478a5f1..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/pom.xml +++ /dev/null
@@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <artifactId>org.eclipse.papyrus.sysml14.core</artifactId> - <groupId>org.eclipse.papyrus.sysml</groupId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.validation</artifactId> - <packaging>eclipse-plugin</packaging> - <name>org.eclipse.papyrus.sysml14.validation</name> - <description>This plug-in contains the tooling to validate ocl rules on SysML 1.4 models.</description> -</project> \ No newline at end of file
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/Activator.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/Activator.java deleted file mode 100644 index 96e2219..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/Activator.java +++ /dev/null
@@ -1,62 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation; - -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.sysml14.validation"; //$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/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/internal/utils/DiagnosticUtil.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/internal/utils/DiagnosticUtil.java deleted file mode 100644 index 3ef8064..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/internal/utils/DiagnosticUtil.java +++ /dev/null
@@ -1,70 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.internal.utils; - -import java.util.ArrayList; -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.uml2.uml.Element; - -/** - * This is an utility class for managing Diagnostic - * - */ -// TODO : this functionalities should be provided by papyrus core or other upper framework -public final class DiagnosticUtil { - - private DiagnosticUtil() {} - - /** - * Find diagnostic by source (Should be unique per element if the source is correctly defined) - * @param diagnostic - * @param source - * @return - */ - public static List<Diagnostic> findDiagnosticBySource(Diagnostic diagnostic, String source) { - List<Diagnostic> foundDiagnostic = new ArrayList<>(); - List<Diagnostic> children = diagnostic.getChildren(); - if (source.equals(diagnostic.getSource())) { - foundDiagnostic.add(diagnostic); - } - if (children != null && !children.isEmpty()) { - for (Diagnostic diagnosticChild : children) { - foundDiagnostic.addAll(findDiagnosticBySource(diagnosticChild, source)); - } - } - return foundDiagnostic; - } - - /** - * Get diagnostics by element - * @param diagnostics - * @param element - * @return - */ - public static List<Diagnostic> filterDiagnosticsByElement(List<Diagnostic> diagnostics, Element element) { - List<Diagnostic> filteredDiagnostics = new ArrayList<>(); - for (Diagnostic diagnostic : diagnostics) { - List<?> datas = diagnostic.getData(); - if (datas != null && !datas.isEmpty()) { - //According to Diagnostic#getData() documentation : The first element is typically the object that is the primary source of the problem; - if (element.equals(datas.get(0))) { - filteredDiagnostics.add(diagnostic); - } - } - } - return filteredDiagnostics; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/activities/DiscreteNoContinuousModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/activities/DiscreteNoContinuousModelConstraint.java deleted file mode 100644 index 73aa770..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/activities/DiscreteNoContinuousModelConstraint.java +++ /dev/null
@@ -1,67 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.activities; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.activities.Continuous; -import org.eclipse.papyrus.sysml14.activities.Discrete; -import org.eclipse.uml2.uml.ActivityEdge; -import org.eclipse.uml2.uml.ObjectNode; -import org.eclipse.uml2.uml.Parameter; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * - * 11.3.2.3 Discrete [1] The «discrete» and «continuous» stereotypes cannot be - * applied to the same element at the same time. - */ -public class DiscreteNoContinuousModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - Discrete noBuffer = (Discrete) context.getTarget(); - - Parameter parameter = noBuffer.getBase_Parameter(); - if (parameter != null) { - if (UMLUtil.getStereotypeApplication(parameter, Continuous.class) != null) { - return context.createFailureStatus(context.getTarget()); - } - } - - ObjectNode objectNode = noBuffer.getBase_ObjectNode(); - if (objectNode != null) { - if (UMLUtil.getStereotypeApplication(objectNode, Continuous.class) != null) { - return context.createFailureStatus(context.getTarget()); - } - } - - ActivityEdge activityEdge = noBuffer.getBase_ActivityEdge(); - if (activityEdge != null) { - if (UMLUtil.getStereotypeApplication(activityEdge, Continuous.class) != null) { - return context.createFailureStatus(context.getTarget()); - } - } - - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/activities/ProbabilityAllEdgesModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/activities/ProbabilityAllEdgesModelConstraint.java deleted file mode 100644 index 652d8ac..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/activities/ProbabilityAllEdgesModelConstraint.java +++ /dev/null
@@ -1,61 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.activities; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.activities.Probability; -import org.eclipse.uml2.uml.ActivityEdge; -import org.eclipse.uml2.uml.ActivityNode; -import org.eclipse.uml2.uml.DecisionNode; -import org.eclipse.uml2.uml.ObjectNode; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * 11.3.2.7 Probability [2] When the «probability» stereotype is applied to an - * activity edge, then it must be applied to all edges coming out of the same - * source. - */ -public class ProbabilityAllEdgesModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - Probability probability = (Probability) context.getTarget(); - ActivityEdge activityEdge = probability.getBase_ActivityEdge(); - if (activityEdge != null) { - ActivityNode source = activityEdge.getSource(); - if (source != null) { - EList<ActivityEdge> outgoings = source.getOutgoings(); - for (ActivityEdge outActivityEdge : outgoings) { - if (UMLUtil.getStereotypeApplication(outActivityEdge, Probability.class) != null) { - return context.createFailureStatus(context.getTarget()); - } - } - } - if (!(source instanceof DecisionNode) && !(source instanceof ObjectNode)) { - return context.createFailureStatus(context.getTarget()); - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/activities/ProbabilityBaseElementModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/activities/ProbabilityBaseElementModelConstraint.java deleted file mode 100644 index 90e260b..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/activities/ProbabilityBaseElementModelConstraint.java +++ /dev/null
@@ -1,66 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.activities; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.activities.Probability; -import org.eclipse.uml2.uml.ActivityEdge; -import org.eclipse.uml2.uml.ActivityNode; -import org.eclipse.uml2.uml.DecisionNode; -import org.eclipse.uml2.uml.ObjectNode; -import org.eclipse.uml2.uml.Parameter; -import org.eclipse.uml2.uml.ParameterDirectionKind; -import org.eclipse.uml2.uml.ParameterSet; - -/** - * 11.3.2.7 Probability [1] The <<probability>> stereotype can only be applied to - * activity edges that have decision nodes or object nodes as sources, or to - * output parameter sets. - */ -public class ProbabilityBaseElementModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - Probability probability = (Probability) context.getTarget(); - ActivityEdge activityEdge = probability.getBase_ActivityEdge(); - if (activityEdge != null) { - ActivityNode source = activityEdge.getSource(); - if (!(source instanceof DecisionNode) && !(source instanceof ObjectNode)) { - return context.createFailureStatus(context.getTarget()); - } - } - ParameterSet parameterSet = probability.getBase_ParameterSet(); - // What is an output parameter set? (I chose all parameters are OUT) - if (parameterSet != null) { - EList<Parameter> parameters = parameterSet.getParameters(); - for (Parameter parameter : parameters) { - if (!ParameterDirectionKind.OUT_LITERAL.equals(parameter.getDirection())){ - return context.createFailureStatus(context.getTarget()); - } - } - } - - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/activities/ProbabilityOutputParametersModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/activities/ProbabilityOutputParametersModelConstraint.java deleted file mode 100644 index b4e5eb0..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/activities/ProbabilityOutputParametersModelConstraint.java +++ /dev/null
@@ -1,54 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.activities; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.activities.Probability; -import org.eclipse.uml2.uml.Parameter; -import org.eclipse.uml2.uml.ParameterSet; - -/** - * 11.3.2.7 Probability [4] When the <<probability>> stereotype is applied to an - * output parameter set, all the output parameters must be in some parameter - * set. - */ -public class ProbabilityOutputParametersModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - Probability probability = (Probability) context.getTarget(); - ParameterSet parameterSet = probability.getBase_ParameterSet(); - //What is an output parameter set? (I chose all parameters are OUT) - if (parameterSet != null) { - EList<Parameter> parameters = parameterSet.getParameters(); - for (Parameter parameter : parameters) { - EList<ParameterSet> parameterSets = parameter.getParameterSets(); - if (parameterSets == null || parameterSets.isEmpty()) { - return context.createFailureStatus(context.getTarget()); - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/activities/ProbabilityToAllParameterSetModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/activities/ProbabilityToAllParameterSetModelConstraint.java deleted file mode 100644 index 7d8a5c0..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/activities/ProbabilityToAllParameterSetModelConstraint.java +++ /dev/null
@@ -1,70 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.activities; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.activities.Probability; -import org.eclipse.uml2.uml.Behavior; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.Operation; -import org.eclipse.uml2.uml.ParameterSet; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * 11.3.2.7 Probability [3] When the «probability» stereotype is applied to an - * output parameter set, it must also be applied to all the parameter sets of - * the behavior or operation owning the original parameter set. - */ -public class ProbabilityToAllParameterSetModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - Probability probability = (Probability) context.getTarget(); - ParameterSet parameterSet = probability.getBase_ParameterSet(); - if (parameterSet != null) { - Element owner = parameterSet.getOwner(); - - // FIXME what is the link (constraint) to behavior or operation? - if (owner instanceof Behavior) { - Behavior behavior = (Behavior) owner; - EList<ParameterSet> ownedParameterSets = behavior.getOwnedParameterSets(); - for (ParameterSet ownedParameterSet : ownedParameterSets) { - if (UMLUtil.getStereotypeApplication(ownedParameterSet, Probability.class) != null) { - return context.createFailureStatus(context.getTarget()); - } - } - } - if (owner instanceof Operation) { - Operation operation = (Operation) owner; - EList<ParameterSet> ownedParameterSets = operation.getOwnedParameterSets(); - for (ParameterSet ownedParameterSet : ownedParameterSets) { - if (UMLUtil.getStereotypeApplication(ownedParameterSet, Probability.class) != null) { - return context.createFailureStatus(context.getTarget()); - } - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/activities/RateParameterIsStreamModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/activities/RateParameterIsStreamModelConstraint.java deleted file mode 100644 index d9407b4..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/activities/RateParameterIsStreamModelConstraint.java +++ /dev/null
@@ -1,44 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.activities; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.activities.Rate; -import org.eclipse.uml2.uml.Parameter; -/** - * - * 11.3.2.8 Rate (SysML 1.4) - * [1] When the «rate» stereotype is applied to a parameter, the parameter must be streaming. - * - */ -public class RateParameterIsStreamModelConstraint extends AbstractModelConstraint { - - /* (non-Javadoc) - * @see org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse.emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - Rate rate = (Rate) context.getTarget(); - Parameter parameter = rate.getBase_Parameter(); - - if (parameter != null) { - if (!parameter.isStream()) { - return context.createFailureStatus(context.getTarget()); - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/activities/RateParameterLessInoutModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/activities/RateParameterLessInoutModelConstraint.java deleted file mode 100644 index 42c7fec..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/activities/RateParameterLessInoutModelConstraint.java +++ /dev/null
@@ -1,70 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.activities; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.activities.Rate; -import org.eclipse.uml2.uml.ActivityEdge; -import org.eclipse.uml2.uml.ActivityNode; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.Parameter; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * 11.3.2.8 Rate [2] The rate of a parameter must be less than or equal to rates - * on edges that come into or go out from pins and parameters nodes - * corresponding to the parameter. - */ -public class RateParameterLessInoutModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - Rate rate = (Rate) context.getTarget(); - Parameter parameter = rate.getBase_Parameter(); - if (parameter != null) { - Element owner = parameter.getOwner(); - if (owner instanceof ActivityNode) { - ActivityNode activityNode = (ActivityNode) owner; - EList<ActivityEdge> incomings = activityNode.getIncomings(); - int sumRateValue = 0; - for (ActivityEdge activityEdge : incomings) { - Rate edgeRate = UMLUtil.getStereotypeApplication(activityEdge, Rate.class); - if (edgeRate != null) { - sumRateValue += getRateValue(edgeRate); - } - } - if (sumRateValue > getRateValue(rate)) { - return context.createFailureStatus(context.getTarget()); - } - } - - } - return context.createSuccessStatus(); - } - - // FIXME : add the method in rate - private int getRateValue(Rate rate) { - return 0; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/allocations/AllocateOneClientSupplierModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/allocations/AllocateOneClientSupplierModelConstraint.java deleted file mode 100644 index 730d159..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/allocations/AllocateOneClientSupplierModelConstraint.java +++ /dev/null
@@ -1,47 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.allocations; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.allocations.Allocate; -import org.eclipse.uml2.uml.Abstraction; - -/** - * 15.3.2.1 Allocate[2] A single «allocate» dependency shall have only one client - * (from) and one supplier (to). - */ -public class AllocateOneClientSupplierModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - Allocate allocate = (Allocate) context.getTarget(); - - Abstraction abstraction = allocate.getBase_Abstraction(); - if (abstraction != null){ // 15.3.2.1 Allocate[1] will fail - if (abstraction.getClients().size() != 1 || abstraction.getSuppliers().size() != 1) { - return context.createFailureStatus(context.getTarget()); - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/allocations/AllocateOnlyAbstractionModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/allocations/AllocateOnlyAbstractionModelConstraint.java deleted file mode 100644 index 68ea72c..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/allocations/AllocateOnlyAbstractionModelConstraint.java +++ /dev/null
@@ -1,52 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.allocations; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.allocations.Allocate; -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.DirectedRelationship; - -/** - * 15.3.2.1 Allocate[1] The Allocate stereotype may only be applied to - * abstractions. - */ -public class AllocateOnlyAbstractionModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - Allocate allocate = (Allocate) context.getTarget(); - - DirectedRelationship directedRelationship = allocate.getBase_DirectedRelationship(); - if (directedRelationship != null && !(directedRelationship instanceof Abstraction)) { - return context.createFailureStatus(context.getTarget()); - } - - Abstraction abstraction = allocate.getBase_Abstraction(); - if (abstraction == null) { - return context.createFailureStatus(context.getTarget()); - } - - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/AssociationBlockModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/AssociationBlockModelConstraint.java deleted file mode 100644 index 93e43d5..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/AssociationBlockModelConstraint.java +++ /dev/null
@@ -1,65 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.Block; -import org.eclipse.uml2.uml.Association; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * 8.3.2.3 Block [1] For an association in which both ends are typed by blocks, - * the number of ends must be exactly two. - */ -public class AssociationBlockModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - EObject target = context.getTarget(); - if (target instanceof Association) { - Association association = (Association) target; - EList<Property> memberEnds = association.getMemberEnds(); - if (memberEnds != null && memberEnds.size() >= 2) { - Property firstProperty = memberEnds.get(0); - Property secondProperty = memberEnds.get(1); - if (firstProperty != null && secondProperty != null) { - Type firstType = firstProperty.getType(); - Type secondType = secondProperty.getType(); - if (firstType != null && secondType != null) { - if (memberEnds.size() != 2) { - if (UMLUtil.getStereotypeApplication(firstType, Block.class) != null - && UMLUtil.getStereotypeApplication(secondType, Block.class) != null) { - return context.createFailureStatus(target); - } - } - } - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/BindingConnectorSameEndsTypeModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/BindingConnectorSameEndsTypeModelConstraint.java deleted file mode 100644 index d6c83b5..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/BindingConnectorSameEndsTypeModelConstraint.java +++ /dev/null
@@ -1,62 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.BindingConnector; -import org.eclipse.uml2.uml.ConnectableElement; -import org.eclipse.uml2.uml.Connector; -import org.eclipse.uml2.uml.ConnectorEnd; -import org.eclipse.uml2.uml.Type; - -/** - * 8.3.2.2 Binding Connector [1] The two ends of a binding connector must have - * either the same type or types that are compatible so that equality of their - * values can be defined. - * - */ -public class BindingConnectorSameEndsTypeModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - BindingConnector bindingConnector = (BindingConnector) context.getTarget(); - Connector connector = bindingConnector.getBase_Connector(); - if (connector != null) { - EList<ConnectorEnd> ends = connector.getEnds(); - Type sharedType = null; - for (ConnectorEnd connectorEnd : ends) { - ConnectableElement role = connectorEnd.getRole(); - if (role != null) { - Type type = role.getType(); - if (sharedType == null) { - sharedType = type; - } else if (!sharedType.equals(type)) { - return context.createFailureStatus(context.getTarget()); - } - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/BlockConnectorTwoEndsModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/BlockConnectorTwoEndsModelConstraint.java deleted file mode 100644 index 518004c..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/BlockConnectorTwoEndsModelConstraint.java +++ /dev/null
@@ -1,53 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.Block; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Connector; -import org.eclipse.uml2.uml.ConnectorEnd; - -/** - * 8.3.2.3 Block [2] The number of ends of a connector owned by a block must be - * exactly two. - */ -public class BlockConnectorTwoEndsModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - Block block = (Block) context.getTarget(); - Class clazz = block.getBase_Class(); - if (clazz != null) { - EList<Connector> ownedConnectors = clazz.getOwnedConnectors(); - for (Connector connector : ownedConnectors) { - EList<ConnectorEnd> ends = connector.getEnds(); - if (ends == null || ends.size() != 2) { - return context.createFailureStatus(context.getTarget()); - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/BlockPropertyAssociationEndModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/BlockPropertyAssociationEndModelConstraint.java deleted file mode 100644 index 51b883a..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/BlockPropertyAssociationEndModelConstraint.java +++ /dev/null
@@ -1,59 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * Benoit Maggi (CEA LIST) - Bug 487500 - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.Block; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * 8.3.2.3 Block [4] In the UML metamodel on which SysML is built, - * a Property that is typed by a block must be defined as an end of an association. - * (An inverse end of this association, whether owned by - * another block or the association itself, must always be present so there - * is always a metamodel element to record the inverse multiplicity of the reference.) - */ -public class BlockPropertyAssociationEndModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - EObject target = context.getTarget(); - //FIXME: Literally the norm state the constraints for all properties - // but common sense would recommend to skip the constraint on certain Port - // SO: the question should be raised in SysML Forums... (More information: Bug 487500) - if (target instanceof Property && !(target instanceof Port)){ - Property property = (Property) target; - Type type = property.getType(); - if (type != null && property.getAssociation() == null) { - if (UMLUtil.getStereotypeApplication(type, Block.class) != null) { - return context.createFailureStatus(target); - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/BlockPropertyCompositeModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/BlockPropertyCompositeModelConstraint.java deleted file mode 100644 index 03a5065..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/BlockPropertyCompositeModelConstraint.java +++ /dev/null
@@ -1,60 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.Block; -import org.eclipse.papyrus.sysml14.blocks.ValueType; -import org.eclipse.uml2.uml.AggregationKind; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * 8.3.2.3 Block [6] If a property owned by a SysML Block or SysML ValueType is - * typed by a SysML ValueType, then the aggregation attribute of the property - * must be «composite.» - * - */ -public class BlockPropertyCompositeModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - Block block = (Block) context.getTarget(); - Class clazz = block.getBase_Class(); - if (clazz != null) { - EList<Property> attributes = clazz.getAttributes(); - for (Property property : attributes) { - Type type = property.getType(); - if (type != null && UMLUtil.getStereotypeApplication(type, ValueType.class) != null) { - if (!AggregationKind.COMPOSITE_LITERAL.equals(property.getAggregation())) { - return context.createFailureStatus(context.getTarget()); - } - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/BlockPropertyNoNameModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/BlockPropertyNoNameModelConstraint.java deleted file mode 100644 index 9310038..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/BlockPropertyNoNameModelConstraint.java +++ /dev/null
@@ -1,67 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.Block; -import org.eclipse.uml2.uml.Association; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * 8.3.2.3 Block [3] In the UML metamodel on which SysML is built, any instance - * of the Property metaclass that is typed by a block (a Class with the «block» - * stereotype applied) and which is owned by an Association may not have a name - * and may not be defined as a navigable owned end of the association. (While - * the Property has a «name» property as defined by its NamedElement - */ -public class BlockPropertyNoNameModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - EObject target = context.getTarget(); - if (target instanceof Property) { - Property property = (Property) target; - Element owner = property.getOwner(); - if (owner instanceof Association) { - Association association = (Association) owner; - Type type = property.getType(); - if (type != null && UMLUtil.getStereotypeApplication(type, Block.class) != null) { - String name = property.getName(); - if (name != null && !"".equals(name)) {//$NON-NLS-1$ - return context.createFailureStatus(context.getTarget()); - } - - if (association.getNavigableOwnedEnds().contains(property)) { - return context.createFailureStatus(context.getTarget()); - } - } - - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/BlockSpecializationModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/BlockSpecializationModelConstraint.java deleted file mode 100644 index 6f62f9f..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/BlockSpecializationModelConstraint.java +++ /dev/null
@@ -1,56 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.Block; -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.Generalization; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * 8.3.2.3 Block [8] Any classifier that specializes a Block must also have the - * Block stereotype or one of its specializations applied. - */ -public class BlockSpecializationModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - EObject target = context.getTarget(); - if (target instanceof Classifier) { - Classifier classifier = (Classifier) target; - if (UMLUtil.getStereotypeApplication(classifier, Block.class) == null) { - EList<Generalization> generalizations = classifier.getGeneralizations(); - for (Generalization generalization : generalizations) { - Classifier general = generalization.getGeneral(); - if (UMLUtil.getStereotypeApplication(general, Block.class) != null) { - return context.createFailureStatus(classifier); - } - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ClassifierBehaviorPropertyOnBlockModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ClassifierBehaviorPropertyOnBlockModelConstraint.java deleted file mode 100644 index d5f32ad..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ClassifierBehaviorPropertyOnBlockModelConstraint.java +++ /dev/null
@@ -1,54 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.Block; -import org.eclipse.papyrus.sysml14.blocks.ClassifierBehaviorProperty; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - *8.3.2.5 ClassifierBehaviorProperty - *[1] ClassifierBehaviorProperty may only be applied to properties owned (not inherited) by blocks that have classifier behaviors. - */ -public class ClassifierBehaviorPropertyOnBlockModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - ClassifierBehaviorProperty classifierBehaviorProperty = (ClassifierBehaviorProperty) context.getTarget(); - Property property = classifierBehaviorProperty.getBase_Property(); - if (property != null) { - Element owner = property.getOwner(); - if (owner instanceof org.eclipse.uml2.uml.Class) { - org.eclipse.uml2.uml.Class clazz = (org.eclipse.uml2.uml.Class) owner; - if (UMLUtil.getStereotypeApplication(clazz, Block.class) == null - || clazz.getClassifierBehavior() == null ) { - return context.createFailureStatus(context.getTarget()); - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ClassifierBehaviorPropertyTypedByModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ClassifierBehaviorPropertyTypedByModelConstraint.java deleted file mode 100644 index 8065b8d..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ClassifierBehaviorPropertyTypedByModelConstraint.java +++ /dev/null
@@ -1,59 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.ClassifierBehaviorProperty; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; - -/** - * 8.3.2.5 ClassifierBehaviorProperty [3] Properties to which - * ClassifierBehaviorProperty applied must be typed by the classifier behavior - * of their owning block or a generalization of the classifier behavior. - * - */ -public class ClassifierBehaviorPropertyTypedByModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - ClassifierBehaviorProperty classifierBehaviorProperty = (ClassifierBehaviorProperty) context.getTarget(); - Property property = classifierBehaviorProperty.getBase_Property(); - if (property != null) { - Type type = property.getType(); - if (type != null) { - Element owner = property.getOwner(); - if (owner instanceof org.eclipse.uml2.uml.Class) { - // is a block by constraint 8.3.2.5 [1] - org.eclipse.uml2.uml.Class clazz = (org.eclipse.uml2.uml.Class) owner; - if (!type.equals(clazz.getClassifierBehavior())) { - return context.createFailureStatus(context.getTarget()); - } - } - } - - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ConnectorPropertyOnlyOnBlockModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ConnectorPropertyOnlyOnBlockModelConstraint.java deleted file mode 100644 index 7e62936..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ConnectorPropertyOnlyOnBlockModelConstraint.java +++ /dev/null
@@ -1,51 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.Block; -import org.eclipse.papyrus.sysml14.blocks.ConnectorProperty; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * 8.3.2.6 ConnectorProperty [1] ConnectorProperty may only be applied to - * properties of classes stereotyped by Block. - * - */ -public class ConnectorPropertyOnlyOnBlockModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - ConnectorProperty connectorProperty = (ConnectorProperty) context.getTarget(); - Property property = connectorProperty.getBase_Property(); - if (property != null) { - Element owner = property.getOwner(); - if (owner == null || UMLUtil.getStereotypeApplication(owner, Block.class) == null) { - return context.createFailureStatus(context.getTarget()); - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ConnectorPropertyReferOwnedConnectorModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ConnectorPropertyReferOwnedConnectorModelConstraint.java deleted file mode 100644 index 4af51c5..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ConnectorPropertyReferOwnedConnectorModelConstraint.java +++ /dev/null
@@ -1,56 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.ConnectorProperty; -import org.eclipse.uml2.uml.Connector; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.Property; - -/** - * 8.3.2.6 ConnectorProperty [2] The connector attribute of the applied - * stereotype must refer to a connector owned or inherited by a block owning the - * property on which the stereotype is applied. - * - */ -public class ConnectorPropertyReferOwnedConnectorModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - ConnectorProperty connectorProperty = (ConnectorProperty) context.getTarget(); - Property property = connectorProperty.getBase_Property(); - if (property != null) { - Element owner = property.getOwner(); - if (owner!=null){ - Connector connector = connectorProperty.getConnector(); - if (connector != null){ - if (!owner.equals(connector.getOwner())){ - return context.createFailureStatus(context.getTarget()); - } - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ConnectorPropertySameNameModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ConnectorPropertySameNameModelConstraint.java deleted file mode 100644 index 23fab9c..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ConnectorPropertySameNameModelConstraint.java +++ /dev/null
@@ -1,58 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.ConnectorProperty; -import org.eclipse.uml2.uml.Connector; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; - -/** - * 8.3.2.6 ConnectorProperty [5] A property stereotyped by ConnectorProperty - * must have the same name and type as the connector referred to by the - * connector attribute. - * - */ -public class ConnectorPropertySameNameModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - ConnectorProperty connectorProperty = (ConnectorProperty) context.getTarget(); - Property property = connectorProperty.getBase_Property(); - if (property != null) { - Connector connector = connectorProperty.getConnector(); - if (connector!=null){ - String name = connector.getName(); - if (name!= null && !name.equals(property.getName())){ - return context.createFailureStatus(context.getTarget()); - } - Type type = connector.getType(); - if (type!= null && !type.equals(property.getType())){ - return context.createFailureStatus(context.getTarget()); - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ConnectorPropertyTypedByAssociationBlockModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ConnectorPropertyTypedByAssociationBlockModelConstraint.java deleted file mode 100644 index 7dcbe55..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ConnectorPropertyTypedByAssociationBlockModelConstraint.java +++ /dev/null
@@ -1,54 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.Block; -import org.eclipse.papyrus.sysml14.blocks.ConnectorProperty; -import org.eclipse.uml2.uml.Association; -import org.eclipse.uml2.uml.AssociationClass; -import org.eclipse.uml2.uml.Connector; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * 8.3.2.6 ConnectorProperty [4] The type of the connector referred to by a - * connector attribute must be an association class stereotyped by Block. - * - */ -public class ConnectorPropertyTypedByAssociationBlockModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - ConnectorProperty connectorProperty = (ConnectorProperty) context.getTarget(); - Connector connector = connectorProperty.getConnector(); - if (connector != null) { - Association type = connector.getType(); - if (type != null){ - if (!(type instanceof AssociationClass)||UMLUtil.getStereotypeApplication(type, Block.class) == null) { - return context.createFailureStatus(context.getTarget()); - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/DirectedRelationshipPropertyPathRequireSourceContextModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/DirectedRelationshipPropertyPathRequireSourceContextModelConstraint.java deleted file mode 100644 index e83ba86..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/DirectedRelationshipPropertyPathRequireSourceContextModelConstraint.java +++ /dev/null
@@ -1,48 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath; -import org.eclipse.uml2.uml.Property; - -/** - * 8.3.2.7 DirectedRelationshipPropertyPath [1] source#context must have a value - * when sourcePropertyPath has a value. - */ -public class DirectedRelationshipPropertyPathRequireSourceContextModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - DirectedRelationshipPropertyPath directedRelationshipPropertyPath = (DirectedRelationshipPropertyPath) context - .getTarget(); - EList<Property> sourcePropertyPath = directedRelationshipPropertyPath.getSourcePropertyPath(); - if (sourcePropertyPath != null && !sourcePropertyPath.isEmpty()) { - if (directedRelationshipPropertyPath.getSourceContext() == null) { - return context.createFailureStatus(context.getTarget()); - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/DirectedRelationshipPropertyPathRequireTargetContextModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/DirectedRelationshipPropertyPathRequireTargetContextModelConstraint.java deleted file mode 100644 index 85c1a30..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/DirectedRelationshipPropertyPathRequireTargetContextModelConstraint.java +++ /dev/null
@@ -1,48 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath; -import org.eclipse.uml2.uml.Property; - -/** - * 8.3.2.7 DirectedRelationshipPropertyPath [1] target#context must have a value - * when targetPropertyPath has a value. - */ -public class DirectedRelationshipPropertyPathRequireTargetContextModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - DirectedRelationshipPropertyPath directedRelationshipPropertyPath = (DirectedRelationshipPropertyPath) context - .getTarget(); - EList<Property> targetPropertyPath = directedRelationshipPropertyPath.getTargetPropertyPath(); - if (targetPropertyPath != null && !targetPropertyPath.isEmpty()) { - if (directedRelationshipPropertyPath.getTargetContext() == null) { - return context.createFailureStatus(context.getTarget()); - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/DirectedRelationshipPropertyPathSourceFirstModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/DirectedRelationshipPropertyPathSourceFirstModelConstraint.java deleted file mode 100644 index 441b983..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/DirectedRelationshipPropertyPathSourceFirstModelConstraint.java +++ /dev/null
@@ -1,53 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath; -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.Property; - -/** - * 8.3.2.7 DirectedRelationshipPropertyPath [3] The property in the first - * position of the sourcePropertyPath list, if any, must be owned by the - * source#context or one of its generalizations. - */ -public class DirectedRelationshipPropertyPathSourceFirstModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - DirectedRelationshipPropertyPath directedRelationshipPropertyPath = (DirectedRelationshipPropertyPath) context - .getTarget(); - EList<Property> sourcePropertyPath = directedRelationshipPropertyPath.getSourcePropertyPath(); - if (sourcePropertyPath != null && !sourcePropertyPath.isEmpty()) { - Property property = sourcePropertyPath.get(0); - Classifier sourceContext = directedRelationshipPropertyPath.getSourceContext(); - if (sourceContext != null) { - if (!sourceContext.getAllAttributes().contains(property)) { - return context.createFailureStatus(context.getTarget()); - } - } - } - return context.createSuccessStatus(); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/DirectedRelationshipPropertyPathSourceLastModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/DirectedRelationshipPropertyPathSourceLastModelConstraint.java deleted file mode 100644 index 82956de..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/DirectedRelationshipPropertyPathSourceLastModelConstraint.java +++ /dev/null
@@ -1,68 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath; -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.DirectedRelationship; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; - -/** - * 8.3.2.7 DirectedRelationshipPropertyPath [6] The type of the property at the - * last position of the sourcePropertyPath list must own or inherit the source - * of the stereotyped directed relationship. - */ -public class DirectedRelationshipPropertyPathSourceLastModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - DirectedRelationshipPropertyPath directedRelationshipPropertyPath = (DirectedRelationshipPropertyPath) context - .getTarget(); - EList<Property> sourcePropertyPath = directedRelationshipPropertyPath.getSourcePropertyPath(); - if (sourcePropertyPath != null && !sourcePropertyPath.isEmpty()) { - Property property = sourcePropertyPath.get(sourcePropertyPath.size() - 1); - Type type = property.getType(); - if (type != null) { - DirectedRelationship directedRelationship = directedRelationshipPropertyPath - .getBase_DirectedRelationship(); - if (directedRelationship != null) { - EList<Element> sources = directedRelationship.getSources(); - if (sources != null && !sources.isEmpty() && !type.getOwnedElements().contains(sources.get(0))){ - if (type instanceof Classifier){ - Classifier classifier = (Classifier) type; - if (!classifier.getInheritedMembers().contains(sources.get(0))){ - return context.createFailureStatus(context.getTarget()); - } - } else { - return context.createFailureStatus(context.getTarget()); - } - } - } - } - } - return context.createSuccessStatus(); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/DirectedRelationshipPropertyPathTargetFirstModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/DirectedRelationshipPropertyPathTargetFirstModelConstraint.java deleted file mode 100644 index 05eef7a..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/DirectedRelationshipPropertyPathTargetFirstModelConstraint.java +++ /dev/null
@@ -1,53 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath; -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.Property; - -/** - * 8.3.2.7 DirectedRelationshipPropertyPath [4] The property in the first - * position of the targetPropertyPath list, if any, must be owned by the - * target#context or one of its generalizations. - */ -public class DirectedRelationshipPropertyPathTargetFirstModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - DirectedRelationshipPropertyPath directedRelationshipPropertyPath = (DirectedRelationshipPropertyPath) context - .getTarget(); - EList<Property> targetPropertyPath = directedRelationshipPropertyPath.getTargetPropertyPath(); - if (targetPropertyPath != null && !targetPropertyPath.isEmpty()) { - Property property = targetPropertyPath.get(0); - Classifier targetContext = directedRelationshipPropertyPath.getTargetContext(); - if (targetContext != null) { - if (!targetContext.getAllAttributes().contains(property)) { - return context.createFailureStatus(context.getTarget()); - } - } - } - return context.createSuccessStatus(); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/DirectedRelationshipPropertyPathTargetLastModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/DirectedRelationshipPropertyPathTargetLastModelConstraint.java deleted file mode 100644 index 343fe5f..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/DirectedRelationshipPropertyPathTargetLastModelConstraint.java +++ /dev/null
@@ -1,68 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Bug 515283 - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath; -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.DirectedRelationship; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; - -/** - * 8.3.2.7 DirectedRelationshipPropertyPath [7] The type of the property at the - * last position of the targetPropertyPath list must own or inherit the target - * of the stereotyped directed relationship. - */ -public class DirectedRelationshipPropertyPathTargetLastModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - DirectedRelationshipPropertyPath directedRelationshipPropertyPath = (DirectedRelationshipPropertyPath) context - .getTarget(); - EList<Property> targetPropertyPath = directedRelationshipPropertyPath.getTargetPropertyPath(); - if (targetPropertyPath != null && !targetPropertyPath.isEmpty()) { - Property property = targetPropertyPath.get(targetPropertyPath.size() - 1); - Type type = property.getType(); - if (type != null) { - DirectedRelationship directedRelationship = directedRelationshipPropertyPath - .getBase_DirectedRelationship(); - if (directedRelationship != null) { - EList<Element> targets = directedRelationship.getTargets(); - if (targets != null && !targets.isEmpty() && !type.getOwnedElements().contains(targets.get(0))){ - if (type instanceof Classifier){ - Classifier classifier = (Classifier) type; - if (!classifier.getInheritedMembers().contains(targets.get(0))){ - return context.createFailureStatus(context.getTarget()); - } - } else { - return context.createFailureStatus(context.getTarget()); - } - } - } - } - } - return context.createSuccessStatus(); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/DistributedPropertyTypedByModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/DistributedPropertyTypedByModelConstraint.java deleted file mode 100644 index 3aea60b..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/DistributedPropertyTypedByModelConstraint.java +++ /dev/null
@@ -1,54 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.Block; -import org.eclipse.papyrus.sysml14.blocks.DistributedProperty; -import org.eclipse.papyrus.sysml14.blocks.ValueType; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * 8.3.2.8 DistributedProperty [1] The DistributedProperty stereotype may be applied only to properties of classifiers stereotyped by Block or ValueType. - * - */ -public class DistributedPropertyTypedByModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - DistributedProperty distributedProperty = (DistributedProperty) context.getTarget(); - Property property = distributedProperty.getBase_Property(); - if (property != null) { - Type type = property.getType(); - if (type != null) { - if (UMLUtil.getStereotypeApplication(type, ValueType.class) == null - && UMLUtil.getStereotypeApplication(type, Block.class) == null) { - return context.createFailureStatus(context.getTarget()); - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ElementPropertyPathPropertiesOwnerModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ElementPropertyPathPropertiesOwnerModelConstraint.java deleted file mode 100644 index b16028b..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ElementPropertyPathPropertiesOwnerModelConstraint.java +++ /dev/null
@@ -1,60 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.ElementPropertyPath; -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; - -/** - * 8.3.2.9 ElementPropertyPath [1] The property at each successive position of - * the propertyPath attribute, following the first position, must be owned by - * the Block or ValueType that types the property at the immediately preceding - * position, or a generalization of the Block or ValueType. - */ -public class ElementPropertyPathPropertiesOwnerModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - ElementPropertyPath elementPropertyPath = (ElementPropertyPath) context.getTarget(); - EList<Property> propertyPath = elementPropertyPath.getPropertyPath(); - Classifier classifier = null; - for (Property property : propertyPath) { - if (classifier != null && !classifier.getAllAttributes().contains(property)) { - return context.createFailureStatus(context.getTarget()); - } - Type type = property.getType(); - if (type instanceof Classifier) { - // FIXME: this constraint seems to assume that the - // type is a classifier - classifier = (Classifier) type; - } else { - classifier = null; - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/EndPathMultiplicityBoundReferencePropertyModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/EndPathMultiplicityBoundReferencePropertyModelConstraint.java deleted file mode 100644 index 27b3fe5..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/EndPathMultiplicityBoundReferencePropertyModelConstraint.java +++ /dev/null
@@ -1,53 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.BoundReference; -import org.eclipse.papyrus.sysml14.blocks.EndPathMultiplicity; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * 8.3.2.10 EndPathMultiplicity [1] Properties to which EndPathMultiplicity is - * applied must be related by redefinition to a property to which BoundReference - * is applied. - */ -public class EndPathMultiplicityBoundReferencePropertyModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - EndPathMultiplicity endPathMultiplicity = (EndPathMultiplicity) context.getTarget(); - Property property = endPathMultiplicity.getBase_Property(); - if (property != null) { - EList<Property> redefinedProperties = property.getRedefinedProperties(); - for (Property redefinedProperty : redefinedProperties) { - if (UMLUtil.getStereotypeApplication(redefinedProperty, BoundReference.class) == null) { - return context.createFailureStatus(context.getTarget()); - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/NestedConnectorEndFirstPropertyModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/NestedConnectorEndFirstPropertyModelConstraint.java deleted file mode 100644 index a2b30fa..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/NestedConnectorEndFirstPropertyModelConstraint.java +++ /dev/null
@@ -1,63 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.NestedConnectorEnd; -import org.eclipse.uml2.uml.Connector; -import org.eclipse.uml2.uml.ConnectorEnd; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.Property; - -/** - * 8.3.2.11 NestedConnectorEnd [1] The first property in propertyPath must be - * owned by the block that owns the connector, or one of the block's - * generalizations. - */ -public class NestedConnectorEndFirstPropertyModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - NestedConnectorEnd nestedConnectorEnd = (NestedConnectorEnd) context.getTarget(); - ConnectorEnd connectorEnd = nestedConnectorEnd.getBase_ConnectorEnd(); - if (connectorEnd != null) { - EObject eContainer = connectorEnd.eContainer(); - if (eContainer instanceof Connector) { - Element connectorOwner = ((Connector) eContainer).getOwner(); - if (connectorOwner != null) { - EList<Property> propertyPath = nestedConnectorEnd.getPropertyPath(); - if (propertyPath != null && !propertyPath.isEmpty()) { - Property firstProperty = propertyPath.get(0); - if (!connectorOwner.equals(firstProperty.getOwner())) { - return context.createFailureStatus(context.getTarget()); - } - } - } - } - } - - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/NestedConnectorEndLastPropertyModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/NestedConnectorEndLastPropertyModelConstraint.java deleted file mode 100644 index 3ad3007..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/NestedConnectorEndLastPropertyModelConstraint.java +++ /dev/null
@@ -1,71 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.NestedConnectorEnd; -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.ConnectableElement; -import org.eclipse.uml2.uml.ConnectorEnd; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; - -/** - * 8.3.2.11 NestedConnectorEnd [2] The type of the property at the last position - * of the propertyPath list must own or inherit the role property of the - * stereotyped connector end. - * - */ -public class NestedConnectorEndLastPropertyModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - NestedConnectorEnd nestedConnectorEnd = (NestedConnectorEnd) context.getTarget(); - ConnectorEnd connectorEnd = nestedConnectorEnd.getBase_ConnectorEnd(); - if (connectorEnd != null) { - // FIXME: this constraint seems to assume that the connectable - // element is a property - ConnectableElement role = connectorEnd.getRole(); - if (role instanceof Property) { - Property property = (Property) role; - EList<Property> propertyPath = nestedConnectorEnd.getPropertyPath(); - if (propertyPath != null && !propertyPath.isEmpty()) { - Property lastProperty = propertyPath.get(propertyPath.size() - 1); - if (lastProperty != null) { - Type type = lastProperty.getType(); - if (type instanceof Classifier) { - // FIXME: this constraint seems to assume that the - // type is a classifier - Classifier classifier = (Classifier) type; - if (!classifier.getAllAttributes().contains(property)) { - return context.createFailureStatus(context.getTarget()); - } - } - } - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/NestedConnectorEndOnlyConnectorEndsModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/NestedConnectorEndOnlyConnectorEndsModelConstraint.java deleted file mode 100644 index e4fb5ce..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/NestedConnectorEndOnlyConnectorEndsModelConstraint.java +++ /dev/null
@@ -1,44 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.NestedConnectorEnd; -import org.eclipse.uml2.uml.ConnectorEnd; -import org.eclipse.uml2.uml.Element; - -/** - * 8.3.2.11 NestedConnectorEnd [3] NestedConnectorEnd may only be applied to - * connector ends - */ -public class NestedConnectorEndOnlyConnectorEndsModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - NestedConnectorEnd nestedConnectorEnd = (NestedConnectorEnd) context.getTarget(); - Element element = nestedConnectorEnd.getBase_Element(); - if (element != null && !(element instanceof ConnectorEnd)) { - return context.createFailureStatus(context.getTarget()); - } - return context.createSuccessStatus(); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ParticipantPropertyEndMultiplicityModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ParticipantPropertyEndMultiplicityModelConstraint.java deleted file mode 100644 index 3ae0016..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ParticipantPropertyEndMultiplicityModelConstraint.java +++ /dev/null
@@ -1,45 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.ParticipantProperty; -import org.eclipse.uml2.uml.Property; - -/** - * 8.3.2.12 ParticipantProperty [6] The property referred to by end must have a - * multiplicity of 1. - * - */ -public class ParticipantPropertyEndMultiplicityModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - ParticipantProperty participantProperty = (ParticipantProperty) context.getTarget(); - Property property = participantProperty.getBase_Property(); - if (property != null && (property.upperBound() != 1 || property.lowerBound() != 1)) { - return context.createFailureStatus(context.getTarget()); - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ParticipantPropertyNoAssociationMemberEndsModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ParticipantPropertyNoAssociationMemberEndsModelConstraint.java deleted file mode 100644 index 9541710..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ParticipantPropertyNoAssociationMemberEndsModelConstraint.java +++ /dev/null
@@ -1,46 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.ParticipantProperty; -import org.eclipse.uml2.uml.Property; - -/** - * 8.3.2.12 ParticipantProperty [2] ParticipantProperty may not be applied to - * properties that are member ends of an association. - */ -public class ParticipantPropertyNoAssociationMemberEndsModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - ParticipantProperty participantProperty = (ParticipantProperty) context.getTarget(); - Property property = participantProperty.getBase_Property(); - if (property != null) { - if (property.getAssociation()!=null) { - return context.createFailureStatus(context.getTarget()); - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ParticipantPropertyOnlyAssociationBlockModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ParticipantPropertyOnlyAssociationBlockModelConstraint.java deleted file mode 100644 index 566e565..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ParticipantPropertyOnlyAssociationBlockModelConstraint.java +++ /dev/null
@@ -1,50 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.Block; -import org.eclipse.papyrus.sysml14.blocks.ParticipantProperty; -import org.eclipse.uml2.uml.AssociationClass; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * 8.3.2.12 ParticipantProperty [1] ParticipantProperty may only be applied to properties of association classes stereotyped by Block. - * - */ -public class ParticipantPropertyOnlyAssociationBlockModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - ParticipantProperty participantProperty = (ParticipantProperty) context.getTarget(); - Property property = participantProperty.getBase_Property(); - if (property != null) { - Element owner = property.getOwner(); - if ((!(owner instanceof AssociationClass)) || UMLUtil.getStereotypeApplication(owner, Block.class) == null) { - return context.createFailureStatus(context.getTarget()); - } - } - return context.createSuccessStatus(); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ParticipantPropertyOnlyNoneAggregationModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ParticipantPropertyOnlyNoneAggregationModelConstraint.java deleted file mode 100644 index c8c83a9..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ParticipantPropertyOnlyNoneAggregationModelConstraint.java +++ /dev/null
@@ -1,47 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.ParticipantProperty; -import org.eclipse.uml2.uml.AggregationKind; -import org.eclipse.uml2.uml.Property; - -/** - * 8.3.2.12 ParticipantProperty [3] The aggregation of a property stereotyped by - * ParticipantProperty must be none. - */ -public class ParticipantPropertyOnlyNoneAggregationModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - ParticipantProperty participantProperty = (ParticipantProperty) context.getTarget(); - Property property = participantProperty.getBase_Property(); - if (property != null) { - if (!AggregationKind.NONE_LITERAL.equals(property.getAggregation())) { - return context.createFailureStatus(context.getTarget()); - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ParticipantPropertySameEndModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ParticipantPropertySameEndModelConstraint.java deleted file mode 100644 index 6f409bc..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ParticipantPropertySameEndModelConstraint.java +++ /dev/null
@@ -1,57 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.ParticipantProperty; -import org.eclipse.uml2.uml.AssociationClass; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.Property; - -/** - * 8.3.2.12 ParticipantProperty [4] The end attribute of the applied stereotype - * must refer to a member end of the association block owning the property on - * which the stereotype is applied. - * - */ -public class ParticipantPropertySameEndModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - ParticipantProperty participantProperty = (ParticipantProperty) context.getTarget(); - Property endProperty = participantProperty.getEnd(); - if (endProperty != null) { - Property property = participantProperty.getBase_Property(); - if (property != null){ - Element owner = property.getOwner(); - if (owner instanceof AssociationClass){ - AssociationClass associationClass = (AssociationClass) owner; - if (!associationClass.getMemberEnds().contains(endProperty)){ - return context.createFailureStatus(context.getTarget()); - } - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ParticipantPropertySameTypeModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ParticipantPropertySameTypeModelConstraint.java deleted file mode 100644 index 660b7cf..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/ParticipantPropertySameTypeModelConstraint.java +++ /dev/null
@@ -1,54 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.ParticipantProperty; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; - -/** - * 8.3.2.12 ParticipantProperty [5] A property stereotyped by - * ParticipantProperty must have the same type as the property referred to by - * the end attribute. - */ -public class ParticipantPropertySameTypeModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - ParticipantProperty participantProperty = (ParticipantProperty) context.getTarget(); - Property property = participantProperty.getBase_Property(); - if (property != null) { - Type type = property.getType(); - if (type != null) { - Property endProperty = participantProperty.getEnd(); - if (endProperty != null) { - if (!type.equals(endProperty.getType())) { - return context.createFailureStatus(context.getTarget()); - } - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/PropertySpecificTypeMissingNameModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/PropertySpecificTypeMissingNameModelConstraint.java deleted file mode 100644 index 1e34b49..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/PropertySpecificTypeMissingNameModelConstraint.java +++ /dev/null
@@ -1,49 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.PropertySpecificType; -import org.eclipse.uml2.uml.Classifier; - -/** - * 8.3.2.13 PropertySpecificType [2] The name of a classifier to which a - * PropertySpecificType is applied must be missing. (The «name» attribute of the - * NamedElement metaclass must be empty.) - * - */ -public class PropertySpecificTypeMissingNameModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - PropertySpecificType propertySpecificType = (PropertySpecificType) context.getTarget(); - Classifier classifier = propertySpecificType.getBase_Classifier(); - if (classifier != null) { - String name = classifier.getName(); - if (name!= null && !"".equals(name)) { //$NON-NLS-1$ - return context.createFailureStatus(context.getTarget()); - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/PropertySpecificTypeUniquePropertyModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/PropertySpecificTypeUniquePropertyModelConstraint.java deleted file mode 100644 index b6849df..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/blocks/PropertySpecificTypeUniquePropertyModelConstraint.java +++ /dev/null
@@ -1,54 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.blocks; - -import java.util.Set; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.gmf.runtime.emf.core.util.CrossReferenceAdapter; -import org.eclipse.papyrus.sysml14.blocks.PropertySpecificType; -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.UMLPackage; - -/** - * 8.3.2.13 PropertySpecificType [1] A classifier to which the - * PropertySpecificType stereotype is applied must be referenced as the type of - * one and only one property. - */ -public class PropertySpecificTypeUniquePropertyModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - PropertySpecificType propertySpecificType = (PropertySpecificType) context.getTarget(); - Classifier classifier = propertySpecificType.getBase_Classifier(); - if (classifier != null) { - CrossReferenceAdapter crossReferenceAdapter = CrossReferenceAdapter.getCrossReferenceAdapter(TransactionUtil.getEditingDomain(classifier).getResourceSet()); - Set inverseReferencers = crossReferenceAdapter.getInverseReferencers(classifier, UMLPackage.eINSTANCE.getTypedElement_Type(), null); - if (inverseReferencers != null && inverseReferencers.size() != 1) { - return context.createFailureStatus(context.getTarget()); - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/modelelements/ExposeClientStereotypedByViewModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/modelelements/ExposeClientStereotypedByViewModelConstraint.java deleted file mode 100644 index 080b2bc..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/modelelements/ExposeClientStereotypedByViewModelConstraint.java +++ /dev/null
@@ -1,53 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.modelelements; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.modelelements.Expose; -import org.eclipse.papyrus.sysml14.modelelements.View; -import org.eclipse.uml2.uml.Dependency; -import org.eclipse.uml2.uml.NamedElement; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * 7.3.2.3 Expose [1] The client must be an element stereotyped by View. - * FIXME : the norm is incorrect there may be many client, the rule will apply to all clients - * - */ -public class ExposeClientStereotypedByViewModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - Expose expose = (Expose) context.getTarget(); - Dependency dependency = expose.getBase_Dependency(); - if (dependency != null) { - EList<NamedElement> clients = dependency.getClients(); - for (NamedElement namedElement : clients) { - if (UMLUtil.getStereotypeApplication(namedElement, View.class) == null) { - return context.createFailureStatus(context.getTarget()); - } - } - } - return context.createSuccessStatus(); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/modelelements/ViewSingleViewpointModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/modelelements/ViewSingleViewpointModelConstraint.java deleted file mode 100644 index dfe95b3..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/modelelements/ViewSingleViewpointModelConstraint.java +++ /dev/null
@@ -1,57 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.modelelements; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.modelelements.Conform; -import org.eclipse.papyrus.sysml14.modelelements.View; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Generalization; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * 7.3.2.7 View [1] A view must only conform to a single viewpoint. - */ -public class ViewSingleViewpointModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - View view = (View) context.getTarget(); - Class clazz = view.getBase_Class(); - if (clazz != null) { - EList<Generalization> generalizations = clazz.getGeneralizations(); - if (generalizations != null) { - int countConform = 0; - for (Generalization generalization : generalizations) { - if (UMLUtil.getStereotypeApplication(generalization, Conform.class) != null) { - countConform++; - } - } - if (countConform != 1) { - return context.createFailureStatus(context.getTarget()); - } - } - } - return context.createSuccessStatus(); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/modelelements/ViewpointOwnedViewModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/modelelements/ViewpointOwnedViewModelConstraint.java deleted file mode 100644 index e4791fa..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/modelelements/ViewpointOwnedViewModelConstraint.java +++ /dev/null
@@ -1,60 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.modelelements; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.modelelements.Viewpoint; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Operation; -import org.eclipse.uml2.uml.profile.standard.Create; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * 7.3.2.8 Viewpoint [2] The property ownedOperation must include at least one - * operation named «View» with the UML Create stereotype applied. - */ -public class ViewpointOwnedViewModelConstraint extends AbstractModelConstraint { - - // expected name of the operation fixed by the norm - private static final String VIEW = "View"; //$NON-NLS-1$ - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - Viewpoint viewpoint = (Viewpoint) context.getTarget(); - Class clazz = viewpoint.getBase_Class(); - if (clazz != null) { - EList<Operation> operations = clazz.getOperations(); - boolean found = false; - for (Operation operation : operations) { - if (VIEW.equals(operation.getName()) - && UMLUtil.getStereotypeApplication(operation, Create.class) != null) { - found = true; - } - } - if (!found) { - return context.createFailureStatus(context.getTarget()); - } - } - return context.createSuccessStatus(); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/nonnormative/NestedConnectorEndMissingConstraintModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/nonnormative/NestedConnectorEndMissingConstraintModelConstraint.java deleted file mode 100644 index b29c254..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/nonnormative/NestedConnectorEndMissingConstraintModelConstraint.java +++ /dev/null
@@ -1,61 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.nonnormative; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.Block; -import org.eclipse.papyrus.sysml14.blocks.NestedConnectorEnd; -import org.eclipse.papyrus.sysml14.constraintblocks.ConstraintBlock; -import org.eclipse.uml2.uml.ConnectableElement; -import org.eclipse.uml2.uml.Connector; -import org.eclipse.uml2.uml.ConnectorEnd; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * - */ -public class NestedConnectorEndMissingConstraintModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - EObject target = context.getTarget(); - if (target instanceof ConnectorEnd) { - ConnectorEnd connectorEnd = (ConnectorEnd) target; - Element owner = connectorEnd.getOwner(); - if (owner instanceof Connector) { - Connector connector = (Connector) owner; - ConnectableElement role = connectorEnd.getRole(); - Element connectorOwner = connector.getOwner(); - if (role != null && !role.getOwner().equals(connectorOwner)) { - if (UMLUtil.getStereotypeApplication(connectorOwner, Block.class) != null || UMLUtil.getStereotypeApplication(connectorOwner, ConstraintBlock.class) != null) { - if (UMLUtil.getStereotypeApplication(connectorEnd, NestedConnectorEnd.class) == null) { - return context.createFailureStatus(role.getName()); - } - } - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/ChangeStructuralFeatureEventNotStaticModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/ChangeStructuralFeatureEventNotStaticModelConstraint.java deleted file mode 100644 index 6c583bc..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/ChangeStructuralFeatureEventNotStaticModelConstraint.java +++ /dev/null
@@ -1,46 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.portsandflows; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.portsandflows.ChangeStructuralFeatureEvent; -import org.eclipse.uml2.uml.StructuralFeature; - -/** - * 9.3.2.3 ChangeStructuralFeatureEvent [1] The structural feature must not be - * static. - */ -public class ChangeStructuralFeatureEventNotStaticModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - ChangeStructuralFeatureEvent changeStructuralFeatureEvent = (ChangeStructuralFeatureEvent) context.getTarget(); - StructuralFeature structuralFeature = changeStructuralFeatureEvent.getStructuralFeature(); - if (structuralFeature != null) { - if (structuralFeature.isStatic()) { - return context.createFailureStatus(context.getTarget()); - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/ChangeStructuralFeatureEventOneFeaturingClassifierModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/ChangeStructuralFeatureEventOneFeaturingClassifierModelConstraint.java deleted file mode 100644 index 74fcba9..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/ChangeStructuralFeatureEventOneFeaturingClassifierModelConstraint.java +++ /dev/null
@@ -1,49 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.portsandflows; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.portsandflows.ChangeStructuralFeatureEvent; -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.StructuralFeature; - -/** - * 9.3.2.3 ChangeStructuralFeatureEvent [2] The structural feature must have - * exactly one featuringClassifier. - */ -public class ChangeStructuralFeatureEventOneFeaturingClassifierModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - ChangeStructuralFeatureEvent changeStructuralFeatureEvent = (ChangeStructuralFeatureEvent) context.getTarget(); - StructuralFeature structuralFeature = changeStructuralFeatureEvent.getStructuralFeature(); - if (structuralFeature != null) { - EList<Classifier> featuringClassifiers = structuralFeature.getFeaturingClassifiers(); - if (featuringClassifiers == null || featuringClassifiers.size() != 1) { - return context.createFailureStatus(context.getTarget()); - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/DirectedFeatureOnlyBehavioralModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/DirectedFeatureOnlyBehavioralModelConstraint.java deleted file mode 100644 index 66711a5..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/DirectedFeatureOnlyBehavioralModelConstraint.java +++ /dev/null
@@ -1,54 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.portsandflows; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.portsandflows.DirectedFeature; -import org.eclipse.papyrus.sysml14.portsandflows.FlowProperty; -import org.eclipse.uml2.uml.BehavioralFeature; -import org.eclipse.uml2.uml.Feature; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * 9.3.2.4 DirectedFeature [1] DirectedFeature can only be applied to behavioral - * features, or to properties that do not have FlowProperty applied, including - * on subsetted or redefined features. - */ -public class DirectedFeatureOnlyBehavioralModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - DirectedFeature directedFeature = (DirectedFeature) context.getTarget(); - Feature feature = directedFeature.getBase_Feature(); - if (feature != null) { - if (!(feature instanceof BehavioralFeature || feature instanceof Property)) { - return context.createFailureStatus(context.getTarget()); - } - if (feature instanceof Property && UMLUtil.getStereotypeApplication(feature, FlowProperty.class) != null) { - return context.createFailureStatus(context.getTarget()); - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/FlowPropertyTypedByModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/FlowPropertyTypedByModelConstraint.java deleted file mode 100644 index 2b84e56..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/FlowPropertyTypedByModelConstraint.java +++ /dev/null
@@ -1,56 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.portsandflows; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.Block; -import org.eclipse.papyrus.sysml14.blocks.ValueType; -import org.eclipse.papyrus.sysml14.portsandflows.FlowProperty; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Signal; -import org.eclipse.uml2.uml.Type; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * 9.3.2.5 FeatureDirection [1] A FlowProperty is typed by a ValueType, Block, or Signal. - * - */ -public class FlowPropertyTypedByModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - FlowProperty flowProperty = (FlowProperty) context.getTarget(); - Property property = flowProperty.getBase_Property(); - if (property != null) { - Type type = property.getType(); - if (type != null) { - if (UMLUtil.getStereotypeApplication(type, ValueType.class) == null - && UMLUtil.getStereotypeApplication(type, Block.class) == null - && !(type instanceof Signal)) { - return context.createFailureStatus(context.getTarget()); - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/FullPortNotProxyPortModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/FullPortNotProxyPortModelConstraint.java deleted file mode 100644 index ca14eda..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/FullPortNotProxyPortModelConstraint.java +++ /dev/null
@@ -1,51 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.portsandflows; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.portsandflows.FullPort; -import org.eclipse.papyrus.sysml14.portsandflows.ProxyPort; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * - * 9.3.2.8 FullPort (SysML 1.4) Constraints [1] Full ports cannot also be proxy - * ports. This applies even if some of the stereotypes are on subsetted or - * redefined ports. - * - */ -public class FullPortNotProxyPortModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - FullPort fullPort = (FullPort) context.getTarget(); - Port port = fullPort.getBase_Port(); - if (port != null) { - if (UMLUtil.getStereotypeApplication(port, ProxyPort.class) != null) { - return context.createFailureStatus(context.getTarget()); - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/InterfaceBlockNoBehaviorConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/InterfaceBlockNoBehaviorConstraint.java deleted file mode 100644 index 5f11746..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/InterfaceBlockNoBehaviorConstraint.java +++ /dev/null
@@ -1,53 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.portsandflows; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.portsandflows.InterfaceBlock; -import org.eclipse.uml2.uml.Behavior; -import org.eclipse.uml2.uml.Class; - -/** - * - * 9.3.2.9 InterfaceBlock [1] Interface blocks cannot own or inherit behaviors, - * have classifier behaviors, or methods for their behavioral features - * - */ -public class InterfaceBlockNoBehaviorConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - InterfaceBlock interfaceBlock = (InterfaceBlock) context.getTarget(); - Class clazz = interfaceBlock.getBase_Class(); - if (clazz != null) { - if (clazz.getClassifierBehavior() != null) { - return context.createFailureStatus(context.getTarget()); - } - EList<Behavior> ownedBehaviors = clazz.getOwnedBehaviors(); - if (ownedBehaviors != null && !ownedBehaviors.isEmpty()) { - return context.createFailureStatus(context.getTarget()); - } - } - return context.createSuccessStatus(); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/InterfaceBlockNoCompositePropertyModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/InterfaceBlockNoCompositePropertyModelConstraint.java deleted file mode 100644 index c4b834e..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/InterfaceBlockNoCompositePropertyModelConstraint.java +++ /dev/null
@@ -1,53 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.portsandflows; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.portsandflows.InterfaceBlock; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.Property; - -/** - * - * 9.3.2.9 [2] Interface blocks cannot have composite properties that are not ports. - * - */ -public class InterfaceBlockNoCompositePropertyModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - InterfaceBlock interfaceBlock = (InterfaceBlock) context.getTarget(); - Class clazz = interfaceBlock.getBase_Class(); - if (clazz != null) { - EList<Property> allAttributes = clazz.getAllAttributes(); - for (Property property : allAttributes) { - if (!(property instanceof Port) && property.isComposite()) { - return context.createFailureStatus(context.getTarget()); - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/InterfaceBlockPortTypeModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/InterfaceBlockPortTypeModelConstraint.java deleted file mode 100644 index 49cc40f..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/InterfaceBlockPortTypeModelConstraint.java +++ /dev/null
@@ -1,60 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.portsandflows; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.portsandflows.InterfaceBlock; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * - * 9.3.2.9 InterfaceBlock [3] Ports owned by interface blocks can only be typed - * by interface blocks - * - */ -public class InterfaceBlockPortTypeModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - InterfaceBlock interfaceBlock = (InterfaceBlock) context.getTarget(); - Class clazz = interfaceBlock.getBase_Class(); - if (clazz != null) { - EList<Property> allAttributes = clazz.getAllAttributes(); - for (Property property : allAttributes) { - if (property instanceof Port) { - Port port = (Port) property; - Type type = port.getType(); - if (type != null && UMLUtil.getStereotypeApplication(type, InterfaceBlock.class) == null) { - return context.createFailureStatus(context.getTarget()); - } - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/InvocationOnNestedPortActionOnlyInvocationActionModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/InvocationOnNestedPortActionOnlyInvocationActionModelConstraint.java deleted file mode 100644 index 567b51a..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/InvocationOnNestedPortActionOnlyInvocationActionModelConstraint.java +++ /dev/null
@@ -1,45 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.portsandflows; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.portsandflows.InvocationOnNestedPortAction; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.InvocationAction; - -/** - * 9.3.2.10 InvocationOnNestedPortAction [5] InvocationOnNestedPortAction may - * only be applied to invocation actions. - */ -public class InvocationOnNestedPortActionOnlyInvocationActionModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - InvocationOnNestedPortAction invocationOnNestedPortAction = (InvocationOnNestedPortAction) context.getTarget(); - Element element = invocationOnNestedPortAction.getBase_Element(); - if (element != null && !(element instanceof InvocationAction)) { - return context.createFailureStatus(context.getTarget()); - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/InvocationOnNestedPortActionRequiredOnPortModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/InvocationOnNestedPortActionRequiredOnPortModelConstraint.java deleted file mode 100644 index 34bcd87..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/InvocationOnNestedPortActionRequiredOnPortModelConstraint.java +++ /dev/null
@@ -1,46 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.portsandflows; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.portsandflows.InvocationOnNestedPortAction; -import org.eclipse.uml2.uml.InvocationAction; - -/** - * 9.3.2.10 InvocationOnNestedPortAction [1] The onPort property of an - * invocation action must have a value when this stereotype is applied. - */ -public class InvocationOnNestedPortActionRequiredOnPortModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - InvocationOnNestedPortAction invocationOnNestedPortAction = (InvocationOnNestedPortAction) context.getTarget(); - InvocationAction invocationAction = invocationOnNestedPortAction.getBase_InvocationAction(); - if (invocationAction != null) { - if (invocationAction.getOnPort() == null) { - return context.createFailureStatus(context.getTarget()); - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/ItemFlowSamePropertyNameModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/ItemFlowSamePropertyNameModelConstraint.java deleted file mode 100644 index c9cbbcd..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/ItemFlowSamePropertyNameModelConstraint.java +++ /dev/null
@@ -1,51 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.portsandflows; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.portsandflows.ItemFlow; -import org.eclipse.uml2.uml.InformationFlow; -import org.eclipse.uml2.uml.Property; - -/** - * 9.3.2.11 ItemFlow [6] If an ItemFlow has an itemProperty, its name should be - * the same as the name of the item flow. - */ -public class ItemFlowSamePropertyNameModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - ItemFlow itemFlow = (ItemFlow) context.getTarget(); - Property itemProperty = itemFlow.getItemProperty(); - if (itemProperty != null) { - InformationFlow informationFlow = itemFlow.getBase_InformationFlow(); - if (informationFlow != null){ - String name = informationFlow.getName(); - if (name != null && !name.equals(itemProperty.getName())){ - return context.createFailureStatus(context.getTarget()); - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/ItemFlowSamePropertyTypedByModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/ItemFlowSamePropertyTypedByModelConstraint.java deleted file mode 100644 index 0c346b6..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/ItemFlowSamePropertyTypedByModelConstraint.java +++ /dev/null
@@ -1,56 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.portsandflows; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.blocks.Block; -import org.eclipse.papyrus.sysml14.blocks.ValueType; -import org.eclipse.papyrus.sysml14.portsandflows.ItemFlow; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Signal; -import org.eclipse.uml2.uml.Type; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * 9.3.2.11 ItemFlow [2] An ItemFlow itemProperty is typed by a ValueType, - * Block, or Signal. - */ -public class ItemFlowSamePropertyTypedByModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - ItemFlow itemFlow = (ItemFlow) context.getTarget(); - Property itemProperty = itemFlow.getItemProperty(); - if (itemProperty != null) { - Type type = itemProperty.getType(); - if (type != null) { - if (UMLUtil.getStereotypeApplication(type, ValueType.class) != null - && UMLUtil.getStereotypeApplication(type, Block.class) != null - && UMLUtil.getStereotypeApplication(type, Signal.class) != null) { - return context.createFailureStatus(context.getTarget()); - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/ProxyPortForceInnerProxyPortModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/ProxyPortForceInnerProxyPortModelConstraint.java deleted file mode 100644 index f5a9adf..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/ProxyPortForceInnerProxyPortModelConstraint.java +++ /dev/null
@@ -1,62 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.portsandflows; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.portsandflows.ProxyPort; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * - *9.3.2.12 ProxyPort - *[3] Ports owned by the type of a proxy port must be proxy ports - * - */ -public class ProxyPortForceInnerProxyPortModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - ProxyPort proxyPort = (ProxyPort) context.getTarget(); - Port port = proxyPort.getBase_Port(); - if (port != null) { - Type type = port.getType(); - if (type instanceof org.eclipse.uml2.uml.Class) { // Class due to constraint 9.3.2.12 ProxyPort [2] - org.eclipse.uml2.uml.Class clazz = (org.eclipse.uml2.uml.Class) type; - EList<Property> ownedAttributes = clazz.getOwnedAttributes(); - for (Property property : ownedAttributes) { - if (property instanceof Port) { - Port innerport = (Port) property; - if (UMLUtil.getStereotypeApplication(innerport, ProxyPort.class) == null) { - return context.createFailureStatus(context.getTarget()); - } - } - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/ProxyPortNotFullPortModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/ProxyPortNotFullPortModelConstraint.java deleted file mode 100644 index 5cedb51..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/ProxyPortNotFullPortModelConstraint.java +++ /dev/null
@@ -1,50 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.portsandflows; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.portsandflows.FullPort; -import org.eclipse.papyrus.sysml14.portsandflows.ProxyPort; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * - *9.3.2.12 ProxyPort - * [1] Proxy ports cannot also be full ports. This applies even if some of the stereotypes are on subsetted or redefined ports.. - * - */ -public class ProxyPortNotFullPortModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - ProxyPort proxyPort = (ProxyPort) context.getTarget(); - Port port = proxyPort.getBase_Port(); - if (port != null) { - if (UMLUtil.getStereotypeApplication(port, FullPort.class) != null) { - return context.createFailureStatus(context.getTarget()); - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/ProxyPortTypedByInterfaceBlockModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/ProxyPortTypedByInterfaceBlockModelConstraint.java deleted file mode 100644 index 042e130..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/portsandflows/ProxyPortTypedByInterfaceBlockModelConstraint.java +++ /dev/null
@@ -1,52 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.portsandflows; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.portsandflows.InterfaceBlock; -import org.eclipse.papyrus.sysml14.portsandflows.ProxyPort; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.Type; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * - *9.3.2.12 ProxyPort - * [2] Proxy ports can only be typed by interface blocks - * - */ -public class ProxyPortTypedByInterfaceBlockModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - ProxyPort proxyPort = (ProxyPort) context.getTarget(); - Port port = proxyPort.getBase_Port(); - if (port != null) { - Type type = port.getType(); - if (type != null && UMLUtil.getStereotypeApplication(type, InterfaceBlock.class) == null) { - return context.createFailureStatus(context.getTarget()); - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/CopyBetweenRequirementsModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/CopyBetweenRequirementsModelConstraint.java deleted file mode 100644 index 9855269..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/CopyBetweenRequirementsModelConstraint.java +++ /dev/null
@@ -1,58 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.requirements; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.requirements.Copy; -import org.eclipse.papyrus.sysml14.requirements.Requirement; -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.NamedElement; -import org.eclipse.uml2.uml.util.UMLUtil; -/** - * - * 16.3.2.1 Copy (SysML 1.4) - * Constraints - * [1]A Copy dependency may only be created between two classes that have the “requirement” - * stereotype, or a subtype of the “requirement” stereotype applied. - * - */ -public class CopyBetweenRequirementsModelConstraint extends AbstractModelConstraint { - - /* (non-Javadoc) - * @see org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse.emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - Copy copy = (Copy) context.getTarget(); - Abstraction abstraction = copy.getBase_Abstraction(); - if (abstraction != null){ - EList<NamedElement> suppliers = abstraction.getSuppliers(); - if (suppliers != null && !suppliers.isEmpty()){ - if(UMLUtil.getStereotypeApplication(suppliers.get(0), Requirement.class)==null){ - return context.createFailureStatus(context.getTarget()); - } - } - EList<NamedElement> clients = abstraction.getClients(); - if (clients != null && !clients.isEmpty()){ - if(UMLUtil.getStereotypeApplication(clients.get(0), Requirement.class)==null){ - return context.createFailureStatus(context.getTarget()); - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/CopyReadOnlyModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/CopyReadOnlyModelConstraint.java deleted file mode 100644 index f6d1fa9..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/CopyReadOnlyModelConstraint.java +++ /dev/null
@@ -1,56 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.requirements; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.requirements.Copy; -import org.eclipse.papyrus.sysml14.requirements.Requirement; -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.NamedElement; -import org.eclipse.uml2.uml.util.UMLUtil; -/** - * - * 16.3.2.1 Copy (SysML 1.4) - * Constraints - * [2]The text property of the client requirement is constrained to be a read-only copy of the text property of the supplier requirement. - * - * The rule implementation will only check that get Text is returning the same result for both requirement - */ - -public class CopyReadOnlyModelConstraint extends AbstractModelConstraint { - - /* (non-Javadoc) - * @see org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse.emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - Copy copy = (Copy) context.getTarget(); - Abstraction abstraction = copy.getBase_Abstraction(); - if (abstraction != null){ - EList<NamedElement> suppliers = abstraction.getSuppliers(); - EList<NamedElement> clients = abstraction.getClients(); - if (suppliers != null && !suppliers.isEmpty()&&clients != null && !clients.isEmpty()){ - Requirement supplierRequirement = UMLUtil.getStereotypeApplication(suppliers.get(0), Requirement.class); - Requirement clientRequirement = UMLUtil.getStereotypeApplication(clients.get(0), Requirement.class); - if(supplierRequirement!=null && clientRequirement!=null && !supplierRequirement.getText().equals(clientRequirement.getText())){ - return context.createFailureStatus(context.getTarget()); - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/DeriveReqtClientModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/DeriveReqtClientModelConstraint.java deleted file mode 100644 index a55a434..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/DeriveReqtClientModelConstraint.java +++ /dev/null
@@ -1,50 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.requirements; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.requirements.DeriveReqt; -import org.eclipse.papyrus.sysml14.requirements.Requirement; -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.NamedElement; -import org.eclipse.uml2.uml.util.UMLUtil; -/** - * 16.3.2.2 DeriveReqt (SysML 1.4) - * Constraints - * [2] The client must be an element stereotyped by «requirement» or one of «requirement» subtypes. - */ -//TODO : I reported an issue since the constraint is not "correct" in SysML 1.4 http://issues.omg.org/browse/SYSMLR-240 -public class DeriveReqtClientModelConstraint extends AbstractModelConstraint { - - /* (non-Javadoc) - * @see org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse.emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - DeriveReqt deriveReqt = (DeriveReqt) context.getTarget(); - Abstraction abstraction = deriveReqt.getBase_Abstraction(); - if (abstraction != null){ - EList<NamedElement> clients = abstraction.getClients(); - if (clients != null && !clients.isEmpty()){ - if(UMLUtil.getStereotypeApplication(clients.get(0), Requirement.class)==null){ - return context.createFailureStatus(context.getTarget()); - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/DeriveReqtSupplierModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/DeriveReqtSupplierModelConstraint.java deleted file mode 100644 index 53b4d84..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/DeriveReqtSupplierModelConstraint.java +++ /dev/null
@@ -1,52 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.requirements; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.requirements.DeriveReqt; -import org.eclipse.papyrus.sysml14.requirements.Requirement; -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.NamedElement; -import org.eclipse.uml2.uml.util.UMLUtil; -/** - * - * 16.3.2.2 DeriveReqt (SysML 1.4) - * Constraints - * [1] The supplier must be an element stereotyped by «requirement» or one of «requirement» subtypes. - * - */ -// TODO : I reported an issue since the constraint is not "correct" in SysML 1.4 http://issues.omg.org/browse/SYSMLR-240 -public class DeriveReqtSupplierModelConstraint extends AbstractModelConstraint { - - /* (non-Javadoc) - * @see org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse.emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - DeriveReqt deriveReqt = (DeriveReqt) context.getTarget(); - Abstraction abstraction = deriveReqt.getBase_Abstraction(); - if (abstraction != null){ - EList<NamedElement> suppliers = abstraction.getSuppliers(); - if (suppliers != null && !suppliers.isEmpty()){ - if(UMLUtil.getStereotypeApplication(suppliers.get(0), Requirement.class)==null){ - return context.createFailureStatus(context.getTarget()); - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/RefineDependencyModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/RefineDependencyModelConstraint.java deleted file mode 100644 index b485ddf..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/RefineDependencyModelConstraint.java +++ /dev/null
@@ -1,43 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.requirements; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.requirements.Refine; -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.Dependency; -import org.eclipse.uml2.uml.DirectedRelationship; -/** - * - * 16.3.2.3 Refine (SysML 1.4) - * [1]The Refine stereotype may only be applied to dependencies. - * - */ -public class RefineDependencyModelConstraint extends AbstractModelConstraint { - - /* (non-Javadoc) - * @see org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse.emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - Refine refine = (Refine) context.getTarget(); - Abstraction abstraction = refine.getBase_Abstraction(); - DirectedRelationship directedRelationship = refine.getBase_DirectedRelationship(); - if (!(abstraction instanceof Dependency && directedRelationship instanceof Dependency)) { - return context.createFailureStatus(context.getTarget()); - } - return context.createSuccessStatus(); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/RefineOneClientSupplierModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/RefineOneClientSupplierModelConstraint.java deleted file mode 100644 index 5ae2c0b..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/RefineOneClientSupplierModelConstraint.java +++ /dev/null
@@ -1,49 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.requirements; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.requirements.Refine; -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.NamedElement; -/** - * - * 16.3.2.3 Refine (SysML 1.4) - * [2]Dependencies with a Refine stereotype or one of its specializations applied must have exactly one client and one supplier. - * - */ -public class RefineOneClientSupplierModelConstraint extends AbstractModelConstraint { - - - /* (non-Javadoc) - * @see org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse.emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - Refine refine = (Refine) context.getTarget(); - Abstraction abstraction = refine.getBase_Abstraction(); - if (abstraction == null) { - return context.createFailureStatus(context.getTarget()); - } - EList<NamedElement> clients = abstraction.getClients(); - EList<NamedElement> suppliers = abstraction.getSuppliers(); - if (clients == null || clients.size()!= 1 || suppliers == null || suppliers.size() != 1) { - return context.createFailureStatus(context.getTarget()); - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/RequirementNestedRequirementModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/RequirementNestedRequirementModelConstraint.java deleted file mode 100644 index 2dbb918..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/RequirementNestedRequirementModelConstraint.java +++ /dev/null
@@ -1,54 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.requirements; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.requirements.Requirement; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * - * 16.3.2.4 Requirement [5] A nested classifier of a class stereotyped by - * «requirement» must also be stereotyped by «requirement». - * - */ -public class RequirementNestedRequirementModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - Requirement requirement = (Requirement) context.getTarget(); - Class clazz = requirement.getBase_Class(); - if (clazz != null) { - EList<Classifier> nestedClassifiers = clazz.getNestedClassifiers(); - for (Classifier classifier : nestedClassifiers) { - if (UMLUtil.getStereotypeApplication(classifier, Requirement.class) == null) { - return context.createFailureStatus(context.getTarget()); - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/RequirementNoAssociationModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/RequirementNoAssociationModelConstraint.java deleted file mode 100644 index fac4c5e..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/RequirementNoAssociationModelConstraint.java +++ /dev/null
@@ -1,51 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.requirements; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.requirements.Requirement; -import org.eclipse.uml2.uml.Association; -import org.eclipse.uml2.uml.Class; - -/** - * - * 16.3.2.4 Requirement [3] Classes stereotyped by «requirement» may not - * participate in associations. - * - */ -public class RequirementNoAssociationModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - Requirement requirement = (Requirement) context.getTarget(); - Class clazz = requirement.getBase_Class(); - if (clazz != null) { - EList<Association> associations = clazz.getAssociations(); - if (associations != null && !associations.isEmpty()) { - return context.createFailureStatus(context.getTarget()); - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/RequirementNoGeneralizationModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/RequirementNoGeneralizationModelConstraint.java deleted file mode 100644 index 529c104..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/RequirementNoGeneralizationModelConstraint.java +++ /dev/null
@@ -1,51 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.requirements; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.requirements.Requirement; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Generalization; - -/** - * - * 16.3.2.4 Requirement [4] Classes stereotyped by «requirement» may not - * participate in generalizations. - * - */ -public class RequirementNoGeneralizationModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - Requirement requirement = (Requirement) context.getTarget(); - Class clazz = requirement.getBase_Class(); - if (clazz != null) { - EList<Generalization> generalizations = clazz.getGeneralizations(); - if (generalizations != null && !generalizations.isEmpty()) { - return context.createFailureStatus(context.getTarget()); - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/RequirementNotTypeModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/RequirementNotTypeModelConstraint.java deleted file mode 100644 index 37ccd79..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/RequirementNotTypeModelConstraint.java +++ /dev/null
@@ -1,55 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.requirements; - -import java.util.Set; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.transaction.util.TransactionUtil; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.gmf.runtime.emf.core.util.CrossReferenceAdapter; -import org.eclipse.papyrus.sysml14.requirements.Requirement; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.UMLPackage; - -/** - * 16.3.2.4 Requirement [6] Classes stereotyped by «requirement» may not be used - * to type any other model element. - */ -public class RequirementNotTypeModelConstraint extends AbstractModelConstraint { - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse. - * emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - Requirement requirement = (Requirement) context.getTarget(); - Class clazz = requirement.getBase_Class(); - if (clazz != null) { - CrossReferenceAdapter crossReferenceAdapter = CrossReferenceAdapter - .getCrossReferenceAdapter(TransactionUtil.getEditingDomain(clazz).getResourceSet()); - Set inverseReferencers = crossReferenceAdapter.getInverseReferencers(clazz, - UMLPackage.eINSTANCE.getTypedElement_Type(), null); - if (inverseReferencers != null && !inverseReferencers.isEmpty()) { - return context.createFailureStatus(context.getTarget()); - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/SatisfySupplierModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/SatisfySupplierModelConstraint.java deleted file mode 100644 index 5a8868d..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/SatisfySupplierModelConstraint.java +++ /dev/null
@@ -1,51 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.requirements; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.requirements.Satisfy; -import org.eclipse.papyrus.sysml14.requirements.Requirement; -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.NamedElement; -import org.eclipse.uml2.uml.util.UMLUtil; -/** - * - * 16.3.2.2 Satisfy (SysML 1.4) - * Constraints - * [1] The supplier must be an element stereotyped by «requirement» or one of «requirement» subtypes. - * - */ -public class SatisfySupplierModelConstraint extends AbstractModelConstraint { - - /* (non-Javadoc) - * @see org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse.emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - Satisfy satisfy = (Satisfy) context.getTarget(); - Abstraction abstraction = satisfy.getBase_Abstraction(); - if (abstraction != null){ - EList<NamedElement> suppliers = abstraction.getSuppliers(); - if (suppliers != null && !suppliers.isEmpty()){ - if(UMLUtil.getStereotypeApplication(suppliers.get(0), Requirement.class)==null){ - return context.createFailureStatus(context.getTarget()); - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/TestCaseParamVerdictKindModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/TestCaseParamVerdictKindModelConstraint.java deleted file mode 100644 index 38f01fe..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/TestCaseParamVerdictKindModelConstraint.java +++ /dev/null
@@ -1,57 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.requirements; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.requirements.TestCase; -import org.eclipse.uml2.uml.Operation; -import org.eclipse.uml2.uml.Parameter; -import org.eclipse.uml2.uml.ParameterDirectionKind; -import org.eclipse.uml2.uml.Type; -/** - * - * 16.3.2.5 TestCase - * Constraints - * [1]The type of return parameter of the stereotyped model element must be VerdictKind. - * (note this is consistent with the UML Testing Profile). - * - */ -public class TestCaseParamVerdictKindModelConstraint extends AbstractModelConstraint { - - /* (non-Javadoc) - * @see org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse.emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - TestCase testCase = (TestCase) context.getTarget(); - Operation operation = testCase.getBase_Operation(); - if (operation != null){ - EList<Parameter> ownedParameters = operation.getOwnedParameters(); - if (ownedParameters != null && !ownedParameters.isEmpty()){ - for (Parameter parameter : ownedParameters) { - if (ParameterDirectionKind.RETURN_LITERAL.equals(parameter.getDirection())) { - Type type = parameter.getType(); - if (type == null || !"VerdictKind".equals(type.getName())) { // FIXME get the value from the correct constant - return context.createFailureStatus(context.getTarget()); - } - } - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/TraceDependencyModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/TraceDependencyModelConstraint.java deleted file mode 100644 index b6f1bb5..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/TraceDependencyModelConstraint.java +++ /dev/null
@@ -1,43 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.requirements; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.requirements.Trace; -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.Dependency; -import org.eclipse.uml2.uml.DirectedRelationship; -/** - * - * 16.3.2.7 Trace (SysML 1.4) - * [1]The Trace stereotype may only be applied to dependencies. - * - */ -public class TraceDependencyModelConstraint extends AbstractModelConstraint { - - /* (non-Javadoc) - * @see org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse.emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - Trace trace = (Trace) context.getTarget(); - Abstraction abstraction = trace.getBase_Abstraction(); - DirectedRelationship directedRelationship = trace.getBase_DirectedRelationship(); - if (!(abstraction instanceof Dependency && directedRelationship instanceof Dependency)) { - return context.createFailureStatus(context.getTarget()); - } - return context.createSuccessStatus(); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/TraceOneClientSupplierModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/TraceOneClientSupplierModelConstraint.java deleted file mode 100644 index 9550960..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/TraceOneClientSupplierModelConstraint.java +++ /dev/null
@@ -1,49 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.requirements; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.requirements.Trace; -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.NamedElement; -/** - * - * 16.3.2.6 Trace (SysML 1.4) - * [1]The supplier must be an element stereotyped by «requirement» or one of «requirement» subtypes. - * - */ -public class TraceOneClientSupplierModelConstraint extends AbstractModelConstraint { - - - /* (non-Javadoc) - * @see org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse.emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - Trace trace = (Trace) context.getTarget(); - Abstraction abstraction = trace.getBase_Abstraction(); - if (abstraction == null) { - return context.createFailureStatus(context.getTarget()); - } - EList<NamedElement> clients = abstraction.getClients(); - EList<NamedElement> suppliers = abstraction.getSuppliers(); - if (clients == null || clients.size()!= 1 || suppliers == null || suppliers.size() != 1) { - return context.createFailureStatus(context.getTarget()); - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/VerifySupplierModelConstraint.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/VerifySupplierModelConstraint.java deleted file mode 100644 index 35644fd..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/rules/requirements/VerifySupplierModelConstraint.java +++ /dev/null
@@ -1,51 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.rules.requirements; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.validation.AbstractModelConstraint; -import org.eclipse.emf.validation.IValidationContext; -import org.eclipse.papyrus.sysml14.requirements.Verify; -import org.eclipse.papyrus.sysml14.requirements.Requirement; -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.NamedElement; -import org.eclipse.uml2.uml.util.UMLUtil; -/** - * - * 16.3.2.8 Verify (SysML 1.4) - * Constraints - * [1]The supplier must be an element stereotyped by «requirement» or one of «requirement» subtypes. - * - */ -public class VerifySupplierModelConstraint extends AbstractModelConstraint { - - /* (non-Javadoc) - * @see org.eclipse.emf.validation.AbstractModelConstraint#validate(org.eclipse.emf.validation.IValidationContext) - */ - @Override - public IStatus validate(IValidationContext context) { - Verify verify = (Verify) context.getTarget(); - Abstraction abstraction = verify.getBase_Abstraction(); - if (abstraction != null){ - EList<NamedElement> suppliers = abstraction.getSuppliers(); - if (suppliers != null && !suppliers.isEmpty()){ - if(UMLUtil.getStereotypeApplication(suppliers.get(0), Requirement.class)==null){ - return context.createFailureStatus(context.getTarget()); - } - } - } - return context.createSuccessStatus(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/AcceptChangeStructuralFeatureEventActionSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/AcceptChangeStructuralFeatureEventActionSelector.java deleted file mode 100644 index e3b3320..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/AcceptChangeStructuralFeatureEventActionSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.portsandflows.AcceptChangeStructuralFeatureEventAction; - -public class AcceptChangeStructuralFeatureEventActionSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof AcceptChangeStructuralFeatureEventAction; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/AllocateActivityPartitionSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/AllocateActivityPartitionSelector.java deleted file mode 100644 index 04b047f..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/AllocateActivityPartitionSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.allocations.AllocateActivityPartition; - -public class AllocateActivityPartitionSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof AllocateActivityPartition; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/AllocateSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/AllocateSelector.java deleted file mode 100644 index 9387ef9..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/AllocateSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.allocations.Allocate; - -public class AllocateSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof Allocate; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/BindingConnectorSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/BindingConnectorSelector.java deleted file mode 100644 index 469cc2d..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/BindingConnectorSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.blocks.BindingConnector; - -public class BindingConnectorSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof BindingConnector; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/BlockSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/BlockSelector.java deleted file mode 100644 index 7c58476..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/BlockSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.blocks.Block; - -public class BlockSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof Block; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/BoundReferenceSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/BoundReferenceSelector.java deleted file mode 100644 index 4c9c3aa..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/BoundReferenceSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.blocks.BoundReference; - -public class BoundReferenceSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof BoundReference; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ChangeStructuralFeatureEventSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ChangeStructuralFeatureEventSelector.java deleted file mode 100644 index c5cbb89..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ChangeStructuralFeatureEventSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.portsandflows.ChangeStructuralFeatureEvent; - -public class ChangeStructuralFeatureEventSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof ChangeStructuralFeatureEvent; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ClassifierBehaviorPropertySelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ClassifierBehaviorPropertySelector.java deleted file mode 100644 index 80657a1..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ClassifierBehaviorPropertySelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.blocks.ClassifierBehaviorProperty; - -public class ClassifierBehaviorPropertySelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof ClassifierBehaviorProperty; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ConformSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ConformSelector.java deleted file mode 100644 index b648693..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ConformSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.modelelements.Conform; - -public class ConformSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof Conform; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ConnectorPropertySelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ConnectorPropertySelector.java deleted file mode 100644 index bdf1557..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ConnectorPropertySelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.blocks.ConnectorProperty; - -public class ConnectorPropertySelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof ConnectorProperty; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/CopySelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/CopySelector.java deleted file mode 100644 index cd290a2..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/CopySelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.requirements.Copy; - -public class CopySelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof Copy; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/DeriveReqtSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/DeriveReqtSelector.java deleted file mode 100644 index 4c13126..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/DeriveReqtSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.requirements.DeriveReqt; - -public class DeriveReqtSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof DeriveReqt; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/DirectedFeatureSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/DirectedFeatureSelector.java deleted file mode 100644 index efaf0b3..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/DirectedFeatureSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.portsandflows.DirectedFeature; - -public class DirectedFeatureSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof DirectedFeature; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/DirectedRelationshipPropertyPathSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/DirectedRelationshipPropertyPathSelector.java deleted file mode 100644 index 06cc360..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/DirectedRelationshipPropertyPathSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath; - -public class DirectedRelationshipPropertyPathSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof DirectedRelationshipPropertyPath; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/DiscreteSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/DiscreteSelector.java deleted file mode 100644 index 82e4a40..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/DiscreteSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.activities.Discrete; - -public class DiscreteSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof Discrete; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/DistributedPropertySelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/DistributedPropertySelector.java deleted file mode 100644 index 1ccf598..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/DistributedPropertySelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.blocks.DistributedProperty; - -public class DistributedPropertySelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof DistributedProperty; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ElementPropertyPathSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ElementPropertyPathSelector.java deleted file mode 100644 index aead930..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ElementPropertyPathSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.blocks.ElementPropertyPath; - -public class ElementPropertyPathSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof ElementPropertyPath; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/EndPathMultiplicitySelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/EndPathMultiplicitySelector.java deleted file mode 100644 index 772e635..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/EndPathMultiplicitySelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.blocks.EndPathMultiplicity; - -public class EndPathMultiplicitySelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof EndPathMultiplicity; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ExposeSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ExposeSelector.java deleted file mode 100644 index 8d9b073..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ExposeSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.modelelements.Expose; - -public class ExposeSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof Expose; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/FlowPropertySelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/FlowPropertySelector.java deleted file mode 100644 index eb1514b..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/FlowPropertySelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.portsandflows.FlowProperty; - -public class FlowPropertySelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof FlowProperty; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/FullPortSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/FullPortSelector.java deleted file mode 100644 index 1bd30f3..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/FullPortSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.portsandflows.FullPort; - -public class FullPortSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof FullPort; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/InterfaceBlockSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/InterfaceBlockSelector.java deleted file mode 100644 index 70cad83..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/InterfaceBlockSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.portsandflows.InterfaceBlock; - -public class InterfaceBlockSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof InterfaceBlock; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/InvocationOnNestedPortActionSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/InvocationOnNestedPortActionSelector.java deleted file mode 100644 index 03ee80d..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/InvocationOnNestedPortActionSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.portsandflows.InvocationOnNestedPortAction; - -public class InvocationOnNestedPortActionSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof InvocationOnNestedPortAction; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ItemFlowSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ItemFlowSelector.java deleted file mode 100644 index fa7ed02..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ItemFlowSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.portsandflows.ItemFlow; - -public class ItemFlowSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof ItemFlow; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/NestedConnectorEndSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/NestedConnectorEndSelector.java deleted file mode 100644 index ab681de..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/NestedConnectorEndSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.blocks.NestedConnectorEnd; - -public class NestedConnectorEndSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof NestedConnectorEnd; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/NoBufferSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/NoBufferSelector.java deleted file mode 100644 index 85b229d..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/NoBufferSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.activities.NoBuffer; - -public class NoBufferSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof NoBuffer; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/OptionalSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/OptionalSelector.java deleted file mode 100644 index f42f692..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/OptionalSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.activities.Optional; - -public class OptionalSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof Optional; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/OverwriteSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/OverwriteSelector.java deleted file mode 100644 index 622311a..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/OverwriteSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.activities.Overwrite; - -public class OverwriteSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof Overwrite; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ParticipantPropertySelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ParticipantPropertySelector.java deleted file mode 100644 index eb2c657..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ParticipantPropertySelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.blocks.ParticipantProperty; - -public class ParticipantPropertySelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof ParticipantProperty; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ProbabilitySelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ProbabilitySelector.java deleted file mode 100644 index 0498404..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ProbabilitySelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.activities.Probability; - -public class ProbabilitySelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof Probability; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/PropertySpecificTypeSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/PropertySpecificTypeSelector.java deleted file mode 100644 index d502d07..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/PropertySpecificTypeSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.blocks.PropertySpecificType; - -public class PropertySpecificTypeSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof PropertySpecificType; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ProxyPortSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ProxyPortSelector.java deleted file mode 100644 index a328592..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ProxyPortSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.portsandflows.ProxyPort; - -public class ProxyPortSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof ProxyPort; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/RateSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/RateSelector.java deleted file mode 100644 index 9ea6b29..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/RateSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.activities.Rate; - -public class RateSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof Rate; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/RefineSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/RefineSelector.java deleted file mode 100644 index 11cfd4c..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/RefineSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.requirements.Refine; - -public class RefineSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof Refine; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/RequirementSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/RequirementSelector.java deleted file mode 100644 index c86e782..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/RequirementSelector.java +++ /dev/null
@@ -1,25 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.requirements.Requirement; - -public class RequirementSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof Requirement; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/SatisfySelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/SatisfySelector.java deleted file mode 100644 index 4f60e8d..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/SatisfySelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.requirements.Satisfy; - -public class SatisfySelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof Satisfy; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/TestCaseSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/TestCaseSelector.java deleted file mode 100644 index 59630da..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/TestCaseSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.requirements.TestCase; - -public class TestCaseSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof TestCase; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/TraceSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/TraceSelector.java deleted file mode 100644 index e4a6f0a..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/TraceSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.requirements.Trace; - -public class TraceSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof Trace; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/TriggerOnNestedPortSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/TriggerOnNestedPortSelector.java deleted file mode 100644 index c953490..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/TriggerOnNestedPortSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.portsandflows.TriggerOnNestedPort; - -public class TriggerOnNestedPortSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof TriggerOnNestedPort; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/TrueSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/TrueSelector.java deleted file mode 100644 index 26e0e42..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/TrueSelector.java +++ /dev/null
@@ -1,30 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; - - - -/** - * Temporary solution to execute validation on uml context - * @deprecated - */ -@Deprecated // to remove once Bug 507734 is solved -public class TrueSelector implements IClientSelector { - - @Override - public boolean selects(Object object) { - return true; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ValueTypeSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ValueTypeSelector.java deleted file mode 100644 index 67c487d..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ValueTypeSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.blocks.ValueType; - -public class ValueTypeSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof ValueType; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/VerifySelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/VerifySelector.java deleted file mode 100644 index f00cbb2..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/VerifySelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.requirements.Verify; - -public class VerifySelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof Verify; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ViewSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ViewSelector.java deleted file mode 100644 index fd12ab8..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ViewSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.modelelements.View; - -public class ViewSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof View; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ViewpointSelector.java b/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ViewpointSelector.java deleted file mode 100644 index 805b3ab..0000000 --- a/core/org.eclipse.papyrus.sysml14.validation/src/org/eclipse/papyrus/sysml14/validation/selectors/ViewpointSelector.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.validation.selectors; - -import org.eclipse.emf.validation.model.IClientSelector; -import org.eclipse.papyrus.sysml14.modelelements.Viewpoint; - -public class ViewpointSelector implements IClientSelector { - - @Override - public boolean selects(Object stereoApplicationObj) { - return stereoApplicationObj instanceof Viewpoint; - } -}
diff --git a/core/org.eclipse.papyrus.sysml14/.project b/core/org.eclipse.papyrus.sysml14/.project deleted file mode 100644 index 82199ca..0000000 --- a/core/org.eclipse.papyrus.sysml14/.project +++ /dev/null
@@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14</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> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription>
diff --git a/core/org.eclipse.papyrus.sysml14/META-INF/MANIFEST.MF b/core/org.eclipse.papyrus.sysml14/META-INF/MANIFEST.MF deleted file mode 100644 index bff985e..0000000 --- a/core/org.eclipse.papyrus.sysml14/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,46 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %Bundle-Name -Bundle-SymbolicName: org.eclipse.papyrus.sysml14;singleton:=true -Bundle-Version: 1.2.0.qualifier -Bundle-ClassPath: . -Bundle-Activator: org.eclipse.papyrus.sysml14.Activator -Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.11.1,4.0.0)", - org.eclipse.emf.ecore;visibility:=reexport;bundle-version="[2.11.2,3.0.0)", - org.eclipse.uml2.uml.profile.standard;visibility:=reexport;bundle-version="[1.0.100,2.0.0)", - org.eclipse.uml2.types;visibility:=reexport;bundle-version="[2.0.0,3.0.0)", - org.eclipse.uml2.uml;visibility:=reexport;bundle-version="[5.1.0,6.0.0)", - org.eclipse.uml2.uml.resources;bundle-version="[5.1.0,6.0.0)" -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Export-Package: org.eclipse.papyrus.sysml14, - org.eclipse.papyrus.sysml14.activities, - org.eclipse.papyrus.sysml14.activities.internal.impl;x-internal:=true, - org.eclipse.papyrus.sysml14.activities.util, - org.eclipse.papyrus.sysml14.allocations, - org.eclipse.papyrus.sysml14.allocations.internal.impl;x-internal:=true, - org.eclipse.papyrus.sysml14.allocations.util, - org.eclipse.papyrus.sysml14.blocks, - org.eclipse.papyrus.sysml14.blocks.internal.impl;x-internal:=true, - org.eclipse.papyrus.sysml14.blocks.util, - org.eclipse.papyrus.sysml14.constraintblocks, - org.eclipse.papyrus.sysml14.constraintblocks.internal.impl;x-internal:=true, - org.eclipse.papyrus.sysml14.constraintblocks.util, - org.eclipse.papyrus.sysml14.deprecatedelements, - org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl;x-internal:=true, - org.eclipse.papyrus.sysml14.deprecatedelements.util, - org.eclipse.papyrus.sysml14.impl, - org.eclipse.papyrus.sysml14.internal.util;x-internal:=true, - org.eclipse.papyrus.sysml14.modelelements, - org.eclipse.papyrus.sysml14.modelelements.internal.impl;x-internal:=true, - org.eclipse.papyrus.sysml14.modelelements.util, - org.eclipse.papyrus.sysml14.portsandflows, - org.eclipse.papyrus.sysml14.portsandflows.internal.impl;x-internal:=true, - org.eclipse.papyrus.sysml14.portsandflows.util, - org.eclipse.papyrus.sysml14.requirements, - org.eclipse.papyrus.sysml14.requirements.internal.impl;x-internal:=true, - org.eclipse.papyrus.sysml14.requirements.util, - org.eclipse.papyrus.sysml14.util -Bundle-ActivationPolicy: lazy -Bundle-Localization: plugin -Bundle-Description: %Bundle-Description -Bundle-Vendor: %Bundle-Vendor
diff --git a/core/org.eclipse.papyrus.sysml14/README.md b/core/org.eclipse.papyrus.sysml14/README.md deleted file mode 100644 index 4eb0899..0000000 --- a/core/org.eclipse.papyrus.sysml14/README.md +++ /dev/null
@@ -1,15 +0,0 @@ -# SysML1.4 -A Papyrus DSML for the SysML 1.4 OMG norm - -### Module structure ### - -src-gen : generated code from the SysML profile -src : java code (mostly for derived properties) -doc/omg.sysml14.autoreq.tsv: list of requirements extracted from the normative pdf -doc/omg.sysml.{uml,notation,di}: model with the auto extracted requirements -doc/org.eclipse.papyrus.sysml14.{uml,notation,di}: documentation model for the profile (Requirements,TestCase ...) -doc/SysML-Extension.{uml,notation,di}: model to track all addition done to the official SysML profile -resources/icons : icon for SysML profile -resources/library/QUDV.{uml,notation,di}: official OMG QUDV library (modified to be eclipse compliant) -resources/library/SysML-Standard-Library.{uml,notation,di}: library extracted from official OMG SysML profile (non Stereotype elements) -resources/profile/SysML.profile.{uml,notation,di}: official OMG SysML profile (modified to be eclipse compliant) \ No newline at end of file
diff --git a/core/org.eclipse.papyrus.sysml14/plugin.properties b/core/org.eclipse.papyrus.sysml14/plugin.properties deleted file mode 100644 index 8ae78ca..0000000 --- a/core/org.eclipse.papyrus.sysml14/plugin.properties +++ /dev/null
@@ -1,15 +0,0 @@ -################################################################################# -# Copyright (c) 2015 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: -# Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - initial API and implementation -################################################################################## -Bundle-Name=Papyrus SysML 1.4 Profile -Bundle-Description=This plug-in contains the SyML 1.4 profile. -Bundle-Vendor=Eclipse Modeling Project - -
diff --git a/core/org.eclipse.papyrus.sysml14/plugin.xml b/core/org.eclipse.papyrus.sysml14/plugin.xml deleted file mode 100644 index 03e5f6d..0000000 --- a/core/org.eclipse.papyrus.sysml14/plugin.xml +++ /dev/null
@@ -1,156 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?eclipse version="3.0"?> - -<!-- - Copyright (c) 2015 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: - Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - ---> - -<plugin> - - <extension point="org.eclipse.emf.ecore.generated_package"> - <!-- @generated SysML.profile --> - <package - uri="http://www.eclipse.org/papyrus/sysml/1.4/SysML" - class="org.eclipse.papyrus.sysml14.sysmlPackage" - genModel="resources/profile/SysML.profile.genmodel"/> - </extension> - - <extension point="org.eclipse.emf.ecore.generated_package"> - <!-- @generated SysML.profile --> - <package - uri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Activities" - class="org.eclipse.papyrus.sysml14.activities.ActivitiesPackage" - genModel="resources/profile/SysML.profile.genmodel"/> - </extension> - - <extension point="org.eclipse.emf.ecore.generated_package"> - <!-- @generated SysML.profile --> - <package - uri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Allocations" - class="org.eclipse.papyrus.sysml14.allocations.AllocationsPackage" - genModel="resources/profile/SysML.profile.genmodel"/> - </extension> - - <extension point="org.eclipse.emf.ecore.generated_package"> - <!-- @generated SysML.profile --> - <package - uri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Blocks" - class="org.eclipse.papyrus.sysml14.blocks.BlocksPackage" - genModel="resources/profile/SysML.profile.genmodel"/> - </extension> - - <extension point="org.eclipse.emf.ecore.generated_package"> - <!-- @generated SysML.profile --> - <package - uri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/ConstraintBlocks" - class="org.eclipse.papyrus.sysml14.constraintblocks.ConstraintblocksPackage" - genModel="resources/profile/SysML.profile.genmodel"/> - </extension> - - <extension point="org.eclipse.emf.ecore.generated_package"> - <!-- @generated SysML.profile --> - <package - uri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/DeprecatedElements" - class="org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsPackage" - genModel="resources/profile/SysML.profile.genmodel"/> - </extension> - - <extension point="org.eclipse.emf.ecore.generated_package"> - <!-- @generated SysML.profile --> - <package - uri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/PortsAndFlows" - class="org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage" - genModel="resources/profile/SysML.profile.genmodel"/> - </extension> - - <extension point="org.eclipse.emf.ecore.generated_package"> - <!-- @generated SysML.profile --> - <package - uri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/ModelElements" - class="org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage" - genModel="resources/profile/SysML.profile.genmodel"/> - </extension> - - <extension point="org.eclipse.emf.ecore.generated_package"> - <!-- @generated SysML.profile --> - <package - uri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements" - class="org.eclipse.papyrus.sysml14.requirements.RequirementsPackage" - genModel="resources/profile/SysML.profile.genmodel"/> - </extension> - - <extension - point="org.eclipse.emf.ecore.uri_mapping"> - <mapping - source="pathmap://SysML14_LIBRARIES/" - target="platform:/plugin/org.eclipse.papyrus.sysml14/resources/library/"/> - <mapping - source="pathmap://SysML14_PROFILES/" - target="platform:/plugin/org.eclipse.papyrus.sysml14/resources/profile/"/> - <mapping - source="pathmap://SysML14_OMG/" - target="platform:/plugin/org.eclipse.papyrus.sysml14/resources/doc/"> - </mapping> - </extension> - - <extension - point="org.eclipse.emf.ecore.factory_override"> - <factory - class="org.eclipse.papyrus.sysml14.blocks.BlocksFactoryCustomImpl" - uri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Blocks"> - </factory> - </extension> - <extension - point="org.eclipse.emf.ecore.factory_override"> - <factory - class="org.eclipse.papyrus.sysml14.constraintblocks.ConstraintBlocksFactoryCustomImpl" - uri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/ConstraintBlocks"> - </factory> - </extension> - <extension - point="org.eclipse.emf.ecore.factory_override"> - <factory - class="org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsCustomFactoryImpl" - uri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/DeprecatedElements"> - </factory> - </extension> - <extension - point="org.eclipse.emf.ecore.factory_override"> - <factory - class="org.eclipse.papyrus.sysml14.requirements.RequirementsFactoryCustomImpl" - uri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements"> - </factory> - </extension> - <extension - point="org.eclipse.emf.ecore.factory_override"> - <factory - class="org.eclipse.papyrus.sysml14.modelelements.ModelelementsFactoryCustomImpl" - uri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/ModelElements"> - </factory> - </extension> - - <extension - point="org.eclipse.emf.ecore.factory_override"> - <factory - class="org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsCustomFactoryImpl" - uri="http://www.eclipse.org/papyrus/sysml/1.4/SysML/PortsAndFlows"> - </factory> - </extension> - - - - <extension point="org.eclipse.uml2.uml.generated_package"> - <profile uri="http://www.eclipse.org/papyrus/sysml/1.4/SysML" - location="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML"/> - </extension> - -</plugin>
diff --git a/core/org.eclipse.papyrus.sysml14/pom.xml b/core/org.eclipse.papyrus.sysml14/pom.xml deleted file mode 100644 index a3c0273..0000000 --- a/core/org.eclipse.papyrus.sysml14/pom.xml +++ /dev/null
@@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <artifactId>org.eclipse.papyrus.sysml14.core</artifactId> - <groupId>org.eclipse.papyrus.sysml</groupId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14</artifactId> - <packaging>eclipse-plugin</packaging> - <name>org.eclipse.papyrus.sysml14</name> - <description>This plug-in contains the OMG SyML 1.4 profile and its associated QUDV library.</description> -</project> \ No newline at end of file
diff --git a/core/org.eclipse.papyrus.sysml14/resources/doc/SysML-Extension.uml b/core/org.eclipse.papyrus.sysml14/resources/doc/SysML-Extension.uml deleted file mode 100644 index fe69ce5..0000000 --- a/core/org.eclipse.papyrus.sysml14/resources/doc/SysML-Extension.uml +++ /dev/null
@@ -1,134 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Requirements="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"> - <uml:Model xmi:id="_82iTcFFiEeWDrM-hgr_-Kg" name="SysML"> - <packagedElement xmi:type="uml:Package" xmi:id="_M8sesFFjEeWDrM-hgr_-Kg" name="DeprecatedElements"> - <packagedElement xmi:type="uml:Class" xmi:id="_PWXr0FFjEeWDrM-hgr_-Kg" name="FlowPort"> - <ownedOperation xmi:type="uml:Operation" xmi:id="_XgZG8FFjEeWDrM-hgr_-Kg" name="getIcon"> - <ownedParameter xmi:type="uml:Parameter" xmi:id="_XgZG8VFjEeWDrM-hgr_-Kg" name="img" direction="return"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Image"/> - </ownedParameter> - </ownedOperation> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_nViSUFFxEeWFqsbjn0GMrw" name="Satisfy1" client="_XgZG8FFjEeWDrM-hgr_-Kg"> - <supplier xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_b0XAEFFvEeWFqsbjn0GMrw"/> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_PEJF4Ga4EeW5JrLha2pcnA" name="FlowSpecification"> - <ownedOperation xmi:type="uml:Operation" xmi:id="_XE7sgGa4EeW5JrLha2pcnA" name="getFlowProperties"> - <ownedParameter xmi:type="uml:Parameter" xmi:id="_XE7sgWa4EeW5JrLha2pcnA" name="flowProperties" direction="out"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_XE7sgma4EeW5JrLha2pcnA"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_XE7sg2a4EeW5JrLha2pcnA" value="*"/> - </ownedParameter> - </ownedOperation> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_lUJKsFFjEeWDrM-hgr_-Kg" name="PortsAndFlows"> - <packagedElement xmi:type="uml:Class" xmi:id="_j0IwgFFjEeWDrM-hgr_-Kg" name="FlowProperty"> - <ownedOperation xmi:type="uml:Operation" xmi:id="_bkbkIFFjEeWDrM-hgr_-Kg" name="getIcon"> - <ownedParameter xmi:type="uml:Parameter" xmi:id="_bkbkIVFjEeWDrM-hgr_-Kg" name="img" direction="return"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Image"/> - </ownedParameter> - </ownedOperation> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_4mO-EFFxEeWFqsbjn0GMrw" name="Satisfy1" client="_bkbkIFFjEeWDrM-hgr_-Kg"> - <supplier xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_5W_iEFFwEeWFqsbjn0GMrw"/> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_DjFlkFIUEeWHYvssogj-zQ" name="Blocks"> - <packagedElement xmi:type="uml:Class" xmi:id="_Mh_aQFIUEeWHYvssogj-zQ" name="Block"> - <ownedOperation xmi:type="uml:Operation" xmi:id="_RQB2sFIUEeWHYvssogj-zQ" name="getReferences"> - <ownedParameter xmi:type="uml:Parameter" xmi:id="_5V4qYFIWEeWOVPwTUSkFAw" name="references" direction="return"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_JptMQFIZEeWOVPwTUSkFAw"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_JpxdsFIZEeWOVPwTUSkFAw" value="*"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:type="uml:Operation" xmi:id="_kEJocFYDEeW77p7V_ZuW3Q" name="getParts"> - <ownedParameter xmi:type="uml:Parameter" xmi:id="_rMeWAFYDEeW77p7V_ZuW3Q" name="parts" direction="return"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_f5D2IFYFEeW77p7V_ZuW3Q"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_gpIoMFYFEeW77p7V_ZuW3Q" value="*"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:type="uml:Operation" xmi:id="_K4WW8GE-EeWbSMDuSXx8SQ" name="getFlowProperties"> - <ownedParameter xmi:type="uml:Parameter" xmi:id="_QHhKgGE-EeWbSMDuSXx8SQ" name="flowProperties" direction="out"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_UXmfoGE-EeWbSMDuSXx8SQ"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_U6nGEGE-EeWbSMDuSXx8SQ" value="*"/> - </ownedParameter> - </ownedOperation> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_839tMFIaEeWOVPwTUSkFAw" client="_RQB2sFIUEeWHYvssogj-zQ"> - <supplier xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_ZyAskFIZEeWOVPwTUSkFAw"/> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_YYHkIACyEeabH6-I0dvpUQ" name="ConstraintBlocks"> - <packagedElement xmi:type="uml:Class" xmi:id="_fe0hEACyEeabH6-I0dvpUQ" name="ConstraintBlock"> - <ownedOperation xmi:type="uml:Operation" xmi:id="_pFeSQACyEeabH6-I0dvpUQ" name="getParameters"> - <ownedParameter xmi:type="uml:Parameter" xmi:id="_pFeSQQCyEeabH6-I0dvpUQ" name="parameters" direction="return"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_56uYIACyEeabH6-I0dvpUQ"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_56wNUACyEeabH6-I0dvpUQ" value="*"/> - </ownedParameter> - </ownedOperation> - </packagedElement> - </packagedElement> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_F7ccQJoQEeeXz9m6CNxSgg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_F7dqYJoQEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#/"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_F7eRcJoQEeeXz9m6CNxSgg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_F7e4gJoQEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//activities"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Activities"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_F7e4gZoQEeeXz9m6CNxSgg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_F7ffkJoQEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//allocations"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Allocations"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_F7gGoJoQEeeXz9m6CNxSgg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_F7gGoZoQEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//blocks"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_F7gtsJoQEeeXz9m6CNxSgg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_F7hUwJoQEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//constraintblocks"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ConstraintBlocks"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_F7h70JoQEeeXz9m6CNxSgg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_F7h70ZoQEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//deprecatedelements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_DeprecatedElements"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_F7ii4JoQEeeXz9m6CNxSgg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_F7ii4ZoQEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//modelelements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ModelElements"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_F7jJ8JoQEeeXz9m6CNxSgg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_F7jxAJoQEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//portsandflows"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_F7kYEJoQEeeXz9m6CNxSgg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_F7k_IJoQEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements"/> - </profileApplication> - </uml:Model> - <Requirements:Satisfy xmi:id="_nVoY8FFxEeWFqsbjn0GMrw" base_Abstraction="_nViSUFFxEeWFqsbjn0GMrw"/> - <Requirements:Satisfy xmi:id="_4mSocFFxEeWFqsbjn0GMrw" base_Abstraction="_4mO-EFFxEeWFqsbjn0GMrw"/> - <Requirements:Satisfy xmi:id="_-e_8cFIaEeWOVPwTUSkFAw" base_Abstraction="_839tMFIaEeWOVPwTUSkFAw"/> -</xmi:XMI>
diff --git a/core/org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml b/core/org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml deleted file mode 100644 index d4d024f..0000000 --- a/core/org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml +++ /dev/null
@@ -1,947 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Requirements="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"> - <uml:Model xmi:id="_d7ALQDqsEeWNg8WvR7UDoQ" name="SysML14 Norm"> - <packagedElement xmi:type="uml:Class" xmi:id="_66C6MDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-0 OMG Systems Modeling Language"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66DhQDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-1 Scope"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66DhQjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-1.1 General"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66DhRDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-2 Normative References"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66DhRjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-2.1 Overview"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66DhSDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-2.2 OMG Documents"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66DhSjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-2.3 Other Documents"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66DhTDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-3 Additional Information"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66DhTjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-3.1 Relationships to Other Standards"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66EIUDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-3.2 How to Read this Specification"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66EIUjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-3.3 Acknowledgments"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66EIVDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-4 Language Architecture"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66EIVjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-4.1 General"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66EIWDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-4.2 Design Principles"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66EIWjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-4.3 Architecture"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66EIXDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-4.4 Extension Mechanisms"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66EIXjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-4.5 SysML Diagrams"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66EIYDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-5 Conformance"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66EvYTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-5.1 Overview"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66EvYzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-5.2 Conformance Types"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66EvZTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-6 Language Formalism"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66EvZzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-6.1 Levels of Formalism"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66EvaTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-6.2 Clause Structure"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Evazq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-6.2.1 Overview"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66EvbTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-6.2.2 Diagram Elements"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Evbzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-6.2.3 UML Extensions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66FWcTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-6.2.4 Usage Examples"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66FWczq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-6.3 Conventions and Typography"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66FWdTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7 Model Elements"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66FWdzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.1 Overview"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66FWeTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.1.1 View and Viewpoint"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66FWezq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.2 Diagram Elements"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66F9gDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.3 UML Extensions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66F9gjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.3.1 Diagram Extensions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66F9hDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.3.1.1 UML Diagram Elements not Included in SysML"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66F9hjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.3.2 Stereotypes"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66F9iDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.3.2.1 Conform"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66F9ijq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.3.2.2 ElementGroup"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66F9jDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.3.2.3 Expose"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66F9jjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.3.2.4 Problem"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66F9kDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.3.2.5 Rationale"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66GkkTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.3.2.6 Stakeholder"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Gkkzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.3.2.7 View"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66GklTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.3.2.8 Viewpoint"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Gklzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-7.4 Usage Examples"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66GkmTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8 Blocks"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Gkmzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.1 Overview"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66GknTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.2 Diagram Elements"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Gknzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.2.1 Block Definition Diagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66HLoTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.2.2 Internal Block Diagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66HLozq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3 UML Extensions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66HLpTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1 Diagram Extensions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66HLpzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.1 Block Definition Diagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66HLqTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.1.1 Block and ValueType Definitions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66HLqzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.1.2 Default «block» stereotype on unlabeled box"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66HysDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.1.3 Labeled compartments"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Hysjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.1.4 Behavior compartment"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66HytDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.1.5 Constraints compartment"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Hytjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.1.6 Namespace compartment"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66HyuDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.1.7 Structure compartment"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66IZwTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.1.8 BoundReference compartment"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66IZwzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.1.9 Default multiplicities"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66IZxTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.1.10 Property-specific type"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66IZxzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.2 Internal Block Diagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66IZyTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.2.1 Property types"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66IZyzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.2.2 Block reference in diagram frame"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66IZzTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.2.3 Compartments on internal properties"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66IZzzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.2.4 Compartments on a diagram frame"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66JA0Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.2.5 Property path name"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66JA0zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.2.6 Nested connector end"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66JA1Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.2.7 Property-specific type"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66JA1zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.2.8 Initial values compartment"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66JA2Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.2.9 Default multiplicities"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66JA2zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.3 UML Diagram Elements not Included in SysML Block Definition Diagrams"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Jn4Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.1.4 UML Diagram Elements not Included in SysML Internal Block Diagrams"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Jn4zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2 Stereotypes"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Jn5Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.1 AdjunctProperty"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Jn5zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.2 Binding Connector"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Jn6Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.3 Block"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Jn6zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.4 Bound Reference"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Jn7Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.5 ClassifierBehaviorProperty"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66KO8Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.6 ConnectorProperty"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66KO8jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.7 DirectedRelationshipPropertyPath"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66KO9Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.8 DistributedProperty"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66KO9jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.9 ElementPropertyPath"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66KO-Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.10 EndPathMultiplicity"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66KO-jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.11 NestedConnectorEnd"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66K2ATq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.12 ParticipantProperty"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66K2Azq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.13 PropertySpecificType"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66K2BTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.2.14 ValueType"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66K2Bzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.3 Model Libraries"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66K2CTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.3.1 Package PrimitiveValueTypes"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66K2Czq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.3.1.1 Boolean"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66K2DTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.3.1.2 Complex"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66K2Dzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.3.1.3 Integer"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66LdETq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.3.1.4 Number"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66LdEzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.3.1.5 Real"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66LdFTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.3.1.6 String"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66LdFzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.3.2 Package UnitAndQuantityKind"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66LdGTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.3.2.1 QuantityKind"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66LdGzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.3.3.2.2 Unit"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66LdHTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.4 Usage Examples"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66LdHzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.4.1 Wheel Hub Assembly"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66MEITq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.4.2 Example Value Type Definitions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66MEIzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.4.3 Design Configuration for SUV EPA Fuel Economy Test"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66MEJTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.4.4 Water Delivery"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66MEJzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.4.5 Constraining Decomposition"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66MEKTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-8.4.6 Units and Quantity Kinds"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66MEKzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9 Ports and Flows"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66MELTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.1 Overview"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66MrMTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.1.1 Ports"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66MrMzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.1.2 Flow Properties, Provided and Required Features, and Nested Ports"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66MrNTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.1.3 Proxy Ports and Full Ports"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66MrNzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.1.4 Item Flows"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66MrOTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.1.5 Deprecation of Flow Ports and Flow Specifications"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66MrOzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.2 Diagram Elements"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66MrPTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.2.1 Block Definition Diagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66MrPzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.2.2 Internal Block Diagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66NSQTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.3 UML Extensions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66N5Ujq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.3.1 Diagram Extensions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66N5VDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.3.1.1 DirectedFeature"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66N5Vjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.3.1.2 FlowProperty"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66N5WDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.3.1.3 FullPort"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66N5Wjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.3.1.4 InvocationOnNestedPortAction"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66N5XDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.3.1.5 ItemFlow"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66N5Xjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.3.1.6 Port"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66N5YDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.3.1.7 ProxyPort"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66OgYTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.3.1.8 TriggerOnNestedPort"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xZ8N8GdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2 Stereotypes"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xZ81AWdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2.1 AcceptChangeStructuralFeatureEventAction"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xZ81A2dTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2.2 Block"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xZ81BWdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2.3 ChangeStructuralFeatureEvent"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xZ81B2dTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2.4 DirectedFeature"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xZ81CWdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2.5 FeatureDirection"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xZ81C2dTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2.6 FlowDirection"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xZ9cEGdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2.7 FlowProperty"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xZ9cEmdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2.8 FullPort"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xZ9cFGdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2.9 InterfaceBlock"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xZ9cFmdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2.10 InvocationOnNestedPortAction"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xZ9cGGdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2.11 ItemFlow"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xZ9cGmdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2.12 ProxyPort"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xZ9cHGdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-9.3.2.13 TriggerOnNestedPort"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Ogazq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.4 Usage Examples"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66OgbTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.4.1 Ports with Required and Provided Features"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Ogbzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.4.2 Flow Ports and Item Flows"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66PHcTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.4.3 Ports with Flow Properties"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66PHczq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.4.4 Proxy and Full Ports"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66PHdTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.4.5 Association and Port Decomposition"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66PHdzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-9.4.6 Item Flow Decomposition"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66PHeTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10 Constraint Blocks"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66PHezq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.1 Overview"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66PHfTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.2 Diagram Elements"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66PHfzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.2.1 Block Definition Diagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66PHgTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.2.2 Parametric Diagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66PugTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.3 UML Extensions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Pugzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.3.1 Diagram Extensions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66PuhTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.3.1.1 Block Definition Diagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Puhzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.3.1.1.1 Constraint block definition"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66PuiTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.3.1.1.2 Parameters compartment"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Puizq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.3.1.2 Parametric Diagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66PujTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.3.2 Stereotypes"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Pujzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.3.2.1 ConstraintBlock"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66PukTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.4 Usage Examples"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66QVkTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.4.1 Definition of Constraint Blocks on a Block Definition Diagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66QVkzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-10.4.2 Usage of Constraint Blocks on a Parametric Diagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66QVlTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11 Activities"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66QVlzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.1 Overview"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66QVmTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.1.1 Control as Data"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66QVmzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.1.2 Continuous Systems"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66QVnTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.1.3 Probability"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66QVnzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.1.4 Activities as Blocks"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Q8oTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.1.5 Timelines"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Q8ozq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.2 Diagram Elements"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Q8pTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.2.1 Activity Diagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Q8pzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3 UML Extensions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Q8qTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.1 Diagram Extensions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Q8qzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.1.1 Activity"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Q8rTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.1.1.1 Notation"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Q8rzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.1.2 CallBehaviorAction"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66RjsTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.1.3 ControlFlow"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Rjszq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.1.3.1 Presentation Option"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66RjtTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.1.4 ObjectNode, Variables, and Parameters"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Rjtzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.1.4.1 Notation"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66RjuTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.2 Stereotypes"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Rjuzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.2.1 Continuous"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66RjvTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.2.2 ControlOperator"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Rjvzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.2.3 Discrete"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66SKwTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.2.4 NoBuffer"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66SKwzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.2.5 Overwrite"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66SKxTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.2.6 Optional"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66SKxzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.2.7 Probability"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66SKyTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.2.8 Rate"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66SKyzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.3 Model Libraries"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66SKzTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.3.1 Package ControlValues"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Sx0Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.3.3.1.1 ControlValue"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Sx0jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-11.4 Usage Examples"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Sx1Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-12 Interactions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Sx1jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-12.1 Overview"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Sx2Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-12.2 Diagram Elements"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Sx2jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-12.2.1 Sequence Diagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Sx3Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-12.3 UML Extensions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66TY4Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-12.3.1 Diagram Extensions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66TY4jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-12.3.1.1 Exclusion of Communication Diagram, Interaction Overview Diagram, and Timing Diagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66TY5Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-12.3.1.2 Interactions and Parameters"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66TY5jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-12.3.1.2.1 Notation"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66TY6Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-12.4 Usage Examples"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66TY6jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-12.4.1 Sequence Diagrams"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66TY7Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-13 State Machines"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66TY7jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-13.1 Overview"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66T_8Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-13.2 Diagram Elements"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66T_8zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-13.2.1 State Machine Diagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66T_9Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-13.3 UML Extensions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66T_9zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-13.3.1 Diagram Extensions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66T_-Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-13.3.1.1 State Machines and Parameters"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66T_-zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-13.3.1.1.1 Notation"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66T__Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-13.4 Usage Examples"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66UnADq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-13.4.1 State Machine Diagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66UnAjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-14 Use Cases"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66UnBDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-14.1 Overview"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66UnBjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-14.2 Diagram Elements"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66UnCDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-14.2.1 Use Case Diagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66UnCjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-14.3 UML Extensions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66UnDDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-14.4 Usage Examples"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66UnDjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15 Allocations"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66UnEDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15.1 Overview"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66VOETq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15.2 Diagram Elements"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66VOEzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15.2.1 Representing Allocation on Diagrams"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66VOFTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15.3 UML Extensions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66VOHTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15.3.1 Diagram Extensions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66VOHzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15.3.1.1 Tables"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66V1ITq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15.3.1.2 Allocate Relationship Rendering"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xaCUkGdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-15.3.1.3 Allocation Compartment Format"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xaCUkmdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-15.3.1.4 Allocation Callout Format"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xaCUlGdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-15.3.1.5 AllocatedActivityPartition Label"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xaCUlmdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-15.3.2 Stereotypes"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xaCUmGdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-15.3.2.1 Allocate(from Allocations)"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xaCUmmdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-15.3.2.2 AllocateActivityPartition(from Allocations)"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66V1Izq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15.4 Usage Examples"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66V1JTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15.4.1 Behavior Allocation of Actions to Parts and Activities to Blocks"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66V1Jzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15.4.2 Allocate Flow"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66V1KTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15.4.2.1 Allocating Structure"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66V1Kzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15.4.2.2 Automotive Example"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66V1LTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-15.4.3 Tabular Representation"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66WcMDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16 Requirements"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66WcMjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.1 Overview"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66WcNDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.2 Diagram Elements"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66WcNjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.2.1 Requirement Diagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66WcODq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3 UML Extensions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66WcOjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.1 Diagram Extensions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66WcPDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.1.1 Requirement Diagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66WcPjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.1.2 Requirement Notation"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66WcQDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.1.3 Requirement Property Callout Format"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66XDQTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.1.4 Requirements on Other Diagrams"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66XDQzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.1.5 Requirements Table"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66XDRTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.2 Stereotypes"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66XDRzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.2.1 Copy"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66XDSTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.2.2 DeriveReqt"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66XDSzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.2.3 Refine"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66XDTTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.2.4 Requirement"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66XDTzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.2.5 TestCase"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66XDUTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.2.6 Satisfy"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66XqUTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.2.7 Trace"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66XqUzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.3.2.8 Verify"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66XqVTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.4 Usage Examples"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66XqVzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.4.1 Requirement Decomposition and Traceability"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66XqWTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.4.2 Requirements and Design Elements"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66XqWzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.4.3 Requirements Reuse"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66XqXTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-16.4.4 Verification Procedure (Test Case)"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66XqXzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17 Profiles & Model Libraries"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66XqYTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.1 Overview"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66XqYzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.2 Diagram Elements"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66YRYTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.2.1 Profile Definition in Package Diagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66YRYzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.2.1.1 Extension"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66YRZTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.2.2 Stereotypes Used On Diagrams"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66YRZzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.2.2.1 StereotypeInNode"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66YRaTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.2.2.2 StereotypeInComment"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66YRazq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.2.2.3 StereotypeInCompartment"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66YRbTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.3 UML Extensions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66YRbzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.4 Usage Examples"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66YRcTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.4.1 Defining a Profile"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Y4cTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.4.2 Adding Stereotypes to a Profile"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Y4czq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.4.3 Defining a Model Library that Uses a Profile"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Y4dTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.4.4 Guidance on Whether to Use a Stereotype or Class"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Y4dzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.4.5 Using a Profile"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Y4eTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.4.6 Using a Stereotype"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Y4ezq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-17.4.7 Using a Model Library Element"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xaFX4GdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-Annex A: Diagrams"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Y4fzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-A.1 Overview"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Y4gTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-A.2 Guidelines"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xaFX4mdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-Annex B: SysML Diagram Interchange"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Zfgzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.1 Overview"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66ZfhTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2 Stereotypes"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Zfhzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2.1 SysMLActivityDiagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66ZfiTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2.2 SysMLBehaviorDiagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Zfizq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2.3 SysMLBlockDefinitionDiagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66ZfjTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2.4 SysMLDiagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66Zfjzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2.5 SysMLDiagramElement"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66aGkTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2.6 SysMLDiagramWithAssociations"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66aGkzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2.7 SysMLInteractionDiagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66aGlTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2.8 SysMLInternalBlockDiagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66aGlzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2.9 SysMLPackageDiagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66aGmTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2.10 SysMLParametricDiagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66aGmzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2.11 SysMLRequirementDiagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66atoDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2.12 SysMLStateMachineDiagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66atojq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.2.13 SysMLUseCaseDiagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66atpDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.3 SysML DI usage notes"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66atpjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-B.4 SysML Notation and DI representation"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xaF-8GdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-Annex C: Deprecated Elements"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66atqjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.1 Overview"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66atrDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.1.1 Flow Ports"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66atrjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.2 Diagram Elements"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66bUsDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.2.1 Block Definition Diagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66bUsjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.2.2 Internal Block Diagram"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66bUtDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.3 UML Extensions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66bUtjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.3.1 Diagram Extensions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66bUuDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.3.1.1 FlowPort"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66bUujq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.3.1.2 FlowSpecification"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66bUvDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.3.2 Stereotypes"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66bUvjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.3.2.1 Package Ports&Flows"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66bUwDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.3.2.2 FlowPort"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66b7wTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.3.2.3 Semantic Variation Points"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66b7wzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.3.2.4 FlowSpecification"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66b7xTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.3.2.5 ItemFlow (deprecated compatibility rule)"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66b7xzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.4 Transitioning SysML 1.2 Flow Ports to SysML 1.3 Ports (informative)"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66b7yTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.5 Transitioning SysML 1.3 Viewpoint and View to SysML 1.4 (informative)"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66b7yzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-C.6 Transitioning SysML 1.3 Units and QuantityKinds to SysML 1.4 (informative)"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xaHNEGdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-Annex D: Sample Problem"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66ci0Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.1 Purpose"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66ci0jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.2 Scope"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66ci1Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.3 Problem Summary"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66ci1jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4 Diagrams"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66ci2Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.1 Package Overview (Structure of the Sample Model)"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66ci2jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.1.1 Package Diagram - Applying the SysML Profile"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66ci3Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.1.2 Package Diagram - Showing Package Structure of the Model"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66ci3jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.2 Setting the Context (Boundaries and Use Cases)"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66dJ4Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.2.1 Internal Block Diagram - Setting Context"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66dJ4zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.2.2 Use Case Diagram - Top Level Use Cases"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66dJ5Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.2.3 Use Case Diagram - Operational Use Cases"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66dJ5zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.3 Elaborating Behavior (Sequence and State Machine Diagrams)"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66dJ6Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.3.1 Sequence Diagram - Drive Black Box"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66dJ6zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.3.2 State Machine Diagram - HSUV Operational States"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66dJ7Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.3.3 Sequence Diagram - Start Vehicle Black Box & White Box"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66dw8Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.4 Establishing Requirements (Requirements Diagrams and Tables)"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66dw8jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.4.1 Requirement Diagram - HSUV Requirement Hierarchy"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66dw9Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.4.2 Requirement Diagram - Derived Requirements"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66dw9jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.4.3 Requirement Diagram - Acceleration Requirement Relationships"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66dw-Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.4.4 Table - Requirements Table"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66dw-jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.5 Breaking Down the Pieces (Block Definition Diagrams, Internal Block Diagrams)"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66dw_Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.5.1 Block Definition Diagram - Automotive Domain"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66eYADq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.5.2 Block Definition Diagram - Hybrid SUV"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66eYAjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.5.3 Internal Block Diagram - Hybrid SUV"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66eYBDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.5.4 Block Definition Diagram - Power Subsystem"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66eYBjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.5.5 Internal Block Diagram for the âPower Subsystemâ"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66eYCDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.6 Defining Ports and Flows"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66eYCjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.6.1 Block Definition Diagram - ICE Flow Properties"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66eYDDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.6.2 Internal Block Diagram - CANbus"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66e_ETq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.6.3 Block Definition Diagram - Fuel Flow Properties"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66e_Ezq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.6.4 Parametric Diagram - Fuel Flow"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66e_FTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.6.5 Internal Block Diagram - Fuel Distribution"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66e_Fzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.7 Analyze Performance (Constraint Diagrams, Timing Diagrams, Views)"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66e_GTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.7.1 Block Definition Diagram - Analysis Context"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66fmIDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.7.2 Package Diagram - Performance View Definition"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66fmIjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.7.3 Package Diagram - Viewpoint Definition"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66fmJDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.7.4 Package Diagram - View Definition"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66fmJjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.7.5 Package Diagram - View Hierarchy"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66fmKDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.7.6 Parametric Diagram - Measures of Effectiveness"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66fmKjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.7.7 Parametric Diagram - Economy"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66fmLDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.7.8 Parametric Diagram - Dynamics"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66fmLjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.7.9 (Non-Normative) Timing Diagram - 100hp Acceleration"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66gNMTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.8 Defining, Decomposing, and Allocating Activities"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66gNMzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.8.1 Activity Diagram - Acceleration (top level)"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66gNNTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.8.2 Block Definition Diagram - Acceleration"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66gNNzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.8.3 Activity Diagram (EFFBD) - Acceleration (detail)"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66gNOTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.8.4 Internal Block Diagram - Power Subsystem Behavioral and Flow Allocation"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66gNOzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.8.5 Table - Acceleration Allocation"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66gNPTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-D.4.8.6 Internal Block Diagram: Property Specific Values - EPA Fuel Economy Test"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xaJpUGdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-Annex E: Non-normative Extensions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66g0Qjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.1 Overview"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66g0RDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.2 Activity Diagram Extensions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66g0Rjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.2.1 Overview"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66g0SDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.2.2 Stereotypes"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66g0Sjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.2.3 Stereotype Examples"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66g0TDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.3 Requirements Diagram Extensions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66g0Tjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.3.1 Overview"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66hbUDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.3.2 Stereotypes"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66hbUjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.3.3 Stereotype Examples"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66hbVDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.4 Parametric Diagram Extensions for Trade Studies"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66hbVjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.4.1 Overview"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66hbWDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.4.2 Stereotypes"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66hbWjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.4.3 Stereotype Examples"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66hbXDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5 Model Library for Quantities, Units, Dimensions, and Values (QUDV)"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66hbXjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.1 Overview"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66iCYTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2 Abstract Syntax"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66iCYzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.1 AffineConversionUnit"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66iCZTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.2 ConversionBasedUnit"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66iCZzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.3 DerivedQuantityKind"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66iCaTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.4 DerivedUnit"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66iCazq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.5 Dimension"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66iCbTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.6 GeneralConversionUnit"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66ipcTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.7 LinearConversionUnit"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66ipczq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.8 Prefix"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66ipdTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.9 PrefixedUnit"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66ipdzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.10 QuantityKind"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66ipeTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.11 QuantityKindFactor"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66ipezq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.12 Rational"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66jQgTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.13 SimpleQuantityKind"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66jQgzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.14 SimpleUnit"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66jQhTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.15 SystemOfQuantities"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66jQhzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.16 SystemOfUnits"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66j3kTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.17 Unit"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66j3kzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.2.18 UnitFactor"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66j3lTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.3 References"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66j3lzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.4 Usage Examples"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66keoDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.4.1 SI Unit and QuantityKind examples"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66keojq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.5.4.2 Spring Example"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66kepDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6 Model Library of SysML Quantity Kinds and Units for ISO 80000"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66kepjq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6.1 Overview"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66keqDq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6.2 Units and Quantity Kinds"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66lFsTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6.3 ISO 80000-1 Prefixes"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66lFszq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6.4 ISO 80000-2 Mathematical Signs and Symbols"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66lFtTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6.5 Summary of the covered parts of ISO 80000"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66lFtzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6.5.1 ISO 80000-3 Space and Time"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66lFuTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6.5.2 ISO 80000-4 Mechanics"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66lswTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6.5.3 ISO 80000-5 Thermodynamics"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66lswzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6.5.4 ISO 80000-6 Electromagnetism"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66lsxTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6.5.5 ISO 80000-7 Light"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66lsxzq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6.5.6 ISO 80000-9 Physical Chemistry and Molecular Physic"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66lsyTq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6.5.7 ISO 80000-10 Atomic and Nuclear Physics"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66mT0Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.6.5.8 ISO 80000-13 Information Science and Technology"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66mT0zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.7 Distribution Extensions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66mT1Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.7.1 Overview"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66mT1zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.7.2 Stereotypes"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66mT2Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.7.2.1 Package Distributions"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66m64Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-E.7.3 Usage Example"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xaTaUGdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-Annex F: Requirements Traceability"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xaTaUmdTEeWH4tlTg5LI-A" name="REQ-OMG-SYSML14-Annex G: Model Interchange"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66m65zq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-G.1 Overview"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66m66Tq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-G.2 Context for Model Interchange"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66nh8Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-G.3 XMI Serialization of SysML"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66nh8jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-G.4 SysML Model Interchange Using AP233"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66nh9Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-G.4.1 Scope of AP233"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66nh9jq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-G.4.2 STEP Architecture"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66nh-Dq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-G.4.3 EXPRESS"/> - <packagedElement xmi:type="uml:Class" xmi:id="_66oJADq8EeW79ofuztDyTA" name="REQ-OMG-SYSML14-G.4.4 SysML-AP233 Mapping"/> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_zB6m8JoOEeeXz9m6CNxSgg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zCLssJoOEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#/"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_zDJWAJoOEeeXz9m6CNxSgg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zDJWAZoOEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//activities"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Activities"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_zDQDsJoOEeeXz9m6CNxSgg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zDQDsZoOEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//allocations"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Allocations"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_zDTHAJoOEeeXz9m6CNxSgg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zDTHAZoOEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//blocks"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_zDsvoJoOEeeXz9m6CNxSgg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zDtWsJoOEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//constraintblocks"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ConstraintBlocks"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_zDvy8JoOEeeXz9m6CNxSgg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zDwaAJoOEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//deprecatedelements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_DeprecatedElements"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_zDy2QJoOEeeXz9m6CNxSgg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zDzdUJoOEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//modelelements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ModelElements"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_zD1SgJoOEeeXz9m6CNxSgg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zD15kJoOEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//portsandflows"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_zD4V0JoOEeeXz9m6CNxSgg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_zD4V0ZoOEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements"/> - </profileApplication> - </uml:Model> - <Requirements:Requirement xmi:id="_66C6MTq8EeW79ofuztDyTA" base_Class="_66C6MDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-0" text="OMG details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=1"/> - <Requirements:Requirement xmi:id="_66DhQTq8EeW79ofuztDyTA" base_Class="_66DhQDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-1" text="Scope details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=28"/> - <Requirements:Requirement xmi:id="_66DhQzq8EeW79ofuztDyTA" base_Class="_66DhQjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-1.1" text="General details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=28"/> - <Requirements:Requirement xmi:id="_66DhRTq8EeW79ofuztDyTA" base_Class="_66DhRDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-2" text="Normative References details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=28"/> - <Requirements:Requirement xmi:id="_66DhRzq8EeW79ofuztDyTA" base_Class="_66DhRjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-2.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=28"/> - <Requirements:Requirement xmi:id="_66DhSTq8EeW79ofuztDyTA" base_Class="_66DhSDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-2.2" text="OMG Documents details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=28"/> - <Requirements:Requirement xmi:id="_66DhSzq8EeW79ofuztDyTA" base_Class="_66DhSjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-2.3" text="Other Documents details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=29"/> - <Requirements:Requirement xmi:id="_66DhTTq8EeW79ofuztDyTA" base_Class="_66DhTDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-3" text="Additional Information details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=29"/> - <Requirements:Requirement xmi:id="_66DhTzq8EeW79ofuztDyTA" base_Class="_66DhTjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-3.1" text="Relationships to Other Standards details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=29"/> - <Requirements:Requirement xmi:id="_66EIUTq8EeW79ofuztDyTA" base_Class="_66EIUDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-3.2" text="How to Read this Specification details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=29"/> - <Requirements:Requirement xmi:id="_66EIUzq8EeW79ofuztDyTA" base_Class="_66EIUjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-3.3" text="Acknowledgments details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=30"/> - <Requirements:Requirement xmi:id="_66EIVTq8EeW79ofuztDyTA" base_Class="_66EIVDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-4" text="Language Architecture details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=32"/> - <Requirements:Requirement xmi:id="_66EIVzq8EeW79ofuztDyTA" base_Class="_66EIVjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-4.1" text="General details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=32"/> - <Requirements:Requirement xmi:id="_66EIWTq8EeW79ofuztDyTA" base_Class="_66EIWDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-4.2" text="Design Principles details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=35"/> - <Requirements:Requirement xmi:id="_66EIWzq8EeW79ofuztDyTA" base_Class="_66EIWjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-4.3" text="Architecture details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=35"/> - <Requirements:Requirement xmi:id="_66EIXTq8EeW79ofuztDyTA" base_Class="_66EIXDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-4.4" text="Extension Mechanisms details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=37"/> - <Requirements:Requirement xmi:id="_66EIXzq8EeW79ofuztDyTA" base_Class="_66EIXjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-4.5" text="SysML Diagrams details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=38"/> - <Requirements:Requirement xmi:id="_66EvYDq8EeW79ofuztDyTA" base_Class="_66EIYDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-5" text="Conformance details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=40"/> - <Requirements:Requirement xmi:id="_66EvYjq8EeW79ofuztDyTA" base_Class="_66EvYTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-5.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=40"/> - <Requirements:Requirement xmi:id="_66EvZDq8EeW79ofuztDyTA" base_Class="_66EvYzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-5.2" text="Conformance Types details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=40"/> - <Requirements:Requirement xmi:id="_66EvZjq8EeW79ofuztDyTA" base_Class="_66EvZTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-6" text="Language Formalism details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=42"/> - <Requirements:Requirement xmi:id="_66EvaDq8EeW79ofuztDyTA" base_Class="_66EvZzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-6.1" text="Levels of Formalism details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=42"/> - <Requirements:Requirement xmi:id="_66Evajq8EeW79ofuztDyTA" base_Class="_66EvaTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-6.2" text="Clause Structure details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=42"/> - <Requirements:Requirement xmi:id="_66EvbDq8EeW79ofuztDyTA" base_Class="_66Evazq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-6.2.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=42"/> - <Requirements:Requirement xmi:id="_66Evbjq8EeW79ofuztDyTA" base_Class="_66EvbTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-6.2.2" text="Diagram Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=42"/> - <Requirements:Requirement xmi:id="_66FWcDq8EeW79ofuztDyTA" base_Class="_66Evbzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-6.2.3" text="UML Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=42"/> - <Requirements:Requirement xmi:id="_66FWcjq8EeW79ofuztDyTA" base_Class="_66FWcTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-6.2.4" text="Usage Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=43"/> - <Requirements:Requirement xmi:id="_66FWdDq8EeW79ofuztDyTA" base_Class="_66FWczq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-6.3" text="Conventions and Typography details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=43"/> - <Requirements:Requirement xmi:id="_66FWdjq8EeW79ofuztDyTA" base_Class="_66FWdTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7" text="Model Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=46"/> - <Requirements:Requirement xmi:id="_66FWeDq8EeW79ofuztDyTA" base_Class="_66FWdzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=46"/> - <Requirements:Requirement xmi:id="_66FWejq8EeW79ofuztDyTA" base_Class="_66FWeTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.1.1" text="View and Viewpoint details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=46"/> - <Requirements:Requirement xmi:id="_66FWfDq8EeW79ofuztDyTA" base_Class="_66FWezq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.2" text="Diagram Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=47"/> - <Requirements:Requirement xmi:id="_66F9gTq8EeW79ofuztDyTA" base_Class="_66F9gDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.3" text="UML Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=50"/> - <Requirements:Requirement xmi:id="_66F9gzq8EeW79ofuztDyTA" base_Class="_66F9gjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.3.1" text="Diagram Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=50"/> - <Requirements:Requirement xmi:id="_66F9hTq8EeW79ofuztDyTA" base_Class="_66F9hDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.3.1.1" text="UML Diagram Elements not Included in SysML details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=50"/> - <Requirements:Requirement xmi:id="_66F9hzq8EeW79ofuztDyTA" base_Class="_66F9hjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.3.2" text="Stereotypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=51"/> - <Requirements:Requirement xmi:id="_66F9iTq8EeW79ofuztDyTA" base_Class="_66F9iDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.3.2.1" text="Conform details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=51"/> - <Requirements:Requirement xmi:id="_66F9izq8EeW79ofuztDyTA" base_Class="_66F9ijq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.3.2.2" text="ElementGroup details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=52"/> - <Requirements:Requirement xmi:id="_66F9jTq8EeW79ofuztDyTA" base_Class="_66F9jDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.3.2.3" text="Expose details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=53"/> - <Requirements:Requirement xmi:id="_66F9jzq8EeW79ofuztDyTA" base_Class="_66F9jjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.3.2.4" text="Problem details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=53"/> - <Requirements:Requirement xmi:id="_66GkkDq8EeW79ofuztDyTA" base_Class="_66F9kDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.3.2.5" text="Rationale details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=54"/> - <Requirements:Requirement xmi:id="_66Gkkjq8EeW79ofuztDyTA" base_Class="_66GkkTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.3.2.6" text="Stakeholder details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=54"/> - <Requirements:Requirement xmi:id="_66GklDq8EeW79ofuztDyTA" base_Class="_66Gkkzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.3.2.7" text="View details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=54"/> - <Requirements:Requirement xmi:id="_66Gkljq8EeW79ofuztDyTA" base_Class="_66GklTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.3.2.8" text="Viewpoint details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=55"/> - <Requirements:Requirement xmi:id="_66GkmDq8EeW79ofuztDyTA" base_Class="_66Gklzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-7.4" text="Usage Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=55"/> - <Requirements:Requirement xmi:id="_66Gkmjq8EeW79ofuztDyTA" base_Class="_66GkmTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8" text="Blocks details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=58"/> - <Requirements:Requirement xmi:id="_66GknDq8EeW79ofuztDyTA" base_Class="_66Gkmzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=58"/> - <Requirements:Requirement xmi:id="_66Gknjq8EeW79ofuztDyTA" base_Class="_66GknTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.2" text="Diagram Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=59"/> - <Requirements:Requirement xmi:id="_66HLoDq8EeW79ofuztDyTA" base_Class="_66Gknzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.2.1" text="Block Definition Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=59"/> - <Requirements:Requirement xmi:id="_66HLojq8EeW79ofuztDyTA" base_Class="_66HLoTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.2.2" text="Internal Block Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=65"/> - <Requirements:Requirement xmi:id="_66HLpDq8EeW79ofuztDyTA" base_Class="_66HLozq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3" text="UML Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=67"/> - <Requirements:Requirement xmi:id="_66HLpjq8EeW79ofuztDyTA" base_Class="_66HLpTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1" text="Diagram Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=67"/> - <Requirements:Requirement xmi:id="_66HLqDq8EeW79ofuztDyTA" base_Class="_66HLpzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.1" text="Block Definition Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=67"/> - <Requirements:Requirement xmi:id="_66HLqjq8EeW79ofuztDyTA" base_Class="_66HLqTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.1.1" text="Block and ValueType Definitions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=67"/> - <Requirements:Requirement xmi:id="_66HLrDq8EeW79ofuztDyTA" base_Class="_66HLqzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.1.2" text="Default «block» stereotype on unlabeled box details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=67"/> - <Requirements:Requirement xmi:id="_66HysTq8EeW79ofuztDyTA" base_Class="_66HysDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.1.3" text="Labeled compartments details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=67"/> - <Requirements:Requirement xmi:id="_66Hyszq8EeW79ofuztDyTA" base_Class="_66Hysjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.1.4" text="Behavior compartment details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=67"/> - <Requirements:Requirement xmi:id="_66HytTq8EeW79ofuztDyTA" base_Class="_66HytDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.1.5" text="Constraints compartment details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=68"/> - <Requirements:Requirement xmi:id="_66Hytzq8EeW79ofuztDyTA" base_Class="_66Hytjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.1.6" text="Namespace compartment details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=68"/> - <Requirements:Requirement xmi:id="_66IZwDq8EeW79ofuztDyTA" base_Class="_66HyuDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.1.7" text="Structure compartment details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=68"/> - <Requirements:Requirement xmi:id="_66IZwjq8EeW79ofuztDyTA" base_Class="_66IZwTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.1.8" text="BoundReference compartment details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=68"/> - <Requirements:Requirement xmi:id="_66IZxDq8EeW79ofuztDyTA" base_Class="_66IZwzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.1.9" text="Default multiplicities details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=68"/> - <Requirements:Requirement xmi:id="_66IZxjq8EeW79ofuztDyTA" base_Class="_66IZxTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.1.10" text="Property-specific type details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=69"/> - <Requirements:Requirement xmi:id="_66IZyDq8EeW79ofuztDyTA" base_Class="_66IZxzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.2" text="Internal Block Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=69"/> - <Requirements:Requirement xmi:id="_66IZyjq8EeW79ofuztDyTA" base_Class="_66IZyTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.2.1" text="Property types details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=69"/> - <Requirements:Requirement xmi:id="_66IZzDq8EeW79ofuztDyTA" base_Class="_66IZyzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.2.2" text="Block reference in diagram frame details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=69"/> - <Requirements:Requirement xmi:id="_66IZzjq8EeW79ofuztDyTA" base_Class="_66IZzTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.2.3" text="Compartments on internal properties details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=69"/> - <Requirements:Requirement xmi:id="_66JA0Dq8EeW79ofuztDyTA" base_Class="_66IZzzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.2.4" text="Compartments on a diagram frame details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=69"/> - <Requirements:Requirement xmi:id="_66JA0jq8EeW79ofuztDyTA" base_Class="_66JA0Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.2.5" text="Property path name details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=70"/> - <Requirements:Requirement xmi:id="_66JA1Dq8EeW79ofuztDyTA" base_Class="_66JA0zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.2.6" text="Nested connector end details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=70"/> - <Requirements:Requirement xmi:id="_66JA1jq8EeW79ofuztDyTA" base_Class="_66JA1Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.2.7" text="Property-specific type details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=70"/> - <Requirements:Requirement xmi:id="_66JA2Dq8EeW79ofuztDyTA" base_Class="_66JA1zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.2.8" text="Initial values compartment details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=71"/> - <Requirements:Requirement xmi:id="_66JA2jq8EeW79ofuztDyTA" base_Class="_66JA2Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.2.9" text="Default multiplicities details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=71"/> - <Requirements:Requirement xmi:id="_66Jn4Dq8EeW79ofuztDyTA" base_Class="_66JA2zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.3" text="UML Diagram Elements not Included in SysML Block Definition Diagrams details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=71"/> - <Requirements:Requirement xmi:id="_66Jn4jq8EeW79ofuztDyTA" base_Class="_66Jn4Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.1.4" text="UML Diagram Elements not Included in SysML Internal Block Diagrams details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=71"/> - <Requirements:Requirement xmi:id="_66Jn5Dq8EeW79ofuztDyTA" base_Class="_66Jn4zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2" text="Stereotypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=71"/> - <Requirements:Requirement xmi:id="_66Jn5jq8EeW79ofuztDyTA" base_Class="_66Jn5Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.1" text="AdjunctProperty details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=74"/> - <Requirements:Requirement xmi:id="_66Jn6Dq8EeW79ofuztDyTA" base_Class="_66Jn5zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.2" text="Binding Connector details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=75"/> - <Requirements:Requirement xmi:id="_66Jn6jq8EeW79ofuztDyTA" base_Class="_66Jn6Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.3" text="Block details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=76"/> - <Requirements:Requirement xmi:id="_66Jn7Dq8EeW79ofuztDyTA" base_Class="_66Jn6zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.4" text="Bound Reference details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=78"/> - <Requirements:Requirement xmi:id="_66Jn7jq8EeW79ofuztDyTA" base_Class="_66Jn7Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.5" text="ClassifierBehaviorProperty details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=79"/> - <Requirements:Requirement xmi:id="_66KO8Tq8EeW79ofuztDyTA" base_Class="_66KO8Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.6" text="ConnectorProperty details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=79"/> - <Requirements:Requirement xmi:id="_66KO8zq8EeW79ofuztDyTA" base_Class="_66KO8jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.7" text="DirectedRelationshipPropertyPath details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=80"/> - <Requirements:Requirement xmi:id="_66KO9Tq8EeW79ofuztDyTA" base_Class="_66KO9Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.8" text="DistributedProperty details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=81"/> - <Requirements:Requirement xmi:id="_66KO9zq8EeW79ofuztDyTA" base_Class="_66KO9jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.9" text="ElementPropertyPath details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=81"/> - <Requirements:Requirement xmi:id="_66KO-Tq8EeW79ofuztDyTA" base_Class="_66KO-Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.10" text="EndPathMultiplicity details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=81"/> - <Requirements:Requirement xmi:id="_66K2ADq8EeW79ofuztDyTA" base_Class="_66KO-jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.11" text="NestedConnectorEnd details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=82"/> - <Requirements:Requirement xmi:id="_66K2Ajq8EeW79ofuztDyTA" base_Class="_66K2ATq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.12" text="ParticipantProperty details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=82"/> - <Requirements:Requirement xmi:id="_66K2BDq8EeW79ofuztDyTA" base_Class="_66K2Azq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.13" text="PropertySpecificType details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=83"/> - <Requirements:Requirement xmi:id="_66K2Bjq8EeW79ofuztDyTA" base_Class="_66K2BTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.2.14" text="ValueType details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=83"/> - <Requirements:Requirement xmi:id="_66K2CDq8EeW79ofuztDyTA" base_Class="_66K2Bzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.3" text="Model Libraries details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=84"/> - <Requirements:Requirement xmi:id="_66K2Cjq8EeW79ofuztDyTA" base_Class="_66K2CTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.3.1" text="Package PrimitiveValueTypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=84"/> - <Requirements:Requirement xmi:id="_66K2DDq8EeW79ofuztDyTA" base_Class="_66K2Czq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.3.1.1" text="Boolean details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=84"/> - <Requirements:Requirement xmi:id="_66K2Djq8EeW79ofuztDyTA" base_Class="_66K2DTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.3.1.2" text="Complex details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=85"/> - <Requirements:Requirement xmi:id="_66LdEDq8EeW79ofuztDyTA" base_Class="_66K2Dzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.3.1.3" text="Integer details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=85"/> - <Requirements:Requirement xmi:id="_66LdEjq8EeW79ofuztDyTA" base_Class="_66LdETq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.3.1.4" text="Number details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=85"/> - <Requirements:Requirement xmi:id="_66LdFDq8EeW79ofuztDyTA" base_Class="_66LdEzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.3.1.5" text="Real details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=85"/> - <Requirements:Requirement xmi:id="_66LdFjq8EeW79ofuztDyTA" base_Class="_66LdFTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.3.1.6" text="String details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=85"/> - <Requirements:Requirement xmi:id="_66LdGDq8EeW79ofuztDyTA" base_Class="_66LdFzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.3.2" text="Package UnitAndQuantityKind details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=85"/> - <Requirements:Requirement xmi:id="_66LdGjq8EeW79ofuztDyTA" base_Class="_66LdGTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.3.2.1" text="QuantityKind details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=86"/> - <Requirements:Requirement xmi:id="_66LdHDq8EeW79ofuztDyTA" base_Class="_66LdGzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.3.3.2.2" text="Unit details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=86"/> - <Requirements:Requirement xmi:id="_66LdHjq8EeW79ofuztDyTA" base_Class="_66LdHTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.4" text="Usage Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=87"/> - <Requirements:Requirement xmi:id="_66MEIDq8EeW79ofuztDyTA" base_Class="_66LdHzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.4.1" text="Wheel Hub Assembly details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=87"/> - <Requirements:Requirement xmi:id="_66MEIjq8EeW79ofuztDyTA" base_Class="_66MEITq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.4.2" text="Example Value Type Definitions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=89"/> - <Requirements:Requirement xmi:id="_66MEJDq8EeW79ofuztDyTA" base_Class="_66MEIzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.4.3" text="Design Configuration for SUV EPA Fuel Economy Test details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=90"/> - <Requirements:Requirement xmi:id="_66MEJjq8EeW79ofuztDyTA" base_Class="_66MEJTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.4.4" text="Water Delivery details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=90"/> - <Requirements:Requirement xmi:id="_66MEKDq8EeW79ofuztDyTA" base_Class="_66MEJzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.4.5" text="Constraining Decomposition details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=90"/> - <Requirements:Requirement xmi:id="_66MEKjq8EeW79ofuztDyTA" base_Class="_66MEKTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-8.4.6" text="Units and Quantity Kinds details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=92"/> - <Requirements:Requirement xmi:id="_66MELDq8EeW79ofuztDyTA" base_Class="_66MEKzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9" text="Ports and Flows details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=96"/> - <Requirements:Requirement xmi:id="_66MrMDq8EeW79ofuztDyTA" base_Class="_66MELTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=96"/> - <Requirements:Requirement xmi:id="_66MrMjq8EeW79ofuztDyTA" base_Class="_66MrMTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.1.1" text="Ports details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=96"/> - <Requirements:Requirement xmi:id="_66MrNDq8EeW79ofuztDyTA" base_Class="_66MrMzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.1.2" text="Flow Properties, Provided and Required Features, and Nested Ports details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=96"/> - <Requirements:Requirement xmi:id="_66MrNjq8EeW79ofuztDyTA" base_Class="_66MrNTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.1.3" text="Proxy Ports and Full Ports details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=96"/> - <Requirements:Requirement xmi:id="_66MrODq8EeW79ofuztDyTA" base_Class="_66MrNzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.1.4" text="Item Flows details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=97"/> - <Requirements:Requirement xmi:id="_66MrOjq8EeW79ofuztDyTA" base_Class="_66MrOTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.1.5" text="Deprecation of Flow Ports and Flow Specifications details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=97"/> - <Requirements:Requirement xmi:id="_66MrPDq8EeW79ofuztDyTA" base_Class="_66MrOzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.2" text="Diagram Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=98"/> - <Requirements:Requirement xmi:id="_66MrPjq8EeW79ofuztDyTA" base_Class="_66MrPTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.2.1" text="Block Definition Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=98"/> - <Requirements:Requirement xmi:id="_66NSQDq8EeW79ofuztDyTA" base_Class="_66MrPzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.2.2" text="Internal Block Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=101"/> - <Requirements:Requirement xmi:id="_66NSQjq8EeW79ofuztDyTA" base_Class="_66NSQTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.3" text="UML Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=103"/> - <Requirements:Requirement xmi:id="_66N5Uzq8EeW79ofuztDyTA" base_Class="_66N5Ujq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.3.1" text="Diagram Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=103"/> - <Requirements:Requirement xmi:id="_66N5VTq8EeW79ofuztDyTA" base_Class="_66N5VDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.3.1.1" text="DirectedFeature details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=103"/> - <Requirements:Requirement xmi:id="_66N5Vzq8EeW79ofuztDyTA" base_Class="_66N5Vjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.3.1.2" text="FlowProperty details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=103"/> - <Requirements:Requirement xmi:id="_66N5WTq8EeW79ofuztDyTA" base_Class="_66N5WDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.3.1.3" text="FullPort details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=103"/> - <Requirements:Requirement xmi:id="_66N5Wzq8EeW79ofuztDyTA" base_Class="_66N5Wjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.3.1.4" text="InvocationOnNestedPortAction details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=103"/> - <Requirements:Requirement xmi:id="_66N5XTq8EeW79ofuztDyTA" base_Class="_66N5XDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.3.1.5" text="ItemFlow details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=103"/> - <Requirements:Requirement xmi:id="_66N5Xzq8EeW79ofuztDyTA" base_Class="_66N5Xjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.3.1.6" text="Port details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=103"/> - <Requirements:Requirement xmi:id="_66OgYDq8EeW79ofuztDyTA" base_Class="_66N5YDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.3.1.7" text="ProxyPort details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=104"/> - <Requirements:Requirement xmi:id="_66OgYjq8EeW79ofuztDyTA" base_Class="_66OgYTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.3.1.8" text="TriggerOnNestedPort details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=104"/> - <Requirements:Requirement xmi:id="_xZ81AGdTEeWH4tlTg5LI-A" base_Class="_xZ8N8GdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2" text="Stereotypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=104"/> - <Requirements:Requirement xmi:id="_xZ81AmdTEeWH4tlTg5LI-A" base_Class="_xZ81AWdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2.1" text="AcceptChangeStructuralFeatureEventAction details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=106"/> - <Requirements:Requirement xmi:id="_xZ81BGdTEeWH4tlTg5LI-A" base_Class="_xZ81A2dTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2.2" text="Block details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=107"/> - <Requirements:Requirement xmi:id="_xZ81BmdTEeWH4tlTg5LI-A" base_Class="_xZ81BWdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2.3" text="ChangeStructuralFeatureEvent details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=107"/> - <Requirements:Requirement xmi:id="_xZ81CGdTEeWH4tlTg5LI-A" base_Class="_xZ81B2dTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2.4" text="DirectedFeature details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=107"/> - <Requirements:Requirement xmi:id="_xZ81CmdTEeWH4tlTg5LI-A" base_Class="_xZ81CWdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2.5" text="FeatureDirection details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=108"/> - <Requirements:Requirement xmi:id="_xZ81DGdTEeWH4tlTg5LI-A" base_Class="_xZ81C2dTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2.6" text="FlowDirection details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=109"/> - <Requirements:Requirement xmi:id="_xZ9cEWdTEeWH4tlTg5LI-A" base_Class="_xZ9cEGdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2.7" text="FlowProperty details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=109"/> - <Requirements:Requirement xmi:id="_xZ9cE2dTEeWH4tlTg5LI-A" base_Class="_xZ9cEmdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2.8" text="FullPort details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=110"/> - <Requirements:Requirement xmi:id="_xZ9cFWdTEeWH4tlTg5LI-A" base_Class="_xZ9cFGdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2.9" text="InterfaceBlock details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=111"/> - <Requirements:Requirement xmi:id="_xZ9cF2dTEeWH4tlTg5LI-A" base_Class="_xZ9cFmdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2.10" text="InvocationOnNestedPortAction details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=111"/> - <Requirements:Requirement xmi:id="_xZ9cGWdTEeWH4tlTg5LI-A" base_Class="_xZ9cGGdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2.11" text="ItemFlow details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=111"/> - <Requirements:Requirement xmi:id="_xZ9cG2dTEeWH4tlTg5LI-A" base_Class="_xZ9cGmdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2.12" text="ProxyPort details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=112"/> - <Requirements:Requirement xmi:id="_xZ9cHWdTEeWH4tlTg5LI-A" base_Class="_xZ9cHGdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-9.3.2.13" text="TriggerOnNestedPort details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=113"/> - <Requirements:Requirement xmi:id="_66OgbDq8EeW79ofuztDyTA" base_Class="_66Ogazq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.4" text="Usage Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=114"/> - <Requirements:Requirement xmi:id="_66Ogbjq8EeW79ofuztDyTA" base_Class="_66OgbTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.4.1" text="Ports with Required and Provided Features details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=114"/> - <Requirements:Requirement xmi:id="_66PHcDq8EeW79ofuztDyTA" base_Class="_66Ogbzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.4.2" text="Flow Ports and Item Flows details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=114"/> - <Requirements:Requirement xmi:id="_66PHcjq8EeW79ofuztDyTA" base_Class="_66PHcTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.4.3" text="Ports with Flow Properties details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=115"/> - <Requirements:Requirement xmi:id="_66PHdDq8EeW79ofuztDyTA" base_Class="_66PHczq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.4.4" text="Proxy and Full Ports details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=115"/> - <Requirements:Requirement xmi:id="_66PHdjq8EeW79ofuztDyTA" base_Class="_66PHdTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.4.5" text="Association and Port Decomposition details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=116"/> - <Requirements:Requirement xmi:id="_66PHeDq8EeW79ofuztDyTA" base_Class="_66PHdzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-9.4.6" text="Item Flow Decomposition details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=120"/> - <Requirements:Requirement xmi:id="_66PHejq8EeW79ofuztDyTA" base_Class="_66PHeTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10" text="Constraint Blocks details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=122"/> - <Requirements:Requirement xmi:id="_66PHfDq8EeW79ofuztDyTA" base_Class="_66PHezq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=122"/> - <Requirements:Requirement xmi:id="_66PHfjq8EeW79ofuztDyTA" base_Class="_66PHfTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.2" text="Diagram Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=123"/> - <Requirements:Requirement xmi:id="_66PHgDq8EeW79ofuztDyTA" base_Class="_66PHfzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.2.1" text="Block Definition Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=123"/> - <Requirements:Requirement xmi:id="_66PugDq8EeW79ofuztDyTA" base_Class="_66PHgTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.2.2" text="Parametric Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=123"/> - <Requirements:Requirement xmi:id="_66Pugjq8EeW79ofuztDyTA" base_Class="_66PugTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.3" text="UML Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=124"/> - <Requirements:Requirement xmi:id="_66PuhDq8EeW79ofuztDyTA" base_Class="_66Pugzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.3.1" text="Diagram Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=124"/> - <Requirements:Requirement xmi:id="_66Puhjq8EeW79ofuztDyTA" base_Class="_66PuhTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.3.1.1" text="Block Definition Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=124"/> - <Requirements:Requirement xmi:id="_66PuiDq8EeW79ofuztDyTA" base_Class="_66Puhzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.3.1.1.1" text="Constraint block definition details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=124"/> - <Requirements:Requirement xmi:id="_66Puijq8EeW79ofuztDyTA" base_Class="_66PuiTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.3.1.1.2" text="Parameters compartment details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=124"/> - <Requirements:Requirement xmi:id="_66PujDq8EeW79ofuztDyTA" base_Class="_66Puizq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.3.1.2" text="Parametric Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=125"/> - <Requirements:Requirement xmi:id="_66Pujjq8EeW79ofuztDyTA" base_Class="_66PujTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.3.2" text="Stereotypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=125"/> - <Requirements:Requirement xmi:id="_66PukDq8EeW79ofuztDyTA" base_Class="_66Pujzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.3.2.1" text="ConstraintBlock details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=126"/> - <Requirements:Requirement xmi:id="_66QVkDq8EeW79ofuztDyTA" base_Class="_66PukTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.4" text="Usage Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=126"/> - <Requirements:Requirement xmi:id="_66QVkjq8EeW79ofuztDyTA" base_Class="_66QVkTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.4.1" text="Definition of Constraint Blocks on a Block Definition Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=126"/> - <Requirements:Requirement xmi:id="_66QVlDq8EeW79ofuztDyTA" base_Class="_66QVkzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-10.4.2" text="Usage of Constraint Blocks on a Parametric Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=126"/> - <Requirements:Requirement xmi:id="_66QVljq8EeW79ofuztDyTA" base_Class="_66QVlTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11" text="Activities details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=130"/> - <Requirements:Requirement xmi:id="_66QVmDq8EeW79ofuztDyTA" base_Class="_66QVlzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=130"/> - <Requirements:Requirement xmi:id="_66QVmjq8EeW79ofuztDyTA" base_Class="_66QVmTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.1.1" text="Control as Data details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=130"/> - <Requirements:Requirement xmi:id="_66QVnDq8EeW79ofuztDyTA" base_Class="_66QVmzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.1.2" text="Continuous Systems details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=130"/> - <Requirements:Requirement xmi:id="_66QVnjq8EeW79ofuztDyTA" base_Class="_66QVnTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.1.3" text="Probability details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=130"/> - <Requirements:Requirement xmi:id="_66Q8oDq8EeW79ofuztDyTA" base_Class="_66QVnzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.1.4" text="Activities as Blocks details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=131"/> - <Requirements:Requirement xmi:id="_66Q8ojq8EeW79ofuztDyTA" base_Class="_66Q8oTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.1.5" text="Timelines details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=131"/> - <Requirements:Requirement xmi:id="_66Q8pDq8EeW79ofuztDyTA" base_Class="_66Q8ozq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.2" text="Diagram Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=131"/> - <Requirements:Requirement xmi:id="_66Q8pjq8EeW79ofuztDyTA" base_Class="_66Q8pTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.2.1" text="Activity Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=131"/> - <Requirements:Requirement xmi:id="_66Q8qDq8EeW79ofuztDyTA" base_Class="_66Q8pzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3" text="UML Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=140"/> - <Requirements:Requirement xmi:id="_66Q8qjq8EeW79ofuztDyTA" base_Class="_66Q8qTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.1" text="Diagram Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=140"/> - <Requirements:Requirement xmi:id="_66Q8rDq8EeW79ofuztDyTA" base_Class="_66Q8qzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.1.1" text="Activity details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=140"/> - <Requirements:Requirement xmi:id="_66Q8rjq8EeW79ofuztDyTA" base_Class="_66Q8rTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.1.1.1" text="Notation details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=140"/> - <Requirements:Requirement xmi:id="_66RjsDq8EeW79ofuztDyTA" base_Class="_66Q8rzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.1.2" text="CallBehaviorAction details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=141"/> - <Requirements:Requirement xmi:id="_66Rjsjq8EeW79ofuztDyTA" base_Class="_66RjsTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.1.3" text="ControlFlow details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=141"/> - <Requirements:Requirement xmi:id="_66RjtDq8EeW79ofuztDyTA" base_Class="_66Rjszq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.1.3.1" text="Presentation Option details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=141"/> - <Requirements:Requirement xmi:id="_66Rjtjq8EeW79ofuztDyTA" base_Class="_66RjtTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.1.4" text="ObjectNode, Variables, and Parameters details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=141"/> - <Requirements:Requirement xmi:id="_66RjuDq8EeW79ofuztDyTA" base_Class="_66Rjtzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.1.4.1" text="Notation details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=141"/> - <Requirements:Requirement xmi:id="_66Rjujq8EeW79ofuztDyTA" base_Class="_66RjuTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.2" text="Stereotypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=143"/> - <Requirements:Requirement xmi:id="_66RjvDq8EeW79ofuztDyTA" base_Class="_66Rjuzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.2.1" text="Continuous details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=143"/> - <Requirements:Requirement xmi:id="_66Rjvjq8EeW79ofuztDyTA" base_Class="_66RjvTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.2.2" text="ControlOperator details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=144"/> - <Requirements:Requirement xmi:id="_66SKwDq8EeW79ofuztDyTA" base_Class="_66Rjvzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.2.3" text="Discrete details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=144"/> - <Requirements:Requirement xmi:id="_66SKwjq8EeW79ofuztDyTA" base_Class="_66SKwTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.2.4" text="NoBuffer details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=144"/> - <Requirements:Requirement xmi:id="_66SKxDq8EeW79ofuztDyTA" base_Class="_66SKwzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.2.5" text="Overwrite details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=145"/> - <Requirements:Requirement xmi:id="_66SKxjq8EeW79ofuztDyTA" base_Class="_66SKxTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.2.6" text="Optional details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=145"/> - <Requirements:Requirement xmi:id="_66SKyDq8EeW79ofuztDyTA" base_Class="_66SKxzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.2.7" text="Probability details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=145"/> - <Requirements:Requirement xmi:id="_66SKyjq8EeW79ofuztDyTA" base_Class="_66SKyTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.2.8" text="Rate details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=146"/> - <Requirements:Requirement xmi:id="_66SKzDq8EeW79ofuztDyTA" base_Class="_66SKyzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.3" text="Model Libraries details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=146"/> - <Requirements:Requirement xmi:id="_66SKzjq8EeW79ofuztDyTA" base_Class="_66SKzTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.3.1" text="Package ControlValues details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=146"/> - <Requirements:Requirement xmi:id="_66Sx0Tq8EeW79ofuztDyTA" base_Class="_66Sx0Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.3.3.1.1" text="ControlValue details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=146"/> - <Requirements:Requirement xmi:id="_66Sx0zq8EeW79ofuztDyTA" base_Class="_66Sx0jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-11.4" text="Usage Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=147"/> - <Requirements:Requirement xmi:id="_66Sx1Tq8EeW79ofuztDyTA" base_Class="_66Sx1Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-12" text="Interactions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=152"/> - <Requirements:Requirement xmi:id="_66Sx1zq8EeW79ofuztDyTA" base_Class="_66Sx1jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-12.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=152"/> - <Requirements:Requirement xmi:id="_66Sx2Tq8EeW79ofuztDyTA" base_Class="_66Sx2Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-12.2" text="Diagram Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=153"/> - <Requirements:Requirement xmi:id="_66Sx2zq8EeW79ofuztDyTA" base_Class="_66Sx2jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-12.2.1" text="Sequence Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=153"/> - <Requirements:Requirement xmi:id="_66Sx3Tq8EeW79ofuztDyTA" base_Class="_66Sx3Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-12.3" text="UML Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=158"/> - <Requirements:Requirement xmi:id="_66TY4Tq8EeW79ofuztDyTA" base_Class="_66TY4Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-12.3.1" text="Diagram Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=158"/> - <Requirements:Requirement xmi:id="_66TY4zq8EeW79ofuztDyTA" base_Class="_66TY4jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-12.3.1.1" text="Exclusion of Communication Diagram, Interaction Overview Diagram, and Timing Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=158"/> - <Requirements:Requirement xmi:id="_66TY5Tq8EeW79ofuztDyTA" base_Class="_66TY5Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-12.3.1.2" text="Interactions and Parameters details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=158"/> - <Requirements:Requirement xmi:id="_66TY5zq8EeW79ofuztDyTA" base_Class="_66TY5jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-12.3.1.2.1" text="Notation details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=158"/> - <Requirements:Requirement xmi:id="_66TY6Tq8EeW79ofuztDyTA" base_Class="_66TY6Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-12.4" text="Usage Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=159"/> - <Requirements:Requirement xmi:id="_66TY6zq8EeW79ofuztDyTA" base_Class="_66TY6jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-12.4.1" text="Sequence Diagrams details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=159"/> - <Requirements:Requirement xmi:id="_66TY7Tq8EeW79ofuztDyTA" base_Class="_66TY7Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-13" text="State Machines details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=160"/> - <Requirements:Requirement xmi:id="_66T_8Dq8EeW79ofuztDyTA" base_Class="_66TY7jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-13.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=160"/> - <Requirements:Requirement xmi:id="_66T_8jq8EeW79ofuztDyTA" base_Class="_66T_8Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-13.2" text="Diagram Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=160"/> - <Requirements:Requirement xmi:id="_66T_9Dq8EeW79ofuztDyTA" base_Class="_66T_8zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-13.2.1" text="State Machine Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=160"/> - <Requirements:Requirement xmi:id="_66T_9jq8EeW79ofuztDyTA" base_Class="_66T_9Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-13.3" text="UML Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=165"/> - <Requirements:Requirement xmi:id="_66T_-Dq8EeW79ofuztDyTA" base_Class="_66T_9zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-13.3.1" text="Diagram Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=165"/> - <Requirements:Requirement xmi:id="_66T_-jq8EeW79ofuztDyTA" base_Class="_66T_-Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-13.3.1.1" text="State Machines and Parameters details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=165"/> - <Requirements:Requirement xmi:id="_66T__Dq8EeW79ofuztDyTA" base_Class="_66T_-zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-13.3.1.1.1" text="Notation details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=165"/> - <Requirements:Requirement xmi:id="_66T__jq8EeW79ofuztDyTA" base_Class="_66T__Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-13.4" text="Usage Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=165"/> - <Requirements:Requirement xmi:id="_66UnATq8EeW79ofuztDyTA" base_Class="_66UnADq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-13.4.1" text="State Machine Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=165"/> - <Requirements:Requirement xmi:id="_66UnAzq8EeW79ofuztDyTA" base_Class="_66UnAjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-14" text="Use Cases details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=166"/> - <Requirements:Requirement xmi:id="_66UnBTq8EeW79ofuztDyTA" base_Class="_66UnBDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-14.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=166"/> - <Requirements:Requirement xmi:id="_66UnBzq8EeW79ofuztDyTA" base_Class="_66UnBjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-14.2" text="Diagram Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=167"/> - <Requirements:Requirement xmi:id="_66UnCTq8EeW79ofuztDyTA" base_Class="_66UnCDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-14.2.1" text="Use Case Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=167"/> - <Requirements:Requirement xmi:id="_66UnCzq8EeW79ofuztDyTA" base_Class="_66UnCjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-14.3" text="UML Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=168"/> - <Requirements:Requirement xmi:id="_66UnDTq8EeW79ofuztDyTA" base_Class="_66UnDDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-14.4" text="Usage Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=168"/> - <Requirements:Requirement xmi:id="_66UnDzq8EeW79ofuztDyTA" base_Class="_66UnDjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15" text="Allocations details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=172"/> - <Requirements:Requirement xmi:id="_66VOEDq8EeW79ofuztDyTA" base_Class="_66UnEDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=172"/> - <Requirements:Requirement xmi:id="_66VOEjq8EeW79ofuztDyTA" base_Class="_66VOETq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15.2" text="Diagram Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=172"/> - <Requirements:Requirement xmi:id="_66VOFDq8EeW79ofuztDyTA" base_Class="_66VOEzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15.2.1" text="Representing Allocation on Diagrams details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=173"/> - <Requirements:Requirement xmi:id="_66VOFjq8EeW79ofuztDyTA" base_Class="_66VOFTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15.3" text="UML Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=174"/> - <Requirements:Requirement xmi:id="_66VOHjq8EeW79ofuztDyTA" base_Class="_66VOHTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15.3.1" text="Diagram Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=174"/> - <Requirements:Requirement xmi:id="_66V1IDq8EeW79ofuztDyTA" base_Class="_66VOHzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15.3.1.1" text="Tables details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=174"/> - <Requirements:Requirement xmi:id="_66V1Ijq8EeW79ofuztDyTA" base_Class="_66V1ITq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15.3.1.2" text="Allocate Relationship Rendering details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=174"/> - <Requirements:Requirement xmi:id="_xaCUkWdTEeWH4tlTg5LI-A" base_Class="_xaCUkGdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-15.3.1.3" text="Allocation Compartment Format details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=174"/> - <Requirements:Requirement xmi:id="_xaCUk2dTEeWH4tlTg5LI-A" base_Class="_xaCUkmdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-15.3.1.4" text="Allocation Callout Format details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=174"/> - <Requirements:Requirement xmi:id="_xaCUlWdTEeWH4tlTg5LI-A" base_Class="_xaCUlGdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-15.3.1.5" text="AllocatedActivityPartition Label details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=174"/> - <Requirements:Requirement xmi:id="_xaCUl2dTEeWH4tlTg5LI-A" base_Class="_xaCUlmdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-15.3.2" text="Stereotypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=175"/> - <Requirements:Requirement xmi:id="_xaCUmWdTEeWH4tlTg5LI-A" base_Class="_xaCUmGdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-15.3.2.1" text="Allocate(from Allocations) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=175"/> - <Requirements:Requirement xmi:id="_xaCUm2dTEeWH4tlTg5LI-A" base_Class="_xaCUmmdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-15.3.2.2" text="AllocateActivityPartition(from Allocations) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=176"/> - <Requirements:Requirement xmi:id="_66V1JDq8EeW79ofuztDyTA" base_Class="_66V1Izq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15.4" text="Usage Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=177"/> - <Requirements:Requirement xmi:id="_66V1Jjq8EeW79ofuztDyTA" base_Class="_66V1JTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15.4.1" text="Behavior Allocation of Actions to Parts and Activities to Blocks details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=177"/> - <Requirements:Requirement xmi:id="_66V1KDq8EeW79ofuztDyTA" base_Class="_66V1Jzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15.4.2" text="Allocate Flow details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=178"/> - <Requirements:Requirement xmi:id="_66V1Kjq8EeW79ofuztDyTA" base_Class="_66V1KTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15.4.2.1" text="Allocating Structure details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=179"/> - <Requirements:Requirement xmi:id="_66V1LDq8EeW79ofuztDyTA" base_Class="_66V1Kzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15.4.2.2" text="Automotive Example details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=179"/> - <Requirements:Requirement xmi:id="_66V1Ljq8EeW79ofuztDyTA" base_Class="_66V1LTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-15.4.3" text="Tabular Representation details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=180"/> - <Requirements:Requirement xmi:id="_66WcMTq8EeW79ofuztDyTA" base_Class="_66WcMDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16" text="Requirements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=182"/> - <Requirements:Requirement xmi:id="_66WcMzq8EeW79ofuztDyTA" base_Class="_66WcMjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=182"/> - <Requirements:Requirement xmi:id="_66WcNTq8EeW79ofuztDyTA" base_Class="_66WcNDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.2" text="Diagram Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=184"/> - <Requirements:Requirement xmi:id="_66WcNzq8EeW79ofuztDyTA" base_Class="_66WcNjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.2.1" text="Requirement Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=184"/> - <Requirements:Requirement xmi:id="_66WcOTq8EeW79ofuztDyTA" base_Class="_66WcODq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3" text="UML Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=187"/> - <Requirements:Requirement xmi:id="_66WcOzq8EeW79ofuztDyTA" base_Class="_66WcOjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.1" text="Diagram Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=187"/> - <Requirements:Requirement xmi:id="_66WcPTq8EeW79ofuztDyTA" base_Class="_66WcPDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.1.1" text="Requirement Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=187"/> - <Requirements:Requirement xmi:id="_66WcPzq8EeW79ofuztDyTA" base_Class="_66WcPjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.1.2" text="Requirement Notation details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=187"/> - <Requirements:Requirement xmi:id="_66XDQDq8EeW79ofuztDyTA" base_Class="_66WcQDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.1.3" text="Requirement Property Callout Format details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=187"/> - <Requirements:Requirement xmi:id="_66XDQjq8EeW79ofuztDyTA" base_Class="_66XDQTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.1.4" text="Requirements on Other Diagrams details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=187"/> - <Requirements:Requirement xmi:id="_66XDRDq8EeW79ofuztDyTA" base_Class="_66XDQzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.1.5" text="Requirements Table details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=188"/> - <Requirements:Requirement xmi:id="_66XDRjq8EeW79ofuztDyTA" base_Class="_66XDRTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.2" text="Stereotypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=189"/> - <Requirements:Requirement xmi:id="_66XDSDq8EeW79ofuztDyTA" base_Class="_66XDRzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.2.1" text="Copy details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=189"/> - <Requirements:Requirement xmi:id="_66XDSjq8EeW79ofuztDyTA" base_Class="_66XDSTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.2.2" text="DeriveReqt details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=190"/> - <Requirements:Requirement xmi:id="_66XDTDq8EeW79ofuztDyTA" base_Class="_66XDSzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.2.3" text="Refine details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=190"/> - <Requirements:Requirement xmi:id="_66XDTjq8EeW79ofuztDyTA" base_Class="_66XDTTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.2.4" text="Requirement details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=190"/> - <Requirements:Requirement xmi:id="_66XDUDq8EeW79ofuztDyTA" base_Class="_66XDTzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.2.5" text="TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=192"/> - <Requirements:Requirement xmi:id="_66XqUDq8EeW79ofuztDyTA" base_Class="_66XDUTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.2.6" text="Satisfy details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=192"/> - <Requirements:Requirement xmi:id="_66XqUjq8EeW79ofuztDyTA" base_Class="_66XqUTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.2.7" text="Trace details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=192"/> - <Requirements:Requirement xmi:id="_66XqVDq8EeW79ofuztDyTA" base_Class="_66XqUzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.3.2.8" text="Verify details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=193"/> - <Requirements:Requirement xmi:id="_66XqVjq8EeW79ofuztDyTA" base_Class="_66XqVTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.4" text="Usage Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=193"/> - <Requirements:Requirement xmi:id="_66XqWDq8EeW79ofuztDyTA" base_Class="_66XqVzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.4.1" text="Requirement Decomposition and Traceability details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=193"/> - <Requirements:Requirement xmi:id="_66XqWjq8EeW79ofuztDyTA" base_Class="_66XqWTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.4.2" text="Requirements and Design Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=194"/> - <Requirements:Requirement xmi:id="_66XqXDq8EeW79ofuztDyTA" base_Class="_66XqWzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.4.3" text="Requirements Reuse details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=196"/> - <Requirements:Requirement xmi:id="_66XqXjq8EeW79ofuztDyTA" base_Class="_66XqXTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-16.4.4" text="Verification Procedure (Test Case) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=197"/> - <Requirements:Requirement xmi:id="_66XqYDq8EeW79ofuztDyTA" base_Class="_66XqXzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17" text="Profiles & Model Libraries details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=200"/> - <Requirements:Requirement xmi:id="_66XqYjq8EeW79ofuztDyTA" base_Class="_66XqYTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=200"/> - <Requirements:Requirement xmi:id="_66YRYDq8EeW79ofuztDyTA" base_Class="_66XqYzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.2" text="Diagram Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=201"/> - <Requirements:Requirement xmi:id="_66YRYjq8EeW79ofuztDyTA" base_Class="_66YRYTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.2.1" text="Profile Definition in Package Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=201"/> - <Requirements:Requirement xmi:id="_66YRZDq8EeW79ofuztDyTA" base_Class="_66YRYzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.2.1.1" text="Extension details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=203"/> - <Requirements:Requirement xmi:id="_66YRZjq8EeW79ofuztDyTA" base_Class="_66YRZTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.2.2" text="Stereotypes Used On Diagrams details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=203"/> - <Requirements:Requirement xmi:id="_66YRaDq8EeW79ofuztDyTA" base_Class="_66YRZzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.2.2.1" text="StereotypeInNode details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=204"/> - <Requirements:Requirement xmi:id="_66YRajq8EeW79ofuztDyTA" base_Class="_66YRaTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.2.2.2" text="StereotypeInComment details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=205"/> - <Requirements:Requirement xmi:id="_66YRbDq8EeW79ofuztDyTA" base_Class="_66YRazq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.2.2.3" text="StereotypeInCompartment details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=205"/> - <Requirements:Requirement xmi:id="_66YRbjq8EeW79ofuztDyTA" base_Class="_66YRbTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.3" text="UML Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=205"/> - <Requirements:Requirement xmi:id="_66YRcDq8EeW79ofuztDyTA" base_Class="_66YRbzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.4" text="Usage Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=205"/> - <Requirements:Requirement xmi:id="_66Y4cDq8EeW79ofuztDyTA" base_Class="_66YRcTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.4.1" text="Defining a Profile details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=205"/> - <Requirements:Requirement xmi:id="_66Y4cjq8EeW79ofuztDyTA" base_Class="_66Y4cTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.4.2" text="Adding Stereotypes to a Profile details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=206"/> - <Requirements:Requirement xmi:id="_66Y4dDq8EeW79ofuztDyTA" base_Class="_66Y4czq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.4.3" text="Defining a Model Library that Uses a Profile details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=207"/> - <Requirements:Requirement xmi:id="_66Y4djq8EeW79ofuztDyTA" base_Class="_66Y4dTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.4.4" text="Guidance on Whether to Use a Stereotype or Class details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=208"/> - <Requirements:Requirement xmi:id="_66Y4eDq8EeW79ofuztDyTA" base_Class="_66Y4dzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.4.5" text="Using a Profile details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=208"/> - <Requirements:Requirement xmi:id="_66Y4ejq8EeW79ofuztDyTA" base_Class="_66Y4eTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.4.6" text="Using a Stereotype details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=209"/> - <Requirements:Requirement xmi:id="_66Y4fDq8EeW79ofuztDyTA" base_Class="_66Y4ezq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-17.4.7" text="Using a Model Library Element details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=209"/> - <Requirements:Requirement xmi:id="_xaFX4WdTEeWH4tlTg5LI-A" base_Class="_xaFX4GdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-Annex" text="A: Diagrams details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=212"/> - <Requirements:Requirement xmi:id="_66Y4gDq8EeW79ofuztDyTA" base_Class="_66Y4fzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-A.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=212"/> - <Requirements:Requirement xmi:id="_66ZfgDq8EeW79ofuztDyTA" base_Class="_66Y4gTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-A.2" text="Guidelines details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=216"/> - <Requirements:Requirement xmi:id="_xaFX42dTEeWH4tlTg5LI-A" base_Class="_xaFX4mdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-Annex" text="B: SysML Diagram Interchange details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=218"/> - <Requirements:Requirement xmi:id="_66ZfhDq8EeW79ofuztDyTA" base_Class="_66Zfgzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=218"/> - <Requirements:Requirement xmi:id="_66Zfhjq8EeW79ofuztDyTA" base_Class="_66ZfhTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2" text="Stereotypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=219"/> - <Requirements:Requirement xmi:id="_66ZfiDq8EeW79ofuztDyTA" base_Class="_66Zfhzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2.1" text="SysMLActivityDiagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=220"/> - <Requirements:Requirement xmi:id="_66Zfijq8EeW79ofuztDyTA" base_Class="_66ZfiTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2.2" text="SysMLBehaviorDiagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=220"/> - <Requirements:Requirement xmi:id="_66ZfjDq8EeW79ofuztDyTA" base_Class="_66Zfizq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2.3" text="SysMLBlockDefinitionDiagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=221"/> - <Requirements:Requirement xmi:id="_66Zfjjq8EeW79ofuztDyTA" base_Class="_66ZfjTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2.4" text="SysMLDiagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=221"/> - <Requirements:Requirement xmi:id="_66aGkDq8EeW79ofuztDyTA" base_Class="_66Zfjzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2.5" text="SysMLDiagramElement details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=221"/> - <Requirements:Requirement xmi:id="_66aGkjq8EeW79ofuztDyTA" base_Class="_66aGkTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2.6" text="SysMLDiagramWithAssociations details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=221"/> - <Requirements:Requirement xmi:id="_66aGlDq8EeW79ofuztDyTA" base_Class="_66aGkzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2.7" text="SysMLInteractionDiagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=222"/> - <Requirements:Requirement xmi:id="_66aGljq8EeW79ofuztDyTA" base_Class="_66aGlTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2.8" text="SysMLInternalBlockDiagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=222"/> - <Requirements:Requirement xmi:id="_66aGmDq8EeW79ofuztDyTA" base_Class="_66aGlzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2.9" text="SysMLPackageDiagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=222"/> - <Requirements:Requirement xmi:id="_66aGmjq8EeW79ofuztDyTA" base_Class="_66aGmTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2.10" text="SysMLParametricDiagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=222"/> - <Requirements:Requirement xmi:id="_66aGnDq8EeW79ofuztDyTA" base_Class="_66aGmzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2.11" text="SysMLRequirementDiagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=223"/> - <Requirements:Requirement xmi:id="_66atoTq8EeW79ofuztDyTA" base_Class="_66atoDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2.12" text="SysMLStateMachineDiagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=223"/> - <Requirements:Requirement xmi:id="_66atozq8EeW79ofuztDyTA" base_Class="_66atojq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.2.13" text="SysMLUseCaseDiagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=223"/> - <Requirements:Requirement xmi:id="_66atpTq8EeW79ofuztDyTA" base_Class="_66atpDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.3" text="SysML DI usage notes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=223"/> - <Requirements:Requirement xmi:id="_66atpzq8EeW79ofuztDyTA" base_Class="_66atpjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-B.4" text="SysML Notation and DI representation details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=224"/> - <Requirements:Requirement xmi:id="_xaF-8WdTEeWH4tlTg5LI-A" base_Class="_xaF-8GdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-Annex" text="C: Deprecated Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=228"/> - <Requirements:Requirement xmi:id="_66atqzq8EeW79ofuztDyTA" base_Class="_66atqjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=228"/> - <Requirements:Requirement xmi:id="_66atrTq8EeW79ofuztDyTA" base_Class="_66atrDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.1.1" text="Flow Ports details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=228"/> - <Requirements:Requirement xmi:id="_66atrzq8EeW79ofuztDyTA" base_Class="_66atrjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.2" text="Diagram Elements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=229"/> - <Requirements:Requirement xmi:id="_66bUsTq8EeW79ofuztDyTA" base_Class="_66bUsDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.2.1" text="Block Definition Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=229"/> - <Requirements:Requirement xmi:id="_66bUszq8EeW79ofuztDyTA" base_Class="_66bUsjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.2.2" text="Internal Block Diagram details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=230"/> - <Requirements:Requirement xmi:id="_66bUtTq8EeW79ofuztDyTA" base_Class="_66bUtDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.3" text="UML Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=231"/> - <Requirements:Requirement xmi:id="_66bUtzq8EeW79ofuztDyTA" base_Class="_66bUtjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.3.1" text="Diagram Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=231"/> - <Requirements:Requirement xmi:id="_66bUuTq8EeW79ofuztDyTA" base_Class="_66bUuDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.3.1.1" text="FlowPort details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=231"/> - <Requirements:Requirement xmi:id="_66bUuzq8EeW79ofuztDyTA" base_Class="_66bUujq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.3.1.2" text="FlowSpecification details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=231"/> - <Requirements:Requirement xmi:id="_66bUvTq8EeW79ofuztDyTA" base_Class="_66bUvDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.3.2" text="Stereotypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=231"/> - <Requirements:Requirement xmi:id="_66bUvzq8EeW79ofuztDyTA" base_Class="_66bUvjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.3.2.1" text="Package Ports&Flows details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=231"/> - <Requirements:Requirement xmi:id="_66b7wDq8EeW79ofuztDyTA" base_Class="_66bUwDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.3.2.2" text="FlowPort details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=231"/> - <Requirements:Requirement xmi:id="_66b7wjq8EeW79ofuztDyTA" base_Class="_66b7wTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.3.2.3" text="Semantic Variation Points details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=232"/> - <Requirements:Requirement xmi:id="_66b7xDq8EeW79ofuztDyTA" base_Class="_66b7wzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.3.2.4" text="FlowSpecification details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=233"/> - <Requirements:Requirement xmi:id="_66b7xjq8EeW79ofuztDyTA" base_Class="_66b7xTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.3.2.5" text="ItemFlow (deprecated compatibility rule) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=233"/> - <Requirements:Requirement xmi:id="_66b7yDq8EeW79ofuztDyTA" base_Class="_66b7xzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.4" text="Transitioning SysML 1.2 Flow Ports to SysML 1.3 Ports (informative) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=233"/> - <Requirements:Requirement xmi:id="_66b7yjq8EeW79ofuztDyTA" base_Class="_66b7yTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.5" text="Transitioning SysML 1.3 Viewpoint and View to SysML 1.4 (informative) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=234"/> - <Requirements:Requirement xmi:id="_66b7zDq8EeW79ofuztDyTA" base_Class="_66b7yzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-C.6" text="Transitioning SysML 1.3 Units and QuantityKinds to SysML 1.4 (informative) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=234"/> - <Requirements:Requirement xmi:id="_xaHNEWdTEeWH4tlTg5LI-A" base_Class="_xaHNEGdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-Annex" text="D: Sample Problem details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=236"/> - <Requirements:Requirement xmi:id="_66ci0Tq8EeW79ofuztDyTA" base_Class="_66ci0Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.1" text="Purpose details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=236"/> - <Requirements:Requirement xmi:id="_66ci0zq8EeW79ofuztDyTA" base_Class="_66ci0jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.2" text="Scope details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=236"/> - <Requirements:Requirement xmi:id="_66ci1Tq8EeW79ofuztDyTA" base_Class="_66ci1Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.3" text="Problem Summary details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=236"/> - <Requirements:Requirement xmi:id="_66ci1zq8EeW79ofuztDyTA" base_Class="_66ci1jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4" text="Diagrams details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=237"/> - <Requirements:Requirement xmi:id="_66ci2Tq8EeW79ofuztDyTA" base_Class="_66ci2Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.1" text="Package Overview (Structure of the Sample Model) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=237"/> - <Requirements:Requirement xmi:id="_66ci2zq8EeW79ofuztDyTA" base_Class="_66ci2jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.1.1" text="Package Diagram - Applying the SysML Profile details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=237"/> - <Requirements:Requirement xmi:id="_66ci3Tq8EeW79ofuztDyTA" base_Class="_66ci3Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.1.2" text="Package Diagram - Showing Package Structure of the Model details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=238"/> - <Requirements:Requirement xmi:id="_66dJ4Dq8EeW79ofuztDyTA" base_Class="_66ci3jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.2" text="Setting the Context (Boundaries and Use Cases) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=239"/> - <Requirements:Requirement xmi:id="_66dJ4jq8EeW79ofuztDyTA" base_Class="_66dJ4Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.2.1" text="Internal Block Diagram - Setting Context details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=239"/> - <Requirements:Requirement xmi:id="_66dJ5Dq8EeW79ofuztDyTA" base_Class="_66dJ4zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.2.2" text="Use Case Diagram - Top Level Use Cases details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=240"/> - <Requirements:Requirement xmi:id="_66dJ5jq8EeW79ofuztDyTA" base_Class="_66dJ5Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.2.3" text="Use Case Diagram - Operational Use Cases details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=241"/> - <Requirements:Requirement xmi:id="_66dJ6Dq8EeW79ofuztDyTA" base_Class="_66dJ5zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.3" text="Elaborating Behavior (Sequence and State Machine Diagrams) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=242"/> - <Requirements:Requirement xmi:id="_66dJ6jq8EeW79ofuztDyTA" base_Class="_66dJ6Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.3.1" text="Sequence Diagram - Drive Black Box details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=242"/> - <Requirements:Requirement xmi:id="_66dJ7Dq8EeW79ofuztDyTA" base_Class="_66dJ6zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.3.2" text="State Machine Diagram - HSUV Operational States details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=243"/> - <Requirements:Requirement xmi:id="_66dJ7jq8EeW79ofuztDyTA" base_Class="_66dJ7Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.3.3" text="Sequence Diagram - Start Vehicle Black Box & White Box details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=244"/> - <Requirements:Requirement xmi:id="_66dw8Tq8EeW79ofuztDyTA" base_Class="_66dw8Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.4" text="Establishing Requirements (Requirements Diagrams and Tables) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=245"/> - <Requirements:Requirement xmi:id="_66dw8zq8EeW79ofuztDyTA" base_Class="_66dw8jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.4.1" text="Requirement Diagram - HSUV Requirement Hierarchy details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=245"/> - <Requirements:Requirement xmi:id="_66dw9Tq8EeW79ofuztDyTA" base_Class="_66dw9Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.4.2" text="Requirement Diagram - Derived Requirements details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=246"/> - <Requirements:Requirement xmi:id="_66dw9zq8EeW79ofuztDyTA" base_Class="_66dw9jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.4.3" text="Requirement Diagram - Acceleration Requirement Relationships details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=247"/> - <Requirements:Requirement xmi:id="_66dw-Tq8EeW79ofuztDyTA" base_Class="_66dw-Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.4.4" text="Table - Requirements Table details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=248"/> - <Requirements:Requirement xmi:id="_66dw-zq8EeW79ofuztDyTA" base_Class="_66dw-jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.5" text="Breaking Down the Pieces (Block Definition Diagrams, Internal Block Diagrams) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=249"/> - <Requirements:Requirement xmi:id="_66dw_Tq8EeW79ofuztDyTA" base_Class="_66dw_Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.5.1" text="Block Definition Diagram - Automotive Domain details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=249"/> - <Requirements:Requirement xmi:id="_66eYATq8EeW79ofuztDyTA" base_Class="_66eYADq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.5.2" text="Block Definition Diagram - Hybrid SUV details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=250"/> - <Requirements:Requirement xmi:id="_66eYAzq8EeW79ofuztDyTA" base_Class="_66eYAjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.5.3" text="Internal Block Diagram - Hybrid SUV details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=251"/> - <Requirements:Requirement xmi:id="_66eYBTq8EeW79ofuztDyTA" base_Class="_66eYBDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.5.4" text="Block Definition Diagram - Power Subsystem details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=251"/> - <Requirements:Requirement xmi:id="_66eYBzq8EeW79ofuztDyTA" base_Class="_66eYBjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.5.5" text="Internal Block Diagram for the âPower Subsystemâ details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=252"/> - <Requirements:Requirement xmi:id="_66eYCTq8EeW79ofuztDyTA" base_Class="_66eYCDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.6" text="Defining Ports and Flows details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=253"/> - <Requirements:Requirement xmi:id="_66eYCzq8EeW79ofuztDyTA" base_Class="_66eYCjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.6.1" text="Block Definition Diagram - ICE Flow Properties details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=253"/> - <Requirements:Requirement xmi:id="_66e_EDq8EeW79ofuztDyTA" base_Class="_66eYDDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.6.2" text="Internal Block Diagram - CANbus details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=254"/> - <Requirements:Requirement xmi:id="_66e_Ejq8EeW79ofuztDyTA" base_Class="_66e_ETq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.6.3" text="Block Definition Diagram - Fuel Flow Properties details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=255"/> - <Requirements:Requirement xmi:id="_66e_FDq8EeW79ofuztDyTA" base_Class="_66e_Ezq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.6.4" text="Parametric Diagram - Fuel Flow details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=255"/> - <Requirements:Requirement xmi:id="_66e_Fjq8EeW79ofuztDyTA" base_Class="_66e_FTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.6.5" text="Internal Block Diagram - Fuel Distribution details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=256"/> - <Requirements:Requirement xmi:id="_66e_GDq8EeW79ofuztDyTA" base_Class="_66e_Fzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.7" text="Analyze Performance (Constraint Diagrams, Timing Diagrams, Views) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=256"/> - <Requirements:Requirement xmi:id="_66e_Gjq8EeW79ofuztDyTA" base_Class="_66e_GTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.7.1" text="Block Definition Diagram - Analysis Context details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=256"/> - <Requirements:Requirement xmi:id="_66fmITq8EeW79ofuztDyTA" base_Class="_66fmIDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.7.2" text="Package Diagram - Performance View Definition details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=257"/> - <Requirements:Requirement xmi:id="_66fmIzq8EeW79ofuztDyTA" base_Class="_66fmIjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.7.3" text="Package Diagram - Viewpoint Definition details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=258"/> - <Requirements:Requirement xmi:id="_66fmJTq8EeW79ofuztDyTA" base_Class="_66fmJDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.7.4" text="Package Diagram - View Definition details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=259"/> - <Requirements:Requirement xmi:id="_66fmJzq8EeW79ofuztDyTA" base_Class="_66fmJjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.7.5" text="Package Diagram - View Hierarchy details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=260"/> - <Requirements:Requirement xmi:id="_66fmKTq8EeW79ofuztDyTA" base_Class="_66fmKDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.7.6" text="Parametric Diagram - Measures of Effectiveness details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=261"/> - <Requirements:Requirement xmi:id="_66fmKzq8EeW79ofuztDyTA" base_Class="_66fmKjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.7.7" text="Parametric Diagram - Economy details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=262"/> - <Requirements:Requirement xmi:id="_66fmLTq8EeW79ofuztDyTA" base_Class="_66fmLDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.7.8" text="Parametric Diagram - Dynamics details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=263"/> - <Requirements:Requirement xmi:id="_66gNMDq8EeW79ofuztDyTA" base_Class="_66fmLjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.7.9" text="(Non-Normative) Timing Diagram - 100hp Acceleration details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=265"/> - <Requirements:Requirement xmi:id="_66gNMjq8EeW79ofuztDyTA" base_Class="_66gNMTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.8" text="Defining, Decomposing, and Allocating Activities details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=267"/> - <Requirements:Requirement xmi:id="_66gNNDq8EeW79ofuztDyTA" base_Class="_66gNMzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.8.1" text="Activity Diagram - Acceleration (top level) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=267"/> - <Requirements:Requirement xmi:id="_66gNNjq8EeW79ofuztDyTA" base_Class="_66gNNTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.8.2" text="Block Definition Diagram - Acceleration details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=268"/> - <Requirements:Requirement xmi:id="_66gNODq8EeW79ofuztDyTA" base_Class="_66gNNzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.8.3" text="Activity Diagram (EFFBD) - Acceleration (detail) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=268"/> - <Requirements:Requirement xmi:id="_66gNOjq8EeW79ofuztDyTA" base_Class="_66gNOTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.8.4" text="Internal Block Diagram - Power Subsystem Behavioral and Flow Allocation details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=269"/> - <Requirements:Requirement xmi:id="_66gNPDq8EeW79ofuztDyTA" base_Class="_66gNOzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.8.5" text="Table - Acceleration Allocation details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=270"/> - <Requirements:Requirement xmi:id="_66gNPjq8EeW79ofuztDyTA" base_Class="_66gNPTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-D.4.8.6" text="Internal Block Diagram: Property Specific Values - EPA Fuel Economy Test details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=270"/> - <Requirements:Requirement xmi:id="_xaJpUWdTEeWH4tlTg5LI-A" base_Class="_xaJpUGdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-Annex" text="E: Non-normative Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=272"/> - <Requirements:Requirement xmi:id="_66g0Qzq8EeW79ofuztDyTA" base_Class="_66g0Qjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=272"/> - <Requirements:Requirement xmi:id="_66g0RTq8EeW79ofuztDyTA" base_Class="_66g0RDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.2" text="Activity Diagram Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=272"/> - <Requirements:Requirement xmi:id="_66g0Rzq8EeW79ofuztDyTA" base_Class="_66g0Rjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.2.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=272"/> - <Requirements:Requirement xmi:id="_66g0STq8EeW79ofuztDyTA" base_Class="_66g0SDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.2.2" text="Stereotypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=272"/> - <Requirements:Requirement xmi:id="_66g0Szq8EeW79ofuztDyTA" base_Class="_66g0Sjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.2.3" text="Stereotype Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=273"/> - <Requirements:Requirement xmi:id="_66g0TTq8EeW79ofuztDyTA" base_Class="_66g0TDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.3" text="Requirements Diagram Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=275"/> - <Requirements:Requirement xmi:id="_66g0Tzq8EeW79ofuztDyTA" base_Class="_66g0Tjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.3.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=275"/> - <Requirements:Requirement xmi:id="_66hbUTq8EeW79ofuztDyTA" base_Class="_66hbUDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.3.2" text="Stereotypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=275"/> - <Requirements:Requirement xmi:id="_66hbUzq8EeW79ofuztDyTA" base_Class="_66hbUjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.3.3" text="Stereotype Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=276"/> - <Requirements:Requirement xmi:id="_66hbVTq8EeW79ofuztDyTA" base_Class="_66hbVDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.4" text="Parametric Diagram Extensions for Trade Studies details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=277"/> - <Requirements:Requirement xmi:id="_66hbVzq8EeW79ofuztDyTA" base_Class="_66hbVjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.4.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=277"/> - <Requirements:Requirement xmi:id="_66hbWTq8EeW79ofuztDyTA" base_Class="_66hbWDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.4.2" text="Stereotypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=278"/> - <Requirements:Requirement xmi:id="_66hbWzq8EeW79ofuztDyTA" base_Class="_66hbWjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.4.3" text="Stereotype Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=278"/> - <Requirements:Requirement xmi:id="_66hbXTq8EeW79ofuztDyTA" base_Class="_66hbXDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5" text="Model Library for Quantities, Units, Dimensions, and Values (QUDV) details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=279"/> - <Requirements:Requirement xmi:id="_66iCYDq8EeW79ofuztDyTA" base_Class="_66hbXjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=279"/> - <Requirements:Requirement xmi:id="_66iCYjq8EeW79ofuztDyTA" base_Class="_66iCYTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2" text="Abstract Syntax details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=279"/> - <Requirements:Requirement xmi:id="_66iCZDq8EeW79ofuztDyTA" base_Class="_66iCYzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.1" text="AffineConversionUnit details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=282"/> - <Requirements:Requirement xmi:id="_66iCZjq8EeW79ofuztDyTA" base_Class="_66iCZTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.2" text="ConversionBasedUnit details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=282"/> - <Requirements:Requirement xmi:id="_66iCaDq8EeW79ofuztDyTA" base_Class="_66iCZzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.3" text="DerivedQuantityKind details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=282"/> - <Requirements:Requirement xmi:id="_66iCajq8EeW79ofuztDyTA" base_Class="_66iCaTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.4" text="DerivedUnit details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=283"/> - <Requirements:Requirement xmi:id="_66iCbDq8EeW79ofuztDyTA" base_Class="_66iCazq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.5" text="Dimension details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=284"/> - <Requirements:Requirement xmi:id="_66ipcDq8EeW79ofuztDyTA" base_Class="_66iCbTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.6" text="GeneralConversionUnit details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=284"/> - <Requirements:Requirement xmi:id="_66ipcjq8EeW79ofuztDyTA" base_Class="_66ipcTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.7" text="LinearConversionUnit details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=285"/> - <Requirements:Requirement xmi:id="_66ipdDq8EeW79ofuztDyTA" base_Class="_66ipczq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.8" text="Prefix details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=285"/> - <Requirements:Requirement xmi:id="_66ipdjq8EeW79ofuztDyTA" base_Class="_66ipdTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.9" text="PrefixedUnit details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=285"/> - <Requirements:Requirement xmi:id="_66ipeDq8EeW79ofuztDyTA" base_Class="_66ipdzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.10" text="QuantityKind details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=286"/> - <Requirements:Requirement xmi:id="_66ipejq8EeW79ofuztDyTA" base_Class="_66ipeTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.11" text="QuantityKindFactor details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=287"/> - <Requirements:Requirement xmi:id="_66jQgDq8EeW79ofuztDyTA" base_Class="_66ipezq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.12" text="Rational details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=287"/> - <Requirements:Requirement xmi:id="_66jQgjq8EeW79ofuztDyTA" base_Class="_66jQgTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.13" text="SimpleQuantityKind details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=288"/> - <Requirements:Requirement xmi:id="_66jQhDq8EeW79ofuztDyTA" base_Class="_66jQgzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.14" text="SimpleUnit details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=288"/> - <Requirements:Requirement xmi:id="_66jQhjq8EeW79ofuztDyTA" base_Class="_66jQhTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.15" text="SystemOfQuantities details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=288"/> - <Requirements:Requirement xmi:id="_66j3kDq8EeW79ofuztDyTA" base_Class="_66jQhzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.16" text="SystemOfUnits details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=293"/> - <Requirements:Requirement xmi:id="_66j3kjq8EeW79ofuztDyTA" base_Class="_66j3kTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.17" text="Unit details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=297"/> - <Requirements:Requirement xmi:id="_66j3lDq8EeW79ofuztDyTA" base_Class="_66j3kzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.2.18" text="UnitFactor details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=297"/> - <Requirements:Requirement xmi:id="_66j3ljq8EeW79ofuztDyTA" base_Class="_66j3lTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.3" text="References details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=298"/> - <Requirements:Requirement xmi:id="_66j3mDq8EeW79ofuztDyTA" base_Class="_66j3lzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.4" text="Usage Examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=298"/> - <Requirements:Requirement xmi:id="_66keoTq8EeW79ofuztDyTA" base_Class="_66keoDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.4.1" text="SI Unit and QuantityKind examples details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=298"/> - <Requirements:Requirement xmi:id="_66keozq8EeW79ofuztDyTA" base_Class="_66keojq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.5.4.2" text="Spring Example details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=300"/> - <Requirements:Requirement xmi:id="_66kepTq8EeW79ofuztDyTA" base_Class="_66kepDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6" text="Model Library of SysML Quantity Kinds and Units for ISO 80000 details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=300"/> - <Requirements:Requirement xmi:id="_66kepzq8EeW79ofuztDyTA" base_Class="_66kepjq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=300"/> - <Requirements:Requirement xmi:id="_66lFsDq8EeW79ofuztDyTA" base_Class="_66keqDq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6.2" text="Units and Quantity Kinds details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=301"/> - <Requirements:Requirement xmi:id="_66lFsjq8EeW79ofuztDyTA" base_Class="_66lFsTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6.3" text="ISO 80000-1 Prefixes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=308"/> - <Requirements:Requirement xmi:id="_66lFtDq8EeW79ofuztDyTA" base_Class="_66lFszq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6.4" text="ISO 80000-2 Mathematical Signs and Symbols details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=310"/> - <Requirements:Requirement xmi:id="_66lFtjq8EeW79ofuztDyTA" base_Class="_66lFtTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6.5" text="Summary of the covered parts of ISO 80000 details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=311"/> - <Requirements:Requirement xmi:id="_66lFuDq8EeW79ofuztDyTA" base_Class="_66lFtzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6.5.1" text="ISO 80000-3 Space and Time details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=311"/> - <Requirements:Requirement xmi:id="_66lswDq8EeW79ofuztDyTA" base_Class="_66lFuTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6.5.2" text="ISO 80000-4 Mechanics details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=315"/> - <Requirements:Requirement xmi:id="_66lswjq8EeW79ofuztDyTA" base_Class="_66lswTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6.5.3" text="ISO 80000-5 Thermodynamics details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=321"/> - <Requirements:Requirement xmi:id="_66lsxDq8EeW79ofuztDyTA" base_Class="_66lswzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6.5.4" text="ISO 80000-6 Electromagnetism details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=327"/> - <Requirements:Requirement xmi:id="_66lsxjq8EeW79ofuztDyTA" base_Class="_66lsxTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6.5.5" text="ISO 80000-7 Light details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=334"/> - <Requirements:Requirement xmi:id="_66lsyDq8EeW79ofuztDyTA" base_Class="_66lsxzq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6.5.6" text="ISO 80000-9 Physical Chemistry and Molecular Physic details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=335"/> - <Requirements:Requirement xmi:id="_66mT0Dq8EeW79ofuztDyTA" base_Class="_66lsyTq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6.5.7" text="ISO 80000-10 Atomic and Nuclear Physics details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=336"/> - <Requirements:Requirement xmi:id="_66mT0jq8EeW79ofuztDyTA" base_Class="_66mT0Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.6.5.8" text="ISO 80000-13 Information Science and Technology details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=336"/> - <Requirements:Requirement xmi:id="_66mT1Dq8EeW79ofuztDyTA" base_Class="_66mT0zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.7" text="Distribution Extensions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=337"/> - <Requirements:Requirement xmi:id="_66mT1jq8EeW79ofuztDyTA" base_Class="_66mT1Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.7.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=337"/> - <Requirements:Requirement xmi:id="_66mT2Dq8EeW79ofuztDyTA" base_Class="_66mT1zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.7.2" text="Stereotypes details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=337"/> - <Requirements:Requirement xmi:id="_66m64Dq8EeW79ofuztDyTA" base_Class="_66mT2Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.7.2.1" text="Package Distributions details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=337"/> - <Requirements:Requirement xmi:id="_66m64jq8EeW79ofuztDyTA" base_Class="_66m64Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-E.7.3" text="Usage Example details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=339"/> - <Requirements:Requirement xmi:id="_xaTaUWdTEeWH4tlTg5LI-A" base_Class="_xaTaUGdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-Annex" text="F: Requirements Traceability details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=340"/> - <Requirements:Requirement xmi:id="_xaTaU2dTEeWH4tlTg5LI-A" base_Class="_xaTaUmdTEeWH4tlTg5LI-A" id="REQ-OMG-SYSML14-Annex" text="G: Model Interchange details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=342"/> - <Requirements:Requirement xmi:id="_66m66Dq8EeW79ofuztDyTA" base_Class="_66m65zq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-G.1" text="Overview details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=342"/> - <Requirements:Requirement xmi:id="_66m66jq8EeW79ofuztDyTA" base_Class="_66m66Tq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-G.2" text="Context for Model Interchange details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=342"/> - <Requirements:Requirement xmi:id="_66nh8Tq8EeW79ofuztDyTA" base_Class="_66nh8Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-G.3" text="XMI Serialization of SysML details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=342"/> - <Requirements:Requirement xmi:id="_66nh8zq8EeW79ofuztDyTA" base_Class="_66nh8jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-G.4" text="SysML Model Interchange Using AP233 details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=343"/> - <Requirements:Requirement xmi:id="_66nh9Tq8EeW79ofuztDyTA" base_Class="_66nh9Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-G.4.1" text="Scope of AP233 details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=343"/> - <Requirements:Requirement xmi:id="_66nh9zq8EeW79ofuztDyTA" base_Class="_66nh9jq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-G.4.2" text="STEP Architecture details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=344"/> - <Requirements:Requirement xmi:id="_66nh-Tq8EeW79ofuztDyTA" base_Class="_66nh-Dq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-G.4.3" text="EXPRESS details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=344"/> - <Requirements:Requirement xmi:id="_66oJATq8EeW79ofuztDyTA" base_Class="_66oJADq8EeW79ofuztDyTA" id="REQ-OMG-SYSML14-G.4.4" text="SysML-AP233 Mapping details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=345"/> -</xmi:XMI>
diff --git a/core/org.eclipse.papyrus.sysml14/resources/doc/org.eclipse.papyrus.sysml14.notation b/core/org.eclipse.papyrus.sysml14/resources/doc/org.eclipse.papyrus.sysml14.notation deleted file mode 100644 index 4377ef3..0000000 --- a/core/org.eclipse.papyrus.sysml14/resources/doc/org.eclipse.papyrus.sysml14.notation +++ /dev/null
@@ -1,1807 +0,0 @@ -<?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:configuration="http://www.eclipse.org/papyrus/infra/viewpoints/configuration" xmlns:css="http://www.eclipse.org/papyrus/infra/gmfdiag/css" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:nattable="http://www.eclipse.org/papyrus/nattable/model" xmlns:nattableaxis="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis" xmlns:nattableaxisconfiguration="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration" xmlns:nattableaxisprovider="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider" xmlns:nattableconfiguration="http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:style_1="http://www.eclipse.org/papyrus/infra/gmfdiag/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis http://www.eclipse.org/papyrus/nattable/model#//nattableaxis http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration http://www.eclipse.org/papyrus/nattable/model#//nattableaxisconfiguration http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider http://www.eclipse.org/papyrus/nattable/model#//nattableaxisprovider http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration http://www.eclipse.org/papyrus/nattable/model#//nattableconfiguration"> - <notation:Diagram xmi:id="_PzEKoJsTEeSu6pfLknKE4A" type="PapyrusUMLClassDiagram" name="Overview" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_PzEKoZsTEeSu6pfLknKE4A" type="Model_Shape"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_hinhEJvNEeSpmINNlcjABQ" source="PapyrusHyperLink_Page"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hinhEZvNEeSpmINNlcjABQ" key="tooltip_text" value="Requirements"/> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hinhEpvNEeSpmINNlcjABQ" key="pageName" value="PapyrusHyperLink_Page"/> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hinhE5vNEeSpmINNlcjABQ" key="is_default_navigation" value="true"/> - </eAnnotations> - <children xmi:type="notation:DecorationNode" xmi:id="_PzEKopsTEeSu6pfLknKE4A" type="Model_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_MHFY0FdZEee6UuspFlbpuA" type="Model_PackagedElementCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_PzEKpJsTEeSu6pfLknKE4A"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_PzEKpZsTEeSu6pfLknKE4A"/> - </children> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.uml#_Py6ZopsTEeSu6pfLknKE4A"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_PzEKppsTEeSu6pfLknKE4A" x="201" y="38"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_PzEKp5sTEeSu6pfLknKE4A" type="Model_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_PzEKqJsTEeSu6pfLknKE4A" type="Model_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_MHH1EFdZEee6UuspFlbpuA" type="Model_PackagedElementCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_PzEKqpsTEeSu6pfLknKE4A"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_PzEKq5sTEeSu6pfLknKE4A"/> - </children> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.uml#_Py6Zo5sTEeSu6pfLknKE4A"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_PzEKrJsTEeSu6pfLknKE4A" x="204" y="173"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_PzEKrZsTEeSu6pfLknKE4A" type="Model_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_PzEKrpsTEeSu6pfLknKE4A" type="Model_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_MHIcIFdZEee6UuspFlbpuA" type="Model_PackagedElementCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_PzEKsJsTEeSu6pfLknKE4A"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_PzEKsZsTEeSu6pfLknKE4A"/> - </children> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.uml#_Py6ZppsTEeSu6pfLknKE4A"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_PzEKspsTEeSu6pfLknKE4A" x="206" y="329"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_PzEKs5sTEeSu6pfLknKE4A" type="Model_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_PzEKtJsTEeSu6pfLknKE4A" type="Model_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_MHIcIVdZEee6UuspFlbpuA" type="Model_PackagedElementCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_PzEKtpsTEeSu6pfLknKE4A"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_PzEKt5sTEeSu6pfLknKE4A"/> - </children> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.uml#_Py6ZqJsTEeSu6pfLknKE4A"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_PzEKuJsTEeSu6pfLknKE4A" x="633" y="200"/> - </children> - <styles xmi:type="notation:DiagramStyle" xmi:id="_PzEKuZsTEeSu6pfLknKE4A"/> - <styles xmi:type="style:PapyrusViewStyle" xmi:id="_PzEKupsTEeSu6pfLknKE4A"> - <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.uml#_Py6ZoJsTEeSu6pfLknKE4A"/> - <configuration xmi:type="configuration:PapyrusDiagram" href="platform:/plugin/org.eclipse.papyrus.infra.viewpoints.policy/builtin/default.configuration#_7wLmpNxhEeOqHvRyiN87hA"/> - </styles> - <styles xmi:type="notation:StringValueStyle" xmi:id="_Z8sBoCYeEeWtn6hjmtufug" name="diagram_compatibility_version" stringValue="1.3.0"/> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.uml#_Py6ZoJsTEeSu6pfLknKE4A"/> - <edges xmi:type="notation:Connector" xmi:id="_PzEKu5sTEeSu6pfLknKE4A" type="Abstraction_Edge" source="_PzEKp5sTEeSu6pfLknKE4A" target="_PzEKoZsTEeSu6pfLknKE4A"> - <children xmi:type="notation:DecorationNode" xmi:id="_PzEKvJsTEeSu6pfLknKE4A" visible="false" type="Abstraction_NameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_PzEKvZsTEeSu6pfLknKE4A" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_PzEKvpsTEeSu6pfLknKE4A" visible="false" type="Abstraction_StereotypeLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_PzEKv5sTEeSu6pfLknKE4A" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_PzEKwJsTEeSu6pfLknKE4A"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_Py6ZpJsTEeSu6pfLknKE4A"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_PzEKwZsTEeSu6pfLknKE4A" points="[-2, -10, 8, 48]$[-27, -45, -17, 13]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_PzEKwpsTEeSu6pfLknKE4A" id="(0.305,0.1)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_PzEKw5sTEeSu6pfLknKE4A" id="(0.27,0.87)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_PzEKxJsTEeSu6pfLknKE4A" type="Abstraction_Edge" source="_PzEKrZsTEeSu6pfLknKE4A" target="_PzEKp5sTEeSu6pfLknKE4A"> - <children xmi:type="notation:DecorationNode" xmi:id="_PzEKxZsTEeSu6pfLknKE4A" visible="false" type="Abstraction_NameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_PzEKxpsTEeSu6pfLknKE4A" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_PzEKx5sTEeSu6pfLknKE4A" visible="false" type="Abstraction_StereotypeLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_PzEKyJsTEeSu6pfLknKE4A" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_PzEKyZsTEeSu6pfLknKE4A"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_Py6Zp5sTEeSu6pfLknKE4A"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_PzEKypsTEeSu6pfLknKE4A" points="[-9, -16, 0, 67]$[-24, -72, -15, 11]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_PzEKy5sTEeSu6pfLknKE4A" id="(0.27,0.16)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_PzEKzJsTEeSu6pfLknKE4A" id="(0.235,0.89)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_PzEKzZsTEeSu6pfLknKE4A" type="Dependency_Edge" source="_PzEKs5sTEeSu6pfLknKE4A" target="_PzEKp5sTEeSu6pfLknKE4A"> - <children xmi:type="notation:DecorationNode" xmi:id="_PzEKzpsTEeSu6pfLknKE4A" visible="false" type="Dependency_NameLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_RHFvAFdZEee6UuspFlbpuA" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_PzEKz5sTEeSu6pfLknKE4A" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_PzEK0JsTEeSu6pfLknKE4A" visible="false" type="Dependency_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_RHjpEFdZEee6UuspFlbpuA" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_PzEK0ZsTEeSu6pfLknKE4A" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_PzEK0psTEeSu6pfLknKE4A"/> - <element xmi:type="uml:Dependency" href="org.eclipse.papyrus.sysml14.uml#_Py6ZqZsTEeSu6pfLknKE4A"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_PzEK05sTEeSu6pfLknKE4A" points="[-46, -20, 265, 113]$[-275, -135, 36, -2]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_PzEK1JsTEeSu6pfLknKE4A" id="(0.0,0.4)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_PzEK1ZsTEeSu6pfLknKE4A" id="(1.0,0.67)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_PzEK1psTEeSu6pfLknKE4A" type="Dependency_Edge" source="_PzEKs5sTEeSu6pfLknKE4A" target="_PzEKrZsTEeSu6pfLknKE4A"> - <children xmi:type="notation:DecorationNode" xmi:id="_PzEK15sTEeSu6pfLknKE4A" visible="false" type="Dependency_NameLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_RH6OYFdZEee6UuspFlbpuA" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_PzEK2JsTEeSu6pfLknKE4A" x="-2" y="37"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_PzEK2ZsTEeSu6pfLknKE4A" visible="false" type="Dependency_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_RIKGAFdZEee6UuspFlbpuA" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_PzEK2psTEeSu6pfLknKE4A" x="2" y="57"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_PzEK25sTEeSu6pfLknKE4A"/> - <element xmi:type="uml:Dependency" href="org.eclipse.papyrus.sysml14.uml#_Py6ZqpsTEeSu6pfLknKE4A"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_PzEK3JsTEeSu6pfLknKE4A" points="[-40, 1, 262, -12]$[-267, 20, 35, 7]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_PzEK3ZsTEeSu6pfLknKE4A" id="(0.0,0.6)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_PzEK3psTEeSu6pfLknKE4A" id="(1.0,0.71)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_dAKZsCYeEeWtn6hjmtufug" type="Dependency_Edge" source="_PzEKs5sTEeSu6pfLknKE4A" target="_PzEKoZsTEeSu6pfLknKE4A"> - <children xmi:type="notation:DecorationNode" xmi:id="_dAM18CYeEeWtn6hjmtufug" type="Dependency_NameLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_RIjuoFdZEee6UuspFlbpuA" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_dAM18SYeEeWtn6hjmtufug" x="-1" y="38"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_dANdACYeEeWtn6hjmtufug" type="Dependency_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_RI00YFdZEee6UuspFlbpuA" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_dANdASYeEeWtn6hjmtufug" x="-1" y="58"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_dAKZsSYeEeWtn6hjmtufug"/> - <element xmi:type="uml:Dependency" href="org.eclipse.papyrus.sysml14.uml#_c_gSYCYeEeWtn6hjmtufug"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_dAKZsiYeEeWtn6hjmtufug" points="[-12, -10, 269, 232]$[-259, -241, 22, 1]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_dA-SACYeEeWtn6hjmtufug" id="(0.0,0.2)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_dA-5ECYeEeWtn6hjmtufug" id="(1.0,0.62)"/> - </edges> - </notation:Diagram> - <css:ModelStyleSheets xmi:id="_25Gy8JvMEeSpmINNlcjABQ"/> - <notation:Diagram xmi:id="_mg0i0EvJEeWZWeCQhncKfA" type="PapyrusUMLClassDiagram" name="Tests requirements" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_tx5jwEvJEeWZWeCQhncKfA" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_tx6x4EvJEeWZWeCQhncKfA" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_tx6x4UvJEeWZWeCQhncKfA" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_tx6x4kvJEeWZWeCQhncKfA" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_tx91MEvJEeWZWeCQhncKfA" visible="false" type="Class_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_tx91MUvJEeWZWeCQhncKfA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_tx91MkvJEeWZWeCQhncKfA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_tx91M0vJEeWZWeCQhncKfA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_tx91NEvJEeWZWeCQhncKfA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_tx-cQEvJEeWZWeCQhncKfA" type="Class_OperationCompartment"> - <children xmi:type="notation:Shape" xmi:id="_hIE4UEvQEeW7GL09oTsTMQ" type="Operation_ClassOperationLabel"> - <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_hHaxAEvQEeW7GL09oTsTMQ"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_hIE4UUvQEeW7GL09oTsTMQ"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_kvRBcEvQEeW7GL09oTsTMQ" type="Operation_ClassOperationLabel"> - <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_kvCX8EvQEeW7GL09oTsTMQ"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_kvRBcUvQEeW7GL09oTsTMQ"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_lZuTsEvQEeW7GL09oTsTMQ" type="Operation_ClassOperationLabel"> - <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_lZitgEvQEeW7GL09oTsTMQ"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_lZuTsUvQEeW7GL09oTsTMQ"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_lwNhEEvQEeW7GL09oTsTMQ" type="Operation_ClassOperationLabel"> - <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_lwB64EvQEeW7GL09oTsTMQ"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_lwNhEUvQEeW7GL09oTsTMQ"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_mFZG4EvQEeW7GL09oTsTMQ" type="Operation_ClassOperationLabel"> - <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_mFLrgEvQEeW7GL09oTsTMQ"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_mFZG4UvQEeW7GL09oTsTMQ"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_mYY7YEvQEeW7GL09oTsTMQ" type="Operation_ClassOperationLabel"> - <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_mYLgAEvQEeW7GL09oTsTMQ"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_mYY7YUvQEeW7GL09oTsTMQ"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_ms06UEvQEeW7GL09oTsTMQ" type="Operation_ClassOperationLabel"> - <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_msotEEvQEeW7GL09oTsTMQ"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_ms06UUvQEeW7GL09oTsTMQ"/> - </children> - <styles xmi:type="notation:TitleStyle" xmi:id="_tx-cQUvJEeWZWeCQhncKfA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_tx-cQkvJEeWZWeCQhncKfA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_tx-cQ0vJEeWZWeCQhncKfA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_tx-cREvJEeWZWeCQhncKfA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_tx-cRUvJEeWZWeCQhncKfA" visible="false" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_tx-cRkvJEeWZWeCQhncKfA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_tx-cR0vJEeWZWeCQhncKfA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_tx-cSEvJEeWZWeCQhncKfA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_tx-cSUvJEeWZWeCQhncKfA"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_5TRa0JoPEeeXz9m6CNxSgg" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_5TSB4JoPEeeXz9m6CNxSgg" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_5TTQAJoPEeeXz9m6CNxSgg" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_5TUeIJoPEeeXz9m6CNxSgg" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_5TVFMJoPEeeXz9m6CNxSgg" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_5TW6YJoPEeeXz9m6CNxSgg" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_5TYIgJoPEeeXz9m6CNxSgg" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_5TZWoJoPEeeXz9m6CNxSgg" type="Parameters"/> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_tx15YEvJEeWZWeCQhncKfA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_tx5jwUvJEeWZWeCQhncKfA" x="81" y="314" width="173" height="143"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_0Yv78EvJEeWZWeCQhncKfA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_0Yv78UvJEeWZWeCQhncKfA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_0Yv780vJEeWZWeCQhncKfA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_zFDfcEvJEeWZWeCQhncKfA"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0Yv78kvJEeWZWeCQhncKfA" x="281" y="214"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_LaRW0EvKEeWZWeCQhncKfA" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_LaRW0kvKEeWZWeCQhncKfA" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_LaRW00vKEeWZWeCQhncKfA" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_LaRW1EvKEeWZWeCQhncKfA" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_LaR94EvKEeWZWeCQhncKfA" visible="false" type="Class_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_LaR94UvKEeWZWeCQhncKfA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_LaR94kvKEeWZWeCQhncKfA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_LaR940vKEeWZWeCQhncKfA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LaR95EvKEeWZWeCQhncKfA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_LaR95UvKEeWZWeCQhncKfA" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_LaR95kvKEeWZWeCQhncKfA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_LaR950vKEeWZWeCQhncKfA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_LaR96EvKEeWZWeCQhncKfA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LaR96UvKEeWZWeCQhncKfA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_LaR96kvKEeWZWeCQhncKfA" visible="false" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_LaR960vKEeWZWeCQhncKfA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_LaR97EvKEeWZWeCQhncKfA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_LaR97UvKEeWZWeCQhncKfA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LaR97kvKEeWZWeCQhncKfA"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_5TrDcJoPEeeXz9m6CNxSgg" type="StereotypeLabel"> - <styles xmi:type="notation:StringValueStyle" xmi:id="_5TrDcZoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5TrDcpoPEeeXz9m6CNxSgg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_5TwjAJoPEeeXz9m6CNxSgg" type="StereotypeBrace"> - <styles xmi:type="notation:TitleStyle" xmi:id="_5TwjAZoPEeeXz9m6CNxSgg"/> - <styles xmi:type="notation:StringValueStyle" xmi:id="_5TwjApoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5TwjA5oPEeeXz9m6CNxSgg"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_5TzmUJoPEeeXz9m6CNxSgg" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_5T00cJoPEeeXz9m6CNxSgg" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_5T2CkJoPEeeXz9m6CNxSgg" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_5T3QsJoPEeeXz9m6CNxSgg" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_5T4e0JoPEeeXz9m6CNxSgg" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_5T5s8JoPEeeXz9m6CNxSgg" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_5T67EJoPEeeXz9m6CNxSgg" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_5T8wQJoPEeeXz9m6CNxSgg" type="Parameters"/> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_7YhKcEvJEeWZWeCQhncKfA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LaRW0UvKEeWZWeCQhncKfA" x="75" y="162" height="57"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_Lak40EvKEeWZWeCQhncKfA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Lak40UvKEeWZWeCQhncKfA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Lak400vKEeWZWeCQhncKfA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_7YhKcEvJEeWZWeCQhncKfA"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Lak40kvKEeWZWeCQhncKfA" x="200"/> - </children> - <styles xmi:type="notation:StringValueStyle" xmi:id="_mg0i0UvJEeWZWeCQhncKfA" name="diagram_compatibility_version" stringValue="1.3.0"/> - <styles xmi:type="notation:DiagramStyle" xmi:id="_mg0i0kvJEeWZWeCQhncKfA"/> - <styles xmi:type="style_1:PapyrusDiagramStyle" xmi:id="_5SGWIJoPEeeXz9m6CNxSgg" diagramKindId="org.eclipse.papyrus.uml.diagram.class"> - <owner xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_gcnOkEvSEeW7GL09oTsTMQ"/> - </styles> - <element xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_gcnOkEvSEeW7GL09oTsTMQ"/> - <edges xmi:type="notation:Connector" xmi:id="_zFMCUEvJEeWZWeCQhncKfA" type="Abstraction_Edge" source="_tx5jwEvJEeWZWeCQhncKfA" target="_LaRW0EvKEeWZWeCQhncKfA"> - <children xmi:type="notation:DecorationNode" xmi:id="_zFMpYEvJEeWZWeCQhncKfA" type="Abstraction_NameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_zFMpYUvJEeWZWeCQhncKfA" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_zFMpYkvJEeWZWeCQhncKfA" type="Abstraction_StereotypeLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_zFMpY0vJEeWZWeCQhncKfA" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_zFMCUUvJEeWZWeCQhncKfA"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_zFDfcEvJEeWZWeCQhncKfA"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_zFMCUkvJEeWZWeCQhncKfA" points="[2, -9, -46, 176]$[43, -173, -5, 12]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zG3dUEvJEeWZWeCQhncKfA" id="(0.6184971098265896,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zG4EYEvJEeWZWeCQhncKfA" id="(0.551219512195122,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_0Yv79EvJEeWZWeCQhncKfA" type="StereotypeCommentLink" source="_zFMCUEvJEeWZWeCQhncKfA" target="_0Yv78EvJEeWZWeCQhncKfA"> - <styles xmi:type="notation:FontStyle" xmi:id="_0Yv79UvJEeWZWeCQhncKfA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_0YwjAEvJEeWZWeCQhncKfA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_zFDfcEvJEeWZWeCQhncKfA"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_0Yv79kvJEeWZWeCQhncKfA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_0Yv790vJEeWZWeCQhncKfA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_0Yv7-EvJEeWZWeCQhncKfA"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_Lalf4EvKEeWZWeCQhncKfA" type="StereotypeCommentLink" source="_LaRW0EvKEeWZWeCQhncKfA" target="_Lak40EvKEeWZWeCQhncKfA"> - <styles xmi:type="notation:FontStyle" xmi:id="_Lalf4UvKEeWZWeCQhncKfA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Lalf5UvKEeWZWeCQhncKfA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_7YhKcEvJEeWZWeCQhncKfA"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Lalf4kvKEeWZWeCQhncKfA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Lalf40vKEeWZWeCQhncKfA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Lalf5EvKEeWZWeCQhncKfA"/> - </edges> - </notation:Diagram> - <notation:Diagram xmi:id="_cRvUIEvTEeW7GL09oTsTMQ" type="PapyrusUMLClassDiagram" name="Tests modelelements" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_ek9T8EvTEeW7GL09oTsTMQ" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_ek97AEvTEeW7GL09oTsTMQ" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_ek97AUvTEeW7GL09oTsTMQ" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_ek97AkvTEeW7GL09oTsTMQ" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_ek97A0vTEeW7GL09oTsTMQ" visible="false" type="Class_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_ek97BEvTEeW7GL09oTsTMQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_ek97BUvTEeW7GL09oTsTMQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_ek97BkvTEeW7GL09oTsTMQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ek97B0vTEeW7GL09oTsTMQ"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_ek97CEvTEeW7GL09oTsTMQ" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_ek97CUvTEeW7GL09oTsTMQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_ek97CkvTEeW7GL09oTsTMQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_ek97C0vTEeW7GL09oTsTMQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ek97DEvTEeW7GL09oTsTMQ"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_ek-iEEvTEeW7GL09oTsTMQ" visible="false" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_ek-iEUvTEeW7GL09oTsTMQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_ek-iEkvTEeW7GL09oTsTMQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_ek-iE0vTEeW7GL09oTsTMQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ek-iFEvTEeW7GL09oTsTMQ"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_9CVtkJoPEeeXz9m6CNxSgg" type="StereotypeLabel"> - <styles xmi:type="notation:StringValueStyle" xmi:id="_9CVtkZoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9CVtkpoPEeeXz9m6CNxSgg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_9CZ_AJoPEeeXz9m6CNxSgg" type="StereotypeBrace"> - <styles xmi:type="notation:TitleStyle" xmi:id="_9CZ_AZoPEeeXz9m6CNxSgg"/> - <styles xmi:type="notation:StringValueStyle" xmi:id="_9CZ_ApoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9CZ_A5oPEeeXz9m6CNxSgg"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_9Cb0MJoPEeeXz9m6CNxSgg" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_9CdCUJoPEeeXz9m6CNxSgg" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_9CdpYJoPEeeXz9m6CNxSgg" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_9CeQcJoPEeeXz9m6CNxSgg" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_9Ce3gJoPEeeXz9m6CNxSgg" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_9CfekJoPEeeXz9m6CNxSgg" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_9CgFoJoPEeeXz9m6CNxSgg" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_9ChTwJoPEeeXz9m6CNxSgg" type="Parameters"/> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_v8yNUEvREeW7GL09oTsTMQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ek9T8UvTEeW7GL09oTsTMQ" x="113" y="46" width="228" height="55"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_elSEE0vTEeW7GL09oTsTMQ" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_elSEFEvTEeW7GL09oTsTMQ" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_elSrIEvTEeW7GL09oTsTMQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_v8yNUEvREeW7GL09oTsTMQ"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_elSEFUvTEeW7GL09oTsTMQ" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_hdGlwEvTEeW7GL09oTsTMQ" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_hdGlwkvTEeW7GL09oTsTMQ" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_hdGlw0vTEeW7GL09oTsTMQ" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_hdGlxEvTEeW7GL09oTsTMQ" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_hdHM0EvTEeW7GL09oTsTMQ" visible="false" type="Class_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_hdHM0UvTEeW7GL09oTsTMQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_hdHM0kvTEeW7GL09oTsTMQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_hdHM00vTEeW7GL09oTsTMQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hdHM1EvTEeW7GL09oTsTMQ"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_hdHM1UvTEeW7GL09oTsTMQ" type="Class_OperationCompartment"> - <children xmi:type="notation:Shape" xmi:id="_sHsgMEvTEeW7GL09oTsTMQ" type="Operation_ClassOperationLabel"> - <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_sHiIIEvTEeW7GL09oTsTMQ"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_sHsgMUvTEeW7GL09oTsTMQ"/> - </children> - <styles xmi:type="notation:TitleStyle" xmi:id="_hdHM1kvTEeW7GL09oTsTMQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_hdHM10vTEeW7GL09oTsTMQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_hdHM2EvTEeW7GL09oTsTMQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hdHM2UvTEeW7GL09oTsTMQ"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_hdHM2kvTEeW7GL09oTsTMQ" visible="false" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_hdHM20vTEeW7GL09oTsTMQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_hdHM3EvTEeW7GL09oTsTMQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_hdHM3UvTEeW7GL09oTsTMQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hdHM3kvTEeW7GL09oTsTMQ"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_9DCRIJoPEeeXz9m6CNxSgg" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_9DDfQJoPEeeXz9m6CNxSgg" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_9DEGUJoPEeeXz9m6CNxSgg" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_9DEtYJoPEeeXz9m6CNxSgg" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_9DFUcJoPEeeXz9m6CNxSgg" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_9DGikJoPEeeXz9m6CNxSgg" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_9DHwsJoPEeeXz9m6CNxSgg" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_9DI-0JoPEeeXz9m6CNxSgg" type="Parameters"/> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_hdDicEvTEeW7GL09oTsTMQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hdGlwUvTEeW7GL09oTsTMQ" x="120" y="180" width="221" height="61"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_psmWw0vTEeW7GL09oTsTMQ" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_psmWxEvTEeW7GL09oTsTMQ" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_psmWxkvTEeW7GL09oTsTMQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_iM_xoEvTEeW7GL09oTsTMQ"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_psmWxUvTEeW7GL09oTsTMQ" x="320" y="80"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_VI4ToEyaEeW4oLNX8bopVA" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_VI6I0EyaEeW4oLNX8bopVA" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_VI6I0UyaEeW4oLNX8bopVA" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_VI6I0kyaEeW4oLNX8bopVA" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_VI6v4EyaEeW4oLNX8bopVA" visible="false" type="Class_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_VI6v4UyaEeW4oLNX8bopVA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_VI6v4kyaEeW4oLNX8bopVA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_VI6v40yaEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VI6v5EyaEeW4oLNX8bopVA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_VI6v5UyaEeW4oLNX8bopVA" type="Class_OperationCompartment"> - <children xmi:type="notation:Shape" xmi:id="_Y7d0cEyaEeW4oLNX8bopVA" type="Operation_ClassOperationLabel"> - <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_Y7N80EyaEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_Y7d0cUyaEeW4oLNX8bopVA"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_aYB5EEyaEeW4oLNX8bopVA" type="Operation_ClassOperationLabel"> - <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_aX1r0EyaEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_aYB5EUyaEeW4oLNX8bopVA"/> - </children> - <styles xmi:type="notation:TitleStyle" xmi:id="_VI6v5kyaEeW4oLNX8bopVA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_VI6v50yaEeW4oLNX8bopVA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_VI6v6EyaEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VI6v6UyaEeW4oLNX8bopVA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_VI6v6kyaEeW4oLNX8bopVA" visible="false" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_VI6v60yaEeW4oLNX8bopVA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_VI6v7EyaEeW4oLNX8bopVA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_VI6v7UyaEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VI6v7kyaEeW4oLNX8bopVA"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_9DVzIJoPEeeXz9m6CNxSgg" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_9DXBQJoPEeeXz9m6CNxSgg" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_9DYPYJoPEeeXz9m6CNxSgg" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_9DZdgJoPEeeXz9m6CNxSgg" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_9DaEkJoPEeeXz9m6CNxSgg" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_9DbSsJoPEeeXz9m6CNxSgg" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_9Dcg0JoPEeeXz9m6CNxSgg" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_9Ddu8JoPEeeXz9m6CNxSgg" type="Parameters"/> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_VIuioEyaEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VI4ToUyaEeW4oLNX8bopVA" x="460" y="180" height="61"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_debpUEyaEeW4oLNX8bopVA" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_decQYEyaEeW4oLNX8bopVA" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_decQYUyaEeW4oLNX8bopVA" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_decQYkyaEeW4oLNX8bopVA" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_decQY0yaEeW4oLNX8bopVA" visible="false" type="Class_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_decQZEyaEeW4oLNX8bopVA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_decQZUyaEeW4oLNX8bopVA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_decQZkyaEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_decQZ0yaEeW4oLNX8bopVA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_dec3cEyaEeW4oLNX8bopVA" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_dec3cUyaEeW4oLNX8bopVA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_dec3ckyaEeW4oLNX8bopVA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_dec3c0yaEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_dec3dEyaEeW4oLNX8bopVA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_dec3dUyaEeW4oLNX8bopVA" visible="false" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_dec3dkyaEeW4oLNX8bopVA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_dec3d0yaEeW4oLNX8bopVA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_dec3eEyaEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_dec3eUyaEeW4oLNX8bopVA"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_9DpVIJoPEeeXz9m6CNxSgg" type="StereotypeLabel"> - <styles xmi:type="notation:StringValueStyle" xmi:id="_9DpVIZoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9DpVIpoPEeeXz9m6CNxSgg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_9DtmkJoPEeeXz9m6CNxSgg" type="StereotypeBrace"> - <styles xmi:type="notation:TitleStyle" xmi:id="_9DtmkZoPEeeXz9m6CNxSgg"/> - <styles xmi:type="notation:StringValueStyle" xmi:id="_9DtmkpoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9Dtmk5oPEeeXz9m6CNxSgg"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_9DvbwJoPEeeXz9m6CNxSgg" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_9Dwp4JoPEeeXz9m6CNxSgg" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_9DxQ8JoPEeeXz9m6CNxSgg" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_9DyfEJoPEeeXz9m6CNxSgg" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_9DzGIJoPEeeXz9m6CNxSgg" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_9D0UQJoPEeeXz9m6CNxSgg" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_9D1iYJoPEeeXz9m6CNxSgg" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_9D3XkJoPEeeXz9m6CNxSgg" type="Parameters"/> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_Fcc3AEyaEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_debpUUyaEeW4oLNX8bopVA" x="440" y="40" width="201" height="61"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_deyOoEyaEeW4oLNX8bopVA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_deyOoUyaEeW4oLNX8bopVA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_deyOo0yaEeW4oLNX8bopVA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_Fcc3AEyaEeW4oLNX8bopVA"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_deyOokyaEeW4oLNX8bopVA" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_hqhPQ0yaEeW4oLNX8bopVA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_hqhPREyaEeW4oLNX8bopVA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_hqhPRkyaEeW4oLNX8bopVA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_f0oEoEyaEeW4oLNX8bopVA"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_hqhPRUyaEeW4oLNX8bopVA" x="660" y="80"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_AK-rcEycEeW4oLNX8bopVA" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_AK_5kEycEeW4oLNX8bopVA" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_AK_5kUycEeW4oLNX8bopVA" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_ALAgoEycEeW4oLNX8bopVA" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_ALAgoUycEeW4oLNX8bopVA" visible="false" type="Class_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_ALAgokycEeW4oLNX8bopVA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_ALAgo0ycEeW4oLNX8bopVA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_ALAgpEycEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ALAgpUycEeW4oLNX8bopVA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_ALAgpkycEeW4oLNX8bopVA" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_ALAgp0ycEeW4oLNX8bopVA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_ALAgqEycEeW4oLNX8bopVA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_ALAgqUycEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ALAgqkycEeW4oLNX8bopVA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_ALAgq0ycEeW4oLNX8bopVA" visible="false" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_ALAgrEycEeW4oLNX8bopVA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_ALAgrUycEeW4oLNX8bopVA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_ALAgrkycEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ALAgr0ycEeW4oLNX8bopVA"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_9EV4sJoPEeeXz9m6CNxSgg" type="StereotypeLabel"> - <styles xmi:type="notation:StringValueStyle" xmi:id="_9EV4sZoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9EV4spoPEeeXz9m6CNxSgg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_9EbYQJoPEeeXz9m6CNxSgg" type="StereotypeBrace"> - <styles xmi:type="notation:TitleStyle" xmi:id="_9EbYQZoPEeeXz9m6CNxSgg"/> - <styles xmi:type="notation:StringValueStyle" xmi:id="_9EbYQpoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9EbYQ5oPEeeXz9m6CNxSgg"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_9Ed0gJoPEeeXz9m6CNxSgg" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_9EebkJoPEeeXz9m6CNxSgg" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_9EfpsJoPEeeXz9m6CNxSgg" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_9Eg30JoPEeeXz9m6CNxSgg" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_9EiF8JoPEeeXz9m6CNxSgg" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_9Ej7IJoPEeeXz9m6CNxSgg" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_9ElJQJoPEeeXz9m6CNxSgg" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_9EmXYJoPEeeXz9m6CNxSgg" type="Parameters"/> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_k3o2EEybEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_AK-rcUycEeW4oLNX8bopVA" x="680" y="40" height="61"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_ALQ_U0ycEeW4oLNX8bopVA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_ALQ_VEycEeW4oLNX8bopVA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_ALRmYEycEeW4oLNX8bopVA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_k3o2EEybEeW4oLNX8bopVA"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ALQ_VUycEeW4oLNX8bopVA" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_CDvj4EycEeW4oLNX8bopVA" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_CDvj4kycEeW4oLNX8bopVA" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_CDvj40ycEeW4oLNX8bopVA" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_CDvj5EycEeW4oLNX8bopVA" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_CDvj5UycEeW4oLNX8bopVA" visible="false" type="Class_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_CDvj5kycEeW4oLNX8bopVA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_CDvj50ycEeW4oLNX8bopVA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_CDvj6EycEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CDvj6UycEeW4oLNX8bopVA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_CDvj6kycEeW4oLNX8bopVA" type="Class_OperationCompartment"> - <children xmi:type="notation:Shape" xmi:id="_HkeokEycEeW4oLNX8bopVA" type="Operation_ClassOperationLabel"> - <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_HkR0QEycEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_HkeokUycEeW4oLNX8bopVA"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_JjlZkEycEeW4oLNX8bopVA" type="Operation_ClassOperationLabel"> - <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_JjX-MEycEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_JjlZkUycEeW4oLNX8bopVA"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_LppHIEycEeW4oLNX8bopVA" type="Operation_ClassOperationLabel"> - <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_LpeIAEycEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_LppHIUycEeW4oLNX8bopVA"/> - </children> - <styles xmi:type="notation:TitleStyle" xmi:id="_CDvj60ycEeW4oLNX8bopVA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_CDvj7EycEeW4oLNX8bopVA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_CDvj7UycEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CDvj7kycEeW4oLNX8bopVA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_CDvj70ycEeW4oLNX8bopVA" visible="false" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_CDvj8EycEeW4oLNX8bopVA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_CDvj8UycEeW4oLNX8bopVA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_CDvj8kycEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CDvj80ycEeW4oLNX8bopVA"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_9FH70JoPEeeXz9m6CNxSgg" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_9FJJ8JoPEeeXz9m6CNxSgg" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_9FJxAJoPEeeXz9m6CNxSgg" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_9FK_IJoPEeeXz9m6CNxSgg" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_9FLmMJoPEeeXz9m6CNxSgg" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_9FM0UJoPEeeXz9m6CNxSgg" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_9FNbYJoPEeeXz9m6CNxSgg" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_9FPQkJoPEeeXz9m6CNxSgg" type="Parameters"/> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_CDtHoEycEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CDvj4UycEeW4oLNX8bopVA" x="680" y="180" width="181" height="81"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_RX3OMEycEeW4oLNX8bopVA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_RX3OMUycEeW4oLNX8bopVA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_RX3OM0ycEeW4oLNX8bopVA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_P4npAEycEeW4oLNX8bopVA"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RX3OMkycEeW4oLNX8bopVA" x="880" y="80"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_wCZ6wE1eEeW4oLNX8bopVA" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_wCah0E1eEeW4oLNX8bopVA" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_wCah0U1eEeW4oLNX8bopVA" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_wCah0k1eEeW4oLNX8bopVA" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_wCah001eEeW4oLNX8bopVA" visible="false" type="Class_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_wCah1E1eEeW4oLNX8bopVA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_wCah1U1eEeW4oLNX8bopVA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_wCah1k1eEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wCah101eEeW4oLNX8bopVA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_wCah2E1eEeW4oLNX8bopVA" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_wCah2U1eEeW4oLNX8bopVA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_wCah2k1eEeW4oLNX8bopVA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_wCah201eEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wCah3E1eEeW4oLNX8bopVA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_wCah3U1eEeW4oLNX8bopVA" visible="false" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_wCah3k1eEeW4oLNX8bopVA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_wCah301eEeW4oLNX8bopVA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_wCah4E1eEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wCah4U1eEeW4oLNX8bopVA"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_9FaPsJoPEeeXz9m6CNxSgg" type="StereotypeLabel"> - <styles xmi:type="notation:StringValueStyle" xmi:id="_9FaPsZoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9FaPspoPEeeXz9m6CNxSgg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_9FfvQJoPEeeXz9m6CNxSgg" type="StereotypeBrace"> - <styles xmi:type="notation:TitleStyle" xmi:id="_9FfvQZoPEeeXz9m6CNxSgg"/> - <styles xmi:type="notation:StringValueStyle" xmi:id="_9FfvQpoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9FfvQ5oPEeeXz9m6CNxSgg"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_9FhkcJoPEeeXz9m6CNxSgg" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_9FiykJoPEeeXz9m6CNxSgg" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_9FkAsJoPEeeXz9m6CNxSgg" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_9FlO0JoPEeeXz9m6CNxSgg" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_9Fmc8JoPEeeXz9m6CNxSgg" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_9FoSIJoPEeeXz9m6CNxSgg" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_9FpgQJoPEeeXz9m6CNxSgg" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_9FquYJoPEeeXz9m6CNxSgg" type="Parameters"/> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_XVTu4E1eEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wCZ6wU1eEeW4oLNX8bopVA" x="980" y="40" height="61"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_wCokQ01eEeW4oLNX8bopVA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_wCokRE1eEeW4oLNX8bopVA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_wCokRk1eEeW4oLNX8bopVA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_XVTu4E1eEeW4oLNX8bopVA"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wCokRU1eEeW4oLNX8bopVA" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_xYfj8E1eEeW4oLNX8bopVA" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_xYgLAE1eEeW4oLNX8bopVA" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_xYgLAU1eEeW4oLNX8bopVA" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_xYgLAk1eEeW4oLNX8bopVA" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_xYgLA01eEeW4oLNX8bopVA" visible="false" type="Class_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_xYgLBE1eEeW4oLNX8bopVA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_xYgLBU1eEeW4oLNX8bopVA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_xYgLBk1eEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xYgLB01eEeW4oLNX8bopVA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_xYgLCE1eEeW4oLNX8bopVA" type="Class_OperationCompartment"> - <children xmi:type="notation:Shape" xmi:id="_0in9oE1eEeW4oLNX8bopVA" type="Operation_ClassOperationLabel"> - <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_0iXe8E1eEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_0in9oU1eEeW4oLNX8bopVA"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_3J7-IE1eEeW4oLNX8bopVA" type="Operation_ClassOperationLabel"> - <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_3JrfcE1eEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_3J7-IU1eEeW4oLNX8bopVA"/> - </children> - <styles xmi:type="notation:TitleStyle" xmi:id="_xYgLCU1eEeW4oLNX8bopVA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_xYgLCk1eEeW4oLNX8bopVA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_xYgLC01eEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xYgLDE1eEeW4oLNX8bopVA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_xYgLDU1eEeW4oLNX8bopVA" visible="false" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_xYgLDk1eEeW4oLNX8bopVA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_xYgLD01eEeW4oLNX8bopVA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_xYgLEE1eEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xYgLEU1eEeW4oLNX8bopVA"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_9GLrwJoPEeeXz9m6CNxSgg" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_9GMS0JoPEeeXz9m6CNxSgg" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_9GM54JoPEeeXz9m6CNxSgg" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_9GOIAJoPEeeXz9m6CNxSgg" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_9GPWIJoPEeeXz9m6CNxSgg" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_9GP9MJoPEeeXz9m6CNxSgg" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_9GRLUJoPEeeXz9m6CNxSgg" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_9GSZcJoPEeeXz9m6CNxSgg" type="Parameters"/> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_xYeV0E1eEeW4oLNX8bopVA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xYfj8U1eEeW4oLNX8bopVA" x="980" y="180" height="81"/> - </children> - <children xmi:type="notation:Shape" xmi:id="__IZCc01eEeW4oLNX8bopVA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="__IZCdE1eEeW4oLNX8bopVA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="__IZCdk1eEeW4oLNX8bopVA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_9c6YEE1eEeW4oLNX8bopVA"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="__IZCdU1eEeW4oLNX8bopVA" x="1180" y="80"/> - </children> - <styles xmi:type="notation:StringValueStyle" xmi:id="_cRvUIUvTEeW7GL09oTsTMQ" name="diagram_compatibility_version" stringValue="1.3.0"/> - <styles xmi:type="notation:DiagramStyle" xmi:id="_cRvUIkvTEeW7GL09oTsTMQ"/> - <styles xmi:type="style_1:PapyrusDiagramStyle" xmi:id="_9AWJgJoPEeeXz9m6CNxSgg" diagramKindId="org.eclipse.papyrus.uml.diagram.class"> - <owner xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_j1ufcEvSEeW7GL09oTsTMQ"/> - </styles> - <element xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_j1ufcEvSEeW7GL09oTsTMQ"/> - <edges xmi:type="notation:Connector" xmi:id="_elSrIUvTEeW7GL09oTsTMQ" type="StereotypeCommentLink" source="_ek9T8EvTEeW7GL09oTsTMQ" target="_elSEE0vTEeW7GL09oTsTMQ"> - <styles xmi:type="notation:FontStyle" xmi:id="_elSrIkvTEeW7GL09oTsTMQ"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_elSrJkvTEeW7GL09oTsTMQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_v8yNUEvREeW7GL09oTsTMQ"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_elSrI0vTEeW7GL09oTsTMQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_elSrJEvTEeW7GL09oTsTMQ"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_elSrJUvTEeW7GL09oTsTMQ"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_iNC08EvTEeW7GL09oTsTMQ" type="Abstraction_Edge" source="_hdGlwEvTEeW7GL09oTsTMQ" target="_ek9T8EvTEeW7GL09oTsTMQ"> - <children xmi:type="notation:DecorationNode" xmi:id="_iNDcAEvTEeW7GL09oTsTMQ" type="Abstraction_NameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_iNDcAUvTEeW7GL09oTsTMQ" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_iNDcAkvTEeW7GL09oTsTMQ" type="Abstraction_StereotypeLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_iNDcA0vTEeW7GL09oTsTMQ" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_iNC08UvTEeW7GL09oTsTMQ"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_iM_xoEvTEeW7GL09oTsTMQ"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_iNC08kvTEeW7GL09oTsTMQ" points="[-4, -6, -41, 107]$[-71, -85, -108, 28]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_iNdEoEvTEeW7GL09oTsTMQ" id="(0.45248868778280543,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_iNdEoUvTEeW7GL09oTsTMQ" id="(0.4692982456140351,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_psmWx0vTEeW7GL09oTsTMQ" type="StereotypeCommentLink" source="_iNC08EvTEeW7GL09oTsTMQ" target="_psmWw0vTEeW7GL09oTsTMQ"> - <styles xmi:type="notation:FontStyle" xmi:id="_psmWyEvTEeW7GL09oTsTMQ"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_psm90kvTEeW7GL09oTsTMQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_iM_xoEvTEeW7GL09oTsTMQ"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_psmWyUvTEeW7GL09oTsTMQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_psm90EvTEeW7GL09oTsTMQ"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_psm90UvTEeW7GL09oTsTMQ"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_dey1sEyaEeW4oLNX8bopVA" type="StereotypeCommentLink" source="_debpUEyaEeW4oLNX8bopVA" target="_deyOoEyaEeW4oLNX8bopVA"> - <styles xmi:type="notation:FontStyle" xmi:id="_dey1sUyaEeW4oLNX8bopVA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_dezcwkyaEeW4oLNX8bopVA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_Fcc3AEyaEeW4oLNX8bopVA"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_dey1skyaEeW4oLNX8bopVA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_dezcwEyaEeW4oLNX8bopVA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_dezcwUyaEeW4oLNX8bopVA"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_f0s9IEyaEeW4oLNX8bopVA" type="Abstraction_Edge" source="_VI4ToEyaEeW4oLNX8bopVA" target="_debpUEyaEeW4oLNX8bopVA"> - <children xmi:type="notation:DecorationNode" xmi:id="_f0tkMEyaEeW4oLNX8bopVA" type="Abstraction_NameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_f0tkMUyaEeW4oLNX8bopVA" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_f0tkMkyaEeW4oLNX8bopVA" type="Abstraction_StereotypeLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_f0tkM0yaEeW4oLNX8bopVA" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_f0s9IUyaEeW4oLNX8bopVA"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_f0oEoEyaEeW4oLNX8bopVA"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_f0s9IkyaEeW4oLNX8bopVA" points="[-5, -3, 2, 110]$[-5, -82, 2, 31]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_f1Q90EyaEeW4oLNX8bopVA" id="(0.6466165413533834,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_f1Q90UyaEeW4oLNX8bopVA" id="(0.5124378109452736,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_hqhPR0yaEeW4oLNX8bopVA" type="StereotypeCommentLink" source="_f0s9IEyaEeW4oLNX8bopVA" target="_hqhPQ0yaEeW4oLNX8bopVA"> - <styles xmi:type="notation:FontStyle" xmi:id="_hqhPSEyaEeW4oLNX8bopVA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_hqh2UkyaEeW4oLNX8bopVA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_f0oEoEyaEeW4oLNX8bopVA"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_hqhPSUyaEeW4oLNX8bopVA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_hqh2UEyaEeW4oLNX8bopVA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_hqh2UUyaEeW4oLNX8bopVA"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_ALRmYUycEeW4oLNX8bopVA" type="StereotypeCommentLink" source="_AK-rcEycEeW4oLNX8bopVA" target="_ALQ_U0ycEeW4oLNX8bopVA"> - <styles xmi:type="notation:FontStyle" xmi:id="_ALRmYkycEeW4oLNX8bopVA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_ALRmZkycEeW4oLNX8bopVA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_k3o2EEybEeW4oLNX8bopVA"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ALRmY0ycEeW4oLNX8bopVA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ALRmZEycEeW4oLNX8bopVA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ALRmZUycEeW4oLNX8bopVA"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_P4shgEycEeW4oLNX8bopVA" type="Abstraction_Edge" source="_CDvj4EycEeW4oLNX8bopVA" target="_AK-rcEycEeW4oLNX8bopVA"> - <children xmi:type="notation:DecorationNode" xmi:id="_P4tIkEycEeW4oLNX8bopVA" type="Abstraction_NameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_P4tIkUycEeW4oLNX8bopVA" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_P4tvoEycEeW4oLNX8bopVA" type="Abstraction_StereotypeLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_P4tvoUycEeW4oLNX8bopVA" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_P4shgUycEeW4oLNX8bopVA"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_P4npAEycEeW4oLNX8bopVA"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_P4shgkycEeW4oLNX8bopVA" points="[-7, -3, -5, 110]$[-7, -82, -5, 31]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_P5bhUEycEeW4oLNX8bopVA" id="(0.5303867403314917,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_P5bhUUycEeW4oLNX8bopVA" id="(0.47643979057591623,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_RX3ONEycEeW4oLNX8bopVA" type="StereotypeCommentLink" source="_P4shgEycEeW4oLNX8bopVA" target="_RX3OMEycEeW4oLNX8bopVA"> - <styles xmi:type="notation:FontStyle" xmi:id="_RX3ONUycEeW4oLNX8bopVA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_RX3OOUycEeW4oLNX8bopVA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_P4npAEycEeW4oLNX8bopVA"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_RX3ONkycEeW4oLNX8bopVA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_RX3ON0ycEeW4oLNX8bopVA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_RX3OOEycEeW4oLNX8bopVA"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_wCokR01eEeW4oLNX8bopVA" type="StereotypeCommentLink" source="_wCZ6wE1eEeW4oLNX8bopVA" target="_wCokQ01eEeW4oLNX8bopVA"> - <styles xmi:type="notation:FontStyle" xmi:id="_wCokSE1eEeW4oLNX8bopVA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_wCokTE1eEeW4oLNX8bopVA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_XVTu4E1eEeW4oLNX8bopVA"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_wCokSU1eEeW4oLNX8bopVA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_wCokSk1eEeW4oLNX8bopVA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_wCokS01eEeW4oLNX8bopVA"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_9c80UE1eEeW4oLNX8bopVA" type="Abstraction_Edge" source="_xYfj8E1eEeW4oLNX8bopVA" target="_wCZ6wE1eEeW4oLNX8bopVA"> - <children xmi:type="notation:DecorationNode" xmi:id="_9c80U01eEeW4oLNX8bopVA" type="Abstraction_NameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_9c80VE1eEeW4oLNX8bopVA" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_9c80VU1eEeW4oLNX8bopVA" type="Abstraction_StereotypeLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_9c9bYE1eEeW4oLNX8bopVA" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_9c80UU1eEeW4oLNX8bopVA"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_9c6YEE1eEeW4oLNX8bopVA"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_9c80Uk1eEeW4oLNX8bopVA" points="[0, -8, 5, 110]$[0, -87, 5, 31]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9dr0IE1eEeW4oLNX8bopVA" id="(0.5533333333333333,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9dr0IU1eEeW4oLNX8bopVA" id="(0.532051282051282,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="__IZCd01eEeW4oLNX8bopVA" type="StereotypeCommentLink" source="_9c80UE1eEeW4oLNX8bopVA" target="__IZCc01eEeW4oLNX8bopVA"> - <styles xmi:type="notation:FontStyle" xmi:id="__IZCeE1eEeW4oLNX8bopVA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="__IZpgk1eEeW4oLNX8bopVA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_9c6YEE1eEeW4oLNX8bopVA"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__IZCeU1eEeW4oLNX8bopVA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="__IZpgE1eEeW4oLNX8bopVA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="__IZpgU1eEeW4oLNX8bopVA"/> - </edges> - </notation:Diagram> - <notation:Diagram xmi:id="_T9g6UFCYEeWWUsSyiZaNIg" type="PapyrusUMLClassDiagram" name="Tests blocks" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_WvjkIFCYEeWWUsSyiZaNIg" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_WvkLMFCYEeWWUsSyiZaNIg" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_WvkLMVCYEeWWUsSyiZaNIg" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_WvkLMlCYEeWWUsSyiZaNIg" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_WvkLM1CYEeWWUsSyiZaNIg" visible="false" type="Class_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_WvkLNFCYEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_WvkLNVCYEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_WvkLNlCYEeWWUsSyiZaNIg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WvkLN1CYEeWWUsSyiZaNIg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_WvkLOFCYEeWWUsSyiZaNIg" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_WvkLOVCYEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_WvkLOlCYEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_WvkLO1CYEeWWUsSyiZaNIg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WvkLPFCYEeWWUsSyiZaNIg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_WvkLPVCYEeWWUsSyiZaNIg" visible="false" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_WvkLPlCYEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_WvkLP1CYEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_WvkLQFCYEeWWUsSyiZaNIg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WvkLQVCYEeWWUsSyiZaNIg"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_-XVxoJoPEeeXz9m6CNxSgg" type="StereotypeLabel"> - <styles xmi:type="notation:StringValueStyle" xmi:id="_-XVxoZoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-XVxopoPEeeXz9m6CNxSgg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_-XZcAJoPEeeXz9m6CNxSgg" type="StereotypeBrace"> - <styles xmi:type="notation:TitleStyle" xmi:id="_-XZcAZoPEeeXz9m6CNxSgg"/> - <styles xmi:type="notation:StringValueStyle" xmi:id="_-XZcApoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-XZcA5oPEeeXz9m6CNxSgg"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_-XaqIJoPEeeXz9m6CNxSgg" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_-XbRMJoPEeeXz9m6CNxSgg" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_-Xb4QJoPEeeXz9m6CNxSgg" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_-XdGYJoPEeeXz9m6CNxSgg" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_-XdtcJoPEeeXz9m6CNxSgg" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_-XeUgJoPEeeXz9m6CNxSgg" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_-Xe7kJoPEeeXz9m6CNxSgg" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_-XgJsJoPEeeXz9m6CNxSgg" type="Parameters"/> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_fNa8kFB9EeWWUsSyiZaNIg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WvjkIVCYEeWWUsSyiZaNIg" x="40" y="40" height="49"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_Wv14A1CYEeWWUsSyiZaNIg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Wv14BFCYEeWWUsSyiZaNIg" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Wv2fEFCYEeWWUsSyiZaNIg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_fNa8kFB9EeWWUsSyiZaNIg"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Wv14BVCYEeWWUsSyiZaNIg" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_9vTYcFCnEeWWUsSyiZaNIg" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_9vT_gVCnEeWWUsSyiZaNIg" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_9vT_glCnEeWWUsSyiZaNIg" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_9vT_g1CnEeWWUsSyiZaNIg" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_9vT_hFCnEeWWUsSyiZaNIg" visible="false" type="Class_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_9vT_hVCnEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_9vT_hlCnEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_9vT_h1CnEeWWUsSyiZaNIg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9vT_iFCnEeWWUsSyiZaNIg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_9vUmkFCnEeWWUsSyiZaNIg" type="Class_OperationCompartment"> - <children xmi:type="notation:Shape" xmi:id="_A_nSoFCoEeWWUsSyiZaNIg" type="Operation_ClassOperationLabel"> - <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_A_cTgFCoEeWWUsSyiZaNIg"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_A_nSoVCoEeWWUsSyiZaNIg"/> - </children> - <styles xmi:type="notation:TitleStyle" xmi:id="_9vUmkVCnEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_9vUmklCnEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_9vUmk1CnEeWWUsSyiZaNIg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9vUmlFCnEeWWUsSyiZaNIg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_9vUmlVCnEeWWUsSyiZaNIg" visible="false" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_9vUmllCnEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_9vUml1CnEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_9vUmmFCnEeWWUsSyiZaNIg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9vUmmVCnEeWWUsSyiZaNIg"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_-X9csJoPEeeXz9m6CNxSgg" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_-X-DwJoPEeeXz9m6CNxSgg" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_-X_R4JoPEeeXz9m6CNxSgg" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_-X_48JoPEeeXz9m6CNxSgg" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_-YBHEJoPEeeXz9m6CNxSgg" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_-YCVMJoPEeeXz9m6CNxSgg" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_-YC8QJoPEeeXz9m6CNxSgg" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_-YEKYJoPEeeXz9m6CNxSgg" type="Parameters"/> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_9vQVIFCnEeWWUsSyiZaNIg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9vT_gFCnEeWWUsSyiZaNIg" x="40" y="180" width="221" height="61"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_H4--MFCoEeWWUsSyiZaNIg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_H4--MVCoEeWWUsSyiZaNIg" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_H4--M1CoEeWWUsSyiZaNIg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_FdM4QFCoEeWWUsSyiZaNIg"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_H4--MlCoEeWWUsSyiZaNIg" x="520" y="200"/> - </children> - <styles xmi:type="notation:StringValueStyle" xmi:id="_T9g6UVCYEeWWUsSyiZaNIg" name="diagram_compatibility_version" stringValue="1.3.0"/> - <styles xmi:type="notation:DiagramStyle" xmi:id="_T9g6UlCYEeWWUsSyiZaNIg"/> - <styles xmi:type="style_1:PapyrusDiagramStyle" xmi:id="_-WYvYJoPEeeXz9m6CNxSgg" diagramKindId="org.eclipse.papyrus.uml.diagram.class"> - <owner xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_PhZUUFCYEeWWUsSyiZaNIg"/> - </styles> - <element xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_PhZUUFCYEeWWUsSyiZaNIg"/> - <edges xmi:type="notation:Connector" xmi:id="_Wv2fEVCYEeWWUsSyiZaNIg" type="StereotypeCommentLink" source="_WvjkIFCYEeWWUsSyiZaNIg" target="_Wv14A1CYEeWWUsSyiZaNIg"> - <styles xmi:type="notation:FontStyle" xmi:id="_Wv2fElCYEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Wv2fFlCYEeWWUsSyiZaNIg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_fNa8kFB9EeWWUsSyiZaNIg"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Wv2fE1CYEeWWUsSyiZaNIg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Wv2fFFCYEeWWUsSyiZaNIg"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Wv2fFVCYEeWWUsSyiZaNIg"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_FdPUgFCoEeWWUsSyiZaNIg" type="Abstraction_Edge" source="_9vTYcFCnEeWWUsSyiZaNIg" target="_WvjkIFCYEeWWUsSyiZaNIg"> - <children xmi:type="notation:DecorationNode" xmi:id="_FdPUg1CoEeWWUsSyiZaNIg" type="Abstraction_NameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_FdPUhFCoEeWWUsSyiZaNIg" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_FdPUhVCoEeWWUsSyiZaNIg" type="Abstraction_StereotypeLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_FdPUhlCoEeWWUsSyiZaNIg" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_FdPUgVCoEeWWUsSyiZaNIg"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_FdM4QFCoEeWWUsSyiZaNIg"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_FdPUglCoEeWWUsSyiZaNIg" points="[6, -6, 0, 145]$[-3, -134, -9, 17]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FdgaQFCoEeWWUsSyiZaNIg" id="(0.5429864253393665,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FdgaQVCoEeWWUsSyiZaNIg" id="(0.5405405405405406,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_H4--NFCoEeWWUsSyiZaNIg" type="StereotypeCommentLink" source="_FdPUgFCoEeWWUsSyiZaNIg" target="_H4--MFCoEeWWUsSyiZaNIg"> - <styles xmi:type="notation:FontStyle" xmi:id="_H4--NVCoEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_H4--OVCoEeWWUsSyiZaNIg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_FdM4QFCoEeWWUsSyiZaNIg"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_H4--NlCoEeWWUsSyiZaNIg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_H4--N1CoEeWWUsSyiZaNIg"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_H4--OFCoEeWWUsSyiZaNIg"/> - </edges> - </notation:Diagram> - <notation:Diagram xmi:id="_fkEZ0FCwEeWWUsSyiZaNIg" type="PapyrusUMLClassDiagram" name="test deprecated elements" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_iUn14FCwEeWWUsSyiZaNIg" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_iUoc8FCwEeWWUsSyiZaNIg" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_iUoc8VCwEeWWUsSyiZaNIg" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_iUoc8lCwEeWWUsSyiZaNIg" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_iUoc81CwEeWWUsSyiZaNIg" visible="false" type="Class_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_iUoc9FCwEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_iUoc9VCwEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_iUoc9lCwEeWWUsSyiZaNIg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iUoc91CwEeWWUsSyiZaNIg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_iUoc-FCwEeWWUsSyiZaNIg" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_iUoc-VCwEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_iUoc-lCwEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_iUoc-1CwEeWWUsSyiZaNIg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iUoc_FCwEeWWUsSyiZaNIg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_iUoc_VCwEeWWUsSyiZaNIg" visible="false" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_iUoc_lCwEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_iUoc_1CwEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_iUodAFCwEeWWUsSyiZaNIg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iUodAVCwEeWWUsSyiZaNIg"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__Y_b4JoPEeeXz9m6CNxSgg" type="StereotypeLabel"> - <styles xmi:type="notation:StringValueStyle" xmi:id="__Y_b4ZoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="__Y_b4poPEeeXz9m6CNxSgg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="__ZEUYJoPEeeXz9m6CNxSgg" type="StereotypeBrace"> - <styles xmi:type="notation:TitleStyle" xmi:id="__ZEUYZoPEeeXz9m6CNxSgg"/> - <styles xmi:type="notation:StringValueStyle" xmi:id="__ZEUYpoPEeeXz9m6CNxSgg" name="stereotype" stringValue="SysML::Requirements::Requirement"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="__ZEUY5oPEeeXz9m6CNxSgg"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="__ZFigJoPEeeXz9m6CNxSgg" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="__ZGwoJoPEeeXz9m6CNxSgg" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="__ZHXsJoPEeeXz9m6CNxSgg" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="__ZH-wJoPEeeXz9m6CNxSgg" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="__ZJz8JoPEeeXz9m6CNxSgg" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="__ZKbAJoPEeeXz9m6CNxSgg" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="__ZLpIJoPEeeXz9m6CNxSgg" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="__ZM3QJoPEeeXz9m6CNxSgg" type="Parameters"/> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_zZT7YFCvEeWWUsSyiZaNIg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iUn14VCwEeWWUsSyiZaNIg" x="120" y="20" width="201" height="41"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_iU3Gc1CwEeWWUsSyiZaNIg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_iU3GdFCwEeWWUsSyiZaNIg" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_iU3GdlCwEeWWUsSyiZaNIg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_zZT7YFCvEeWWUsSyiZaNIg"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iU3GdVCwEeWWUsSyiZaNIg" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_jRFeIFCwEeWWUsSyiZaNIg" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_jRFeIlCwEeWWUsSyiZaNIg" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_jRFeI1CwEeWWUsSyiZaNIg" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_jRFeJFCwEeWWUsSyiZaNIg" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_jRFeJVCwEeWWUsSyiZaNIg" visible="false" type="Class_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_jRFeJlCwEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_jRFeJ1CwEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_jRFeKFCwEeWWUsSyiZaNIg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jRFeKVCwEeWWUsSyiZaNIg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_jRFeKlCwEeWWUsSyiZaNIg" type="Class_OperationCompartment"> - <children xmi:type="notation:Shape" xmi:id="_rBHr8FCwEeWWUsSyiZaNIg" type="Operation_ClassOperationLabel"> - <element xmi:type="uml:Operation" href="org.eclipse.papyrus.sysml14.uml#_rBAXMFCwEeWWUsSyiZaNIg"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_rBHr8VCwEeWWUsSyiZaNIg"/> - </children> - <styles xmi:type="notation:TitleStyle" xmi:id="_jRFeK1CwEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_jRFeLFCwEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_jRFeLVCwEeWWUsSyiZaNIg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jRGFMFCwEeWWUsSyiZaNIg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_jRGFMVCwEeWWUsSyiZaNIg" visible="false" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_jRGFMlCwEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_jRGFM1CwEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_jRGFNFCwEeWWUsSyiZaNIg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jRGFNVCwEeWWUsSyiZaNIg"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="__ZqxUJoPEeeXz9m6CNxSgg" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="__ZrYYJoPEeeXz9m6CNxSgg" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="__ZsmgJoPEeeXz9m6CNxSgg" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="__Zt0oJoPEeeXz9m6CNxSgg" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="__ZubsJoPEeeXz9m6CNxSgg" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="__Zvp0JoPEeeXz9m6CNxSgg" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="__Zw38JoPEeeXz9m6CNxSgg" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="__ZyGEJoPEeeXz9m6CNxSgg" type="Parameters"/> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_jRDB4FCwEeWWUsSyiZaNIg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jRFeIVCwEeWWUsSyiZaNIg" x="120" y="120" width="201" height="41"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_n-200FCwEeWWUsSyiZaNIg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_n-200VCwEeWWUsSyiZaNIg" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_n-2001CwEeWWUsSyiZaNIg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_mhEoMFCwEeWWUsSyiZaNIg"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_n-200lCwEeWWUsSyiZaNIg" x="320" y="100"/> - </children> - <styles xmi:type="notation:StringValueStyle" xmi:id="_fkEZ0VCwEeWWUsSyiZaNIg" name="diagram_compatibility_version" stringValue="1.3.0"/> - <styles xmi:type="notation:DiagramStyle" xmi:id="_fkEZ0lCwEeWWUsSyiZaNIg"/> - <styles xmi:type="style_1:PapyrusDiagramStyle" xmi:id="__X4ooJoPEeeXz9m6CNxSgg" diagramKindId="org.eclipse.papyrus.uml.diagram.class"> - <owner xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_Yfgx8FCwEeWWUsSyiZaNIg"/> - </styles> - <element xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_Yfgx8FCwEeWWUsSyiZaNIg"/> - <edges xmi:type="notation:Connector" xmi:id="_iU3Gd1CwEeWWUsSyiZaNIg" type="StereotypeCommentLink" source="_iUn14FCwEeWWUsSyiZaNIg" target="_iU3Gc1CwEeWWUsSyiZaNIg"> - <styles xmi:type="notation:FontStyle" xmi:id="_iU3GeFCwEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_iU3GfFCwEeWWUsSyiZaNIg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_zZT7YFCvEeWWUsSyiZaNIg"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_iU3GeVCwEeWWUsSyiZaNIg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_iU3GelCwEeWWUsSyiZaNIg"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_iU3Ge1CwEeWWUsSyiZaNIg"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_mhFPQFCwEeWWUsSyiZaNIg" type="Abstraction_Edge" source="_jRFeIFCwEeWWUsSyiZaNIg" target="_iUn14FCwEeWWUsSyiZaNIg"> - <children xmi:type="notation:DecorationNode" xmi:id="_mhF2UFCwEeWWUsSyiZaNIg" type="Abstraction_NameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_mhF2UVCwEeWWUsSyiZaNIg" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_mhF2UlCwEeWWUsSyiZaNIg" type="Abstraction_StereotypeLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_mhF2U1CwEeWWUsSyiZaNIg" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_mhFPQVCwEeWWUsSyiZaNIg"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_mhEoMFCwEeWWUsSyiZaNIg"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_mhFPQlCwEeWWUsSyiZaNIg" points="[0, -3, 0, 92]$[-15, -79, -15, 16]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_mhVG4FCwEeWWUsSyiZaNIg" id="(0.4975124378109453,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_mhVG4VCwEeWWUsSyiZaNIg" id="(0.4975124378109453,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_n-201FCwEeWWUsSyiZaNIg" type="StereotypeCommentLink" source="_mhFPQFCwEeWWUsSyiZaNIg" target="_n-200FCwEeWWUsSyiZaNIg"> - <styles xmi:type="notation:FontStyle" xmi:id="_n-201VCwEeWWUsSyiZaNIg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_n-202VCwEeWWUsSyiZaNIg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_mhEoMFCwEeWWUsSyiZaNIg"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_n-201lCwEeWWUsSyiZaNIg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_n-2011CwEeWWUsSyiZaNIg"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_n-202FCwEeWWUsSyiZaNIg"/> - </edges> - </notation:Diagram> - <notation:Diagram xmi:id="_mdOcMFFvEeWFqsbjn0GMrw" type="RequirementDiagram" name="FlowPortRequirementsDiagram" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_6ghycFFvEeWFqsbjn0GMrw" type="shape_sysml_requirement_as_classifier"> - <children xmi:type="notation:DecorationNode" xmi:id="_6gjAkFFvEeWFqsbjn0GMrw" type="5029"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_6gjAkVFvEeWFqsbjn0GMrw" type="7017"> - <styles xmi:type="notation:TitleStyle" xmi:id="_6gjAklFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_6gjAk1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_6gjAlFFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6gjAlVFvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_6gjAllFvEeWFqsbjn0GMrw" type="7018"> - <styles xmi:type="notation:TitleStyle" xmi:id="_6gjAl1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_6gjAmFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_6gjAmVFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6gjAmlFvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_6gjAm1FvEeWFqsbjn0GMrw" type="7019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_6gjAnFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_6gjAnVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_6gjAnlFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6gjAn1FvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_6gjAoFFvEeWFqsbjn0GMrw" type="compartment_sysml_requirement_idinfo_as_list"> - <children xmi:type="notation:DecorationNode" xmi:id="_6gjnoFFvEeWFqsbjn0GMrw" type="label_sysml_requirement_id"/> - <children xmi:type="notation:DecorationNode" xmi:id="_6gjnoVFvEeWFqsbjn0GMrw" type="label_sysml_requirement_text"/> - <styles xmi:type="notation:TitleStyle" xmi:id="_6gjAoVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_6gjAolFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_6gjAo1FvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6gjApFFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_Von2kFFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6ghycVFvEeWFqsbjn0GMrw" x="354" y="125"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_6hSnc1FvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_6hSndFFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_6hSndlFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_Von2kFFvEeWFqsbjn0GMrw"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6hSndVFvEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_690ycFFvEeWFqsbjn0GMrw" type="shape_sysml_requirement_as_classifier"> - <children xmi:type="notation:DecorationNode" xmi:id="_692AkFFvEeWFqsbjn0GMrw" type="5029"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_692AkVFvEeWFqsbjn0GMrw" type="7017"> - <styles xmi:type="notation:TitleStyle" xmi:id="_692AklFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_692Ak1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_692AlFFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_692AlVFvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_692AllFvEeWFqsbjn0GMrw" type="7018"> - <styles xmi:type="notation:TitleStyle" xmi:id="_692Al1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_692AmFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_692AmVFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_692AmlFvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_692Am1FvEeWFqsbjn0GMrw" type="7019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_692AnFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_692AnVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_692AnlFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_692An1FvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_692AoFFvEeWFqsbjn0GMrw" type="compartment_sysml_requirement_idinfo_as_list"> - <children xmi:type="notation:DecorationNode" xmi:id="_692noFFvEeWFqsbjn0GMrw" type="label_sysml_requirement_id"/> - <children xmi:type="notation:DecorationNode" xmi:id="_692noVFvEeWFqsbjn0GMrw" type="label_sysml_requirement_text"/> - <styles xmi:type="notation:TitleStyle" xmi:id="_692AoVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_692AolFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_692Ao1FvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_692ApFFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_b0XAEFFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_690ycVFvEeWFqsbjn0GMrw" x="532" y="235"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_6-b2cFFvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_6-b2cVFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_6-b2c1FvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_b0XAEFFvEeWFqsbjn0GMrw"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6-b2clFvEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_7ZOVAFFvEeWFqsbjn0GMrw" type="shape_sysml_requirement_as_classifier"> - <children xmi:type="notation:DecorationNode" xmi:id="_7ZO8EFFvEeWFqsbjn0GMrw" type="5029"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_7ZO8EVFvEeWFqsbjn0GMrw" type="7017"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7ZO8ElFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7ZO8E1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7ZO8FFFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7ZO8FVFvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_7ZO8FlFvEeWFqsbjn0GMrw" type="7018"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7ZO8F1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7ZO8GFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7ZO8GVFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7ZO8GlFvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_7ZPjIFFvEeWFqsbjn0GMrw" type="7019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7ZPjIVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7ZPjIlFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7ZPjI1FvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7ZPjJFFvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_7ZPjJVFvEeWFqsbjn0GMrw" type="compartment_sysml_requirement_idinfo_as_list"> - <children xmi:type="notation:DecorationNode" xmi:id="_7ZPjKlFvEeWFqsbjn0GMrw" type="label_sysml_requirement_id"/> - <children xmi:type="notation:DecorationNode" xmi:id="_7ZPjK1FvEeWFqsbjn0GMrw" type="label_sysml_requirement_text"/> - <styles xmi:type="notation:TitleStyle" xmi:id="_7ZPjJlFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7ZPjJ1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7ZPjKFFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7ZPjKVFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_fOtnEFFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7ZOVAVFvEeWFqsbjn0GMrw" x="120" y="120"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_7ZbJU1FvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7ZbJVFFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_7ZbwYFFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_fOtnEFFvEeWFqsbjn0GMrw"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7ZbJVVFvEeWFqsbjn0GMrw" x="200"/> - </children> - <styles xmi:type="notation:DiagramStyle" xmi:id="_mdOcMVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="style:PapyrusViewStyle" xmi:id="_mdOcMlFvEeWFqsbjn0GMrw"> - <owner xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_1BmroFFvEeWFqsbjn0GMrw"/> - </styles> - <styles xmi:type="notation:StringValueStyle" xmi:id="_mdqhEFFvEeWFqsbjn0GMrw" name="diagram_compatibility_version" stringValue="1.1.0"/> - <element xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_1BmroFFvEeWFqsbjn0GMrw"/> - <edges xmi:type="notation:Connector" xmi:id="_6hSnd1FvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_6ghycFFvEeWFqsbjn0GMrw" target="_6hSnc1FvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_6hSneFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_6hTOgFFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_Von2kFFvEeWFqsbjn0GMrw"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_6hSneVFvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_6hSnelFvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_6hSne1FvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_6-b2dFFvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_690ycFFvEeWFqsbjn0GMrw" target="_6-b2cFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_6-b2dVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_6-cdgFFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_b0XAEFFvEeWFqsbjn0GMrw"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_6-b2dlFvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_6-b2d1FvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_6-b2eFFvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_7ZbwYVFvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_7ZOVAFFvEeWFqsbjn0GMrw" target="_7ZbJU1FvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_7ZbwYlFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_7ZbwZlFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_fOtnEFFvEeWFqsbjn0GMrw"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_7ZbwY1FvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_7ZbwZFFvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_7ZbwZVFvEeWFqsbjn0GMrw"/> - </edges> - </notation:Diagram> - <notation:Diagram xmi:id="_qMmbgFFwEeWFqsbjn0GMrw" type="RequirementDiagram" name="FlowPropertyDiagram" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_VdxawFIaEeWOVPwTUSkFAw" type="shape_sysml_requirement_as_classifier"> - <children xmi:type="notation:DecorationNode" xmi:id="_VdxawlIaEeWOVPwTUSkFAw" type="5029"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_VdyB0FIaEeWOVPwTUSkFAw" type="7017"> - <styles xmi:type="notation:TitleStyle" xmi:id="_VdyB0VIaEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_VdyB0lIaEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_VdyB01IaEeWOVPwTUSkFAw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VdyB1FIaEeWOVPwTUSkFAw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_VdyB1VIaEeWOVPwTUSkFAw" type="7018"> - <styles xmi:type="notation:TitleStyle" xmi:id="_VdyB1lIaEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_VdyB11IaEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_VdyB2FIaEeWOVPwTUSkFAw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VdyB2VIaEeWOVPwTUSkFAw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_VdyB2lIaEeWOVPwTUSkFAw" type="7019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_VdyB21IaEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_VdyB3FIaEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_VdyB3VIaEeWOVPwTUSkFAw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VdyB3lIaEeWOVPwTUSkFAw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_VdyB31IaEeWOVPwTUSkFAw" type="compartment_sysml_requirement_idinfo_as_list"> - <children xmi:type="notation:DecorationNode" xmi:id="_VdyB5FIaEeWOVPwTUSkFAw" type="label_sysml_requirement_id"/> - <children xmi:type="notation:DecorationNode" xmi:id="_VdyB5VIaEeWOVPwTUSkFAw" type="label_sysml_requirement_text"/> - <styles xmi:type="notation:TitleStyle" xmi:id="_VdyB4FIaEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_VdyB4VIaEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_VdyB4lIaEeWOVPwTUSkFAw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VdyB41IaEeWOVPwTUSkFAw"/> - </children> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_vgDSIFFwEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VdxawVIaEeWOVPwTUSkFAw" x="193" y="247"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_Vd1FJVIaEeWOVPwTUSkFAw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Vd1FJlIaEeWOVPwTUSkFAw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Vd1FKFIaEeWOVPwTUSkFAw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_vgDSIFFwEeWFqsbjn0GMrw"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Vd1FJ1IaEeWOVPwTUSkFAw" x="200"/> - </children> - <styles xmi:type="notation:DiagramStyle" xmi:id="_qMmbgVFwEeWFqsbjn0GMrw"/> - <styles xmi:type="style:PapyrusViewStyle" xmi:id="_qMmbglFwEeWFqsbjn0GMrw"> - <owner xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_gyMWkFFwEeWFqsbjn0GMrw"/> - </styles> - <styles xmi:type="notation:StringValueStyle" xmi:id="_qMwMgFFwEeWFqsbjn0GMrw" name="diagram_compatibility_version" stringValue="1.1.0"/> - <element xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_gyMWkFFwEeWFqsbjn0GMrw"/> - <edges xmi:type="notation:Connector" xmi:id="_Vd1FKVIaEeWOVPwTUSkFAw" type="StereotypeCommentLink" source="_VdxawFIaEeWOVPwTUSkFAw" target="_Vd1FJVIaEeWOVPwTUSkFAw"> - <styles xmi:type="notation:FontStyle" xmi:id="_Vd1FKlIaEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Vd1FLlIaEeWOVPwTUSkFAw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_vgDSIFFwEeWFqsbjn0GMrw"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Vd1FK1IaEeWOVPwTUSkFAw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Vd1FLFIaEeWOVPwTUSkFAw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Vd1FLVIaEeWOVPwTUSkFAw"/> - </edges> - </notation:Diagram> - <notation:Diagram xmi:id="_lNfRYFIZEeWOVPwTUSkFAw" type="RequirementDiagram" name="BlockReq" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_lwTDgFIZEeWOVPwTUSkFAw" type="shape_sysml_requirement_as_classifier"> - <children xmi:type="notation:DecorationNode" xmi:id="_lwU4sFIZEeWOVPwTUSkFAw" type="5029"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_lwVfwFIZEeWOVPwTUSkFAw" type="7017"> - <styles xmi:type="notation:TitleStyle" xmi:id="_lwVfwVIZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_lwVfwlIZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_lwVfw1IZEeWOVPwTUSkFAw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lwVfxFIZEeWOVPwTUSkFAw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_lwVfxVIZEeWOVPwTUSkFAw" type="7018"> - <styles xmi:type="notation:TitleStyle" xmi:id="_lwVfxlIZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_lwVfx1IZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_lwVfyFIZEeWOVPwTUSkFAw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lwVfyVIZEeWOVPwTUSkFAw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_lwVfylIZEeWOVPwTUSkFAw" type="7019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_lwVfy1IZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_lwVfzFIZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_lwVfzVIZEeWOVPwTUSkFAw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lwVfzlIZEeWOVPwTUSkFAw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_lwVfz1IZEeWOVPwTUSkFAw" type="compartment_sysml_requirement_idinfo_as_list"> - <children xmi:type="notation:DecorationNode" xmi:id="_lwVf1FIZEeWOVPwTUSkFAw" type="label_sysml_requirement_id"/> - <children xmi:type="notation:DecorationNode" xmi:id="_lwVf1VIZEeWOVPwTUSkFAw" type="label_sysml_requirement_text"/> - <styles xmi:type="notation:TitleStyle" xmi:id="_lwVf0FIZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_lwVf0VIZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_lwVf0lIZEeWOVPwTUSkFAw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lwVf01IZEeWOVPwTUSkFAw"/> - </children> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_ZyAskFIZEeWOVPwTUSkFAw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lwTDgVIZEeWOVPwTUSkFAw" x="213" y="2"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_lwhtAFIZEeWOVPwTUSkFAw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_lwhtAVIZEeWOVPwTUSkFAw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_lwiUEFIZEeWOVPwTUSkFAw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_ZyAskFIZEeWOVPwTUSkFAw"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lwhtAlIZEeWOVPwTUSkFAw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_mYTesFIZEeWOVPwTUSkFAw" type="shape_sysml_requirement_as_classifier"> - <children xmi:type="notation:DecorationNode" xmi:id="_mYUFwFIZEeWOVPwTUSkFAw" type="5029"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_mYUFwVIZEeWOVPwTUSkFAw" type="7017"> - <styles xmi:type="notation:TitleStyle" xmi:id="_mYUFwlIZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_mYUFw1IZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_mYUFxFIZEeWOVPwTUSkFAw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_mYUFxVIZEeWOVPwTUSkFAw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_mYUFxlIZEeWOVPwTUSkFAw" type="7018"> - <styles xmi:type="notation:TitleStyle" xmi:id="_mYUFx1IZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_mYUFyFIZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_mYUFyVIZEeWOVPwTUSkFAw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_mYUFylIZEeWOVPwTUSkFAw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_mYUFy1IZEeWOVPwTUSkFAw" type="7019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_mYUFzFIZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_mYUFzVIZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_mYUFzlIZEeWOVPwTUSkFAw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_mYUFz1IZEeWOVPwTUSkFAw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_mYUF0FIZEeWOVPwTUSkFAw" type="compartment_sysml_requirement_idinfo_as_list"> - <children xmi:type="notation:DecorationNode" xmi:id="_mYUF1VIZEeWOVPwTUSkFAw" type="label_sysml_requirement_id"/> - <children xmi:type="notation:DecorationNode" xmi:id="_mYUF1lIZEeWOVPwTUSkFAw" type="label_sysml_requirement_text"/> - <styles xmi:type="notation:TitleStyle" xmi:id="_mYUF0VIZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_mYUF0lIZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_mYUF01IZEeWOVPwTUSkFAw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_mYUF1FIZEeWOVPwTUSkFAw"/> - </children> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_fOtnEFFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_mYTesVIZEeWOVPwTUSkFAw" x="29" y="328"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_mYlLgFIZEeWOVPwTUSkFAw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_mYlLgVIZEeWOVPwTUSkFAw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_mYlLg1IZEeWOVPwTUSkFAw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_fOtnEFFvEeWFqsbjn0GMrw"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_mYlLglIZEeWOVPwTUSkFAw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_xY8ho1IZEeWOVPwTUSkFAw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_xY8hpFIZEeWOVPwTUSkFAw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_xY8hplIZEeWOVPwTUSkFAw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_uNl_8FIZEeWOVPwTUSkFAw"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xY8hpVIZEeWOVPwTUSkFAw" x="406" y="234"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8Heg4FIZEeWOVPwTUSkFAw" type="shape_sysml_requirement_as_classifier"> - <children xmi:type="notation:DecorationNode" xmi:id="_8Heg4lIZEeWOVPwTUSkFAw" type="5029"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_8Heg41IZEeWOVPwTUSkFAw" type="7017"> - <styles xmi:type="notation:TitleStyle" xmi:id="_8Heg5FIZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_8Heg5VIZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_8Heg5lIZEeWOVPwTUSkFAw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8Heg51IZEeWOVPwTUSkFAw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_8Heg6FIZEeWOVPwTUSkFAw" type="7018"> - <styles xmi:type="notation:TitleStyle" xmi:id="_8Heg6VIZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_8Heg6lIZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_8Heg61IZEeWOVPwTUSkFAw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8Heg7FIZEeWOVPwTUSkFAw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_8Heg7VIZEeWOVPwTUSkFAw" type="7019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_8Heg7lIZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_8Heg71IZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_8Heg8FIZEeWOVPwTUSkFAw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8Heg8VIZEeWOVPwTUSkFAw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_8Heg8lIZEeWOVPwTUSkFAw" type="compartment_sysml_requirement_idinfo_as_list"> - <children xmi:type="notation:DecorationNode" xmi:id="_8Heg91IZEeWOVPwTUSkFAw" type="label_sysml_requirement_id"/> - <children xmi:type="notation:DecorationNode" xmi:id="_8Heg-FIZEeWOVPwTUSkFAw" type="label_sysml_requirement_text"/> - <styles xmi:type="notation:TitleStyle" xmi:id="_8Heg81IZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_8Heg9FIZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_8Heg9VIZEeWOVPwTUSkFAw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8Heg9lIZEeWOVPwTUSkFAw"/> - </children> - <element xmi:type="uml:Class" href="omg.sysml.uml#_66Gknzq8EeW79ofuztDyTA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8Heg4VIZEeWOVPwTUSkFAw" x="455" y="2"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8Hmcs1IZEeWOVPwTUSkFAw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_8HmctFIZEeWOVPwTUSkFAw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8HmctlIZEeWOVPwTUSkFAw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="omg.sysml.uml#_66Gknzq8EeW79ofuztDyTA"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8HmctVIZEeWOVPwTUSkFAw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="__gXIQ1IZEeWOVPwTUSkFAw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="__gXIRFIZEeWOVPwTUSkFAw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="__gXIRlIZEeWOVPwTUSkFAw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_9nWYMFIZEeWOVPwTUSkFAw"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="__gXIRVIZEeWOVPwTUSkFAw" x="406" y="234"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_M0nxUFYEEeW77p7V_ZuW3Q" type="shape_sysml_requirement_as_classifier"> - <children xmi:type="notation:DecorationNode" xmi:id="_M0oYYFYEEeW77p7V_ZuW3Q" type="5029"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_M0oYYVYEEeW77p7V_ZuW3Q" type="7017"> - <styles xmi:type="notation:TitleStyle" xmi:id="_M0oYYlYEEeW77p7V_ZuW3Q"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_M0oYY1YEEeW77p7V_ZuW3Q"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_M0oYZFYEEeW77p7V_ZuW3Q"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_M0oYZVYEEeW77p7V_ZuW3Q"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_M0oYZlYEEeW77p7V_ZuW3Q" type="7018"> - <styles xmi:type="notation:TitleStyle" xmi:id="_M0oYZ1YEEeW77p7V_ZuW3Q"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_M0oYaFYEEeW77p7V_ZuW3Q"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_M0oYaVYEEeW77p7V_ZuW3Q"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_M0oYalYEEeW77p7V_ZuW3Q"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_M0oYa1YEEeW77p7V_ZuW3Q" type="7019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_M0oYbFYEEeW77p7V_ZuW3Q"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_M0oYbVYEEeW77p7V_ZuW3Q"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_M0oYblYEEeW77p7V_ZuW3Q"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_M0oYb1YEEeW77p7V_ZuW3Q"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_M0oYcFYEEeW77p7V_ZuW3Q" type="compartment_sysml_requirement_idinfo_as_list"> - <children xmi:type="notation:DecorationNode" xmi:id="_M0oYdVYEEeW77p7V_ZuW3Q" type="label_sysml_requirement_id"/> - <children xmi:type="notation:DecorationNode" xmi:id="_M0oYdlYEEeW77p7V_ZuW3Q" type="label_sysml_requirement_text"/> - <styles xmi:type="notation:TitleStyle" xmi:id="_M0oYcVYEEeW77p7V_ZuW3Q"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_M0oYclYEEeW77p7V_ZuW3Q"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_M0oYc1YEEeW77p7V_ZuW3Q"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_M0oYdFYEEeW77p7V_ZuW3Q"/> - </children> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_GvJA0FYEEeW77p7V_ZuW3Q"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_M0nxUVYEEeW77p7V_ZuW3Q" x="206" y="323"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_M0tQ4FYEEeW77p7V_ZuW3Q" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_M0tQ4VYEEeW77p7V_ZuW3Q" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_M0tQ41YEEeW77p7V_ZuW3Q" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_GvJA0FYEEeW77p7V_ZuW3Q"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_M0tQ4lYEEeW77p7V_ZuW3Q" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_B58LUFeXEeW35uAYw-w4dQ" type="shape_sysml_requirement_as_classifier"> - <children xmi:type="notation:DecorationNode" xmi:id="_B58LUleXEeW35uAYw-w4dQ" type="5029"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_B58LU1eXEeW35uAYw-w4dQ" type="7017"> - <styles xmi:type="notation:TitleStyle" xmi:id="_B58LVFeXEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_B58LVVeXEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_B58LVleXEeW35uAYw-w4dQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_B58LV1eXEeW35uAYw-w4dQ"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_B58LWFeXEeW35uAYw-w4dQ" type="7018"> - <styles xmi:type="notation:TitleStyle" xmi:id="_B58LWVeXEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_B58LWleXEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_B58LW1eXEeW35uAYw-w4dQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_B58LXFeXEeW35uAYw-w4dQ"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_B58LXVeXEeW35uAYw-w4dQ" type="7019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_B58LXleXEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_B58LX1eXEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_B58LYFeXEeW35uAYw-w4dQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_B58LYVeXEeW35uAYw-w4dQ"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_B58LYleXEeW35uAYw-w4dQ" type="compartment_sysml_requirement_idinfo_as_list"> - <children xmi:type="notation:DecorationNode" xmi:id="_B58LZ1eXEeW35uAYw-w4dQ" type="label_sysml_requirement_id"/> - <children xmi:type="notation:DecorationNode" xmi:id="_B58LaFeXEeW35uAYw-w4dQ" type="label_sysml_requirement_text"/> - <styles xmi:type="notation:TitleStyle" xmi:id="_B58LY1eXEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_B58LZFeXEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_B58LZVeXEeW35uAYw-w4dQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_B58LZleXEeW35uAYw-w4dQ"/> - </children> - <element xmi:type="uml:Class" href="omg.sysml.uml#_66Jn6Tq8EeW79ofuztDyTA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_B58LUVeXEeW35uAYw-w4dQ" x="454" y="122"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_B6C5A1eXEeW35uAYw-w4dQ" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_B6C5BFeXEeW35uAYw-w4dQ" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_B6DgEFeXEeW35uAYw-w4dQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="omg.sysml.uml#_66Jn6Tq8EeW79ofuztDyTA"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_B6C5BVeXEeW35uAYw-w4dQ" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_IGd_A1eXEeW35uAYw-w4dQ" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_IGd_BFeXEeW35uAYw-w4dQ" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_IGd_BleXEeW35uAYw-w4dQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_HW-bwFeXEeW35uAYw-w4dQ"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_IGd_BVeXEeW35uAYw-w4dQ" x="413" y="-98"/> - </children> - <children xmi:type="notation:Shape" xmi:id="__AQL8FeXEeW35uAYw-w4dQ" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="__AQL8VeXEeW35uAYw-w4dQ" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="__AQL81eXEeW35uAYw-w4dQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_-MFkEFeXEeW35uAYw-w4dQ"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="__AQL8leXEeW35uAYw-w4dQ" x="406" y="223"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_OAUR0FeYEeW35uAYw-w4dQ" type="shape_sysml_requirement_as_classifier"> - <children xmi:type="notation:DecorationNode" xmi:id="_OAU44FeYEeW35uAYw-w4dQ" type="5029"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_OAU44VeYEeW35uAYw-w4dQ" type="7017"> - <styles xmi:type="notation:TitleStyle" xmi:id="_OAU44leYEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_OAU441eYEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_OAU45FeYEeW35uAYw-w4dQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OAU45VeYEeW35uAYw-w4dQ"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_OAU45leYEeW35uAYw-w4dQ" type="7018"> - <styles xmi:type="notation:TitleStyle" xmi:id="_OAU451eYEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_OAU46FeYEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_OAU46VeYEeW35uAYw-w4dQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OAU46leYEeW35uAYw-w4dQ"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_OAU461eYEeW35uAYw-w4dQ" type="7019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_OAU47FeYEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_OAU47VeYEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_OAU47leYEeW35uAYw-w4dQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OAU471eYEeW35uAYw-w4dQ"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_OAU48FeYEeW35uAYw-w4dQ" type="compartment_sysml_requirement_idinfo_as_list"> - <children xmi:type="notation:DecorationNode" xmi:id="_OAU49VeYEeW35uAYw-w4dQ" type="label_sysml_requirement_id"/> - <children xmi:type="notation:DecorationNode" xmi:id="_OAU49leYEeW35uAYw-w4dQ" type="label_sysml_requirement_text"/> - <styles xmi:type="notation:TitleStyle" xmi:id="_OAU48VeYEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_OAU48leYEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_OAU481eYEeW35uAYw-w4dQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OAU49FeYEeW35uAYw-w4dQ"/> - </children> - <element xmi:type="uml:Class" href="omg.sysml.uml#_66IZyTq8EeW79ofuztDyTA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OAUR0VeYEeW35uAYw-w4dQ" x="455" y="250"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_OAcNoFeYEeW35uAYw-w4dQ" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_OAcNoVeYEeW35uAYw-w4dQ" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_OAcNo1eYEeW35uAYw-w4dQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="omg.sysml.uml#_66IZyTq8EeW79ofuztDyTA"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OAcNoleYEeW35uAYw-w4dQ" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_QXhZwFeYEeW35uAYw-w4dQ" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_QXhZwVeYEeW35uAYw-w4dQ" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_QXhZw1eYEeW35uAYw-w4dQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_O7L-oFeYEeW35uAYw-w4dQ"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QXhZwleYEeW35uAYw-w4dQ" x="406" y="223"/> - </children> - <styles xmi:type="notation:DiagramStyle" xmi:id="_lNfRYVIZEeWOVPwTUSkFAw"/> - <styles xmi:type="style:PapyrusViewStyle" xmi:id="_lNfRYlIZEeWOVPwTUSkFAw"> - <owner xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_R-maoFIZEeWOVPwTUSkFAw"/> - </styles> - <styles xmi:type="notation:StringValueStyle" xmi:id="_lNt64FIZEeWOVPwTUSkFAw" name="diagram_compatibility_version" stringValue="1.1.0"/> - <element xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.uml#_R-maoFIZEeWOVPwTUSkFAw"/> - <edges xmi:type="notation:Connector" xmi:id="_lwiUEVIZEeWOVPwTUSkFAw" type="StereotypeCommentLink" source="_lwTDgFIZEeWOVPwTUSkFAw" target="_lwhtAFIZEeWOVPwTUSkFAw"> - <styles xmi:type="notation:FontStyle" xmi:id="_lwiUElIZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_lwi7IlIZEeWOVPwTUSkFAw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_ZyAskFIZEeWOVPwTUSkFAw"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_lwiUE1IZEeWOVPwTUSkFAw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_lwi7IFIZEeWOVPwTUSkFAw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_lwi7IVIZEeWOVPwTUSkFAw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_mYlLhFIZEeWOVPwTUSkFAw" type="StereotypeCommentLink" source="_mYTesFIZEeWOVPwTUSkFAw" target="_mYlLgFIZEeWOVPwTUSkFAw"> - <styles xmi:type="notation:FontStyle" xmi:id="_mYlLhVIZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_mYlykFIZEeWOVPwTUSkFAw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_fOtnEFFvEeWFqsbjn0GMrw"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_mYlLhlIZEeWOVPwTUSkFAw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_mYlLh1IZEeWOVPwTUSkFAw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_mYlLiFIZEeWOVPwTUSkFAw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_uNpDQFIZEeWOVPwTUSkFAw" type="4006" source="_lwTDgFIZEeWOVPwTUSkFAw" target="_mYTesFIZEeWOVPwTUSkFAw"> - <children xmi:type="notation:DecorationNode" xmi:id="_uNpqUFIZEeWOVPwTUSkFAw" type="6014"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_uNpqUVIZEeWOVPwTUSkFAw" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_uNpqUlIZEeWOVPwTUSkFAw" type="6015"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_uNpqU1IZEeWOVPwTUSkFAw" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_uNpDQVIZEeWOVPwTUSkFAw"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_uNl_8FIZEeWOVPwTUSkFAw"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_uNpDQlIZEeWOVPwTUSkFAw" points="[0, 0, -68, 287]$[61, -305, -7, -18]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_uOKAoFIZEeWOVPwTUSkFAw" id="(0.0,0.13)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_uOKnsFIZEeWOVPwTUSkFAw" id="(1.0,0.79)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_xY8hp1IZEeWOVPwTUSkFAw" type="StereotypeCommentLink" source="_uNpDQFIZEeWOVPwTUSkFAw" target="_xY8ho1IZEeWOVPwTUSkFAw"> - <styles xmi:type="notation:FontStyle" xmi:id="_xY8hqFIZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_xY8hrFIZEeWOVPwTUSkFAw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_uNl_8FIZEeWOVPwTUSkFAw"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_xY8hqVIZEeWOVPwTUSkFAw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_xY8hqlIZEeWOVPwTUSkFAw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_xY8hq1IZEeWOVPwTUSkFAw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8Hmct1IZEeWOVPwTUSkFAw" type="StereotypeCommentLink" source="_8Heg4FIZEeWOVPwTUSkFAw" target="_8Hmcs1IZEeWOVPwTUSkFAw"> - <styles xmi:type="notation:FontStyle" xmi:id="_8HmcuFIZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8HmcvFIZEeWOVPwTUSkFAw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="omg.sysml.uml#_66Gknzq8EeW79ofuztDyTA"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8HmcuVIZEeWOVPwTUSkFAw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8HmculIZEeWOVPwTUSkFAw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8Hmcu1IZEeWOVPwTUSkFAw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_9nZbgFIZEeWOVPwTUSkFAw" type="4006" source="_lwTDgFIZEeWOVPwTUSkFAw" target="_8Heg4FIZEeWOVPwTUSkFAw"> - <children xmi:type="notation:DecorationNode" xmi:id="_9naCkFIZEeWOVPwTUSkFAw" type="6014"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_9naCkVIZEeWOVPwTUSkFAw" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_9naCklIZEeWOVPwTUSkFAw" type="6015"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_9naCk1IZEeWOVPwTUSkFAw" x="-6" y="24"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_9nZbgVIZEeWOVPwTUSkFAw"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_9nWYMFIZEeWOVPwTUSkFAw"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_9nZbglIZEeWOVPwTUSkFAw" points="[0, 0, 24, 245]$[28, -268, 52, -23]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9n6Y4FIZEeWOVPwTUSkFAw" id="(1.0,0.17)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9n6Y4VIZEeWOVPwTUSkFAw" id="(0.0,0.4)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="__gXIR1IZEeWOVPwTUSkFAw" type="StereotypeCommentLink" source="_9nZbgFIZEeWOVPwTUSkFAw" target="__gXIQ1IZEeWOVPwTUSkFAw"> - <styles xmi:type="notation:FontStyle" xmi:id="__gXISFIZEeWOVPwTUSkFAw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="__gXITFIZEeWOVPwTUSkFAw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_9nWYMFIZEeWOVPwTUSkFAw"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__gXISVIZEeWOVPwTUSkFAw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="__gXISlIZEeWOVPwTUSkFAw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="__gXIS1IZEeWOVPwTUSkFAw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_M0t38FYEEeW77p7V_ZuW3Q" type="StereotypeCommentLink" source="_M0nxUFYEEeW77p7V_ZuW3Q" target="_M0tQ4FYEEeW77p7V_ZuW3Q"> - <styles xmi:type="notation:FontStyle" xmi:id="_M0t38VYEEeW77p7V_ZuW3Q"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_M0t39VYEEeW77p7V_ZuW3Q" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.uml#_GvJA0FYEEeW77p7V_ZuW3Q"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_M0t38lYEEeW77p7V_ZuW3Q" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_M0t381YEEeW77p7V_ZuW3Q"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_M0t39FYEEeW77p7V_ZuW3Q"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_B6DgEVeXEeW35uAYw-w4dQ" type="StereotypeCommentLink" source="_B58LUFeXEeW35uAYw-w4dQ" target="_B6C5A1eXEeW35uAYw-w4dQ"> - <styles xmi:type="notation:FontStyle" xmi:id="_B6DgEleXEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_B6DgFleXEeW35uAYw-w4dQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="omg.sysml.uml#_66Jn6Tq8EeW79ofuztDyTA"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_B6DgE1eXEeW35uAYw-w4dQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_B6DgFFeXEeW35uAYw-w4dQ"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_B6DgFVeXEeW35uAYw-w4dQ"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_HXCtMFeXEeW35uAYw-w4dQ" type="4006" source="_lwTDgFIZEeWOVPwTUSkFAw" target="_B58LUFeXEeW35uAYw-w4dQ"> - <children xmi:type="notation:DecorationNode" xmi:id="_HXDUQFeXEeW35uAYw-w4dQ" type="6014"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_HXDUQVeXEeW35uAYw-w4dQ" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_HXDUQleXEeW35uAYw-w4dQ" type="6015"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_HXDUQ1eXEeW35uAYw-w4dQ" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_HXCtMVeXEeW35uAYw-w4dQ"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_HW-bwFeXEeW35uAYw-w4dQ"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_HXCtMleXEeW35uAYw-w4dQ" points="[0, 0, -185, -67]$[141, 55, -44, -12]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_HXc84FeXEeW35uAYw-w4dQ" id=""/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_HXc84VeXEeW35uAYw-w4dQ" id="(0.0,0.15)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_IGd_B1eXEeW35uAYw-w4dQ" type="StereotypeCommentLink" source="_HXCtMFeXEeW35uAYw-w4dQ" target="_IGd_A1eXEeW35uAYw-w4dQ"> - <styles xmi:type="notation:FontStyle" xmi:id="_IGd_CFeXEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_IGd_DFeXEeW35uAYw-w4dQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_HW-bwFeXEeW35uAYw-w4dQ"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_IGd_CVeXEeW35uAYw-w4dQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_IGd_CleXEeW35uAYw-w4dQ"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_IGd_C1eXEeW35uAYw-w4dQ"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_-MGyMFeXEeW35uAYw-w4dQ" type="4006" source="_M0nxUFYEEeW77p7V_ZuW3Q" target="_mYTesFIZEeWOVPwTUSkFAw"> - <children xmi:type="notation:DecorationNode" xmi:id="_-MGyM1eXEeW35uAYw-w4dQ" type="6014"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_-MGyNFeXEeW35uAYw-w4dQ" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_-MGyNVeXEeW35uAYw-w4dQ" type="6015"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_-MGyNleXEeW35uAYw-w4dQ" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_-MGyMVeXEeW35uAYw-w4dQ"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_-MFkEFeXEeW35uAYw-w4dQ"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_-MGyMleXEeW35uAYw-w4dQ" points="[-100, -6, 69, 0]$[-155, -15, 14, -9]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_-Ml6YFeXEeW35uAYw-w4dQ" id="(1.0,0.31)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_-Ml6YVeXEeW35uAYw-w4dQ" id="(1.0,0.21)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="__AQL9FeXEeW35uAYw-w4dQ" type="StereotypeCommentLink" source="_-MGyMFeXEeW35uAYw-w4dQ" target="__AQL8FeXEeW35uAYw-w4dQ"> - <styles xmi:type="notation:FontStyle" xmi:id="__AQL9VeXEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="__AQL-VeXEeW35uAYw-w4dQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_-MFkEFeXEeW35uAYw-w4dQ"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__AQL9leXEeW35uAYw-w4dQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="__AQL91eXEeW35uAYw-w4dQ"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="__AQL-FeXEeW35uAYw-w4dQ"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_OAcNpFeYEeW35uAYw-w4dQ" type="StereotypeCommentLink" source="_OAUR0FeYEeW35uAYw-w4dQ" target="_OAcNoFeYEeW35uAYw-w4dQ"> - <styles xmi:type="notation:FontStyle" xmi:id="_OAcNpVeYEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_OAcNqVeYEeW35uAYw-w4dQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="omg.sysml.uml#_66IZyTq8EeW79ofuztDyTA"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OAcNpleYEeW35uAYw-w4dQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OAcNp1eYEeW35uAYw-w4dQ"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OAcNqFeYEeW35uAYw-w4dQ"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_O7PpAFeYEeW35uAYw-w4dQ" type="4006" source="_M0nxUFYEEeW77p7V_ZuW3Q" target="_OAUR0FeYEeW35uAYw-w4dQ"> - <children xmi:type="notation:DecorationNode" xmi:id="_O7QQEFeYEeW35uAYw-w4dQ" type="6014"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_O7QQEVeYEeW35uAYw-w4dQ" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_O7QQEleYEeW35uAYw-w4dQ" type="6015"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_O7QQE1eYEeW35uAYw-w4dQ" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_O7PpAVeYEeW35uAYw-w4dQ"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_O7L-oFeYEeW35uAYw-w4dQ"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_O7PpAleYEeW35uAYw-w4dQ" points="[0, 0, -160, 92]$[149, -95, -11, -3]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_O7xNcFeYEeW35uAYw-w4dQ" id=""/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_O7xNcVeYEeW35uAYw-w4dQ" id="(0.0,0.24)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_QXhZxFeYEeW35uAYw-w4dQ" type="StereotypeCommentLink" source="_O7PpAFeYEeW35uAYw-w4dQ" target="_QXhZwFeYEeW35uAYw-w4dQ"> - <styles xmi:type="notation:FontStyle" xmi:id="_QXhZxVeYEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_QXhZyVeYEeW35uAYw-w4dQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.uml#_O7L-oFeYEeW35uAYw-w4dQ"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_QXhZxleYEeW35uAYw-w4dQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_QXhZx1eYEeW35uAYw-w4dQ"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_QXhZyFeYEeW35uAYw-w4dQ"/> - </edges> - </notation:Diagram> - <nattable:Table xmi:id="_z7W68JoPEeeXz9m6CNxSgg" name="RequirementTable" currentRowAxisProvider="_z7W69JoPEeeXz9m6CNxSgg" currentColumnAxisProvider="_z7W68ZoPEeeXz9m6CNxSgg" tableKindId="org.eclipse.papyrus.sysml14.table.requirement"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_z7YJEJoPEeeXz9m6CNxSgg" source="http://www.eclipse.org/papyrus/infra/nattable/version"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_z7YJEZoPEeeXz9m6CNxSgg" key="version" value="1.3.0"/> - </eAnnotations> - <context xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.uml#_Py6ZopsTEeSu6pfLknKE4A"/> - <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.uml#_Py6ZopsTEeSu6pfLknKE4A"/> - <tableConfiguration xmi:type="nattableconfiguration:TableConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/resources/requirement.nattableconfiguration#/"/> - <columnAxisProvidersHistory xmi:type="nattableaxisprovider:SlaveObjectAxisProvider" xmi:id="_z7W68ZoPEeeXz9m6CNxSgg" description="Provides the columns of the tables with a default configuration" name="Requirements Feature Columns Provider"> - <axis xmi:type="nattableaxis:FeatureIdAxis" xmi:id="_z7W68poPEeeXz9m6CNxSgg" element="property_of_stereotype:/SysML::Requirements::Requirement::id"> - <manager xmi:type="nattableaxisconfiguration:AxisManagerRepresentation" href="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/resources/requirement.nattableconfiguration#//@columnHeaderAxisConfiguration/@axisManagers.1"/> - </axis> - <axis xmi:type="nattableaxis:FeatureIdAxis" xmi:id="_z7W685oPEeeXz9m6CNxSgg" element="property_of_stereotype:/SysML::Requirements::Requirement::text"> - <manager xmi:type="nattableaxisconfiguration:AxisManagerRepresentation" href="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/resources/requirement.nattableconfiguration#//@columnHeaderAxisConfiguration/@axisManagers.1"/> - </axis> - </columnAxisProvidersHistory> - <rowAxisProvidersHistory xmi:type="nattableaxisprovider:MasterObjectAxisProvider" xmi:id="_z7W69JoPEeeXz9m6CNxSgg" description="Provides the requirements directly owned by the context of the table" name="Requirement Axis Provider" disconnectSlave="true"/> - </nattable:Table> -</xmi:XMI>
diff --git a/core/org.eclipse.papyrus.sysml14/resources/doc/org.eclipse.papyrus.sysml14.uml b/core/org.eclipse.papyrus.sysml14/resources/doc/org.eclipse.papyrus.sysml14.uml deleted file mode 100644 index da10cdf..0000000 --- a/core/org.eclipse.papyrus.sysml14/resources/doc/org.eclipse.papyrus.sysml14.uml +++ /dev/null
@@ -1,269 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Requirements="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"> - <uml:Model xmi:id="_Py6ZoJsTEeSu6pfLknKE4A" name="org.eclipse.papyrus.sysml14"> - <packageImport xmi:type="uml:PackageImport" xmi:id="_Py6ZoZsTEeSu6pfLknKE4A"> - <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/> - </packageImport> - <packageImport xmi:type="uml:PackageImport" xmi:id="_YlZWgDrCEeWNg8WvR7UDoQ"> - <importedPackage xmi:type="uml:Package" href="omg.sysml.uml#_hXjKoDqsEeWNg8WvR7UDoQ"/> - </packageImport> - <packageImport xmi:type="uml:PackageImport" xmi:id="_SPzrQEvKEeWZWeCQhncKfA"> - <importedPackage xmi:type="uml:Model" href="omg.sysml.uml#_d7ALQDqsEeWNg8WvR7UDoQ"/> - </packageImport> - <packagedElement xmi:type="uml:Model" xmi:id="_Py6ZopsTEeSu6pfLknKE4A" name="Requirements"> - <packagedElement xmi:type="uml:Class" xmi:id="_PTiQ0JslEeSu6pfLknKE4A" name="DerivedProperties"> - <nestedClassifier xmi:type="uml:Class" xmi:id="_7YhKcEvJEeWZWeCQhncKfA" name="DerivedPropertiesForRequirements"/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_v8yNUEvREeW7GL09oTsTMQ" name="DerivedPropertiesForStakeholder"/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_Fcc3AEyaEeW4oLNX8bopVA" name="DerivedPropertiesForViewPoint"/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_k3o2EEybEeW4oLNX8bopVA" name="DerivedPropertiesForElementGroup"/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_XVTu4E1eEeW4oLNX8bopVA" name="DerivedPropertiesForView"/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_fNa8kFB9EeWWUsSyiZaNIg" name="DerivedPropertiesForBoundReference"/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_zZT7YFCvEeWWUsSyiZaNIg" name="DerivedPropertiesForFlowPort"/> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_ngV8oJsxEeSYaIZuWOBlYQ" name="ServiceRegistryCall"/> - <packagedElement xmi:type="uml:Class" xmi:id="_Kl7pgJs2EeSYaIZuWOBlYQ" name="Association"> - <nestedClassifier xmi:type="uml:Class" xmi:id="_SI8vAJs2EeSYaIZuWOBlYQ" name="Association must have 2 association ends"/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_gQ_nwJs2EeSYaIZuWOBlYQ" name="OptionalName "/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_EUOlcJs3EeSYaIZuWOBlYQ" name="A property must reference a Block"/> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_zxkO8Js3EeSYaIZuWOBlYQ" name="connector end of bindingconnector"/> - <packagedElement xmi:type="uml:Class" xmi:id="_p8VYwJtDEeSYaIZuWOBlYQ" name="ConnectorEnd"> - <nestedClassifier xmi:type="uml:Class" xmi:id="_BWfykJtDEeSYaIZuWOBlYQ" name="NestedConnector automatically created"/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_DlXBYJtEEeS5lMkaDojPJg" name="First property in propertyPath"/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_NWLbMJtEEeS5lMkaDojPJg" name="Last property of property path"/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_n3sgIJtGEeS5lMkaDojPJg" name="take in account property is encapsulated of the block"/> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_HlOKIJv9EeS1Sc9sg-ntVw" name="DisplayOrientedIconPort"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_ijvz0EvKEeWZWeCQhncKfA" client="_7YhKcEvJEeWZWeCQhncKfA"> - <supplier xmi:type="uml:Class" href="omg.sysml.uml#_66XDTTq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_PLg6MEvSEeW7GL09oTsTMQ" client="_v8yNUEvREeW7GL09oTsTMQ"> - <supplier xmi:type="uml:Class" href="omg.sysml.uml#_66GkkTq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_uAOnsEyaEeW4oLNX8bopVA" client="_Fcc3AEyaEeW4oLNX8bopVA"> - <supplier xmi:type="uml:Class" href="omg.sysml.uml#_66GklTq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_8TxwYEybEeW4oLNX8bopVA" client="_k3o2EEybEeW4oLNX8bopVA"> - <supplier xmi:type="uml:Class" href="omg.sysml.uml#_66F9ijq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_sKOvUE1eEeW4oLNX8bopVA" client="_XVTu4E1eEeW4oLNX8bopVA"> - <supplier xmi:type="uml:Class" href="omg.sysml.uml#_66Gkkzq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_vff8kFCAEeWWUsSyiZaNIg" client="_fNa8kFB9EeWWUsSyiZaNIg"> - <supplier xmi:type="uml:Class" href="omg.sysml.uml#_66Jn6zq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_LNlo4FCwEeWWUsSyiZaNIg" client="_zZT7YFCvEeWWUsSyiZaNIg"> - <supplier xmi:type="uml:Class" href="omg.sysml.uml#_66bUwDq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_fOtnEFFvEeWFqsbjn0GMrw" name="SysML-Extension"/> - <packagedElement xmi:type="uml:Package" xmi:id="_1BmroFFvEeWFqsbjn0GMrw" name="DeprecatedElements"> - <packagedElement xmi:type="uml:Class" xmi:id="_Von2kFFvEeWFqsbjn0GMrw" name="FlowPort"> - <nestedClassifier xmi:type="uml:Class" xmi:id="_b0XAEFFvEeWFqsbjn0GMrw" name="FlowPortIcons"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_Bf28EFFwEeWFqsbjn0GMrw" name="DeriveReqt1" client="_b0XAEFFvEeWFqsbjn0GMrw"/> - <packagedElement xmi:type="uml:Class" xmi:id="_RP-kMGE6EeWbSMDuSXx8SQ" name="REQ_001"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_RTxfEGE6EeWbSMDuSXx8SQ" name="DeriveFrom_REQ-OMG-SYSML14-9.1.5 Deprecation of Flow Ports and Flow Specifications" client="_RP-kMGE6EeWbSMDuSXx8SQ"> - <supplier xmi:type="uml:Class" href="omg.sysml.uml#_66MrOTq8EeW79ofuztDyTA"/> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_gyMWkFFwEeWFqsbjn0GMrw" name="PortsAndFlows"> - <packagedElement xmi:type="uml:Class" xmi:id="_vgDSIFFwEeWFqsbjn0GMrw" name="FlowProperty"> - <nestedClassifier xmi:type="uml:Class" xmi:id="_5W_iEFFwEeWFqsbjn0GMrw" name="FlowPropertyIcons"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_9_9RQFFwEeWFqsbjn0GMrw" name="DeriveReqt1" client="_5W_iEFFwEeWFqsbjn0GMrw" supplier="_fOtnEFFvEeWFqsbjn0GMrw"/> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_R-maoFIZEeWOVPwTUSkFAw" name="Blocks"> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_uNl_8FIZEeWOVPwTUSkFAw" client="_ZyAskFIZEeWOVPwTUSkFAw" supplier="_fOtnEFFvEeWFqsbjn0GMrw"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_9nWYMFIZEeWOVPwTUSkFAw" client="_ZyAskFIZEeWOVPwTUSkFAw"> - <supplier xmi:type="uml:Class" href="omg.sysml.uml#_66Gknzq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_an2S8FIaEeWOVPwTUSkFAw" name="Block"> - <nestedClassifier xmi:type="uml:Class" xmi:id="_ZyAskFIZEeWOVPwTUSkFAw" name="References"/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_GvJA0FYEEeW77p7V_ZuW3Q" name="Parts"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_HW-bwFeXEeW35uAYw-w4dQ" client="_ZyAskFIZEeWOVPwTUSkFAw"> - <supplier xmi:type="uml:Class" href="omg.sysml.uml#_66Jn6Tq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_-MFkEFeXEeW35uAYw-w4dQ" client="_GvJA0FYEEeW77p7V_ZuW3Q" supplier="_fOtnEFFvEeWFqsbjn0GMrw"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_O7L-oFeYEeW35uAYw-w4dQ" client="_GvJA0FYEEeW77p7V_ZuW3Q"> - <supplier xmi:type="uml:Class" href="omg.sysml.uml#_66IZyTq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_p-rVwGE-EeWbSMDuSXx8SQ" name="REQ_001"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_qAPcAGE-EeWbSMDuSXx8SQ" name="DeriveFrom_REQ-OMG-SYSML14-9.3.0.2 FlowProperty" client="_p-rVwGE-EeWbSMDuSXx8SQ"> - <supplier xmi:type="uml:Class" href="omg.sysml.uml#_66NSRTq8EeW79ofuztDyTA"/> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_gbUwIACzEeabH6-I0dvpUQ" name="ConstraintBlock"> - <packagedElement xmi:type="uml:Class" xmi:id="_jlxS4ACzEeabH6-I0dvpUQ" name="ConstraintBlock"/> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Model" xmi:id="_Py6Zo5sTEeSu6pfLknKE4A" name="UseCases"> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_Py6ZpJsTEeSu6pfLknKE4A" name="useCasesAbstraction" client="_Py6Zo5sTEeSu6pfLknKE4A" supplier="_Py6ZopsTEeSu6pfLknKE4A"/> - <packagedElement xmi:type="uml:Component" xmi:id="_Py6ZpZsTEeSu6pfLknKE4A" name="MySystem"/> - </packagedElement> - <packagedElement xmi:type="uml:Model" xmi:id="_Py6ZppsTEeSu6pfLknKE4A" name="Design"> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_Py6Zp5sTEeSu6pfLknKE4A" name="DesignAbstraction" client="_Py6ZppsTEeSu6pfLknKE4A" supplier="_Py6Zo5sTEeSu6pfLknKE4A"/> - </packagedElement> - <packagedElement xmi:type="uml:Model" xmi:id="_Py6ZqJsTEeSu6pfLknKE4A" name="Test"> - <packagedElement xmi:type="uml:Dependency" xmi:id="_Py6ZqZsTEeSu6pfLknKE4A" name="Dependency1" client="_Py6ZqJsTEeSu6pfLknKE4A" supplier="_Py6Zo5sTEeSu6pfLknKE4A"/> - <packagedElement xmi:type="uml:Dependency" xmi:id="_Py6ZqpsTEeSu6pfLknKE4A" name="Dependency2" client="_Py6ZqJsTEeSu6pfLknKE4A" supplier="_Py6ZppsTEeSu6pfLknKE4A"/> - <packagedElement xmi:type="uml:Dependency" xmi:id="_c_gSYCYeEeWtn6hjmtufug" client="_Py6ZqJsTEeSu6pfLknKE4A" supplier="_Py6ZopsTEeSu6pfLknKE4A"/> - <packagedElement xmi:type="uml:Package" xmi:id="_oIXvcEvJEeWZWeCQhncKfA" name="org.eclipse.papyrus.sysml14.tests"> - <packagedElement xmi:type="uml:Package" xmi:id="_gcnOkEvSEeW7GL09oTsTMQ" name="requirements"> - <packagedElement xmi:type="uml:Class" xmi:id="_tx15YEvJEeWZWeCQhncKfA" name="RequirementTest"> - <ownedOperation xmi:type="uml:Operation" xmi:id="_hHaxAEvQEeW7GL09oTsTMQ" name="testGetDerived"/> - <ownedOperation xmi:type="uml:Operation" xmi:id="_kvCX8EvQEeW7GL09oTsTMQ" name="testGetDerivedFrom"/> - <ownedOperation xmi:type="uml:Operation" xmi:id="_lZitgEvQEeW7GL09oTsTMQ" name="testGetMaster"/> - <ownedOperation xmi:type="uml:Operation" xmi:id="_lwB64EvQEeW7GL09oTsTMQ" name="testGetRefinedBy"/> - <ownedOperation xmi:type="uml:Operation" xmi:id="_mFLrgEvQEeW7GL09oTsTMQ" name="testGetSatisfiedBy"/> - <ownedOperation xmi:type="uml:Operation" xmi:id="_mYLgAEvQEeW7GL09oTsTMQ" name="testGetTracedTo"/> - <ownedOperation xmi:type="uml:Operation" xmi:id="_msotEEvQEeW7GL09oTsTMQ" name="testGetVerifiedBy"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_zFDfcEvJEeWZWeCQhncKfA" client="_tx15YEvJEeWZWeCQhncKfA" supplier="_7YhKcEvJEeWZWeCQhncKfA"/> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_j1ufcEvSEeW7GL09oTsTMQ" name="modelelements"> - <packagedElement xmi:type="uml:Class" xmi:id="_hdDicEvTEeW7GL09oTsTMQ" name="StakeholderTest"> - <ownedOperation xmi:type="uml:Operation" xmi:id="_sHiIIEvTEeW7GL09oTsTMQ" name="testGetConcern"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_iM_xoEvTEeW7GL09oTsTMQ" client="_j1ufcEvSEeW7GL09oTsTMQ" supplier="_v8yNUEvREeW7GL09oTsTMQ"/> - <packagedElement xmi:type="uml:Class" xmi:id="_VIuioEyaEeW4oLNX8bopVA" name="ViewpointTest"> - <ownedOperation xmi:type="uml:Operation" xmi:id="_Y7N80EyaEeW4oLNX8bopVA" name="testGetConcern"/> - <ownedOperation xmi:type="uml:Operation" xmi:id="_aX1r0EyaEeW4oLNX8bopVA" name="testGetMethod"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_f0oEoEyaEeW4oLNX8bopVA" client="_VIuioEyaEeW4oLNX8bopVA" supplier="_Fcc3AEyaEeW4oLNX8bopVA"/> - <packagedElement xmi:type="uml:Class" xmi:id="_CDtHoEycEeW4oLNX8bopVA" name="ElementGroupTest"> - <ownedOperation xmi:type="uml:Operation" xmi:id="_HkR0QEycEeW4oLNX8bopVA" name="testGetCriterion"/> - <ownedOperation xmi:type="uml:Operation" xmi:id="_JjX-MEycEeW4oLNX8bopVA" name="testGetSize"/> - <ownedOperation xmi:type="uml:Operation" xmi:id="_LpeIAEycEeW4oLNX8bopVA" name="testGetMember"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_P4npAEycEeW4oLNX8bopVA" client="_CDtHoEycEeW4oLNX8bopVA" supplier="_k3o2EEybEeW4oLNX8bopVA"/> - <packagedElement xmi:type="uml:Class" xmi:id="_xYeV0E1eEeW4oLNX8bopVA" name="ViewTest"> - <ownedOperation xmi:type="uml:Operation" xmi:id="_0iXe8E1eEeW4oLNX8bopVA" name="testGetViewPoint"/> - <ownedOperation xmi:type="uml:Operation" xmi:id="_3JrfcE1eEeW4oLNX8bopVA" name="testGetStakeholder"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_9c6YEE1eEeW4oLNX8bopVA" client="_xYeV0E1eEeW4oLNX8bopVA" supplier="_XVTu4E1eEeW4oLNX8bopVA"/> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_PhZUUFCYEeWWUsSyiZaNIg" name="blocks"> - <packagedElement xmi:type="uml:Class" xmi:id="_9vQVIFCnEeWWUsSyiZaNIg" name="BoundReferenceTest"> - <ownedOperation xmi:type="uml:Operation" xmi:id="_A_cTgFCoEeWWUsSyiZaNIg" name="testGetBindingPath"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_FdM4QFCoEeWWUsSyiZaNIg" client="_9vQVIFCnEeWWUsSyiZaNIg" supplier="_fNa8kFB9EeWWUsSyiZaNIg"/> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_Yfgx8FCwEeWWUsSyiZaNIg" name="deprecated"> - <packagedElement xmi:type="uml:Class" xmi:id="_jRDB4FCwEeWWUsSyiZaNIg" name="FlowPortTest"> - <ownedOperation xmi:type="uml:Operation" xmi:id="_rBAXMFCwEeWWUsSyiZaNIg" name="testIsAtomic"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_mhEoMFCwEeWWUsSyiZaNIg" client="_jRDB4FCwEeWWUsSyiZaNIg" supplier="_zZT7YFCvEeWWUsSyiZaNIg"/> - </packagedElement> - </packagedElement> - </packagedElement> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_mETrkJoPEeeXz9m6CNxSgg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mEVgwJoPEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#/"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_mEaZQJoPEeeXz9m6CNxSgg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mEbAUJoPEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//activities"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Activities"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_mEcOcJoPEeeXz9m6CNxSgg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mEc1gJoPEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//allocations"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Allocations"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_mEdckJoPEeeXz9m6CNxSgg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mEf40JoPEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//blocks"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_mEgf4JoPEeeXz9m6CNxSgg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mEhG8JoPEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//constraintblocks"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ConstraintBlocks"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_mEhuAJoPEeeXz9m6CNxSgg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mEiVEJoPEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//deprecatedelements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_DeprecatedElements"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_mEi8IJoPEeeXz9m6CNxSgg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mEi8IZoPEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//modelelements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ModelElements"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_mEkKQJoPEeeXz9m6CNxSgg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mEkKQZoPEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//portsandflows"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_mEkxUJoPEeeXz9m6CNxSgg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_mElYYJoPEeeXz9m6CNxSgg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements"/> - </profileApplication> - </uml:Model> - <Requirements:Requirement xmi:id="_PTrawJslEeSu6pfLknKE4A" base_Class="_PTiQ0JslEeSu6pfLknKE4A" id="Req010" text="All derived properties must be compured and updated. "/> - <Requirements:Requirement xmi:id="_ngftoJsxEeSYaIZuWOBlYQ" base_Class="_ngV8oJsxEeSYaIZuWOBlYQ" id="Req_002" text="testif the service registry of SysML can be cal for all SysMLElement"/> - <Requirements:Requirement xmi:id="_Kl7pgZs2EeSYaIZuWOBlYQ" base_Class="_Kl7pgJs2EeSYaIZuWOBlYQ" id="Req_003" text="Association in sysML are specific"/> - <Requirements:Requirement xmi:id="_SJF48Js2EeSYaIZuWOBlYQ" base_Class="_SI8vAJs2EeSYaIZuWOBlYQ" id="Req_004.001" text="For an association in which both ends are typed by blocks, the number of ends must be exactly two. (p50)"/> - <Requirements:Requirement xmi:id="_gQ_nwZs2EeSYaIZuWOBlYQ" base_Class="_gQ_nwJs2EeSYaIZuWOBlYQ" id="Req_004.002" text="In the UML metamodel on which SysML is built, any instance of the Property metaclass that is typed by a block (a Class with the «block» stereotype applied) and which is owned by an Association may not have a name and may not be defined as a navigable owned end of the association. p50"/> - <Requirements:Requirement xmi:id="_EUOlcZs3EeSYaIZuWOBlYQ" base_Class="_EUOlcJs3EeSYaIZuWOBlYQ" id="Req_004.003" text="In the UML metamodel on which SysML is built, a Property that is typed by a block must be defined as an end of an association"/> - <Requirements:Requirement xmi:id="_zxkO8Zs3EeSYaIZuWOBlYQ" base_Class="_zxkO8Js3EeSYaIZuWOBlYQ" id="Req_005" text="The two ends of a binding connector must have either the same type or types that are compatible so that equality of their values can be defined. p48"/> - <Requirements:Requirement xmi:id="_BWfykZtDEeSYaIZuWOBlYQ" base_Class="_BWfykJtDEeSYaIZuWOBlYQ" id="Req_006.001" text="Connectors may be drawn that cross the boundaries of nested properties to connect to properties within them. The connector is owned by the most immediate block that owns both ends of the connector. A NestedConnectorEnd stereotype of a UML ConnectorEnd is automatically applied to any connector end that is nested more than one level deep within a containing context."/> - <Requirements:Requirement xmi:id="_p8VYwZtDEeSYaIZuWOBlYQ" base_Class="_p8VYwJtDEeSYaIZuWOBlYQ" id="Req_006" text="Papyrus must manage SysML connector ends"/> - <Requirements:Requirement xmi:id="_DlgyYJtEEeS5lMkaDojPJg" base_Class="_DlXBYJtEEeS5lMkaDojPJg" id="Req_006.002" text="The first property in propertyPath must be owned by the block that owns the connector, or one of the block’s generalizations."/> - <Requirements:Requirement xmi:id="_NWLbMZtEEeS5lMkaDojPJg" base_Class="_NWLbMJtEEeS5lMkaDojPJg" id="Req_006.003" text="The type of the property at the last position of the propertyPath list must own or inherit the role property of the stereotyped"/> - <Requirements:Requirement xmi:id="_n3sgIZtGEeS5lMkaDojPJg" base_Class="_n3sgIJtGEeS5lMkaDojPJg" id="Req_006.004" text="isEncapsulated: Boolean [0..1], If true, then the block is treated as a black box; a part typed by this black box can only be connected via its ports or directly to its outer boundary. If false, or if a value is not present, then connections can be established to . p50elements of its internal structure via deep-nested connector ends."/> - <Requirements:Requirement xmi:id="_HlRNcJv9EeS1Sc9sg-ntVw" base_Class="_HlOKIJv9EeS1Sc9sg-ntVw" id="Req_007" text="Papyrus should change the icon to always have the arrow of a port orthogonal to its block"/> - <Requirements:Verify xmi:id="_0YbL0EvJEeWZWeCQhncKfA" base_Abstraction="_zFDfcEvJEeWZWeCQhncKfA"/> - <Requirements:Requirement xmi:id="__mj4MEvJEeWZWeCQhncKfA" base_Class="_7YhKcEvJEeWZWeCQhncKfA" id="Req011" text="derived,derivedfrom, satisfyby, refinedby, tracedto, verifiedby master form requirement"/> - <Requirements:DeriveReqt xmi:id="_lS2eYEvKEeWZWeCQhncKfA" base_Abstraction="_ijvz0EvKEeWZWeCQhncKfA"/> - <Requirements:Requirement xmi:id="_0v4v8EvREeW7GL09oTsTMQ" base_Class="_v8yNUEvREeW7GL09oTsTMQ" id="Req012" text="form the norm
/concern: String [*]
The interests of this stakeholder displayed as the body of the comments from concernList."/> - <Requirements:DeriveReqt xmi:id="_QQHKwEvSEeW7GL09oTsTMQ" base_Abstraction="_PLg6MEvSEeW7GL09oTsTMQ"/> - <Requirements:Verify xmi:id="_psea8EvTEeW7GL09oTsTMQ" base_Abstraction="_iM_xoEvTEeW7GL09oTsTMQ"/> - <Requirements:Requirement xmi:id="_JK0mMEyaEeW4oLNX8bopVA" base_Class="_Fcc3AEyaEeW4oLNX8bopVA" id="Req013" text="Thefollowing derived properties must be computed
/concern: String [*]
The interest of the stakeholders displayed as the body of the comments from concernList.
• /method: Behavior [*]
The behavior is derived from the method of the operation with the Create stereotype."/> - <Requirements:Verify xmi:id="_hqYFUEyaEeW4oLNX8bopVA" base_Abstraction="_f0oEoEyaEeW4oLNX8bopVA"/> - <Requirements:DeriveReqt xmi:id="_vASWgEyaEeW4oLNX8bopVA" base_Abstraction="_uAOnsEyaEeW4oLNX8bopVA"/> - <Requirements:Requirement xmi:id="_psY-gEybEeW4oLNX8bopVA" base_Class="_k3o2EEybEeW4oLNX8bopVA" id="Req014" text="Te following properties must be computed.
/criterion[0..1]: String
Specifies the rationale for being member of the group. Adding an element to the group asserts that the criterion
applies to this element.
Derived from Comment::body.
• /size: Integer
Number of members in the group. Derived.
• /member: Element[0..*]
Set specifying the members of the group.
Derived from Comment::annotatedElement."/> - <Requirements:DeriveReqt xmi:id="_9nlhoEybEeW4oLNX8bopVA" base_Abstraction="_8TxwYEybEeW4oLNX8bopVA"/> - <Requirements:Verify xmi:id="_RXvSYEycEeW4oLNX8bopVA" base_Abstraction="_P4npAEycEeW4oLNX8bopVA"/> - <Requirements:Requirement xmi:id="_X-cLcE1eEeW4oLNX8bopVA" base_Class="_XVTu4E1eEeW4oLNX8bopVA" id="Req015" text="• /viewpoint: Viewpoint
The following dervied properties mus be computed:
The viewpoint for this View is derived from the conform relationship.
• /stakeholder: Stakeholder [*]
The list of stakeholders is derived from the viewpoint the view conforms to."/> - <Requirements:DeriveReqt xmi:id="_tw5yME1eEeW4oLNX8bopVA" base_Abstraction="_sKOvUE1eEeW4oLNX8bopVA"/> - <Requirements:Verify xmi:id="__IRtsE1eEeW4oLNX8bopVA" base_Abstraction="_9c6YEE1eEeW4oLNX8bopVA"/> - <Requirements:Requirement xmi:id="_gaBSkFB9EeWWUsSyiZaNIg" base_Class="_fNa8kFB9EeWWUsSyiZaNIg" id="Req016" text="The following properties must be computed:
/bindingPath : Property [1..*] {ordered, nonunique}
Gives the propertyPath of the NestedConnectorEnd applied, if any, to the boundEnd, appended to the role of the
boundEnd.

Note about calculus: The binding path includes the property at the bound end, and before that, the property
path of the bound end, if it is a nested connector end."/> - <Requirements:DeriveReqt xmi:id="_h6cmsFCBEeWWUsSyiZaNIg" base_Abstraction="_vff8kFCAEeWWUsSyiZaNIg"/> - <Requirements:Verify xmi:id="_H43CYFCoEeWWUsSyiZaNIg" base_Abstraction="_FdM4QFCoEeWWUsSyiZaNIg"/> - <Requirements:Requirement xmi:id="_7yAEoFCvEeWWUsSyiZaNIg" base_Class="_zZT7YFCvEeWWUsSyiZaNIg" id="Req017" text="The following property must be computed
/isAtomic : Boolean (derived)
This is a derived attribute (derived from the flow port’s type). For a flow port typed by a flow specification the
value of this attribute is False, otherwise the value is True."/> - <Requirements:DeriveReqt xmi:id="_MTh9QFCwEeWWUsSyiZaNIg" base_Abstraction="_LNlo4FCwEeWWUsSyiZaNIg"/> - <Requirements:Verify xmi:id="_n-u5AFCwEeWWUsSyiZaNIg" base_Abstraction="_mhEoMFCwEeWWUsSyiZaNIg"/> - <Requirements:Requirement xmi:id="_VoxnkFFvEeWFqsbjn0GMrw" base_Class="_Von2kFFvEeWFqsbjn0GMrw" text="Top requirement for all specification related to the FlowPort"/> - <Requirements:Requirement xmi:id="_b0aDYFFvEeWFqsbjn0GMrw" base_Class="_b0XAEFFvEeWFqsbjn0GMrw" text="Flow port should have specific icons depending on FlowDirection"/> - <Requirements:Requirement xmi:id="_fOvcQFFvEeWFqsbjn0GMrw" base_Class="_fOtnEFFvEeWFqsbjn0GMrw"/> - <Requirements:DeriveReqt xmi:id="_Bf-Q0FFwEeWFqsbjn0GMrw" base_Abstraction="_Bf28EFFwEeWFqsbjn0GMrw"/> - <Requirements:Requirement xmi:id="_vgFHUFFwEeWFqsbjn0GMrw" base_Class="_vgDSIFFwEeWFqsbjn0GMrw" text="Top requirement for all specification related to the FlowProperty"/> - <Requirements:Requirement xmi:id="_5XGPwFFwEeWFqsbjn0GMrw" base_Class="_5W_iEFFwEeWFqsbjn0GMrw" text="Flow property should have specific icons depending on FlowDirection"/> - <Requirements:DeriveReqt xmi:id="_-AHCQFFwEeWFqsbjn0GMrw" base_Abstraction="_9_9RQFFwEeWFqsbjn0GMrw"/> - <Requirements:Requirement xmi:id="_ZyB6sFIZEeWOVPwTUSkFAw" base_Class="_ZyAskFIZEeWOVPwTUSkFAw" id="REQ-SYSML14-Block-References" text="norm#31:A block can include properties to specify its values, parts, and references to other blocks.
norm#71:A property typed by a Block that does not have composite aggregation is classified as a reference property. 
"/> - <Requirements:DeriveReqt xmi:id="_xY3CEFIZEeWOVPwTUSkFAw" base_Abstraction="_uNl_8FIZEeWOVPwTUSkFAw"/> - <Requirements:DeriveReqt xmi:id="__gUE8FIZEeWOVPwTUSkFAw" base_Abstraction="_9nWYMFIZEeWOVPwTUSkFAw"/> - <Requirements:Requirement xmi:id="_an26AFIaEeWOVPwTUSkFAw" base_Class="_an2S8FIaEeWOVPwTUSkFAw" id="ReqX"/> - <Requirements:Requirement xmi:id="_GvK2AFYEEeW77p7V_ZuW3Q" base_Class="_GvJA0FYEEeW77p7V_ZuW3Q" id="REQ-SYSML14-Block-References" text="norm#31:A block can include properties to specify its values, parts, and references to other blocks."/> - <Requirements:DeriveReqt xmi:id="_IGa7sFeXEeW35uAYw-w4dQ" base_Abstraction="_HW-bwFeXEeW35uAYw-w4dQ"/> - <Requirements:DeriveReqt xmi:id="__AL6gFeXEeW35uAYw-w4dQ" base_Abstraction="_-MFkEFeXEeW35uAYw-w4dQ"/> - <Requirements:DeriveReqt xmi:id="_QXdvYFeYEeW35uAYw-w4dQ" base_Abstraction="_O7L-oFeYEeW35uAYw-w4dQ"/> - <Requirements:Requirement xmi:id="_RTtNoGE6EeWbSMDuSXx8SQ" base_Class="_RP-kMGE6EeWbSMDuSXx8SQ" id="REQ_001" text="Deprecated elements should be displayed in orange
Deprecation details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=91"/> - <Requirements:DeriveReqt xmi:id="_RTytMGE6EeWbSMDuSXx8SQ" base_Abstraction="_RTxfEGE6EeWbSMDuSXx8SQ"/> - <Requirements:Requirement xmi:id="_qAON4GE-EeWbSMDuSXx8SQ" base_Class="_p-rVwGE-EeWbSMDuSXx8SQ" id="REQ_001" text="@norm: Flow properties are listed in a compartment labeled flow properties.

FlowProperty details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=97"/> - <Requirements:DeriveReqt xmi:id="_qAQDEGE-EeWbSMDuSXx8SQ" base_Abstraction="_qAPcAGE-EeWbSMDuSXx8SQ"/> - <Requirements:Requirement xmi:id="_jlx58ACzEeabH6-I0dvpUQ" base_Class="_jlxS4ACzEeabH6-I0dvpUQ" id="ReqY"/> -</xmi:XMI>
diff --git a/core/org.eclipse.papyrus.sysml14/resources/library/QUDV.notation b/core/org.eclipse.papyrus.sysml14/resources/library/QUDV.notation deleted file mode 100644 index 433f2a6..0000000 --- a/core/org.eclipse.papyrus.sysml14/resources/library/QUDV.notation +++ /dev/null
@@ -1,1603 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/gmfdiag/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_0Gvw8HJgEeWaaoAi4ttVsA" type="PapyrusUMLClassDiagram" name="QUDVDiagram" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_2RUyIHJgEeWaaoAi4ttVsA" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_2RXOYHJgEeWaaoAi4ttVsA" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_2RXOYXJgEeWaaoAi4ttVsA" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_2RXOYnJgEeWaaoAi4ttVsA" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_2RX1cHJgEeWaaoAi4ttVsA" type="Class_AttributeCompartment"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_lMIxsBL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_lMIxsRL9EeeY9ueKNJ6bdg" key="visible" value="true"/> - </eAnnotations> - <children xmi:type="notation:Shape" xmi:id="_n0ZNYBL9EeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> - <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_ConversionBasedUnit_ownedAttribute.isInvertible"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_n0ZNYRL9EeeY9ueKNJ6bdg"/> - </children> - <styles xmi:type="notation:TitleStyle" xmi:id="_2RX1cXJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_2RX1cnJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_2RX1c3JgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2RX1dHJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_2RX1dXJgEeWaaoAi4ttVsA" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_2RX1dnJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_2RX1d3JgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_2RX1eHJgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2RX1eXJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_2RX1enJgEeWaaoAi4ttVsA" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_2RX1e3JgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_2RX1fHJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_2RX1fXJgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2RX1fnJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_2T8oUHJgEeWaaoAi4ttVsA" type="StereotypeLabel"> - <styles xmi:type="notation:StringValueStyle" xmi:id="_2T8oUXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2T8oUnJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_2T9PYHJgEeWaaoAi4ttVsA" type="StereotypeBrace"> - <styles xmi:type="notation:TitleStyle" xmi:id="_2T9PYXJgEeWaaoAi4ttVsA" showTitle="true"/> - <styles xmi:type="notation:StringValueStyle" xmi:id="_2T9PYnJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2T9PY3JgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_2UNHAHJgEeWaaoAi4ttVsA" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_2UNuEHJgEeWaaoAi4ttVsA" visible="false" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_2UOVIHJgEeWaaoAi4ttVsA" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_2UOVIXJgEeWaaoAi4ttVsA" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_2UO8MHJgEeWaaoAi4ttVsA" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_2UO8MXJgEeWaaoAi4ttVsA" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_2UPjQHJgEeWaaoAi4ttVsA" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_U4N1IBIqEeeFNrLZFDmeGg" type="Parameters"/> - <element xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_ConversionBasedUnit"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2RUyIXJgEeWaaoAi4ttVsA" x="1640" y="720" width="141" height="161"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_2UWQ8HJgEeWaaoAi4ttVsA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_2UWQ8XJgEeWaaoAi4ttVsA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_2UWQ83JgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_ConversionBasedUnit"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2UWQ8nJgEeWaaoAi4ttVsA" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_3J2VkHJgEeWaaoAi4ttVsA" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_3J2VknJgEeWaaoAi4ttVsA" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_3J2Vk3JgEeWaaoAi4ttVsA" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_3J2VlHJgEeWaaoAi4ttVsA" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_3J2VlXJgEeWaaoAi4ttVsA" type="Class_AttributeCompartment"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_uDd-wBL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_uDd-wRL9EeeY9ueKNJ6bdg" key="visible" value="true"/> - </eAnnotations> - <children xmi:type="notation:Shape" xmi:id="_v5Rp0BL9EeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> - <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_Unit_ownedAttribute.dependsOnUnits"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_v5Rp0RL9EeeY9ueKNJ6bdg"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_v5SQ4BL9EeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> - <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_Unit_ownedAttribute.isUnitCountOfEntities"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_v5SQ4RL9EeeY9ueKNJ6bdg"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_v5S38BL9EeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> - <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_Unit_ownedAttribute.isUnitForQuantityOfDimensionOne"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_v5S38RL9EeeY9ueKNJ6bdg"/> - </children> - <styles xmi:type="notation:TitleStyle" xmi:id="_3J2VlnJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_3J2Vl3JgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_3J2VmHJgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3J2VmXJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_3J28oHJgEeWaaoAi4ttVsA" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_3J28oXJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_3J28onJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_3J28o3JgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3J28pHJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_3J28pXJgEeWaaoAi4ttVsA" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_3J28pnJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_3J28p3JgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_3J28qHJgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3J28qXJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_3KJ3kHJgEeWaaoAi4ttVsA" type="StereotypeLabel"> - <styles xmi:type="notation:StringValueStyle" xmi:id="_3KJ3kXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3KJ3knJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_3KJ3k3JgEeWaaoAi4ttVsA" type="StereotypeBrace"> - <styles xmi:type="notation:TitleStyle" xmi:id="_3KJ3lHJgEeWaaoAi4ttVsA" showTitle="true"/> - <styles xmi:type="notation:StringValueStyle" xmi:id="_3KJ3lXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3KJ3lnJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_3KQlQHJgEeWaaoAi4ttVsA" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_3KRMUHJgEeWaaoAi4ttVsA" visible="false" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_3KRMUXJgEeWaaoAi4ttVsA" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_3KRMUnJgEeWaaoAi4ttVsA" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_3KSacHJgEeWaaoAi4ttVsA" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_3KSacXJgEeWaaoAi4ttVsA" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_3KSacnJgEeWaaoAi4ttVsA" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_VEZP8BIqEeeFNrLZFDmeGg" type="Parameters"/> - <element xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_Unit"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3J2VkXJgEeWaaoAi4ttVsA" x="1200" y="720" width="161" height="161"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_3KXS8HJgEeWaaoAi4ttVsA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_3KXS8XJgEeWaaoAi4ttVsA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_3KXS83JgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_Unit"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3KXS8nJgEeWaaoAi4ttVsA" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_39NFIHJgEeWaaoAi4ttVsA" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_39NsMHJgEeWaaoAi4ttVsA" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_39NsMXJgEeWaaoAi4ttVsA" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_39NsMnJgEeWaaoAi4ttVsA" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_39NsM3JgEeWaaoAi4ttVsA" visible="false" type="Class_AttributeCompartment"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_0dPXQBOMEeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_0dPXQROMEeeY9ueKNJ6bdg" key="visible" value="true"/> - </eAnnotations> - <styles xmi:type="notation:TitleStyle" xmi:id="_39NsNHJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_39NsNXJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_39NsNnJgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_39NsN3JgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_39NsOHJgEeWaaoAi4ttVsA" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_39NsOXJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_39NsOnJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_39NsO3JgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_39NsPHJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_39NsPXJgEeWaaoAi4ttVsA" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_39NsPnJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_39NsP3JgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_39NsQHJgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_39NsQXJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_4AaKIHJgEeWaaoAi4ttVsA" type="StereotypeLabel"> - <styles xmi:type="notation:StringValueStyle" xmi:id="_4AaKIXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4AaKInJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_4AaKI3JgEeWaaoAi4ttVsA" type="StereotypeBrace"> - <styles xmi:type="notation:TitleStyle" xmi:id="_4AaKJHJgEeWaaoAi4ttVsA" showTitle="true"/> - <styles xmi:type="notation:StringValueStyle" xmi:id="_4AaKJXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4AaKJnJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_4AgQwHJgEeWaaoAi4ttVsA" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_4Ag30HJgEeWaaoAi4ttVsA" visible="false" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_4Ahe4HJgEeWaaoAi4ttVsA" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_4Ahe4XJgEeWaaoAi4ttVsA" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_4Ahe4nJgEeWaaoAi4ttVsA" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_4Ahe43JgEeWaaoAi4ttVsA" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_4AiF8HJgEeWaaoAi4ttVsA" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_VE4YIBIqEeeFNrLZFDmeGg" type="Parameters"/> - <element xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_DerivedQuantityKind"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_39NFIXJgEeWaaoAi4ttVsA" x="256" y="267" width="164" height="104"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_4AlJQHJgEeWaaoAi4ttVsA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_4AlJQXJgEeWaaoAi4ttVsA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_4AlJQ3JgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_DerivedQuantityKind"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4AlJQnJgEeWaaoAi4ttVsA" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_4m0p4HJgEeWaaoAi4ttVsA" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_4m1Q8HJgEeWaaoAi4ttVsA" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_4m1Q8XJgEeWaaoAi4ttVsA" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_4m1Q8nJgEeWaaoAi4ttVsA" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_4m1Q83JgEeWaaoAi4ttVsA" type="Class_AttributeCompartment"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_29WwkBL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_29WwkRL9EeeY9ueKNJ6bdg" key="visible" value="true"/> - </eAnnotations> - <children xmi:type="notation:Shape" xmi:id="_4ZL1YBL9EeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> - <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_QuantityKindFactor_ownedAttribute.exponent"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_4ZL1YRL9EeeY9ueKNJ6bdg"/> - </children> - <styles xmi:type="notation:TitleStyle" xmi:id="_4m1Q9HJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_4m1Q9XJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_4m1Q9nJgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4m1Q93JgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_4m1Q-HJgEeWaaoAi4ttVsA" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_4m1Q-XJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_4m1Q-nJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_4m1Q-3JgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4m1Q_HJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_4m1Q_XJgEeWaaoAi4ttVsA" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_4m1Q_nJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_4m1Q_3JgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_4m1RAHJgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4m1RAXJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_4pdHIHJgEeWaaoAi4ttVsA" type="StereotypeLabel"> - <styles xmi:type="notation:StringValueStyle" xmi:id="_4pdHIXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4pdHInJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_4pdHI3JgEeWaaoAi4ttVsA" type="StereotypeBrace"> - <styles xmi:type="notation:TitleStyle" xmi:id="_4pdHJHJgEeWaaoAi4ttVsA" showTitle="true"/> - <styles xmi:type="notation:StringValueStyle" xmi:id="_4pdHJXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4pdHJnJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_4pj00HJgEeWaaoAi4ttVsA" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_4pkb4HJgEeWaaoAi4ttVsA" visible="false" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_4pkb4XJgEeWaaoAi4ttVsA" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_4pkb4nJgEeWaaoAi4ttVsA" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_4pkb43JgEeWaaoAi4ttVsA" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_4plC8HJgEeWaaoAi4ttVsA" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_4plC8XJgEeWaaoAi4ttVsA" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_VFWSMBIqEeeFNrLZFDmeGg" type="Parameters"/> - <element xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_QuantityKindFactor"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4m0p4XJgEeWaaoAi4ttVsA" x="100" y="480" width="161" height="161"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_4poGQHJgEeWaaoAi4ttVsA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_4poGQXJgEeWaaoAi4ttVsA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_4poGQ3JgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_QuantityKindFactor"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4poGQnJgEeWaaoAi4ttVsA" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_5Y18sHJgEeWaaoAi4ttVsA" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_5Y18snJgEeWaaoAi4ttVsA" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_5Y18s3JgEeWaaoAi4ttVsA" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_5Y18tHJgEeWaaoAi4ttVsA" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_5Y18tXJgEeWaaoAi4ttVsA" type="Class_AttributeCompartment"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_QjpqwBL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_QjqR0BL9EeeY9ueKNJ6bdg" key="visible" value="true"/> - </eAnnotations> - <children xmi:type="notation:Shape" xmi:id="_ToHhUBL9EeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> - <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_DerivedUnit_ownedAttribute.hasReducedFactors"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_ToHhURL9EeeY9ueKNJ6bdg"/> - </children> - <styles xmi:type="notation:TitleStyle" xmi:id="_5Y18tnJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_5Y18t3JgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_5Y18uHJgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5Y18uXJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_5Y18unJgEeWaaoAi4ttVsA" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_5Y18u3JgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_5Y18vHJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_5Y18vXJgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5Y18vnJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_5Y18v3JgEeWaaoAi4ttVsA" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_5Y18wHJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_5Y18wXJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_5Y18wnJgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5Y18w3JgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_5ZXhIHJgEeWaaoAi4ttVsA" type="StereotypeLabel"> - <styles xmi:type="notation:StringValueStyle" xmi:id="_5ZXhIXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5ZXhInJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_5ZXhI3JgEeWaaoAi4ttVsA" type="StereotypeBrace"> - <styles xmi:type="notation:TitleStyle" xmi:id="_5ZXhJHJgEeWaaoAi4ttVsA" showTitle="true"/> - <styles xmi:type="notation:StringValueStyle" xmi:id="_5ZXhJXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5ZXhJnJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_5ZdnwHJgEeWaaoAi4ttVsA" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_5ZdnwXJgEeWaaoAi4ttVsA" visible="false" type="constraints" showTitle="true"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_aA62cBL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_aA7dgBL9EeeY9ueKNJ6bdg" key="visible" value="true"/> - </eAnnotations> - </children> - <children xmi:type="notation:Compartment" xmi:id="_5ZeO0HJgEeWaaoAi4ttVsA" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_5ZeO0XJgEeWaaoAi4ttVsA" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_5ZeO0nJgEeWaaoAi4ttVsA" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_5ZeO03JgEeWaaoAi4ttVsA" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_5Ze14HJgEeWaaoAi4ttVsA" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_VF32oBIqEeeFNrLZFDmeGg" type="Parameters"/> - <element xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_DerivedUnit"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5Y18sXJgEeWaaoAi4ttVsA" x="1520" y="220" width="159" height="118"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_5Zh5MHJgEeWaaoAi4ttVsA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_5Zh5MXJgEeWaaoAi4ttVsA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_5ZigQHJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_DerivedUnit"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5Zh5MnJgEeWaaoAi4ttVsA" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_6IwWsHJgEeWaaoAi4ttVsA" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_6IwWsnJgEeWaaoAi4ttVsA" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_6IwWs3JgEeWaaoAi4ttVsA" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_6IwWtHJgEeWaaoAi4ttVsA" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_6Iw9wHJgEeWaaoAi4ttVsA" type="Class_AttributeCompartment"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_iqNngBL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_iqOOkBL9EeeY9ueKNJ6bdg" key="visible" value="true"/> - </eAnnotations> - <children xmi:type="notation:Shape" xmi:id="_kKypcBL9EeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> - <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_UnitFactor_ownedAttribute.exponent"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_kKypcRL9EeeY9ueKNJ6bdg"/> - </children> - <styles xmi:type="notation:TitleStyle" xmi:id="_6Iw9wXJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_6Iw9wnJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_6Iw9w3JgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6Iw9xHJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_6Iw9xXJgEeWaaoAi4ttVsA" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_6Iw9xnJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_6Iw9x3JgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_6Iw9yHJgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6Iw9yXJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_6Iw9ynJgEeWaaoAi4ttVsA" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_6Iw9y3JgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_6Iw9zHJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_6Iw9zXJgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6Iw9znJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_6Jc6QHJgEeWaaoAi4ttVsA" type="StereotypeLabel"> - <styles xmi:type="notation:StringValueStyle" xmi:id="_6Jc6QXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6Jc6QnJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_6JdhUHJgEeWaaoAi4ttVsA" type="StereotypeBrace"> - <styles xmi:type="notation:TitleStyle" xmi:id="_6JdhUXJgEeWaaoAi4ttVsA" showTitle="true"/> - <styles xmi:type="notation:StringValueStyle" xmi:id="_6JdhUnJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6JdhU3JgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_6JmEMHJgEeWaaoAi4ttVsA" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_6JmEMXJgEeWaaoAi4ttVsA" visible="false" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_6JmEMnJgEeWaaoAi4ttVsA" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_6JmrQHJgEeWaaoAi4ttVsA" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_6JmrQXJgEeWaaoAi4ttVsA" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_6JmrQnJgEeWaaoAi4ttVsA" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_6JmrQ3JgEeWaaoAi4ttVsA" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_VGY0ABIqEeeFNrLZFDmeGg" type="Parameters"/> - <element xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_UnitFactor"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6IwWsXJgEeWaaoAi4ttVsA" x="1520" y="500" width="164" height="113"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_6JqVoHJgEeWaaoAi4ttVsA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_6JqVoXJgEeWaaoAi4ttVsA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_6JqVo3JgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_UnitFactor"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6JqVonJgEeWaaoAi4ttVsA" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_6-dPoHJgEeWaaoAi4ttVsA" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_6-dPonJgEeWaaoAi4ttVsA" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_6-dPo3JgEeWaaoAi4ttVsA" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_6-d2sHJgEeWaaoAi4ttVsA" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_6-d2sXJgEeWaaoAi4ttVsA" type="Class_AttributeCompartment"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_0cCqYBL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_0cCqYRL9EeeY9ueKNJ6bdg" key="visible" value="true"/> - </eAnnotations> - <children xmi:type="notation:Shape" xmi:id="_1YxYYBL9EeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> - <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_Dimension_ownedAttribute.symbolicExpression"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_1YxYYRL9EeeY9ueKNJ6bdg"/> - </children> - <styles xmi:type="notation:TitleStyle" xmi:id="_6-d2snJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_6-d2s3JgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_6-d2tHJgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6-d2tXJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_6-d2tnJgEeWaaoAi4ttVsA" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_6-d2t3JgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_6-d2uHJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_6-d2uXJgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6-d2unJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_6-d2u3JgEeWaaoAi4ttVsA" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_6-d2vHJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_6-d2vXJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_6-d2vnJgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6-d2v3JgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_6_Qg4HJgEeWaaoAi4ttVsA" type="StereotypeLabel"> - <styles xmi:type="notation:StringValueStyle" xmi:id="_6_Qg4XJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6_Qg4nJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_6_RH8HJgEeWaaoAi4ttVsA" type="StereotypeBrace"> - <styles xmi:type="notation:TitleStyle" xmi:id="_6_RH8XJgEeWaaoAi4ttVsA" showTitle="true"/> - <styles xmi:type="notation:StringValueStyle" xmi:id="_6_RH8nJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6_RH83JgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_6_X1oHJgEeWaaoAi4ttVsA" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_6_X1oXJgEeWaaoAi4ttVsA" visible="false" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_6_YcsHJgEeWaaoAi4ttVsA" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_6_YcsXJgEeWaaoAi4ttVsA" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_6_ZDwHJgEeWaaoAi4ttVsA" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_6_ZDwXJgEeWaaoAi4ttVsA" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_6_ZDwnJgEeWaaoAi4ttVsA" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_VJADIBIqEeeFNrLZFDmeGg" type="Parameters"/> - <element xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_Dimension"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6-dPoXJgEeWaaoAi4ttVsA" x="20" y="20" width="161" height="181"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_6_cuIHJgEeWaaoAi4ttVsA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_6_cuIXJgEeWaaoAi4ttVsA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_6_cuI3JgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_Dimension"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6_cuInJgEeWaaoAi4ttVsA" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_7wOq0HJgEeWaaoAi4ttVsA" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_7wOq0nJgEeWaaoAi4ttVsA" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_7wOq03JgEeWaaoAi4ttVsA" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_7wOq1HJgEeWaaoAi4ttVsA" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_7wPR4HJgEeWaaoAi4ttVsA" type="Class_AttributeCompartment"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_7yq5sBL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_7yq5sRL9EeeY9ueKNJ6bdg" key="visible" value="true"/> - </eAnnotations> - <children xmi:type="notation:Shape" xmi:id="_-Ju3sBL9EeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> - <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_QuantityKind_ownedAttribute.dependsOnQuantityKinds"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_-Ju3sRL9EeeY9ueKNJ6bdg"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_-JvewBL9EeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> - <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_QuantityKind_ownedAttribute.isNumberOfEntities"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_-JvewRL9EeeY9ueKNJ6bdg"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_-JwF0BL9EeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> - <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_QuantityKind_ownedAttribute.isQuantityOfDimensionOne"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_-JwF0RL9EeeY9ueKNJ6bdg"/> - </children> - <styles xmi:type="notation:TitleStyle" xmi:id="_7wPR4XJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7wPR4nJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7wPR43JgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7wPR5HJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_7wPR5XJgEeWaaoAi4ttVsA" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7wPR5nJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7wPR53JgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7wPR6HJgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7wPR6XJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_7wPR6nJgEeWaaoAi4ttVsA" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7wPR63JgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7wPR7HJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7wPR7XJgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7wPR7nJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_7xDKMHJgEeWaaoAi4ttVsA" type="StereotypeLabel"> - <styles xmi:type="notation:StringValueStyle" xmi:id="_7xDKMXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7xDKMnJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_7xDxQHJgEeWaaoAi4ttVsA" type="StereotypeBrace"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7xDxQXJgEeWaaoAi4ttVsA" showTitle="true"/> - <styles xmi:type="notation:StringValueStyle" xmi:id="_7xDxQnJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7xDxQ3JgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_7xKe8HJgEeWaaoAi4ttVsA" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_7xKe8XJgEeWaaoAi4ttVsA" visible="false" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_7xKe8nJgEeWaaoAi4ttVsA" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_7xKe83JgEeWaaoAi4ttVsA" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_7xLGAHJgEeWaaoAi4ttVsA" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_7xLGAXJgEeWaaoAi4ttVsA" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_7xLGAnJgEeWaaoAi4ttVsA" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_VJhnkBIqEeeFNrLZFDmeGg" type="Parameters"/> - <element xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_QuantityKind"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7wOq0XJgEeWaaoAi4ttVsA" x="500" y="720" width="201" height="161"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_7xOJUHJgEeWaaoAi4ttVsA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7xOJUXJgEeWaaoAi4ttVsA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_7xOwYHJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_QuantityKind"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7xOJUnJgEeWaaoAi4ttVsA" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8nrQMHJgEeWaaoAi4ttVsA" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_8nr3QHJgEeWaaoAi4ttVsA" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_8nr3QXJgEeWaaoAi4ttVsA" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8nr3QnJgEeWaaoAi4ttVsA" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_8nr3Q3JgEeWaaoAi4ttVsA" type="Class_AttributeCompartment"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_xb2p4BOMEeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_xb34ABOMEeeY9ueKNJ6bdg" key="visible" value="true"/> - </eAnnotations> - <children xmi:type="notation:Shape" xmi:id="_y4Q9gBOMEeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> - <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.definitionURI"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_y4Q9gROMEeeY9ueKNJ6bdg"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_y4Q9ghOMEeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> - <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.description"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_y4Q9gxOMEeeY9ueKNJ6bdg"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_y4Q9hBOMEeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> - <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.symbol"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_y4Q9hROMEeeY9ueKNJ6bdg"/> - </children> - <styles xmi:type="notation:TitleStyle" xmi:id="_8nr3RHJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_8nr3RXJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_8nr3RnJgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8nr3R3JgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_8nr3SHJgEeWaaoAi4ttVsA" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_8nr3SXJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_8nr3SnJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_8nr3S3JgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8nr3THJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_8nr3TXJgEeWaaoAi4ttVsA" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_8nr3TnJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_8nr3T3JgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_8nr3UHJgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8nr3UXJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8okoEHJgEeWaaoAi4ttVsA" type="StereotypeLabel"> - <styles xmi:type="notation:StringValueStyle" xmi:id="_8okoEXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8okoEnJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_8olPIHJgEeWaaoAi4ttVsA" type="StereotypeBrace"> - <styles xmi:type="notation:TitleStyle" xmi:id="_8olPIXJgEeWaaoAi4ttVsA" showTitle="true"/> - <styles xmi:type="notation:StringValueStyle" xmi:id="_8olPInJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8olPI3JgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_8orVwHJgEeWaaoAi4ttVsA" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_8or80HJgEeWaaoAi4ttVsA" visible="false" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_8or80XJgEeWaaoAi4ttVsA" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_8or80nJgEeWaaoAi4ttVsA" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_8osj4HJgEeWaaoAi4ttVsA" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_8osj4XJgEeWaaoAi4ttVsA" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_8osj4nJgEeWaaoAi4ttVsA" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_VJ8eUBIqEeeFNrLZFDmeGg" type="Parameters"/> - <element xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_SystemOfQuantities"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8nrQMXJgEeWaaoAi4ttVsA" x="520" y="20" width="161" height="181"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8owOQHJgEeWaaoAi4ttVsA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_8owOQXJgEeWaaoAi4ttVsA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8ow1UHJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_SystemOfQuantities"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8owOQnJgEeWaaoAi4ttVsA" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_9YlvwHJgEeWaaoAi4ttVsA" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_9YlvwnJgEeWaaoAi4ttVsA" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_9Ylvw3JgEeWaaoAi4ttVsA" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_9YlvxHJgEeWaaoAi4ttVsA" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_9YlvxXJgEeWaaoAi4ttVsA" type="Class_AttributeCompartment"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_H6aHkBL-EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_H6aHkRL-EeeY9ueKNJ6bdg" key="visible" value="true"/> - </eAnnotations> - <styles xmi:type="notation:TitleStyle" xmi:id="_9YlvxnJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_9Ylvx3JgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_9YlvyHJgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9YlvyXJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_9YmW0HJgEeWaaoAi4ttVsA" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_9YmW0XJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_9YmW0nJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_9YmW03JgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9YmW1HJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_9YmW1XJgEeWaaoAi4ttVsA" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_9YmW1nJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_9YmW13JgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_9YmW2HJgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9YmW2XJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_9ZmcYHJgEeWaaoAi4ttVsA" type="StereotypeLabel"> - <styles xmi:type="notation:StringValueStyle" xmi:id="_9ZmcYXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9ZmcYnJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_9ZmcY3JgEeWaaoAi4ttVsA" type="StereotypeBrace"> - <styles xmi:type="notation:TitleStyle" xmi:id="_9ZmcZHJgEeWaaoAi4ttVsA" showTitle="true"/> - <styles xmi:type="notation:StringValueStyle" xmi:id="_9ZmcZXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9ZmcZnJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_9ZsjAHJgEeWaaoAi4ttVsA" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_9ZtKEHJgEeWaaoAi4ttVsA" visible="false" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_9ZtKEXJgEeWaaoAi4ttVsA" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_9ZtKEnJgEeWaaoAi4ttVsA" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_9ZtxIHJgEeWaaoAi4ttVsA" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_9ZtxIXJgEeWaaoAi4ttVsA" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_9ZtxInJgEeWaaoAi4ttVsA" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_VKgfABIqEeeFNrLZFDmeGg" type="Parameters"/> - <element xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_SystemOfUnits"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9YlvwXJgEeWaaoAi4ttVsA" x="1200" y="20" width="141" height="134"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_9ZxbgHJgEeWaaoAi4ttVsA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_9ZxbgXJgEeWaaoAi4ttVsA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_9Zxbg3JgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_SystemOfUnits"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9ZxbgnJgEeWaaoAi4ttVsA" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_-IDd0HJgEeWaaoAi4ttVsA" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_-IDd0nJgEeWaaoAi4ttVsA" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_-IDd03JgEeWaaoAi4ttVsA" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_-IDd1HJgEeWaaoAi4ttVsA" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_-IDd1XJgEeWaaoAi4ttVsA" visible="false" type="Class_AttributeCompartment"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Bjm9kBL-EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Bjm9kRL-EeeY9ueKNJ6bdg" key="visible" value="true"/> - </eAnnotations> - <styles xmi:type="notation:TitleStyle" xmi:id="_-IDd1nJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_-IDd13JgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_-IEE4HJgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-IEE4XJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_-IEE4nJgEeWaaoAi4ttVsA" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_-IEE43JgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_-IEE5HJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_-IEE5XJgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-IEE5nJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_-IEE53JgEeWaaoAi4ttVsA" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_-IEE6HJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_-IEE6XJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_-IEE6nJgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-IEE63JgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_-JH00HJgEeWaaoAi4ttVsA" type="StereotypeLabel"> - <styles xmi:type="notation:StringValueStyle" xmi:id="_-JH00XJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-JH00nJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_-JIb4HJgEeWaaoAi4ttVsA" type="StereotypeBrace"> - <styles xmi:type="notation:TitleStyle" xmi:id="_-JIb4XJgEeWaaoAi4ttVsA" showTitle="true"/> - <styles xmi:type="notation:StringValueStyle" xmi:id="_-JIb4nJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-JIb43JgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_-JPJkHJgEeWaaoAi4ttVsA" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_-JPJkXJgEeWaaoAi4ttVsA" visible="false" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_-JPJknJgEeWaaoAi4ttVsA" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_-JPJk3JgEeWaaoAi4ttVsA" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_-JPwoHJgEeWaaoAi4ttVsA" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_-JPwoXJgEeWaaoAi4ttVsA" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_-JPwonJgEeWaaoAi4ttVsA" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_VLEfsBIqEeeFNrLZFDmeGg" type="Parameters"/> - <element xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_PrefixedUnit"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-IDd0XJgEeWaaoAi4ttVsA" x="840" y="280" width="141" height="161"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_-JTbAHJgEeWaaoAi4ttVsA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_-JTbAXJgEeWaaoAi4ttVsA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_-JTbA3JgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_PrefixedUnit"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-JTbAnJgEeWaaoAi4ttVsA" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_-17QcHJgEeWaaoAi4ttVsA" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_-17QcnJgEeWaaoAi4ttVsA" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_-173gHJgEeWaaoAi4ttVsA" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_-173gXJgEeWaaoAi4ttVsA" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_-173gnJgEeWaaoAi4ttVsA" type="Class_AttributeCompartment"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_GRsdUBL-EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_GRsdURL-EeeY9ueKNJ6bdg" key="visible" value="true"/> - </eAnnotations> - <children xmi:type="notation:Shape" xmi:id="_FIgasBONEeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> - <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_Prefix_ownedAttribute.factor"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_FIgasRONEeeY9ueKNJ6bdg"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_FImhUBONEeeY9ueKNJ6bdg" type="Property_ClassAttributeLabel"> - <element xmi:type="uml:Property" href="QUDV.uml#QUDV.class_packagedElement_Prefix_ownedAttribute.symbol"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_FImhURONEeeY9ueKNJ6bdg"/> - </children> - <styles xmi:type="notation:TitleStyle" xmi:id="_-173g3JgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_-173hHJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_-173hXJgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-173hnJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_-173h3JgEeWaaoAi4ttVsA" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_-173iHJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_-173iXJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_-173inJgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-173i3JgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_-173jHJgEeWaaoAi4ttVsA" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_-173jXJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_-173jnJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_-173j3JgEeWaaoAi4ttVsA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-173kHJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_-3GVIHJgEeWaaoAi4ttVsA" type="StereotypeLabel"> - <styles xmi:type="notation:StringValueStyle" xmi:id="_-3GVIXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-3GVInJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_-3GVI3JgEeWaaoAi4ttVsA" type="StereotypeBrace"> - <styles xmi:type="notation:TitleStyle" xmi:id="_-3GVJHJgEeWaaoAi4ttVsA" showTitle="true"/> - <styles xmi:type="notation:StringValueStyle" xmi:id="_-3GVJXJgEeWaaoAi4ttVsA" name="stereotype" stringValue="SysML::Blocks::Block"/> - <element xmi:type="uml:Stereotype" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-3GVJnJgEeWaaoAi4ttVsA"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_-3NC0HJgEeWaaoAi4ttVsA" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_-3NC0XJgEeWaaoAi4ttVsA" visible="false" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_-3Np4HJgEeWaaoAi4ttVsA" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_-3Np4XJgEeWaaoAi4ttVsA" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_-3Np4nJgEeWaaoAi4ttVsA" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_-3Np43JgEeWaaoAi4ttVsA" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_-3OQ8HJgEeWaaoAi4ttVsA" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_VLc6MBIqEeeFNrLZFDmeGg" type="Parameters"/> - <element xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_Prefix"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-17QcXJgEeWaaoAi4ttVsA" x="980" y="520" width="141" height="161"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_-3RUQHJgEeWaaoAi4ttVsA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_-3RUQXJgEeWaaoAi4ttVsA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_-3R7UHJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_Prefix"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-3RUQnJgEeWaaoAi4ttVsA" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_dQph0BL9EeeY9ueKNJ6bdg" type="Constraint_PackagedElementShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_dQqI4BL9EeeY9ueKNJ6bdg" type="Constraint_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_dQqI4RL9EeeY9ueKNJ6bdg" type="Constraint_BodyLabel"/> - <element xmi:type="uml:Constraint" href="QUDV.uml#QUDV.class_packagedElement_DerivedUnit.constraint_ownedRule_mustSpecifyQuantityKind"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_dQph0RL9EeeY9ueKNJ6bdg" x="1667" y="79"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_-20nMBL9EeeY9ueKNJ6bdg" type="Constraint_PackagedElementShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_-21OQBL9EeeY9ueKNJ6bdg" type="Constraint_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_-21OQRL9EeeY9ueKNJ6bdg" type="Constraint_BodyLabel"/> - <element xmi:type="uml:Constraint" href="QUDV.uml#QUDV.class_packagedElement_QuantityKind.constraint_ownedRule_acyclic_quantity_kind_dependencies"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-20nMRL9EeeY9ueKNJ6bdg" x="640" y="960"/> - </children> - <styles xmi:type="notation:StringValueStyle" xmi:id="_0Gvw8XJgEeWaaoAi4ttVsA" name="diagram_compatibility_version" stringValue="1.3.0"/> - <styles xmi:type="notation:DiagramStyle" xmi:id="_0Gvw8nJgEeWaaoAi4ttVsA"/> - <styles xmi:type="style:PapyrusDiagramStyle" xmi:id="_3gCm4FdZEee6UuspFlbpuA" diagramKindId="org.eclipse.papyrus.sysml14.diagram.blockdefinition"> - <owner xmi:type="uml:Package" href="QUDV.uml#QUDV"/> - </styles> - <element xmi:type="uml:Package" href="QUDV.uml#QUDV"/> - <edges xmi:type="notation:Connector" xmi:id="_2UW4AHJgEeWaaoAi4ttVsA" type="StereotypeCommentLink" source="_2RUyIHJgEeWaaoAi4ttVsA" target="_2UWQ8HJgEeWaaoAi4ttVsA"> - <styles xmi:type="notation:FontStyle" xmi:id="_2UW4AXJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_2UW4BXJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_ConversionBasedUnit"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_2UW4AnJgEeWaaoAi4ttVsA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_2UW4A3JgEeWaaoAi4ttVsA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_2UW4BHJgEeWaaoAi4ttVsA"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_3KXS9HJgEeWaaoAi4ttVsA" type="StereotypeCommentLink" source="_3J2VkHJgEeWaaoAi4ttVsA" target="_3KXS8HJgEeWaaoAi4ttVsA"> - <styles xmi:type="notation:FontStyle" xmi:id="_3KXS9XJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_3KXS-XJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_Unit"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_3KXS9nJgEeWaaoAi4ttVsA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_3KXS93JgEeWaaoAi4ttVsA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_3KXS-HJgEeWaaoAi4ttVsA"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_35XuAHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_2RUyIHJgEeWaaoAi4ttVsA" target="_3J2VkHJgEeWaaoAi4ttVsA"> - <children xmi:type="notation:DecorationNode" xmi:id="_35YVEHJgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_n8or0BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_35YVEXJgEeWaaoAi4ttVsA" x="-1" y="-18"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_35YVEnJgEeWaaoAi4ttVsA" type="Association_NameLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_n953IBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_35YVE3JgEeWaaoAi4ttVsA" x="100" y="13"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_35YVFHJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_n-masBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_35YVFXJgEeWaaoAi4ttVsA" x="100" y="-7"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_35YVFnJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_n_ZE4BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_35YVF3JgEeWaaoAi4ttVsA" x="1" y="-7"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_35Y8IHJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_oAGPgBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_35Y8IXJgEeWaaoAi4ttVsA" x="20" y="13"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_35Y8InJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_oAyzEBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_35Y8I3JgEeWaaoAi4ttVsA" x="-19" y="13"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_35XuAXJgEeWaaoAi4ttVsA"/> - <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_conversionBasedUnit_referenceUnit"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_35XuAnJgEeWaaoAi4ttVsA" points="[1000, 801, -643984, -643984]$[900, 940, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DDVFAHJhEeWaaoAi4ttVsA" id="(0.0,0.37267080745341613)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DDVsEHJhEeWaaoAi4ttVsA" id="(1.0,0.37267080745341613)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_4AlwUHJgEeWaaoAi4ttVsA" type="StereotypeCommentLink" source="_39NFIHJgEeWaaoAi4ttVsA" target="_4AlJQHJgEeWaaoAi4ttVsA"> - <styles xmi:type="notation:FontStyle" xmi:id="_4AlwUXJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_4AlwVXJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_DerivedQuantityKind"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_4AlwUnJgEeWaaoAi4ttVsA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_4AlwU3JgEeWaaoAi4ttVsA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_4AlwVHJgEeWaaoAi4ttVsA"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_4poGRHJgEeWaaoAi4ttVsA" type="StereotypeCommentLink" source="_4m0p4HJgEeWaaoAi4ttVsA" target="_4poGQHJgEeWaaoAi4ttVsA"> - <styles xmi:type="notation:FontStyle" xmi:id="_4poGRXJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_4poGSXJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_QuantityKindFactor"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_4poGRnJgEeWaaoAi4ttVsA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_4poGR3JgEeWaaoAi4ttVsA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_4poGSHJgEeWaaoAi4ttVsA"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_5V6kgHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_39NFIHJgEeWaaoAi4ttVsA" target="_4m0p4HJgEeWaaoAi4ttVsA"> - <children xmi:type="notation:DecorationNode" xmi:id="_5V6kg3JgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_Dpoz0BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_5V6khHJgEeWaaoAi4ttVsA" x="1" y="-18"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_5V7LkHJgEeWaaoAi4ttVsA" type="Association_NameLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_DqUJQBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_5V7LkXJgEeWaaoAi4ttVsA" x="19" y="-7"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_5V7LknJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_DuYw8BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_5V7Lk3JgEeWaaoAi4ttVsA" x="17" y="-16"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_5V7LlHJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_DvDfUBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_5V7LlXJgEeWaaoAi4ttVsA" x="-13" y="-20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_5V7LlnJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_Dx5X8BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_5V7Ll3JgEeWaaoAi4ttVsA" x="17" y="32"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_5V7LmHJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_DyjfQBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_5V7LmXJgEeWaaoAi4ttVsA" x="-13" y="20"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_5V6kgXJgEeWaaoAi4ttVsA"/> - <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_derivedQuantityKind_factor"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_5V6kgnJgEeWaaoAi4ttVsA" points="[340, 401, -643984, -643984]$[340, 440, -643984, -643984]$[220, 440, -643984, -643984]$[220, 480, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DHS_AHJhEeWaaoAi4ttVsA" id="(0.49390243902439024,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DHTmEHJhEeWaaoAi4ttVsA" id="(0.7453416149068323,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_5ZigQXJgEeWaaoAi4ttVsA" type="StereotypeCommentLink" source="_5Y18sHJgEeWaaoAi4ttVsA" target="_5Zh5MHJgEeWaaoAi4ttVsA"> - <styles xmi:type="notation:FontStyle" xmi:id="_5ZigQnJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_5ZigRnJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_DerivedUnit"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_5ZigQ3JgEeWaaoAi4ttVsA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_5ZigRHJgEeWaaoAi4ttVsA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_5ZigRXJgEeWaaoAi4ttVsA"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_6JqVpHJgEeWaaoAi4ttVsA" type="StereotypeCommentLink" source="_6IwWsHJgEeWaaoAi4ttVsA" target="_6JqVoHJgEeWaaoAi4ttVsA"> - <styles xmi:type="notation:FontStyle" xmi:id="_6JqVpXJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_6Jq8snJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_UnitFactor"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_6JqVpnJgEeWaaoAi4ttVsA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_6Jq8sHJgEeWaaoAi4ttVsA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_6Jq8sXJgEeWaaoAi4ttVsA"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_65aXkHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_5Y18sHJgEeWaaoAi4ttVsA" target="_6IwWsHJgEeWaaoAi4ttVsA"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_dfHboBL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_dfHboRL9EeeY9ueKNJ6bdg" key="visible" value="true"/> - </eAnnotations> - <children xmi:type="notation:DecorationNode" xmi:id="_65a-oHJgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_lj4rwBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_65a-oXJgEeWaaoAi4ttVsA" y="-20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_65a-onJgEeWaaoAi4ttVsA" type="Association_NameLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_llXScBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_65a-o3JgEeWaaoAi4ttVsA" x="6"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_65a-pHJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_lmpr4BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_65a-pXJgEeWaaoAi4ttVsA" x="6"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_65a-pnJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_loF2UBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_65a-p3JgEeWaaoAi4ttVsA" x="-13"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_65a-qHJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_loyZ4BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_65a-qXJgEeWaaoAi4ttVsA" x="6" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_65a-qnJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_lpfkgBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_65a-q3JgEeWaaoAi4ttVsA" x="-13" y="20"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_65aXkXJgEeWaaoAi4ttVsA"/> - <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_derivedUnit_factor"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_65aXknJgEeWaaoAi4ttVsA" points="[1588, 381, -643984, -643984]$[1588, 500, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DM3bgHJhEeWaaoAi4ttVsA" id="(0.425531914893617,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DM3bgXJhEeWaaoAi4ttVsA" id="(0.425531914893617,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_6_cuJHJgEeWaaoAi4ttVsA" type="StereotypeCommentLink" source="_6-dPoHJgEeWaaoAi4ttVsA" target="_6_cuIHJgEeWaaoAi4ttVsA"> - <styles xmi:type="notation:FontStyle" xmi:id="_6_cuJXJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_6_cuKXJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_Dimension"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_6_cuJnJgEeWaaoAi4ttVsA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_6_cuJ3JgEeWaaoAi4ttVsA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_6_cuKHJgEeWaaoAi4ttVsA"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_7tLW0HJgEeWaaoAi4ttVsA" type="Association_Edge" source="_6-dPoHJgEeWaaoAi4ttVsA" target="_4m0p4HJgEeWaaoAi4ttVsA"> - <children xmi:type="notation:DecorationNode" xmi:id="_7tLW03JgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_CGdJ0BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_7tLW1HJgEeWaaoAi4ttVsA" y="-20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_7tLW1XJgEeWaaoAi4ttVsA" type="Association_NameLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_CIJL4BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_7tLW1nJgEeWaaoAi4ttVsA" x="-11" y="-53"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_7tL94HJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_CJYiABIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_7tL94XJgEeWaaoAi4ttVsA" x="6"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_7tL94nJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_CKjmsBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_7tL943JgEeWaaoAi4ttVsA" x="-13" y="80"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_7tL95HJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_CLYtIBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_7tL95XJgEeWaaoAi4ttVsA" x="6" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_7tL95nJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_CMan4BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_7tL953JgEeWaaoAi4ttVsA" x="-13" y="-20"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_7tLW0XJgEeWaaoAi4ttVsA"/> - <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_dimension_factor"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_7tLW0nJgEeWaaoAi4ttVsA" points="[80, 201, -643984, -643984]$[80, 360, -643984, -643984]$[140, 360, -643984, -643984]$[140, 480, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DKQzcXJhEeWaaoAi4ttVsA" id="(0.37267080745341613,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DKQzcnJhEeWaaoAi4ttVsA" id="(0.2484472049689441,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_7xOwYXJgEeWaaoAi4ttVsA" type="StereotypeCommentLink" source="_7wOq0HJgEeWaaoAi4ttVsA" target="_7xOJUHJgEeWaaoAi4ttVsA"> - <styles xmi:type="notation:FontStyle" xmi:id="_7xOwYnJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_7xOwZnJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_QuantityKind"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_7xOwY3JgEeWaaoAi4ttVsA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_7xOwZHJgEeWaaoAi4ttVsA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_7xOwZXJgEeWaaoAi4ttVsA"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8fpVkHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_7wOq0HJgEeWaaoAi4ttVsA" target="_7wOq0HJgEeWaaoAi4ttVsA"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-8S9FBL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-8S9FRL9EeeY9ueKNJ6bdg" key="visible" value="true"/> - </eAnnotations> - <children xmi:type="notation:DecorationNode" xmi:id="_8fp8oHJgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_vLvW0BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8fp8oXJgEeWaaoAi4ttVsA" y="-20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8fp8onJgEeWaaoAi4ttVsA" type="Association_NameLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_vM_7EBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8fp8o3JgEeWaaoAi4ttVsA" x="-33" y="240"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8fp8pHJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_vNrQgBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8fqjsHJgEeWaaoAi4ttVsA" x="60" y="-7"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8fqjsXJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_vOWl8BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8fqjsnJgEeWaaoAi4ttVsA" x="-46" y="-60"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8fqjs3JgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_vPBUUBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8fqjtHJgEeWaaoAi4ttVsA" x="20" y="13"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8frKwHJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_vPsCsBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8frKwXJgEeWaaoAi4ttVsA" x="-26" y="-40"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_8fpVkXJgEeWaaoAi4ttVsA"/> - <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_generalQuantityKind_specificQuantityKind"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8fpVknJgEeWaaoAi4ttVsA" points="[500, 820, -643984, -643984]$[440, 820, -643984, -643984]$[440, 920, -643984, -643984]$[560, 920, -643984, -643984]$[620, 881, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ZwlVcBIuEeeFNrLZFDmeGg" id="(0.0,0.6211180124223602)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ZwlVcRIuEeeFNrLZFDmeGg" id="(0.29850746268656714,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8i9vUHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_3J2VkHJgEeWaaoAi4ttVsA" target="_3J2VkHJgEeWaaoAi4ttVsA"> - <children xmi:type="notation:DecorationNode" xmi:id="_8i9vU3JgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_pUU3gBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8i9vVHJgEeWaaoAi4ttVsA" y="-20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8i9vVXJgEeWaaoAi4ttVsA" type="Association_NameLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_pVtXkBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8i9vVnJgEeWaaoAi4ttVsA" x="-170" y="-33"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8i9vV3JgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_pWyVoBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8i9vWHJgEeWaaoAi4ttVsA" x="60" y="-7"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8i9vWXJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_pXncEBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8i-WYHJgEeWaaoAi4ttVsA" x="-6"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8i-WYXJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_pYSxgBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8i-WYnJgEeWaaoAi4ttVsA" x="40" y="13"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8i-WY3JgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_pZAjMBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8i-WZHJgEeWaaoAi4ttVsA" x="-6" y="-20"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_8i9vUXJgEeWaaoAi4ttVsA"/> - <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_generalUnit_specificUnit"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8i9vUnJgEeWaaoAi4ttVsA" points="[1200, 840, -643984, -643984]$[1140, 840, -643984, -643984]$[1140, 920, -643984, -643984]$[1260, 920, -643984, -643984]$[1300, 881, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GvZHABIvEeeFNrLZFDmeGg" id="(0.0,0.7453416149068323)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_HIAbUBIvEeeFNrLZFDmeGg" id="(0.37267080745341613,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8ow1UXJgEeWaaoAi4ttVsA" type="StereotypeCommentLink" source="_8nrQMHJgEeWaaoAi4ttVsA" target="_8owOQHJgEeWaaoAi4ttVsA"> - <styles xmi:type="notation:FontStyle" xmi:id="_8ow1UnJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8ow1VnJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_SystemOfQuantities"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8ow1U3JgEeWaaoAi4ttVsA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8ow1VHJgEeWaaoAi4ttVsA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8ow1VXJgEeWaaoAi4ttVsA"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_9VpwgHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_8nrQMHJgEeWaaoAi4ttVsA" target="_8nrQMHJgEeWaaoAi4ttVsA"> - <children xmi:type="notation:DecorationNode" xmi:id="_9Vpwg3JgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_7XXboBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_9VpwhHJgEeWaaoAi4ttVsA" y="-20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_9VpwhXJgEeWaaoAi4ttVsA" type="Association_NameLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_7YxJ0BIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_9VpwhnJgEeWaaoAi4ttVsA" x="-53"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_9Vpwh3JgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_7ZkbEBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_9VpwiHJgEeWaaoAi4ttVsA" x="19" y="-13"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_9VpwiXJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_7a4psBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_9VpwinJgEeWaaoAi4ttVsA" x="-49" y="3"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_9Vpwi3JgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_7cArEBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_9VpwjHJgEeWaaoAi4ttVsA" x="19" y="7"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_9VqXkHJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_7dUSoBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_9VqXkXJgEeWaaoAi4ttVsA" x="-26" y="20"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_9VpwgXJgEeWaaoAi4ttVsA"/> - <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_includedSystemOfQuantities_systemOfQuantities"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_9VpwgnJgEeWaaoAi4ttVsA" points="[681, 160, -643984, -643984]$[720, 160, -643984, -643984]$[720, 240, -643984, -643984]$[640, 240, -643984, -643984]$[640, 201, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Ahc64BIrEeeFNrLZFDmeGg" id="(1.0,0.7734806629834254)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Ahc64RIrEeeFNrLZFDmeGg" id="(0.7453416149068323,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_9ZyCkHJgEeWaaoAi4ttVsA" type="StereotypeCommentLink" source="_9YlvwHJgEeWaaoAi4ttVsA" target="_9ZxbgHJgEeWaaoAi4ttVsA"> - <styles xmi:type="notation:FontStyle" xmi:id="_9ZyCkXJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_9ZyClXJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_SystemOfUnits"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_9ZyCknJgEeWaaoAi4ttVsA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9ZyCk3JgEeWaaoAi4ttVsA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9ZyClHJgEeWaaoAi4ttVsA"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_-FOMQHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_9YlvwHJgEeWaaoAi4ttVsA" target="_9YlvwHJgEeWaaoAi4ttVsA"> - <children xmi:type="notation:DecorationNode" xmi:id="_-FOzUHJgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-Q_UIBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_-FOzUXJgEeWaaoAi4ttVsA" y="-20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_-FOzUnJgEeWaaoAi4ttVsA" type="Association_NameLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-SM1EBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_-FOzU3JgEeWaaoAi4ttVsA" x="-43"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_-FOzVHJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-TAtYBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_-FOzVXJgEeWaaoAi4ttVsA" x="19" y="-13"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_-FOzVnJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-TywgBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_-FOzV3JgEeWaaoAi4ttVsA" x="-46"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_-FOzWHJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-VVBkBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_-FOzWXJgEeWaaoAi4ttVsA" x="19" y="7"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_-FPaYHJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-WEBYBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_-FPaYXJgEeWaaoAi4ttVsA" x="-26" y="20"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_-FOMQXJgEeWaaoAi4ttVsA"/> - <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_includedSystemOfUnits_systemOfUnits"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_-FOMQnJgEeWaaoAi4ttVsA" points="[1341, 160, -643984, -643984]$[1400, 160, -643984, -643984]$[1400, 240, -643984, -643984]$[1320, 240, -643984, -643984]$[1320, 201, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Al4ScBIsEeeFNrLZFDmeGg" id="(1.0,0.7734806629834254)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_AXhtYBIsEeeFNrLZFDmeGg" id="(0.851063829787234,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_-JTbBHJgEeWaaoAi4ttVsA" type="StereotypeCommentLink" source="_-IDd0HJgEeWaaoAi4ttVsA" target="_-JTbAHJgEeWaaoAi4ttVsA"> - <styles xmi:type="notation:FontStyle" xmi:id="_-JTbBXJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_-JTbCXJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_PrefixedUnit"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_-JTbBnJgEeWaaoAi4ttVsA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_-JTbB3JgEeWaaoAi4ttVsA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_-JTbCHJgEeWaaoAi4ttVsA"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_-y9cAHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_7wOq0HJgEeWaaoAi4ttVsA" target="_-IDd0HJgEeWaaoAi4ttVsA"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-8RH4BL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-8RH4RL9EeeY9ueKNJ6bdg" key="visible" value="true"/> - </eAnnotations> - <children xmi:type="notation:DecorationNode" xmi:id="_-y-DEHJgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_uIl3wBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_-y-DEXJgEeWaaoAi4ttVsA" x="2" y="-17"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_-y-DEnJgEeWaaoAi4ttVsA" type="Association_NameLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_uKDQUBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_-y-DE3JgEeWaaoAi4ttVsA" x="-170" y="-93"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_-y-DFHJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_uKwa8BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_-y-DFXJgEeWaaoAi4ttVsA" x="33"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_-y-DFnJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_uLdlkBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_-y-DF3JgEeWaaoAi4ttVsA" x="-6" y="-100"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_-y-DGHJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_uMI7ABIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_-y-DGXJgEeWaaoAi4ttVsA" x="33" y="-20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_-y-DGnJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_uMzpYBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_-y-DG3JgEeWaaoAi4ttVsA" x="-6"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_-y9cAXJgEeWaaoAi4ttVsA"/> - <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_noQuantityKind_prefixedUnit"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_-y9cAnJgEeWaaoAi4ttVsA" points="[680, 720, -643984, -643984]$[660, 680, -643984, -643984]$[880, 680, -643984, -643984]$[880, 441, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DUyBYHJhEeWaaoAi4ttVsA" id="(0.7960199004975125,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DUyBYXJhEeWaaoAi4ttVsA" id="(0.28368794326241137,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_-3R7UXJgEeWaaoAi4ttVsA" type="StereotypeCommentLink" source="_-17QcHJgEeWaaoAi4ttVsA" target="_-3RUQHJgEeWaaoAi4ttVsA"> - <styles xmi:type="notation:FontStyle" xmi:id="_-3R7UnJgEeWaaoAi4ttVsA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_-3R7VnJgEeWaaoAi4ttVsA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="QUDV.uml#QUDV.class_packagedElement_Prefix"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_-3R7U3JgEeWaaoAi4ttVsA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_-3R7VHJgEeWaaoAi4ttVsA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_-3R7VXJgEeWaaoAi4ttVsA"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="__gug8HJgEeWaaoAi4ttVsA" type="Association_Edge" source="_-IDd0HJgEeWaaoAi4ttVsA" target="_-17QcHJgEeWaaoAi4ttVsA"> - <children xmi:type="notation:DecorationNode" xmi:id="__gvIAHJgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_o2JtwBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__gvIAXJgEeWaaoAi4ttVsA" x="1" y="-18"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__gvIAnJgEeWaaoAi4ttVsA" type="Association_NameLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_o3cHMBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__gvIA3JgEeWaaoAi4ttVsA" x="-31" y="-13"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__gvIBHJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_o4Kf8BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__gvIBXJgEeWaaoAi4ttVsA" x="6"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__gvIBnJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_o42ccBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__gvIB3JgEeWaaoAi4ttVsA" x="-13" y="80"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__gvICHJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_o5k1MBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__gvvEHJgEeWaaoAi4ttVsA" x="6" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__gvvEXJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_o6Z7oBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__gvvEnJgEeWaaoAi4ttVsA" x="-13" y="-20"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="__gug8XJgEeWaaoAi4ttVsA"/> - <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_prefixedUnit_prefix"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__gug8nJgEeWaaoAi4ttVsA" points="[940, 441, -643984, -643984]$[940, 480, -643984, -643984]$[1020, 480, -643984, -643984]$[1020, 520, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DeR7oHJhEeWaaoAi4ttVsA" id="(0.7092198581560284,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DeSisHJhEeWaaoAi4ttVsA" id="(0.28368794326241137,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="__jv_wHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_4m0p4HJgEeWaaoAi4ttVsA" target="_7wOq0HJgEeWaaoAi4ttVsA"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-8TkIhL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-8TkIxL9EeeY9ueKNJ6bdg" key="visible" value="true"/> - </eAnnotations> - <children xmi:type="notation:DecorationNode" xmi:id="__jwm0HJgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_Dkd_8BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__jwm0XJgEeWaaoAi4ttVsA" y="-19"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__jwm0nJgEeWaaoAi4ttVsA" type="Association_NameLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_DlsH8BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__jwm03JgEeWaaoAi4ttVsA" x="-71" y="-13"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__jwm1HJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_DmmG4BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__jwm1XJgEeWaaoAi4ttVsA" x="6"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__jwm1nJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_DnVGsBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__jwm13JgEeWaaoAi4ttVsA" x="-13" y="120"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__jwm2HJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_DoRh4BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__jwm2XJgEeWaaoAi4ttVsA" x="6" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__jwm2nJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_Do-FcBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__jwm23JgEeWaaoAi4ttVsA" x="-13"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="__jv_wXJgEeWaaoAi4ttVsA"/> - <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_quantityKindFactor_quantityKind"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__jv_wnJgEeWaaoAi4ttVsA" points="[180, 641, -643984, -643984]$[180, 680, -643984, -643984]$[540, 680, -643984, -643984]$[540, 720, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DKQMYHJhEeWaaoAi4ttVsA" id="(0.4968944099378882,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DKQzcHJhEeWaaoAi4ttVsA" id="(0.19900497512437812,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="__m2-IHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_7wOq0HJgEeWaaoAi4ttVsA" target="_3J2VkHJgEeWaaoAi4ttVsA"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-8TkIBL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-8TkIRL9EeeY9ueKNJ6bdg" key="visible" value="true"/> - </eAnnotations> - <children xmi:type="notation:DecorationNode" xmi:id="__m3lMHJgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_pZymUBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__m3lMXJgEeWaaoAi4ttVsA" x="1" y="-18"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__m3lMnJgEeWaaoAi4ttVsA" type="Association_NameLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_paei0BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__m3lM3JgEeWaaoAi4ttVsA" x="-91" y="7"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__m3lNHJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_pes7gBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__m3lNXJgEeWaaoAi4ttVsA" x="19" y="-13"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__m3lNnJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_pi9wcBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__m3lN3JgEeWaaoAi4ttVsA" x="-100" y="-13"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__m4MQHJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_pj49gBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__m4MQXJgEeWaaoAi4ttVsA" x="39" y="7"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__m4MQnJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_poWmwBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__m4MQ3JgEeWaaoAi4ttVsA" x="-40" y="7"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="__m2-IXJgEeWaaoAi4ttVsA"/> - <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_quantityKind_measurementUnit"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__m2-InJgEeWaaoAi4ttVsA" points="[701, 800, -643984, -643984]$[1200, 800, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DFxVAHJhEeWaaoAi4ttVsA" id="(1.0,0.4968944099378882)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DFxVAXJhEeWaaoAi4ttVsA" id="(0.0,0.4968944099378882)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="__qI7oHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_8nrQMHJgEeWaaoAi4ttVsA" target="_7wOq0HJgEeWaaoAi4ttVsA"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-8S9EBL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-8S9ERL9EeeY9ueKNJ6bdg" key="visible" value="true"/> - </eAnnotations> - <children xmi:type="notation:DecorationNode" xmi:id="__qJisHJgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_7hqnIBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__qJisXJgEeWaaoAi4ttVsA" y="19"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__qJisnJgEeWaaoAi4ttVsA" type="Association_NameLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_7i0dsBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__qJis3JgEeWaaoAi4ttVsA" x="86" y="220"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__qJitHJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_7x8e0BIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__qJitXJgEeWaaoAi4ttVsA" x="106" y="120"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__qJitnJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_7ysswBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__qJit3JgEeWaaoAi4ttVsA" x="-93" y="120"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__qJiuHJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_724pMBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__qJiuXJgEeWaaoAi4ttVsA" x="106"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__qKJwHJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_733goBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__qKJwXJgEeWaaoAi4ttVsA" x="-93"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="__qI7oXJgEeWaaoAi4ttVsA"/> - <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_systemOfQuantities_baseQuantityKind"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__qI7onJgEeWaaoAi4ttVsA" points="[560, 201, -643984, -643984]$[480, 1000, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DUyocHJhEeWaaoAi4ttVsA" id="(0.37267080745341613,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DUyocXJhEeWaaoAi4ttVsA" id="(0.39800995024875624,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="__u0nUHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_8nrQMHJgEeWaaoAi4ttVsA" target="_6-dPoHJgEeWaaoAi4ttVsA"> - <children xmi:type="notation:DecorationNode" xmi:id="__u0nU3JgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_78fh8BIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__u1OYHJgEeWaaoAi4ttVsA" x="-1" y="-19"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__u1OYXJgEeWaaoAi4ttVsA" type="Association_NameLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_79YSwBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__u1OYnJgEeWaaoAi4ttVsA" x="62" y="56"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__u1OY3JgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8BfWsBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__u1OZHJgEeWaaoAi4ttVsA" x="119" y="-22"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__u1OZXJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8C5r8BIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__u1OZnJgEeWaaoAi4ttVsA" x="-10" y="26"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__u1OZ3JgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8DuyYBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__u1OaHJgEeWaaoAi4ttVsA" x="25" y="15"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__u1OaXJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8E0-kBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__u1OanJgEeWaaoAi4ttVsA" x="-14" y="-19"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="__u0nUXJgEeWaaoAi4ttVsA"/> - <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_systemOfQuantities_dimension"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__u0nUnJgEeWaaoAi4ttVsA" points="[500, 80, -643984, -643984]$[160, 20, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DQ6OAHJhEeWaaoAi4ttVsA" id="(0.0,0.3314917127071823)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DQ61EHJhEeWaaoAi4ttVsA" id="(1.0,0.3314917127071823)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="__yBFQHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_8nrQMHJgEeWaaoAi4ttVsA" target="_7wOq0HJgEeWaaoAi4ttVsA"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_-8S9EhL9EeeY9ueKNJ6bdg" source="PapyrusCSSForceValue"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_-8S9ExL9EeeY9ueKNJ6bdg" key="visible" value="true"/> - </eAnnotations> - <children xmi:type="notation:DecorationNode" xmi:id="__yBsUHJgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8FtIUBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__yBsUXJgEeWaaoAi4ttVsA" y="19"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__yBsUnJgEeWaaoAi4ttVsA" type="Association_NameLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8HFBUBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__yBsU3JgEeWaaoAi4ttVsA" x="26"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__yBsVHJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8ID4wBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__yBsVXJgEeWaaoAi4ttVsA" x="126"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__yBsVnJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8I3KABIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__yBsV3JgEeWaaoAi4ttVsA" x="-73"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__yBsWHJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8Jmw4BIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__yBsWXJgEeWaaoAi4ttVsA" x="126" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__yBsWnJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8Mpd0BIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__yBsW3JgEeWaaoAi4ttVsA" x="-73" y="20"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="__yBFQXJgEeWaaoAi4ttVsA"/> - <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_systemOfQuantities_quantityKind"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__yBFQnJgEeWaaoAi4ttVsA" points="[580, 201, -643984, -643984]$[560, 1000, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DUzPgHJhEeWaaoAi4ttVsA" id="(0.6211180124223602,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DUzPgXJhEeWaaoAi4ttVsA" id="(0.5970149253731343,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="__1Tp0HJgEeWaaoAi4ttVsA" type="Association_Edge" source="_9YlvwHJgEeWaaoAi4ttVsA" target="_3J2VkHJgEeWaaoAi4ttVsA"> - <children xmi:type="notation:DecorationNode" xmi:id="__1UQ4HJgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-XMp0BIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__1UQ4XJgEeWaaoAi4ttVsA" y="-19"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__1UQ4nJgEeWaaoAi4ttVsA" type="Association_NameLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-aDJgBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__1UQ43JgEeWaaoAi4ttVsA" x="26"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__1UQ5HJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-c2l4BIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__1UQ5XJgEeWaaoAi4ttVsA" x="186"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__1UQ5nJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-dsTYBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__1U38HJgEeWaaoAi4ttVsA" x="-93"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__1U38XJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-gg94BIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__1U38nJgEeWaaoAi4ttVsA" x="166" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__1U383JgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-hM6YBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__1U39HJgEeWaaoAi4ttVsA" x="-93" y="20"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="__1Tp0XJgEeWaaoAi4ttVsA"/> - <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_systemOfUnits_baseUnit"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__1Tp0nJgEeWaaoAi4ttVsA" points="[1120, 201, -643984, -643984]$[1000, 940, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DFx8E3JhEeWaaoAi4ttVsA" id="(0.7092198581560284,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DFyjIHJhEeWaaoAi4ttVsA" id="(0.6211180124223602,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="__6sgIHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_9YlvwHJgEeWaaoAi4ttVsA" target="_-17QcHJgEeWaaoAi4ttVsA"> - <children xmi:type="notation:DecorationNode" xmi:id="__6tHMHJgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-h7TIBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__6tHMXJgEeWaaoAi4ttVsA" y="19"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__6tHMnJgEeWaaoAi4ttVsA" type="Association_NameLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-k2EQBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__6tHM3JgEeWaaoAi4ttVsA" x="39" y="-7"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__6tHNHJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-lgyoBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__6tHNXJgEeWaaoAi4ttVsA" x="34" y="15"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__6tHNnJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-ouesBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__6tHN3JgEeWaaoAi4ttVsA" x="-13"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__6tHOHJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-peFkBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__6tHOXJgEeWaaoAi4ttVsA" x="86"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__6tHOnJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-qKCEBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__6tHO3JgEeWaaoAi4ttVsA" x="-13" y="20"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="__6sgIXJgEeWaaoAi4ttVsA"/> - <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_systemOfUnits_prefix"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__6sgInJgEeWaaoAi4ttVsA" points="[1240, 201, -643984, -643984]$[1240, 320, -643984, -643984]$[1080, 320, -643984, -643984]$[1060, 520, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Da1mEHJhEeWaaoAi4ttVsA" id="(0.28368794326241137,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Da1mEXJhEeWaaoAi4ttVsA" id="(0.7092198581560284,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="__-HnkHJgEeWaaoAi4ttVsA" type="Association_Edge" source="_9YlvwHJgEeWaaoAi4ttVsA" target="_8nrQMHJgEeWaaoAi4ttVsA"> - <children xmi:type="notation:DecorationNode" xmi:id="__-IOoHJgEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8TUtkBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__-IOoXJgEeWaaoAi4ttVsA" x="1" y="-19"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__-IOonJgEeWaaoAi4ttVsA" type="Association_NameLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8UWoUBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__-IOo3JgEeWaaoAi4ttVsA" x="100" y="13"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__-IOpHJgEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8VTqkBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__-IOpXJgEeWaaoAi4ttVsA" x="120" y="-7"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__-IOpnJgEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8WQs0BIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__-IOp3JgEeWaaoAi4ttVsA" x="-19" y="-7"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__-IOqHJgEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8aS4QBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__-IOqXJgEeWaaoAi4ttVsA" x="20" y="13"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="__-I1sHJgEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8bBRABIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="__-I1sXJgEeWaaoAi4ttVsA" x="-19" y="13"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="__-HnkXJgEeWaaoAi4ttVsA"/> - <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_systemOfUnits_systemOfQuantities"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__-HnknJgEeWaaoAi4ttVsA" points="[1200, 80, -643984, -643984]$[681, 80, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DYbyUHJhEeWaaoAi4ttVsA" id="(0.0,0.4552238805970149)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DYbyUXJhEeWaaoAi4ttVsA" id="(1.0,0.3314917127071823)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_ABWhwHJhEeWaaoAi4ttVsA" type="Association_Edge" source="_9YlvwHJgEeWaaoAi4ttVsA" target="_3J2VkHJgEeWaaoAi4ttVsA"> - <children xmi:type="notation:DecorationNode" xmi:id="_ABWhw3JhEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-tXuIBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_ABWhxHJhEeWaaoAi4ttVsA" y="-19"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_ABXI0HJhEeWaaoAi4ttVsA" type="Association_NameLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-uB1cBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_ABXI0XJhEeWaaoAi4ttVsA" x="-12" y="139"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_ABXI0nJhEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-ur8wBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_ABXI03JhEeWaaoAi4ttVsA" x="166" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_ABXI1HJhEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-vZHYBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_ABXI1XJhEeWaaoAi4ttVsA" x="-32" y="123"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_ABXI1nJhEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-wLxkBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_ABXI13JhEeWaaoAi4ttVsA" x="186" y="-20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_ABXI2HJhEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-zztUBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_ABXI2XJhEeWaaoAi4ttVsA" x="-113"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_ABWhwXJhEeWaaoAi4ttVsA"/> - <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_systemOfUnits_unit"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ABWhwnJhEeWaaoAi4ttVsA" points="[1260, 201, -643984, -643984]$[1000, 940, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DFx8EXJhEeWaaoAi4ttVsA" id="(0.425531914893617,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DFx8EnJhEeWaaoAi4ttVsA" id="(0.37267080745341613,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_AF5DgHJhEeWaaoAi4ttVsA" type="Association_Edge" source="_6IwWsHJgEeWaaoAi4ttVsA" target="_3J2VkHJgEeWaaoAi4ttVsA"> - <children xmi:type="notation:DecorationNode" xmi:id="_AF5Dg3JhEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_ni1rwBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_AF5DhHJhEeWaaoAi4ttVsA" x="1" y="-19"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_AF5DhXJhEeWaaoAi4ttVsA" type="Association_NameLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_nkZK8BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_AF5DhnJhEeWaaoAi4ttVsA" x="19" y="-7"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_AF5Dh3JhEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_nlohEBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_AF5qkHJhEeWaaoAi4ttVsA" x="6"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_AF5qkXJhEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_nmW50BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_AF5qknJhEeWaaoAi4ttVsA" x="-13"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_AF5qk3JhEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_nnSt8BIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_AF5qlHJhEeWaaoAi4ttVsA" x="6" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_AF5qlXJhEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_noBtwBIrEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_AF5qlnJhEeWaaoAi4ttVsA" x="-13" y="20"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_AF5DgXJhEeWaaoAi4ttVsA"/> - <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_unitFactor_unit"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_AF5DgnJhEeWaaoAi4ttVsA" points="[1600, 661, -643984, -643984]$[1600, 680, -643984, -643984]$[1340, 680, -643984, -643984]$[1340, 720, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DFxVAnJhEeWaaoAi4ttVsA" id="(0.4968944099378882,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DFx8EHJhEeWaaoAi4ttVsA" id="(0.8695652173913043,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_AJP5gHJhEeWaaoAi4ttVsA" type="Association_Edge" source="_8nrQMHJgEeWaaoAi4ttVsA" target="_8nrQMHJgEeWaaoAi4ttVsA"> - <children xmi:type="notation:DecorationNode" xmi:id="_AJP5g3JhEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8N4M4BIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_AJP5hHJhEeWaaoAi4ttVsA" y="-20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_AJQgkHJhEeWaaoAi4ttVsA" type="Association_NameLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8O_AIBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_AJQgkXJhEeWaaoAi4ttVsA" x="-18" y="271"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_AJQgknJhEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8P9QgBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_AJQgk3JhEeWaaoAi4ttVsA" x="200" y="16"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_AJQglHJhEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8QtecBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_AJQglXJhEeWaaoAi4ttVsA" x="-46" y="-100"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_AJQglnJhEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8RmPQBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_AJQgl3JhEeWaaoAi4ttVsA" x="35" y="-16"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_AJQgmHJhEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_8SfAEBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_AJQgmXJhEeWaaoAi4ttVsA" x="-26" y="-40"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_AJP5gXJhEeWaaoAi4ttVsA"/> - <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_usedSystemOfQuantities_systemOfQuantities"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_AJP5gnJhEeWaaoAi4ttVsA" points="[520, 160, -643984, -643984]$[460, 160, -643984, -643984]$[460, 240, -643984, -643984]$[540, 240, -643984, -643984]$[540, 201, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Iq5HMBIrEeeFNrLZFDmeGg" id="(0.0,0.7734806629834254)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J5kg0BIrEeeFNrLZFDmeGg" id="(0.12422360248447205,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_AMhP8HJhEeWaaoAi4ttVsA" type="Association_Edge" source="_9YlvwHJgEeWaaoAi4ttVsA" target="_9YlvwHJgEeWaaoAi4ttVsA"> - <children xmi:type="notation:DecorationNode" xmi:id="_AMh3AHJhEeWaaoAi4ttVsA" type="Association_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-0qo8BIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_AMh3AXJhEeWaaoAi4ttVsA" y="-20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_AMh3AnJhEeWaaoAi4ttVsA" type="Association_NameLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-1lO8BIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_AMh3A3JhEeWaaoAi4ttVsA" x="-176" y="18"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_AMh3BHJhEeWaaoAi4ttVsA" type="Association_TargetRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-2ktcBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_AMh3BXJhEeWaaoAi4ttVsA" x="120" y="13"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_AMieEHJhEeWaaoAi4ttVsA" type="Association_SourceRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-6incBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_AMieEXJhEeWaaoAi4ttVsA" x="-46" y="-80"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_AMieEnJhEeWaaoAi4ttVsA" type="Association_SourceMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-8tKoBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_AMieE3JhEeWaaoAi4ttVsA" x="40" y="-7"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_AMieFHJhEeWaaoAi4ttVsA" type="Association_TargetMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-9YgEBIqEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_AMieFXJhEeWaaoAi4ttVsA" x="-26" y="-40"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_AMhP8XJhEeWaaoAi4ttVsA"/> - <element xmi:type="uml:Association" href="QUDV.uml#QUDV.association_packagedElement_A_usedSystemOfUnits_systemOfUnits"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_AMhP8nJhEeWaaoAi4ttVsA" points="[1200, 160, -643984, -643984]$[1140, 160, -643984, -643984]$[1140, 240, -643984, -643984]$[1220, 240, -643984, -643984]$[1300, 201, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_4MgMsBIrEeeFNrLZFDmeGg" id="(0.0,0.7734806629834254)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_4jABIBIrEeeFNrLZFDmeGg" id="(0.14184397163120568,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_dfIpwBL9EeeY9ueKNJ6bdg" type="Constraint_ContextEdge" source="_dQph0BL9EeeY9ueKNJ6bdg" target="_5Y18sHJgEeWaaoAi4ttVsA"> - <children xmi:type="notation:DecorationNode" xmi:id="_dfJ34BL9EeeY9ueKNJ6bdg" type="Constraint_KeywordLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_dfJ34RL9EeeY9ueKNJ6bdg" y="15"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_dfIpwRL9EeeY9ueKNJ6bdg"/> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_dfIpwhL9EeeY9ueKNJ6bdg" points="[0, 0, -643984, -643984]$[1520, 296, -643984, -643984]"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_-8Ru8BL9EeeY9ueKNJ6bdg" type="Constraint_ContextEdge" source="_-20nMBL9EeeY9ueKNJ6bdg" target="_7wOq0HJgEeWaaoAi4ttVsA"> - <children xmi:type="notation:DecorationNode" xmi:id="_-8Ru8xL9EeeY9ueKNJ6bdg" type="Constraint_KeywordLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="__dWbsBL9EeeY9ueKNJ6bdg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_-8Ru9BL9EeeY9ueKNJ6bdg" x="-1" y="13"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_-8Ru8RL9EeeY9ueKNJ6bdg"/> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_-8Ru8hL9EeeY9ueKNJ6bdg" points="[0, 0, -643984, -643984]$[540, 720, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="__eSP0BL9EeeY9ueKNJ6bdg" id="(0.3835616438356164,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="__eSP0RL9EeeY9ueKNJ6bdg" id="(0.8955223880597015,1.0)"/> - </edges> -</notation:Diagram>
diff --git a/core/org.eclipse.papyrus.sysml14/resources/library/QUDV.uml b/core/org.eclipse.papyrus.sysml14/resources/library/QUDV.uml deleted file mode 100644 index aaa4c3c..0000000 --- a/core/org.eclipse.papyrus.sysml14/resources/library/QUDV.uml +++ /dev/null
@@ -1,1944 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<xmi:XMI -xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Blocks="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Blocks" -xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" -xmlns:StandardProfile="http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard" -xmlns:SysML="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <uml:Package xmi:id="QUDV" xmi:uuid="org.omg.sysml.QUDV" xmi:type="uml:Package"> - <name>QUDV</name> - <URI>http://www.omg.org/spec/SysML/20150709/QUDV</URI> - <packagedElement xmi:id="QUDV.association_packagedElement_A_conversionBasedUnit_referenceUnit" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_conversionBasedUnit_referenceUnit" xmi:type="uml:Association"> - <name>A_conversionBasedUnit_referenceUnit</name> - <ownedEnd xmi:id="QUDV.association_packagedElement_A_conversionBasedUnit_referenceUnit_ownedEnd.conversionBasedUnit" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_conversionBasedUnit_referenceUnit_ownedEnd.conversionBasedUnit" xmi:type="uml:Property"> - <name>conversionBasedUnit</name> - <lowerValue xmi:id="QUDV.association_packagedElement_A_conversionBasedUnit_referenceUnit_ownedEnd.conversionBasedUnit_lowerValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_conversionBasedUnit_referenceUnit_ownedEnd.conversionBasedUnit_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue - xmi:id="QUDV.association_packagedElement_A_conversionBasedUnit_referenceUnit_ownedEnd.conversionBasedUnit_upperValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_conversionBasedUnit_referenceUnit_ownedEnd.conversionBasedUnit_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> -</upperValue> - <type xmi:idref="QUDV.class_packagedElement_ConversionBasedUnit"/> - <association xmi:idref="QUDV.association_packagedElement_A_conversionBasedUnit_referenceUnit"/> - </ownedEnd> - <memberEnd xmi:idref="QUDV.association_packagedElement_A_conversionBasedUnit_referenceUnit_ownedEnd.conversionBasedUnit"/> - <memberEnd xmi:idref="QUDV.class_packagedElement_ConversionBasedUnit_ownedAttribute.referenceUnit"/> - </packagedElement> - <packagedElement xmi:id="QUDV.association_packagedElement_A_derivedQuantityKind_factor" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_derivedQuantityKind_factor" xmi:type="uml:Association"> - <name>A_derivedQuantityKind_factor</name> - <ownedEnd xmi:id="QUDV.association_packagedElement_A_derivedQuantityKind_factor_ownedEnd.derivedQuantityKind" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_derivedQuantityKind_factor_ownedEnd.derivedQuantityKind" xmi:type="uml:Property"> - <name>derivedQuantityKind</name> - <lowerValue xmi:id="QUDV.association_packagedElement_A_derivedQuantityKind_factor_ownedEnd.derivedQuantityKind_lowerValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_derivedQuantityKind_factor_ownedEnd.derivedQuantityKind_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.association_packagedElement_A_derivedQuantityKind_factor_ownedEnd.derivedQuantityKind_upperValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_derivedQuantityKind_factor_ownedEnd.derivedQuantityKind_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_DerivedQuantityKind"/> - <association xmi:idref="QUDV.association_packagedElement_A_derivedQuantityKind_factor"/> - </ownedEnd> - <memberEnd xmi:idref="QUDV.association_packagedElement_A_derivedQuantityKind_factor_ownedEnd.derivedQuantityKind"/> - <memberEnd xmi:idref="QUDV.class_packagedElement_DerivedQuantityKind_ownedAttribute.factor"/> - </packagedElement> - <packagedElement xmi:id="QUDV.association_packagedElement_A_derivedUnit_factor" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_derivedUnit_factor" xmi:type="uml:Association"> - <name>A_derivedUnit_factor</name> - <ownedEnd xmi:id="QUDV.association_packagedElement_A_derivedUnit_factor_ownedEnd.derivedUnit" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_derivedUnit_factor_ownedEnd.derivedUnit" xmi:type="uml:Property"> - <name>derivedUnit</name> - <type xmi:idref="QUDV.class_packagedElement_DerivedUnit"/> - <association xmi:idref="QUDV.association_packagedElement_A_derivedUnit_factor"/> - </ownedEnd> - <memberEnd xmi:idref="QUDV.association_packagedElement_A_derivedUnit_factor_ownedEnd.derivedUnit"/> - <memberEnd xmi:idref="QUDV.class_packagedElement_DerivedUnit_ownedAttribute.factor"/> - </packagedElement> - <packagedElement xmi:id="QUDV.association_packagedElement_A_dimension_factor" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_dimension_factor" xmi:type="uml:Association"> - <name>A_dimension_factor</name> - <ownedEnd xmi:id="QUDV.association_packagedElement_A_dimension_factor_ownedEnd.dimension" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_dimension_factor_ownedEnd.dimension" xmi:type="uml:Property"> - <name>dimension</name> - <lowerValue xmi:id="QUDV.association_packagedElement_A_dimension_factor_ownedEnd.dimension_lowerValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_dimension_factor_ownedEnd.dimension_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.association_packagedElement_A_dimension_factor_ownedEnd.dimension_upperValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_dimension_factor_ownedEnd.dimension_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_Dimension"/> - <association xmi:idref="QUDV.association_packagedElement_A_dimension_factor"/> - </ownedEnd> - <memberEnd xmi:idref="QUDV.association_packagedElement_A_dimension_factor_ownedEnd.dimension"/> - <memberEnd xmi:idref="QUDV.class_packagedElement_Dimension_ownedAttribute.factor"/> - </packagedElement> - <packagedElement xmi:id="QUDV.association_packagedElement_A_generalQuantityKind_specificQuantityKind" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_generalQuantityKind_specificQuantityKind" xmi:type="uml:Association"> - <name>A_generalQuantityKind_specificQuantityKind</name> - <ownedEnd xmi:id="QUDV.association_packagedElement_A_generalQuantityKind_specificQuantityKind_ownedEnd.specific" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_generalQuantityKind_specificQuantityKind_ownedEnd.specific" xmi:type="uml:Property"> - <name>specific</name> - <lowerValue xmi:id="QUDV.association_packagedElement_A_generalQuantityKind_specificQuantityKind_ownedEnd.specific_lowerValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_generalQuantityKind_specificQuantityKind_ownedEnd.specific_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.association_packagedElement_A_generalQuantityKind_specificQuantityKind_ownedEnd.specific_upperValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_generalQuantityKind_specificQuantityKind_ownedEnd.specific_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_QuantityKind"/> - <association xmi:idref="QUDV.association_packagedElement_A_generalQuantityKind_specificQuantityKind"/> - </ownedEnd> - <memberEnd xmi:idref="QUDV.class_packagedElement_QuantityKind_ownedAttribute.general"/> - <memberEnd xmi:idref="QUDV.association_packagedElement_A_generalQuantityKind_specificQuantityKind_ownedEnd.specific"/> - </packagedElement> - <packagedElement xmi:id="QUDV.association_packagedElement_A_generalUnit_specificUnit" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_generalUnit_specificUnit" xmi:type="uml:Association"> - <name>A_generalUnit_specificUnit</name> - <ownedEnd xmi:id="QUDV.association_packagedElement_A_generalUnit_specificUnit_ownedEnd.specific" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_generalUnit_specificUnit_ownedEnd.specific" xmi:type="uml:Property"> - <name>specific</name> - <lowerValue xmi:id="QUDV.association_packagedElement_A_generalUnit_specificUnit_ownedEnd.specific_lowerValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_generalUnit_specificUnit_ownedEnd.specific_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.association_packagedElement_A_generalUnit_specificUnit_ownedEnd.specific_upperValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_generalUnit_specificUnit_ownedEnd.specific_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_Unit"/> - <association xmi:idref="QUDV.association_packagedElement_A_generalUnit_specificUnit"/> - </ownedEnd> - <memberEnd xmi:idref="QUDV.association_packagedElement_A_generalUnit_specificUnit_ownedEnd.specific"/> - <memberEnd xmi:idref="QUDV.class_packagedElement_Unit_ownedAttribute.general"/> - </packagedElement> - <packagedElement xmi:id="QUDV.association_packagedElement_A_includedSystemOfQuantities_systemOfQuantities" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_includedSystemOfQuantities_systemOfQuantities" xmi:type="uml:Association"> - <name>A_includedSystemOfQuantities_systemOfQuantities</name> - <ownedEnd xmi:id="QUDV.association_packagedElement_A_includedSystemOfQuantities_systemOfQuantities_ownedEnd.systemOfQuantities" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_includedSystemOfQuantities_systemOfQuantities_ownedEnd.systemOfQuantities" xmi:type="uml:Property"> - <name>systemOfQuantities</name> - <lowerValue - xmi:id="QUDV.association_packagedElement_A_includedSystemOfQuantities_systemOfQuantities_ownedEnd.systemOfQuantities_lowerValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_includedSystemOfQuantities_systemOfQuantities_ownedEnd.systemOfQuantities_lowerValue" xmi:type="uml:LiteralInteger"> -</lowerValue> - <upperValue - xmi:id="QUDV.association_packagedElement_A_includedSystemOfQuantities_systemOfQuantities_ownedEnd.systemOfQuantities_upperValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_includedSystemOfQuantities_systemOfQuantities_ownedEnd.systemOfQuantities_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> -</upperValue> - <type xmi:idref="QUDV.class_packagedElement_SystemOfQuantities"/> - <association xmi:idref="QUDV.association_packagedElement_A_includedSystemOfQuantities_systemOfQuantities"/> - </ownedEnd> - <memberEnd xmi:idref="QUDV.association_packagedElement_A_includedSystemOfQuantities_systemOfQuantities_ownedEnd.systemOfQuantities"/> - <memberEnd xmi:idref="QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.includedSystemOfQuantities"/> - </packagedElement> - <packagedElement xmi:id="QUDV.association_packagedElement_A_includedSystemOfUnits_systemOfUnits" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_includedSystemOfUnits_systemOfUnits" xmi:type="uml:Association"> - <name>A_includedSystemOfUnits_systemOfUnits</name> - <ownedEnd xmi:id="QUDV.association_packagedElement_A_includedSystemOfUnits_systemOfUnits_ownedEnd.systemOfUnits" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_includedSystemOfUnits_systemOfUnits_ownedEnd.systemOfUnits" xmi:type="uml:Property"> - <name>systemOfUnits</name> - <lowerValue xmi:id="QUDV.association_packagedElement_A_includedSystemOfUnits_systemOfUnits_ownedEnd.systemOfUnits_lowerValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_includedSystemOfUnits_systemOfUnits_ownedEnd.systemOfUnits_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.association_packagedElement_A_includedSystemOfUnits_systemOfUnits_ownedEnd.systemOfUnits_upperValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_includedSystemOfUnits_systemOfUnits_ownedEnd.systemOfUnits_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_SystemOfUnits"/> - <association xmi:idref="QUDV.association_packagedElement_A_includedSystemOfUnits_systemOfUnits"/> - </ownedEnd> - <memberEnd xmi:idref="QUDV.association_packagedElement_A_includedSystemOfUnits_systemOfUnits_ownedEnd.systemOfUnits"/> - <memberEnd xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.includedSystemOfUnits"/> - </packagedElement> - <packagedElement xmi:id="QUDV.association_packagedElement_A_noQuantityKind_prefixedUnit" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_noQuantityKind_prefixedUnit" xmi:type="uml:Association"> - <name>A_noQuantityKind_prefixedUnit</name> - <generalization - xmi:id="QUDV.association_packagedElement_A_noQuantityKind_prefixedUnit._generalization.QUDV.association_packagedElement_A_quantityKind_measurementUnit" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_noQuantityKind_prefixedUnit._generalization.QUDV.association_packagedElement_A_quantityKind_measurementUnit" xmi:type="uml:Generalization"> - <general xmi:idref="QUDV.association_packagedElement_A_quantityKind_measurementUnit"/> -</generalization> - <ownedEnd xmi:id="QUDV.association_packagedElement_A_noQuantityKind_prefixedUnit_ownedEnd.prefixedUnit" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_noQuantityKind_prefixedUnit_ownedEnd.prefixedUnit" xmi:type="uml:Property"> - <name>prefixedUnit</name> - <lowerValue xmi:id="QUDV.association_packagedElement_A_noQuantityKind_prefixedUnit_ownedEnd.prefixedUnit_lowerValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_noQuantityKind_prefixedUnit_ownedEnd.prefixedUnit_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.association_packagedElement_A_noQuantityKind_prefixedUnit_ownedEnd.prefixedUnit_upperValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_noQuantityKind_prefixedUnit_ownedEnd.prefixedUnit_upperValue" xmi:type="uml:LiteralUnlimitedNatural"/> - <type xmi:idref="QUDV.class_packagedElement_PrefixedUnit"/> - <association xmi:idref="QUDV.association_packagedElement_A_noQuantityKind_prefixedUnit"/> - <redefinedProperty xmi:idref="QUDV.association_packagedElement_A_quantityKind_measurementUnit_ownedEnd.measurementUnit"/> - </ownedEnd> - <memberEnd xmi:idref="QUDV.class_packagedElement_PrefixedUnit_ownedAttribute.noQuantityKind"/> - <memberEnd xmi:idref="QUDV.association_packagedElement_A_noQuantityKind_prefixedUnit_ownedEnd.prefixedUnit"/> - </packagedElement> - <packagedElement xmi:id="QUDV.association_packagedElement_A_prefixedUnit_prefix" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_prefixedUnit_prefix" xmi:type="uml:Association"> - <name>A_prefixedUnit_prefix</name> - <ownedEnd xmi:id="QUDV.association_packagedElement_A_prefixedUnit_prefix_ownedEnd.prefixedUnit" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_prefixedUnit_prefix_ownedEnd.prefixedUnit" xmi:type="uml:Property"> - <name>prefixedUnit</name> - <lowerValue xmi:id="QUDV.association_packagedElement_A_prefixedUnit_prefix_ownedEnd.prefixedUnit_lowerValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_prefixedUnit_prefix_ownedEnd.prefixedUnit_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.association_packagedElement_A_prefixedUnit_prefix_ownedEnd.prefixedUnit_upperValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_prefixedUnit_prefix_ownedEnd.prefixedUnit_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_PrefixedUnit"/> - <association xmi:idref="QUDV.association_packagedElement_A_prefixedUnit_prefix"/> - </ownedEnd> - <memberEnd xmi:idref="QUDV.association_packagedElement_A_prefixedUnit_prefix_ownedEnd.prefixedUnit"/> - <memberEnd xmi:idref="QUDV.class_packagedElement_PrefixedUnit_ownedAttribute.prefix"/> - </packagedElement> - <packagedElement xmi:id="QUDV.association_packagedElement_A_quantityKindFactor_quantityKind" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_quantityKindFactor_quantityKind" xmi:type="uml:Association"> - <name>A_quantityKindFactor_quantityKind</name> - <ownedEnd xmi:id="QUDV.association_packagedElement_A_quantityKindFactor_quantityKind_ownedEnd.quantityKindFactor" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_quantityKindFactor_quantityKind_ownedEnd.quantityKindFactor" xmi:type="uml:Property"> - <name>quantityKindFactor</name> - <lowerValue xmi:id="QUDV.association_packagedElement_A_quantityKindFactor_quantityKind_ownedEnd.quantityKindFactor_lowerValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_quantityKindFactor_quantityKind_ownedEnd.quantityKindFactor_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.association_packagedElement_A_quantityKindFactor_quantityKind_ownedEnd.quantityKindFactor_upperValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_quantityKindFactor_quantityKind_ownedEnd.quantityKindFactor_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_QuantityKindFactor"/> - <association xmi:idref="QUDV.association_packagedElement_A_quantityKindFactor_quantityKind"/> - </ownedEnd> - <memberEnd xmi:idref="QUDV.association_packagedElement_A_quantityKindFactor_quantityKind_ownedEnd.quantityKindFactor"/> - <memberEnd xmi:idref="QUDV.class_packagedElement_QuantityKindFactor_ownedAttribute.quantityKind"/> - </packagedElement> - <packagedElement xmi:id="QUDV.association_packagedElement_A_quantityKind_measurementUnit" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_quantityKind_measurementUnit" xmi:type="uml:Association"> - <name>A_quantityKind_measurementUnit</name> - <generalization - xmi:id="QUDV.association_packagedElement_A_quantityKind_measurementUnit._generalization.SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.association_packagedElement_A_quantityKind_unit" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_quantityKind_measurementUnit._generalization.SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.association_packagedElement_A_quantityKind_unit" xmi:type="uml:Generalization"> - <general xmi:type="uml:Association" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.association_packagedElement_A_quantityKind_unit"/> -</generalization> - <ownedEnd xmi:id="QUDV.association_packagedElement_A_quantityKind_measurementUnit_ownedEnd.measurementUnit" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_quantityKind_measurementUnit_ownedEnd.measurementUnit" xmi:type="uml:Property"> - <name>measurementUnit</name> - <lowerValue xmi:id="QUDV.association_packagedElement_A_quantityKind_measurementUnit_ownedEnd.measurementUnit_lowerValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_quantityKind_measurementUnit_ownedEnd.measurementUnit_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.association_packagedElement_A_quantityKind_measurementUnit_ownedEnd.measurementUnit_upperValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_quantityKind_measurementUnit_ownedEnd.measurementUnit_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_Unit"/> - <association xmi:idref="QUDV.association_packagedElement_A_quantityKind_measurementUnit"/> - <redefinedProperty xmi:type="uml:Property" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.association_packagedElement_A_quantityKind_unit_ownedEnd.unit"/> - </ownedEnd> - <memberEnd xmi:idref="QUDV.class_packagedElement_Unit_ownedAttribute.quantityKind"/> - <memberEnd xmi:idref="QUDV.association_packagedElement_A_quantityKind_measurementUnit_ownedEnd.measurementUnit"/> - </packagedElement> - <packagedElement xmi:id="QUDV.association_packagedElement_A_systemOfQuantities_baseQuantityKind" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfQuantities_baseQuantityKind" xmi:type="uml:Association"> - <name>A_systemOfQuantities_baseQuantityKind</name> - <generalization - xmi:id="QUDV.association_packagedElement_A_systemOfQuantities_baseQuantityKind._generalization.QUDV.association_packagedElement_A_systemOfQuantities_quantityKind" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfQuantities_baseQuantityKind._generalization.QUDV.association_packagedElement_A_systemOfQuantities_quantityKind" xmi:type="uml:Generalization"> - <general xmi:idref="QUDV.association_packagedElement_A_systemOfQuantities_quantityKind"/> -</generalization> - <ownedEnd xmi:id="QUDV.association_packagedElement_A_systemOfQuantities_baseQuantityKind_ownedEnd.systemOfQuantities" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfQuantities_baseQuantityKind_ownedEnd.systemOfQuantities" xmi:type="uml:Property"> - <name>systemOfQuantities</name> - <lowerValue xmi:id="QUDV.association_packagedElement_A_systemOfQuantities_baseQuantityKind_ownedEnd.systemOfQuantities_lowerValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfQuantities_baseQuantityKind_ownedEnd.systemOfQuantities_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue - xmi:id="QUDV.association_packagedElement_A_systemOfQuantities_baseQuantityKind_ownedEnd.systemOfQuantities_upperValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfQuantities_baseQuantityKind_ownedEnd.systemOfQuantities_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> -</upperValue> - <type xmi:idref="QUDV.class_packagedElement_SystemOfQuantities"/> - <association xmi:idref="QUDV.association_packagedElement_A_systemOfQuantities_baseQuantityKind"/> - <subsettedProperty xmi:idref="QUDV.association_packagedElement_A_systemOfQuantities_quantityKind_ownedEnd.systemOfQuantities"/> - </ownedEnd> - <memberEnd xmi:idref="QUDV.association_packagedElement_A_systemOfQuantities_baseQuantityKind_ownedEnd.systemOfQuantities"/> - <memberEnd xmi:idref="QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.baseQuantityKind"/> - </packagedElement> - <packagedElement xmi:id="QUDV.association_packagedElement_A_systemOfQuantities_dimension" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfQuantities_dimension" xmi:type="uml:Association"> - <name>A_systemOfQuantities_dimension</name> - <ownedEnd xmi:id="QUDV.association_packagedElement_A_systemOfQuantities_dimension_ownedEnd.systemOfQuantities" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfQuantities_dimension_ownedEnd.systemOfQuantities" xmi:type="uml:Property"> - <name>systemOfQuantities</name> - <lowerValue xmi:id="QUDV.association_packagedElement_A_systemOfQuantities_dimension_ownedEnd.systemOfQuantities_lowerValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfQuantities_dimension_ownedEnd.systemOfQuantities_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.association_packagedElement_A_systemOfQuantities_dimension_ownedEnd.systemOfQuantities_upperValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfQuantities_dimension_ownedEnd.systemOfQuantities_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_SystemOfQuantities"/> - <association xmi:idref="QUDV.association_packagedElement_A_systemOfQuantities_dimension"/> - </ownedEnd> - <memberEnd xmi:idref="QUDV.association_packagedElement_A_systemOfQuantities_dimension_ownedEnd.systemOfQuantities"/> - <memberEnd xmi:idref="QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.dimension"/> - </packagedElement> - <packagedElement xmi:id="QUDV.association_packagedElement_A_systemOfQuantities_quantityKind" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfQuantities_quantityKind" xmi:type="uml:Association"> - <name>A_systemOfQuantities_quantityKind</name> - <ownedEnd xmi:id="QUDV.association_packagedElement_A_systemOfQuantities_quantityKind_ownedEnd.systemOfQuantities" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfQuantities_quantityKind_ownedEnd.systemOfQuantities" xmi:type="uml:Property"> - <name>systemOfQuantities</name> - <lowerValue xmi:id="QUDV.association_packagedElement_A_systemOfQuantities_quantityKind_ownedEnd.systemOfQuantities_lowerValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfQuantities_quantityKind_ownedEnd.systemOfQuantities_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.association_packagedElement_A_systemOfQuantities_quantityKind_ownedEnd.systemOfQuantities_upperValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfQuantities_quantityKind_ownedEnd.systemOfQuantities_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_SystemOfQuantities"/> - <association xmi:idref="QUDV.association_packagedElement_A_systemOfQuantities_quantityKind"/> - </ownedEnd> - <memberEnd xmi:idref="QUDV.association_packagedElement_A_systemOfQuantities_quantityKind_ownedEnd.systemOfQuantities"/> - <memberEnd xmi:idref="QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.quantityKind"/> - </packagedElement> - <packagedElement xmi:id="QUDV.association_packagedElement_A_systemOfUnits_baseUnit" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfUnits_baseUnit" xmi:type="uml:Association"> - <name>A_systemOfUnits_baseUnit</name> - <generalization - xmi:id="QUDV.association_packagedElement_A_systemOfUnits_baseUnit._generalization.QUDV.association_packagedElement_A_systemOfUnits_unit" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfUnits_baseUnit._generalization.QUDV.association_packagedElement_A_systemOfUnits_unit" xmi:type="uml:Generalization"> - <general xmi:idref="QUDV.association_packagedElement_A_systemOfUnits_unit"/> -</generalization> - <ownedEnd xmi:id="QUDV.association_packagedElement_A_systemOfUnits_baseUnit_ownedEnd.systemOfUnits" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfUnits_baseUnit_ownedEnd.systemOfUnits" xmi:type="uml:Property"> - <name>systemOfUnits</name> - <lowerValue xmi:id="QUDV.association_packagedElement_A_systemOfUnits_baseUnit_ownedEnd.systemOfUnits_lowerValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfUnits_baseUnit_ownedEnd.systemOfUnits_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.association_packagedElement_A_systemOfUnits_baseUnit_ownedEnd.systemOfUnits_upperValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfUnits_baseUnit_ownedEnd.systemOfUnits_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_SystemOfUnits"/> - <association xmi:idref="QUDV.association_packagedElement_A_systemOfUnits_baseUnit"/> - <subsettedProperty xmi:idref="QUDV.association_packagedElement_A_systemOfUnits_unit_ownedEnd.systemOfUnits"/> - </ownedEnd> - <memberEnd xmi:idref="QUDV.association_packagedElement_A_systemOfUnits_baseUnit_ownedEnd.systemOfUnits"/> - <memberEnd xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.baseUnit"/> - </packagedElement> - <packagedElement xmi:id="QUDV.association_packagedElement_A_systemOfUnits_prefix" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfUnits_prefix" xmi:type="uml:Association"> - <name>A_systemOfUnits_prefix</name> - <ownedEnd xmi:id="QUDV.association_packagedElement_A_systemOfUnits_prefix_ownedEnd.systemOfUnits" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfUnits_prefix_ownedEnd.systemOfUnits" xmi:type="uml:Property"> - <name>systemOfUnits</name> - <lowerValue xmi:id="QUDV.association_packagedElement_A_systemOfUnits_prefix_ownedEnd.systemOfUnits_lowerValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfUnits_prefix_ownedEnd.systemOfUnits_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.association_packagedElement_A_systemOfUnits_prefix_ownedEnd.systemOfUnits_upperValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfUnits_prefix_ownedEnd.systemOfUnits_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_SystemOfUnits"/> - <association xmi:idref="QUDV.association_packagedElement_A_systemOfUnits_prefix"/> - </ownedEnd> - <memberEnd xmi:idref="QUDV.association_packagedElement_A_systemOfUnits_prefix_ownedEnd.systemOfUnits"/> - <memberEnd xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.prefix"/> - </packagedElement> - <packagedElement xmi:id="QUDV.association_packagedElement_A_systemOfUnits_systemOfQuantities" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfUnits_systemOfQuantities" xmi:type="uml:Association"> - <name>A_systemOfUnits_systemOfQuantities</name> - <ownedEnd xmi:id="QUDV.association_packagedElement_A_systemOfUnits_systemOfQuantities_ownedEnd.systemOfUnits" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfUnits_systemOfQuantities_ownedEnd.systemOfUnits" xmi:type="uml:Property"> - <name>systemOfUnits</name> - <lowerValue xmi:id="QUDV.association_packagedElement_A_systemOfUnits_systemOfQuantities_ownedEnd.systemOfUnits_lowerValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfUnits_systemOfQuantities_ownedEnd.systemOfUnits_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.association_packagedElement_A_systemOfUnits_systemOfQuantities_ownedEnd.systemOfUnits_upperValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfUnits_systemOfQuantities_ownedEnd.systemOfUnits_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_SystemOfUnits"/> - <association xmi:idref="QUDV.association_packagedElement_A_systemOfUnits_systemOfQuantities"/> - </ownedEnd> - <memberEnd xmi:idref="QUDV.association_packagedElement_A_systemOfUnits_systemOfQuantities_ownedEnd.systemOfUnits"/> - <memberEnd xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.systemOfQuantities"/> - </packagedElement> - <packagedElement xmi:id="QUDV.association_packagedElement_A_systemOfUnits_unit" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfUnits_unit" xmi:type="uml:Association"> - <name>A_systemOfUnits_unit</name> - <ownedEnd xmi:id="QUDV.association_packagedElement_A_systemOfUnits_unit_ownedEnd.systemOfUnits" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfUnits_unit_ownedEnd.systemOfUnits" xmi:type="uml:Property"> - <name>systemOfUnits</name> - <lowerValue xmi:id="QUDV.association_packagedElement_A_systemOfUnits_unit_ownedEnd.systemOfUnits_lowerValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfUnits_unit_ownedEnd.systemOfUnits_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.association_packagedElement_A_systemOfUnits_unit_ownedEnd.systemOfUnits_upperValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_systemOfUnits_unit_ownedEnd.systemOfUnits_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_SystemOfUnits"/> - <association xmi:idref="QUDV.association_packagedElement_A_systemOfUnits_unit"/> - </ownedEnd> - <memberEnd xmi:idref="QUDV.association_packagedElement_A_systemOfUnits_unit_ownedEnd.systemOfUnits"/> - <memberEnd xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.unit"/> - </packagedElement> - <packagedElement xmi:id="QUDV.association_packagedElement_A_unitFactor_unit" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_unitFactor_unit" xmi:type="uml:Association"> - <name>A_unitFactor_unit</name> - <ownedEnd xmi:id="QUDV.association_packagedElement_A_unitFactor_unit_ownedEnd.unitFactor" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_unitFactor_unit_ownedEnd.unitFactor" xmi:type="uml:Property"> - <name>unitFactor</name> - <lowerValue xmi:id="QUDV.association_packagedElement_A_unitFactor_unit_ownedEnd.unitFactor_lowerValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_unitFactor_unit_ownedEnd.unitFactor_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.association_packagedElement_A_unitFactor_unit_ownedEnd.unitFactor_upperValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_unitFactor_unit_ownedEnd.unitFactor_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_UnitFactor"/> - <association xmi:idref="QUDV.association_packagedElement_A_unitFactor_unit"/> - </ownedEnd> - <memberEnd xmi:idref="QUDV.association_packagedElement_A_unitFactor_unit_ownedEnd.unitFactor"/> - <memberEnd xmi:idref="QUDV.class_packagedElement_UnitFactor_ownedAttribute.unit"/> - </packagedElement> - <packagedElement xmi:id="QUDV.association_packagedElement_A_usedSystemOfQuantities_systemOfQuantities" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_usedSystemOfQuantities_systemOfQuantities" xmi:type="uml:Association"> - <name>A_usedSystemOfQuantities_systemOfQuantities</name> - <ownedEnd xmi:id="QUDV.association_packagedElement_A_usedSystemOfQuantities_systemOfQuantities_ownedEnd.systemOfQuantities" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_usedSystemOfQuantities_systemOfQuantities_ownedEnd.systemOfQuantities" xmi:type="uml:Property"> - <name>systemOfQuantities</name> - <lowerValue - xmi:id="QUDV.association_packagedElement_A_usedSystemOfQuantities_systemOfQuantities_ownedEnd.systemOfQuantities_lowerValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_usedSystemOfQuantities_systemOfQuantities_ownedEnd.systemOfQuantities_lowerValue" xmi:type="uml:LiteralInteger"> -</lowerValue> - <upperValue - xmi:id="QUDV.association_packagedElement_A_usedSystemOfQuantities_systemOfQuantities_ownedEnd.systemOfQuantities_upperValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_usedSystemOfQuantities_systemOfQuantities_ownedEnd.systemOfQuantities_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> -</upperValue> - <type xmi:idref="QUDV.class_packagedElement_SystemOfQuantities"/> - <association xmi:idref="QUDV.association_packagedElement_A_usedSystemOfQuantities_systemOfQuantities"/> - </ownedEnd> - <memberEnd xmi:idref="QUDV.association_packagedElement_A_usedSystemOfQuantities_systemOfQuantities_ownedEnd.systemOfQuantities"/> - <memberEnd xmi:idref="QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.usedSystemOfQuantities"/> - </packagedElement> - <packagedElement xmi:id="QUDV.association_packagedElement_A_usedSystemOfUnits_systemOfUnits" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_usedSystemOfUnits_systemOfUnits" xmi:type="uml:Association"> - <name>A_usedSystemOfUnits_systemOfUnits</name> - <ownedEnd xmi:id="QUDV.association_packagedElement_A_usedSystemOfUnits_systemOfUnits_ownedEnd.systemOfUnits" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_usedSystemOfUnits_systemOfUnits_ownedEnd.systemOfUnits" xmi:type="uml:Property"> - <name>systemOfUnits</name> - <lowerValue xmi:id="QUDV.association_packagedElement_A_usedSystemOfUnits_systemOfUnits_ownedEnd.systemOfUnits_lowerValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_usedSystemOfUnits_systemOfUnits_ownedEnd.systemOfUnits_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.association_packagedElement_A_usedSystemOfUnits_systemOfUnits_ownedEnd.systemOfUnits_upperValue" xmi:uuid="org.omg.sysml.QUDV.association_packagedElement_A_usedSystemOfUnits_systemOfUnits_ownedEnd.systemOfUnits_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_SystemOfUnits"/> - <association xmi:idref="QUDV.association_packagedElement_A_usedSystemOfUnits_systemOfUnits"/> - </ownedEnd> - <memberEnd xmi:idref="QUDV.association_packagedElement_A_usedSystemOfUnits_systemOfUnits_ownedEnd.systemOfUnits"/> - <memberEnd xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.usedSystemOfUnits"/> - </packagedElement> - <packagedElement xmi:id="QUDV.class_packagedElement_AffineConversionUnit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_AffineConversionUnit" xmi:type="uml:Class"> - <name>AffineConversionUnit</name> - <ownedRule xmi:id="QUDV.class_packagedElement_AffineConversionUnit.constraint_ownedRule_invertible" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_AffineConversionUnit.constraint_ownedRule_invertible" xmi:type="uml:Constraint"> - <name>invertible</name> - <specification xmi:id="QUDV.class_packagedElement_AffineConversionUnit.constraint_ownedRule_invertible_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_AffineConversionUnit.constraint_ownedRule_invertible_specification" xmi:type="uml:OpaqueExpression"> - <body>isInvertible = true</body> - <language>OCL2.0</language> - </specification> - </ownedRule> - <generalization - xmi:id="QUDV.class_packagedElement_AffineConversionUnit._generalization.QUDV.class_packagedElement_ConversionBasedUnit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_AffineConversionUnit._generalization.QUDV.class_packagedElement_ConversionBasedUnit" xmi:type="uml:Generalization"> - <general xmi:idref="QUDV.class_packagedElement_ConversionBasedUnit"/> -</generalization> - <ownedAttribute xmi:id="QUDV.class_packagedElement_AffineConversionUnit_ownedAttribute.factor" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_AffineConversionUnit_ownedAttribute.factor" xmi:type="uml:Property"> - <name>factor</name> - <type xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_AffineConversionUnit_ownedAttribute.offset" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_AffineConversionUnit_ownedAttribute.offset" xmi:type="uml:Property"> - <name>offset</name> - <type xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number"/> - </ownedAttribute> - </packagedElement> - <packagedElement xmi:id="QUDV.class_packagedElement_ConversionBasedUnit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_ConversionBasedUnit" xmi:type="uml:Class"> - <name>ConversionBasedUnit</name> - <isAbstract>true</isAbstract> - <generalization xmi:id="QUDV.class_packagedElement_ConversionBasedUnit._generalization.QUDV.class_packagedElement_Unit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_ConversionBasedUnit._generalization.QUDV.class_packagedElement_Unit" xmi:type="uml:Generalization"> - <general xmi:idref="QUDV.class_packagedElement_Unit"/> - </generalization> - <ownedAttribute xmi:id="QUDV.class_packagedElement_ConversionBasedUnit_ownedAttribute.isInvertible" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_ConversionBasedUnit_ownedAttribute.isInvertible" xmi:type="uml:Property"> - <name>isInvertible</name> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_ConversionBasedUnit_ownedAttribute.referenceUnit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_ConversionBasedUnit_ownedAttribute.referenceUnit" xmi:type="uml:Property"> - <name>referenceUnit</name> - <type xmi:idref="QUDV.class_packagedElement_Unit"/> - <association xmi:idref="QUDV.association_packagedElement_A_conversionBasedUnit_referenceUnit"/> - </ownedAttribute> - <ownedOperation xmi:id="QUDV.class_packagedElement_ConversionBasedUnit_ownedOperation.dependsOnUnits_Unit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_ConversionBasedUnit_ownedOperation.dependsOnUnits_Unit" xmi:type="uml:Operation"> - <name>dependsOnUnits</name> - <isQuery>true</isQuery> - <ownedComment xmi:id="QUDV.class_packagedElement_ConversionBasedUnit_ownedOperation.dependsOnUnits_Unit._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_ConversionBasedUnit_ownedOperation.dependsOnUnits_Unit._ownedComment.0" xmi:type="uml:Comment"> - <body>A ConversionBasedUnit transitively depends on its referenceUnit and all of the Units that its referenceUnit depends on.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_ConversionBasedUnit_ownedOperation.dependsOnUnits_Unit"/> - </ownedComment> - <ownedRule xmi:idref="QUDV.class_packagedElement_ConversionBasedUnit_ownedOperation.dependsOnUnits_Unit.constraint_bodyCondition_body"/> - <ownedParameter - xmi:id="QUDV.class_packagedElement_ConversionBasedUnit_ownedOperation.dependsOnUnits_Unit.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_ConversionBasedUnit_ownedOperation.dependsOnUnits_Unit.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <lowerValue - xmi:id="QUDV.class_packagedElement_ConversionBasedUnit_ownedOperation.dependsOnUnits_Unit.parameter_ownedParameter_result_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_ConversionBasedUnit_ownedOperation.dependsOnUnits_Unit.parameter_ownedParameter_result_lowerValue" xmi:type="uml:LiteralInteger"> -</lowerValue> - <upperValue - xmi:id="QUDV.class_packagedElement_ConversionBasedUnit_ownedOperation.dependsOnUnits_Unit.parameter_ownedParameter_result_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_ConversionBasedUnit_ownedOperation.dependsOnUnits_Unit.parameter_ownedParameter_result_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> -</upperValue> - <type xmi:idref="QUDV.class_packagedElement_Unit"/> -</ownedParameter> - <bodyCondition xmi:id="QUDV.class_packagedElement_ConversionBasedUnit_ownedOperation.dependsOnUnits_Unit.constraint_bodyCondition_body" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_ConversionBasedUnit_ownedOperation.dependsOnUnits_Unit.constraint_bodyCondition_body" xmi:type="uml:Constraint"> - <name>body</name> - <specification - xmi:id="QUDV.class_packagedElement_ConversionBasedUnit_ownedOperation.dependsOnUnits_Unit.constraint_bodyCondition_body_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_ConversionBasedUnit_ownedOperation.dependsOnUnits_Unit.constraint_bodyCondition_body_specification" xmi:type="uml:OpaqueExpression"> - <body>referenceUnit.dependsOnUnits()->including(referenceUnit)->asSet()</body> - <language>OCL2.0</language> -</specification> - <constrainedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_ConversionBasedUnit_ownedOperation.dependsOnUnits_Unit"/> - </bodyCondition> - </ownedOperation> - </packagedElement> - <packagedElement xmi:id="QUDV.class_packagedElement_DerivedQuantityKind" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedQuantityKind" xmi:type="uml:Class"> - <name>DerivedQuantityKind</name> - <generalization xmi:id="QUDV.class_packagedElement_DerivedQuantityKind._generalization.QUDV.class_packagedElement_QuantityKind" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedQuantityKind._generalization.QUDV.class_packagedElement_QuantityKind" xmi:type="uml:Generalization"> - <general xmi:idref="QUDV.class_packagedElement_QuantityKind"/> - </generalization> - <ownedAttribute xmi:id="QUDV.class_packagedElement_DerivedQuantityKind_ownedAttribute.factor" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedQuantityKind_ownedAttribute.factor" xmi:type="uml:Property"> - <name>factor</name> - <upperValue xmi:id="QUDV.class_packagedElement_DerivedQuantityKind_ownedAttribute.factor_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedQuantityKind_ownedAttribute.factor_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_QuantityKindFactor"/> - <association xmi:idref="QUDV.association_packagedElement_A_derivedQuantityKind_factor"/> - </ownedAttribute> - <ownedOperation xmi:id="QUDV.class_packagedElement_DerivedQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind" xmi:type="uml:Operation"> - <name>dependsOnQuantityKinds</name> - <isQuery>true</isQuery> - <ownedComment xmi:id="QUDV.class_packagedElement_DerivedQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind._ownedComment.0" xmi:type="uml:Comment"> - <body>A DerivedQuantityKind transitively depends on its factors' QuantityKinds and all of the QuantityKinds that its factors' QuantityKinds depend on.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_DerivedQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind"/> - </ownedComment> - <ownedRule xmi:idref="QUDV.class_packagedElement_DerivedQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.constraint_bodyCondition_body"/> - <ownedParameter - xmi:id="QUDV.class_packagedElement_DerivedQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <lowerValue - xmi:id="QUDV.class_packagedElement_DerivedQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.parameter_ownedParameter_result_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.parameter_ownedParameter_result_lowerValue" xmi:type="uml:LiteralInteger"> -</lowerValue> - <upperValue - xmi:id="QUDV.class_packagedElement_DerivedQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.parameter_ownedParameter_result_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.parameter_ownedParameter_result_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> -</upperValue> - <type xmi:idref="QUDV.class_packagedElement_QuantityKind"/> -</ownedParameter> - <bodyCondition - xmi:id="QUDV.class_packagedElement_DerivedQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.constraint_bodyCondition_body" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.constraint_bodyCondition_body" xmi:type="uml:Constraint"> - <name>body</name> - <specification - xmi:id="QUDV.class_packagedElement_DerivedQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.constraint_bodyCondition_body_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.constraint_bodyCondition_body_specification" xmi:type="uml:OpaqueExpression"> - <body>factor.quantityKind.dependsOnQuantityKinds()->flatten()->asSet()->union(factor.quantityKind->flatten()->asSet())->asSet()</body> - <language>OCL2.0</language> -</specification> - <constrainedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_DerivedQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind"/> -</bodyCondition> - </ownedOperation> - </packagedElement> - <packagedElement xmi:id="QUDV.class_packagedElement_DerivedUnit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedUnit" xmi:type="uml:Class"> - <name>DerivedUnit</name> - <ownedRule xmi:id="QUDV.class_packagedElement_DerivedUnit.constraint_ownedRule_mustSpecifyQuantityKind" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedUnit.constraint_ownedRule_mustSpecifyQuantityKind" xmi:type="uml:Constraint"> - <name>mustSpecifyQuantityKind</name> - <ownedComment xmi:id="QUDV.class_packagedElement_DerivedUnit.constraint_ownedRule_mustSpecifyQuantityKind._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedUnit.constraint_ownedRule_mustSpecifyQuantityKind._ownedComment.0" xmi:type="uml:Comment"> - <body>Since a DerivedUnit is defined as a product factor of one or more other Units, it must specify explicitly its QuantityKinds.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_DerivedUnit.constraint_ownedRule_mustSpecifyQuantityKind"/> - </ownedComment> - <specification xmi:id="QUDV.class_packagedElement_DerivedUnit.constraint_ownedRule_mustSpecifyQuantityKind_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedUnit.constraint_ownedRule_mustSpecifyQuantityKind_specification" xmi:type="uml:OpaqueExpression"> - <body>quantityKind <> null and quantityKind->notEmpty()</body> - <language>OCL2.0</language> - </specification> - </ownedRule> - <generalization xmi:id="QUDV.class_packagedElement_DerivedUnit._generalization.QUDV.class_packagedElement_Unit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedUnit._generalization.QUDV.class_packagedElement_Unit" xmi:type="uml:Generalization"> - <general xmi:idref="QUDV.class_packagedElement_Unit"/> - </generalization> - <ownedAttribute xmi:id="QUDV.class_packagedElement_DerivedUnit_ownedAttribute.factor" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedUnit_ownedAttribute.factor" xmi:type="uml:Property"> - <name>factor</name> - <upperValue xmi:id="QUDV.class_packagedElement_DerivedUnit_ownedAttribute.factor_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedUnit_ownedAttribute.factor_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_UnitFactor"/> - <association xmi:idref="QUDV.association_packagedElement_A_derivedUnit_factor"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_DerivedUnit_ownedAttribute.hasReducedFactors" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedUnit_ownedAttribute.hasReducedFactors" xmi:type="uml:Property"> - <name>hasReducedFactors</name> - <ownedComment xmi:id="QUDV.class_packagedElement_DerivedUnit_ownedAttribute.hasReducedFactors._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedUnit_ownedAttribute.hasReducedFactors._ownedComment.0" xmi:type="uml:Comment"> - <body> - If true, the UnitFactors specifying the product of powers of other measurement units that define the DerivedUnit cannot be simplified. If false, the DerivedUnit is non-reduced; some UnitFactors can be simplified. A non-reduced DerivedUnit can have as a general unit other DerivedUnits defined in terms of simplified UnitFactors, possibly in reduced form. - </body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_DerivedUnit_ownedAttribute.hasReducedFactors"/> - </ownedComment> - <defaultValue xmi:id="QUDV.class_packagedElement_DerivedUnit_ownedAttribute.hasReducedFactors_defaultValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedUnit_ownedAttribute.hasReducedFactors_defaultValue" xmi:type="uml:LiteralBoolean"> - <value>true</value> - </defaultValue> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> - </ownedAttribute> - <ownedOperation xmi:id="QUDV.class_packagedElement_DerivedUnit_ownedOperation.dependsOnUnits_Unit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedUnit_ownedOperation.dependsOnUnits_Unit" xmi:type="uml:Operation"> - <name>dependsOnUnits</name> - <isQuery>true</isQuery> - <ownedComment xmi:id="QUDV.class_packagedElement_DerivedUnit_ownedOperation.dependsOnUnits_Unit._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedUnit_ownedOperation.dependsOnUnits_Unit._ownedComment.0" xmi:type="uml:Comment"> - <body>A DerivedUnit transitively depends on its factors' Units and all of the Units that its factors' Units depend on.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_DerivedUnit_ownedOperation.dependsOnUnits_Unit"/> - </ownedComment> - <ownedRule xmi:idref="QUDV.class_packagedElement_DerivedUnit_ownedOperation.dependsOnUnits_Unit.constraint_bodyCondition_body"/> - <ownedParameter xmi:id="QUDV.class_packagedElement_DerivedUnit_ownedOperation.dependsOnUnits_Unit.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedUnit_ownedOperation.dependsOnUnits_Unit.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <lowerValue - xmi:id="QUDV.class_packagedElement_DerivedUnit_ownedOperation.dependsOnUnits_Unit.parameter_ownedParameter_result_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedUnit_ownedOperation.dependsOnUnits_Unit.parameter_ownedParameter_result_lowerValue" xmi:type="uml:LiteralInteger"> -</lowerValue> - <upperValue - xmi:id="QUDV.class_packagedElement_DerivedUnit_ownedOperation.dependsOnUnits_Unit.parameter_ownedParameter_result_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedUnit_ownedOperation.dependsOnUnits_Unit.parameter_ownedParameter_result_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> -</upperValue> - <type xmi:idref="QUDV.class_packagedElement_Unit"/> - </ownedParameter> - <bodyCondition xmi:id="QUDV.class_packagedElement_DerivedUnit_ownedOperation.dependsOnUnits_Unit.constraint_bodyCondition_body" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedUnit_ownedOperation.dependsOnUnits_Unit.constraint_bodyCondition_body" xmi:type="uml:Constraint"> - <name>body</name> - <specification - xmi:id="QUDV.class_packagedElement_DerivedUnit_ownedOperation.dependsOnUnits_Unit.constraint_bodyCondition_body_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedUnit_ownedOperation.dependsOnUnits_Unit.constraint_bodyCondition_body_specification" xmi:type="uml:OpaqueExpression"> - <body>factor.unit.dependsOnUnits()->flatten()->asSet()->union(factor.unit->flatten()->asSet())->asSet()</body> - <language>OCL2.0</language> -</specification> - <constrainedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_DerivedUnit_ownedOperation.dependsOnUnits_Unit"/> - </bodyCondition> - </ownedOperation> - </packagedElement> - <packagedElement xmi:id="QUDV.class_packagedElement_Dimension" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Dimension" xmi:type="uml:Class"> - <name>Dimension</name> - <ownedAttribute xmi:id="QUDV.class_packagedElement_Dimension_ownedAttribute.factor" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Dimension_ownedAttribute.factor" xmi:type="uml:Property"> - <name>factor</name> - <isOrdered>true</isOrdered> - <lowerValue xmi:id="QUDV.class_packagedElement_Dimension_ownedAttribute.factor_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Dimension_ownedAttribute.factor_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.class_packagedElement_Dimension_ownedAttribute.factor_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Dimension_ownedAttribute.factor_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_QuantityKindFactor"/> - <association xmi:idref="QUDV.association_packagedElement_A_dimension_factor"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_Dimension_ownedAttribute.symbolicExpression" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Dimension_ownedAttribute.symbolicExpression" xmi:type="uml:Property"> - <name>symbolicExpression</name> - <ownedComment xmi:id="QUDV.class_packagedElement_Dimension_ownedAttribute.symbolicExpression._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Dimension_ownedAttribute.symbolicExpression._ownedComment.0" xmi:type="uml:Comment"> - <body>Symbolic expression of the quantity dimension's product of powers, in terms of symbols of the kinds of quantity that represent the base kinds of quantity and their exponents. In tool implementations, the symbolicExpression may automatically derived from the associated factor set.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_Dimension_ownedAttribute.symbolicExpression"/> - </ownedComment> - <lowerValue xmi:id="QUDV.class_packagedElement_Dimension_ownedAttribute.symbolicExpression_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Dimension_ownedAttribute.symbolicExpression_lowerValue" xmi:type="uml:LiteralInteger"/> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> - </ownedAttribute> - </packagedElement> - <packagedElement xmi:id="QUDV.class_packagedElement_GeneralConversionUnit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_GeneralConversionUnit" xmi:type="uml:Class"> - <name>GeneralConversionUnit</name> - <generalization - xmi:id="QUDV.class_packagedElement_GeneralConversionUnit._generalization.QUDV.class_packagedElement_ConversionBasedUnit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_GeneralConversionUnit._generalization.QUDV.class_packagedElement_ConversionBasedUnit" xmi:type="uml:Generalization"> - <general xmi:idref="QUDV.class_packagedElement_ConversionBasedUnit"/> -</generalization> - <ownedAttribute xmi:id="QUDV.class_packagedElement_GeneralConversionUnit_ownedAttribute.expression" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_GeneralConversionUnit_ownedAttribute.expression" xmi:type="uml:Property"> - <name>expression</name> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_GeneralConversionUnit_ownedAttribute.expressionLanguageURI" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_GeneralConversionUnit_ownedAttribute.expressionLanguageURI" xmi:type="uml:Property"> - <name>expressionLanguageURI</name> - <lowerValue xmi:id="QUDV.class_packagedElement_GeneralConversionUnit_ownedAttribute.expressionLanguageURI_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_GeneralConversionUnit_ownedAttribute.expressionLanguageURI_lowerValue" xmi:type="uml:LiteralInteger"/> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> - </ownedAttribute> - </packagedElement> - <packagedElement xmi:id="QUDV.class_packagedElement_LinearConversionUnit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_LinearConversionUnit" xmi:type="uml:Class"> - <name>LinearConversionUnit</name> - <ownedRule xmi:id="QUDV.class_packagedElement_LinearConversionUnit.constraint_ownedRule_invertible" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_LinearConversionUnit.constraint_ownedRule_invertible" xmi:type="uml:Constraint"> - <name>invertible</name> - <specification xmi:id="QUDV.class_packagedElement_LinearConversionUnit.constraint_ownedRule_invertible_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_LinearConversionUnit.constraint_ownedRule_invertible_specification" xmi:type="uml:OpaqueExpression"> - <body>isInvertible = true</body> - <language>OCL2.0</language> - </specification> - </ownedRule> - <generalization - xmi:id="QUDV.class_packagedElement_LinearConversionUnit._generalization.QUDV.class_packagedElement_ConversionBasedUnit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_LinearConversionUnit._generalization.QUDV.class_packagedElement_ConversionBasedUnit" xmi:type="uml:Generalization"> - <general xmi:idref="QUDV.class_packagedElement_ConversionBasedUnit"/> -</generalization> - <ownedAttribute xmi:id="QUDV.class_packagedElement_LinearConversionUnit_ownedAttribute.factor" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_LinearConversionUnit_ownedAttribute.factor" xmi:type="uml:Property"> - <name>factor</name> - <type xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number"/> - </ownedAttribute> - </packagedElement> - <packagedElement xmi:id="QUDV.class_packagedElement_Prefix" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Prefix" xmi:type="uml:Class"> - <name>Prefix</name> - <ownedAttribute xmi:id="QUDV.class_packagedElement_Prefix_ownedAttribute.factor" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Prefix_ownedAttribute.factor" xmi:type="uml:Property"> - <name>factor</name> - <type xmi:idref="QUDV.dataType_packagedElement_Rational"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_Prefix_ownedAttribute.symbol" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Prefix_ownedAttribute.symbol" xmi:type="uml:Property"> - <name>symbol</name> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> - </ownedAttribute> - </packagedElement> - <packagedElement xmi:id="QUDV.class_packagedElement_PrefixedUnit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_PrefixedUnit" xmi:type="uml:Class"> - <name>PrefixedUnit</name> - <ownedRule xmi:id="QUDV.class_packagedElement_PrefixedUnit.constraint_ownedRule_PU1" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_PrefixedUnit.constraint_ownedRule_PU1" xmi:type="uml:Constraint"> - <name>PU1</name> - <ownedComment xmi:id="QUDV.class_packagedElement_PrefixedUnit.constraint_ownedRule_PU1._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_PrefixedUnit.constraint_ownedRule_PU1._ownedComment.0" xmi:type="uml:Comment"> - <body>The referenceUnit shall not be a PrefixedUnit, i.e.,it is not allowed to prefix an already prefixed measurement unit. In general the referenceUnit should be a SimpleUnit.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_PrefixedUnit.constraint_ownedRule_PU1"/> - </ownedComment> - <specification xmi:id="QUDV.class_packagedElement_PrefixedUnit.constraint_ownedRule_PU1_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_PrefixedUnit.constraint_ownedRule_PU1_specification" xmi:type="uml:OpaqueExpression"> - <body>not referenceUnit.oclIsTypeOf(PrefixedUnit)</body> - <language>OCL2.0</language> - </specification> - </ownedRule> - <generalization xmi:id="QUDV.class_packagedElement_PrefixedUnit._generalization.QUDV.class_packagedElement_ConversionBasedUnit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_PrefixedUnit._generalization.QUDV.class_packagedElement_ConversionBasedUnit" xmi:type="uml:Generalization"> - <general xmi:idref="QUDV.class_packagedElement_ConversionBasedUnit"/> - </generalization> - <ownedAttribute xmi:id="QUDV.class_packagedElement_PrefixedUnit_ownedAttribute.noQuantityKind" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_PrefixedUnit_ownedAttribute.noQuantityKind" xmi:type="uml:Property"> - <name>noQuantityKind</name> - <lowerValue xmi:id="QUDV.class_packagedElement_PrefixedUnit_ownedAttribute.noQuantityKind_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_PrefixedUnit_ownedAttribute.noQuantityKind_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.class_packagedElement_PrefixedUnit_ownedAttribute.noQuantityKind_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_PrefixedUnit_ownedAttribute.noQuantityKind_upperValue" xmi:type="uml:LiteralUnlimitedNatural"/> - <type xmi:idref="QUDV.class_packagedElement_QuantityKind"/> - <association xmi:idref="QUDV.association_packagedElement_A_noQuantityKind_prefixedUnit"/> - <redefinedProperty xmi:idref="QUDV.class_packagedElement_Unit_ownedAttribute.quantityKind"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_PrefixedUnit_ownedAttribute.prefix" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_PrefixedUnit_ownedAttribute.prefix" xmi:type="uml:Property"> - <name>prefix</name> - <type xmi:idref="QUDV.class_packagedElement_Prefix"/> - <association xmi:idref="QUDV.association_packagedElement_A_prefixedUnit_prefix"/> - </ownedAttribute> - </packagedElement> - <packagedElement xmi:id="QUDV.class_packagedElement_QuantityKind" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKind" xmi:type="uml:Class"> - <name>QuantityKind</name> - <isAbstract>true</isAbstract> - <ownedRule xmi:id="QUDV.class_packagedElement_QuantityKind.constraint_ownedRule_acyclic_quantity_kind_dependencies" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKind.constraint_ownedRule_acyclic_quantity_kind_dependencies" xmi:type="uml:Constraint"> - <name>acyclic_quantity_kind_dependencies</name> - <ownedComment xmi:id="QUDV.class_packagedElement_QuantityKind.constraint_ownedRule_acyclic_quantity_kind_dependencies._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKind.constraint_ownedRule_acyclic_quantity_kind_dependencies._ownedComment.0" xmi:type="uml:Comment"> - <body>A QuantityKind cannot be defined in terms of itself. This follows from the quantity calculus used for expressing a derived QuantityKind in terms of base QuantityKinds chosen for a SystemOfQuantities by means of non-contradictory equations (See ISO 80000-1, 4.3).</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_QuantityKind.constraint_ownedRule_acyclic_quantity_kind_dependencies"/> - </ownedComment> - <specification - xmi:id="QUDV.class_packagedElement_QuantityKind.constraint_ownedRule_acyclic_quantity_kind_dependencies_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKind.constraint_ownedRule_acyclic_quantity_kind_dependencies_specification" xmi:type="uml:OpaqueExpression"> - <body>dependsOnQuantityKinds->excludes(self)</body> - <language>OCL2.0</language> -</specification> - </ownedRule> - <generalization - xmi:id="QUDV.class_packagedElement_QuantityKind._generalization.SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKind._generalization.SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind" xmi:type="uml:Generalization"> - <general xmi:type="uml:Class" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind"/> -</generalization> - <ownedAttribute xmi:id="QUDV.class_packagedElement_QuantityKind_ownedAttribute.dependsOnQuantityKinds" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKind_ownedAttribute.dependsOnQuantityKinds" xmi:type="uml:Property"> - <name>dependsOnQuantityKinds</name> - <isReadOnly>true</isReadOnly> - <isDerived>true</isDerived> - <ownedComment xmi:id="QUDV.class_packagedElement_QuantityKind_ownedAttribute.dependsOnQuantityKinds._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKind_ownedAttribute.dependsOnQuantityKinds._ownedComment.0" xmi:type="uml:Comment"> - <body>The set of all QuantityKinds that this QuantityKind directly or indirectly depends on according to its definition.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_QuantityKind_ownedAttribute.dependsOnQuantityKinds"/> - </ownedComment> - <lowerValue xmi:id="QUDV.class_packagedElement_QuantityKind_ownedAttribute.dependsOnQuantityKinds_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKind_ownedAttribute.dependsOnQuantityKinds_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.class_packagedElement_QuantityKind_ownedAttribute.dependsOnQuantityKinds_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKind_ownedAttribute.dependsOnQuantityKinds_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_QuantityKind"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_QuantityKind_ownedAttribute.general" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKind_ownedAttribute.general" xmi:type="uml:Property"> - <name>general</name> - <lowerValue xmi:id="QUDV.class_packagedElement_QuantityKind_ownedAttribute.general_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKind_ownedAttribute.general_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.class_packagedElement_QuantityKind_ownedAttribute.general_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKind_ownedAttribute.general_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_QuantityKind"/> - <association xmi:idref="QUDV.association_packagedElement_A_generalQuantityKind_specificQuantityKind"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_QuantityKind_ownedAttribute.isNumberOfEntities" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKind_ownedAttribute.isNumberOfEntities" xmi:type="uml:Property"> - <name>isNumberOfEntities</name> - <ownedComment xmi:id="QUDV.class_packagedElement_QuantityKind_ownedAttribute.isNumberOfEntities._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKind_ownedAttribute.isNumberOfEntities._ownedComment.0" xmi:type="uml:Comment"> - <body>If true, indicates that the QuantityKind represents a number of entities (see ISO 80000-1, 3.8, Note 4).</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_QuantityKind_ownedAttribute.isNumberOfEntities"/> - </ownedComment> - <defaultValue xmi:id="QUDV.class_packagedElement_QuantityKind_ownedAttribute.isNumberOfEntities_defaultValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKind_ownedAttribute.isNumberOfEntities_defaultValue" xmi:type="uml:LiteralBoolean"/> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_QuantityKind_ownedAttribute.isQuantityOfDimensionOne" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKind_ownedAttribute.isQuantityOfDimensionOne" xmi:type="uml:Property"> - <name>isQuantityOfDimensionOne</name> - <ownedComment xmi:id="QUDV.class_packagedElement_QuantityKind_ownedAttribute.isQuantityOfDimensionOne._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKind_ownedAttribute.isQuantityOfDimensionOne._ownedComment.0" xmi:type="uml:Comment"> - <body>If true, indicates that the QuantityKind has dimension one (see ISO 80000-1, 3.8).</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_QuantityKind_ownedAttribute.isQuantityOfDimensionOne"/> - </ownedComment> - <defaultValue xmi:id="QUDV.class_packagedElement_QuantityKind_ownedAttribute.isQuantityOfDimensionOne_defaultValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKind_ownedAttribute.isQuantityOfDimensionOne_defaultValue" xmi:type="uml:LiteralBoolean"/> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> - </ownedAttribute> - <ownedOperation xmi:id="QUDV.class_packagedElement_QuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind" xmi:type="uml:Operation"> - <name>dependsOnQuantityKinds</name> - <ownedComment xmi:id="QUDV.class_packagedElement_QuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind._ownedComment.0" xmi:type="uml:Comment"> - <body>Abstract operation specified in SpecializedQuantityKind, SimpleQuantityKind and DerivedQuantityKind to calculate the value of the derived property QuantityKind:/dependsOnQuantityKinds.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_QuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind"/> - </ownedComment> - <ownedParameter - xmi:id="QUDV.class_packagedElement_QuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <lowerValue - xmi:id="QUDV.class_packagedElement_QuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.parameter_ownedParameter_result_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.parameter_ownedParameter_result_lowerValue" xmi:type="uml:LiteralInteger"> -</lowerValue> - <upperValue - xmi:id="QUDV.class_packagedElement_QuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.parameter_ownedParameter_result_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.parameter_ownedParameter_result_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> -</upperValue> - <type xmi:idref="QUDV.class_packagedElement_QuantityKind"/> -</ownedParameter> - </ownedOperation> - </packagedElement> - <packagedElement xmi:id="QUDV.class_packagedElement_QuantityKindFactor" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKindFactor" xmi:type="uml:Class"> - <name>QuantityKindFactor</name> - <ownedAttribute xmi:id="QUDV.class_packagedElement_QuantityKindFactor_ownedAttribute.exponent" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKindFactor_ownedAttribute.exponent" xmi:type="uml:Property"> - <name>exponent</name> - <type xmi:idref="QUDV.dataType_packagedElement_Rational"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_QuantityKindFactor_ownedAttribute.quantityKind" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKindFactor_ownedAttribute.quantityKind" xmi:type="uml:Property"> - <name>quantityKind</name> - <type xmi:idref="QUDV.class_packagedElement_QuantityKind"/> - <association xmi:idref="QUDV.association_packagedElement_A_quantityKindFactor_quantityKind"/> - </ownedAttribute> - </packagedElement> - <packagedElement xmi:id="QUDV.class_packagedElement_SimpleQuantityKind" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SimpleQuantityKind" xmi:type="uml:Class"> - <name>SimpleQuantityKind</name> - <generalization xmi:id="QUDV.class_packagedElement_SimpleQuantityKind._generalization.QUDV.class_packagedElement_QuantityKind" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SimpleQuantityKind._generalization.QUDV.class_packagedElement_QuantityKind" xmi:type="uml:Generalization"> - <general xmi:idref="QUDV.class_packagedElement_QuantityKind"/> - </generalization> - <ownedOperation xmi:id="QUDV.class_packagedElement_SimpleQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SimpleQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind" xmi:type="uml:Operation"> - <name>dependsOnQuantityKinds</name> - <isQuery>true</isQuery> - <ownedComment xmi:id="QUDV.class_packagedElement_SimpleQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SimpleQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind._ownedComment.0" xmi:type="uml:Comment"> - <body>A SimpleQuantityKind does not depend on any other QuantityKind.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SimpleQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind"/> - </ownedComment> - <ownedRule xmi:idref="QUDV.class_packagedElement_SimpleQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.constraint_bodyCondition_body"/> - <ownedParameter - xmi:id="QUDV.class_packagedElement_SimpleQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SimpleQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <lowerValue - xmi:id="QUDV.class_packagedElement_SimpleQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.parameter_ownedParameter_result_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SimpleQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.parameter_ownedParameter_result_lowerValue" xmi:type="uml:LiteralInteger"> -</lowerValue> - <upperValue - xmi:id="QUDV.class_packagedElement_SimpleQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.parameter_ownedParameter_result_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SimpleQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.parameter_ownedParameter_result_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> -</upperValue> - <type xmi:idref="QUDV.class_packagedElement_QuantityKind"/> -</ownedParameter> - <bodyCondition - xmi:id="QUDV.class_packagedElement_SimpleQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.constraint_bodyCondition_body" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SimpleQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.constraint_bodyCondition_body" xmi:type="uml:Constraint"> - <name>body</name> - <specification - xmi:id="QUDV.class_packagedElement_SimpleQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.constraint_bodyCondition_body_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SimpleQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind.constraint_bodyCondition_body_specification" xmi:type="uml:OpaqueExpression"> - <body>Set(QuantityKind){}</body> - <language>OCL2.0</language> -</specification> - <constrainedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SimpleQuantityKind_ownedOperation.dependsOnQuantityKinds_QuantityKind"/> -</bodyCondition> - </ownedOperation> - </packagedElement> - <packagedElement xmi:id="QUDV.class_packagedElement_SimpleUnit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SimpleUnit" xmi:type="uml:Class"> - <name>SimpleUnit</name> - <generalization xmi:id="QUDV.class_packagedElement_SimpleUnit._generalization.QUDV.class_packagedElement_Unit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SimpleUnit._generalization.QUDV.class_packagedElement_Unit" xmi:type="uml:Generalization"> - <general xmi:idref="QUDV.class_packagedElement_Unit"/> - </generalization> - <ownedOperation xmi:id="QUDV.class_packagedElement_SimpleUnit_ownedOperation.dependsOnUnits_Unit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SimpleUnit_ownedOperation.dependsOnUnits_Unit" xmi:type="uml:Operation"> - <name>dependsOnUnits</name> - <isQuery>true</isQuery> - <ownedComment xmi:id="QUDV.class_packagedElement_SimpleUnit_ownedOperation.dependsOnUnits_Unit._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SimpleUnit_ownedOperation.dependsOnUnits_Unit._ownedComment.0" xmi:type="uml:Comment"> - <body>A SimpleUnit, by definition, does not depend on any other Unit.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SimpleUnit_ownedOperation.dependsOnUnits_Unit"/> - </ownedComment> - <ownedRule xmi:idref="QUDV.class_packagedElement_SimpleUnit_ownedOperation.dependsOnUnits_Unit.constraint_bodyCondition_body"/> - <ownedParameter xmi:id="QUDV.class_packagedElement_SimpleUnit_ownedOperation.dependsOnUnits_Unit.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SimpleUnit_ownedOperation.dependsOnUnits_Unit.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <lowerValue - xmi:id="QUDV.class_packagedElement_SimpleUnit_ownedOperation.dependsOnUnits_Unit.parameter_ownedParameter_result_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SimpleUnit_ownedOperation.dependsOnUnits_Unit.parameter_ownedParameter_result_lowerValue" xmi:type="uml:LiteralInteger"> -</lowerValue> - <upperValue - xmi:id="QUDV.class_packagedElement_SimpleUnit_ownedOperation.dependsOnUnits_Unit.parameter_ownedParameter_result_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SimpleUnit_ownedOperation.dependsOnUnits_Unit.parameter_ownedParameter_result_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> -</upperValue> - <type xmi:idref="QUDV.class_packagedElement_Unit"/> - </ownedParameter> - <bodyCondition xmi:id="QUDV.class_packagedElement_SimpleUnit_ownedOperation.dependsOnUnits_Unit.constraint_bodyCondition_body" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SimpleUnit_ownedOperation.dependsOnUnits_Unit.constraint_bodyCondition_body" xmi:type="uml:Constraint"> - <name>body</name> - <specification - xmi:id="QUDV.class_packagedElement_SimpleUnit_ownedOperation.dependsOnUnits_Unit.constraint_bodyCondition_body_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SimpleUnit_ownedOperation.dependsOnUnits_Unit.constraint_bodyCondition_body_specification" xmi:type="uml:OpaqueExpression"> - <body>Set(Unit){}</body> - <language>OCL2.0</language> -</specification> - <constrainedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SimpleUnit_ownedOperation.dependsOnUnits_Unit"/> - </bodyCondition> - </ownedOperation> - </packagedElement> - <packagedElement xmi:id="QUDV.class_packagedElement_SystemOfQuantities" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities" xmi:type="uml:Class"> - <name>SystemOfQuantities</name> - <ownedRule xmi:id="QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_acyclicProvenance" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_acyclicProvenance" xmi:type="uml:Constraint"> - <name>acyclicProvenance</name> - <ownedComment xmi:id="QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_acyclicProvenance._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_acyclicProvenance._ownedComment.0" xmi:type="uml:Comment"> - <body>For a QuantityKind to have a provenance to a single SystemOfQuantities, the use and includes relationships among SystemOfQuantities must be acyclic.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_acyclicProvenance"/> - </ownedComment> - <specification xmi:id="QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_acyclicProvenance_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_acyclicProvenance_specification" xmi:type="uml:OpaqueExpression"> - <body>allAccessibleSystemOfQuantities()->excludes(self)</body> - <language>OCL2.0</language> - </specification> - </ownedRule> - <ownedRule xmi:id="QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_allBaseQuantitiesAreQuantities" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_allBaseQuantitiesAreQuantities" xmi:type="uml:Constraint"> - <name>allBaseQuantitiesAreQuantities</name> - <ownedComment xmi:id="QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_allBaseQuantitiesAreQuantities._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_allBaseQuantitiesAreQuantities._ownedComment.0" xmi:type="uml:Comment"> - <body> - The set of all QuantityKinds in a given SystemOfQuantities can be partitioned into two disjoint, covering subsets: the set of base QuantityKinds (typically chosen to be mutually independent) and all its complement, the set of derived QuantityKinds, each of which can be expressed in terms of the base QuantityKinds (See ISO 80000-1, 4.3). - </body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_allBaseQuantitiesAreQuantities"/> - </ownedComment> - <specification - xmi:id="QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_allBaseQuantitiesAreQuantities_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_allBaseQuantitiesAreQuantities_specification" xmi:type="uml:OpaqueExpression"> - <body>allQuantityKinds()->includesAll(allBaseQuantityKinds())</body> - <language>OCL2.0</language> -</specification> - </ownedRule> - <ownedRule - xmi:id="QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_includedSystemOfQuantities_transitivelyDisjoint_usedSystemOfQuantities" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_includedSystemOfQuantities_transitivelyDisjoint_usedSystemOfQuantities" xmi:type="uml:Constraint"> - <name>includedSystemOfQuantities_transitivelyDisjoint_usedSystemOfQuantities</name> - <ownedComment - xmi:id="QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_includedSystemOfQuantities_transitivelyDisjoint_usedSystemOfQuantities._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_includedSystemOfQuantities_transitivelyDisjoint_usedSystemOfQuantities._ownedComment.0" xmi:type="uml:Comment"> - <body>For a QuantityKind to have a provenance to a single SystemOfQuantities, includedSystemsOfQuantities must be transitively disjoint with usedSystemsOfQuantities</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_includedSystemOfQuantities_transitivelyDisjoint_usedSystemOfQuantities"/> -</ownedComment> - <specification - xmi:id="QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_includedSystemOfQuantities_transitivelyDisjoint_usedSystemOfQuantities_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_includedSystemOfQuantities_transitivelyDisjoint_usedSystemOfQuantities_specification" xmi:type="uml:OpaqueExpression"> - <body>allIncludedSystemOfQuantities()->intersection(self.oclAsSet()->closure(usedSystemOfQuantities))->isEmpty()</body> - <language>OCL2.0</language> -</specification> -</ownedRule> - <ownedRule xmi:id="QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_singleProvenance" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_singleProvenance" xmi:type="uml:Constraint"> - <name>singleProvenance</name> - <ownedComment xmi:id="QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_singleProvenance._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_singleProvenance._ownedComment.0" xmi:type="uml:Comment"> - <body> - Every QuantityKind must be defined in only one SystemOfQuantities but it can be in the scope of several SystemOfQuantities. A given QuantityKind is in scope of a SystemOfQuantities either because it is defined or used in a SystemOfQuantities or because it is included from the scope of another SystemOfQuantities. - </body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_singleProvenance"/> - </ownedComment> - <specification xmi:id="QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_singleProvenance_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities.constraint_ownedRule_singleProvenance_specification" xmi:type="uml:OpaqueExpression"> - <body>includedSystemOfQuantities->collect(allQuantityKinds())->intersection(quantityKind)->isEmpty()</body> - <language>OCL2.0</language> - </specification> - </ownedRule> - <ownedAttribute xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.baseQuantityKind" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.baseQuantityKind" xmi:type="uml:Property"> - <name>baseQuantityKind</name> - <isOrdered>true</isOrdered> - <lowerValue xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.baseQuantityKind_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.baseQuantityKind_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.baseQuantityKind_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.baseQuantityKind_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_QuantityKind"/> - <association xmi:idref="QUDV.association_packagedElement_A_systemOfQuantities_baseQuantityKind"/> - <subsettedProperty xmi:idref="QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.quantityKind"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.definitionURI" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.definitionURI" xmi:type="uml:Property"> - <name>definitionURI</name> - <lowerValue xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.definitionURI_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.definitionURI_lowerValue" xmi:type="uml:LiteralInteger"/> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.description" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.description" xmi:type="uml:Property"> - <name>description</name> - <lowerValue xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.description_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.description_lowerValue" xmi:type="uml:LiteralInteger"/> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.dimension" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.dimension" xmi:type="uml:Property"> - <name>dimension</name> - <isOrdered>true</isOrdered> - <isUnique>false</isUnique> - <isReadOnly>true</isReadOnly> - <isDerived>true</isDerived> - <lowerValue xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.dimension_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.dimension_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.dimension_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.dimension_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_Dimension"/> - <association xmi:idref="QUDV.association_packagedElement_A_systemOfQuantities_dimension"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.includedSystemOfQuantities" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.includedSystemOfQuantities" xmi:type="uml:Property"> - <name>includedSystemOfQuantities</name> - <lowerValue xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.includedSystemOfQuantities_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.includedSystemOfQuantities_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.includedSystemOfQuantities_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.includedSystemOfQuantities_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_SystemOfQuantities"/> - <association xmi:idref="QUDV.association_packagedElement_A_includedSystemOfQuantities_systemOfQuantities"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.quantityKind" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.quantityKind" xmi:type="uml:Property"> - <name>quantityKind</name> - <isOrdered>true</isOrdered> - <lowerValue xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.quantityKind_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.quantityKind_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.quantityKind_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.quantityKind_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_QuantityKind"/> - <association xmi:idref="QUDV.association_packagedElement_A_systemOfQuantities_quantityKind"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.symbol" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.symbol" xmi:type="uml:Property"> - <name>symbol</name> - <lowerValue xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.symbol_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.symbol_lowerValue" xmi:type="uml:LiteralInteger"/> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.usedSystemOfQuantities" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.usedSystemOfQuantities" xmi:type="uml:Property"> - <name>usedSystemOfQuantities</name> - <lowerValue xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.usedSystemOfQuantities_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.usedSystemOfQuantities_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.usedSystemOfQuantities_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedAttribute.usedSystemOfQuantities_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_SystemOfQuantities"/> - <association xmi:idref="QUDV.association_packagedElement_A_usedSystemOfQuantities_systemOfQuantities"/> - </ownedAttribute> - <ownedOperation xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleQuantityKinds_QuantityKind" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleQuantityKinds_QuantityKind" xmi:type="uml:Operation"> - <name>allAccessibleQuantityKinds</name> - <isQuery>true</isQuery> - <ownedComment - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleQuantityKinds_QuantityKind._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleQuantityKinds_QuantityKind._ownedComment.0" xmi:type="uml:Comment"> - <body>The query accessibleQuantityKinds() gives all the QuantityKinds directly defined in the SystemOfQuantities or transitively in any included or used SystemOfQuantities.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleQuantityKinds_QuantityKind"/> -</ownedComment> - <ownedRule xmi:idref="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleQuantityKinds_QuantityKind.constraint_bodyCondition_body"/> - <ownedParameter - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleQuantityKinds_QuantityKind.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleQuantityKinds_QuantityKind.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <lowerValue - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleQuantityKinds_QuantityKind.parameter_ownedParameter_result_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleQuantityKinds_QuantityKind.parameter_ownedParameter_result_lowerValue" xmi:type="uml:LiteralInteger"> -</lowerValue> - <upperValue - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleQuantityKinds_QuantityKind.parameter_ownedParameter_result_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleQuantityKinds_QuantityKind.parameter_ownedParameter_result_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> -</upperValue> - <type xmi:idref="QUDV.class_packagedElement_QuantityKind"/> -</ownedParameter> - <bodyCondition - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleQuantityKinds_QuantityKind.constraint_bodyCondition_body" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleQuantityKinds_QuantityKind.constraint_bodyCondition_body" xmi:type="uml:Constraint"> - <name>body</name> - <specification - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleQuantityKinds_QuantityKind.constraint_bodyCondition_body_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleQuantityKinds_QuantityKind.constraint_bodyCondition_body_specification" xmi:type="uml:OpaqueExpression"> - <body>allAccessibleSystemOfQuantities()->collect(quantityKind)->flatten()->asSet()</body> - <language>OCL2.0</language> -</specification> - <constrainedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleQuantityKinds_QuantityKind"/> -</bodyCondition> - </ownedOperation> - <ownedOperation xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleSystemOfQuantities_SystemOfQuantities" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleSystemOfQuantities_SystemOfQuantities" xmi:type="uml:Operation"> - <name>allAccessibleSystemOfQuantities</name> - <isQuery>true</isQuery> - <ownedComment - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleSystemOfQuantities_SystemOfQuantities._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleSystemOfQuantities_SystemOfQuantities._ownedComment.0" xmi:type="uml:Comment"> - <body>The query allAccessibleSystemOfQuantities() gives all the SystemOfQuantities directly or transitively included or used.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleSystemOfQuantities_SystemOfQuantities"/> -</ownedComment> - <ownedRule xmi:idref="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleSystemOfQuantities_SystemOfQuantities.constraint_bodyCondition_body"/> - <ownedParameter - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleSystemOfQuantities_SystemOfQuantities.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleSystemOfQuantities_SystemOfQuantities.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <lowerValue - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleSystemOfQuantities_SystemOfQuantities.parameter_ownedParameter_result_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleSystemOfQuantities_SystemOfQuantities.parameter_ownedParameter_result_lowerValue" xmi:type="uml:LiteralInteger"> -</lowerValue> - <upperValue - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleSystemOfQuantities_SystemOfQuantities.parameter_ownedParameter_result_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleSystemOfQuantities_SystemOfQuantities.parameter_ownedParameter_result_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> -</upperValue> - <type xmi:idref="QUDV.class_packagedElement_SystemOfQuantities"/> -</ownedParameter> - <bodyCondition - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleSystemOfQuantities_SystemOfQuantities.constraint_bodyCondition_body" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleSystemOfQuantities_SystemOfQuantities.constraint_bodyCondition_body" xmi:type="uml:Constraint"> - <name>body</name> - <specification - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleSystemOfQuantities_SystemOfQuantities.constraint_bodyCondition_body_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allAccessibleSystemOfQuantities_SystemOfQuantities.constraint_bodyCondition_body_specification" xmi:type="uml:OpaqueExpression"> - <body>self->closure(includedSystemOfQuantities->union(usedSystemOfQuantities))->asSet()</body> - <language>OCL2.0</language> -</specification> -</bodyCondition> - </ownedOperation> - <ownedOperation xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allBaseQuantityKinds_QuantityKind" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allBaseQuantityKinds_QuantityKind" xmi:type="uml:Operation"> - <name>allBaseQuantityKinds</name> - <isQuery>true</isQuery> - <ownedComment xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allBaseQuantityKinds_QuantityKind._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allBaseQuantityKinds_QuantityKind._ownedComment.0" xmi:type="uml:Comment"> - <body>The query allBaseQuantityKinds() gives all the QuantityKinds directly adopted or transitively adopted from any included SystemOfQuantities as base QuantityKinds.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allBaseQuantityKinds_QuantityKind"/> - </ownedComment> - <ownedRule xmi:idref="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allBaseQuantityKinds_QuantityKind.constraint_bodyCondition_body"/> - <ownedParameter - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allBaseQuantityKinds_QuantityKind.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allBaseQuantityKinds_QuantityKind.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <lowerValue - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allBaseQuantityKinds_QuantityKind.parameter_ownedParameter_result_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allBaseQuantityKinds_QuantityKind.parameter_ownedParameter_result_lowerValue" xmi:type="uml:LiteralInteger"> -</lowerValue> - <upperValue - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allBaseQuantityKinds_QuantityKind.parameter_ownedParameter_result_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allBaseQuantityKinds_QuantityKind.parameter_ownedParameter_result_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> -</upperValue> - <type xmi:idref="QUDV.class_packagedElement_QuantityKind"/> -</ownedParameter> - <bodyCondition - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allBaseQuantityKinds_QuantityKind.constraint_bodyCondition_body" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allBaseQuantityKinds_QuantityKind.constraint_bodyCondition_body" xmi:type="uml:Constraint"> - <name>body</name> - <specification - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allBaseQuantityKinds_QuantityKind.constraint_bodyCondition_body_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allBaseQuantityKinds_QuantityKind.constraint_bodyCondition_body_specification" xmi:type="uml:OpaqueExpression"> - <body>allIncludedSystemOfQuantities()->collect(baseQuantityKind)->flatten()->asSet()->union(baseQuantityKind)->asSet()</body> - <language>OCL2.0</language> -</specification> - <constrainedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allBaseQuantityKinds_QuantityKind"/> -</bodyCondition> - </ownedOperation> - <ownedOperation xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allIncludedSystemOfQuantities_SystemOfQuantities" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allIncludedSystemOfQuantities_SystemOfQuantities" xmi:type="uml:Operation"> - <name>allIncludedSystemOfQuantities</name> - <isQuery>true</isQuery> - <ownedComment - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allIncludedSystemOfQuantities_SystemOfQuantities._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allIncludedSystemOfQuantities_SystemOfQuantities._ownedComment.0" xmi:type="uml:Comment"> - <body>The query allIncludedSystemOfQuantities() gives all the SystemOfQuantities directly or transitively included.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allIncludedSystemOfQuantities_SystemOfQuantities"/> -</ownedComment> - <ownedRule xmi:idref="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allIncludedSystemOfQuantities_SystemOfQuantities.constraint_bodyCondition_body"/> - <ownedParameter - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allIncludedSystemOfQuantities_SystemOfQuantities.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allIncludedSystemOfQuantities_SystemOfQuantities.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <lowerValue - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allIncludedSystemOfQuantities_SystemOfQuantities.parameter_ownedParameter_result_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allIncludedSystemOfQuantities_SystemOfQuantities.parameter_ownedParameter_result_lowerValue" xmi:type="uml:LiteralInteger"> -</lowerValue> - <upperValue - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allIncludedSystemOfQuantities_SystemOfQuantities.parameter_ownedParameter_result_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allIncludedSystemOfQuantities_SystemOfQuantities.parameter_ownedParameter_result_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> -</upperValue> - <type xmi:idref="QUDV.class_packagedElement_SystemOfQuantities"/> -</ownedParameter> - <bodyCondition - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allIncludedSystemOfQuantities_SystemOfQuantities.constraint_bodyCondition_body" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allIncludedSystemOfQuantities_SystemOfQuantities.constraint_bodyCondition_body" xmi:type="uml:Constraint"> - <name>body</name> - <specification - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allIncludedSystemOfQuantities_SystemOfQuantities.constraint_bodyCondition_body_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allIncludedSystemOfQuantities_SystemOfQuantities.constraint_bodyCondition_body_specification" xmi:type="uml:OpaqueExpression"> - <body>self->closure(includedSystemOfQuantities)->asSet()</body> - <language>OCL2.0</language> -</specification> -</bodyCondition> - </ownedOperation> - <ownedOperation xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allQuantityKinds_QuantityKind" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allQuantityKinds_QuantityKind" xmi:type="uml:Operation"> - <name>allQuantityKinds</name> - <isQuery>true</isQuery> - <ownedComment xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allQuantityKinds_QuantityKind._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allQuantityKinds_QuantityKind._ownedComment.0" xmi:type="uml:Comment"> - <body> - The query allQuantityKinds() gives all the QuantityKinds in scope of a SystemOfQuantities; that is, each QuantityKind is either directly defined in the SystemOfQuantities, selectively used from another SystemOfQuantities or part of the scope of all the QuantityKinds included from another SystemOfQuantities. - </body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allQuantityKinds_QuantityKind"/> - </ownedComment> - <ownedRule xmi:idref="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allQuantityKinds_QuantityKind.constraint_bodyCondition_body"/> - <ownedParameter - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allQuantityKinds_QuantityKind.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allQuantityKinds_QuantityKind.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <lowerValue - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allQuantityKinds_QuantityKind.parameter_ownedParameter_result_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allQuantityKinds_QuantityKind.parameter_ownedParameter_result_lowerValue" xmi:type="uml:LiteralInteger"> -</lowerValue> - <upperValue - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allQuantityKinds_QuantityKind.parameter_ownedParameter_result_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allQuantityKinds_QuantityKind.parameter_ownedParameter_result_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> -</upperValue> - <type xmi:idref="QUDV.class_packagedElement_QuantityKind"/> -</ownedParameter> - <bodyCondition - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allQuantityKinds_QuantityKind.constraint_bodyCondition_body" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allQuantityKinds_QuantityKind.constraint_bodyCondition_body" xmi:type="uml:Constraint"> - <name>body</name> - <specification - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allQuantityKinds_QuantityKind.constraint_bodyCondition_body_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allQuantityKinds_QuantityKind.constraint_bodyCondition_body_specification" xmi:type="uml:OpaqueExpression"> - <body>allIncludedSystemOfQuantities()->collect(quantityKind)->flatten()->asSet()->union(quantityKind)->asSet()</body> - <language>OCL2.0</language> -</specification> - <constrainedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.allQuantityKinds_QuantityKind"/> -</bodyCondition> - </ownedOperation> - <ownedOperation xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.getDimension_QuantityKind_Dimension" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.getDimension_QuantityKind_Dimension" xmi:type="uml:Operation"> - <name>getDimension</name> - <ownedParameter - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.getDimension_QuantityKind_Dimension.parameter_ownedParameter_qk" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.getDimension_QuantityKind_Dimension.parameter_ownedParameter_qk" xmi:type="uml:Parameter"> - <name>qk</name> - <type xmi:idref="QUDV.class_packagedElement_QuantityKind"/> -</ownedParameter> - <ownedParameter - xmi:id="QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.getDimension_QuantityKind_Dimension.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities_ownedOperation.getDimension_QuantityKind_Dimension.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <type xmi:idref="QUDV.class_packagedElement_Dimension"/> -</ownedParameter> - </ownedOperation> - </packagedElement> - <packagedElement xmi:id="QUDV.class_packagedElement_SystemOfUnits" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits" xmi:type="uml:Class"> - <name>SystemOfUnits</name> - <ownedRule xmi:id="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_SoU3_1" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_SoU3_1" xmi:type="uml:Constraint"> - <name>SoU3_1</name> - <ownedComment xmi:id="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_SoU3_1._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_SoU3_1._ownedComment.0" xmi:type="uml:Comment"> - <body>In a well-formed SystemOfUnits, all of the prefixes of PrefixedUnits are defined in the SystemOfUnits.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_SoU3_1"/> - </ownedComment> - <specification xmi:id="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_SoU3_1_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_SoU3_1_specification" xmi:type="uml:OpaqueExpression"> - <body>allPrefixes()->includesAll(allUnits()->select(oclIsTypeOf(PrefixedUnit))->collect(oclAsType(PrefixedUnit).prefix))</body> - <language>OCL2.0</language> - </specification> - </ownedRule> - <ownedRule xmi:id="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_SoU3_2" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_SoU3_2" xmi:type="uml:Constraint"> - <name>SoU3_2</name> - <ownedComment xmi:id="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_SoU3_2._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_SoU3_2._ownedComment.0" xmi:type="uml:Comment"> - <body>All the dependent Units of a SystemOfUnits must be in the scope of that SystemOfUnits.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_SoU3_2"/> - </ownedComment> - <specification xmi:id="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_SoU3_2_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_SoU3_2_specification" xmi:type="uml:OpaqueExpression"> - <body>allUnits()->includesAll(allUnits()->collect(dependsOnUnits())->flatten()->asSet())</body> - <language>OCL2.0</language> - </specification> - </ownedRule> - <ownedRule xmi:id="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_SoU3_3" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_SoU3_3" xmi:type="uml:Constraint"> - <name>SoU3_3</name> - <ownedComment xmi:id="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_SoU3_3._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_SoU3_3._ownedComment.0" xmi:type="uml:Comment"> - <body>All of the quantityKinds that are measurementUnits of Units in the SystemOfUnits are defined in the systemOfQuantities of that SystemOfUnits.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_SoU3_3"/> - </ownedComment> - <specification xmi:id="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_SoU3_3_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_SoU3_3_specification" xmi:type="uml:OpaqueExpression"> - <body>getEffectiveSystemOfQuantities() = null or let aqk : Set(QuantityKind) = getEffectiveSystemOfQuantities().allQuantityKinds() in allUnits()->forAll(u | aqk->includesAll(getKindOfQuantitiesForMeasurementUnit(u)))</body> - <language>OCL2.0</language> - </specification> - </ownedRule> - <ownedRule xmi:id="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_acyclicProvenance" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_acyclicProvenance" xmi:type="uml:Constraint"> - <name>acyclicProvenance</name> - <ownedComment xmi:id="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_acyclicProvenance._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_acyclicProvenance._ownedComment.0" xmi:type="uml:Comment"> - <body>For a Unit to have a provenance to a single SystemOfUnits, the use and includes relationships among SystemOfUnits must be acyclic.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_acyclicProvenance"/> - </ownedComment> - <specification xmi:id="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_acyclicProvenance_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_acyclicProvenance_specification" xmi:type="uml:OpaqueExpression"> - <body>allAccessibleSystemOfUnits()->excludes(self)</body> - <language>OCL2.0</language> - </specification> - </ownedRule> - <ownedRule xmi:id="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_allBaseUnitsAreUnits" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_allBaseUnitsAreUnits" xmi:type="uml:Constraint"> - <name>allBaseUnitsAreUnits</name> - <ownedComment xmi:id="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_allBaseUnitsAreUnits._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_allBaseUnitsAreUnits._ownedComment.0" xmi:type="uml:Comment"> - <body> - The set of all Units in a given SystemOfUnits can be partitioned into two disjoint, covering subsets: the set of base Units (typically chosen to be mutually independent) and all its complement, the set of derived Units, each of which can be expressed in terms of the base Units (See ISO 80000-1, 6.4). - </body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_allBaseUnitsAreUnits"/> - </ownedComment> - <specification xmi:id="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_allBaseUnitsAreUnits_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_allBaseUnitsAreUnits_specification" xmi:type="uml:OpaqueExpression"> - <body>allUnits()->includesAll(allBaseUnits())</body> - <language>OCL2.0</language> - </specification> - </ownedRule> - <ownedRule - xmi:id="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_includedSystemOfUnits_transitivelyDisjoint_usedSystemOfUnits" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_includedSystemOfUnits_transitivelyDisjoint_usedSystemOfUnits" xmi:type="uml:Constraint"> - <name>includedSystemOfUnits_transitivelyDisjoint_usedSystemOfUnits</name> - <ownedComment - xmi:id="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_includedSystemOfUnits_transitivelyDisjoint_usedSystemOfUnits._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_includedSystemOfUnits_transitivelyDisjoint_usedSystemOfUnits._ownedComment.0" xmi:type="uml:Comment"> - <body>For a Unit to have a provenance to a single SystemOfUnits, all included systems of units must be transitively disjoint with all used systems of units.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_includedSystemOfUnits_transitivelyDisjoint_usedSystemOfUnits"/> -</ownedComment> - <specification - xmi:id="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_includedSystemOfUnits_transitivelyDisjoint_usedSystemOfUnits_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_includedSystemOfUnits_transitivelyDisjoint_usedSystemOfUnits_specification" xmi:type="uml:OpaqueExpression"> - <body>allIncludedSystemOfUnits()->intersection(self.oclAsSet()->closure(usedSystemOfUnits))->isEmpty()</body> - <language>OCL2.0</language> -</specification> -</ownedRule> - <ownedRule xmi:id="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_singleProvenance" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_singleProvenance" xmi:type="uml:Constraint"> - <name>singleProvenance</name> - <ownedComment xmi:id="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_singleProvenance._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_singleProvenance._ownedComment.0" xmi:type="uml:Comment"> - <body>Every Unit must be defined in only one SystemOfUnits but it can be in the scope of several SystemOfUnits. A given Unit is in scope of a SystemOfUnits either because it is defined or used in a SystemOfUnits or because it is included from the scope of another SystemOfUnits.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_singleProvenance"/> - </ownedComment> - <specification xmi:id="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_singleProvenance_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_singleProvenance_specification" xmi:type="uml:OpaqueExpression"> - <body>includedSystemOfUnits->collect(allUnits())->intersection(unit)->isEmpty()</body> - <language>OCL2.0</language> - </specification> - </ownedRule> - <ownedRule xmi:id="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_systemOfQuantitiesIncludesAllUnitsQuantityKinds" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_systemOfQuantitiesIncludesAllUnitsQuantityKinds" xmi:type="uml:Constraint"> - <name>systemOfQuantitiesIncludesAllUnitsQuantityKinds</name> - <ownedComment - xmi:id="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_systemOfQuantitiesIncludesAllUnitsQuantityKinds._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_systemOfQuantitiesIncludesAllUnitsQuantityKinds._ownedComment.0" xmi:type="uml:Comment"> - <body>For a Unit to have a provenance to a single SystemOfUnits, includedSystemsOfUnits must be transitively disjoint with usedSystemsOfUnits.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_systemOfQuantitiesIncludesAllUnitsQuantityKinds"/> -</ownedComment> - <specification - xmi:id="QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_systemOfQuantitiesIncludesAllUnitsQuantityKinds_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits.constraint_ownedRule_systemOfQuantitiesIncludesAllUnitsQuantityKinds_specification" xmi:type="uml:OpaqueExpression"> - <body>let aqks : Set(QuantityKind) = getEffectiveSystemOfQuantities().allQuantityKinds() in allUnits()->forAll(u | getKindOfQuantitiesForMeasurementUnit(u)->intersection(aqks)->notEmpty())</body> - <language>OCL2.0</language> -</specification> - </ownedRule> - <ownedAttribute xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.baseUnit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.baseUnit" xmi:type="uml:Property"> - <name>baseUnit</name> - <isOrdered>true</isOrdered> - <lowerValue xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.baseUnit_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.baseUnit_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.baseUnit_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.baseUnit_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_Unit"/> - <association xmi:idref="QUDV.association_packagedElement_A_systemOfUnits_baseUnit"/> - <subsettedProperty xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.unit"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.definitionURI" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.definitionURI" xmi:type="uml:Property"> - <name>definitionURI</name> - <lowerValue xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.definitionURI_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.definitionURI_lowerValue" xmi:type="uml:LiteralInteger"/> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.description" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.description" xmi:type="uml:Property"> - <name>description</name> - <lowerValue xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.description_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.description_lowerValue" xmi:type="uml:LiteralInteger"/> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.includedSystemOfUnits" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.includedSystemOfUnits" xmi:type="uml:Property"> - <name>includedSystemOfUnits</name> - <lowerValue xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.includedSystemOfUnits_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.includedSystemOfUnits_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.includedSystemOfUnits_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.includedSystemOfUnits_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_SystemOfUnits"/> - <association xmi:idref="QUDV.association_packagedElement_A_includedSystemOfUnits_systemOfUnits"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.prefix" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.prefix" xmi:type="uml:Property"> - <name>prefix</name> - <isOrdered>true</isOrdered> - <lowerValue xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.prefix_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.prefix_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.prefix_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.prefix_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_Prefix"/> - <association xmi:idref="QUDV.association_packagedElement_A_systemOfUnits_prefix"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.symbol" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.symbol" xmi:type="uml:Property"> - <name>symbol</name> - <lowerValue xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.symbol_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.symbol_lowerValue" xmi:type="uml:LiteralInteger"/> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.systemOfQuantities" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.systemOfQuantities" xmi:type="uml:Property"> - <name>systemOfQuantities</name> - <lowerValue xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.systemOfQuantities_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.systemOfQuantities_lowerValue" xmi:type="uml:LiteralInteger"/> - <type xmi:idref="QUDV.class_packagedElement_SystemOfQuantities"/> - <association xmi:idref="QUDV.association_packagedElement_A_systemOfUnits_systemOfQuantities"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.unit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.unit" xmi:type="uml:Property"> - <name>unit</name> - <isOrdered>true</isOrdered> - <lowerValue xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.unit_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.unit_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.unit_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.unit_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_Unit"/> - <association xmi:idref="QUDV.association_packagedElement_A_systemOfUnits_unit"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.usedSystemOfUnits" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.usedSystemOfUnits" xmi:type="uml:Property"> - <name>usedSystemOfUnits</name> - <lowerValue xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.usedSystemOfUnits_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.usedSystemOfUnits_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.usedSystemOfUnits_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedAttribute.usedSystemOfUnits_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_SystemOfUnits"/> - <association xmi:idref="QUDV.association_packagedElement_A_usedSystemOfUnits_systemOfUnits"/> - </ownedAttribute> - <ownedOperation xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleSystemOfUnits_SystemOfUnits" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleSystemOfUnits_SystemOfUnits" xmi:type="uml:Operation"> - <name>allAccessibleSystemOfUnits</name> - <isQuery>true</isQuery> - <ownedComment xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleSystemOfUnits_SystemOfUnits._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleSystemOfUnits_SystemOfUnits._ownedComment.0" xmi:type="uml:Comment"> - <body>The query allAccessibleSystemOfUnits() gives all the SystemOfUnits directly or transitively included or used.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleSystemOfUnits_SystemOfUnits"/> - </ownedComment> - <ownedRule xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleSystemOfUnits_SystemOfUnits.constraint_bodyCondition_body"/> - <ownedParameter - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleSystemOfUnits_SystemOfUnits.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleSystemOfUnits_SystemOfUnits.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <lowerValue - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleSystemOfUnits_SystemOfUnits.parameter_ownedParameter_result_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleSystemOfUnits_SystemOfUnits.parameter_ownedParameter_result_lowerValue" xmi:type="uml:LiteralInteger"> -</lowerValue> - <upperValue - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleSystemOfUnits_SystemOfUnits.parameter_ownedParameter_result_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleSystemOfUnits_SystemOfUnits.parameter_ownedParameter_result_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> -</upperValue> - <type xmi:idref="QUDV.class_packagedElement_SystemOfUnits"/> -</ownedParameter> - <bodyCondition - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleSystemOfUnits_SystemOfUnits.constraint_bodyCondition_body" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleSystemOfUnits_SystemOfUnits.constraint_bodyCondition_body" xmi:type="uml:Constraint"> - <name>body</name> - <specification - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleSystemOfUnits_SystemOfUnits.constraint_bodyCondition_body_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleSystemOfUnits_SystemOfUnits.constraint_bodyCondition_body_specification" xmi:type="uml:OpaqueExpression"> - <body>self->closure(includedSystemOfUnits->union(usedSystemOfUnits))->asSet()</body> - <language>OCL2.0</language> -</specification> -</bodyCondition> - </ownedOperation> - <ownedOperation xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleUnits_Unit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleUnits_Unit" xmi:type="uml:Operation"> - <name>allAccessibleUnits</name> - <isQuery>true</isQuery> - <ownedComment xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleUnits_Unit._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleUnits_Unit._ownedComment.0" xmi:type="uml:Comment"> - <body>The query accessibleUnits() gives all the Units directly defined in a SystemOfUnits or transitively in any included or used SystemOfUnits.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleUnits_Unit"/> - </ownedComment> - <ownedRule xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleUnits_Unit.constraint_bodyCondition_body"/> - <ownedParameter xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleUnits_Unit.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleUnits_Unit.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <lowerValue - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleUnits_Unit.parameter_ownedParameter_result_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleUnits_Unit.parameter_ownedParameter_result_lowerValue" xmi:type="uml:LiteralInteger"> -</lowerValue> - <upperValue - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleUnits_Unit.parameter_ownedParameter_result_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleUnits_Unit.parameter_ownedParameter_result_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> -</upperValue> - <type xmi:idref="QUDV.class_packagedElement_Unit"/> - </ownedParameter> - <bodyCondition xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleUnits_Unit.constraint_bodyCondition_body" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleUnits_Unit.constraint_bodyCondition_body" xmi:type="uml:Constraint"> - <name>body</name> - <specification - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleUnits_Unit.constraint_bodyCondition_body_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleUnits_Unit.constraint_bodyCondition_body_specification" xmi:type="uml:OpaqueExpression"> - <body>allAccessibleSystemOfUnits()->collect(unit)->flatten()->asSet()</body> - <language>OCL2.0</language> -</specification> - <constrainedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allAccessibleUnits_Unit"/> - </bodyCondition> - </ownedOperation> - <ownedOperation xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseQuantityKinds_QuantityKind" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseQuantityKinds_QuantityKind" xmi:type="uml:Operation"> - <name>allBaseQuantityKinds</name> - <isQuery>true</isQuery> - <ownedComment xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseQuantityKinds_QuantityKind._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseQuantityKinds_QuantityKind._ownedComment.0" xmi:type="uml:Comment"> - <body>The query allBaseQuantityKinds() gives all the QuantityKinds directly adopted or transitively adopted from any included SystemOfQuantities as base QuantityKinds in the effective SystemOfQuantities associated to a SystemOfUnits.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseQuantityKinds_QuantityKind"/> - </ownedComment> - <ownedRule xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseQuantityKinds_QuantityKind.constraint_bodyCondition_result"/> - <ownedParameter - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseQuantityKinds_QuantityKind.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseQuantityKinds_QuantityKind.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <lowerValue - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseQuantityKinds_QuantityKind.parameter_ownedParameter_result_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseQuantityKinds_QuantityKind.parameter_ownedParameter_result_lowerValue" xmi:type="uml:LiteralInteger"> -</lowerValue> - <upperValue - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseQuantityKinds_QuantityKind.parameter_ownedParameter_result_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseQuantityKinds_QuantityKind.parameter_ownedParameter_result_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> -</upperValue> - <type xmi:idref="QUDV.class_packagedElement_QuantityKind"/> -</ownedParameter> - <bodyCondition - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseQuantityKinds_QuantityKind.constraint_bodyCondition_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseQuantityKinds_QuantityKind.constraint_bodyCondition_result" xmi:type="uml:Constraint"> - <name>result</name> - <specification - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseQuantityKinds_QuantityKind.constraint_bodyCondition_result_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseQuantityKinds_QuantityKind.constraint_bodyCondition_result_specification" xmi:type="uml:OpaqueExpression"> - <body>getEffectiveSystemOfQuantities().allBaseQuantityKinds()->flatten()->asSet()</body> - <language>OCL2.0</language> -</specification> -</bodyCondition> - </ownedOperation> - <ownedOperation xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseUnits_Unit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseUnits_Unit" xmi:type="uml:Operation"> - <name>allBaseUnits</name> - <isQuery>true</isQuery> - <ownedComment xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseUnits_Unit._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseUnits_Unit._ownedComment.0" xmi:type="uml:Comment"> - <body>The query allBaseUnits() gives all the Units directly adopted or transitively adopted from any included SystemOfUnits as base Units.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseUnits_Unit"/> - </ownedComment> - <ownedRule xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseUnits_Unit.constraint_bodyCondition_body"/> - <ownedParameter xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseUnits_Unit.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseUnits_Unit.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <lowerValue - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseUnits_Unit.parameter_ownedParameter_result_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseUnits_Unit.parameter_ownedParameter_result_lowerValue" xmi:type="uml:LiteralInteger"> -</lowerValue> - <upperValue - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseUnits_Unit.parameter_ownedParameter_result_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseUnits_Unit.parameter_ownedParameter_result_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> -</upperValue> - <type xmi:idref="QUDV.class_packagedElement_Unit"/> - </ownedParameter> - <bodyCondition xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseUnits_Unit.constraint_bodyCondition_body" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseUnits_Unit.constraint_bodyCondition_body" xmi:type="uml:Constraint"> - <name>body</name> - <specification - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseUnits_Unit.constraint_bodyCondition_body_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseUnits_Unit.constraint_bodyCondition_body_specification" xmi:type="uml:OpaqueExpression"> - <body>allIncludedSystemOfUnits()->collect(baseUnit)->flatten()->asSet()->union(baseUnit)->asSet()</body> - <language>OCL2.0</language> -</specification> - <constrainedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allBaseUnits_Unit"/> - </bodyCondition> - </ownedOperation> - <ownedOperation xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allIncludedSystemOfUnits_SystemOfUnits" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allIncludedSystemOfUnits_SystemOfUnits" xmi:type="uml:Operation"> - <name>allIncludedSystemOfUnits</name> - <isQuery>true</isQuery> - <ownedComment xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allIncludedSystemOfUnits_SystemOfUnits._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allIncludedSystemOfUnits_SystemOfUnits._ownedComment.0" xmi:type="uml:Comment"> - <body>The query allIncludedSystemOfUnits() gives all the SystemOfUnits directly or transitively included.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allIncludedSystemOfUnits_SystemOfUnits"/> - </ownedComment> - <ownedRule xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allIncludedSystemOfUnits_SystemOfUnits.constraint_bodyCondition_body"/> - <ownedParameter - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allIncludedSystemOfUnits_SystemOfUnits.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allIncludedSystemOfUnits_SystemOfUnits.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <lowerValue - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allIncludedSystemOfUnits_SystemOfUnits.parameter_ownedParameter_result_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allIncludedSystemOfUnits_SystemOfUnits.parameter_ownedParameter_result_lowerValue" xmi:type="uml:LiteralInteger"> -</lowerValue> - <upperValue - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allIncludedSystemOfUnits_SystemOfUnits.parameter_ownedParameter_result_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allIncludedSystemOfUnits_SystemOfUnits.parameter_ownedParameter_result_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> -</upperValue> - <type xmi:idref="QUDV.class_packagedElement_SystemOfUnits"/> -</ownedParameter> - <bodyCondition - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allIncludedSystemOfUnits_SystemOfUnits.constraint_bodyCondition_body" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allIncludedSystemOfUnits_SystemOfUnits.constraint_bodyCondition_body" xmi:type="uml:Constraint"> - <name>body</name> - <specification - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allIncludedSystemOfUnits_SystemOfUnits.constraint_bodyCondition_body_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allIncludedSystemOfUnits_SystemOfUnits.constraint_bodyCondition_body_specification" xmi:type="uml:OpaqueExpression"> - <body>self->closure(includedSystemOfUnits->union(usedSystemOfUnits))->asSet()</body> - <language>OCL2.0</language> -</specification> -</bodyCondition> - </ownedOperation> - <ownedOperation xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allMeasurementUnitsDefinedForSomeQuantityKind_Boolean" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allMeasurementUnitsDefinedForSomeQuantityKind_Boolean" xmi:type="uml:Operation"> - <name>allMeasurementUnitsDefinedForSomeQuantityKind</name> - <isQuery>true</isQuery> - <ownedComment - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allMeasurementUnitsDefinedForSomeQuantityKind_Boolean._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allMeasurementUnitsDefinedForSomeQuantityKind_Boolean._ownedComment.0" xmi:type="uml:Comment"> - <body>The predicate allMeasurementUnitsDefinedForSomeQuantityKind() determines whether, in a SystemOfUnits, every Unit must be defined, by convention, as a multiplicable reference for at least one QuantityKind (see ISO 80000-1, 3.9).</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allMeasurementUnitsDefinedForSomeQuantityKind_Boolean"/> -</ownedComment> - <ownedRule xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allMeasurementUnitsDefinedForSomeQuantityKind_Boolean.constraint_bodyCondition_body"/> - <ownedParameter - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allMeasurementUnitsDefinedForSomeQuantityKind_Boolean.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allMeasurementUnitsDefinedForSomeQuantityKind_Boolean.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> -</ownedParameter> - <bodyCondition - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allMeasurementUnitsDefinedForSomeQuantityKind_Boolean.constraint_bodyCondition_body" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allMeasurementUnitsDefinedForSomeQuantityKind_Boolean.constraint_bodyCondition_body" xmi:type="uml:Constraint"> - <name>body</name> - <specification - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allMeasurementUnitsDefinedForSomeQuantityKind_Boolean.constraint_bodyCondition_body_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allMeasurementUnitsDefinedForSomeQuantityKind_Boolean.constraint_bodyCondition_body_specification" xmi:type="uml:OpaqueExpression"> - <body>allUnits()->forAll(quantityKind <> null)</body> - <language>OCL2.0</language> -</specification> -</bodyCondition> - </ownedOperation> - <ownedOperation xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allPrefixes_Prefix" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allPrefixes_Prefix" xmi:type="uml:Operation"> - <name>allPrefixes</name> - <isQuery>true</isQuery> - <ownedComment xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allPrefixes_Prefix._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allPrefixes_Prefix._ownedComment.0" xmi:type="uml:Comment"> - <body>The query allPrefixes() gives all the Prefixes in scope of a SystemOfUnits; that is, each Prefix is either directly defined in the SystemOfUnits or in any accessible SystemOfUnits.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allPrefixes_Prefix"/> - </ownedComment> - <ownedRule xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allPrefixes_Prefix.constraint_bodyCondition_body"/> - <ownedParameter xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allPrefixes_Prefix.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allPrefixes_Prefix.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <lowerValue - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allPrefixes_Prefix.parameter_ownedParameter_result_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allPrefixes_Prefix.parameter_ownedParameter_result_lowerValue" xmi:type="uml:LiteralInteger"> -</lowerValue> - <upperValue - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allPrefixes_Prefix.parameter_ownedParameter_result_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allPrefixes_Prefix.parameter_ownedParameter_result_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> -</upperValue> - <type xmi:idref="QUDV.class_packagedElement_Prefix"/> - </ownedParameter> - <bodyCondition xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allPrefixes_Prefix.constraint_bodyCondition_body" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allPrefixes_Prefix.constraint_bodyCondition_body" xmi:type="uml:Constraint"> - <name>body</name> - <specification - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allPrefixes_Prefix.constraint_bodyCondition_body_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allPrefixes_Prefix.constraint_bodyCondition_body_specification" xmi:type="uml:OpaqueExpression"> - <body>allAccessibleSystemOfUnits()->including(self)->collect(prefix)->flatten()->asSet()</body> - <language>OCL2.0</language> -</specification> - </bodyCondition> - </ownedOperation> - <ownedOperation xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allUnits_Unit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allUnits_Unit" xmi:type="uml:Operation"> - <name>allUnits</name> - <isQuery>true</isQuery> - <ownedComment xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allUnits_Unit._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allUnits_Unit._ownedComment.0" xmi:type="uml:Comment"> - <body>The query allUnits() gives all the Units in scope of a SystemOfUnits; that is, each Unit is either directly defined in the SystemOfUnits, selectively used from another SystemOfUnits or part of the scope of all the Units included from another SystemOfUnits.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allUnits_Unit"/> - </ownedComment> - <ownedRule xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allUnits_Unit.constraint_bodyCondition_body"/> - <ownedParameter xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allUnits_Unit.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allUnits_Unit.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <lowerValue - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allUnits_Unit.parameter_ownedParameter_result_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allUnits_Unit.parameter_ownedParameter_result_lowerValue" xmi:type="uml:LiteralInteger"> -</lowerValue> - <upperValue - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allUnits_Unit.parameter_ownedParameter_result_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allUnits_Unit.parameter_ownedParameter_result_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> -</upperValue> - <type xmi:idref="QUDV.class_packagedElement_Unit"/> - </ownedParameter> - <bodyCondition xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allUnits_Unit.constraint_bodyCondition_body" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allUnits_Unit.constraint_bodyCondition_body" xmi:type="uml:Constraint"> - <name>body</name> - <specification - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allUnits_Unit.constraint_bodyCondition_body_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allUnits_Unit.constraint_bodyCondition_body_specification" xmi:type="uml:OpaqueExpression"> - <body>allIncludedSystemOfUnits()->collect(unit)->flatten()->asSet()->union(unit)->asSet()</body> - <language>OCL2.0</language> -</specification> - <constrainedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.allUnits_Unit"/> - </bodyCondition> - </ownedOperation> - <ownedOperation xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedBaseUnitForMeasurementUnit_Unit_Unit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedBaseUnitForMeasurementUnit_Unit_Unit" xmi:type="uml:Operation"> - <name>getAdoptedBaseUnitForMeasurementUnit</name> - <isQuery>true</isQuery> - <ownedComment - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedBaseUnitForMeasurementUnit_Unit_Unit._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedBaseUnitForMeasurementUnit_Unit_Unit._ownedComment.0" xmi:type="uml:Comment"> - <body>The query getAdoptedBaseUnitForMeasurementUnit() determines for a Unit u in scope of a SystemOfUnits the base Unit, if any, corresponding to u, which can be u itself if it is a baseUnit in that SystemOfUnits or its reference Unit if it is a base Unit and u is a PrefixUnit.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedBaseUnitForMeasurementUnit_Unit_Unit"/> -</ownedComment> - <ownedRule xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedBaseUnitForMeasurementUnit_Unit_Unit.constraint_bodyCondition_body"/> - <ownedParameter - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedBaseUnitForMeasurementUnit_Unit_Unit.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedBaseUnitForMeasurementUnit_Unit_Unit.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <lowerValue - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedBaseUnitForMeasurementUnit_Unit_Unit.parameter_ownedParameter_result_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedBaseUnitForMeasurementUnit_Unit_Unit.parameter_ownedParameter_result_lowerValue" xmi:type="uml:LiteralInteger"> -</lowerValue> - <type xmi:idref="QUDV.class_packagedElement_Unit"/> -</ownedParameter> - <ownedParameter - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedBaseUnitForMeasurementUnit_Unit_Unit.parameter_ownedParameter_u" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedBaseUnitForMeasurementUnit_Unit_Unit.parameter_ownedParameter_u" xmi:type="uml:Parameter"> - <name>u</name> - <type xmi:idref="QUDV.class_packagedElement_Unit"/> -</ownedParameter> - <bodyCondition - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedBaseUnitForMeasurementUnit_Unit_Unit.constraint_bodyCondition_body" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedBaseUnitForMeasurementUnit_Unit_Unit.constraint_bodyCondition_body" xmi:type="uml:Constraint"> - <name>body</name> - <specification - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedBaseUnitForMeasurementUnit_Unit_Unit.constraint_bodyCondition_body_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedBaseUnitForMeasurementUnit_Unit_Unit.constraint_bodyCondition_body_specification" xmi:type="uml:OpaqueExpression"> - <body>let abu : Set(Unit) = allBaseUnits() in if (abu->includes(u)) then u else if (u.oclIsKindOf(PrefixedUnit)) then abu->intersection(u.oclAsType(PrefixedUnit).referenceUnit->asSet())->any(true) else null endif endif</body> - <language>OCL2.0</language> -</specification> -</bodyCondition> - </ownedOperation> - <ownedOperation - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit" xmi:type="uml:Operation"> - <name>getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit</name> - <isQuery>true</isQuery> - <ownedComment - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit._ownedComment.0" xmi:type="uml:Comment"> - <body>The query getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit() determines for a Unit u in scope of a SystemOfUnits the base QuantityKind, if any, corresponding to the base Unit of u.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit"/> -</ownedComment> - <ownedRule xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit.constraint_bodyCondition_body"/> - <ownedRule xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit.constraint_postcondition_knownPrimaryQuantityKind"/> - <ownedRule xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit.constraint_precondition_baseUnitParameter"/> - <ownedParameter - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <lowerValue - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit.parameter_ownedParameter_result_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit.parameter_ownedParameter_result_lowerValue" xmi:type="uml:LiteralInteger"> -</lowerValue> - <upperValue - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit.parameter_ownedParameter_result_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit.parameter_ownedParameter_result_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> -</upperValue> - <type xmi:idref="QUDV.class_packagedElement_QuantityKind"/> -</ownedParameter> - <ownedParameter - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit.parameter_ownedParameter_u" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit.parameter_ownedParameter_u" xmi:type="uml:Parameter"> - <name>u</name> - <type xmi:idref="QUDV.class_packagedElement_Unit"/> -</ownedParameter> - <bodyCondition - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit.constraint_bodyCondition_body" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit.constraint_bodyCondition_body" xmi:type="uml:Constraint"> - <name>body</name> - <specification - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit.constraint_bodyCondition_body_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit.constraint_bodyCondition_body_specification" xmi:type="uml:OpaqueExpression"> - <body>let bu : Unit = getAdoptedBaseUnitForMeasurementUnit(u) in if (bu = null) then Set{} else let qks : Set(QuantityKind) = getKindOfQuantitiesForMeasurementUnit(bu) in allBaseQuantityKinds()->intersection(qks) endif</body> - <language>OCL2.0</language> -</specification> - <constrainedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit"/> -</bodyCondition> - <postcondition - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit.constraint_postcondition_knownPrimaryQuantityKind" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit.constraint_postcondition_knownPrimaryQuantityKind" xmi:type="uml:Constraint"> - <name>knownPrimaryQuantityKind</name> - <specification - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit.constraint_postcondition_knownPrimaryQuantityKind_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit.constraint_postcondition_knownPrimaryQuantityKind_specification" xmi:type="uml:OpaqueExpression"> - <body>getEffectiveSystemOfQuantities().allBaseQuantityKinds()->includesAll(result)</body> - <language>OCL2.0</language> -</specification> - <constrainedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit"/> -</postcondition> - <precondition - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit.constraint_precondition_baseUnitParameter" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit.constraint_precondition_baseUnitParameter" xmi:type="uml:Constraint"> - <name>baseUnitParameter</name> - <specification - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit.constraint_precondition_baseUnitParameter_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getAdoptedQuantityKindForAdoptedBaseUnitOfMeasurementUnit_QuantityKind_Unit.constraint_precondition_baseUnitParameter_specification" xmi:type="uml:OpaqueExpression"> - <body>allBaseUnits()->includes(u)</body> - <language>OCL2.0</language> -</specification> -</precondition> -</ownedOperation> - <ownedOperation xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getEffectiveSystemOfQuantities_SystemOfQuantities" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getEffectiveSystemOfQuantities_SystemOfQuantities" xmi:type="uml:Operation"> - <name>getEffectiveSystemOfQuantities</name> - <isQuery>true</isQuery> - <ownedComment - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getEffectiveSystemOfQuantities_SystemOfQuantities._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getEffectiveSystemOfQuantities_SystemOfQuantities._ownedComment.0" xmi:type="uml:Comment"> - <body>The query getEffectiveSystemOfQuantities() determines for a SystemOfUnits the SystemOfQuantities, if any, that it is directly or indirectly associated with via included SystemOfUnits.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getEffectiveSystemOfQuantities_SystemOfQuantities"/> -</ownedComment> - <ownedRule xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getEffectiveSystemOfQuantities_SystemOfQuantities.constraint_bodyCondition_body"/> - <ownedRule xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getEffectiveSystemOfQuantities_SystemOfQuantities.constraint_precondition_atMostOneSystemOfQuantities"/> - <ownedParameter - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getEffectiveSystemOfQuantities_SystemOfQuantities.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getEffectiveSystemOfQuantities_SystemOfQuantities.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <lowerValue - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getEffectiveSystemOfQuantities_SystemOfQuantities.parameter_ownedParameter_result_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getEffectiveSystemOfQuantities_SystemOfQuantities.parameter_ownedParameter_result_lowerValue" xmi:type="uml:LiteralInteger"> -</lowerValue> - <type xmi:idref="QUDV.class_packagedElement_SystemOfQuantities"/> -</ownedParameter> - <bodyCondition - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getEffectiveSystemOfQuantities_SystemOfQuantities.constraint_bodyCondition_body" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getEffectiveSystemOfQuantities_SystemOfQuantities.constraint_bodyCondition_body" xmi:type="uml:Constraint"> - <name>body</name> - <specification - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getEffectiveSystemOfQuantities_SystemOfQuantities.constraint_bodyCondition_body_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getEffectiveSystemOfQuantities_SystemOfQuantities.constraint_bodyCondition_body_specification" xmi:type="uml:OpaqueExpression"> - <body>if systemOfQuantities = null then includedSystemOfUnits->collect(getEffectiveSystemOfQuantities())->flatten()->asSet()->any(true) else systemOfQuantities endif</body> - <language>OCL2.0</language> -</specification> - <constrainedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getEffectiveSystemOfQuantities_SystemOfQuantities"/> -</bodyCondition> - <precondition - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getEffectiveSystemOfQuantities_SystemOfQuantities.constraint_precondition_atMostOneSystemOfQuantities" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getEffectiveSystemOfQuantities_SystemOfQuantities.constraint_precondition_atMostOneSystemOfQuantities" xmi:type="uml:Constraint"> - <name>atMostOneSystemOfQuantities</name> - <specification - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getEffectiveSystemOfQuantities_SystemOfQuantities.constraint_precondition_atMostOneSystemOfQuantities_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getEffectiveSystemOfQuantities_SystemOfQuantities.constraint_precondition_atMostOneSystemOfQuantities_specification" xmi:type="uml:OpaqueExpression"> - <body>systemOfQuantities = null implies includedSystemOfUnits->collect(getEffectiveSystemOfQuantities())->asSet()->size() <= 1</body> - <language>OCL2.0</language> -</specification> - <constrainedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getEffectiveSystemOfQuantities_SystemOfQuantities"/> -</precondition> - </ownedOperation> - <ownedOperation xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getKindOfQuantitiesForMeasurementUnit_QuantityKind_Unit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getKindOfQuantitiesForMeasurementUnit_QuantityKind_Unit" xmi:type="uml:Operation"> - <name>getKindOfQuantitiesForMeasurementUnit</name> - <isQuery>true</isQuery> - <ownedComment - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getKindOfQuantitiesForMeasurementUnit_QuantityKind_Unit._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getKindOfQuantitiesForMeasurementUnit_QuantityKind_Unit._ownedComment.0" xmi:type="uml:Comment"> - <body>The query getKindOfQuantitiesForMeasurementUnit() determines for a Unit u in scope of a SystemOfUnits the set of QuantityKinds corresponding to u, if specified, or to the Units that u is defined in terms of, if any.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getKindOfQuantitiesForMeasurementUnit_QuantityKind_Unit"/> -</ownedComment> - <ownedRule xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getKindOfQuantitiesForMeasurementUnit_QuantityKind_Unit.constraint_bodyCondition_body"/> - <ownedParameter - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getKindOfQuantitiesForMeasurementUnit_QuantityKind_Unit.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getKindOfQuantitiesForMeasurementUnit_QuantityKind_Unit.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <lowerValue - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getKindOfQuantitiesForMeasurementUnit_QuantityKind_Unit.parameter_ownedParameter_result_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getKindOfQuantitiesForMeasurementUnit_QuantityKind_Unit.parameter_ownedParameter_result_lowerValue" xmi:type="uml:LiteralInteger"> -</lowerValue> - <upperValue - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getKindOfQuantitiesForMeasurementUnit_QuantityKind_Unit.parameter_ownedParameter_result_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getKindOfQuantitiesForMeasurementUnit_QuantityKind_Unit.parameter_ownedParameter_result_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> -</upperValue> - <type xmi:idref="QUDV.class_packagedElement_QuantityKind"/> -</ownedParameter> - <ownedParameter - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getKindOfQuantitiesForMeasurementUnit_QuantityKind_Unit.parameter_ownedParameter_u" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getKindOfQuantitiesForMeasurementUnit_QuantityKind_Unit.parameter_ownedParameter_u" xmi:type="uml:Parameter"> - <name>u</name> - <type xmi:idref="QUDV.class_packagedElement_Unit"/> -</ownedParameter> - <bodyCondition - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getKindOfQuantitiesForMeasurementUnit_QuantityKind_Unit.constraint_bodyCondition_body" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getKindOfQuantitiesForMeasurementUnit_QuantityKind_Unit.constraint_bodyCondition_body" xmi:type="uml:Constraint"> - <name>body</name> - <specification - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getKindOfQuantitiesForMeasurementUnit_QuantityKind_Unit.constraint_bodyCondition_body_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getKindOfQuantitiesForMeasurementUnit_QuantityKind_Unit.constraint_bodyCondition_body_specification" xmi:type="uml:OpaqueExpression"> - <body> - if (u.oclIsKindOf(SimpleUnit)) - then - u.quantityKind->collect(oclAsType(QuantityKind))->asSet() - else if (u.oclIsKindOf(DerivedUnit)) - then let du : DerivedUnit = u.oclAsType(DerivedUnit) in - if (du.quantityKind <> null) then - du.quantityKind->collect(oclAsType(QuantityKind))->asSet() - else - getKindOfQuantitiesForMeasurementUnit(du.factor->any(true).unit) - endif - else if (u.oclIsKindOf(ConversionBasedUnit)) - then let cu : ConversionBasedUnit = u.oclAsType(ConversionBasedUnit) in - if (cu.oclIsKindOf(PrefixedUnit)) - then - getKindOfQuantitiesForMeasurementUnit(cu.referenceUnit) - else - if (cu.quantityKind <> null) then - cu.quantityKind->collect(oclAsType(QuantityKind))->asSet() - else - getKindOfQuantitiesForMeasurementUnit(cu.referenceUnit) - endif - endif - else - Set(QuantityKind){} - endif - endif - endif - </body> - <language>OCL2.0</language> -</specification> -</bodyCondition> - </ownedOperation> - <ownedOperation xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getUnit_String_Unit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getUnit_String_Unit" xmi:type="uml:Operation"> - <name>getUnit</name> - <ownedRule xmi:idref="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getUnit_String_Unit.constraint_bodyCondition_body"/> - <ownedParameter xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getUnit_String_Unit.parameter_ownedParameter_name" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getUnit_String_Unit.parameter_ownedParameter_name" xmi:type="uml:Parameter"> - <name>name</name> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> - </ownedParameter> - <ownedParameter xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getUnit_String_Unit.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getUnit_String_Unit.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <lowerValue - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getUnit_String_Unit.parameter_ownedParameter_result_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getUnit_String_Unit.parameter_ownedParameter_result_lowerValue" xmi:type="uml:LiteralInteger"> -</lowerValue> - <type xmi:idref="QUDV.class_packagedElement_Unit"/> - </ownedParameter> - <bodyCondition xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getUnit_String_Unit.constraint_bodyCondition_body" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getUnit_String_Unit.constraint_bodyCondition_body" xmi:type="uml:Constraint"> - <name>body</name> - <specification - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getUnit_String_Unit.constraint_bodyCondition_body_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.getUnit_String_Unit.constraint_bodyCondition_body_specification" xmi:type="uml:OpaqueExpression"> - <body>allUnits()->select(u | u.name = name)->any(true)</body> - <language>OCL2.0</language> -</specification> - </bodyCondition> - </ownedOperation> - <ownedOperation xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.isCoherent_Boolean" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.isCoherent_Boolean" xmi:type="uml:Operation"> - <name>isCoherent</name> - <ownedParameter xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.isCoherent_Boolean.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.isCoherent_Boolean.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.isCoherent_DerivedUnit_Boolean" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.isCoherent_DerivedUnit_Boolean" xmi:type="uml:Operation"> - <name>isCoherent</name> - <ownedParameter - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.isCoherent_DerivedUnit_Boolean.parameter_ownedParameter_du" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.isCoherent_DerivedUnit_Boolean.parameter_ownedParameter_du" xmi:type="uml:Parameter"> - <name>du</name> - <type xmi:idref="QUDV.class_packagedElement_DerivedUnit"/> -</ownedParameter> - <ownedParameter - xmi:id="QUDV.class_packagedElement_SystemOfUnits_ownedOperation.isCoherent_DerivedUnit_Boolean.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits_ownedOperation.isCoherent_DerivedUnit_Boolean.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> -</ownedParameter> - </ownedOperation> - </packagedElement> - <packagedElement xmi:id="QUDV.class_packagedElement_Unit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Unit" xmi:type="uml:Class"> - <name>Unit</name> - <isAbstract>true</isAbstract> - <ownedRule xmi:id="QUDV.class_packagedElement_Unit.constraint_ownedRule_acyclic_unit_dependencies" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Unit.constraint_ownedRule_acyclic_unit_dependencies" xmi:type="uml:Constraint"> - <name>acyclic_unit_dependencies</name> - <ownedComment xmi:id="QUDV.class_packagedElement_Unit.constraint_ownedRule_acyclic_unit_dependencies._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Unit.constraint_ownedRule_acyclic_unit_dependencies._ownedComment.0" xmi:type="uml:Comment"> - <body>A Unit cannot be defined in terms of itself. This follows from the requirement that, in a coherent SystemOfUnits, the Units of all derived QuantityKinds are expressed in terms of the base Units in accordance with the equations in the SystemOfQuantities (see ISO 80000-1, 6.4).</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_Unit.constraint_ownedRule_acyclic_unit_dependencies"/> - </ownedComment> - <specification xmi:id="QUDV.class_packagedElement_Unit.constraint_ownedRule_acyclic_unit_dependencies_specification" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Unit.constraint_ownedRule_acyclic_unit_dependencies_specification" xmi:type="uml:OpaqueExpression"> - <body>dependsOnUnits->excludes(self)</body> - <language>OCL2.0</language> - </specification> - </ownedRule> - <generalization - xmi:id="QUDV.class_packagedElement_Unit._generalization.SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Unit._generalization.SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit" xmi:type="uml:Generalization"> - <general xmi:type="uml:Class" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit"/> -</generalization> - <ownedAttribute xmi:id="QUDV.class_packagedElement_Unit_ownedAttribute.dependsOnUnits" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Unit_ownedAttribute.dependsOnUnits" xmi:type="uml:Property"> - <name>dependsOnUnits</name> - <isReadOnly>true</isReadOnly> - <isDerived>true</isDerived> - <ownedComment xmi:id="QUDV.class_packagedElement_Unit_ownedAttribute.dependsOnUnits._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Unit_ownedAttribute.dependsOnUnits._ownedComment.0" xmi:type="uml:Comment"> - <body>The set of all Units that this Unit directly or indirectly depends on according to its definition.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_Unit_ownedAttribute.dependsOnUnits"/> - </ownedComment> - <lowerValue xmi:id="QUDV.class_packagedElement_Unit_ownedAttribute.dependsOnUnits_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Unit_ownedAttribute.dependsOnUnits_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.class_packagedElement_Unit_ownedAttribute.dependsOnUnits_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Unit_ownedAttribute.dependsOnUnits_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_Unit"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_Unit_ownedAttribute.general" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Unit_ownedAttribute.general" xmi:type="uml:Property"> - <name>general</name> - <lowerValue xmi:id="QUDV.class_packagedElement_Unit_ownedAttribute.general_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Unit_ownedAttribute.general_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.class_packagedElement_Unit_ownedAttribute.general_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Unit_ownedAttribute.general_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_Unit"/> - <association xmi:idref="QUDV.association_packagedElement_A_generalUnit_specificUnit"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_Unit_ownedAttribute.isUnitCountOfEntities" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Unit_ownedAttribute.isUnitCountOfEntities" xmi:type="uml:Property"> - <name>isUnitCountOfEntities</name> - <ownedComment xmi:id="QUDV.class_packagedElement_Unit_ownedAttribute.isUnitCountOfEntities._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Unit_ownedAttribute.isUnitCountOfEntities._ownedComment.0" xmi:type="uml:Comment"> - <body>If true, indicates that the measurement unit represents a number of entities (see ISO 80000-1, 3.10, Note 3).</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_Unit_ownedAttribute.isUnitCountOfEntities"/> - </ownedComment> - <defaultValue xmi:id="QUDV.class_packagedElement_Unit_ownedAttribute.isUnitCountOfEntities_defaultValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Unit_ownedAttribute.isUnitCountOfEntities_defaultValue" xmi:type="uml:LiteralBoolean"/> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_Unit_ownedAttribute.isUnitForQuantityOfDimensionOne" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Unit_ownedAttribute.isUnitForQuantityOfDimensionOne" xmi:type="uml:Property"> - <name>isUnitForQuantityOfDimensionOne</name> - <ownedComment xmi:id="QUDV.class_packagedElement_Unit_ownedAttribute.isUnitForQuantityOfDimensionOne._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Unit_ownedAttribute.isUnitForQuantityOfDimensionOne._ownedComment.0" xmi:type="uml:Comment"> - <body>If true, indicates that the corresponding QuantityKind has dimension one (see ISO 80000-1, 3.8).</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_Unit_ownedAttribute.isUnitForQuantityOfDimensionOne"/> - </ownedComment> - <defaultValue xmi:id="QUDV.class_packagedElement_Unit_ownedAttribute.isUnitForQuantityOfDimensionOne_defaultValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Unit_ownedAttribute.isUnitForQuantityOfDimensionOne_defaultValue" xmi:type="uml:LiteralBoolean"/> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_Unit_ownedAttribute.quantityKind" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Unit_ownedAttribute.quantityKind" xmi:type="uml:Property"> - <name>quantityKind</name> - <lowerValue xmi:id="QUDV.class_packagedElement_Unit_ownedAttribute.quantityKind_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Unit_ownedAttribute.quantityKind_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue xmi:id="QUDV.class_packagedElement_Unit_ownedAttribute.quantityKind_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Unit_ownedAttribute.quantityKind_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> - </upperValue> - <type xmi:idref="QUDV.class_packagedElement_QuantityKind"/> - <association xmi:idref="QUDV.association_packagedElement_A_quantityKind_measurementUnit"/> - <redefinedProperty xmi:type="uml:Property" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit_ownedAttribute.quantityKind"/> - </ownedAttribute> - <ownedOperation xmi:id="QUDV.class_packagedElement_Unit_ownedOperation.dependsOnUnits_Unit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Unit_ownedOperation.dependsOnUnits_Unit" xmi:type="uml:Operation"> - <name>dependsOnUnits</name> - <ownedComment xmi:id="QUDV.class_packagedElement_Unit_ownedOperation.dependsOnUnits_Unit._ownedComment.0" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Unit_ownedOperation.dependsOnUnits_Unit._ownedComment.0" xmi:type="uml:Comment"> - <body>Abstract operation specified in ConversionBasedUnit, SimpleUnit and DerivedUnit to calculate the value of the derived property Unit:/dependsOnUnits.</body> - <annotatedElement xmi:type="uml:Element" xmi:idref="QUDV.class_packagedElement_Unit_ownedOperation.dependsOnUnits_Unit"/> - </ownedComment> - <ownedParameter xmi:id="QUDV.class_packagedElement_Unit_ownedOperation.dependsOnUnits_Unit.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Unit_ownedOperation.dependsOnUnits_Unit.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <lowerValue xmi:id="QUDV.class_packagedElement_Unit_ownedOperation.dependsOnUnits_Unit.parameter_ownedParameter_result_lowerValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Unit_ownedOperation.dependsOnUnits_Unit.parameter_ownedParameter_result_lowerValue" xmi:type="uml:LiteralInteger"/> - <upperValue - xmi:id="QUDV.class_packagedElement_Unit_ownedOperation.dependsOnUnits_Unit.parameter_ownedParameter_result_upperValue" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Unit_ownedOperation.dependsOnUnits_Unit.parameter_ownedParameter_result_upperValue" xmi:type="uml:LiteralUnlimitedNatural"> - <value>*</value> -</upperValue> - <type xmi:idref="QUDV.class_packagedElement_Unit"/> - </ownedParameter> - </ownedOperation> - </packagedElement> - <packagedElement xmi:id="QUDV.class_packagedElement_UnitFactor" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_UnitFactor" xmi:type="uml:Class"> - <name>UnitFactor</name> - <ownedAttribute xmi:id="QUDV.class_packagedElement_UnitFactor_ownedAttribute.exponent" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_UnitFactor_ownedAttribute.exponent" xmi:type="uml:Property"> - <name>exponent</name> - <type xmi:idref="QUDV.dataType_packagedElement_Rational"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.class_packagedElement_UnitFactor_ownedAttribute.unit" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_UnitFactor_ownedAttribute.unit" xmi:type="uml:Property"> - <name>unit</name> - <type xmi:idref="QUDV.class_packagedElement_Unit"/> - <association xmi:idref="QUDV.association_packagedElement_A_unitFactor_unit"/> - </ownedAttribute> - </packagedElement> - <packagedElement xmi:id="QUDV.dataType_packagedElement_Rational" xmi:uuid="org.omg.sysml.QUDV.dataType_packagedElement_Rational" xmi:type="uml:DataType"> - <name>Rational</name> - <generalization - xmi:id="QUDV.dataType_packagedElement_Rational._generalization.SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number" xmi:uuid="org.omg.sysml.QUDV.dataType_packagedElement_Rational._generalization.SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number" xmi:type="uml:Generalization"> - <general xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number"/> -</generalization> - <ownedAttribute xmi:id="QUDV.dataType_packagedElement_Rational_ownedAttribute.denominator" xmi:uuid="org.omg.sysml.QUDV.dataType_packagedElement_Rational_ownedAttribute.denominator" xmi:type="uml:Property"> - <name>denominator</name> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Integer"/> - </ownedAttribute> - <ownedAttribute xmi:id="QUDV.dataType_packagedElement_Rational_ownedAttribute.numerator" xmi:uuid="org.omg.sysml.QUDV.dataType_packagedElement_Rational_ownedAttribute.numerator" xmi:type="uml:Property"> - <name>numerator</name> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Integer"/> - </ownedAttribute> - <ownedOperation xmi:id="QUDV.dataType_packagedElement_Rational_ownedOperation.equivalent_Rational_Boolean" xmi:uuid="org.omg.sysml.QUDV.dataType_packagedElement_Rational_ownedOperation.equivalent_Rational_Boolean" xmi:type="uml:Operation"> - <name>equivalent</name> - <ownedParameter xmi:id="QUDV.dataType_packagedElement_Rational_ownedOperation.equivalent_Rational_Boolean.parameter_ownedParameter_r" xmi:uuid="org.omg.sysml.QUDV.dataType_packagedElement_Rational_ownedOperation.equivalent_Rational_Boolean.parameter_ownedParameter_r" xmi:type="uml:Parameter"> - <name>r</name> - <type xmi:idref="QUDV.dataType_packagedElement_Rational"/> - </ownedParameter> - <ownedParameter - xmi:id="QUDV.dataType_packagedElement_Rational_ownedOperation.equivalent_Rational_Boolean.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.dataType_packagedElement_Rational_ownedOperation.equivalent_Rational_Boolean.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> -</ownedParameter> - </ownedOperation> - <ownedOperation xmi:id="QUDV.dataType_packagedElement_Rational_ownedOperation.plus_Rational_Rational" xmi:uuid="org.omg.sysml.QUDV.dataType_packagedElement_Rational_ownedOperation.plus_Rational_Rational" xmi:type="uml:Operation"> - <name>plus</name> - <ownedParameter xmi:id="QUDV.dataType_packagedElement_Rational_ownedOperation.plus_Rational_Rational.parameter_ownedParameter_r" xmi:uuid="org.omg.sysml.QUDV.dataType_packagedElement_Rational_ownedOperation.plus_Rational_Rational.parameter_ownedParameter_r" xmi:type="uml:Parameter"> - <name>r</name> - <type xmi:idref="QUDV.dataType_packagedElement_Rational"/> - </ownedParameter> - <ownedParameter xmi:id="QUDV.dataType_packagedElement_Rational_ownedOperation.plus_Rational_Rational.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.dataType_packagedElement_Rational_ownedOperation.plus_Rational_Rational.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <type xmi:idref="QUDV.dataType_packagedElement_Rational"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:id="QUDV.dataType_packagedElement_Rational_ownedOperation.times_Rational_Rational" xmi:uuid="org.omg.sysml.QUDV.dataType_packagedElement_Rational_ownedOperation.times_Rational_Rational" xmi:type="uml:Operation"> - <name>times</name> - <ownedParameter xmi:id="QUDV.dataType_packagedElement_Rational_ownedOperation.times_Rational_Rational.parameter_ownedParameter_r" xmi:uuid="org.omg.sysml.QUDV.dataType_packagedElement_Rational_ownedOperation.times_Rational_Rational.parameter_ownedParameter_r" xmi:type="uml:Parameter"> - <name>r</name> - <type xmi:idref="QUDV.dataType_packagedElement_Rational"/> - </ownedParameter> - <ownedParameter xmi:id="QUDV.dataType_packagedElement_Rational_ownedOperation.times_Rational_Rational.parameter_ownedParameter_result" xmi:uuid="org.omg.sysml.QUDV.dataType_packagedElement_Rational_ownedOperation.times_Rational_Rational.parameter_ownedParameter_result" xmi:type="uml:Parameter"> - <name>result</name> - <type xmi:idref="QUDV.dataType_packagedElement_Rational"/> - </ownedParameter> - </ownedOperation> - </packagedElement> - <profileApplication xmi:id="QUDV._profileApplication.SysML" xmi:uuid="org.omg.sysml.QUDV._profileApplication.SysML" xmi:type="uml:ProfileApplication"> - <eAnnotations xmi:id="SysMLLibraries-profileApplication-eAnnotations" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#/"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_sZwgkDq8EeW1FZ2lBd8dLg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_sZxusDq8EeW1FZ2lBd8dLg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard#/"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/> - </profileApplication> - </uml:Package> - <StandardProfile:ModelLibrary xmi:id="QUDV.stereotypeApplication_ModelLibrary" xmi:uuid="org.omg.sysml.QUDV.stereotypeApplication_ModelLibrary" xmi:type="StandardProfile:ModelLibrary" base_Package="QUDV"> - <base_Package xmi:idref="QUDV"/> - </StandardProfile:ModelLibrary> - <Blocks:Block - xmi:id="QUDV.class_packagedElement_AffineConversionUnit.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_AffineConversionUnit.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:type="Blocks:Block"> - <base_Class xmi:idref="QUDV.class_packagedElement_AffineConversionUnit"/> -</Blocks:Block> - <Blocks:Block - xmi:id="QUDV.class_packagedElement_ConversionBasedUnit.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_ConversionBasedUnit.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:type="Blocks:Block"> - <base_Class xmi:idref="QUDV.class_packagedElement_ConversionBasedUnit"/> -</Blocks:Block> - <Blocks:Block - xmi:id="QUDV.class_packagedElement_DerivedQuantityKind.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedQuantityKind.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:type="Blocks:Block"> - <base_Class xmi:idref="QUDV.class_packagedElement_DerivedQuantityKind"/> -</Blocks:Block> - <Blocks:Block - xmi:id="QUDV.class_packagedElement_DerivedUnit.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_DerivedUnit.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:type="Blocks:Block"> - <base_Class xmi:idref="QUDV.class_packagedElement_DerivedUnit"/> -</Blocks:Block> - <Blocks:Block - xmi:id="QUDV.class_packagedElement_Dimension.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Dimension.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:type="Blocks:Block"> - <base_Class xmi:idref="QUDV.class_packagedElement_Dimension"/> -</Blocks:Block> - <Blocks:Block - xmi:id="QUDV.class_packagedElement_GeneralConversionUnit.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_GeneralConversionUnit.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:type="Blocks:Block"> - <base_Class xmi:idref="QUDV.class_packagedElement_GeneralConversionUnit"/> -</Blocks:Block> - <Blocks:Block - xmi:id="QUDV.class_packagedElement_LinearConversionUnit.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_LinearConversionUnit.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:type="Blocks:Block"> - <base_Class xmi:idref="QUDV.class_packagedElement_LinearConversionUnit"/> -</Blocks:Block> - <Blocks:Block - xmi:id="QUDV.class_packagedElement_Prefix.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Prefix.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:type="Blocks:Block"> - <base_Class xmi:idref="QUDV.class_packagedElement_Prefix"/> -</Blocks:Block> - <Blocks:Block - xmi:id="QUDV.class_packagedElement_PrefixedUnit.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_PrefixedUnit.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:type="Blocks:Block"> - <base_Class xmi:idref="QUDV.class_packagedElement_PrefixedUnit"/> -</Blocks:Block> - <Blocks:Block - xmi:id="QUDV.class_packagedElement_QuantityKind.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKind.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:type="Blocks:Block"> - <base_Class xmi:idref="QUDV.class_packagedElement_QuantityKind"/> -</Blocks:Block> - <Blocks:Block - xmi:id="QUDV.class_packagedElement_QuantityKindFactor.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_QuantityKindFactor.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:type="Blocks:Block"> - <base_Class xmi:idref="QUDV.class_packagedElement_QuantityKindFactor"/> -</Blocks:Block> - <Blocks:Block - xmi:id="QUDV.class_packagedElement_SimpleQuantityKind.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SimpleQuantityKind.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:type="Blocks:Block"> - <base_Class xmi:idref="QUDV.class_packagedElement_SimpleQuantityKind"/> -</Blocks:Block> - <Blocks:Block - xmi:id="QUDV.class_packagedElement_SimpleUnit.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SimpleUnit.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:type="Blocks:Block"> - <base_Class xmi:idref="QUDV.class_packagedElement_SimpleUnit"/> -</Blocks:Block> - <Blocks:Block - xmi:id="QUDV.class_packagedElement_SystemOfQuantities.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfQuantities.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:type="Blocks:Block"> - <base_Class xmi:idref="QUDV.class_packagedElement_SystemOfQuantities"/> -</Blocks:Block> - <Blocks:Block - xmi:id="QUDV.class_packagedElement_SystemOfUnits.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_SystemOfUnits.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:type="Blocks:Block"> - <base_Class xmi:idref="QUDV.class_packagedElement_SystemOfUnits"/> -</Blocks:Block> - <Blocks:Block - xmi:id="QUDV.class_packagedElement_Unit.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_Unit.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:type="Blocks:Block"> - <base_Class xmi:idref="QUDV.class_packagedElement_Unit"/> -</Blocks:Block> - <Blocks:Block - xmi:id="QUDV.class_packagedElement_UnitFactor.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:uuid="org.omg.sysml.QUDV.class_packagedElement_UnitFactor.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" xmi:type="Blocks:Block"> - <base_Class xmi:idref="QUDV.class_packagedElement_UnitFactor"/> -</Blocks:Block> - <Blocks:ValueType - xmi:id="QUDV.dataType_packagedElement_Rational.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType" xmi:uuid="org.omg.sysml.QUDV.dataType_packagedElement_Rational.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType" xmi:type="Blocks:ValueType"> - <base_DataType xmi:idref="QUDV.dataType_packagedElement_Rational"/> -</Blocks:ValueType> -</xmi:XMI> -
diff --git a/core/org.eclipse.papyrus.sysml14/resources/library/SysML-Standard-Library.di b/core/org.eclipse.papyrus.sysml14/resources/library/SysML-Standard-Library.di deleted file mode 100644 index f784d67..0000000 --- a/core/org.eclipse.papyrus.sysml14/resources/library/SysML-Standard-Library.di +++ /dev/null
@@ -1,2 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<architecture:ArchitectureDescription xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:architecture="http://www.eclipse.org/papyrus/infra/core/architecture" contextId="org.eclipse.papyrus.sysml.architecture.SysML14"/>
diff --git a/core/org.eclipse.papyrus.sysml14/resources/library/SysML-Standard-Library.notation b/core/org.eclipse.papyrus.sysml14/resources/library/SysML-Standard-Library.notation deleted file mode 100644 index 00eb01e..0000000 --- a/core/org.eclipse.papyrus.sysml14/resources/library/SysML-Standard-Library.notation +++ /dev/null
@@ -1,720 +0,0 @@ -<?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:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/gmfdiag/style" xmlns:style_1="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"> - <notation:Diagram xmi:id="_v7_YoDn1EeWWssZOJ2QVuQ" type="PapyrusUMLClassDiagram" name="Libraries Diagram" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_wdotIDn1EeWWssZOJ2QVuQ" type="Package_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_wdqiUDn1EeWWssZOJ2QVuQ" type="Package_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_wdrJYDn1EeWWssZOJ2QVuQ" type="Package_PackagedElementCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_wdrJYTn1EeWWssZOJ2QVuQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wdrJYjn1EeWWssZOJ2QVuQ"/> - </children> - <element xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wdotITn1EeWWssZOJ2QVuQ" x="100" y="80"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_xFCEUDn1EeWWssZOJ2QVuQ" type="Package_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_xFDScDn1EeWWssZOJ2QVuQ" type="Package_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_xFDScTn1EeWWssZOJ2QVuQ" type="Package_PackagedElementCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_xFDScjn1EeWWssZOJ2QVuQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xFDSczn1EeWWssZOJ2QVuQ"/> - </children> - <element xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xFCEUTn1EeWWssZOJ2QVuQ" x="100" y="240"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_xU5FQDn1EeWWssZOJ2QVuQ" type="Package_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_xU6TYDn1EeWWssZOJ2QVuQ" type="Package_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_xU6TYTn1EeWWssZOJ2QVuQ" type="Package_PackagedElementCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_xU6TYjn1EeWWssZOJ2QVuQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xU6TYzn1EeWWssZOJ2QVuQ"/> - </children> - <element xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xU5FQTn1EeWWssZOJ2QVuQ" x="360" y="80"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_FgtVEBIpEeeFNrLZFDmeGg" type="Package_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_Fgt8IBIpEeeFNrLZFDmeGg" type="Package_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_Fgt8IRIpEeeFNrLZFDmeGg" type="Package_PackagedElementCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Fgt8IhIpEeeFNrLZFDmeGg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Fgt8IxIpEeeFNrLZFDmeGg"/> - </children> - <element xmi:type="uml:Package" href="SysML-Standard-Library.uml#_7DGgkDthEeWLFIpRJHQiHw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_FgtVERIpEeeFNrLZFDmeGg" x="360" y="240" width="201" height="101"/> - </children> - <styles xmi:type="notation:StringValueStyle" xmi:id="_v7_YoTn1EeWWssZOJ2QVuQ" name="diagram_compatibility_version" stringValue="1.3.0"/> - <styles xmi:type="notation:DiagramStyle" xmi:id="_v7_Yojn1EeWWssZOJ2QVuQ"/> - <styles xmi:type="style:PapyrusDiagramStyle" xmi:id="_9r5C4MrNEee5xeGZ3-9rfg" diagramKindId="org.eclipse.papyrus.sysml14.diagram.blockdefinition"> - <owner xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries"/> - </styles> - <element xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries"/> - </notation:Diagram> - <notation:Diagram xmi:id="_RzuDkDtgEeWLFIpRJHQiHw" type="PapyrusUMLClassDiagram" name="Primitive Value Types Diagram" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_SVy14DtgEeWLFIpRJHQiHw" type="DataType_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_SVzc8DtgEeWLFIpRJHQiHw" type="DataType_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_SV0EADtgEeWLFIpRJHQiHw" type="DataType_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_SV0EATtgEeWLFIpRJHQiHw" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_SV0EAjtgEeWLFIpRJHQiHw" visible="false" type="DataType_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_SV0EAztgEeWLFIpRJHQiHw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_SV0EBDtgEeWLFIpRJHQiHw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_SV0EBTtgEeWLFIpRJHQiHw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_SV0EBjtgEeWLFIpRJHQiHw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_SV0EBztgEeWLFIpRJHQiHw" visible="false" type="DataType_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_SV0ECDtgEeWLFIpRJHQiHw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_SV0ECTtgEeWLFIpRJHQiHw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_SV0ECjtgEeWLFIpRJHQiHw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_SV0ECztgEeWLFIpRJHQiHw"/> - </children> - <element xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Boolean"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_SVy14TtgEeWLFIpRJHQiHw" x="320" y="160" width="121"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_Syc8sDtgEeWLFIpRJHQiHw" type="DataType_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_SydjwDtgEeWLFIpRJHQiHw" type="DataType_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_SydjwTtgEeWLFIpRJHQiHw" type="DataType_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_SydjwjtgEeWLFIpRJHQiHw" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_SydjwztgEeWLFIpRJHQiHw" type="DataType_AttributeCompartment"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_UnbhUDtgEeWLFIpRJHQiHw" source="PapyrusCSSForceValue"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_UncIYDtgEeWLFIpRJHQiHw" key="visible" value="true"/> - </eAnnotations> - <children xmi:type="notation:Shape" xmi:id="_V398IDtgEeWLFIpRJHQiHw" type="Property_DataTypeAttributeLabel"> - <element xmi:type="uml:Property" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex_ownedAttribute.imaginaryPart"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_V398ITtgEeWLFIpRJHQiHw"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_WVMDoDtgEeWLFIpRJHQiHw" type="Property_DataTypeAttributeLabel"> - <element xmi:type="uml:Property" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex_ownedAttribute.realPart"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_WVMDoTtgEeWLFIpRJHQiHw"/> - </children> - <styles xmi:type="notation:TitleStyle" xmi:id="_SydjxDtgEeWLFIpRJHQiHw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_SydjxTtgEeWLFIpRJHQiHw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_SydjxjtgEeWLFIpRJHQiHw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_SydjxztgEeWLFIpRJHQiHw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_SydjyDtgEeWLFIpRJHQiHw" visible="false" type="DataType_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_SydjyTtgEeWLFIpRJHQiHw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_SydjyjtgEeWLFIpRJHQiHw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_SydjyztgEeWLFIpRJHQiHw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_SydjzDtgEeWLFIpRJHQiHw"/> - </children> - <element xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Syc8sTtgEeWLFIpRJHQiHw" x="580" y="360" width="201"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_W-1dkDtgEeWLFIpRJHQiHw" type="DataType_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_W-2EoDtgEeWLFIpRJHQiHw" type="DataType_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_W-2EoTtgEeWLFIpRJHQiHw" type="DataType_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_W-2EojtgEeWLFIpRJHQiHw" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_W-2EoztgEeWLFIpRJHQiHw" visible="false" type="DataType_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_W-2EpDtgEeWLFIpRJHQiHw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_W-2EpTtgEeWLFIpRJHQiHw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_W-2EpjtgEeWLFIpRJHQiHw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_W-2EpztgEeWLFIpRJHQiHw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_W-2EqDtgEeWLFIpRJHQiHw" visible="false" type="DataType_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_W-2EqTtgEeWLFIpRJHQiHw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_W-2EqjtgEeWLFIpRJHQiHw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_W-2EqztgEeWLFIpRJHQiHw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_W-2ErDtgEeWLFIpRJHQiHw"/> - </children> - <element xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Integer"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_W-1dkTtgEeWLFIpRJHQiHw" x="320" y="360" width="121"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_W_N4EDtgEeWLFIpRJHQiHw" type="DataType_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_W_N4EjtgEeWLFIpRJHQiHw" type="DataType_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_W_N4EztgEeWLFIpRJHQiHw" type="DataType_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_W_N4FDtgEeWLFIpRJHQiHw" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_W_N4FTtgEeWLFIpRJHQiHw" visible="false" type="DataType_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_W_N4FjtgEeWLFIpRJHQiHw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_W_N4FztgEeWLFIpRJHQiHw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_W_N4GDtgEeWLFIpRJHQiHw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_W_N4GTtgEeWLFIpRJHQiHw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_W_OfIDtgEeWLFIpRJHQiHw" visible="false" type="DataType_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_W_OfITtgEeWLFIpRJHQiHw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_W_OfIjtgEeWLFIpRJHQiHw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_W_OfIztgEeWLFIpRJHQiHw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_W_OfJDtgEeWLFIpRJHQiHw"/> - </children> - <element xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_W_N4ETtgEeWLFIpRJHQiHw" x="580" y="160" width="201"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_X_r2kDtgEeWLFIpRJHQiHw" type="DataType_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_X_sdoDtgEeWLFIpRJHQiHw" type="DataType_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_X_sdoTtgEeWLFIpRJHQiHw" type="DataType_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_X_sdojtgEeWLFIpRJHQiHw" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_X_tEsDtgEeWLFIpRJHQiHw" visible="false" type="DataType_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_X_tEsTtgEeWLFIpRJHQiHw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_X_tEsjtgEeWLFIpRJHQiHw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_X_tEsztgEeWLFIpRJHQiHw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_X_tEtDtgEeWLFIpRJHQiHw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_X_tEtTtgEeWLFIpRJHQiHw" visible="false" type="DataType_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_X_tEtjtgEeWLFIpRJHQiHw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_X_tEtztgEeWLFIpRJHQiHw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_X_tEuDtgEeWLFIpRJHQiHw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_X_tEuTtgEeWLFIpRJHQiHw"/> - </children> - <element xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Real"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_X_r2kTtgEeWLFIpRJHQiHw" x="880" y="360" width="121"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_Yj1FcDtgEeWLFIpRJHQiHw" type="DataType_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_Yj1sgDtgEeWLFIpRJHQiHw" type="DataType_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_Yj1sgTtgEeWLFIpRJHQiHw" type="DataType_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_Yj1sgjtgEeWLFIpRJHQiHw" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_Yj1sgztgEeWLFIpRJHQiHw" visible="false" type="DataType_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Yj1shDtgEeWLFIpRJHQiHw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_Yj1shTtgEeWLFIpRJHQiHw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_Yj1shjtgEeWLFIpRJHQiHw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Yj1shztgEeWLFIpRJHQiHw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_Yj1siDtgEeWLFIpRJHQiHw" visible="false" type="DataType_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Yj1siTtgEeWLFIpRJHQiHw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_Yj1sijtgEeWLFIpRJHQiHw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_Yj1siztgEeWLFIpRJHQiHw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Yj1sjDtgEeWLFIpRJHQiHw"/> - </children> - <element xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_String"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Yj1FcTtgEeWLFIpRJHQiHw" x="880" y="160" width="121"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_Go3x8BCzEeeFNrLZFDmeGg" type="Comment_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_Go6OMBCzEeeFNrLZFDmeGg" type="Comment_BodyLabel"/> - <element xmi:type="uml:Comment" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Real._ownedComment.0"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Go3x8RCzEeeFNrLZFDmeGg" x="1060" y="320" width="221" height="181"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_Kp3iMBCzEeeFNrLZFDmeGg" type="Comment_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_Kp4wUBCzEeeFNrLZFDmeGg" type="Comment_BodyLabel"/> - <element xmi:type="uml:Comment" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex._ownedComment.0"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Kp3iMRCzEeeFNrLZFDmeGg" x="560" y="520" width="241" height="161"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_9i7EoBCzEeeFNrLZFDmeGg" type="Comment_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_9i7rsBCzEeeFNrLZFDmeGg" type="Comment_BodyLabel"/> - <element xmi:type="uml:Comment" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Boolean._ownedComment.0"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9i7EoRCzEeeFNrLZFDmeGg" x="140" y="160" width="124" height="101"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_QNNZgBC0EeeFNrLZFDmeGg" type="Comment_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_QNOAkBC0EeeFNrLZFDmeGg" type="Comment_BodyLabel"/> - <element xmi:type="uml:Comment" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Integert._ownedComment.0"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QNNZgRC0EeeFNrLZFDmeGg" x="60" y="320" width="201" height="161"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_fr8_cBC0EeeFNrLZFDmeGg" type="Comment_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_fr9mgBC0EeeFNrLZFDmeGg" type="Comment_BodyLabel"/> - <element xmi:type="uml:Comment" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number._ownedComment.0"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fr8_cRC0EeeFNrLZFDmeGg" x="560" y="20" width="241" height="81"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_gjjV0BC0EeeFNrLZFDmeGg" type="Comment_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_gjj84BC0EeeFNrLZFDmeGg" type="Comment_BodyLabel"/> - <element xmi:type="uml:Comment" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_String._ownedComment.0"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_gjjV0RC0EeeFNrLZFDmeGg" x="1060" y="160" width="221" height="101"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_qeW6MMrREee5xeGZ3-9rfg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_qeW6McrREee5xeGZ3-9rfg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qeYIUMrREee5xeGZ3-9rfg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Boolean"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qeW6MsrREee5xeGZ3-9rfg" x="520" y="160"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_qedA08rREee5xeGZ3-9rfg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_qedA1MrREee5xeGZ3-9rfg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qedA1srREee5xeGZ3-9rfg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qedA1crREee5xeGZ3-9rfg" x="780" y="360"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_qeigY8rREee5xeGZ3-9rfg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_qeigZMrREee5xeGZ3-9rfg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qeigZsrREee5xeGZ3-9rfg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Integer"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qeigZcrREee5xeGZ3-9rfg" x="520" y="360"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_qenY58rREee5xeGZ3-9rfg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_qenY6MrREee5xeGZ3-9rfg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qenY6srREee5xeGZ3-9rfg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qenY6crREee5xeGZ3-9rfg" x="780" y="160"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_qesRYMrREee5xeGZ3-9rfg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_qesRYcrREee5xeGZ3-9rfg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qesRY8rREee5xeGZ3-9rfg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Real"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qesRYsrREee5xeGZ3-9rfg" x="1080" y="360"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_qexJ4MrREee5xeGZ3-9rfg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_qexJ4crREee5xeGZ3-9rfg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qexJ48rREee5xeGZ3-9rfg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_String"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_qexJ4srREee5xeGZ3-9rfg" x="1080" y="160"/> - </children> - <styles xmi:type="notation:StringValueStyle" xmi:id="_RzuDkTtgEeWLFIpRJHQiHw" name="diagram_compatibility_version" stringValue="1.3.0"/> - <styles xmi:type="notation:DiagramStyle" xmi:id="_RzuDkjtgEeWLFIpRJHQiHw"/> - <styles xmi:type="style_1:PapyrusViewStyle" xmi:id="_RzuDkztgEeWLFIpRJHQiHw"> - <owner xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes"/> - </styles> - <styles xmi:type="style:PapyrusDiagramStyle" xmi:id="_awezcMrOEee5xeGZ3-9rfg" diagramKindId="org.eclipse.papyrus.sysml14.diagram.blockdefinition"> - <owner xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes"/> - </styles> - <element xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes"/> - <edges xmi:type="notation:Connector" xmi:id="_W_lrgDtgEeWLFIpRJHQiHw" type="Generalization_Edge" source="_W-1dkDtgEeWLFIpRJHQiHw" target="_W_N4EDtgEeWLFIpRJHQiHw"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_xixh8BCyEeeFNrLZFDmeGg" source="PapyrusCSSForceValue"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_xiyJABCyEeeFNrLZFDmeGg" key="routing" value="true"/> - </eAnnotations> - <children xmi:type="notation:DecorationNode" xmi:id="_W_lrgztgEeWLFIpRJHQiHw" type="Generalization_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_c3jskBCxEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_W_lrhDtgEeWLFIpRJHQiHw" y="40"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_W_lrgTtgEeWLFIpRJHQiHw"/> - <element xmi:type="uml:Generalization" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Integer._generalization.SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_W_lrgjtgEeWLFIpRJHQiHw" points="[380, 360, -643984, -643984]$[380, 320, -643984, -643984]$[680, 320, -643984, -643984]$[680, 260, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_XZO6kDtgEeWLFIpRJHQiHw" id="(0.49586776859504134,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_XZPhoDtgEeWLFIpRJHQiHw" id="(0.4975124378109453,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_YAIigDtgEeWLFIpRJHQiHw" type="Generalization_Edge" source="_X_r2kDtgEeWLFIpRJHQiHw" target="_W_N4EDtgEeWLFIpRJHQiHw" routing="Tree"> - <children xmi:type="notation:DecorationNode" xmi:id="_YAIigztgEeWLFIpRJHQiHw" type="Generalization_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_c4vYUBCxEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_YAIihDtgEeWLFIpRJHQiHw" y="40"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_YAIigTtgEeWLFIpRJHQiHw"/> - <element xmi:type="uml:Generalization" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Real._generalization.SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_YAIigjtgEeWLFIpRJHQiHw" points="[940, 360, -643984, -643984]$[940, 320, -643984, -643984]$[680, 320, -643984, -643984]$[680, 260, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Z8hWsDtgEeWLFIpRJHQiHw" id="(0.49586776859504134,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_jgsboDtgEeWLFIpRJHQiHw" id="(0.4975124378109453,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_dV_z8DtgEeWLFIpRJHQiHw" type="Generalization_Edge" source="_Syc8sDtgEeWLFIpRJHQiHw" target="_W_N4EDtgEeWLFIpRJHQiHw"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_44d9IBCyEeeFNrLZFDmeGg" source="PapyrusCSSForceValue"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_44ekMBCyEeeFNrLZFDmeGg" key="routing" value="true"/> - </eAnnotations> - <children xmi:type="notation:DecorationNode" xmi:id="_dWAbADtgEeWLFIpRJHQiHw" type="Generalization_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_c5F9oBCxEeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_dWAbATtgEeWLFIpRJHQiHw" y="40"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_dV_z8TtgEeWLFIpRJHQiHw"/> - <element xmi:type="uml:Generalization" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex._generalization.SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_dV_z8jtgEeWLFIpRJHQiHw" points="[680, 360, -643984, -643984]$[680, 320, -643984, -643984]$[680, 260, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_dqZ9sDtgEeWLFIpRJHQiHw" id="(0.4975124378109453,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_dqakwDtgEeWLFIpRJHQiHw" id="(0.4975124378109453,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_QXGx0BCzEeeFNrLZFDmeGg" type="Generalization_Edge" source="_Syc8sDtgEeWLFIpRJHQiHw" target="_W_N4EDtgEeWLFIpRJHQiHw"> - <children xmi:type="notation:DecorationNode" xmi:id="_QXHY4BCzEeeFNrLZFDmeGg" type="Generalization_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_BCydwBC0EeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_QXHY4RCzEeeFNrLZFDmeGg" y="40"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_QXGx0RCzEeeFNrLZFDmeGg"/> - <element xmi:type="uml:Generalization" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex._generalization.SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_QXGx0hCzEeeFNrLZFDmeGg" points="[680, 360, -643984, -643984]$[680, 260, -643984, -643984]"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_W9CkABCzEeeFNrLZFDmeGg" type="Comment_AnnotatedElementEdge" source="_Go3x8BCzEeeFNrLZFDmeGg" target="_X_r2kDtgEeWLFIpRJHQiHw"> - <styles xmi:type="notation:FontStyle" xmi:id="_W9CkARCzEeeFNrLZFDmeGg"/> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_W9CkAhCzEeeFNrLZFDmeGg" points="[1120, 400, -643984, -643984]$[1001, 400, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_W9kvgBCzEeeFNrLZFDmeGg" id="(0.0,0.4419889502762431)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_W9kvgRCzEeeFNrLZFDmeGg" id="(1.0,0.4)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_YAvcsBCzEeeFNrLZFDmeGg" type="Comment_AnnotatedElementEdge" source="_Kp3iMBCzEeeFNrLZFDmeGg" target="_Syc8sDtgEeWLFIpRJHQiHw"> - <styles xmi:type="notation:FontStyle" xmi:id="_YAvcsRCzEeeFNrLZFDmeGg"/> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_YAvcshCzEeeFNrLZFDmeGg" points="[680, 560, -643984, -643984]$[680, 465, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_YBFa8BCzEeeFNrLZFDmeGg" id="(0.4979253112033195,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_YBFa8RCzEeeFNrLZFDmeGg" id="(0.4975124378109453,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_DBVOEBC0EeeFNrLZFDmeGg" type="Comment_AnnotatedElementEdge" source="_9i7EoBCzEeeFNrLZFDmeGg" target="_SVy14DtgEeWLFIpRJHQiHw"> - <styles xmi:type="notation:FontStyle" xmi:id="_DBVOERC0EeeFNrLZFDmeGg"/> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_DBVOEhC0EeeFNrLZFDmeGg" points="[244, 200, -643984, -643984]$[340, 200, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DB9gMBC0EeeFNrLZFDmeGg" id="(1.0,0.39603960396039606)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DB9gMRC0EeeFNrLZFDmeGg" id="(0.0,0.4)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_W4F9IBC0EeeFNrLZFDmeGg" type="Comment_AnnotatedElementEdge" source="_QNNZgBC0EeeFNrLZFDmeGg" target="_W-1dkDtgEeWLFIpRJHQiHw"> - <styles xmi:type="notation:FontStyle" xmi:id="_W4F9IRC0EeeFNrLZFDmeGg"/> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_W4F9IhC0EeeFNrLZFDmeGg" points="[380, 560, -643984, -643984]$[380, 460, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_W4p90BC0EeeFNrLZFDmeGg" id="(1.0,0.49382716049382713)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_W4p90RC0EeeFNrLZFDmeGg" id="(0.0,0.4)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_ktRkQBC0EeeFNrLZFDmeGg" type="Comment_AnnotatedElementEdge" source="_fr8_cBC0EeeFNrLZFDmeGg" target="_W_N4EDtgEeWLFIpRJHQiHw"> - <styles xmi:type="notation:FontStyle" xmi:id="_ktRkQRC0EeeFNrLZFDmeGg"/> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ktRkQhC0EeeFNrLZFDmeGg" points="[680, 101, -643984, -643984]$[680, 160, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_kt9gwBC0EeeFNrLZFDmeGg" id="(0.4979253112033195,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_kt9gwRC0EeeFNrLZFDmeGg" id="(0.4975124378109453,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_lnyrwBC0EeeFNrLZFDmeGg" type="Comment_AnnotatedElementEdge" source="_gjjV0BC0EeeFNrLZFDmeGg" target="_Yj1FcDtgEeWLFIpRJHQiHw"> - <styles xmi:type="notation:FontStyle" xmi:id="_lnyrwRC0EeeFNrLZFDmeGg"/> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_lnyrwhC0EeeFNrLZFDmeGg" points="[1120, 200, -643984, -643984]$[1001, 200, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_lokH0BC0EeeFNrLZFDmeGg" id="(0.0,0.39603960396039606)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_lokH0RC0EeeFNrLZFDmeGg" id="(1.0,0.4)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_qeYIUcrREee5xeGZ3-9rfg" type="StereotypeCommentLink" source="_SVy14DtgEeWLFIpRJHQiHw" target="_qeW6MMrREee5xeGZ3-9rfg"> - <styles xmi:type="notation:FontStyle" xmi:id="_qeYIUsrREee5xeGZ3-9rfg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qeYIVsrREee5xeGZ3-9rfg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Boolean"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_qeYIU8rREee5xeGZ3-9rfg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qeYIVMrREee5xeGZ3-9rfg"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qeYIVcrREee5xeGZ3-9rfg"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_qedA18rREee5xeGZ3-9rfg" type="StereotypeCommentLink" source="_Syc8sDtgEeWLFIpRJHQiHw" target="_qedA08rREee5xeGZ3-9rfg"> - <styles xmi:type="notation:FontStyle" xmi:id="_qedA2MrREee5xeGZ3-9rfg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qedA3MrREee5xeGZ3-9rfg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_qedA2crREee5xeGZ3-9rfg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qedA2srREee5xeGZ3-9rfg"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qedA28rREee5xeGZ3-9rfg"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_qeigZ8rREee5xeGZ3-9rfg" type="StereotypeCommentLink" source="_W-1dkDtgEeWLFIpRJHQiHw" target="_qeigY8rREee5xeGZ3-9rfg"> - <styles xmi:type="notation:FontStyle" xmi:id="_qeigaMrREee5xeGZ3-9rfg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qeigbMrREee5xeGZ3-9rfg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Integer"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_qeigacrREee5xeGZ3-9rfg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qeigasrREee5xeGZ3-9rfg"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qeiga8rREee5xeGZ3-9rfg"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_qen_8MrREee5xeGZ3-9rfg" type="StereotypeCommentLink" source="_W_N4EDtgEeWLFIpRJHQiHw" target="_qenY58rREee5xeGZ3-9rfg"> - <styles xmi:type="notation:FontStyle" xmi:id="_qen_8crREee5xeGZ3-9rfg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qen_9crREee5xeGZ3-9rfg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_qen_8srREee5xeGZ3-9rfg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qen_88rREee5xeGZ3-9rfg"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qen_9MrREee5xeGZ3-9rfg"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_qesRZMrREee5xeGZ3-9rfg" type="StereotypeCommentLink" source="_X_r2kDtgEeWLFIpRJHQiHw" target="_qesRYMrREee5xeGZ3-9rfg"> - <styles xmi:type="notation:FontStyle" xmi:id="_qesRZcrREee5xeGZ3-9rfg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qesRacrREee5xeGZ3-9rfg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Real"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_qesRZsrREee5xeGZ3-9rfg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qesRZ8rREee5xeGZ3-9rfg"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qesRaMrREee5xeGZ3-9rfg"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_qexJ5MrREee5xeGZ3-9rfg" type="StereotypeCommentLink" source="_Yj1FcDtgEeWLFIpRJHQiHw" target="_qexJ4MrREee5xeGZ3-9rfg"> - <styles xmi:type="notation:FontStyle" xmi:id="_qexJ5crREee5xeGZ3-9rfg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_qexJ6crREee5xeGZ3-9rfg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:DataType" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_String"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_qexJ5srREee5xeGZ3-9rfg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qexJ58rREee5xeGZ3-9rfg"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_qexJ6MrREee5xeGZ3-9rfg"/> - </edges> - </notation:Diagram> - <notation:Diagram xmi:id="_qPokIBC1EeeFNrLZFDmeGg" type="PapyrusUMLClassDiagram" name="Unit And QuantityKind Diagram" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_wmc8QBC1EeeFNrLZFDmeGg" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_wmdjUBC1EeeFNrLZFDmeGg" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_wmdjURC1EeeFNrLZFDmeGg" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_wmeKYBC1EeeFNrLZFDmeGg" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_wmexcBC1EeeFNrLZFDmeGg" type="Class_AttributeCompartment"> - <children xmi:type="notation:Shape" xmi:id="_ydgkgBC1EeeFNrLZFDmeGg" type="Property_ClassAttributeLabel"> - <element xmi:type="uml:Property" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind_ownedAttribute.definitionURI"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_ydgkgRC1EeeFNrLZFDmeGg"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_ytm2ABC1EeeFNrLZFDmeGg" type="Property_ClassAttributeLabel"> - <element xmi:type="uml:Property" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind_ownedAttribute.description"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_ytm2ARC1EeeFNrLZFDmeGg"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_y8auEBC1EeeFNrLZFDmeGg" type="Property_ClassAttributeLabel"> - <element xmi:type="uml:Property" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind_ownedAttribute.symbol"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_y8auERC1EeeFNrLZFDmeGg"/> - </children> - <styles xmi:type="notation:TitleStyle" xmi:id="_wmexcRC1EeeFNrLZFDmeGg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_wmexchC1EeeFNrLZFDmeGg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_wmexcxC1EeeFNrLZFDmeGg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wmexdBC1EeeFNrLZFDmeGg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_wmexdRC1EeeFNrLZFDmeGg" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_wmexdhC1EeeFNrLZFDmeGg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_wmexdxC1EeeFNrLZFDmeGg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_wmexeBC1EeeFNrLZFDmeGg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wmexeRC1EeeFNrLZFDmeGg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_wmexehC1EeeFNrLZFDmeGg" visible="false" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_wmexexC1EeeFNrLZFDmeGg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_wmexfBC1EeeFNrLZFDmeGg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_wmexfRC1EeeFNrLZFDmeGg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wmexfhC1EeeFNrLZFDmeGg"/> - </children> - <element xmi:type="uml:Class" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wmc8QRC1EeeFNrLZFDmeGg" x="280" y="300" width="221" height="161"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_0pFrQBC1EeeFNrLZFDmeGg" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_0pGSUBC1EeeFNrLZFDmeGg" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_0pGSURC1EeeFNrLZFDmeGg" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_0pGSUhC1EeeFNrLZFDmeGg" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_0pGSUxC1EeeFNrLZFDmeGg" type="Class_AttributeCompartment"> - <children xmi:type="notation:Shape" xmi:id="_2HQ5cBC1EeeFNrLZFDmeGg" type="Property_ClassAttributeLabel"> - <element xmi:type="uml:Property" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit_ownedAttribute.definitionURI"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_2HQ5cRC1EeeFNrLZFDmeGg"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_2XhjABC1EeeFNrLZFDmeGg" type="Property_ClassAttributeLabel"> - <element xmi:type="uml:Property" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit_ownedAttribute.description"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_2XhjARC1EeeFNrLZFDmeGg"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_3WAkgBC1EeeFNrLZFDmeGg" type="Property_ClassAttributeLabel"> - <element xmi:type="uml:Property" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit_ownedAttribute.symbol"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_3WAkgRC1EeeFNrLZFDmeGg"/> - </children> - <styles xmi:type="notation:TitleStyle" xmi:id="_0pGSVBC1EeeFNrLZFDmeGg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_0pGSVRC1EeeFNrLZFDmeGg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_0pGSVhC1EeeFNrLZFDmeGg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0pGSVxC1EeeFNrLZFDmeGg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_0pG5YBC1EeeFNrLZFDmeGg" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_0pG5YRC1EeeFNrLZFDmeGg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_0pG5YhC1EeeFNrLZFDmeGg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_0pG5YxC1EeeFNrLZFDmeGg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0pG5ZBC1EeeFNrLZFDmeGg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_0pG5ZRC1EeeFNrLZFDmeGg" visible="false" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_0pG5ZhC1EeeFNrLZFDmeGg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_0pG5ZxC1EeeFNrLZFDmeGg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_0pG5aBC1EeeFNrLZFDmeGg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0pG5aRC1EeeFNrLZFDmeGg"/> - </children> - <element xmi:type="uml:Class" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_0pFrQRC1EeeFNrLZFDmeGg" x="280" y="40" width="221" height="161"/> - </children> - <children xmi:type="notation:Shape" xmi:id="__cyeYBC1EeeFNrLZFDmeGg" type="Comment_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="__czFcBC1EeeFNrLZFDmeGg" type="Comment_BodyLabel"/> - <element xmi:type="uml:Comment" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind._ownedComment.0"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="__cyeYRC1EeeFNrLZFDmeGg" x="40" y="320" width="181" height="81"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_CUfrUBC2EeeFNrLZFDmeGg" type="Comment_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_CUgSYBC2EeeFNrLZFDmeGg" type="Comment_BodyLabel"/> - <element xmi:type="uml:Comment" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit._ownedComment.0"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CUfrURC2EeeFNrLZFDmeGg" x="560" y="60" width="241" height="81"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_LwbpwMrQEee5xeGZ3-9rfg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_LwbpwcrQEee5xeGZ3-9rfg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Lwbpw8rQEee5xeGZ3-9rfg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LwbpwsrQEee5xeGZ3-9rfg" x="480" y="300"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_LwkMo8rQEee5xeGZ3-9rfg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_LwkMpMrQEee5xeGZ3-9rfg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_LwkzsMrQEee5xeGZ3-9rfg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LwkMpcrQEee5xeGZ3-9rfg" x="480" y="40"/> - </children> - <styles xmi:type="notation:StringValueStyle" xmi:id="_qPokIRC1EeeFNrLZFDmeGg" name="diagram_compatibility_version" stringValue="1.3.0"/> - <styles xmi:type="notation:DiagramStyle" xmi:id="_qPokIhC1EeeFNrLZFDmeGg"/> - <styles xmi:type="style_1:PapyrusViewStyle" xmi:id="_qPokIxC1EeeFNrLZFDmeGg"> - <owner xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind"/> - </styles> - <styles xmi:type="style:PapyrusDiagramStyle" xmi:id="_aR5aAMrOEee5xeGZ3-9rfg" diagramKindId="org.eclipse.papyrus.sysml14.diagram.blockdefinition"> - <owner xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind"/> - </styles> - <element xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind"/> - <edges xmi:type="notation:Connector" xmi:id="_3reeMBC1EeeFNrLZFDmeGg" type="Association_Edge" source="_wmc8QBC1EeeFNrLZFDmeGg" target="_0pFrQBC1EeeFNrLZFDmeGg"> - <children xmi:type="notation:DecorationNode" xmi:id="_3rfFQBC1EeeFNrLZFDmeGg" type="Association_StereotypeLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_--0wABC1EeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_3rfFQRC1EeeFNrLZFDmeGg" y="-20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_3rfFQhC1EeeFNrLZFDmeGg" type="Association_NameLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-_BkUBC1EeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_3rfFQxC1EeeFNrLZFDmeGg" x="3" y="-120"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_3rfsUBC1EeeFNrLZFDmeGg" type="Association_TargetRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-_I5EBC1EeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_3rfsURC1EeeFNrLZFDmeGg" x="13"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_3rfsUhC1EeeFNrLZFDmeGg" type="Association_SourceRoleLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-_XikBC1EeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_3rfsUxC1EeeFNrLZFDmeGg" x="-6"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_3rfsVBC1EeeFNrLZFDmeGg" type="Association_SourceMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-_dCIBC1EeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_3rfsVRC1EeeFNrLZFDmeGg" x="13" y="-20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_3rfsVhC1EeeFNrLZFDmeGg" type="Association_TargetMultiplicityLabel"> - <styles xmi:type="notation:BooleanValueStyle" xmi:id="_-_ihsBC1EeeFNrLZFDmeGg" name="IS_UPDATED_POSITION" booleanValue="true"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_3rfsVxC1EeeFNrLZFDmeGg" x="-6" y="-20"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_3reeMRC1EeeFNrLZFDmeGg"/> - <element xmi:type="uml:Association" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.association_packagedElement_A_quantityKind_unit"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_3reeMhC1EeeFNrLZFDmeGg" points="[481, 110, -643984, -643984]$[660, 110, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_51v9YBC1EeeFNrLZFDmeGg" id="(0.45248868778280543,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_5cfv4BC1EeeFNrLZFDmeGg" id="(0.45248868778280543,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_Fo9swBC2EeeFNrLZFDmeGg" type="Comment_AnnotatedElementEdge" source="__cyeYBC1EeeFNrLZFDmeGg" target="_wmc8QBC1EeeFNrLZFDmeGg"> - <styles xmi:type="notation:FontStyle" xmi:id="_Fo9swRC2EeeFNrLZFDmeGg"/> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Fo9swhC2EeeFNrLZFDmeGg" points="[221, 380, -643984, -643984]$[280, 380, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FpR10BC2EeeFNrLZFDmeGg" id="(1.0,0.49382716049382713)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_FpR10RC2EeeFNrLZFDmeGg" id="(0.0,0.37267080745341613)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_GDtvEBC2EeeFNrLZFDmeGg" type="Comment_AnnotatedElementEdge" source="_CUfrUBC2EeeFNrLZFDmeGg" target="_0pFrQBC1EeeFNrLZFDmeGg"> - <styles xmi:type="notation:FontStyle" xmi:id="_GDtvERC2EeeFNrLZFDmeGg"/> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_GDtvEhC2EeeFNrLZFDmeGg" points="[500, 120, -643984, -643984]$[441, 120, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GEJz8BC2EeeFNrLZFDmeGg" id="(0.0,0.45977011494252873)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GEKbABC2EeeFNrLZFDmeGg" id="(1.0,0.37267080745341613)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_LwcQ0MrQEee5xeGZ3-9rfg" type="StereotypeCommentLink" source="_wmc8QBC1EeeFNrLZFDmeGg" target="_LwbpwMrQEee5xeGZ3-9rfg"> - <styles xmi:type="notation:FontStyle" xmi:id="_LwcQ0crQEee5xeGZ3-9rfg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Lwc34MrQEee5xeGZ3-9rfg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_LwcQ0srQEee5xeGZ3-9rfg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_LwcQ08rQEee5xeGZ3-9rfg"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_LwcQ1MrQEee5xeGZ3-9rfg"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_LwkzscrQEee5xeGZ3-9rfg" type="StereotypeCommentLink" source="_0pFrQBC1EeeFNrLZFDmeGg" target="_LwkMo8rQEee5xeGZ3-9rfg"> - <styles xmi:type="notation:FontStyle" xmi:id="_LwkzssrQEee5xeGZ3-9rfg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_LwkztsrQEee5xeGZ3-9rfg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Lwkzs8rQEee5xeGZ3-9rfg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_LwkztMrQEee5xeGZ3-9rfg"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_LwkztcrQEee5xeGZ3-9rfg"/> - </edges> - </notation:Diagram> - <notation:Diagram xmi:id="_9rYNABInEeeFNrLZFDmeGg" type="PapyrusUMLClassDiagram" name="ControlValues Diagram" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_DPlccBIoEeeFNrLZFDmeGg" type="Enumeration_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_DPmDgBIoEeeFNrLZFDmeGg" type="Enumeration_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_DPmDgRIoEeeFNrLZFDmeGg" type="Enumeration_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_DPmDghIoEeeFNrLZFDmeGg" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_DPmqkBIoEeeFNrLZFDmeGg" type="Enumeration_LiteralCompartment"> - <children xmi:type="notation:Shape" xmi:id="_ESK60BIoEeeFNrLZFDmeGg" type="EnumerationLiteral_LiteralLabel"> - <element xmi:type="uml:EnumerationLiteral" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues.enumeration_packagedElement_ControlValue.enumerationLiteral_ownedLiteral_disable"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_ESK60RIoEeeFNrLZFDmeGg"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_EkJboBIoEeeFNrLZFDmeGg" type="EnumerationLiteral_LiteralLabel"> - <element xmi:type="uml:EnumerationLiteral" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues.enumeration_packagedElement_ControlValue.enumerationLiteral_ownedLiteral_enable"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_EkJboRIoEeeFNrLZFDmeGg"/> - </children> - <styles xmi:type="notation:TitleStyle" xmi:id="_DPmqkRIoEeeFNrLZFDmeGg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_DPmqkhIoEeeFNrLZFDmeGg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_DPmqkxIoEeeFNrLZFDmeGg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_DPmqlBIoEeeFNrLZFDmeGg"/> - </children> - <element xmi:type="uml:Enumeration" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues.enumeration_packagedElement_ControlValue"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_DPlccRIoEeeFNrLZFDmeGg" x="279" y="47" width="220" height="97"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_FErV0BIoEeeFNrLZFDmeGg" type="Comment_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_FEr84BIoEeeFNrLZFDmeGg" type="Comment_BodyLabel"/> - <element xmi:type="uml:Comment" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues.enumeration_packagedElement_ControlValue.enumerationLiteral_ownedLiteral_disable._ownedComment.0"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_FErV0RIoEeeFNrLZFDmeGg" x="384" y="236" width="201" height="101"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_GuLqQBIoEeeFNrLZFDmeGg" type="Comment_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_GuMRUBIoEeeFNrLZFDmeGg" type="Comment_BodyLabel"/> - <element xmi:type="uml:Comment" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues.enumeration_packagedElement_ControlValue.enumerationLiteral_ownedLiteral_enable._ownedComment.0"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GuLqQRIoEeeFNrLZFDmeGg" x="93" y="235" width="205" height="133"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_X6UzwMrQEee5xeGZ3-9rfg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_X6UzwcrQEee5xeGZ3-9rfg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_X6Uzw8rQEee5xeGZ3-9rfg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Enumeration" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues.enumeration_packagedElement_ControlValue"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_X6UzwsrQEee5xeGZ3-9rfg" x="479" y="47"/> - </children> - <styles xmi:type="notation:StringValueStyle" xmi:id="_9rYNARInEeeFNrLZFDmeGg" name="diagram_compatibility_version" stringValue="1.3.0"/> - <styles xmi:type="notation:DiagramStyle" xmi:id="_9rYNAhInEeeFNrLZFDmeGg"/> - <styles xmi:type="style_1:PapyrusViewStyle" xmi:id="_9rYNAxInEeeFNrLZFDmeGg"> - <owner xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues"/> - </styles> - <styles xmi:type="style:PapyrusDiagramStyle" xmi:id="_SbJgMMrOEee5xeGZ3-9rfg" diagramKindId="org.eclipse.papyrus.sysml14.diagram.blockdefinition"> - <owner xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues"/> - </styles> - <element xmi:type="uml:Package" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues"/> - <edges xmi:type="notation:Connector" xmi:id="_KHJKIBIoEeeFNrLZFDmeGg" type="Comment_AnnotatedElementEdge" source="_FErV0BIoEeeFNrLZFDmeGg" target="_DPlccBIoEeeFNrLZFDmeGg"> - <styles xmi:type="notation:FontStyle" xmi:id="_KHJKIRIoEeeFNrLZFDmeGg"/> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_KHJKIhIoEeeFNrLZFDmeGg" points="[400, 100, -643984, -643984]$[301, 100, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KHVXYBIoEeeFNrLZFDmeGg" id="(0.13930348258706468,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KHVXYRIoEeeFNrLZFDmeGg" id="(0.8181818181818182,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_L_1xIBIoEeeFNrLZFDmeGg" type="Comment_AnnotatedElementEdge" source="_GuLqQBIoEeeFNrLZFDmeGg" target="_DPlccBIoEeeFNrLZFDmeGg"> - <styles xmi:type="notation:FontStyle" xmi:id="_L_1xIRIoEeeFNrLZFDmeGg"/> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_L_1xIhIoEeeFNrLZFDmeGg" points="[400, 200, -643984, -643984]$[301, 200, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_MAHd8BIoEeeFNrLZFDmeGg" id="(0.2731707317073171,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_MAIFABIoEeeFNrLZFDmeGg" id="(0.16363636363636364,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_X6UzxMrQEee5xeGZ3-9rfg" type="StereotypeCommentLink" source="_DPlccBIoEeeFNrLZFDmeGg" target="_X6UzwMrQEee5xeGZ3-9rfg"> - <styles xmi:type="notation:FontStyle" xmi:id="_X6UzxcrQEee5xeGZ3-9rfg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_X6UzycrQEee5xeGZ3-9rfg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Enumeration" href="SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues.enumeration_packagedElement_ControlValue"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_X6UzxsrQEee5xeGZ3-9rfg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_X6Uzx8rQEee5xeGZ3-9rfg"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_X6UzyMrQEee5xeGZ3-9rfg"/> - </edges> - </notation:Diagram> - <notation:Diagram xmi:id="_3Ej0kBIoEeeFNrLZFDmeGg" type="PapyrusUMLClassDiagram" name="Requirements VerdictKind Diagram" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_3fAU4BIoEeeFNrLZFDmeGg" type="Enumeration_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_3fA78BIoEeeFNrLZFDmeGg" type="Enumeration_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_3fA78RIoEeeFNrLZFDmeGg" type="Enumeration_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_3fA78hIoEeeFNrLZFDmeGg" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_3fBjABIoEeeFNrLZFDmeGg" type="Enumeration_LiteralCompartment"> - <children xmi:type="notation:Shape" xmi:id="_51BKABIoEeeFNrLZFDmeGg" type="EnumerationLiteral_LiteralLabel"> - <element xmi:type="uml:EnumerationLiteral" href="SysML-Standard-Library.uml#_8IATJTthEeWLFIpRJHQiHw"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_51BKARIoEeeFNrLZFDmeGg"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_6HlgsBIoEeeFNrLZFDmeGg" type="EnumerationLiteral_LiteralLabel"> - <element xmi:type="uml:EnumerationLiteral" href="SysML-Standard-Library.uml#_8IATIzthEeWLFIpRJHQiHw"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_6HlgsRIoEeeFNrLZFDmeGg"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_6ZBO8BIoEeeFNrLZFDmeGg" type="EnumerationLiteral_LiteralLabel"> - <element xmi:type="uml:EnumerationLiteral" href="SysML-Standard-Library.uml#_8IATJDthEeWLFIpRJHQiHw"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_6ZBO8RIoEeeFNrLZFDmeGg"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_6qINEBIoEeeFNrLZFDmeGg" type="EnumerationLiteral_LiteralLabel"> - <element xmi:type="uml:EnumerationLiteral" href="SysML-Standard-Library.uml#_8IATIjthEeWLFIpRJHQiHw"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_6qINERIoEeeFNrLZFDmeGg"/> - </children> - <styles xmi:type="notation:TitleStyle" xmi:id="_3fBjARIoEeeFNrLZFDmeGg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_3fBjAhIoEeeFNrLZFDmeGg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_3fBjAxIoEeeFNrLZFDmeGg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3fBjBBIoEeeFNrLZFDmeGg"/> - </children> - <element xmi:type="uml:Enumeration" href="SysML-Standard-Library.uml#_8IATIDthEeWLFIpRJHQiHw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_3fAU4RIoEeeFNrLZFDmeGg" x="80" y="40" width="142" height="139"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_7PFUQBIoEeeFNrLZFDmeGg" type="Comment_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_7PGiYBIoEeeFNrLZFDmeGg" type="Comment_BodyLabel"/> - <element xmi:type="uml:Comment" href="SysML-Standard-Library.uml#_8IATITthEeWLFIpRJHQiHw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7PFUQRIoEeeFNrLZFDmeGg" x="320" y="60" width="181" height="101"/> - </children> - <styles xmi:type="notation:StringValueStyle" xmi:id="_3Ej0kRIoEeeFNrLZFDmeGg" name="diagram_compatibility_version" stringValue="1.3.0"/> - <styles xmi:type="notation:DiagramStyle" xmi:id="_3Ej0khIoEeeFNrLZFDmeGg"/> - <styles xmi:type="style:PapyrusDiagramStyle" xmi:id="_9rrngMrNEee5xeGZ3-9rfg" diagramKindId="org.eclipse.papyrus.sysml14.diagram.blockdefinition"> - <owner xmi:type="uml:Package" href="SysML-Standard-Library.uml#_7DGgkDthEeWLFIpRJHQiHw"/> - </styles> - <element xmi:type="uml:Package" href="SysML-Standard-Library.uml#_7DGgkDthEeWLFIpRJHQiHw"/> - <edges xmi:type="notation:Connector" xmi:id="_-9EB4BIoEeeFNrLZFDmeGg" type="Comment_AnnotatedElementEdge" source="_7PFUQBIoEeeFNrLZFDmeGg" target="_3fAU4BIoEeeFNrLZFDmeGg"> - <styles xmi:type="notation:FontStyle" xmi:id="_-9EB4RIoEeeFNrLZFDmeGg"/> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_-9EB4hIoEeeFNrLZFDmeGg" points="[320, 100, -643984, -643984]$[221, 100, -643984, -643984]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_-9RdQBIoEeeFNrLZFDmeGg" id="(0.0,0.39603960396039606)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_-9RdQRIoEeeFNrLZFDmeGg" id="(1.0,0.5251798561151079)"/> - </edges> - </notation:Diagram> -</xmi:XMI>
diff --git a/core/org.eclipse.papyrus.sysml14/resources/library/SysML-Standard-Library.uml b/core/org.eclipse.papyrus.sysml14/resources/library/SysML-Standard-Library.uml deleted file mode 100644 index 26fce34..0000000 --- a/core/org.eclipse.papyrus.sysml14/resources/library/SysML-Standard-Library.uml +++ /dev/null
@@ -1,182 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Blocks="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Blocks" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:standard="http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Blocks http://www.eclipse.org/papyrus/sysml/1.4/SysML#//blocks"> - <uml:Package xmi:id="SysML.package_packagedElement_Libraries" name="Libraries"> - <packagedElement xmi:type="uml:Package" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues" name="ControlValues"> - <packagedElement xmi:type="uml:Enumeration" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues.enumeration_packagedElement_ControlValue" name="ControlValue"> - <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues.enumeration_packagedElement_ControlValue.enumerationLiteral_ownedLiteral_disable" name="disable"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues.enumeration_packagedElement_ControlValue.enumerationLiteral_ownedLiteral_disable._ownedComment.0" annotatedElement="SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues.enumeration_packagedElement_ControlValue.enumerationLiteral_ownedLiteral_disable SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues.enumeration_packagedElement_ControlValue"> - <body>The disable literal means a termination of an executing behavior that can only be started again from the beginning (compare to suspend).</body> - </ownedComment> - </ownedLiteral> - <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues.enumeration_packagedElement_ControlValue.enumerationLiteral_ownedLiteral_enable" name="enable"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues.enumeration_packagedElement_ControlValue.enumerationLiteral_ownedLiteral_enable._ownedComment.0" annotatedElement="SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues.enumeration_packagedElement_ControlValue.enumerationLiteral_ownedLiteral_enable SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues"> - <body>The enable literal means to start a new execution of a behavior (compare to resume).</body> - </ownedComment> - </ownedLiteral> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes" name="PrimitiveBlocks:ValueTypes"> - <packagedElement xmi:type="uml:DataType" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Boolean" name="Boolean"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Boolean._ownedComment.0" annotatedElement="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Boolean"> - <body>A Boolean value type consists of the predefined values true and false.</body> - </ownedComment> - </packagedElement> - <packagedElement xmi:type="uml:DataType" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex" name="Complex"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex._ownedComment.0" annotatedElement="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex">> - <body>A Complex value type represents the mathematical concept of a complex number. A complex number consists of a real part defined by a real number, and an imaginary part defined by a real number multiplied by the square root of -1. Complex numbers are used to express solutions to various forms of mathematical equations.</body> - </ownedComment> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex._generalization.SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number" general="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number"/> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex_ownedAttribute.imaginaryPart" name="imaginaryPart" type="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Real"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex_ownedAttribute.imaginaryPart._ownedComment.0" annotatedElement="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex_ownedAttribute.imaginaryPart"> - <body>A real number used to express the imaginary part of a complex number.</body> - </ownedComment> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex_ownedAttribute.realPart" name="realPart" type="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Real"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex_ownedAttribute.realPart._ownedComment.0" annotatedElement="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex_ownedAttribute.realPart"> - <body>A real number used to express the real part of a complex number.</body> - </ownedComment> - </ownedAttribute> - </packagedElement> - <packagedElement xmi:type="uml:DataType" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Integer" name="Integer"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Integert._ownedComment.0" annotatedElement="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Integer"> - <body>An Integer value type represents the mathematical concept of an integer number. An Integer value type may be used to type values that hold negative or positive integer quantities, without committing to a specific representation such as a binary or decimal digits with fixed precision or scale.</body> - </ownedComment> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Integer._generalization.SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number" general="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number"/> - </packagedElement> - <packagedElement xmi:type="uml:DataType" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number" name="Number" isAbstract="true"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number._ownedComment.0" annotatedElement="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number"> - <body>Number is an abstract value type from which other value types that express concepts of mathematical numbers are specialized.</body> - </ownedComment> - </packagedElement> - <packagedElement xmi:type="uml:DataType" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Real" name="Real"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Real._ownedComment.0" annotatedElement="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Real"> - <body>A Real value type represents the mathematical concept of a real number. A Real value type may be used to type values that hold continuous quantities, without committing a specific representation such as a floating point data type with restrictions on precision and scale.</body> - </ownedComment> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Real._generalization.SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number" general="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number"/> - </packagedElement> - <packagedElement xmi:type="uml:DataType" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_String" name="String"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_String._ownedComment.0" annotatedElement="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_String"> - <body>A String value type consists of a sequence of characters in some suitable character set. Character sets may include non-Roman alphabets and characters.</body> - </ownedComment> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind" name="UnitAndQuantityKind"> - <packagedElement xmi:type="uml:Association" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.association_packagedElement_A_quantityKind_unit" name="A_quantityKind_unit" memberEnd="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.association_packagedElement_A_quantityKind_unit_ownedEnd.unit SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit_ownedAttribute.quantityKind"> - <ownedEnd xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.association_packagedElement_A_quantityKind_unit_ownedEnd.unit" name="unit" type="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit" association="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.association_packagedElement_A_quantityKind_unit"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.association_packagedElement_A_quantityKind_unit_ownedEnd.unit_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.association_packagedElement_A_quantityKind_unit_ownedEnd.unit_upperValue" value="*"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind" name="QuantityKind"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind._ownedComment.0" annotatedElement="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind"> - <body>A QuantityKind is a kind of quantity that may be stated by means of defined units.</body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind_ownedAttribute.definitionURI" name="definitionURI"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind_ownedAttribute.definitionURI_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind_ownedAttribute.description" name="description"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind_ownedAttribute.description_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind_ownedAttribute.symbol" name="symbol"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind_ownedAttribute.symbol_lowerValue"/> - </ownedAttribute> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit" name="Unit"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit._ownedComment.0" annotatedElement="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit"> - <body>A Unit is a quantity in terms of which the magnitudes of other quantities that have the same quantity kind can be stated. A unit often relies on precise and reproducible ways to measure the unit.</body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit_ownedAttribute.definitionURI" name="definitionURI"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit_ownedAttribute.definitionURI_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit_ownedAttribute.description" name="description"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit_ownedAttribute.description_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit_ownedAttribute.quantityKind" name="quantityKind" type="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind" association="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.association_packagedElement_A_quantityKind_unit"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit_ownedAttribute.quantityKind_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit_ownedAttribute.quantityKind_upperValue" value="*"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit_ownedAttribute.symbol" name="symbol"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit_ownedAttribute.symbol_lowerValue"/> - </ownedAttribute> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_7DGgkDthEeWLFIpRJHQiHw" name="Requirements"> - <packagedElement xmi:type="uml:Enumeration" xmi:id="_8IATIDthEeWLFIpRJHQiHw" name="VerdictKind"> - <ownedComment xmi:type="uml:Comment" xmi:id="_8IATITthEeWLFIpRJHQiHw" annotatedElement="_8IATIDthEeWLFIpRJHQiHw"> - <body>Type of a return parameter of a TestCase must be VerdictKind, consistent with the UML Testing Profile.</body> - </ownedComment> - <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="_8IATIjthEeWLFIpRJHQiHw" name="error"/> - <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="_8IATIzthEeWLFIpRJHQiHw" name="fail"/> - <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="_8IATJDthEeWLFIpRJHQiHw" name="inconclusive"/> - <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="_8IATJTthEeWLFIpRJHQiHw" name="pass"/> - </packagedElement> - </packagedElement> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_FzrM4MrPEee5xeGZ3-9rfg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_FzuQMMrPEee5xeGZ3-9rfg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard#/"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_B_kzsMrQEee5xeGZ3-9rfg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_B_lawMrQEee5xeGZ3-9rfg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//activities"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Activities"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_B_mB0MrQEee5xeGZ3-9rfg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_B_mo4MrQEee5xeGZ3-9rfg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//allocations"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Allocations"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_B_nP8MrQEee5xeGZ3-9rfg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_B_n3AMrQEee5xeGZ3-9rfg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//blocks"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_B_sIcMrQEee5xeGZ3-9rfg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_B_svgMrQEee5xeGZ3-9rfg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//constraintblocks"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ConstraintBlocks"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_B_tWkMrQEee5xeGZ3-9rfg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_B_tWkcrQEee5xeGZ3-9rfg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//deprecatedelements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_DeprecatedElements"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_B_t9oMrQEee5xeGZ3-9rfg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_B_t9ocrQEee5xeGZ3-9rfg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//modelelements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ModelElements"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_B_uksMrQEee5xeGZ3-9rfg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_B_vLwMrQEee5xeGZ3-9rfg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//portsandflows"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_B_vLwcrQEee5xeGZ3-9rfg"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_B_vy0MrQEee5xeGZ3-9rfg" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements"/> - </profileApplication> - </uml:Package> - <Blocks:ValueType xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Boolean.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType" base_DataType="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Boolean"/> - <Blocks:ValueType xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType" base_DataType="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Complex"/> - <Blocks:ValueType xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Integer.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType" base_DataType="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Integer"/> - <Blocks:ValueType xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType" base_DataType="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Number"/> - <Blocks:ValueType xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Real.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType" base_DataType="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_Real"/> - <Blocks:ValueType xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_String.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType" base_DataType="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.dataType_packagedElement_String"/> - <standard:ModelLibrary xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.stereotypeApplication_ModelLibrary" base_Package="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind"/> - <Blocks:Block xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" base_Class="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_QuantityKind"/> - <Blocks:Block xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" base_Class="SysML.package_packagedElement_Libraries.package_packagedElement_UnitAndQuantityKind.class_packagedElement_Unit"/> - <standard:ModelLibrary xmi:id="SysML.package_packagedElement_Libraries.stereotypeApplication_ModelLibrary" base_Package="SysML.package_packagedElement_Libraries"/> - <standard:ModelLibrary xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues.stereotypeApplication_ModelLibrary" base_Package="SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues"/> - <Blocks:ValueType xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues.enumeration_packagedElement_ControlValue.stereotypeApplication_SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType" base_DataType="SysML.package_packagedElement_Libraries.package_packagedElement_ControlValues.enumeration_packagedElement_ControlValue"/> - <standard:ModelLibrary xmi:id="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes.stereotypeApplication_ModelLibrary" base_Package="SysML.package_packagedElement_Libraries.package_packagedElement_PrimitiveValueTypes"/> -</xmi:XMI>
diff --git a/core/org.eclipse.papyrus.sysml14/resources/profile/SysML.profile.di b/core/org.eclipse.papyrus.sysml14/resources/profile/SysML.profile.di deleted file mode 100644 index 247ed5e..0000000 --- a/core/org.eclipse.papyrus.sysml14/resources/profile/SysML.profile.di +++ /dev/null
@@ -1,2 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<architecture:ArchitectureDescription xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:architecture="http://www.eclipse.org/papyrus/infra/core/architecture" contextId="org.eclipse.papyrus.uml.architecture.Profile"/>
diff --git a/core/org.eclipse.papyrus.sysml14/resources/profile/SysML.profile.genmodel b/core/org.eclipse.papyrus.sysml14/resources/profile/SysML.profile.genmodel deleted file mode 100644 index dc8d609..0000000 --- a/core/org.eclipse.papyrus.sysml14/resources/profile/SysML.profile.genmodel +++ /dev/null
@@ -1,404 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:genmodel="http://www.eclipse.org/uml2/2.2.0/GenModel" - copyrightText="Copyright (c) 2015 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:
 Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation
" - modelDirectory="/org.eclipse.papyrus.sysml14/src-gen" editDirectory="/org.eclipse.papyrus.sysml14.edit/src-gen" - editorDirectory="/org.eclipse.papyrus.sysml14.editor/src-gen" modelPluginID="org.eclipse.papyrus.sysml14" - modelName="SysML" editPluginClass="org.eclipse.papyrus.sysml14.provider.SysMLEditPlugin" - editorPluginClass="org.eclipse.papyrus.sysml14.presentation.SysMLEditorPlugin" - nonNLSMarkers="true" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" - testsDirectory="/org.eclipse.papyrus.sysml14.tests/src-gen" testSuiteClass="org.eclipse.papyrus.sysml14.tests.SysMLAllTests" - importerID="org.eclipse.uml2.uml.ecore.importer" complianceLevel="7.0" copyrightFields="false" - usedGenPackages="../../../org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore ../../../org.eclipse.uml2.types/model/Types.genmodel#//types ../../../org.eclipse.uml2.uml/model/UML.genmodel#//uml" - classNamePattern="" operationReflection="true" importOrganizing="true"> - <genAnnotations source="http://www.eclipse.org/emf/2002/GenModel/importer/org.eclipse.uml2.uml.ecore.importer"> - <details key="ECORE_TAGGED_VALUES" value="PROCESS"/> - <details key="UNION_PROPERTIES" value="REPORT"/> - <details key="UNTYPED_PROPERTIES" value="REPORT"/> - <details key="DUPLICATE_FEATURES" value="DISCARD"/> - <details key="SUBSETTING_PROPERTIES" value="REPORT"/> - <details key="VALIDATION_DELEGATES" value="IGNORE"/> - <details key="OPPOSITE_ROLE_NAMES" value="IGNORE"/> - <details key="COMMENTS" value="PROCESS"/> - <details key="DUPLICATE_FEATURE_INHERITANCE" value="DISCARD"/> - <details key="DUPLICATE_OPERATIONS" value="DISCARD"/> - <details key="PROPERTY_DEFAULT_EXPRESSIONS" value="IGNORE"/> - <details key="INVARIANT_CONSTRAINTS" value="PROCESS"/> - <details key="REDEFINING_PROPERTIES" value="REPORT"/> - <details key="ANNOTATION_DETAILS" value="PROCESS"/> - <details key="NON_API_INVARIANTS" value="IGNORE"/> - <details key="DUPLICATE_OPERATION_INHERITANCE" value="DISCARD"/> - <details key="REDEFINING_OPERATIONS" value="REPORT"/> - <details key="INVOCATION_DELEGATES" value="IGNORE"/> - <details key="DERIVED_FEATURES" value="PROCESS"/> - <details key="OPERATION_BODIES" value="IGNORE"/> - <details key="CAMEL_CASE_NAMES" value="IGNORE"/> - <details key="SUPER_CLASS_ORDER" value="PROCESS"/> - </genAnnotations> - <foreignModel>SysML.profile.uml</foreignModel> - <genPackages xsi:type="genmodel:GenPackage" prefix="sysml" basePackage="org.eclipse.papyrus" - disposableProviderFactory="true" ecorePackage="sysml.ecore#/"> - <nestedGenPackages xsi:type="genmodel:GenPackage" prefix="Activities" basePackage="org.eclipse.papyrus.sysml14" - disposableProviderFactory="true" classPackageSuffix="internal.impl" ecorePackage="sysml.ecore#//activities"> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//activities/Continuous"/> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//activities/Rate"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//activities/Rate/base_ActivityEdge"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//activities/Rate/base_ObjectNode"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//activities/Rate/base_Parameter"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//activities/Rate/rate"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//activities/ControlOperator"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//activities/ControlOperator/base_Behavior"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//activities/ControlOperator/base_Operation"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//activities/Discrete"/> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//activities/NoBuffer"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//activities/NoBuffer/base_ObjectNode"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//activities/Optional"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//activities/Optional/base_Parameter"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//activities/Overwrite"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//activities/Overwrite/base_ObjectNode"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//activities/Probability"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//activities/Probability/base_ActivityEdge"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//activities/Probability/base_ParameterSet"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//activities/Probability/probability"/> - </genClasses> - </nestedGenPackages> - <nestedGenPackages xsi:type="genmodel:GenPackage" prefix="Allocations" basePackage="org.eclipse.papyrus.sysml14" - disposableProviderFactory="true" classPackageSuffix="internal.impl" ecorePackage="sysml.ecore#//allocations"> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//allocations/Allocate"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//allocations/Allocate/base_Abstraction"/> - <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//allocations/Allocate/getAllocatedFrom"> - <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//allocations/Allocate/getAllocatedFrom/ref"/> - <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//allocations/Allocate/getAllocatedFrom/result"/> - </genOperations> - <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//allocations/Allocate/getAllocatedTo"> - <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//allocations/Allocate/getAllocatedTo/ref"/> - <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//allocations/Allocate/getAllocatedTo/result"/> - </genOperations> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//allocations/AllocateActivityPartition"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//allocations/AllocateActivityPartition/base_ActivityPartition"/> - </genClasses> - </nestedGenPackages> - <nestedGenPackages xsi:type="genmodel:GenPackage" prefix="Blocks" basePackage="org.eclipse.papyrus.sysml14" - disposableProviderFactory="true" classPackageSuffix="internal.impl" ecorePackage="sysml.ecore#//blocks"> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//blocks/AdjunctProperty"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/AdjunctProperty/base_Property"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/AdjunctProperty/principal"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//blocks/BindingConnector"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/BindingConnector/base_Connector"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//blocks/Block"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/Block/base_Class"/> - <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//blocks/Block/isEncapsulated"/> - <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//blocks/Block/getReferences"/> - <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//blocks/Block/getParts"/> - <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//blocks/Block/getFlowProperties"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//blocks/BoundReference"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/BoundReference/bindingPath"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/BoundReference/boundEnd"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//blocks/EndPathMultiplicity"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/EndPathMultiplicity/base_Property"/> - <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//blocks/EndPathMultiplicity/lower"/> - <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//blocks/EndPathMultiplicity/upper"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//blocks/ClassifierBehaviorProperty"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/ClassifierBehaviorProperty/base_Property"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//blocks/ConnectorProperty"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/ConnectorProperty/base_Property"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/ConnectorProperty/connector"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//blocks/DistributedProperty"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/DistributedProperty/base_Property"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" image="false" ecoreClass="sysml.ecore#//blocks/ElementPropertyPath"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/ElementPropertyPath/base_Element"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/ElementPropertyPath/propertyPath"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//blocks/NestedConnectorEnd"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/NestedConnectorEnd/base_ConnectorEnd"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//blocks/ParticipantProperty"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/ParticipantProperty/base_Property"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/ParticipantProperty/end"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//blocks/PropertySpecificType"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/PropertySpecificType/base_Classifier"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//blocks/ValueType"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/ValueType/base_DataType"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/ValueType/quantityKind"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/ValueType/unit"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" image="false" ecoreClass="sysml.ecore#//blocks/DirectedRelationshipPropertyPath"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/DirectedRelationshipPropertyPath/base_DirectedRelationship"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/DirectedRelationshipPropertyPath/sourceContext"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/DirectedRelationshipPropertyPath/sourcePropertyPath"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/DirectedRelationshipPropertyPath/targetContext"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//blocks/DirectedRelationshipPropertyPath/targetPropertyPath"/> - </genClasses> - </nestedGenPackages> - <nestedGenPackages xsi:type="genmodel:GenPackage" prefix="Constraintblocks" basePackage="org.eclipse.papyrus.sysml14" - disposableProviderFactory="true" classPackageSuffix="internal.impl" ecorePackage="sysml.ecore#//constraintblocks"> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//constraintblocks/ConstraintBlock"> - <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//constraintblocks/ConstraintBlock/getParameters"/> - </genClasses> - </nestedGenPackages> - <nestedGenPackages xsi:type="genmodel:GenPackage" prefix="Deprecatedelements" - basePackage="org.eclipse.papyrus.sysml14" disposableProviderFactory="true" - classPackageSuffix="internal.impl" ecorePackage="sysml.ecore#//deprecatedelements"> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//deprecatedelements/FlowPort"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//deprecatedelements/FlowPort/base_Port"/> - <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//deprecatedelements/FlowPort/direction"/> - <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//deprecatedelements/FlowPort/isAtomic"/> - <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//deprecatedelements/FlowPort/getIcon"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//deprecatedelements/FlowSpecification"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//deprecatedelements/FlowSpecification/base_Interface"/> - <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//deprecatedelements/FlowSpecification/getFlowProperties"/> - </genClasses> - </nestedGenPackages> - <nestedGenPackages xsi:type="genmodel:GenPackage" prefix="Portsandflows" basePackage="org.eclipse.papyrus.sysml14" - disposableProviderFactory="true" classPackageSuffix="internal.impl" ecorePackage="sysml.ecore#//portsandflows"> - <genEnums xsi:type="genmodel:GenEnum" typeSafeEnumCompatible="false" ecoreEnum="sysml.ecore#//portsandflows/FeatureDirection"> - <genEnumLiterals xsi:type="genmodel:GenEnumLiteral" ecoreEnumLiteral="sysml.ecore#//portsandflows/FeatureDirection/provided"/> - <genEnumLiterals xsi:type="genmodel:GenEnumLiteral" ecoreEnumLiteral="sysml.ecore#//portsandflows/FeatureDirection/providedRequired"/> - <genEnumLiterals xsi:type="genmodel:GenEnumLiteral" ecoreEnumLiteral="sysml.ecore#//portsandflows/FeatureDirection/required"/> - </genEnums> - <genEnums xsi:type="genmodel:GenEnum" typeSafeEnumCompatible="false" ecoreEnum="sysml.ecore#//portsandflows/FlowDirection"> - <genEnumLiterals xsi:type="genmodel:GenEnumLiteral" ecoreEnumLiteral="sysml.ecore#//portsandflows/FlowDirection/in"/> - <genEnumLiterals xsi:type="genmodel:GenEnumLiteral" ecoreEnumLiteral="sysml.ecore#//portsandflows/FlowDirection/inout"/> - <genEnumLiterals xsi:type="genmodel:GenEnumLiteral" ecoreEnumLiteral="sysml.ecore#//portsandflows/FlowDirection/out"/> - </genEnums> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//portsandflows/AcceptChangeStructuralFeatureEventAction"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//portsandflows/AcceptChangeStructuralFeatureEventAction/base_AcceptEventAction"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//portsandflows/ChangeStructuralFeatureEvent"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//portsandflows/ChangeStructuralFeatureEvent/base_ChangeEvent"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//portsandflows/ChangeStructuralFeatureEvent/structuralFeature"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//portsandflows/DirectedFeature"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//portsandflows/DirectedFeature/base_Feature"/> - <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//portsandflows/DirectedFeature/featureDirection"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//portsandflows/FlowProperty"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//portsandflows/FlowProperty/base_Property"/> - <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//portsandflows/FlowProperty/direction"/> - <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//portsandflows/FlowProperty/getIcon"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//portsandflows/FullPort"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//portsandflows/FullPort/base_Port"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//portsandflows/InterfaceBlock"/> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//portsandflows/InvocationOnNestedPortAction"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//portsandflows/InvocationOnNestedPortAction/base_InvocationAction"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//portsandflows/InvocationOnNestedPortAction/onNestedPort"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//portsandflows/ItemFlow"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//portsandflows/ItemFlow/base_InformationFlow"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//portsandflows/ItemFlow/itemProperty"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//portsandflows/ProxyPort"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//portsandflows/ProxyPort/base_Port"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//portsandflows/TriggerOnNestedPort"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//portsandflows/TriggerOnNestedPort/base_Trigger"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//portsandflows/TriggerOnNestedPort/onNestedPort"/> - </genClasses> - </nestedGenPackages> - <nestedGenPackages xsi:type="genmodel:GenPackage" prefix="Modelelements" basePackage="org.eclipse.papyrus.sysml14" - disposableProviderFactory="true" classPackageSuffix="internal.impl" ecorePackage="sysml.ecore#//modelelements"> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//modelelements/Conform"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/Conform/base_Generalization"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//modelelements/ElementGroup"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/ElementGroup/base_Comment"/> - <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//modelelements/ElementGroup/criterion.1"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/ElementGroup/member.1"/> - <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//modelelements/ElementGroup/name"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/ElementGroup/orderedMemeber"/> - <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//modelelements/ElementGroup/size.1"/> - <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//modelelements/ElementGroup/allGroups"> - <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//modelelements/ElementGroup/allGroups/e"/> - <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//modelelements/ElementGroup/allGroups/result"/> - </genOperations> - <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//modelelements/ElementGroup/criterion"> - <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//modelelements/ElementGroup/criterion/result"/> - </genOperations> - <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//modelelements/ElementGroup/member"> - <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//modelelements/ElementGroup/member/result"/> - </genOperations> - <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//modelelements/ElementGroup/size"> - <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//modelelements/ElementGroup/size/result"/> - </genOperations> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//modelelements/Expose"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/Expose/base_Dependency"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//modelelements/Problem"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/Problem/base_Comment"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//modelelements/Rationale"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/Rationale/base_Comment"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//modelelements/Stakeholder"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/Stakeholder/base_Classifier"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/Stakeholder/concernList"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EAttribute sysml.ecore#//modelelements/Stakeholder/concern"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//modelelements/View"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/View/base_Class"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/View/stakeholder"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/View/viewPoint"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//modelelements/Viewpoint"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/Viewpoint/base_Class"/> - <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//modelelements/Viewpoint/concern"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/Viewpoint/concernList"/> - <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//modelelements/Viewpoint/language"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/Viewpoint/method"/> - <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//modelelements/Viewpoint/presentation"/> - <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//modelelements/Viewpoint/purpose"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//modelelements/Viewpoint/stakeholder"/> - </genClasses> - </nestedGenPackages> - <nestedGenPackages xsi:type="genmodel:GenPackage" prefix="Requirements" basePackage="org.eclipse.papyrus.sysml14" - disposableProviderFactory="true" classPackageSuffix="internal.impl" ecorePackage="sysml.ecore#//requirements"> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//requirements/Copy"/> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//requirements/Trace"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//requirements/Trace/base_Abstraction"/> - <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//requirements/Trace/getTracedFrom"> - <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//requirements/Trace/getTracedFrom/ref"/> - <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//requirements/Trace/getTracedFrom/result"/> - </genOperations> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//requirements/Requirement"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//requirements/Requirement/base_Class"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//requirements/Requirement/derived"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//requirements/Requirement/derivedFrom"/> - <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//requirements/Requirement/id"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//requirements/Requirement/master"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//requirements/Requirement/refinedBy"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//requirements/Requirement/satisfiedBy"/> - <genFeatures xsi:type="genmodel:GenFeature" createChild="false" ecoreFeature="ecore:EAttribute sysml.ecore#//requirements/Requirement/text"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//requirements/Requirement/tracedTo"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//requirements/Requirement/verifiedBy"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//requirements/DeriveReqt"/> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//requirements/Refine"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//requirements/Refine/base_Abstraction"/> - <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//requirements/Refine/getRefines"> - <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//requirements/Refine/getRefines/ref"/> - <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//requirements/Refine/getRefines/result"/> - </genOperations> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//requirements/Satisfy"> - <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//requirements/Satisfy/getSatisfies"> - <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//requirements/Satisfy/getSatisfies/ref"/> - <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//requirements/Satisfy/getSatisfies/result"/> - </genOperations> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//requirements/TestCase"> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//requirements/TestCase/base_Behavior"/> - <genFeatures xsi:type="genmodel:GenFeature" notify="false" createChild="false" - propertySortChoices="true" ecoreFeature="ecore:EReference sysml.ecore#//requirements/TestCase/base_Operation"/> - </genClasses> - <genClasses xsi:type="genmodel:GenClass" ecoreClass="sysml.ecore#//requirements/Verify"> - <genOperations xsi:type="genmodel:GenOperation" ecoreOperation="sysml.ecore#//requirements/Verify/getVerifies"> - <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//requirements/Verify/getVerifies/ref"/> - <genParameters xsi:type="genmodel:GenParameter" ecoreParameter="sysml.ecore#//requirements/Verify/getVerifies/result"/> - </genOperations> - </genClasses> - </nestedGenPackages> - </genPackages> -</genmodel:GenModel>
diff --git a/core/org.eclipse.papyrus.sysml14/resources/profile/SysML.profile.notation b/core/org.eclipse.papyrus.sysml14/resources/profile/SysML.profile.notation deleted file mode 100644 index ad70fbc..0000000 --- a/core/org.eclipse.papyrus.sysml14/resources/profile/SysML.profile.notation +++ /dev/null
@@ -1,2882 +0,0 @@ -<?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:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"> - <notation:Diagram xmi:id="_wJW_wFFuEeWFqsbjn0GMrw" type="PapyrusUMLProfileDiagram" name="Activities" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_x4EkUFFuEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_x4I1wFFuEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_x4L5EFFuEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_x4L5EVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_x4L5ElFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_x4L5E1FuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x4L5FFFuEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_x4MgIFFuEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_x4MgIVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_x4MgIlFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_x4MgI1FuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x4MgJFFuEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Activities.stereotype_packagedElement_Continuous"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x4EkUVFuEeWFqsbjn0GMrw" x="1256" y="5"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_x61kcFFuEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_x61kclFuEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_x61kc1FuEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_x61kdFFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_x61kdVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_x61kdlFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x61kd1FuEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_x61keFFuEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_x61keVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_x61kelFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_x61ke1FuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x61kfFFuEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Activities.stereotype_packagedElement_ControlOperator"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x61kcVFuEeWFqsbjn0GMrw" x="190" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_x7HRQFFuEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_x7HRQlFuEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_x7HRQ1FuEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_x7HRRFFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_x7HRRVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_x7HRRlFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x7HRR1FuEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_x7HRSFFuEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_x7HRSVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_x7HRSlFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_x7HRS1FuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x7HRTFFuEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Activities.stereotype_packagedElement_Discrete"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x7HRQVFuEeWFqsbjn0GMrw" x="1675" y="3"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_x7Y-EFFuEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_x7ZlIFFuEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_x7ZlIVFuEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_x7ZlIlFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_x7ZlI1FuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_x7ZlJFFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x7ZlJVFuEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_x7ZlJlFuEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_x7ZlJ1FuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_x7ZlKFFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_x7ZlKVFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x7ZlKlFuEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Activities.stereotype_packagedElement_NoBuffer"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x7Y-EVFuEeWFqsbjn0GMrw" x="436" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_x7qD0FFuEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_x7qq4FFuEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_x7qq4VFuEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_x7qq4lFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_x7qq41FuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_x7qq5FFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x7qq5VFuEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_x7qq5lFuEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_x7qq51FuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_x7qq6FFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_x7qq6VFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x7qq6lFuEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Activities.stereotype_packagedElement_Optional"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x7qD0VFuEeWFqsbjn0GMrw" x="596" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_x8ApIFFuEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_x8BQMFFuEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_x8BQMVFuEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_x8BQMlFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_x8BQM1FuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_x8BQNFFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x8BQNVFuEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_x8BQNlFuEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_x8BQN1FuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_x8BQOFFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_x8BQOVFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x8BQOlFuEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Activities.stereotype_packagedElement_Overwrite"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x8ApIVFuEeWFqsbjn0GMrw" x="756" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_x8jbsFFuEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_x8kCwFFuEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_x8kCwVFuEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_x8kCwlFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_x8kCw1FuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_x8kCxFFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x8kCxVFuEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_x8kCxlFuEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_x8kCx1FuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_x8kCyFFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_x8kCyVFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x8kCylFuEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Activities.stereotype_packagedElement_Probability"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x8jbsVFuEeWFqsbjn0GMrw" x="1076" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_x9FnMFFuEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_x9FnMlFuEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_x9FnM1FuEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_x9FnNFFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_x9FnNVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_x9FnNlFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x9FnN1FuEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_x9FnOFFuEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_x9FnOVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_x9FnOlFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_x9FnO1FuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x9FnPFFuEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Activities.stereotype_packagedElement_Rate"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_x9FnMVFuEeWFqsbjn0GMrw" x="1476" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_ygpAMFFuEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_ygpnQFFuEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Behavior"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ygpAMVFuEeWFqsbjn0GMrw" x="116" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_yhZOIFFuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_yhZOIVFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_yhacQFFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Behavior"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_yhZOIlFuEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_yjkYYFFuEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_yjk_cFFuEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Operation"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_yjkYYVFuEeWFqsbjn0GMrw" x="276" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_ykDgkFFuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_ykDgkVFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_ykDgk1FuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Operation"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ykDgklFuEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_yllKkFFuEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_yllKklFuEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ObjectNode"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_yllKkVFuEeWFqsbjn0GMrw" x="436" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_yl8W8FFuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_yl8W8VFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_yl8-AFFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ObjectNode"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_yl8W8lFuEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_ym1u0FFuEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_ym2V4FFuEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Parameter"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ym1u0VFuEeWFqsbjn0GMrw" x="596" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_ynXTQFFuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_ynXTQVFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_ynX6UFFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Parameter"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ynXTQlFuEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_yoWxwFFuEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_yoXY0FFuEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ObjectNode"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_yoWxwVFuEeWFqsbjn0GMrw" x="756" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_yoq60FFuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_yoq60VFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_yoq601FuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ObjectNode"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_yoq60lFuEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_yp3NoFFuEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_yp3NolFuEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ActivityEdge"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_yp3NoVFuEeWFqsbjn0GMrw" x="996" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_yq_PAFFuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_yq_PAVFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_yq_PA1FuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ActivityEdge"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_yq_PAlFuEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_ysRocFFuEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_ysRoclFuEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ParameterSet"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ysRocVFuEeWFqsbjn0GMrw" x="1156" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_yssfMFFuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_yssfMVFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_yssfM1FuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ParameterSet"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_yssfMlFuEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_yt3j4FFuEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_yt4K8FFuEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ActivityEdge"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_yt3j4VFuEeWFqsbjn0GMrw" x="1316" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_yuTBsFFuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_yuTBsVFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_yuTBs1FuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ActivityEdge"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_yuTBslFuEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_yvxoYFFuEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_yvyPcFFuEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ObjectNode"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_yvxoYVFuEeWFqsbjn0GMrw" x="1476" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_ywO7YFFuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_ywO7YVFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_ywO7Y1FuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ObjectNode"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ywO7YlFuEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_yx6WYFFuEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_yx69cFFuEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Parameter"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_yx6WYVFuEeWFqsbjn0GMrw" x="1636" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_yyXCUFFuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_yyXCUVFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_yyXCU1FuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Parameter"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_yyXCUlFuEeWFqsbjn0GMrw" x="200"/> - </children> - <styles xmi:type="notation:StringValueStyle" xmi:id="_wJXm0FFuEeWFqsbjn0GMrw" name="diagram_compatibility_version" stringValue="1.2.0"/> - <styles xmi:type="notation:DiagramStyle" xmi:id="_wJXm0VFuEeWFqsbjn0GMrw"/> - <styles xmi:type="style:PapyrusViewStyle" xmi:id="_wJXm0lFuEeWFqsbjn0GMrw"> - <owner xmi:type="uml:Package" href="SysML.profile.uml#SysML.package_packagedElement_Activities"/> - </styles> - <element xmi:type="uml:Package" href="SysML.profile.uml#SysML.package_packagedElement_Activities"/> - <edges xmi:type="notation:Connector" xmi:id="_yheGoFFuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_ygpAMFFuEeWFqsbjn0GMrw" target="_yhZOIFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_yheGoVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_yhetslFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Behavior"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_yheGolFuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_yhetsFFuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_yhetsVFuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_yiSmAFFuEeWFqsbjn0GMrw" type="Extension_Edge" source="_x61kcFFuEeWFqsbjn0GMrw" target="_ygpAMFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_yiSmAVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_ControlOperator_base_Behavior"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_yiSmAlFuEeWFqsbjn0GMrw" points="[0, 0, 61, -60]$[-61, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zv6PsFFuEeWFqsbjn0GMrw" id="(0.0,0.86)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zv6PsVFuEeWFqsbjn0GMrw" id="(1.0,0.54)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_ykEHoFFuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_yjkYYFFuEeWFqsbjn0GMrw" target="_ykDgkFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_ykEHoVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_ykEHpVFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Operation"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ykEHolFuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ykEHo1FuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ykEHpFFuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_ylAi0FFuEeWFqsbjn0GMrw" type="Extension_Edge" source="_x61kcFFuEeWFqsbjn0GMrw" target="_yjkYYFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_ylAi0VFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_ControlOperator_base_Operation"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ylAi0lFuEeWFqsbjn0GMrw" points="[0, 0, -62, -60]$[62, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zwDZoFFuEeWFqsbjn0GMrw" id="(1.0,0.61)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zwDZoVFuEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_yl8-AVFuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_yllKkFFuEeWFqsbjn0GMrw" target="_yl8W8FFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_yl8-AlFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_yl8-BlFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ObjectNode"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_yl8-A1FuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_yl8-BFFuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_yl8-BVFuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_yma4EFFuEeWFqsbjn0GMrw" type="Extension_Edge" source="_x7Y-EFFuEeWFqsbjn0GMrw" target="_yllKkFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_yma4EVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_NoBuffer_base_ObjectNode"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_yma4ElFuEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zun2QFFuEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zupEYFFuEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_ynX6UVFuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_ym1u0FFuEeWFqsbjn0GMrw" target="_ynXTQFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_ynX6UlFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_ynX6VlFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Parameter"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ynX6U1FuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ynX6VFFuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ynX6VVFuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_yoDPwFFuEeWFqsbjn0GMrw" type="Extension_Edge" source="_x7qD0FFuEeWFqsbjn0GMrw" target="_ym1u0FFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_yoDPwVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Optional_base_Parameter"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_yoDPwlFuEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zu6xMFFuEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zu7YQFFuEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_yoq61FFuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_yoWxwFFuEeWFqsbjn0GMrw" target="_yoq60FFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_yoq61VFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_yoq62VFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ObjectNode"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_yoq61lFuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_yoq611FuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_yoq62FFuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_ypW3UFFuEeWFqsbjn0GMrw" type="Extension_Edge" source="_x8ApIFFuEeWFqsbjn0GMrw" target="_yoWxwFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_ypW3UVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Overwrite_base_ObjectNode"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ypW3UlFuEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zvIMkFFuEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zvIzoFFuEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_yq_2EFFuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_yp3NoFFuEeWFqsbjn0GMrw" target="_yq_PAFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_yq_2EVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_yq_2FVFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ActivityEdge"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_yq_2ElFuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_yq_2E1FuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_yq_2FFFuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_yrzuYFFuEeWFqsbjn0GMrw" type="Extension_Edge" source="_x8jbsFFuEeWFqsbjn0GMrw" target="_yp3NoFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_yrzuYVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Probability_base_ActivityEdge"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_yrzuYlFuEeWFqsbjn0GMrw" points="[0, 0, 63, -60]$[-63, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zveK0FFuEeWFqsbjn0GMrw" id="(0.33,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zveK0VFuEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_yssfNFFuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_ysRocFFuEeWFqsbjn0GMrw" target="_yssfMFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_yssfNVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_yssfOVFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ParameterSet"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_yssfNlFuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_yssfN1FuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_yssfOFFuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_ytVYYFFuEeWFqsbjn0GMrw" type="Extension_Edge" source="_x8jbsFFuEeWFqsbjn0GMrw" target="_ysRocFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_ytVYYVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Probability_base_ParameterSet"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ytVYYlFuEeWFqsbjn0GMrw" points="[0, 0, -64, -60]$[64, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zvex4FFuEeWFqsbjn0GMrw" id="(0.66,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zvex4VFuEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_yuTBtFFuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_yt3j4FFuEeWFqsbjn0GMrw" target="_yuTBsFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_yuTBtVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_yuTBuVFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ActivityEdge"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_yuTBtlFuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_yuTBt1FuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_yuTBuFFuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_yvLLcFFuEeWFqsbjn0GMrw" type="Extension_Edge" source="_x9FnMFFuEeWFqsbjn0GMrw" target="_yt3j4FFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_yvLLcVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Rate_base_ActivityEdge"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_yvLLclFuEeWFqsbjn0GMrw" points="[0, 0, 135, -60]$[-135, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zvvQkVFuEeWFqsbjn0GMrw" id="(0.25,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zvvQklFuEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_ywO7ZFFuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_yvxoYFFuEeWFqsbjn0GMrw" target="_ywO7YFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_ywO7ZVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_ywPicFFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ObjectNode"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ywO7ZlFuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ywO7Z1FuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ywO7aFFuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_yxQPEFFuEeWFqsbjn0GMrw" type="Extension_Edge" source="_x9FnMFFuEeWFqsbjn0GMrw" target="_yvxoYFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_yxQPEVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Rate_base_ObjectNode"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_yxQPElFuEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zvv3oFFuEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zvv3oVFuEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_yyXCVFFuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_yx6WYFFuEeWFqsbjn0GMrw" target="_yyXCUFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_yyXCVVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_yyXpYFFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Parameter"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_yyXCVlFuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_yyXCV1FuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_yyXCWFFuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_yzVSsFFuEeWFqsbjn0GMrw" type="Extension_Edge" source="_x9FnMFFuEeWFqsbjn0GMrw" target="_yx6WYFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_yzVSsVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Rate_base_Parameter"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_yzVSslFuEeWFqsbjn0GMrw" points="[0, 0, -135, -60]$[135, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zvupgFFuEeWFqsbjn0GMrw" id="(0.75,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zvvQkFFuEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_A03B4Jd6EeWtVfEGUY_Rog" type="Generalization_Edge" source="_x4EkUFFuEeWFqsbjn0GMrw" target="_x9FnMFFuEeWFqsbjn0GMrw"> - <children xmi:type="notation:DecorationNode" xmi:id="_A05eIJd6EeWtVfEGUY_Rog" type="Generalization_StereotypeLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_A05eIZd6EeWtVfEGUY_Rog" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_A03B4Zd6EeWtVfEGUY_Rog"/> - <element xmi:type="uml:Generalization" href="SysML.profile.uml#SysML.package_packagedElement_Activities.stereotype_packagedElement_Continuous._generalization.SysML.package_packagedElement_Activities.stereotype_packagedElement_Rate"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_A03B4pd6EeWtVfEGUY_Rog" points="[50, 0, -1396, 0]$[1396, 0, -50, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_B7R3YJd6EeWtVfEGUY_Rog" id="(1.0,0.29245283018867924)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_B7XW8Jd6EeWtVfEGUY_Rog" id="(0.0,0.6981132075471698)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_D_oUwJd6EeWtVfEGUY_Rog" type="Generalization_Edge" source="_x7HRQFFuEeWFqsbjn0GMrw" target="_x9FnMFFuEeWFqsbjn0GMrw"> - <children xmi:type="notation:DecorationNode" xmi:id="_D_pi4Jd6EeWtVfEGUY_Rog" type="Generalization_StereotypeLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_D_pi4Zd6EeWtVfEGUY_Rog" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_D_oUwZd6EeWtVfEGUY_Rog"/> - <element xmi:type="uml:Generalization" href="SysML.profile.uml#SysML.package_packagedElement_Activities.stereotype_packagedElement_Discrete._generalization.SysML.package_packagedElement_Activities.stereotype_packagedElement_Rate"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_D_oUwpd6EeWtVfEGUY_Rog" points="[50, 0, -510, 0]$[510, 0, -50, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ERkZUJd6EeWtVfEGUY_Rog" id="(0.0,0.4528301886792453)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ERkZUZd6EeWtVfEGUY_Rog" id="(1.0,0.5)"/> - </edges> - </notation:Diagram> - <notation:Diagram xmi:id="_3aZkcFFuEeWFqsbjn0GMrw" type="PapyrusUMLProfileDiagram" name="Blocks" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_7t4L0FFuEeWFqsbjn0GMrw" type="1026"> - <children xmi:type="notation:DecorationNode" xmi:id="_7t4y4FFuEeWFqsbjn0GMrw" type="1034"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_7t4y4VFuEeWFqsbjn0GMrw" type="1071"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7t4y4lFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7t4y41FuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7t4y5FFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7t4y5VFuEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_7t4y5lFuEeWFqsbjn0GMrw" type="1019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7t4y51FuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7t4y6FFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7t4y6VFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7t4y6lFuEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_AdjunctProperty"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7t4L0VFuEeWFqsbjn0GMrw" x="195" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_7uBVwFFuEeWFqsbjn0GMrw" type="1026"> - <children xmi:type="notation:DecorationNode" xmi:id="_7uB80FFuEeWFqsbjn0GMrw" type="1034"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_7uB80VFuEeWFqsbjn0GMrw" type="1071"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7uB80lFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7uB801FuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7uB81FFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7uB81VFuEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_7uB81lFuEeWFqsbjn0GMrw" type="1019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7uB811FuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7uB82FFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7uB82VFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7uB82lFuEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_BindingConnector"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7uBVwVFuEeWFqsbjn0GMrw" x="365" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_7uJ4oFFuEeWFqsbjn0GMrw" type="1026"> - <children xmi:type="notation:DecorationNode" xmi:id="_7uKfsFFuEeWFqsbjn0GMrw" type="1034"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_7uKfsVFuEeWFqsbjn0GMrw" type="1071"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7uKfslFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7uKfs1FuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7uKftFFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7uKftVFuEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_7uKftlFuEeWFqsbjn0GMrw" type="1019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7uKft1FuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7uKfuFFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7uKfuVFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7uKfulFuEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7uJ4oVFuEeWFqsbjn0GMrw" x="547" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_7uR0cFFuEeWFqsbjn0GMrw" type="1026"> - <children xmi:type="notation:DecorationNode" xmi:id="_7uR0clFuEeWFqsbjn0GMrw" type="1034"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_7uR0c1FuEeWFqsbjn0GMrw" type="1071"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7uR0dFFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7uR0dVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7uR0dlFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7uR0d1FuEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_7uR0eFFuEeWFqsbjn0GMrw" type="1019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7uR0eVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7uR0elFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7uR0e1FuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7uR0fFFuEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_BoundReference"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7uR0cVFuEeWFqsbjn0GMrw" x="1193" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_7ublcFFuEeWFqsbjn0GMrw" type="1026"> - <children xmi:type="notation:DecorationNode" xmi:id="_7ublclFuEeWFqsbjn0GMrw" type="1034"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_7ublc1FuEeWFqsbjn0GMrw" type="1071"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7ubldFFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7ubldVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7ubldlFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7ubld1FuEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_7ubleFFuEeWFqsbjn0GMrw" type="1019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7ubleVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7ublelFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7uble1FuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7ublfFFuEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_ClassifierBehaviorProperty"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7ublcVFuEeWFqsbjn0GMrw" x="707" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_7umkkFFuEeWFqsbjn0GMrw" type="1026"> - <children xmi:type="notation:DecorationNode" xmi:id="_7umkklFuEeWFqsbjn0GMrw" type="1034"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_7umkk1FuEeWFqsbjn0GMrw" type="1071"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7umklFFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7umklVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7umkllFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7umkl1FuEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_7umkmFFuEeWFqsbjn0GMrw" type="1019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7umkmVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7umkmlFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7umkm1FuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7umknFFuEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_ConnectorProperty"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7umkkVFuEeWFqsbjn0GMrw" x="943" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_7uyx0FFuEeWFqsbjn0GMrw" type="1026"> - <children xmi:type="notation:DecorationNode" xmi:id="_7uyx0lFuEeWFqsbjn0GMrw" type="1034"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_7uyx01FuEeWFqsbjn0GMrw" type="1071"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7uyx1FFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7uyx1VFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7uyx1lFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7uyx11FuEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_7uyx2FFuEeWFqsbjn0GMrw" type="1019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7uyx2VFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7uyx2lFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7uyx21FuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7uyx3FFuEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7uyx0VFuEeWFqsbjn0GMrw" x="1427" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_7u-YAFFuEeWFqsbjn0GMrw" type="1026"> - <children xmi:type="notation:DecorationNode" xmi:id="_7u-_EFFuEeWFqsbjn0GMrw" type="1034"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_7u-_EVFuEeWFqsbjn0GMrw" type="1071"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7u-_ElFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7u-_E1FuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7u-_FFFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7u-_FVFuEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_7u-_FlFuEeWFqsbjn0GMrw" type="1019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7u-_F1FuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7u-_GFFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7u-_GVFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7u-_GlFuEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_DistributedProperty"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7u-YAVFuEeWFqsbjn0GMrw" x="2385" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_7vTvMFFuEeWFqsbjn0GMrw" type="1026"> - <children xmi:type="notation:DecorationNode" xmi:id="_7vTvMlFuEeWFqsbjn0GMrw" type="1034"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_7vTvM1FuEeWFqsbjn0GMrw" type="1071"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7vTvNFFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7vTvNVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7vTvNlFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7vTvN1FuEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_7vTvOFFuEeWFqsbjn0GMrw" type="1019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7vTvOVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7vTvOlFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7vTvO1FuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7vTvPFFuEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_ElementPropertyPath"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7vTvMVFuEeWFqsbjn0GMrw" x="1196" y="570"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_7vhxoFFuEeWFqsbjn0GMrw" type="1026"> - <children xmi:type="notation:DecorationNode" xmi:id="_7vhxolFuEeWFqsbjn0GMrw" type="1034"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_7vhxo1FuEeWFqsbjn0GMrw" type="1071"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7vhxpFFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7vhxpVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7viYsFFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7viYsVFuEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_7viYslFuEeWFqsbjn0GMrw" type="1019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7viYs1FuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7viYtFFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7viYtVFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7viYtlFuEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_EndPathMultiplicity"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7vhxoVFuEeWFqsbjn0GMrw" x="2582" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_7vyQUFFuEeWFqsbjn0GMrw" type="1026"> - <children xmi:type="notation:DecorationNode" xmi:id="_7vyQUlFuEeWFqsbjn0GMrw" type="1034"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_7vyQU1FuEeWFqsbjn0GMrw" type="1071"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7vyQVFFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7vyQVVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7vyQVlFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7vyQV1FuEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_7vyQWFFuEeWFqsbjn0GMrw" type="1019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7vyQWVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7vyQWlFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7vyQW1FuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7vyQXFFuEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_NestedConnectorEnd"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7vyQUVFuEeWFqsbjn0GMrw" x="2776" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_7wD9IFFuEeWFqsbjn0GMrw" type="1026"> - <children xmi:type="notation:DecorationNode" xmi:id="_7wD9IlFuEeWFqsbjn0GMrw" type="1034"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_7wD9I1FuEeWFqsbjn0GMrw" type="1071"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7wD9JFFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7wD9JVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7wD9JlFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7wD9J1FuEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_7wD9KFFuEeWFqsbjn0GMrw" type="1019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7wD9KVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7wD9KlFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7wD9K1FuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7wD9LFFuEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_ParticipantProperty"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7wD9IVFuEeWFqsbjn0GMrw" x="2980" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_7wYtQFFuEeWFqsbjn0GMrw" type="1026"> - <children xmi:type="notation:DecorationNode" xmi:id="_7wYtQlFuEeWFqsbjn0GMrw" type="1034"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_7wZUUFFuEeWFqsbjn0GMrw" type="1071"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7wZUUVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7wZUUlFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7wZUU1FuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7wZUVFFuEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_7wZUVVFuEeWFqsbjn0GMrw" type="1019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7wZUVlFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7wZUV1FuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7wZUWFFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7wZUWVFuEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_PropertySpecificType"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7wYtQVFuEeWFqsbjn0GMrw" x="3171" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_7wurgFFuEeWFqsbjn0GMrw" type="1026"> - <children xmi:type="notation:DecorationNode" xmi:id="_7wurglFuEeWFqsbjn0GMrw" type="1034"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_7wurg1FuEeWFqsbjn0GMrw" type="1071"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7wurhFFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7wurhVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7wurhlFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7wurh1FuEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_7wuriFFuEeWFqsbjn0GMrw" type="1019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_7wuriVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_7wurilFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_7wuri1FuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7wurjFFuEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_7wurgVFuEeWFqsbjn0GMrw" x="2139" y="300"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8aGYoFFuEeWFqsbjn0GMrw" type="1031"> - <children xmi:type="notation:DecorationNode" xmi:id="_8aHmwFFuEeWFqsbjn0GMrw" type="1084"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8aGYoVFuEeWFqsbjn0GMrw" x="200" y="300"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8amH4FFuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_8amH4VFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8amH41FuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8amH4lFuEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8cHK0FFuEeWFqsbjn0GMrw" type="1031"> - <children xmi:type="notation:DecorationNode" xmi:id="_8cHK0lFuEeWFqsbjn0GMrw" type="1084"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Classifier"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8cHK0VFuEeWFqsbjn0GMrw" x="1579" y="300"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8cas0FFuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_8cas0VFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8cas01FuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Classifier"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8cas0lFuEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8dfq4FFuEeWFqsbjn0GMrw" type="1031"> - <children xmi:type="notation:DecorationNode" xmi:id="_8dgR8FFuEeWFqsbjn0GMrw" type="1084"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8dfq4VFuEeWFqsbjn0GMrw" x="1216" y="300"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8dzz8FFuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_8dzz8VFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8dzz81FuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8dzz8lFuEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8gPc4FFuEeWFqsbjn0GMrw" type="1031"> - <children xmi:type="notation:DecorationNode" xmi:id="_8gPc4lFuEeWFqsbjn0GMrw" type="1084"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#InstanceSpecification"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8gPc4VFuEeWFqsbjn0GMrw" x="2119" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8ghJs1FuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_8ghJtFFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8ghJtlFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#InstanceSpecification"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8ghJtVFuEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8iT5cFFuEeWFqsbjn0GMrw" type="1031"> - <children xmi:type="notation:DecorationNode" xmi:id="_8iT5clFuEeWFqsbjn0GMrw" type="1084"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8iT5cVFuEeWFqsbjn0GMrw" x="30" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8ik_M1FuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_8ik_NFFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8ik_NlFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8ik_NVFuEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8kEM8FFuEeWFqsbjn0GMrw" type="1031"> - <children xmi:type="notation:DecorationNode" xmi:id="_8kEM8lFuEeWFqsbjn0GMrw" type="1084"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Connector"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8kEM8VFuEeWFqsbjn0GMrw" x="376" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8kXH41FuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_8kXH5FFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8kXH5lFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Connector"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8kXH5VFuEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8l9DUFFuEeWFqsbjn0GMrw" type="1031"> - <children xmi:type="notation:DecorationNode" xmi:id="_8l9qYFFuEeWFqsbjn0GMrw" type="1084"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8l9DUVFuEeWFqsbjn0GMrw" x="547" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8mRzcFFuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_8mRzcVFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8mRzc1FuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8mRzclFuEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8npscFFuEeWFqsbjn0GMrw" type="1031"> - <children xmi:type="notation:DecorationNode" xmi:id="_8npsclFuEeWFqsbjn0GMrw" type="1084"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8npscVFuEeWFqsbjn0GMrw" x="745" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8n8nYFFuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_8n8nYVFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8n8nY1FuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8n8nYlFuEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8pZY4FFuEeWFqsbjn0GMrw" type="1031"> - <children xmi:type="notation:DecorationNode" xmi:id="_8pZY4lFuEeWFqsbjn0GMrw" type="1084"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8pZY4VFuEeWFqsbjn0GMrw" x="956" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8ps64FFuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_8ps64VFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8ps641FuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8ps64lFuEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8rBJgFFuEeWFqsbjn0GMrw" type="1031"> - <children xmi:type="notation:DecorationNode" xmi:id="_8rBwkFFuEeWFqsbjn0GMrw" type="1084"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DirectedRelationship"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8rBJgVFuEeWFqsbjn0GMrw" x="1840" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8rTdY1FuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_8rTdZFFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8rTdZlFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DirectedRelationship"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8rTdZVFuEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8snsAFFuEeWFqsbjn0GMrw" type="1031"> - <children xmi:type="notation:DecorationNode" xmi:id="_8snsAlFuEeWFqsbjn0GMrw" type="1084"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8snsAVFuEeWFqsbjn0GMrw" x="2401" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8s-4Y1FuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_8s-4ZFFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8s_fcFFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8s-4ZVFuEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8uU8MFFuEeWFqsbjn0GMrw" type="1031"> - <children xmi:type="notation:DecorationNode" xmi:id="_8uU8MlFuEeWFqsbjn0GMrw" type="1084"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8uU8MVFuEeWFqsbjn0GMrw" x="1216" y="730"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8un3I1FuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_8un3JFFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8un3JlFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8un3JVFuEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8v-iAFFuEeWFqsbjn0GMrw" type="1031"> - <children xmi:type="notation:DecorationNode" xmi:id="_8v_JEFFuEeWFqsbjn0GMrw" type="1084"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8v-iAVFuEeWFqsbjn0GMrw" x="2597" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8wRc8lFuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_8wRc81FuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8wRc9VFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8wRc9FFuEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8xuOcFFuEeWFqsbjn0GMrw" type="1031"> - <children xmi:type="notation:DecorationNode" xmi:id="_8xuOclFuEeWFqsbjn0GMrw" type="1084"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ConnectorEnd"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8xuOcVFuEeWFqsbjn0GMrw" x="2797" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8yEMs1FuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_8yEMtFFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8yEzwFFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ConnectorEnd"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8yEMtVFuEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8zl2sFFuEeWFqsbjn0GMrw" type="1031"> - <children xmi:type="notation:DecorationNode" xmi:id="_8zl2slFuEeWFqsbjn0GMrw" type="1084"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8zl2sVFuEeWFqsbjn0GMrw" x="2995" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_8z7N4FFuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_8z7N4VFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8z7N41FuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_8z7N4lFuEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_81y2IFFuEeWFqsbjn0GMrw" type="1031"> - <children xmi:type="notation:DecorationNode" xmi:id="_81zdMFFuEeWFqsbjn0GMrw" type="1084"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Classifier"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_81y2IVFuEeWFqsbjn0GMrw" x="3192" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_82NF0FFuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_82NF0VFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_82NF01FuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Classifier"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_82NF0lFuEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_84Df8FFuEeWFqsbjn0GMrw" type="1031"> - <children xmi:type="notation:DecorationNode" xmi:id="_84EHAFFuEeWFqsbjn0GMrw" type="1084"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DataType"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_84Df8VFuEeWFqsbjn0GMrw" x="2139" y="460"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_84Vz01FuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_84Vz1FFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_84Wa4FFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DataType"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_84Vz1VFuEeWFqsbjn0GMrw" x="200"/> - </children> - <styles xmi:type="notation:StringValueStyle" xmi:id="_3aZkcVFuEeWFqsbjn0GMrw" name="diagram_compatibility_version" stringValue="1.1.0"/> - <styles xmi:type="notation:DiagramStyle" xmi:id="_3aZkclFuEeWFqsbjn0GMrw"/> - <styles xmi:type="style:PapyrusViewStyle" xmi:id="_3aZkc1FuEeWFqsbjn0GMrw"> - <owner xmi:type="uml:Package" href="SysML.profile.uml#SysML.package_packagedElement_Blocks"/> - </styles> - <element xmi:type="uml:Package" href="SysML.profile.uml#SysML.package_packagedElement_Blocks"/> - <edges xmi:type="notation:Connector" xmi:id="_8amH5FFuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_8aGYoFFuEeWFqsbjn0GMrw" target="_8amH4FFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_8amH5VFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8amH6VFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8amH5lFuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8amH51FuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8amH6FFuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8bKIkFFuEeWFqsbjn0GMrw" type="4001" source="_7t4L0FFuEeWFqsbjn0GMrw" target="_8aGYoFFuEeWFqsbjn0GMrw"> - <children xmi:type="notation:DecorationNode" xmi:id="_8bKvoFFuEeWFqsbjn0GMrw" type="6001"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8bKvoVFuEeWFqsbjn0GMrw" y="60"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8bKvolFuEeWFqsbjn0GMrw" type="6002"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8bKvo1FuEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8bKvpFFuEeWFqsbjn0GMrw" type="6003"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8bLWsFFuEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8bLWsVFuEeWFqsbjn0GMrw" type="6005"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8bLWslFuEeWFqsbjn0GMrw" y="-20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8bLWs1FuEeWFqsbjn0GMrw" type="6033"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8bLWtFFuEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8bLWtVFuEeWFqsbjn0GMrw" type="6034"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8bLWtlFuEeWFqsbjn0GMrw" y="-20"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_8bKIkVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Association" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.association_packagedElement_A_adjunctProperty_principal"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8bKIklFuEeWFqsbjn0GMrw" points="[0, 0, 0, -170]$[0, 170, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9f5jEFFuEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9f5jEVFuEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8cas1FFuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_8cHK0FFuEeWFqsbjn0GMrw" target="_8cas0FFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_8cas1VFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8cbT4lFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Classifier"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8cas1lFuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8cbT4FFuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8cbT4VFuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8c-GcFFuEeWFqsbjn0GMrw" type="4001" source="_7uyx0FFuEeWFqsbjn0GMrw" target="_8cHK0FFuEeWFqsbjn0GMrw"> - <children xmi:type="notation:DecorationNode" xmi:id="_8c-Gc1FuEeWFqsbjn0GMrw" type="6001"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8c-GdFFuEeWFqsbjn0GMrw" y="60"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8c-GdVFuEeWFqsbjn0GMrw" type="6002"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8c-GdlFuEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8c-tgFFuEeWFqsbjn0GMrw" type="6003"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8c-tgVFuEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8c-tglFuEeWFqsbjn0GMrw" type="6005"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8c-tg1FuEeWFqsbjn0GMrw" y="-20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8c-thFFuEeWFqsbjn0GMrw" type="6033"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8c-thVFuEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8c-thlFuEeWFqsbjn0GMrw" type="6034"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8c-th1FuEeWFqsbjn0GMrw" y="-20"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_8c-GcVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Association" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_sourceContext"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8c-GclFuEeWFqsbjn0GMrw" points="[0, 0, -72, -170]$[0, 109, -72, -61]$[72, 170, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9gA30FFuEeWFqsbjn0GMrw" id="(1.0,0.91)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9gBe4FFuEeWFqsbjn0GMrw" id="(0.0,0.06)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8dzz9FFuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_8dfq4FFuEeWFqsbjn0GMrw" target="_8dzz8FFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_8dzz9VFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8dzz-VFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8dzz9lFuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8dzz91FuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8dzz-FFuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8eS8IFFuEeWFqsbjn0GMrw" type="4001" source="_7uyx0FFuEeWFqsbjn0GMrw" target="_8dfq4FFuEeWFqsbjn0GMrw"> - <children xmi:type="notation:DecorationNode" xmi:id="_8eS8I1FuEeWFqsbjn0GMrw" type="6001"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8eS8JFFuEeWFqsbjn0GMrw" y="60"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8eTjMFFuEeWFqsbjn0GMrw" type="6002"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8eTjMVFuEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8eTjMlFuEeWFqsbjn0GMrw" type="6003"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8eTjM1FuEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8eTjNFFuEeWFqsbjn0GMrw" type="6005"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8eTjNVFuEeWFqsbjn0GMrw" y="-20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8eTjNlFuEeWFqsbjn0GMrw" type="6033"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8eTjN1FuEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8eUKQFFuEeWFqsbjn0GMrw" type="6034"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8eUKQVFuEeWFqsbjn0GMrw" y="-20"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_8eS8IVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Association" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_sourcePropertyPath"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8eS8IlFuEeWFqsbjn0GMrw" points="[0, 0, 220, -170]$[-144, 60, 76, -110]$[-146, 109, 74, -61]$[-220, 170, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9gLP4lFuEeWFqsbjn0GMrw" id="(1.0,0.82)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9gL28FFuEeWFqsbjn0GMrw" id="(0.0,0.2)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8ewPIFFuEeWFqsbjn0GMrw" type="4001" source="_7uyx0FFuEeWFqsbjn0GMrw" target="_8cHK0FFuEeWFqsbjn0GMrw"> - <children xmi:type="notation:DecorationNode" xmi:id="_8ewPI1FuEeWFqsbjn0GMrw" type="6001"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8ewPJFFuEeWFqsbjn0GMrw" y="60"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8ewPJVFuEeWFqsbjn0GMrw" type="6002"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8ewPJlFuEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8ew2MFFuEeWFqsbjn0GMrw" type="6003"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8ew2MVFuEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8ew2MlFuEeWFqsbjn0GMrw" type="6005"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8ew2M1FuEeWFqsbjn0GMrw" y="-20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8ew2NFFuEeWFqsbjn0GMrw" type="6033"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8ew2NVFuEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8ew2NlFuEeWFqsbjn0GMrw" type="6034"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8ew2N1FuEeWFqsbjn0GMrw" y="-20"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_8ewPIVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Association" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_targetContext"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8ewPIlFuEeWFqsbjn0GMrw" points="[0, 0, -69, -170]$[142, 60, 73, -110]$[142, 109, 73, -61]$[69, 170, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9gBe4VFuEeWFqsbjn0GMrw" id="(1.0,0.94)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9gBe4lFuEeWFqsbjn0GMrw" id="(0.0,0.14)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8fM7EFFuEeWFqsbjn0GMrw" type="4001" source="_7uyx0FFuEeWFqsbjn0GMrw" target="_8dfq4FFuEeWFqsbjn0GMrw"> - <children xmi:type="notation:DecorationNode" xmi:id="_8fNiIFFuEeWFqsbjn0GMrw" type="6001"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8fNiIVFuEeWFqsbjn0GMrw" y="60"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8fNiIlFuEeWFqsbjn0GMrw" type="6002"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8fNiI1FuEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8fNiJFFuEeWFqsbjn0GMrw" type="6003"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8fNiJVFuEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8fNiJlFuEeWFqsbjn0GMrw" type="6005"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8fNiJ1FuEeWFqsbjn0GMrw" y="-20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8fNiKFFuEeWFqsbjn0GMrw" type="6033"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8fNiKVFuEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8fNiKlFuEeWFqsbjn0GMrw" type="6034"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8fOJMFFuEeWFqsbjn0GMrw" y="-20"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_8fM7EVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Association" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_targetPropertyPath"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8fM7ElFuEeWFqsbjn0GMrw" points="[0, 0, 215, -170]$[-287, 60, -72, -110]$[-287, 109, -72, -61]$[-215, 170, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9gLP4FFuEeWFqsbjn0GMrw" id="(1.0,0.79)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9gLP4VFuEeWFqsbjn0GMrw" id="(0.0,0.1)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8fufgFFuEeWFqsbjn0GMrw" type="4001" source="_8dfq4FFuEeWFqsbjn0GMrw" target="_7vTvMFFuEeWFqsbjn0GMrw"> - <children xmi:type="notation:DecorationNode" xmi:id="_8fufg1FuEeWFqsbjn0GMrw" type="6001"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8fvGkFFuEeWFqsbjn0GMrw" y="60"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8fvGkVFuEeWFqsbjn0GMrw" type="6002"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8fvGklFuEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8fvGk1FuEeWFqsbjn0GMrw" type="6003"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8fvGlFFuEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8fvGlVFuEeWFqsbjn0GMrw" type="6005"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8fvGllFuEeWFqsbjn0GMrw" y="-20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8fvGl1FuEeWFqsbjn0GMrw" type="6033"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8fvGmFFuEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8fvGmVFuEeWFqsbjn0GMrw" type="6034"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8fvGmlFuEeWFqsbjn0GMrw" y="-20"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_8fufgVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Association" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.association_packagedElement_A_elementPropertyPath_propertyPath"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8fufglFuEeWFqsbjn0GMrw" points="[0, 0, 0, -220]$[0, 220, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9gKo0FFuEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9gKo0VFuEeWFqsbjn0GMrw" id="(0.49645390070921985,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8ghwwFFuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_8gPc4FFuEeWFqsbjn0GMrw" target="_8ghJs1FuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_8ghwwVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8ghwxVFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#InstanceSpecification"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8ghwwlFuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8ghww1FuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8ghwxFFuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8hHmoFFuEeWFqsbjn0GMrw" type="4001" source="_8gPc4FFuEeWFqsbjn0GMrw" target="_7wurgFFuEeWFqsbjn0GMrw"> - <children xmi:type="notation:DecorationNode" xmi:id="_8hHmo1FuEeWFqsbjn0GMrw" type="6001"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8hINsFFuEeWFqsbjn0GMrw" y="60"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8hINsVFuEeWFqsbjn0GMrw" type="6002"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8hINslFuEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8hINs1FuEeWFqsbjn0GMrw" type="6003"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8hINtFFuEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8hINtVFuEeWFqsbjn0GMrw" type="6005"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8hINtlFuEeWFqsbjn0GMrw" y="-20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8hINt1FuEeWFqsbjn0GMrw" type="6033"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8hINuFFuEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8hINuVFuEeWFqsbjn0GMrw" type="6034"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8hINulFuEeWFqsbjn0GMrw" y="-20"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_8hHmoVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Association" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.association_packagedElement_A_valueType_quantityKind"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8hHmolFuEeWFqsbjn0GMrw" points="[0, 0, -6, -220]$[-66, 110, -72, -110]$[-66, 159, -72, -61]$[6, 220, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9fxnQFFuEeWFqsbjn0GMrw" id="(0.3706293706293706,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9fxnQVFuEeWFqsbjn0GMrw" id="(0.33,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8hwf0FFuEeWFqsbjn0GMrw" type="4001" source="_8gPc4FFuEeWFqsbjn0GMrw" target="_7wurgFFuEeWFqsbjn0GMrw"> - <children xmi:type="notation:DecorationNode" xmi:id="_8hxG4FFuEeWFqsbjn0GMrw" type="6001"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8hxG4VFuEeWFqsbjn0GMrw" y="60"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8hxG4lFuEeWFqsbjn0GMrw" type="6002"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8hxG41FuEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8hxG5FFuEeWFqsbjn0GMrw" type="6003"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8hxG5VFuEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8hxG5lFuEeWFqsbjn0GMrw" type="6005"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8hxG51FuEeWFqsbjn0GMrw" y="-20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8hxG6FFuEeWFqsbjn0GMrw" type="6033"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8hxG6VFuEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_8hxt8FFuEeWFqsbjn0GMrw" type="6034"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_8hxt8VFuEeWFqsbjn0GMrw" y="-20"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_8hwf0VFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Association" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.association_packagedElement_A_valueType_unit"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8hwf0lFuEeWFqsbjn0GMrw" points="[0, 0, 9, -220]$[65, 110, 74, -110]$[65, 159, 74, -61]$[-9, 220, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9fyOUFFuEeWFqsbjn0GMrw" id="(0.6013986013986014,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9fyOUVFuEeWFqsbjn0GMrw" id="(0.66,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8ik_N1FuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_8iT5cFFuEeWFqsbjn0GMrw" target="_8ik_M1FuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_8ik_OFFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8ilmQFFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8ik_OVFuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8ik_OlFuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8ik_O1FuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8jgzUFFuEeWFqsbjn0GMrw" type="1013" source="_7t4L0FFuEeWFqsbjn0GMrw" target="_8iT5cFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_8jgzUVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_AdjunctProperty_base_Property"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8jgzUlFuEeWFqsbjn0GMrw" points="[0, 0, 142, -60]$[-142, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9gSkoFFuEeWFqsbjn0GMrw" id="(0.24545454545454545,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9gSkoVFuEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8kXH51FuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_8kEM8FFuEeWFqsbjn0GMrw" target="_8kXH41FuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_8kXH6FFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8kXu8VFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Connector"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8kXH6VFuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8kXH6lFuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8kXu8FFuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8lPRoFFuEeWFqsbjn0GMrw" type="1013" source="_7uBVwFFuEeWFqsbjn0GMrw" target="_8kEM8FFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_8lPRoVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_BindingConnector_base_Connector"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8lPRolFuEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9gYrQFFuEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9gZSUFFuEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8mRzdFFuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_8l9DUFFuEeWFqsbjn0GMrw" target="_8mRzcFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_8mRzdVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8mRzeVFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8mRzdlFuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8mRzd1FuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8mRzeFFuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8nFrwFFuEeWFqsbjn0GMrw" type="1013" source="_7uJ4oFFuEeWFqsbjn0GMrw" target="_8l9DUFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_8nFrwVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_Block_base_Class"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8nFrwlFuEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9fjk0FFuEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9fjk0VFuEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8n8nZFFuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_8npscFFuEeWFqsbjn0GMrw" target="_8n8nYFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_8n8nZVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8n8naVFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8n8nZlFuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8n8nZ1FuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8n8naFFuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8o5poFFuEeWFqsbjn0GMrw" type="1013" source="_7ublcFFuEeWFqsbjn0GMrw" target="_8npscFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_8o5poVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ClassifierBehaviorProperty_base_Property"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8o5polFuEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9gicQFFuEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9gicQVFuEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8ps65FFuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_8pZY4FFuEeWFqsbjn0GMrw" target="_8ps64FFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_8ps65VFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8ps66VFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8ps65lFuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8ps651FuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8ps66FFuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8qdI0FFuEeWFqsbjn0GMrw" type="1013" source="_7umkkFFuEeWFqsbjn0GMrw" target="_8pZY4FFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_8qdI0VFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ConnectorProperty_base_Property"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8qdI0lFuEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9goi4FFuEeWFqsbjn0GMrw" id="(0.49606299212598426,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9goi4VFuEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8rTdZ1FuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_8rBJgFFuEeWFqsbjn0GMrw" target="_8rTdY1FuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_8rTdaFFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8rUEcFFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DirectedRelationship"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8rTdaVFuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8rTdalFuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8rTda1FuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8sFggFFuEeWFqsbjn0GMrw" type="1013" source="_7uyx0FFuEeWFqsbjn0GMrw" target="_8rBJgFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_8sFggVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8sFgglFuEeWFqsbjn0GMrw" points="[0, 0, -296, -60]$[296, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9h4gEFFuEeWFqsbjn0GMrw" id="(1.0,0.94)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9h5HIFFuEeWFqsbjn0GMrw" id="(0.0,0.22)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8s_fcVFuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_8snsAFFuEeWFqsbjn0GMrw" target="_8s-4Y1FuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_8s_fclFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8s_fdlFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8s_fc1FuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8s_fdFFuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8s_fdVFuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8tyJoFFuEeWFqsbjn0GMrw" type="1013" source="_7u-YAFFuEeWFqsbjn0GMrw" target="_8snsAFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_8tyJoVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_DistributedProperty_base_Property"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8tyJolFuEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9gv3oFFuEeWFqsbjn0GMrw" id="(0.49624060150375937,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9gv3oVFuEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8un3J1FuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_8uU8MFFuEeWFqsbjn0GMrw" target="_8un3I1FuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_8un3KFFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8uoeMFFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8un3KVFuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8un3KlFuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8un3K1FuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8vbIYFFuEeWFqsbjn0GMrw" type="1013" source="_7vTvMFFuEeWFqsbjn0GMrw" target="_8uU8MFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_8vbIYVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ElementPropertyPath_base_Element"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8vbIYlFuEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9g62wFFuEeWFqsbjn0GMrw" id="(0.49645390070921985,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9g7d0FFuEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8wRc9lFuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_8v-iAFFuEeWFqsbjn0GMrw" target="_8wRc8lFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_8wRc91FuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8wRc-1FuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8wRc-FFuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8wRc-VFuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8wRc-lFuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8xF8UFFuEeWFqsbjn0GMrw" type="1013" source="_7vhxoFFuEeWFqsbjn0GMrw" target="_8v-iAFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_8xF8UVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_EndPathMultiplicity_base_Property"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8xF8UlFuEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9hEAsFFuEeWFqsbjn0GMrw" id="(0.4961832061068702,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9hEnwFFuEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8yEzwVFuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_8xuOcFFuEeWFqsbjn0GMrw" target="_8yEMs1FuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_8yEzwlFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8yEzxlFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ConnectorEnd"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8yEzw1FuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8yEzxFFuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8yEzxVFuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8y9kkFFuEeWFqsbjn0GMrw" type="1013" source="_7vyQUFFuEeWFqsbjn0GMrw" target="_8xuOcFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_8y9kkVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_NestedConnectorEnd_base_ConnectorEnd"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8y9kklFuEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9hL8gFFuEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9hL8gVFuEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_8z7N5FFuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_8zl2sFFuEeWFqsbjn0GMrw" target="_8z7N4FFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_8z7N5VFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_8z708FFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_8z7N5lFuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8z7N51FuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_8z7N6FFuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_81GSkFFuEeWFqsbjn0GMrw" type="1013" source="_7wD9IFFuEeWFqsbjn0GMrw" target="_8zl2sFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_81GSkVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ParticipantProperty_base_Property"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_81GSklFuEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9hRcEFFuEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9hSDIFFuEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_82NF1FFuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_81y2IFFuEeWFqsbjn0GMrw" target="_82NF0FFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_82NF1VFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_82NF2VFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Classifier"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_82NF1lFuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_82NF11FuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_82NF2FFuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_83Z_sFFuEeWFqsbjn0GMrw" type="1013" source="_7wYtQFFuEeWFqsbjn0GMrw" target="_81y2IFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_83Z_sVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_PropertySpecificType_base_Classifier"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_83Z_slFuEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9hXisFFuEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9hYJwFFuEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_84Wa4VFuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_84Df8FFuEeWFqsbjn0GMrw" target="_84Vz01FuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_84Wa4lFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_84Wa5lFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DataType"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_84Wa41FuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_84Wa5FFuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_84Wa5VFuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_85VSUFFuEeWFqsbjn0GMrw" type="1013" source="_7wurgFFuEeWFqsbjn0GMrw" target="_84Df8FFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_85VSUVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ValueType_base_DataType"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_85VSUlFuEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9fxnQlFuEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_9fxnQ1FuEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - </notation:Diagram> - <notation:Diagram xmi:id="_4nr28FFuEeWFqsbjn0GMrw" type="PapyrusUMLProfileDiagram" name="Allocations" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_5CJlYFFuEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_5CKMcFFuEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_5CKzgFFuEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_5CKzgVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_5CKzglFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_5CKzg1FuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5CKzhFFuEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_5CKzhVFuEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_5CKzhlFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_5CKzh1FuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_5CKziFFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5CKziVFuEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Allocations.stereotype_packagedElement_Allocate"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5CJlYVFuEeWFqsbjn0GMrw" x="30" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_5ChY0FFuEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_5Ch_4FFuEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_5Ch_4VFuEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_5Ch_4lFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_5Ch_41FuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_5Ch_5FFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5Ch_5VFuEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_5Ch_5lFuEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_5Ch_51FuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_5Ch_6FFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_5Ch_6VFuEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5Ch_6lFuEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Allocations.stereotype_packagedElement_AllocateActivityPartition"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5ChY0VFuEeWFqsbjn0GMrw" x="190" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_5ZEQkFFuEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_5ZE3oFFuEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ActivityPartition"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5ZEQkVFuEeWFqsbjn0GMrw" x="217" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_5Zr7oFFuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_5Zr7oVFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_5Zr7o1FuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ActivityPartition"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5Zr7olFuEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_5Z-PgFFuEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_5Z-PglFuEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Abstraction"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5Z-PgVFuEeWFqsbjn0GMrw" x="30" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_5aOuM1FuEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_5aOuNFFuEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_5aOuNlFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Abstraction"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5aOuNVFuEeWFqsbjn0GMrw" x="200"/> - </children> - <styles xmi:type="notation:StringValueStyle" xmi:id="_4nr28VFuEeWFqsbjn0GMrw" name="diagram_compatibility_version" stringValue="1.2.0"/> - <styles xmi:type="notation:DiagramStyle" xmi:id="_4nr28lFuEeWFqsbjn0GMrw"/> - <styles xmi:type="style:PapyrusViewStyle" xmi:id="_4nr281FuEeWFqsbjn0GMrw"> - <owner xmi:type="uml:Package" href="SysML.profile.uml#SysML.package_packagedElement_Allocations"/> - </styles> - <element xmi:type="uml:Package" href="SysML.profile.uml#SysML.package_packagedElement_Allocations"/> - <edges xmi:type="notation:Connector" xmi:id="_5Zr7pFFuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_5ZEQkFFuEeWFqsbjn0GMrw" target="_5Zr7oFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_5Zr7pVFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_5Zr7qVFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ActivityPartition"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_5Zr7plFuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_5Zr7p1FuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_5Zr7qFFuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_5Z3h0FFuEeWFqsbjn0GMrw" type="Extension_Edge" source="_5ChY0FFuEeWFqsbjn0GMrw" target="_5ZEQkFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_5Z3h0VFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Allocations.extension_packagedElement_E_extension_AllocateActivityPartition_base_ActivityPartition"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_5Z3h0lFuEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_57mV4FFuEeWFqsbjn0GMrw" id="(1.0,0.6)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_57m88FFuEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_5aOuN1FuEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_5Z-PgFFuEeWFqsbjn0GMrw" target="_5aOuM1FuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_5aOuOFFuEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_5aPVQFFuEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Abstraction"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_5aOuOVFuEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_5aOuOlFuEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_5aOuO1FuEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_5aaUYFFuEeWFqsbjn0GMrw" type="Extension_Edge" source="_5CJlYFFuEeWFqsbjn0GMrw" target="_5Z-PgFFuEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_5aaUYVFuEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Allocations.extension_packagedElement_E_extension_Allocate_base_Abstraction"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_5aaUYlFuEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_57Ib0FFuEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_57JC4FFuEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - </notation:Diagram> - <notation:Diagram xmi:id="_ATWiIFFvEeWFqsbjn0GMrw" type="PapyrusUMLProfileDiagram" name="ConstraintBlocks" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_AjkvcFFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_Ajl9kFFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_Ajl9kVFvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Ajl9klFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_Ajl9k1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_Ajl9lFFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ajl9lVFvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_Ajl9llFvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Ajl9l1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_Ajl9mFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_Ajl9mVFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ajl9mlFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_ConstraintBlocks.stereotype_packagedElement_ConstraintBlock"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_AjlWgFFvEeWFqsbjn0GMrw" x="406" y="241"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_AyhxcFFvEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_AyiYgFFvEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_AyhxcVFvEeWFqsbjn0GMrw" x="281" y="83"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_AzSmcFFvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_AzSmcVFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_AzTNgFFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_AzSmclFvEeWFqsbjn0GMrw" x="200"/> - </children> - <styles xmi:type="notation:StringValueStyle" xmi:id="_ATWiIVFvEeWFqsbjn0GMrw" name="diagram_compatibility_version" stringValue="1.2.0"/> - <styles xmi:type="notation:DiagramStyle" xmi:id="_ATWiIlFvEeWFqsbjn0GMrw"/> - <styles xmi:type="style:PapyrusViewStyle" xmi:id="_ATWiI1FvEeWFqsbjn0GMrw"> - <owner xmi:type="uml:Package" href="SysML.profile.uml#SysML.package_packagedElement_ConstraintBlocks"/> - </styles> - <element xmi:type="uml:Package" href="SysML.profile.uml#SysML.package_packagedElement_ConstraintBlocks"/> - <edges xmi:type="notation:Connector" xmi:id="_AzTNgVFvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_AyhxcFFvEeWFqsbjn0GMrw" target="_AzSmcFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_AzTNglFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_AzTNhlFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_AzTNg1FvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_AzTNhFFvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_AzTNhVFvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_Azk6UFFvEeWFqsbjn0GMrw" type="Extension_Edge" source="_AjkvcFFvEeWFqsbjn0GMrw" target="_AyhxcFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_Azk6UVFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_ConstraintBlocks.extension_packagedElement_E_extension_ConstraintBlock_base_Class"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Azk6UlFvEeWFqsbjn0GMrw" points="[-53, -34, 406, 257]$[-459, -291, 0, 0]"/> - </edges> - </notation:Diagram> - <notation:Diagram xmi:id="_CMq0MFFvEeWFqsbjn0GMrw" type="PapyrusUMLProfileDiagram" name="DeprecatedElements" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_C6zskFFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_C606sFFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_C606sVFvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_C606slFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_C606s1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_C606tFFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_C606tVFvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_C606tlFvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_C606t1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_C606uFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_C606uVFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_C606ulFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_DeprecatedElements.stereotype_packagedElement_FlowPort"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_C6zskVFvEeWFqsbjn0GMrw" x="30" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_C7HOkFFvEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_C7H1oVFvEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_C7H1oFFvEeWFqsbjn0GMrw" x="30" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_C8CboFFvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_C8CboVFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_C8Cbo1FvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_C8CbolFvEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_C8dSYFFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_C8d5cFFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_C8d5cVFvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_C8d5clFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_C8d5c1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_C8d5dFFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_C8d5dVFvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_C8d5dlFvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_C8d5d1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_C8d5eFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_C8d5eVFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_C8d5elFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_DeprecatedElements.stereotype_packagedElement_FlowSpecification"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_C8dSYVFvEeWFqsbjn0GMrw" x="190" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_C8xbcFFvEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_C8yCgFFvEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Interface"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_C8xbcVFvEeWFqsbjn0GMrw" x="200" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_C9U1EFFvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_C9U1EVFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_C9U1E1FvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Interface"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_C9U1ElFvEeWFqsbjn0GMrw" x="200"/> - </children> - <styles xmi:type="notation:StringValueStyle" xmi:id="_CMq0MVFvEeWFqsbjn0GMrw" name="diagram_compatibility_version" stringValue="1.2.0"/> - <styles xmi:type="notation:DiagramStyle" xmi:id="_CMq0MlFvEeWFqsbjn0GMrw"/> - <styles xmi:type="style:PapyrusViewStyle" xmi:id="_CMq0M1FvEeWFqsbjn0GMrw"> - <owner xmi:type="uml:Package" href="SysML.profile.uml#SysML.package_packagedElement_DeprecatedElements"/> - </styles> - <element xmi:type="uml:Package" href="SysML.profile.uml#SysML.package_packagedElement_DeprecatedElements"/> - <edges xmi:type="notation:Connector" xmi:id="_C8CbpFFvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_C7HOkFFvEeWFqsbjn0GMrw" target="_C8CboFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_C8CbpVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_C8DCslFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_C8CbplFvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_C8DCsFFvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_C8DCsVFvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_C8S6UFFvEeWFqsbjn0GMrw" type="Extension_Edge" source="_C6zskFFvEeWFqsbjn0GMrw" target="_C7HOkFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_C8S6UVFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_DeprecatedElements.extension_packagedElement_E_extension_FlowPort_base_Port"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_C8S6UlFvEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DmkmYFFvEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Dml0gFFvEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_C9U1FFFvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_C8xbcFFvEeWFqsbjn0GMrw" target="_C9U1EFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_C9U1FVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_C9U1GVFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Interface"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_C9U1FlFvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_C9U1F1FvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_C9U1GFFvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_C9hCUFFvEeWFqsbjn0GMrw" type="Extension_Edge" source="_C8dSYFFvEeWFqsbjn0GMrw" target="_C8xbcFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_C9hCUVFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_DeprecatedElements.extension_packagedElement_E_extension_FlowSpecification_base_Interface"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_C9hCUlFvEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Dm4vcFFvEeWFqsbjn0GMrw" id="(0.16666666666666666,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Dm5WgFFvEeWFqsbjn0GMrw" id="(0.63,1.0)"/> - </edges> - </notation:Diagram> - <notation:Diagram xmi:id="_Ff3DQFFvEeWFqsbjn0GMrw" type="PapyrusUMLProfileDiagram" name="ModelElements" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_GEokQFFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_GEpLUFFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_GEpLUVFvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_GEpLUlFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_GEpLU1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_GEpLVFFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GEpLVVFvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_GEpyYFFvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_GEpyYVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_GEpyYlFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_GEpyY1FvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GEpyZFFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Conform"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GEokQVFvEeWFqsbjn0GMrw" x="30" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_GE2msFFvEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_GE3NwFFvEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Generalization"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GE2msVFvEeWFqsbjn0GMrw" x="30" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_GFYyM1FvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_GFYyNFFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_GFZZQFFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Generalization"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GFYyNVFvEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_GFnbsFFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_GFnbslFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_GFnbs1FvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_GFnbtFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_GFnbtVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_GFnbtlFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GFnbt1FvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_GFnbuFFvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_GFnbuVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_GFnbulFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_GFnbu1FvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GFnbvFFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GFnbsVFvEeWFqsbjn0GMrw" x="190" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_GFvXgFFvEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_GFv-kFFvEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Comment"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GFvXgVFvEeWFqsbjn0GMrw" x="190" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_GF-oE1FvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_GF-oFFFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_GF-oFlFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Comment"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GF-oFVFvEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_GGOfsFFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_GGOfslFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_GGOfs1FvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_GGOftFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_GGOftVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_GGOftlFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GGOft1FvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_GGOfuFFvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_GGOfuVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_GGOfulFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_GGOfu1FvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GGOfvFFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Expose"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GGOfsVFvEeWFqsbjn0GMrw" x="350" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_GGZe0FFvEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_GGaF4FFvEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Dependency"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GGZe0VFvEeWFqsbjn0GMrw" x="350" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_GGpWcFFvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_GGpWcVFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_GGpWc1FvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Dependency"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GGpWclFvEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_GG-toFFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_GG-tolFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_GG-to1FvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_GG-tpFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_GG-tpVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_GG-tplFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GG-tp1FvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_GG-tqFFvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_GG-tqVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_GG-tqlFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_GG-tq1FvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GG-trFFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Problem"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GG-toVFvEeWFqsbjn0GMrw" x="510" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_GHNXIFFvEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_GHNXIlFvEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Comment"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GHNXIVFvEeWFqsbjn0GMrw" x="510" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_GHcnsFFvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_GHcnsVFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_GHcns1FvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Comment"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GHcnslFvEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_GH2QUFFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_GH23YFFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_GH23YVFvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_GH23YlFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_GH23Y1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_GH23ZFFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GH23ZVFvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_GH23ZlFvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_GH23Z1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_GH23aFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_GH23aVFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GH23alFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Rationale"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GH2QUVFvEeWFqsbjn0GMrw" x="670" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_GIH9IFFvEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_GIIkMVFvEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Comment"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GIIkMFFvEeWFqsbjn0GMrw" x="670" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_GIYb0FFvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_GIYb0VFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_GIYb01FvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Comment"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GIYb0lFvEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_GI2V4FFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_GI288FFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_GI288VFvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_GI288lFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_GI2881FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_GI289FFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GI289VFvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_GI289lFvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_GI2891FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_GI28-FFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_GI28-VFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GI28-lFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Stakeholder"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GI2V4VFvEeWFqsbjn0GMrw" x="830" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_GJLGAFFvEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_GJLGAlFvEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Classifier"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GJLGAVFvEeWFqsbjn0GMrw" x="830" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_GJbks1FvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_GJbktFFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_GJbktlFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Classifier"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GJbktVFvEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_GKAzgFFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_GKBakFFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_GKBakVFvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_GKBaklFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_GKBak1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_GKBalFFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GKBalVFvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_GKBallFvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_GKBal1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_GKBamFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_GKBamVFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GKBamlFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_ModelElements.stereotype_packagedElement_View"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GKAzgVFvEeWFqsbjn0GMrw" x="990" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_GKYm8FFvEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_GKYm8lFvEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GKYm8VFvEeWFqsbjn0GMrw" x="990" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_GKpss1FvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_GKpstFFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_GKqTwFFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GKpstVFvEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_GLR-0FFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_GLSl4FFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_GLSl4VFvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_GLSl4lFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_GLSl41FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_GLSl5FFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GLSl5VFvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_GLSl5lFvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_GLSl51FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_GLSl6FFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_GLSl6VFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GLSl6lFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GLR-0VFvEeWFqsbjn0GMrw" x="1150" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_GLtcoFFvEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_GLuDsFFvEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GLtcoVFvEeWFqsbjn0GMrw" x="1150" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_GMCz01FvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_GMCz1FFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_GMCz1lFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_GMCz1VFvEeWFqsbjn0GMrw" x="200"/> - </children> - <styles xmi:type="notation:StringValueStyle" xmi:id="_Ff3DQVFvEeWFqsbjn0GMrw" name="diagram_compatibility_version" stringValue="1.2.0"/> - <styles xmi:type="notation:DiagramStyle" xmi:id="_Ff3DQlFvEeWFqsbjn0GMrw"/> - <styles xmi:type="style:PapyrusViewStyle" xmi:id="_Ff3DQ1FvEeWFqsbjn0GMrw"> - <owner xmi:type="uml:Package" href="SysML.profile.uml#SysML.package_packagedElement_ModelElements"/> - </styles> - <element xmi:type="uml:Package" href="SysML.profile.uml#SysML.package_packagedElement_ModelElements"/> - <edges xmi:type="notation:Connector" xmi:id="_GFZZQVFvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_GE2msFFvEeWFqsbjn0GMrw" target="_GFYyM1FvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_GFZZQlFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_GFZZRlFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Generalization"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_GFZZQ1FvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GFZZRFFvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GFZZRVFvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_GFijMFFvEeWFqsbjn0GMrw" type="Extension_Edge" source="_GEokQFFvEeWFqsbjn0GMrw" target="_GE2msFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_GFijMVFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Conform_base_Generalization"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_GFijMlFvEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Gkr9UFFvEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GkskYFFvEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_GF-oF1FvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_GFvXgFFvEeWFqsbjn0GMrw" target="_GF-oE1FvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_GF-oGFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_GF-oHFFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Comment"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_GF-oGVFvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GF-oGlFvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GF-oG1FvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_GGHK8FFvEeWFqsbjn0GMrw" type="Extension_Edge" source="_GFnbsFFvEeWFqsbjn0GMrw" target="_GFvXgFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_GGHK8VFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_ElementGroup_base_Comment"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_GGHK8lFvEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Gk-4QFFvEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Gk-4QVFvEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_GGpWdFFvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_GGZe0FFvEeWFqsbjn0GMrw" target="_GGpWcFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_GGpWdVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_GGpWeVFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Dependency"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_GGpWdlFvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GGpWd1FvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GGpWeFFvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_GG1jsFFvEeWFqsbjn0GMrw" type="Extension_Edge" source="_GGOfsFFvEeWFqsbjn0GMrw" target="_GGZe0FFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_GG1jsVFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Expose_base_Dependency"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_GG1jslFvEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GlPW8FFvEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GlP-AFFvEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_GHcntFFvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_GHNXIFFvEeWFqsbjn0GMrw" target="_GHcnsFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_GHcntVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_GHcnuVFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Comment"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_GHcntlFvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GHcnt1FvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GHcnuFFvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_GHrRMFFvEeWFqsbjn0GMrw" type="Extension_Edge" source="_GG-toFFvEeWFqsbjn0GMrw" target="_GHNXIFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_GHrRMVFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Problem_base_Comment"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_GHrRMlFvEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GlgcsFFvEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GlhDwFFvEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_GIYb1FFvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_GIH9IFFvEeWFqsbjn0GMrw" target="_GIYb0FFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_GIYb1VFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_GIYb2VFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Comment"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_GIYb1lFvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GIYb11FvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GIYb2FFvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_GIqIoFFvEeWFqsbjn0GMrw" type="Extension_Edge" source="_GH2QUFFvEeWFqsbjn0GMrw" target="_GIH9IFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_GIqIoVFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Rationale_base_Comment"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_GIqIolFvEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GlxicFFvEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GlyJgFFvEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_GJbkt1FvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_GJLGAFFvEeWFqsbjn0GMrw" target="_GJbks1FvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_GJbkuFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_GJcLwlFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Classifier"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_GJbkuVFvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GJcLwFFvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GJcLwVFvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_GJwU0FFvEeWFqsbjn0GMrw" type="Extension_Edge" source="_GI2V4FFvEeWFqsbjn0GMrw" target="_GJLGAFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_GJwU0VFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Stakeholder_base_Classifier"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_GJwU0lFvEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GmDPQFFvEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GmD2UFFvEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_GKqTwVFvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_GKYm8FFvEeWFqsbjn0GMrw" target="_GKpss1FvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_GKqTwlFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_GKqTxlFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_GKqTw1FvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GKqTxFFvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GKqTxVFvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_GLBgIFFvEeWFqsbjn0GMrw" type="Extension_Edge" source="_GKAzgFFvEeWFqsbjn0GMrw" target="_GKYm8FFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_GLBgIVFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_View_base_Class"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_GLBgIlFvEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GmUVAFFvEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GmU8EFFvEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_GMDa4FFvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_GLtcoFFvEeWFqsbjn0GMrw" target="_GMCz01FvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_GMDa4VFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_GMDa5VFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_GMDa4lFvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GMDa41FvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GMDa5FFvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_GMjKIFFvEeWFqsbjn0GMrw" type="Extension_Edge" source="_GLR-0FFvEeWFqsbjn0GMrw" target="_GLtcoFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_GMjKIVFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Viewpoint_base_Class"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_GMjKIlFvEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GmmB0FFvEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GmmB0VFvEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - </notation:Diagram> - <notation:Diagram xmi:id="_IXuBMFFvEeWFqsbjn0GMrw" type="PapyrusUMLProfileDiagram" name="PortsAndFlows" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_JlKEsFFvEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_JlKrwFFvEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#StructuralFeature"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JlKEsVFvEeWFqsbjn0GMrw" x="73" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_Jl0MAFFvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Jl0zEFFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Jl0zElFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#StructuralFeature"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Jl0zEVFvEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_Jl9V8FFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_Jl99AFFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_Jl99AVFvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Jl99AlFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_Jl99A1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_Jl99BFFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Jl99BVFvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_Jl99BlFvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Jl99B1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_Jl99CFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_Jl99CVFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Jl99ClFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ChangeStructuralFeatureEvent"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Jl9V8VFvEeWFqsbjn0GMrw" x="30" y="300"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_JmVwcFFvEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_JmVwclFvEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JmVwcVFvEeWFqsbjn0GMrw" x="1294" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_JmndQFFvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_JmndQVFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_JmndQ1FvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JmndQlFvEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_JmzqgFFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_Jm0RkFFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_Jm0RkVFvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Jm0RklFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_Jm0Rk1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_Jm0RlFFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Jm0RlVFvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_Jm0RllFvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Jm0Rl1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_Jm0RmFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_Jm0RmVFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Jm0RmlFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_InvocationOnNestedPortAction"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JmzqgVFvEeWFqsbjn0GMrw" x="1357" y="300"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_JnUA0FFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_JnUA0lFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_JnUA01FvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_JnUA1FFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_JnUA1VFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_JnUA1lFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JnUA11FvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_JnUA2FFvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_JnUA2VFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_JnUA2lFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_JnUA21FvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JnUA3FFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_TriggerOnNestedPort"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JnUA0VFvEeWFqsbjn0GMrw" x="1153" y="300"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_Jn-IIFFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_Jn-vMFFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_Jn-vMVFvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Jn-vMlFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_Jn-vM1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_Jn-vNFFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Jn-vNVFvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_Jn-vNlFvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Jn-vN1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_Jn-vOFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_Jn-vOVFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Jn-vOlFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_AcceptChangeStructuralFeatureEventAction"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Jn-IIVFvEeWFqsbjn0GMrw" x="248" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_JoTfUFFvEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_JoUGYFFvEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#AcceptEventAction"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JoTfUVFvEeWFqsbjn0GMrw" x="329" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_Joo2gFFvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Joo2gVFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Joo2g1FvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#AcceptEventAction"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Joo2glFvEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_JpJz4FFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_JpKa8FFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_JpKa8VFvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_JpKa8lFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_JpKa81FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_JpKa9FFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JpKa9VFvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_JpKa9lFvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_JpKa91FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_JpKa-FFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_JpKa-VFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JpKa-lFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ChangeStructuralFeatureEvent"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JpJz4VFvEeWFqsbjn0GMrw" x="599" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_JpdV4FFvEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_JpdV4lFvEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ChangeEvent"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JpdV4VFvEeWFqsbjn0GMrw" x="649" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_Jpubo1FvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_JpubpFFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_JpubplFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ChangeEvent"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JpubpVFvEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_JqScUFFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_JqTDYFFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_JqTDYVFvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_JqTDYlFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_JqTDY1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_JqTDZFFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JqTDZVFvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_JqTDZlFvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_JqTDZ1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_JqTDaFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_JqTDaVFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JqTDalFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_DirectedFeature"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JqScUVFvEeWFqsbjn0GMrw" x="862" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_JqnzgFFvEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_JqnzglFvEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Feature"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JqnzgVFvEeWFqsbjn0GMrw" x="866" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_Jq5gUFFvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Jq5gUVFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Jq5gU1FvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Feature"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Jq5gUlFvEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_Jrf9QFFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_Jrf9QlFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_Jrf9Q1FvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Jrf9RFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_Jrf9RVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_Jrf9RlFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Jrf9R1FvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_Jrf9SFFvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Jrf9SVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_Jrf9SlFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_Jrf9S1FvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Jrf9TFFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_FlowProperty"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Jrf9QVFvEeWFqsbjn0GMrw" x="1033" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_Jr5l4FFvEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_Jr6M8FFvEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Jr5l4VFvEeWFqsbjn0GMrw" x="1033" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_JsNH4FFvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_JsNH4VFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_JsNH41FvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JsNH4lFvEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_Js8HsFFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_Js8uwFFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_Js8uwVFvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Js8uwlFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_Js8uw1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_Js8uxFFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Js8uxVFvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_Js8uxlFvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Js8ux1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_Js8uyFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_Js8uyVFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Js8uylFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_FullPort"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Js8HsVFvEeWFqsbjn0GMrw" x="1555" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_JtYzoFFvEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_JtYzolFvEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JtYzoVFvEeWFqsbjn0GMrw" x="1555" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_Jtp5YFFvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Jtp5YVFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Jtp5Y1FvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Jtp5YlFvEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_JuY5MFFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_JuY5MlFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_JuY5M1FvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_JuY5NFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_JuY5NVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_JuY5NlFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JuY5N1FvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_JuZgQFFvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_JuZgQVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_JuZgQlFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_JuZgQ1FvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JuZgRFFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_InvocationOnNestedPortAction"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JuY5MVFvEeWFqsbjn0GMrw" x="1715" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_Ju5PgFFvEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_Ju5PglFvEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#InvocationAction"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ju5PgVFvEeWFqsbjn0GMrw" x="1762" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_JvJHI1FvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_JvJHJFFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_JvJHJlFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#InvocationAction"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JvJHJVFvEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_Jv7xUFFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_Jv8YYFFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_Jv8YYVFvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Jv8YYlFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_Jv8YY1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_Jv8YZFFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Jv8YZVFvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_Jv8YZlFvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Jv8YZ1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_Jv8YaFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_Jv8YaVFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Jv8YalFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ItemFlow"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Jv7xUVFvEeWFqsbjn0GMrw" x="1983" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_Jwd80FFvEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_Jwd80lFvEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#InformationFlow"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Jwd80VFvEeWFqsbjn0GMrw" x="1978" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_JwubgFFvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_JwubgVFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Jwubg1FvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#InformationFlow"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JwubglFvEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_JxmlQFFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_JxmlQlFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_JxmlQ1FvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_JxmlRFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_JxmlRVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_JxmlRlFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JxmlR1FvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_JxmlSFFvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_JxmlSVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_JxmlSlFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_JxmlS1FvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JxmlTFFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ProxyPort"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JxmlQVFvEeWFqsbjn0GMrw" x="2149" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_JyLNAFFvEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_JyLNAlFvEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JyLNAVFvEeWFqsbjn0GMrw" x="2149" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_Jyc501FvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Jyc51FFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Jyc51lFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Jyc51VFvEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_JzZVAFFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_JzZVAlFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_JzZVA1FvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_JzZVBFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_JzZ8EFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_JzZ8EVFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JzZ8ElFvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_JzZ8E1FvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_JzZ8FFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_JzZ8FVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_JzZ8FlFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JzZ8F1FvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_TriggerOnNestedPort"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JzZVAVFvEeWFqsbjn0GMrw" x="2309" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_J0EDYFFvEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_J0EDYlFvEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Trigger"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J0EDYVFvEeWFqsbjn0GMrw" x="2331" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_J0VwM1FvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_J0VwNFFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_J0VwNlFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Trigger"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_J0VwNVFvEeWFqsbjn0GMrw" x="200"/> - </children> - <styles xmi:type="notation:StringValueStyle" xmi:id="_IXuBMVFvEeWFqsbjn0GMrw" name="diagram_compatibility_version" stringValue="1.2.0"/> - <styles xmi:type="notation:DiagramStyle" xmi:id="_IXuBMlFvEeWFqsbjn0GMrw"/> - <styles xmi:type="style:PapyrusViewStyle" xmi:id="_IXuBM1FvEeWFqsbjn0GMrw"> - <owner xmi:type="uml:Package" href="SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows"/> - </styles> - <element xmi:type="uml:Package" href="SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows"/> - <edges xmi:type="notation:Connector" xmi:id="_Jl0zE1FvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_JlKEsFFvEeWFqsbjn0GMrw" target="_Jl0MAFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_Jl0zFFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Jl0zGFFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#StructuralFeature"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Jl0zFVFvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Jl0zFlFvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Jl0zF1FvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_JmHuAFFvEeWFqsbjn0GMrw" type="Association_Edge" source="_JlKEsFFvEeWFqsbjn0GMrw" target="_Jl9V8FFvEeWFqsbjn0GMrw"> - <children xmi:type="notation:DecorationNode" xmi:id="_JmHuA1FvEeWFqsbjn0GMrw" type="Association_StereotypeLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_JmHuBFFvEeWFqsbjn0GMrw" y="60"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_JmHuBVFvEeWFqsbjn0GMrw" type="Association_NameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_JmIVEFFvEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_JmIVEVFvEeWFqsbjn0GMrw" type="Association_TargetRoleLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_JmIVElFvEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_JmIVE1FvEeWFqsbjn0GMrw" type="Association_SourceRoleLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_JmIVFFFvEeWFqsbjn0GMrw" y="-20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_JmIVFVFvEeWFqsbjn0GMrw" type="Association_SourceMultiplicityLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_JmIVFlFvEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_JmIVF1FvEeWFqsbjn0GMrw" type="Association_TargetMultiplicityLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_JmIVGFFvEeWFqsbjn0GMrw" y="-20"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_JmHuAVFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Association" href="SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows.association_packagedElement_A_changeStructuralFeatureEvent_structuralFeature"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_JmHuAlFvEeWFqsbjn0GMrw" points="[0, 0, 0, -220]$[0, 220, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KXC0oFFvEeWFqsbjn0GMrw" id="(0.4956521739130435,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KXC0oVFvEeWFqsbjn0GMrw" id="(0.4975124378109453,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_JmndRFFvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_JmVwcFFvEeWFqsbjn0GMrw" target="_JmndQFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_JmndRVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_JmndSVFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_JmndRlFvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_JmndR1FvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_JmndSFFvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_JnCUAFFvEeWFqsbjn0GMrw" type="Association_Edge" source="_JmVwcFFvEeWFqsbjn0GMrw" target="_JmzqgFFvEeWFqsbjn0GMrw"> - <children xmi:type="notation:DecorationNode" xmi:id="_JnCUA1FvEeWFqsbjn0GMrw" type="Association_StereotypeLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_JnCUBFFvEeWFqsbjn0GMrw" y="60"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_JnCUBVFvEeWFqsbjn0GMrw" type="Association_NameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_JnCUBlFvEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_JnCUB1FvEeWFqsbjn0GMrw" type="Association_TargetRoleLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_JnCUCFFvEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_JnCUCVFvEeWFqsbjn0GMrw" type="Association_SourceRoleLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_JnCUClFvEeWFqsbjn0GMrw" y="-20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_JnCUC1FvEeWFqsbjn0GMrw" type="Association_SourceMultiplicityLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_JnC7EFFvEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_JnC7EVFvEeWFqsbjn0GMrw" type="Association_TargetMultiplicityLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_JnC7ElFvEeWFqsbjn0GMrw" y="-20"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_JnCUAVFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Association" href="SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows.association_packagedElement_A_invocationOnNestedPortAction_onNestedPort"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_JnCUAlFvEeWFqsbjn0GMrw" points="[0, 0, -73, -220]$[73, 110, 0, -110]$[73, 220, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KU3DUVFvEeWFqsbjn0GMrw" id="(0.66,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KU3qYFFvEeWFqsbjn0GMrw" id="(0.36538461538461536,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_Jnni0FFvEeWFqsbjn0GMrw" type="Association_Edge" source="_JmVwcFFvEeWFqsbjn0GMrw" target="_JnUA0FFvEeWFqsbjn0GMrw"> - <children xmi:type="notation:DecorationNode" xmi:id="_JnoJ4FFvEeWFqsbjn0GMrw" type="Association_StereotypeLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_JnoJ4VFvEeWFqsbjn0GMrw" y="60"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_JnoJ4lFvEeWFqsbjn0GMrw" type="Association_NameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_JnoJ41FvEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_JnoJ5FFvEeWFqsbjn0GMrw" type="Association_TargetRoleLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_JnoJ5VFvEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_Jnow8FFvEeWFqsbjn0GMrw" type="Association_SourceRoleLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_Jnow8VFvEeWFqsbjn0GMrw" y="-20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_Jnow8lFvEeWFqsbjn0GMrw" type="Association_SourceMultiplicityLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_Jnow81FvEeWFqsbjn0GMrw" y="20"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_Jnow9FFvEeWFqsbjn0GMrw" type="Association_TargetMultiplicityLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_Jnow9VFvEeWFqsbjn0GMrw" y="-20"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_Jnni0VFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Association" href="SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows.association_packagedElement_A_triggerOnNestedPort_onNestedPort"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Jnni0lFvEeWFqsbjn0GMrw" points="[0, 0, 73, -220]$[-73, 110, 0, -110]$[-73, 220, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KU2cQFFvEeWFqsbjn0GMrw" id="(0.33,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KU3DUFFvEeWFqsbjn0GMrw" id="(0.7013888888888888,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_Joo2hFFvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_JoTfUFFvEeWFqsbjn0GMrw" target="_Joo2gFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_Joo2hVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_JopdkFFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#AcceptEventAction"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Joo2hlFvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Joo2h1FvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Joo2iFFvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_Jo9moFFvEeWFqsbjn0GMrw" type="Extension_Edge" source="_Jn-IIFFvEeWFqsbjn0GMrw" target="_JoTfUFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_Jo9moVFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Jo9molFvEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KXNzwFFvEeWFqsbjn0GMrw" id="(0.1310344827586207,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KXOa0FFvEeWFqsbjn0GMrw" id="(0.84375,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_JpvCsFFvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_JpdV4FFvEeWFqsbjn0GMrw" target="_Jpubo1FvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_JpvCsVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_JpvCtVFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ChangeEvent"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_JpvCslFvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_JpvCs1FvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_JpvCtFFvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_JqEZ4FFvEeWFqsbjn0GMrw" type="Extension_Edge" source="_JpJz4FFvEeWFqsbjn0GMrw" target="_JpdV4FFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_JqEZ4VFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_ChangeStructuralFeatureEvent_base_ChangeEvent"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_JqEZ4lFvEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KVCpgFFvEeWFqsbjn0GMrw" id="(0.4975124378109453,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KVDQkFFvEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_Jq5gVFFvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_JqnzgFFvEeWFqsbjn0GMrw" target="_Jq5gUFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_Jq5gVVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Jq5gWVFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Feature"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Jq5gVlFvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Jq5gV1FvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Jq5gWFFvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_JrQFoFFvEeWFqsbjn0GMrw" type="Extension_Edge" source="_JqScUFFvEeWFqsbjn0GMrw" target="_JqnzgFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_JrQFoVFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_DirectedFeature_base_Feature"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_JrQFolFvEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KVOPsFFvEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KVO2wFFvEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_JsNH5FFvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_Jr5l4FFvEeWFqsbjn0GMrw" target="_JsNH4FFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_JsNH5VFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_JsNH6VFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_JsNH5lFvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_JsNH51FvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_JsNH6FFvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_Jsqa4FFvEeWFqsbjn0GMrw" type="Extension_Edge" source="_Jrf9QFFvEeWFqsbjn0GMrw" target="_Jr5l4FFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_Jsqa4VFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_FlowProperty_base_Property"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Jsqa4lFvEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KVZ14FFvEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KVac8FFvEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_Jtp5ZFFvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_JtYzoFFvEeWFqsbjn0GMrw" target="_Jtp5YFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_Jtp5ZVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Jtp5aVFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Jtp5ZlFvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Jtp5Z1FvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Jtp5aFFvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_JuFXMFFvEeWFqsbjn0GMrw" type="Extension_Edge" source="_Js8HsFFvEeWFqsbjn0GMrw" target="_JtYzoFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_JuFXMVFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_FullPort_base_Port"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_JuFXMlFvEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KVsw0FFvEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KVtX4FFvEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_JvJHJ1FvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_Ju5PgFFvEeWFqsbjn0GMrw" target="_JvJHI1FvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_JvJHKFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_JvJHLFFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#InvocationAction"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_JvJHKVFvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_JvJHKlFvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_JvJHK1FvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_JvnBMFFvEeWFqsbjn0GMrw" type="Extension_Edge" source="_JuY5MFFvEeWFqsbjn0GMrw" target="_Ju5PgFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_JvnBMVFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_InvocationOnNestedPortAction_base_InvocationAction"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_JvnBMlFvEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KW2nYFFvEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KW3OcFFvEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_JwubhFFvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_Jwd80FFvEeWFqsbjn0GMrw" target="_JwubgFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_JwubhVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_JwubiVFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#InformationFlow"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_JwubhlFvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Jwubh1FvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_JwubiFFvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_JxPY4FFvEeWFqsbjn0GMrw" type="Extension_Edge" source="_Jv7xUFFvEeWFqsbjn0GMrw" target="_Jwd80FFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_JxPY4VFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_ItemFlow_base_InformationFlow"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_JxPY4lFvEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KV-doFFvEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KV_EsFFvEeWFqsbjn0GMrw" id="(0.4954954954954955,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_Jyc511FvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_JyLNAFFvEeWFqsbjn0GMrw" target="_Jyc501FvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_Jyc52FFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Jydg4FFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Jyc52VFvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Jyc52lFvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Jyc521FvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_JzATcFFvEeWFqsbjn0GMrw" type="Extension_Edge" source="_JxmlQFFvEeWFqsbjn0GMrw" target="_JyLNAFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_JzATcVFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_ProxyPort_base_Port"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_JzATclFvEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KWKD0FFvEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KWKq4FFvEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_J0WXQFFvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_J0EDYFFvEeWFqsbjn0GMrw" target="_J0VwM1FvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_J0WXQVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_J0WXRVFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Trigger"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_J0WXQlFvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J0WXQ1FvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_J0WXRFFvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_J07mEFFvEeWFqsbjn0GMrw" type="Extension_Edge" source="_JzZVAFFvEeWFqsbjn0GMrw" target="_J0EDYFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_J07mEVFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_TriggerOnNestedPort_base_Trigger"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_J07mElFvEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KWc-wFFvEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KWdl0FFvEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - </notation:Diagram> - <notation:Diagram xmi:id="_Mffu4FFvEeWFqsbjn0GMrw" type="PapyrusUMLProfileDiagram" name="Requirements" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_NBfosFFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_NBgPwFFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_NBgPwVFvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_NBgPwlFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_NBgPw1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_NBgPxFFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NBgPxVFvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_NBgPxlFvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_NBgPx1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_NBgPyFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_NBgPyVFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NBgPylFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Refine"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NBfosVFvEeWFqsbjn0GMrw" x="30" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_NBqAwFFvEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_NBqAwlFvEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Abstraction"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NBqAwVFvEeWFqsbjn0GMrw" x="30" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_NCEQcFFvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_NCEQcVFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_NCEQc1FvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Abstraction"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NCEQclFvEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_NCYZgFFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_NCZAkFFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_NCZAkVFvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_NCZAklFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_NCZAk1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_NCZAlFFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NCZAlVFvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_NCZAllFvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_NCZAl1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_NCZAmFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_NCZAmVFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NCZAmlFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NCYZgVFvEeWFqsbjn0GMrw" x="190" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_NCnqEFFvEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_NCnqElFvEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NCnqEVFvEeWFqsbjn0GMrw" x="190" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_NC26oFFvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_NC26oVFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_NC26o1FvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NC26olFvEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_NDGyQFFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_NDGyQlFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_NDGyQ1FvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_NDGyRFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_NDGyRVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_NDGyRlFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NDGyR1FvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_NDGySFFvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_NDGySVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_NDGySlFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_NDGyS1FvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NDGyTFFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_TestCase"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NDGyQVFvEeWFqsbjn0GMrw" x="350" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_NDSYcFFvEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_NDSYclFvEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Behavior"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NDSYcVFvEeWFqsbjn0GMrw" x="350" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_NDjeMFFvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_NDjeMVFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_NDjeM1FvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Behavior"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NDjeMlFvEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_ND4OUFFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_ND41YFFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_ND41YVFvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_ND41YlFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_ND41Y1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_ND41ZFFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ND41ZVFvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_ND41ZlFvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_ND41Z1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_ND41aFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_ND41aVFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ND41alFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_TestCase"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ND4OUVFvEeWFqsbjn0GMrw" x="510" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_NEG30FFvEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_NEHe4FFvEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Operation"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NEG30VFvEeWFqsbjn0GMrw" x="510" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_NEXWg1FvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_NEXWhFFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_NEX9kFFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Operation"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NEXWhVFvEeWFqsbjn0GMrw" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_NEw_IFFvEeWFqsbjn0GMrw" type="Stereotype_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_NExmMFFvEeWFqsbjn0GMrw" type="Stereotype_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_NExmMVFvEeWFqsbjn0GMrw" type="Stereotype_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_NExmMlFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_NExmM1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_NExmNFFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NExmNVFvEeWFqsbjn0GMrw"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_NExmNlFvEeWFqsbjn0GMrw" type="Stereotype_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_NExmN1FvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_NExmOFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_NExmOVFvEeWFqsbjn0GMrw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NExmOlFvEeWFqsbjn0GMrw"/> - </children> - <element xmi:type="uml:Stereotype" href="SysML.profile.uml#SysML.package_packagedElement_Requirements.stereotype_packagedElement_Trace"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NEw_IVFvEeWFqsbjn0GMrw" x="670" y="30"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_NFD6EFFvEeWFqsbjn0GMrw" type="Class_MetaclassShape"> - <children xmi:type="notation:DecorationNode" xmi:id="_NFEhIFFvEeWFqsbjn0GMrw" type="Class_MetaclassNameLabel"/> - <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Abstraction"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NFD6EVFvEeWFqsbjn0GMrw" x="670" y="190"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_NFUYw1FvEeWFqsbjn0GMrw" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_NFUYxFFvEeWFqsbjn0GMrw" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_NFUYxlFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Abstraction"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_NFUYxVFvEeWFqsbjn0GMrw" x="200"/> - </children> - <styles xmi:type="notation:StringValueStyle" xmi:id="_Mffu4VFvEeWFqsbjn0GMrw" name="diagram_compatibility_version" stringValue="1.2.0"/> - <styles xmi:type="notation:DiagramStyle" xmi:id="_Mffu4lFvEeWFqsbjn0GMrw"/> - <styles xmi:type="style:PapyrusViewStyle" xmi:id="_Mffu41FvEeWFqsbjn0GMrw"> - <owner xmi:type="uml:Package" href="SysML.profile.uml#SysML.package_packagedElement_Requirements"/> - </styles> - <element xmi:type="uml:Package" href="SysML.profile.uml#SysML.package_packagedElement_Requirements"/> - <edges xmi:type="notation:Connector" xmi:id="_NCEQdFFvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_NBqAwFFvEeWFqsbjn0GMrw" target="_NCEQcFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_NCEQdVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_NCEQeVFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Abstraction"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_NCEQdlFvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_NCEQd1FvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_NCEQeFFvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_NCP2oFFvEeWFqsbjn0GMrw" type="Extension_Edge" source="_NBfosFFvEeWFqsbjn0GMrw" target="_NBqAwFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_NCP2oVFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Refine_base_Abstraction"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_NCP2olFvEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Nz7yQFFvEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Nz8ZUFFvEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_NC26pFFvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_NCnqEFFvEeWFqsbjn0GMrw" target="_NC26oFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_NC26pVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_NC26qVFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_NC26plFvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_NC26p1FvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_NC26qFFvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_NDAEkFFvEeWFqsbjn0GMrw" type="Extension_Edge" source="_NCYZgFFvEeWFqsbjn0GMrw" target="_NCnqEFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_NDAEkVFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Requirement_base_Class"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_NDAEklFvEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_N0S-oFFvEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_N0S-oVFvEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_NDjeNFFvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_NDSYcFFvEeWFqsbjn0GMrw" target="_NDjeMFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_NDjeNVFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_NDjeOVFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Behavior"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_NDjeNlFvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_NDjeN1FvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_NDjeOFFvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_NDvrcFFvEeWFqsbjn0GMrw" type="Extension_Edge" source="_NDGyQFFvEeWFqsbjn0GMrw" target="_NDSYcFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_NDvrcVFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_TestCase_base_Behavior"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_NDvrclFvEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_N0i2QFFvEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_N0jdUFFvEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_NEX9kVFvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_NEG30FFvEeWFqsbjn0GMrw" target="_NEXWg1FvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_NEX9klFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_NEX9llFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Operation"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_NEX9k1FvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_NEX9lFFvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_NEX9lVFvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_NEmnEFFvEeWFqsbjn0GMrw" type="Extension_Edge" source="_ND4OUFFvEeWFqsbjn0GMrw" target="_NEG30FFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_NEmnEVFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_TestCase_base_Operation"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_NEmnElFvEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_N0zU8FFvEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_N0zU8VFvEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_NFUYx1FvEeWFqsbjn0GMrw" type="StereotypeCommentLink" source="_NFD6EFFvEeWFqsbjn0GMrw" target="_NFUYw1FvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_NFUYyFFvEeWFqsbjn0GMrw"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_NFUYzFFvEeWFqsbjn0GMrw" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Abstraction"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_NFUYyVFvEeWFqsbjn0GMrw" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_NFUYylFvEeWFqsbjn0GMrw"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_NFUYy1FvEeWFqsbjn0GMrw"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_NFsMMFFvEeWFqsbjn0GMrw" type="Extension_Edge" source="_NEw_IFFvEeWFqsbjn0GMrw" target="_NFD6EFFvEeWFqsbjn0GMrw"> - <styles xmi:type="notation:FontStyle" xmi:id="_NFsMMVFvEeWFqsbjn0GMrw"/> - <element xmi:type="uml:Extension" href="SysML.profile.uml#SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Trace_base_Abstraction"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_NFsMMlFvEeWFqsbjn0GMrw" points="[0, 0, 0, -60]$[0, 60, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_N1DMkFFvEeWFqsbjn0GMrw" id="(0.5,1.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_N1DzoFFvEeWFqsbjn0GMrw" id="(0.5,0.0)"/> - </edges> - </notation:Diagram> -</xmi:XMI>
diff --git a/core/org.eclipse.papyrus.sysml14/resources/profile/SysML.profile.uml b/core/org.eclipse.papyrus.sysml14/resources/profile/SysML.profile.uml deleted file mode 100644 index e443694..0000000 --- a/core/org.eclipse.papyrus.sysml14/resources/profile/SysML.profile.uml +++ /dev/null
@@ -1,1616 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Ecore="http://www.eclipse.org/uml2/schemas/Ecore/5" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/uml2/schemas/Ecore/5 pathmap://UML_PROFILES/Ecore.profile.uml#_z1OFcHjqEdy8S4Cr8Rc_NA"> - <uml:Profile xmi:id="SysML" name="SysML" URI="http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <packageImport xmi:type="uml:PackageImport" xmi:id="SysML._packageImport._0"> - <importedPackage xmi:type="uml:Profile" href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/> - </packageImport> - <packageImport xmi:type="uml:PackageImport" href="#SysML._metamodelReference._0"/> - <packagedElement xmi:type="uml:Profile" xmi:id="SysML.package_packagedElement_Activities" name="Activities"> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_ControlOperator_base_Behavior" name="E_extension_ControlOperator_base_Behavior" memberEnd="SysML.package_packagedElement_Activities.stereotype_packagedElement_ControlOperator_ownedAttribute.base_Behavior SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_ControlOperator_base_Behavior_ownedEnd.extension_ControlOperator" navigableOwnedEnd="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_ControlOperator_base_Behavior_ownedEnd.extension_ControlOperator"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_ControlOperator_base_Behavior_ownedEnd.extension_ControlOperator" name="extension_ControlOperator" type="SysML.package_packagedElement_Activities.stereotype_packagedElement_ControlOperator" association="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_ControlOperator_base_Behavior"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_ControlOperator_base_Behavior_ownedEnd.extension_ControlOperator_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_ControlOperator_base_Operation" name="E_extension_ControlOperator_base_Operation" memberEnd="SysML.package_packagedElement_Activities.stereotype_packagedElement_ControlOperator_ownedAttribute.base_Operation SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_ControlOperator_base_Operation_ownedEnd.extension_ControlOperator" navigableOwnedEnd="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_ControlOperator_base_Operation_ownedEnd.extension_ControlOperator"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_ControlOperator_base_Operation_ownedEnd.extension_ControlOperator" name="extension_ControlOperator" type="SysML.package_packagedElement_Activities.stereotype_packagedElement_ControlOperator" association="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_ControlOperator_base_Operation"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_ControlOperator_base_Operation_ownedEnd.extension_ControlOperator_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_NoBuffer_base_ObjectNode" name="E_extension_NoBuffer_base_ObjectNode" memberEnd="SysML.package_packagedElement_Activities.stereotype_packagedElement_NoBuffer_ownedAttribute.base_ObjectNode SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_NoBuffer_base_ObjectNode_ownedEnd.extension_NoBuffer" navigableOwnedEnd="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_NoBuffer_base_ObjectNode_ownedEnd.extension_NoBuffer"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_NoBuffer_base_ObjectNode_ownedEnd.extension_NoBuffer" name="extension_NoBuffer" type="SysML.package_packagedElement_Activities.stereotype_packagedElement_NoBuffer" association="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_NoBuffer_base_ObjectNode"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_NoBuffer_base_ObjectNode_ownedEnd.extension_NoBuffer_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Optional_base_Parameter" name="E_extension_Optional_base_Parameter" memberEnd="SysML.package_packagedElement_Activities.stereotype_packagedElement_Optional_ownedAttribute.base_Parameter SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Optional_base_Parameter_ownedEnd.extension_Optional" navigableOwnedEnd="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Optional_base_Parameter_ownedEnd.extension_Optional"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Optional_base_Parameter_ownedEnd.extension_Optional" name="extension_Optional" type="SysML.package_packagedElement_Activities.stereotype_packagedElement_Optional" association="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Optional_base_Parameter"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Optional_base_Parameter_ownedEnd.extension_Optional_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Overwrite_base_ObjectNode" name="E_extension_Overwrite_base_ObjectNode" memberEnd="SysML.package_packagedElement_Activities.stereotype_packagedElement_Overwrite_ownedAttribute.base_ObjectNode SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Overwrite_base_ObjectNode_ownedEnd.extension_Overwrite" navigableOwnedEnd="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Overwrite_base_ObjectNode_ownedEnd.extension_Overwrite"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Overwrite_base_ObjectNode_ownedEnd.extension_Overwrite" name="extension_Overwrite" type="SysML.package_packagedElement_Activities.stereotype_packagedElement_Overwrite" association="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Overwrite_base_ObjectNode"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Overwrite_base_ObjectNode_ownedEnd.extension_Overwrite_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Probability_base_ActivityEdge" name="E_extension_Probability_base_ActivityEdge" memberEnd="SysML.package_packagedElement_Activities.stereotype_packagedElement_Probability_ownedAttribute.base_ActivityEdge SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Probability_base_ActivityEdge_ownedEnd.extension_Probability" navigableOwnedEnd="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Probability_base_ActivityEdge_ownedEnd.extension_Probability"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Probability_base_ActivityEdge_ownedEnd.extension_Probability" name="extension_Probability" type="SysML.package_packagedElement_Activities.stereotype_packagedElement_Probability" association="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Probability_base_ActivityEdge"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Probability_base_ActivityEdge_ownedEnd.extension_Probability_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Probability_base_ParameterSet" name="E_extension_Probability_base_ParameterSet" memberEnd="SysML.package_packagedElement_Activities.stereotype_packagedElement_Probability_ownedAttribute.base_ParameterSet SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Probability_base_ParameterSet_ownedEnd.extension_Probability" navigableOwnedEnd="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Probability_base_ParameterSet_ownedEnd.extension_Probability"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Probability_base_ParameterSet_ownedEnd.extension_Probability" name="extension_Probability" type="SysML.package_packagedElement_Activities.stereotype_packagedElement_Probability" association="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Probability_base_ParameterSet"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Probability_base_ParameterSet_ownedEnd.extension_Probability_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Rate_base_ActivityEdge" name="E_extension_Rate_base_ActivityEdge" memberEnd="SysML.package_packagedElement_Activities.stereotype_packagedElement_Rate_ownedAttribute.base_ActivityEdge SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Rate_base_ActivityEdge_ownedEnd.extension_Rate" navigableOwnedEnd="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Rate_base_ActivityEdge_ownedEnd.extension_Rate"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Rate_base_ActivityEdge_ownedEnd.extension_Rate" name="extension_Rate" type="SysML.package_packagedElement_Activities.stereotype_packagedElement_Rate" association="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Rate_base_ActivityEdge"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Rate_base_ActivityEdge_ownedEnd.extension_Rate_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Rate_base_ObjectNode" name="E_extension_Rate_base_ObjectNode" memberEnd="SysML.package_packagedElement_Activities.stereotype_packagedElement_Rate_ownedAttribute.base_ObjectNode SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Rate_base_ObjectNode_ownedEnd.extension_Rate" navigableOwnedEnd="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Rate_base_ObjectNode_ownedEnd.extension_Rate"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Rate_base_ObjectNode_ownedEnd.extension_Rate" name="extension_Rate" type="SysML.package_packagedElement_Activities.stereotype_packagedElement_Rate" association="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Rate_base_ObjectNode"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Rate_base_ObjectNode_ownedEnd.extension_Rate_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Rate_base_Parameter" name="E_extension_Rate_base_Parameter" memberEnd="SysML.package_packagedElement_Activities.stereotype_packagedElement_Rate_ownedAttribute.base_Parameter SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Rate_base_Parameter_ownedEnd.extension_Rate" navigableOwnedEnd="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Rate_base_Parameter_ownedEnd.extension_Rate"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Rate_base_Parameter_ownedEnd.extension_Rate" name="extension_Rate" type="SysML.package_packagedElement_Activities.stereotype_packagedElement_Rate" association="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Rate_base_Parameter"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Rate_base_Parameter_ownedEnd.extension_Rate_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Continuous" name="Continuous"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Continuous._ownedComment.0" annotatedElement="SysML.package_packagedElement_Activities.stereotype_packagedElement_Continuous"> - <body> - Continuous rate is a special case of rate of flow (see Rate) where the increment of time between items approaches zero. It is intended to represent continuous flows that may correspond to water flowing through a pipe, a time continuous signal, or continuous energy flow. It is independent from UML streaming. A streaming parameter may or may not apply to continuous flow, and a continuous flow may or may not apply to streaming parameters. - </body> - </ownedComment> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Continuous._generalization.SysML.package_packagedElement_Activities.stereotype_packagedElement_Rate" general="SysML.package_packagedElement_Activities.stereotype_packagedElement_Rate" isSubstitutable="false"/> - <icon xmi:type="uml:Image" xmi:id="_6IwrVkyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Continuous.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IwrV0yQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IwrWEyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_ControlOperator" name="ControlOperator"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_ControlOperator._ownedComment.0" annotatedElement="SysML.package_packagedElement_Activities.stereotype_packagedElement_ControlOperator"> - <body> - A control operator is a behavior that is intended to represent an arbitrarily complex logical operator that can be used to enable and disable other actions. When this stereotype is applied to behaviors, the behavior takes control values as inputs or provides them as outputs, that is, it treats control as data. When this stereotype is not applied, the behavior may not have a parameter typed by ControlValue. This stereotype also applies to operations with the same semantics. - </body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_ControlOperator_ownedAttribute.base_Behavior" name="base_Behavior" association="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_ControlOperator_base_Behavior"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Behavior"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_ControlOperator_ownedAttribute.base_Behavior_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_ControlOperator_ownedAttribute.base_Operation" name="base_Operation" association="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_ControlOperator_base_Operation"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Operation"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_ControlOperator_ownedAttribute.base_Operation_lowerValue"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6Iu2JkyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ControlOperator.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6Iu2J0yQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6Iu2KEyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Discrete" name="Discrete"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Discrete._ownedComment.0" annotatedElement="SysML.package_packagedElement_Activities.stereotype_packagedElement_Discrete"> - <body>Discrete rate is a special case of rate of flow (see Rate) where the increment of time between items is non-zero.</body> - </ownedComment> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Discrete._generalization.SysML.package_packagedElement_Activities.stereotype_packagedElement_Rate" general="SysML.package_packagedElement_Activities.stereotype_packagedElement_Rate" isSubstitutable="false"/> - <icon xmi:type="uml:Image" xmi:id="_6IygiUyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Discrete.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IzHkEyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IzHkUyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_NoBuffer" name="NoBuffer"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_NoBuffer._ownedComment.0" annotatedElement="SysML.package_packagedElement_Activities.stereotype_packagedElement_NoBuffer"> - <body> - When this stereotype is applied to object nodes, tokens arriving at the node are discarded if they are refused by outgoing edges, or refused by actions for object nodes that are input pins. This is typically used with fast or continuously flowing data values, to prevent buffer overrun, or to model transient values, such as electrical signals. For object nodes that are the target of continuous flows, «nobuffer» and «overwrite» have the same effect. The stereotype does not override UML token offering semantics; it just indicates what happens to the token when it is accepted. When the stereotype is not applied, the semantics are as in UML, specifically, tokens arriving at an object node that are refused by outgoing edges, or action for input pins, are held until they can leave the object node. - </body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_NoBuffer_ownedAttribute.base_ObjectNode" name="base_ObjectNode" association="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_NoBuffer_base_ObjectNode"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ObjectNode"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_NoBuffer_ownedAttribute.base_ObjectNode_lowerValue"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6IzHm0yQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/NoBuffer.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IzHnEyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IzuoEyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Optional" name="Optional"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Optional._ownedComment.0" annotatedElement="SysML.package_packagedElement_Activities.stereotype_packagedElement_Optional"> - <body> - When the «optional» stereotype is applied to parameters, the lower multiplicity must be equal to zero. This means the parameter is not required to have a value for the activity or any behavior to begin or end execution. Otherwise, the lower multiplicity must be greater than zero, which is called “required.” - </body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Optional_ownedAttribute.base_Parameter" name="base_Parameter" association="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Optional_base_Parameter"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Parameter"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Optional_ownedAttribute.base_Parameter_lowerValue"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6IwEQEyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Optional.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IwEQUyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IwEQkyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Overwrite" name="Overwrite"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Overwrite._ownedComment.0" annotatedElement="SysML.package_packagedElement_Activities.stereotype_packagedElement_Overwrite"> - <body> - When the «overwrite» stereotype is applied to object nodes, a token arriving at a full object node replaces the ones already there (a full object node has as many tokens as allowed by its upper bound). This is typically used on an input pin with an upper bound of 1 to ensure that stale data is overridden at an input pin. For upper bounds greater than one, the token replaced is the one that would be the last to be selected according to the ordering kind for the node. For FIFO ordering, this is the most recently added token, for LIFO it is the least recently added token. A null token removes all the tokens already there. The number of tokens replaced is equal to the weight of the incoming edge, which defaults to 1. For object nodes that are the target of continuous flows, «overwrite» and «nobuffer» have the same effect. The stereotype does not override UML token offering semantics, just indicates what happens to the token when it is accepted. When the stereotype is not applied, the semantics is as in UML, specifically, tokens arriving at object nodes do not replace ones that are already there. - </body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Overwrite_ownedAttribute.base_ObjectNode" name="base_ObjectNode" association="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Overwrite_base_ObjectNode"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ObjectNode"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Overwrite_ownedAttribute.base_ObjectNode_lowerValue"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6I0VtEyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Overwrite.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6I0VtUyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6I0VtkyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Probability" name="Probability"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Probability._ownedComment.0" annotatedElement="SysML.package_packagedElement_Activities.stereotype_packagedElement_Probability"> - <body> - When the «probability» stereotype is applied to edges coming out of decision nodes and object nodes, it provides an expression for the probability that the edge will be traversed. These must be between zero and one inclusive, and add up to one for edges with same source at the time the probabilities are used. -When the «probability» stereotype is applied to output parameter sets, it gives the probability the parameter set will be given values at runtime. These must be between zero and one inclusive, and add up to one for output parameter sets of the same behavior at the time the probabilities are used. - </body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Probability_ownedAttribute.base_ActivityEdge" name="base_ActivityEdge" association="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Probability_base_ActivityEdge"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ActivityEdge"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Probability_ownedAttribute.base_ActivityEdge_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Probability_ownedAttribute.base_ParameterSet" name="base_ParameterSet" association="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Probability_base_ParameterSet"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ParameterSet"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Probability_ownedAttribute.base_ParameterSet_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Probability_ownedAttribute.probability" name="probability"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ValueSpecification"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6I0VsUyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Probability.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6I0VskyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6I0Vs0yQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Rate" name="Rate"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Rate._ownedComment.0" annotatedElement="SysML.package_packagedElement_Activities.stereotype_packagedElement_Rate"> - <body> - When the «rate» stereotype is applied to an activity edge, it specifies the expected value of the number of objects and values that traverse the edge per time interval, that is, the expected value rate at which they leave the source node and arrive at the target node. It does not refer to the rate at which a value changes over time. When the stereotype is applied to a parameter, the parameter must be streaming, and the stereotype gives the number of objects or values that flow in or out of the parameter per time interval while the behavior or operation is executing. Streaming is a characteristic of UML behavior parameters that supports the input and output of items while a behavior is executing, rather than only when the behavior starts and stops. The flow may be continuous or discrete. The «rate» stereotype has a rate property of type InstanceSpecification. The values of this property must be instances of classifiers stereotyped by «valueType» or «distributionDefinition». In particular, the denominator for units used in the rate property must be time units. - </body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Rate_ownedAttribute.base_ActivityEdge" name="base_ActivityEdge" association="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Rate_base_ActivityEdge"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ActivityEdge"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Rate_ownedAttribute.base_ActivityEdge_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Rate_ownedAttribute.base_ObjectNode" name="base_ObjectNode" association="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Rate_base_ObjectNode"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ObjectNode"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Rate_ownedAttribute.base_ObjectNode_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Rate_ownedAttribute.base_Parameter" name="base_Parameter" association="SysML.package_packagedElement_Activities.extension_packagedElement_E_extension_Rate_base_Parameter"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Parameter"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Rate_ownedAttribute.base_Parameter_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Activities.stereotype_packagedElement_Rate_ownedAttribute.rate" name="rate"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#InstanceSpecification"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6IzHlUyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Rate.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IzHlkyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IzHl0yQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Profile" xmi:id="SysML.package_packagedElement_Allocations" name="Allocations"> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Allocations.extension_packagedElement_E_extension_AllocateActivityPartition_base_ActivityPartition" name="E_extension_AllocateActivityPartition_base_ActivityPartition" memberEnd="SysML.package_packagedElement_Allocations.stereotype_packagedElement_AllocateActivityPartition_ownedAttribute.base_ActivityPartition SysML.package_packagedElement_Allocations.extension_packagedElement_E_extension_AllocateActivityPartition_base_ActivityPartition_ownedEnd.extension_AllocateActivityPartition" navigableOwnedEnd="SysML.package_packagedElement_Allocations.extension_packagedElement_E_extension_AllocateActivityPartition_base_ActivityPartition_ownedEnd.extension_AllocateActivityPartition"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Allocations.extension_packagedElement_E_extension_AllocateActivityPartition_base_ActivityPartition_ownedEnd.extension_AllocateActivityPartition" name="extension_AllocateActivityPartition" type="SysML.package_packagedElement_Allocations.stereotype_packagedElement_AllocateActivityPartition" association="SysML.package_packagedElement_Allocations.extension_packagedElement_E_extension_AllocateActivityPartition_base_ActivityPartition"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Allocations.extension_packagedElement_E_extension_AllocateActivityPartition_base_ActivityPartition_ownedEnd.extension_AllocateActivityPartition_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Allocations.extension_packagedElement_E_extension_Allocate_base_Abstraction" name="E_extension_Allocate_base_Abstraction" memberEnd="SysML.package_packagedElement_Allocations.stereotype_packagedElement_Allocate_ownedAttribute.base_Abstraction SysML.package_packagedElement_Allocations.extension_packagedElement_E_extension_Allocate_base_Abstraction_ownedEnd.extension_Allocate" navigableOwnedEnd="SysML.package_packagedElement_Allocations.extension_packagedElement_E_extension_Allocate_base_Abstraction_ownedEnd.extension_Allocate"> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_Allocations.extension_packagedElement_E_extension_Allocate_base_Abstraction._generalization.SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship" general="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship"/> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Allocations.extension_packagedElement_E_extension_Allocate_base_Abstraction_ownedEnd.extension_Allocate" name="extension_Allocate" type="SysML.package_packagedElement_Allocations.stereotype_packagedElement_Allocate" redefinedProperty="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship_ownedEnd.extension_DirectedRelationshipPropertyPath" association="SysML.package_packagedElement_Allocations.extension_packagedElement_E_extension_Allocate_base_Abstraction"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Allocations.extension_packagedElement_E_extension_Allocate_base_Abstraction_ownedEnd.extension_Allocate_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Allocations.stereotype_packagedElement_Allocate" name="Allocate"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Allocations.stereotype_packagedElement_Allocate._ownedComment.0" annotatedElement="SysML.package_packagedElement_Allocations.stereotype_packagedElement_Allocate"> - <body> - Allocate is a dependency based on UML::abstraction. It is a mechanism for associating elements of different types, or in different hierarchies, at an abstract level. Allocate is used for assessing user model consistency and directing future design activity. It is expected that an «allocate» relationship between model elements is a precursor to a more concrete relationship between the elements, their properties, operations, attributes, or sub-classes. - </body> - </ownedComment> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_Allocations.stereotype_packagedElement_Allocate._generalization.SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath" general="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath"/> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Allocations.stereotype_packagedElement_Allocate_ownedAttribute.base_Abstraction" name="base_Abstraction" redefinedProperty="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath_ownedAttribute.base_DirectedRelationship" association="SysML.package_packagedElement_Allocations.extension_packagedElement_E_extension_Allocate_base_Abstraction"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Abstraction"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Allocations.stereotype_packagedElement_Allocate_ownedAttribute.base_Abstraction_lowerValue"/> - </ownedAttribute> - <ownedOperation xmi:type="uml:Operation" xmi:id="SysML.package_packagedElement_Allocations.stereotype_packagedElement_Allocate_ownedOperation.getAllocatedFrom_NamedElement_NamedElement" name="getAllocatedFrom" isStatic="true" isQuery="true"> - <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.package_packagedElement_Allocations.stereotype_packagedElement_Allocate_ownedOperation.getAllocatedFrom_NamedElement_NamedElement.parameter_ownedParameter_ref" name="ref"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> - </ownedParameter> - <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.package_packagedElement_Allocations.stereotype_packagedElement_Allocate_ownedOperation.getAllocatedFrom_NamedElement_NamedElement.parameter_ownedParameter_result" name="result"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Allocations.stereotype_packagedElement_Allocate_ownedOperation.getAllocatedFrom_NamedElement_NamedElement.parameter_ownedParameter_result_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Allocations.stereotype_packagedElement_Allocate_ownedOperation.getAllocatedFrom_NamedElement_NamedElement.parameter_ownedParameter_result_upperValue" value="*"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:type="uml:Operation" xmi:id="SysML.package_packagedElement_Allocations.stereotype_packagedElement_Allocate_ownedOperation.getAllocatedTo_NamedElement_NamedElement" name="getAllocatedTo" isStatic="true" isQuery="true"> - <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.package_packagedElement_Allocations.stereotype_packagedElement_Allocate_ownedOperation.getAllocatedTo_NamedElement_NamedElement.parameter_ownedParameter_ref" name="ref"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> - </ownedParameter> - <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.package_packagedElement_Allocations.stereotype_packagedElement_Allocate_ownedOperation.getAllocatedTo_NamedElement_NamedElement.parameter_ownedParameter_result" name="result"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Allocations.stereotype_packagedElement_Allocate_ownedOperation.getAllocatedTo_NamedElement_NamedElement.parameter_ownedParameter_result_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Allocations.stereotype_packagedElement_Allocate_ownedOperation.getAllocatedTo_NamedElement_NamedElement.parameter_ownedParameter_result_upperValue" value="*"/> - </ownedParameter> - </ownedOperation> - <icon xmi:type="uml:Image" xmi:id="_6IuPGEyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Allocate.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IuPGUyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IuPGkyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Allocations.stereotype_packagedElement_AllocateActivityPartition" name="AllocateActivityPartition"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Allocations.stereotype_packagedElement_AllocateActivityPartition._ownedComment.0" annotatedElement="SysML.package_packagedElement_Allocations.stereotype_packagedElement_AllocateActivityPartition"> - <body>AllocateActivityPartition is used to depict an «allocate» relationship on an Activity diagram. The AllocateActivityPartition is a standard UML2::ActivityPartition, with modified constraints as stated in the paragraph below.</body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Allocations.stereotype_packagedElement_AllocateActivityPartition_ownedAttribute.base_ActivityPartition" name="base_ActivityPartition" association="SysML.package_packagedElement_Allocations.extension_packagedElement_E_extension_AllocateActivityPartition_base_ActivityPartition"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ActivityPartition"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Allocations.stereotype_packagedElement_AllocateActivityPartition_ownedAttribute.base_ActivityPartition_lowerValue"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6ItoAEyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/AllocateActivityPartition.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6ItoAUyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6ItoAkyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Profile" xmi:id="SysML.package_packagedElement_Blocks" name="Blocks"> - <packagedElement xmi:type="uml:Association" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_adjunctProperty_principal" name="A_adjunctProperty_principal" memberEnd="SysML.package_packagedElement_Blocks.association_packagedElement_A_adjunctProperty_principal_ownedEnd.adjunctProperty SysML.package_packagedElement_Blocks.stereotype_packagedElement_AdjunctProperty_ownedAttribute.principal"> - <ownedEnd xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_adjunctProperty_principal_ownedEnd.adjunctProperty" name="adjunctProperty" type="SysML.package_packagedElement_Blocks.stereotype_packagedElement_AdjunctProperty" association="SysML.package_packagedElement_Blocks.association_packagedElement_A_adjunctProperty_principal"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_adjunctProperty_principal_ownedEnd.adjunctProperty_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_adjunctProperty_principal_ownedEnd.adjunctProperty_upperValue" value="*"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Association" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_sourceContext" name="A_directedRelationshipPropertyPath_sourceContext" memberEnd="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_sourceContext_ownedEnd.directedRelationshipPropertyPath SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath_ownedAttribute.sourceContext"> - <ownedEnd xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_sourceContext_ownedEnd.directedRelationshipPropertyPath" name="directedRelationshipPropertyPath" type="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath" association="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_sourceContext"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_sourceContext_ownedEnd.directedRelationshipPropertyPath_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_sourceContext_ownedEnd.directedRelationshipPropertyPath_upperValue" value="*"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Association" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_sourcePropertyPath" name="A_directedRelationshipPropertyPath_sourcePropertyPath" memberEnd="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_sourcePropertyPath_ownedEnd.directedRelationshipPropertyPath SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath_ownedAttribute.sourcePropertyPath"> - <ownedEnd xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_sourcePropertyPath_ownedEnd.directedRelationshipPropertyPath" name="directedRelationshipPropertyPath" type="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath" association="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_sourcePropertyPath"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_sourcePropertyPath_ownedEnd.directedRelationshipPropertyPath_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_sourcePropertyPath_ownedEnd.directedRelationshipPropertyPath_upperValue" value="*"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Association" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_targetContext" name="A_directedRelationshipPropertyPath_targetContext" memberEnd="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_targetContext_ownedEnd.directedRelationshipPropertyPath SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath_ownedAttribute.targetContext"> - <ownedEnd xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_targetContext_ownedEnd.directedRelationshipPropertyPath" name="directedRelationshipPropertyPath" type="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath" association="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_targetContext"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_targetContext_ownedEnd.directedRelationshipPropertyPath_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_targetContext_ownedEnd.directedRelationshipPropertyPath_upperValue" value="*"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Association" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_targetPropertyPath" name="A_directedRelationshipPropertyPath_targetPropertyPath" memberEnd="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_targetPropertyPath_ownedEnd.directedRelationshipPropertyPath SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath_ownedAttribute.targetPropertyPath"> - <ownedEnd xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_targetPropertyPath_ownedEnd.directedRelationshipPropertyPath" name="directedRelationshipPropertyPath" type="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath" association="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_targetPropertyPath"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_targetPropertyPath_ownedEnd.directedRelationshipPropertyPath_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_targetPropertyPath_ownedEnd.directedRelationshipPropertyPath_upperValue" value="*"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Association" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_elementPropertyPath_propertyPath" name="A_elementPropertyPath_propertyPath" memberEnd="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ElementPropertyPath_ownedAttribute.propertyPath SysML.package_packagedElement_Blocks.association_packagedElement_A_elementPropertyPath_propertyPath_ownedEnd.elementPropertyPath"> - <ownedEnd xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_elementPropertyPath_propertyPath_ownedEnd.elementPropertyPath" name="elementPropertyPath" type="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ElementPropertyPath" association="SysML.package_packagedElement_Blocks.association_packagedElement_A_elementPropertyPath_propertyPath"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_elementPropertyPath_propertyPath_ownedEnd.elementPropertyPath_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_elementPropertyPath_propertyPath_ownedEnd.elementPropertyPath_upperValue" value="*"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Association" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_valueType_quantityKind" name="A_valueType_quantityKind" memberEnd="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType_ownedAttribute.quantityKind SysML.package_packagedElement_Blocks.association_packagedElement_A_valueType_quantityKind_ownedEnd.valueType"> - <ownedEnd xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_valueType_quantityKind_ownedEnd.valueType" name="valueType" type="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType" association="SysML.package_packagedElement_Blocks.association_packagedElement_A_valueType_quantityKind"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_valueType_quantityKind_ownedEnd.valueType_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_valueType_quantityKind_ownedEnd.valueType_upperValue" value="*"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Association" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_valueType_unit" name="A_valueType_unit" memberEnd="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType_ownedAttribute.unit SysML.package_packagedElement_Blocks.association_packagedElement_A_valueType_unit_ownedEnd.valueType"> - <ownedEnd xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_valueType_unit_ownedEnd.valueType" name="valueType" type="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType" association="SysML.package_packagedElement_Blocks.association_packagedElement_A_valueType_unit"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_valueType_unit_ownedEnd.valueType_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Blocks.association_packagedElement_A_valueType_unit_ownedEnd.valueType_upperValue" value="*"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_AdjunctProperty_base_Property" name="E_extension_AdjunctProperty_base_Property" memberEnd="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_AdjunctProperty_base_Property_ownedEnd.extension_AdjunctProperty SysML.package_packagedElement_Blocks.stereotype_packagedElement_AdjunctProperty_ownedAttribute.base_Property" navigableOwnedEnd="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_AdjunctProperty_base_Property_ownedEnd.extension_AdjunctProperty"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_AdjunctProperty_base_Property_ownedEnd.extension_AdjunctProperty" name="extension_AdjunctProperty" type="SysML.package_packagedElement_Blocks.stereotype_packagedElement_AdjunctProperty" association="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_AdjunctProperty_base_Property"/> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_BindingConnector_base_Connector" name="E_extension_BindingConnector_base_Connector" memberEnd="SysML.package_packagedElement_Blocks.stereotype_packagedElement_BindingConnector_ownedAttribute.base_Connector SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_BindingConnector_base_Connector_ownedEnd.extension_BindingConnector" navigableOwnedEnd="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_BindingConnector_base_Connector_ownedEnd.extension_BindingConnector"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_BindingConnector_base_Connector_ownedEnd.extension_BindingConnector" name="extension_BindingConnector" type="SysML.package_packagedElement_Blocks.stereotype_packagedElement_BindingConnector" association="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_BindingConnector_base_Connector"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_BindingConnector_base_Connector_ownedEnd.extension_BindingConnector_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_Block_base_Class" name="E_extension_Block_base_Class" memberEnd="SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block_ownedAttribute.base_Class SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_Block_base_Class_ownedEnd.extension_Block" navigableOwnedEnd="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_Block_base_Class_ownedEnd.extension_Block"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_Block_base_Class_ownedEnd.extension_Block" name="extension_Block" type="SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" association="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_Block_base_Class"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_Block_base_Class_ownedEnd.extension_Block_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ClassifierBehaviorProperty_base_Property" name="E_extension_ClassifierBehaviorProperty_base_Property" memberEnd="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ClassifierBehaviorProperty_base_Property_ownedEnd.extension_ClassifierBehaviorProperty SysML.package_packagedElement_Blocks.stereotype_packagedElement_ClassifierBehaviorProperty_ownedAttribute.base_Property" navigableOwnedEnd="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ClassifierBehaviorProperty_base_Property_ownedEnd.extension_ClassifierBehaviorProperty"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ClassifierBehaviorProperty_base_Property_ownedEnd.extension_ClassifierBehaviorProperty" name="extension_ClassifierBehaviorProperty" type="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ClassifierBehaviorProperty" association="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ClassifierBehaviorProperty_base_Property"/> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ConnectorProperty_base_Property" name="E_extension_ConnectorProperty_base_Property" memberEnd="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ConnectorProperty_ownedAttribute.base_Property SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ConnectorProperty_base_Property_ownedEnd.extension_ConnectorProperty" navigableOwnedEnd="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ConnectorProperty_base_Property_ownedEnd.extension_ConnectorProperty"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ConnectorProperty_base_Property_ownedEnd.extension_ConnectorProperty" name="extension_ConnectorProperty" type="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ConnectorProperty" association="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ConnectorProperty_base_Property"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ConnectorProperty_base_Property_ownedEnd.extension_ConnectorProperty_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship" name="E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship" memberEnd="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship_ownedEnd.extension_DirectedRelationshipPropertyPath SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath_ownedAttribute.base_DirectedRelationship" navigableOwnedEnd="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship_ownedEnd.extension_DirectedRelationshipPropertyPath"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship_ownedEnd.extension_DirectedRelationshipPropertyPath" name="extension_DirectedRelationshipPropertyPath" type="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath" association="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship_ownedEnd.extension_DirectedRelationshipPropertyPath_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_DistributedProperty_base_Property" name="E_extension_DistributedProperty_base_Property" memberEnd="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DistributedProperty_ownedAttribute.base_Property SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_DistributedProperty_base_Property_ownedEnd.extension_DistributedProperty" navigableOwnedEnd="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_DistributedProperty_base_Property_ownedEnd.extension_DistributedProperty"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_DistributedProperty_base_Property_ownedEnd.extension_DistributedProperty" name="extension_DistributedProperty" type="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DistributedProperty" association="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_DistributedProperty_base_Property"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_DistributedProperty_base_Property_ownedEnd.extension_DistributedProperty_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ElementPropertyPath_base_Element" name="E_extension_ElementPropertyPath_base_Element" memberEnd="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ElementPropertyPath_base_Element_ownedEnd.extension_ElementPropertyPath SysML.package_packagedElement_Blocks.stereotype_packagedElement_ElementPropertyPath_ownedAttribute.base_Element" navigableOwnedEnd="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ElementPropertyPath_base_Element_ownedEnd.extension_ElementPropertyPath"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ElementPropertyPath_base_Element_ownedEnd.extension_ElementPropertyPath" name="extension_ElementPropertyPath" type="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ElementPropertyPath" association="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ElementPropertyPath_base_Element"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ElementPropertyPath_base_Element_ownedEnd.extension_ElementPropertyPath_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_EndPathMultiplicity_base_Property" name="E_extension_EndPathMultiplicity_base_Property" memberEnd="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_EndPathMultiplicity_base_Property_ownedEnd.extension_EndPathMultiplicity SysML.package_packagedElement_Blocks.stereotype_packagedElement_EndPathMultiplicity_ownedAttribute.base_Property" navigableOwnedEnd="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_EndPathMultiplicity_base_Property_ownedEnd.extension_EndPathMultiplicity"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_EndPathMultiplicity_base_Property_ownedEnd.extension_EndPathMultiplicity" name="extension_EndPathMultiplicity" type="SysML.package_packagedElement_Blocks.stereotype_packagedElement_EndPathMultiplicity" association="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_EndPathMultiplicity_base_Property"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_EndPathMultiplicity_base_Property_ownedEnd.extension_EndPathMultiplicity_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_NestedConnectorEnd_base_ConnectorEnd" name="E_extension_NestedConnectorEnd_base_ConnectorEnd" memberEnd="SysML.package_packagedElement_Blocks.stereotype_packagedElement_NestedConnectorEnd_ownedAttribute.base_ConnectorEnd SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_NestedConnectorEnd_base_ConnectorEnd_ownedEnd.extension_NestedConnectorEnd" navigableOwnedEnd="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_NestedConnectorEnd_base_ConnectorEnd_ownedEnd.extension_NestedConnectorEnd"> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_NestedConnectorEnd_base_ConnectorEnd._generalization.SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ElementPropertyPath_base_Element" general="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ElementPropertyPath_base_Element"/> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_NestedConnectorEnd_base_ConnectorEnd_ownedEnd.extension_NestedConnectorEnd" name="extension_NestedConnectorEnd" type="SysML.package_packagedElement_Blocks.stereotype_packagedElement_NestedConnectorEnd" redefinedProperty="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ElementPropertyPath_base_Element_ownedEnd.extension_ElementPropertyPath" association="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_NestedConnectorEnd_base_ConnectorEnd"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_NestedConnectorEnd_base_ConnectorEnd_ownedEnd.extension_NestedConnectorEnd_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ParticipantProperty_base_Property" name="E_extension_ParticipantProperty_base_Property" memberEnd="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ParticipantProperty_ownedAttribute.base_Property SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ParticipantProperty_base_Property_ownedEnd.extension_ParticipantProperty" navigableOwnedEnd="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ParticipantProperty_base_Property_ownedEnd.extension_ParticipantProperty"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ParticipantProperty_base_Property_ownedEnd.extension_ParticipantProperty" name="extension_ParticipantProperty" type="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ParticipantProperty" association="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ParticipantProperty_base_Property"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ParticipantProperty_base_Property_ownedEnd.extension_ParticipantProperty_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_PropertySpecificType_base_Classifier" name="E_extension_PropertySpecificType_base_Classifier" memberEnd="SysML.package_packagedElement_Blocks.stereotype_packagedElement_PropertySpecificType_ownedAttribute.base_Classifier SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_PropertySpecificType_base_Classifier_ownedEnd.extension_PropertySpecificType" navigableOwnedEnd="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_PropertySpecificType_base_Classifier_ownedEnd.extension_PropertySpecificType"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_PropertySpecificType_base_Classifier_ownedEnd.extension_PropertySpecificType" name="extension_PropertySpecificType" type="SysML.package_packagedElement_Blocks.stereotype_packagedElement_PropertySpecificType" association="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_PropertySpecificType_base_Classifier"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_PropertySpecificType_base_Classifier_ownedEnd.extension_PropertySpecificType_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ValueType_base_DataType" name="E_extension_ValueType_base_DataType" memberEnd="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType_ownedAttribute.base_DataType SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ValueType_base_DataType_ownedEnd.extension_ValueType" navigableOwnedEnd="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ValueType_base_DataType_ownedEnd.extension_ValueType"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ValueType_base_DataType_ownedEnd.extension_ValueType" name="extension_ValueType" type="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType" association="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ValueType_base_DataType"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ValueType_base_DataType_ownedEnd.extension_ValueType_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_AdjunctProperty" name="AdjunctProperty"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_AdjunctProperty._ownedComment.0" annotatedElement="SysML.package_packagedElement_Blocks.stereotype_packagedElement_AdjunctProperty"> - <body> - The AdjunctProperty stereotype can be applied to properties to constrain their values to the values of connectors typed by association blocks, call actions, object nodes, variables, or parameters, interaction uses, and submachine states. The values of connectors typed by association blocks are the instances of the association block typing a connector in the block having the stereotyped property. The values of call actions are the executions of behaviors invoked by the behavior having the call action and the stereotyped property (see Subclause 11.3.1.1.1 for more about this use of the stereotype). The values of object nodes are the values of tokens in the object nodes of the behavior having the stereotyped property (see Subclause 11.3.1.4.1 for more about this use of the stereotype). The values of variables are those assigned by executions of activities that have the stereotyped property. The values of parameters are those assigned by executions of behaviors that have the stereotyped property. The keyword «adjunct» before a property name indicates the property is stereotyped by AdjunctProperty. - </body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_AdjunctProperty_ownedAttribute.base_Property" name="base_Property" association="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_AdjunctProperty_base_Property"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_AdjunctProperty_ownedAttribute.base_Property_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_AdjunctProperty_ownedAttribute.principal" name="principal" association="SysML.package_packagedElement_Blocks.association_packagedElement_A_adjunctProperty_principal"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_AdjunctProperty_ownedAttribute.principal._ownedComment.0" annotatedElement="SysML.package_packagedElement_Blocks.stereotype_packagedElement_AdjunctProperty_ownedAttribute.principal"> - <body>Gives the element that determines the values of the property. Must be a connector, call action, object node, variable, or parameter.</body> - </ownedComment> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6IvdM0yQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/AdjunctProperty.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IvdNEyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IvdNUyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_BindingConnector" name="BindingConnector"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_BindingConnector._ownedComment.0" annotatedElement="SysML.package_packagedElement_Blocks.stereotype_packagedElement_BindingConnector"> - <body> - A Binding Connector is a connector which specifies that the properties at both ends of the connector have equal values. If the properties at the ends of a binding connector are typed by a DataType or ValueType, the connector specifies that the instances of the properties must hold equal values, recursively through any nested properties within the connected properties. If the properties at the ends of a binding connector are typed by a Block, the connector specifies that the instances of the properties must refer to the same block instance. As with any connector owned by a SysML Block, the ends of a binding connector may be nested within a multi-level path of properties accessible from the owning block. The NestedConnectorEnd stereotype is used to represent such nested ends just as for nested ends of other SysML connectors. - </body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_BindingConnector_ownedAttribute.base_Connector" name="base_Connector" association="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_BindingConnector_base_Connector"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Connector"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_BindingConnector_ownedAttribute.base_Connector_lowerValue"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6IvdMEyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/BindingConnector.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IvdMUyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IvdMkyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" name="Block"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block._ownedComment.0" annotatedElement="SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"> - <body> - A Block is a modular unit that describes the structure of a system or element. It may include both structural and behavioral features, such as properties and operations, that represent the state of the system and behavior that the system may exhibit. Some of these properties may hold parts of a system, which can also be described by blocks. A block may include a structure of connectors between its properties to indicate how its parts or other properties relate to one another. SysML blocks provide a general-purpose capability to describe the architecture of a system. They provide the ability to represent a system hierarchy, in which a system at one level is composed of systems at a more basic level. They can describe not only the connectivity relationships between the systems at any level, but also quantitative values or other information about a system. SysML does not restrict the kind of system or system element that may be described by a block. Any reusable form of description that may be applied to a system or a set of system characteristics may be described by a block. Such reusable descriptions, for example, may be applied to purely conceptual aspects of a system design, such as relationships that hold between parts or properties of a system. Connectors owned by SysML blocks may be used to define relationships between parts or other properties of the same containing block. The type of a connector or its connected ends may specify the semantic interpretation of a specific connector. - </body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block_ownedAttribute.base_Class" name="base_Class" association="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_Block_base_Class"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block_ownedAttribute.base_Class_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block_ownedAttribute.isEncapsulated" name="isEncapsulated"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block_ownedAttribute.isEncapsulated._ownedComment.0" annotatedElement="SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block_ownedAttribute.isEncapsulated"> - <body> - If true, then the block is treated as a black box; a part typed by this black box can only be connected via its ports or directly to its outer boundary. If false, or if a value is not present, then connections can be established to elements of its internal structure via deep-nested connector ends. - </body> - </ownedComment> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block_ownedAttribute.isEncapsulated_lowerValue"/> - </ownedAttribute> - <ownedOperation xmi:type="uml:Operation" xmi:id="_EJdvcFIcEeWOVPwTUSkFAw" name="getReferences"> - <ownedComment xmi:type="uml:Comment" xmi:id="_PVQ5gFIcEeWOVPwTUSkFAw" annotatedElement="_EJdvcFIcEeWOVPwTUSkFAw"> - <body>@papyrus.req org.eclipse.papyrus.sysml14#REQ-SYSML14-Block-References</body> - </ownedComment> - <ownedParameter xmi:type="uml:Parameter" xmi:id="_LYh-MFIcEeWOVPwTUSkFAw" name="references" direction="return"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_TgQJ4FI1EeWOVPwTUSkFAw"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_US6V4FI1EeWOVPwTUSkFAw" value="*"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:type="uml:Operation" xmi:id="_xfIGcFVsEeW77p7V_ZuW3Q" name="getParts"> - <ownedParameter xmi:type="uml:Parameter" xmi:id="_2iYk8FVsEeW77p7V_ZuW3Q" name="parts" direction="return"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_34dAAFVsEeW77p7V_ZuW3Q"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_34e1MFVsEeW77p7V_ZuW3Q" value="*"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:type="uml:Operation" xmi:id="_Um2qIGOPEeWsGaPkh2WVXg" name="getFlowProperties"> - <ownedParameter xmi:type="uml:Parameter" xmi:id="_Za5A4GOPEeWsGaPkh2WVXg" name="flowProperties" direction="return"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_MADW8GOQEeWsGaPkh2WVXg"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_MAGaQGOQEeWsGaPkh2WVXg" value="*"/> - </ownedParameter> - </ownedOperation> - <icon xmi:type="uml:Image" xmi:id="_6Ix5eUyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Block.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6Ix5ekyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6Ix5e0yQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_BoundReference" name="BoundReference"> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_BoundReference._generalization.SysML.package_packagedElement_Blocks.stereotype_packagedElement_EndPathMultiplicity" general="SysML.package_packagedElement_Blocks.stereotype_packagedElement_EndPathMultiplicity"/> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_BoundReference_ownedAttribute.bindingPath" name="bindingPath" isOrdered="true" isUnique="false" isReadOnly="true" isDerived="true"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_BoundReference_ownedAttribute.bindingPath._ownedComment.0" annotatedElement="SysML.package_packagedElement_Blocks.stereotype_packagedElement_BoundReference_ownedAttribute.bindingPath"> - <body>Gives the propertyPath of the NestedConnectorEnd applied, if any, to the boundEnd, appended to the role of the boundEnd. </body> - </ownedComment> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_BoundReference_ownedAttribute.bindingPath_upperValue" value="*"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_BoundReference_ownedAttribute.boundEnd" name="boundEnd"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_BoundReference_ownedAttribute.boundEnd._ownedComment.0" annotatedElement="SysML.package_packagedElement_Blocks.stereotype_packagedElement_BoundReference_ownedAttribute.boundEnd"> - <body>Gives a connector end of a binding connector opposite to the end linked to the stereotyped property, or linked to a property that generalizes the stereotyped one through redefinition.</body> - </ownedComment> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ConnectorEnd"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6IxSY0yQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/BoundReference.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IxSZEyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IxSZUyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ClassifierBehaviorProperty" name="ClassifierBehaviorProperty"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ClassifierBehaviorProperty._ownedComment.0" annotatedElement="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ClassifierBehaviorProperty"> - <body> - The ClassifierBehaviorProperty stereotype can be applied to properties to constrain their values to be the executions of classifier behaviors. The value of properties with ClassifierBehaviorProperty applied are the executions of classifier behaviors invoked by instantiation of the block that owns the stereotyped property or one of its specializations. - </body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ClassifierBehaviorProperty_ownedAttribute.base_Property" name="base_Property" association="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ClassifierBehaviorProperty_base_Property"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ClassifierBehaviorProperty_ownedAttribute.base_Property_lowerValue"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6IzuoUyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ClassifierBehaviorProperty.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IzuokyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6Izuo0yQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ConnectorProperty" name="ConnectorProperty"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ConnectorProperty._ownedComment.0" annotatedElement="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ConnectorProperty"> - <body> - Connectors can be typed by association classes that are stereotyped by Block (association blocks). These connectors specify instances (links) of the association block that exist due to instantiation of the block owning or inheriting the connector. The value of a connector property on an instance of a block will be exactly those link objects that are instances of the association block typing the connector referred to by the connector property. - </body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ConnectorProperty_ownedAttribute.base_Property" name="base_Property" association="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ConnectorProperty_base_Property"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ConnectorProperty_ownedAttribute.base_Property_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ConnectorProperty_ownedAttribute.connector" name="connector"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ConnectorProperty_ownedAttribute.connector._ownedComment.0" annotatedElement="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ConnectorProperty_ownedAttribute.connector"> - <body>A connector of the block owning the property on which the stereotype is applied.</body> - </ownedComment> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Connector"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6ItoBkyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ConnectorProperty.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IuPEEyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IuPEUyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath" name="DirectedRelationshipPropertyPath" isAbstract="true"> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath_ownedAttribute.base_DirectedRelationship" name="base_DirectedRelationship" association="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DirectedRelationship"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath_ownedAttribute.base_DirectedRelationship_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath_ownedAttribute.sourceContext" name="sourceContext" association="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_sourceContext"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Classifier"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath_ownedAttribute.sourceContext_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath_ownedAttribute.sourcePropertyPath" name="sourcePropertyPath" isOrdered="true" isUnique="false" association="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_sourcePropertyPath"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath_ownedAttribute.sourcePropertyPath_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath_ownedAttribute.sourcePropertyPath_upperValue" value="*"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath_ownedAttribute.targetContext" name="targetContext" association="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_targetContext"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Classifier"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath_ownedAttribute.targetContext_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath_ownedAttribute.targetPropertyPath" name="targetPropertyPath" isOrdered="true" isUnique="false" association="SysML.package_packagedElement_Blocks.association_packagedElement_A_directedRelationshipPropertyPath_targetPropertyPath"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath_ownedAttribute.targetPropertyPath_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath_ownedAttribute.targetPropertyPath_upperValue" value="*"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6IwEQ0yQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/DirectedRelationshipPropertyPath.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IwEREyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IwERUyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DistributedProperty" name="DistributedProperty"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DistributedProperty._ownedComment.0" annotatedElement="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DistributedProperty"> - <body> - DistributedProperty is a stereotype of Property used to apply a probability distribution to the values of the property. Specific distributions should be defined as subclasses of the DistributedProperty stereotype with the operands of the distributions represented by properties of those stereotype subclasses. - </body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DistributedProperty_ownedAttribute.base_Property" name="base_Property" association="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_DistributedProperty_base_Property"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DistributedProperty_ownedAttribute.base_Property_lowerValue"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6IxSYEyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/DistributedProperty.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IxSYUyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IxSYkyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ElementPropertyPath" name="ElementPropertyPath" isAbstract="true"> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ElementPropertyPath_ownedAttribute.base_Element" name="base_Element" association="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ElementPropertyPath_base_Element"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ElementPropertyPath_ownedAttribute.base_Element_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ElementPropertyPath_ownedAttribute.propertyPath" name="propertyPath" isOrdered="true" isUnique="false" association="SysML.package_packagedElement_Blocks.association_packagedElement_A_elementPropertyPath_propertyPath"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ElementPropertyPath_ownedAttribute.propertyPath._ownedComment.0" annotatedElement="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ElementPropertyPath_ownedAttribute.propertyPath"> - <body> - The propertyPath list of the NestedConnectorEnd stereotype must identify a path of containing properties that identify the connected property in the context of the block that owns the connector. The ordering of properties is from a property of the block that owns the connector, through a property of each intermediate block that types the preceding property, until a property is reached that contains a connector end property within its type. The connector end property is not included in the propertyPath list, but instead is held by the role property of the UML ConnectorEnd metaclass. - </body> - </ownedComment> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ElementPropertyPath_ownedAttribute.propertyPath_upperValue" value="*"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6Iu2IEyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ElementPropertyPath.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6Iu2IUyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6Iu2IkyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_EndPathMultiplicity" name="EndPathMultiplicity"> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_EndPathMultiplicity_ownedAttribute.base_Property" name="base_Property" association="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_EndPathMultiplicity_base_Property"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_EndPathMultiplicity_ownedAttribute.base_Property_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_EndPathMultiplicity_ownedAttribute.lower" name="lower"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_EndPathMultiplicity_ownedAttribute.lower._ownedComment.0" annotatedElement="SysML.package_packagedElement_Blocks.stereotype_packagedElement_EndPathMultiplicity_ownedAttribute.lower"> - <body>Gives the minimum number of values of the property at the end of the related bindingPath, for each object reached by navigation along the bindingPath from an instance of the block owning the property to which EndPathMultiplicity is applied</body> - </ownedComment> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Integer"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_EndPathMultiplicity_ownedAttribute.lower_lowerValue"/> - <defaultValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_EndPathMultiplicity_ownedAttribute.lower_defaultValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_EndPathMultiplicity_ownedAttribute.upper" name="upper"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_EndPathMultiplicity_ownedAttribute.upper._ownedComment.0" annotatedElement="SysML.package_packagedElement_Blocks.stereotype_packagedElement_EndPathMultiplicity_ownedAttribute.upper"> - <body>Gives the maximum number of values of the property at the end of the related bindingPath, for each object reached by navigation along the bindingPath from an instance of the block owning the property to which EndPathMultiplicity is applied.</body> - </ownedComment> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#UnlimitedNatural"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_EndPathMultiplicity_ownedAttribute.upper_lowerValue"/> - <defaultValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_EndPathMultiplicity_ownedAttribute.upper_defaultValue" value="*"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6Iu2KUyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/EndPathMultiplicity.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6Iu2KkyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6Iu2K0yQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_NestedConnectorEnd" name="NestedConnectorEnd"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_NestedConnectorEnd._ownedComment.0" annotatedElement="SysML.package_packagedElement_Blocks.stereotype_packagedElement_NestedConnectorEnd"> - <body>The NestedConnectorEnd stereotype of UML ConnectorEnd extends a UML ConnectorEnd so that the connected property may be identified by a multi-level path of accessible properties from the block that owns the connector.</body> - </ownedComment> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_NestedConnectorEnd._generalization.SysML.package_packagedElement_Blocks.stereotype_packagedElement_ElementPropertyPath" general="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ElementPropertyPath"/> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_NestedConnectorEnd_ownedAttribute.base_ConnectorEnd" name="base_ConnectorEnd" redefinedProperty="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ElementPropertyPath_ownedAttribute.base_Element" association="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_NestedConnectorEnd_base_ConnectorEnd"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ConnectorEnd"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_NestedConnectorEnd_ownedAttribute.base_ConnectorEnd_lowerValue"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6I1j00yQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/NestedConnectorEnd.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6I1j1EyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6I1j1UyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ParticipantProperty" name="ParticipantProperty"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ParticipantProperty._ownedComment.0" annotatedElement="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ParticipantProperty"> - <body> - The Block stereotype extends Class, so it can be applied to any specialization of Class, including Association Classes. These are informally called “association blocks.” An association block can own properties and connectors, like any other block. Each instance of an association block can link together instances of the end classifiers of the association. To refer to linked objects and values of an instance of an association block, it is necessary for the modeler to specify which (participant) properties of the association block identify the instances being linked at which end of the association. The value of a participant property on an instance (link) of the association block is the value or object at the end of the link corresponding to this end of the association. - </body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ParticipantProperty_ownedAttribute.base_Property" name="base_Property" association="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ParticipantProperty_base_Property"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ParticipantProperty_ownedAttribute.base_Property_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ParticipantProperty_ownedAttribute.end" name="end"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ParticipantProperty_ownedAttribute.end._ownedComment.0" annotatedElement="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ParticipantProperty_ownedAttribute.end"> - <body>A member end of the association block owning the property on which the stereotype is applied.</body> - </ownedComment> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6I08xkyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ParticipantProperty.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6I08x0yQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6I08yEyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_PropertySpecificType" name="PropertySpecificType"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_PropertySpecificType._ownedComment.0" annotatedElement="SysML.package_packagedElement_Blocks.stereotype_packagedElement_PropertySpecificType"> - <body>The PropertySpecificType stereotype should automatically be applied to the classifier which types a property with a propertyspecific type. This classifier can contain definitions of new or redefined features which extend the original classifier referenced by the property-specific type.</body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_PropertySpecificType_ownedAttribute.base_Classifier" name="base_Classifier" association="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_PropertySpecificType_base_Classifier"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Classifier"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_PropertySpecificType_ownedAttribute.base_Classifier_lowerValue"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6I0VukyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/PropertySpecificType.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6I0Vu0yQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6I0VvEyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType" name="ValueType"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType._ownedComment.0" annotatedElement="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType"> - <body> - A ValueType defines types of values that may be used to express information about a system, but cannot be identified as the target of any reference. Since a value cannot be identified except by means of the value itself, each such value within a model is independent of any other, unless other forms of constraints are imposed. Value types may be used to type properties, operation parameters, or potentially other elements within SysML. SysML defines ValueType as a stereotype of UML DataType to establish a more neutral term for system values that may never be given a concrete data representation. - </body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType_ownedAttribute.base_DataType" name="base_DataType" association="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ValueType_base_DataType"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#DataType"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType_ownedAttribute.base_DataType_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType_ownedAttribute.quantityKind" name="quantityKind" association="SysML.package_packagedElement_Blocks.association_packagedElement_A_valueType_quantityKind"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType_ownedAttribute.quantityKind._ownedComment.0" annotatedElement="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType_ownedAttribute.quantityKind"> - <body> - A kind of quantity that may be stated by means of defined units, as identified by an instance of the Dimension stereotype. A value type may optionally specify a dimension without any unit. Such a value has no concrete representation, but may be used to express a value in an abstract form independent of any specific units. - </body> - </ownedComment> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#InstanceSpecification"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType_ownedAttribute.quantityKind_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType_ownedAttribute.unit" name="unit" association="SysML.package_packagedElement_Blocks.association_packagedElement_A_valueType_unit"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType_ownedAttribute.unit._ownedComment.0" annotatedElement="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType_ownedAttribute.unit"> - <body>A quantity in terms of which the magnitudes of other quantities that have the same dimension can be stated, as identified by an instance of the Unit stereotype.</body> - </ownedComment> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#InstanceSpecification"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ValueType_ownedAttribute.unit_lowerValue"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6Iu2I0yQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ValueType.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6Iu2JEyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6Iu2JUyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Profile" xmi:id="SysML.package_packagedElement_ConstraintBlocks" name="ConstraintBlocks"> - <packageImport xmi:type="uml:PackageImport" xmi:id="SysML.package_packagedElement_ConstraintBlocks._packageImport.SysML.package_packagedElement_Blocks" importedPackage="SysML.package_packagedElement_Blocks"/> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_ConstraintBlocks.extension_packagedElement_E_extension_ConstraintBlock_base_Class" name="E_extension_ConstraintBlock_base_Class" memberEnd="SysML.package_packagedElement_ConstraintBlocks.stereotype_packagedElement_ConstraintBlock_ownedAttribute.base_Class SysML.package_packagedElement_ConstraintBlocks.extension_packagedElement_E_extension_ConstraintBlock_base_Class_ownedEnd.extension_ConstraintBlock" navigableOwnedEnd="SysML.package_packagedElement_ConstraintBlocks.extension_packagedElement_E_extension_ConstraintBlock_base_Class_ownedEnd.extension_ConstraintBlock"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_ConstraintBlocks.extension_packagedElement_E_extension_ConstraintBlock_base_Class_ownedEnd.extension_ConstraintBlock" name="extension_ConstraintBlock" type="SysML.package_packagedElement_ConstraintBlocks.stereotype_packagedElement_ConstraintBlock" association="SysML.package_packagedElement_ConstraintBlocks.extension_packagedElement_E_extension_ConstraintBlock_base_Class"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ConstraintBlocks.extension_packagedElement_E_extension_ConstraintBlock_base_Class_ownedEnd.extension_ConstraintBlock_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_ConstraintBlocks.stereotype_packagedElement_ConstraintBlock" name="ConstraintBlock"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_ConstraintBlocks.stereotype_packagedElement_ConstraintBlock._ownedComment.0" annotatedElement="SysML.package_packagedElement_ConstraintBlocks.stereotype_packagedElement_ConstraintBlock"> - <body> - A constraint block is a block that packages the statement of a constraint so it may be applied in a reusable way to constrain properties of other blocks. A constraint block typically defines one or more constraint parameters, which are bound to properties of other blocks in a surrounding context where the constraint is used. Binding connectors, as defined in Chapter 8: Blocks, are used to bind each parameter of the constraint block to a property in the surrounding context. All properties of a constraint block are constraint parameters, with the exception of constraint properties that hold internally nested usages of other constraint blocks. - </body> - </ownedComment> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_ConstraintBlocks.stereotype_packagedElement_ConstraintBlock._generalization.SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" general="SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" isSubstitutable="false"/> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_ConstraintBlocks.stereotype_packagedElement_ConstraintBlock_ownedAttribute.base_Class" name="base_Class" association="SysML.package_packagedElement_ConstraintBlocks.extension_packagedElement_E_extension_ConstraintBlock_base_Class"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ConstraintBlocks.stereotype_packagedElement_ConstraintBlock_ownedAttribute.base_Class_lowerValue"/> - </ownedAttribute> - <ownedOperation xmi:type="uml:Operation" xmi:id="_0QdHgACzEeabH6-I0dvpUQ" name="getParameters"> - <ownedParameter xmi:type="uml:Parameter" xmi:id="_74eBwACzEeabH6-I0dvpUQ" name="parameters" direction="return"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="__6QcMACzEeabH6-I0dvpUQ"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="__6TfgACzEeabH6-I0dvpUQ" value="*"/> - </ownedParameter> - </ownedOperation> - <icon xmi:type="uml:Image" xmi:id="_6IyggEyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ConstraintBlock.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IyggUyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IyggkyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Profile" xmi:id="SysML.package_packagedElement_DeprecatedElements" name="DeprecatedElements"> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_DeprecatedElements.extension_packagedElement_E_extension_FlowPort_base_Port" name="E_extension_FlowPort_base_Port" memberEnd="SysML.package_packagedElement_DeprecatedElements.stereotype_packagedElement_FlowPort_ownedAttribute.base_Port SysML.package_packagedElement_DeprecatedElements.extension_packagedElement_E_extension_FlowPort_base_Port_ownedEnd.extension_FlowPort" navigableOwnedEnd="SysML.package_packagedElement_DeprecatedElements.extension_packagedElement_E_extension_FlowPort_base_Port_ownedEnd.extension_FlowPort"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_DeprecatedElements.extension_packagedElement_E_extension_FlowPort_base_Port_ownedEnd.extension_FlowPort" name="extension_FlowPort" type="SysML.package_packagedElement_DeprecatedElements.stereotype_packagedElement_FlowPort" association="SysML.package_packagedElement_DeprecatedElements.extension_packagedElement_E_extension_FlowPort_base_Port"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_DeprecatedElements.extension_packagedElement_E_extension_FlowPort_base_Port_ownedEnd.extension_FlowPort_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_DeprecatedElements.extension_packagedElement_E_extension_FlowSpecification_base_Interface" name="E_extension_FlowSpecification_base_Interface" memberEnd="SysML.package_packagedElement_DeprecatedElements.stereotype_packagedElement_FlowSpecification_ownedAttribute.base_Interface SysML.package_packagedElement_DeprecatedElements.extension_packagedElement_E_extension_FlowSpecification_base_Interface_ownedEnd.extension_FlowSpecification" navigableOwnedEnd="SysML.package_packagedElement_DeprecatedElements.extension_packagedElement_E_extension_FlowSpecification_base_Interface_ownedEnd.extension_FlowSpecification"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_DeprecatedElements.extension_packagedElement_E_extension_FlowSpecification_base_Interface_ownedEnd.extension_FlowSpecification" name="extension_FlowSpecification" type="SysML.package_packagedElement_DeprecatedElements.stereotype_packagedElement_FlowSpecification" association="SysML.package_packagedElement_DeprecatedElements.extension_packagedElement_E_extension_FlowSpecification_base_Interface"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_DeprecatedElements.extension_packagedElement_E_extension_FlowSpecification_base_Interface_ownedEnd.extension_FlowSpecification_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_DeprecatedElements.stereotype_packagedElement_FlowPort" name="FlowPort"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_DeprecatedElements.stereotype_packagedElement_FlowPort._ownedComment.0" annotatedElement="SysML.package_packagedElement_DeprecatedElements.stereotype_packagedElement_FlowPort"> - <body> - A FlowPort is an interaction point through which input and/or output of items such as data, material, or energy may flow. This enables the owning block to declare which items it may exchange with its environment and the interaction points through which the exchange is made. We distinguish between atomic flow port and a nonatomic flow port. Atomic flow ports relay items that are classified by a single Block, ValueType, DataType, or Signal classifier. A nonatomic flow port relays items of several types as specified by a FlowSpecification. Flow ports and associated flow specifications define “what can flow” between the block and its environment, whereas item flows specify “what does flow” in a specific usage context. Flow ports relay items to their owning block or to a connector that connects them with their owner’s internal parts (internal connector). - </body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_DeprecatedElements.stereotype_packagedElement_FlowPort_ownedAttribute.base_Port" name="base_Port" association="SysML.package_packagedElement_DeprecatedElements.extension_packagedElement_E_extension_FlowPort_base_Port"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_DeprecatedElements.stereotype_packagedElement_FlowPort_ownedAttribute.direction" name="direction" type="SysML.package_packagedElement_Ports_u0026Flows.enumeration_packagedElement_FlowDirection"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_DeprecatedElements.stereotype_packagedElement_FlowPort_ownedAttribute.direction._ownedComment.0" annotatedElement="SysML.package_packagedElement_DeprecatedElements.stereotype_packagedElement_FlowPort_ownedAttribute.direction"> - <body> - Indicates the direction in which an atomic flow port relays its items. If the direction is set to “in,” then the items are relayed from an external connector via the flow port into the flow port’s owner (or one of its parts). If the direction is set to “out,” then the items are relayed from the flow port’s owner, via the flow port, through an external connector attached to the flow port. If the direction is set to “inout,” then items can flow both ways. By default, the value is inout. - </body> - </ownedComment> - <defaultValue xmi:type="uml:InstanceValue" xmi:id="SysML.package_packagedElement_DeprecatedElements.stereotype_packagedElement_FlowPort_ownedAttribute.direction_defaultValue.inout" instance="SysML.package_packagedElement_Ports_u0026Flows.enumeration_packagedElement_FlowDirection.enumerationLiteral_ownedLiteral_inout"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_DeprecatedElements.stereotype_packagedElement_FlowPort_ownedAttribute.isAtomic" name="isAtomic" isReadOnly="true" isDerived="true"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_DeprecatedElements.stereotype_packagedElement_FlowPort_ownedAttribute.isAtomic._ownedComment.0" annotatedElement="SysML.package_packagedElement_DeprecatedElements.stereotype_packagedElement_FlowPort_ownedAttribute.isAtomic"> - <body>This is a derived attribute (derived from the flow port’s type). For a flow port typed by a flow specification the value of this attribute is False, otherwise the value is True.</body> - </ownedComment> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> - </ownedAttribute> - <ownedOperation xmi:type="uml:Operation" xmi:id="_47RiUFFjEeWDrM-hgr_-Kg" name="getIcon"> - <ownedParameter xmi:type="uml:Parameter" xmi:id="_47RiUVFjEeWDrM-hgr_-Kg" name="img" direction="return"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Image"/> - </ownedParameter> - </ownedOperation> - <icon xmi:type="uml:Image" xmi:id="_47RiVVFjEeWDrM-hgr_-Kg" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowPort_IN.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_47RiVlFjEeWDrM-hgr_-Kg" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_47RiV1FjEeWDrM-hgr_-Kg" key="image_kind_key" value="icon"/> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_FyVPIHHlEeeebZCswQsitw" key="image_name_key" value="FlowPort_IN"/> - </eAnnotations> - </icon> - <icon xmi:type="uml:Image" xmi:id="_47SJYFFjEeWDrM-hgr_-Kg" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowPort_OUT.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_47SJYVFjEeWDrM-hgr_-Kg" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_47SJYlFjEeWDrM-hgr_-Kg" key="image_kind_key" value="icon"/> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_HBX1IHHlEeeebZCswQsitw" key="image_name_key" value="FlowPort_OUT"/> - </eAnnotations> - </icon> - <icon xmi:type="uml:Image" xmi:id="_47SJY1FjEeWDrM-hgr_-Kg" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowPort_INOUT.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_47SJZFFjEeWDrM-hgr_-Kg" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_47SJZVFjEeWDrM-hgr_-Kg" key="image_kind_key" value="icon"/> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_IBspsHHlEeeebZCswQsitw" key="image_name_key" value="FlowPort_INOUT"/> - </eAnnotations> - </icon> - <icon xmi:type="uml:Image" xmi:id="_47SJZlFjEeWDrM-hgr_-Kg" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowPort_NA.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_47SJZ1FjEeWDrM-hgr_-Kg" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_47SJaFFjEeWDrM-hgr_-Kg" key="image_kind_key" value="icon"/> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_I-bXsHHlEeeebZCswQsitw" key="image_name_key" value="FlowPort_NA"/> - </eAnnotations> - </icon> - <icon xmi:type="uml:Image" xmi:id="_6I1j0EyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowPort.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6I1j0UyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6I1j0kyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_J8b4EHHlEeeebZCswQsitw" key="image_name_key" value="FlowPort"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_DeprecatedElements.stereotype_packagedElement_FlowSpecification" name="FlowSpecification"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_DeprecatedElements.stereotype_packagedElement_FlowSpecification._ownedComment.0" annotatedElement="SysML.package_packagedElement_DeprecatedElements.stereotype_packagedElement_FlowSpecification"> - <body>A FlowSpecification specifies inputs and outputs as a set of flow properties. A flow specification is used by flow ports to specify what items can flow via the port.</body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_DeprecatedElements.stereotype_packagedElement_FlowSpecification_ownedAttribute.base_Interface" name="base_Interface" association="SysML.package_packagedElement_DeprecatedElements.extension_packagedElement_E_extension_FlowSpecification_base_Interface"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Interface"/> - </ownedAttribute> - <ownedOperation xmi:type="uml:Operation" xmi:id="_35VWsGa4EeW5JrLha2pcnA" name="getFlowProperties"> - <ownedParameter xmi:type="uml:Parameter" xmi:id="_35VWsWa4EeW5JrLha2pcnA" name="flowProperties" direction="return"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_35VWsma4EeW5JrLha2pcnA"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_35VWs2a4EeW5JrLha2pcnA" value="*"/> - </ownedParameter> - </ownedOperation> - <icon xmi:type="uml:Image" xmi:id="_6IvdNkyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowSpecification.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IvdN0yQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IvdOEyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Profile" xmi:id="SysML.package_packagedElement_ModelElements" name="ModelElements"> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Conform_base_Generalization" name="E_extension_Conform_base_Generalization" memberEnd="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Conform_base_Generalization_ownedEnd.extension_Conform SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Conform_ownedAttribute.base_Generalization" navigableOwnedEnd="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Conform_base_Generalization_ownedEnd.extension_Conform"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Conform_base_Generalization_ownedEnd.extension_Conform" name="extension_Conform" type="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Conform" association="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Conform_base_Generalization"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Conform_base_Generalization_ownedEnd.extension_Conform_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_ElementGroup_base_Comment" name="E_extension_ElementGroup_base_Comment" memberEnd="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_ElementGroup_base_Comment_ownedEnd.extension_ElementGroup SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup_ownedAttribute.base_Comment" navigableOwnedEnd="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_ElementGroup_base_Comment_ownedEnd.extension_ElementGroup"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_ElementGroup_base_Comment_ownedEnd.extension_ElementGroup" name="extension_ElementGroup" type="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup" association="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_ElementGroup_base_Comment"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_ElementGroup_base_Comment_ownedEnd.extension_ElementGroup_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Expose_base_Dependency" name="E_extension_Expose_base_Dependency" memberEnd="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Expose_base_Dependency_ownedEnd.extension_Expose SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Expose_ownedAttribute.base_Dependency" navigableOwnedEnd="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Expose_base_Dependency_ownedEnd.extension_Expose"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Expose_base_Dependency_ownedEnd.extension_Expose" name="extension_Expose" type="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Expose" association="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Expose_base_Dependency"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Expose_base_Dependency_ownedEnd.extension_Expose_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Problem_base_Comment" name="E_extension_Problem_base_Comment" memberEnd="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Problem_ownedAttribute.base_Comment SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Problem_base_Comment_ownedEnd.extension_Problem" navigableOwnedEnd="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Problem_base_Comment_ownedEnd.extension_Problem"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Problem_base_Comment_ownedEnd.extension_Problem" name="extension_Problem" type="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Problem" association="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Problem_base_Comment"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Problem_base_Comment_ownedEnd.extension_Problem_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Rationale_base_Comment" name="E_extension_Rationale_base_Comment" memberEnd="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Rationale_ownedAttribute.base_Comment SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Rationale_base_Comment_ownedEnd.extension_Rationale" navigableOwnedEnd="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Rationale_base_Comment_ownedEnd.extension_Rationale"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Rationale_base_Comment_ownedEnd.extension_Rationale" name="extension_Rationale" type="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Rationale" association="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Rationale_base_Comment"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Rationale_base_Comment_ownedEnd.extension_Rationale_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Stakeholder_base_Classifier" name="E_extension_Stakeholder_base_Classifier" memberEnd="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Stakeholder_base_Classifier_ownedEnd.extension_Stakeholder SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Stakeholder_ownedAttribute.base_Classifier" navigableOwnedEnd="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Stakeholder_base_Classifier_ownedEnd.extension_Stakeholder"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Stakeholder_base_Classifier_ownedEnd.extension_Stakeholder" name="extension_Stakeholder" type="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Stakeholder" association="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Stakeholder_base_Classifier"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Stakeholder_base_Classifier_ownedEnd.extension_Stakeholder_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_View_base_Class" name="E_extension_View_base_Class" memberEnd="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_View_base_Class_ownedEnd.extension_View SysML.package_packagedElement_ModelElements.stereotype_packagedElement_View_ownedAttribute.base_Class" navigableOwnedEnd="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_View_base_Class_ownedEnd.extension_View"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_View_base_Class_ownedEnd.extension_View" name="extension_View" type="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_View" association="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_View_base_Class"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_View_base_Class_ownedEnd.extension_View_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Viewpoint_base_Class" name="E_extension_Viewpoint_base_Class" memberEnd="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.base_Class SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Viewpoint_base_Class_ownedEnd.extension_Viewpoint" navigableOwnedEnd="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Viewpoint_base_Class_ownedEnd.extension_Viewpoint"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Viewpoint_base_Class_ownedEnd.extension_Viewpoint" name="extension_Viewpoint" type="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint" association="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Viewpoint_base_Class"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Viewpoint_base_Class_ownedEnd.extension_Viewpoint_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Conform" name="Conform"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Conform._ownedComment.0" annotatedElement="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Conform"> - <body> - A Conform relationship is a dependency between a view and a viewpoint. The view conforms to the specified rules and conventions detailed in the viewpoint. Conform is a specialization of the UML dependency, and as with other dependencies the arrow direction points from the (client/source) to the (supplier/target). - </body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Conform_ownedAttribute.base_Generalization" name="base_Generalization" association="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Conform_base_Generalization"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Generalization"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Conform_ownedAttribute.base_Generalization_lowerValue"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6IkeEEyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Conform.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IlFIEyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IlFIUyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup" name="ElementGroup"> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup_ownedAttribute.base_Comment" name="base_Comment" association="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_ElementGroup_base_Comment"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Comment"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup_ownedAttribute.base_Comment_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup_ownedAttribute.criterion" name="criterion" isReadOnly="true" isDerived="true"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup_ownedAttribute.member" name="member" isReadOnly="true" isDerived="true"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup_ownedAttribute.member_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup_ownedAttribute.member_upperValue" value="*"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup_ownedAttribute.name" name="name"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup_ownedAttribute.orderedMemeber" name="orderedMemeber" isOrdered="true" subsettedProperty="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup_ownedAttribute.member"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup_ownedAttribute.orderedMemeber_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup_ownedAttribute.orderedMemeber_upperValue" value="*"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup_ownedAttribute.size" name="size" isReadOnly="true" isDerived="true"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Integer"/> - </ownedAttribute> - <ownedOperation xmi:type="uml:Operation" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup_ownedOperation.allGroups_Element_ElementGroup" name="allGroups" isStatic="true" isQuery="true"> - <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup_ownedOperation.allGroups_Element_ElementGroup.parameter_ownedParameter_e" name="e"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> - </ownedParameter> - <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup_ownedOperation.allGroups_Element_ElementGroup.parameter_ownedParameter_result" name="result" type="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup_ownedOperation.allGroups_Element_ElementGroup.parameter_ownedParameter_result_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup_ownedOperation.allGroups_Element_ElementGroup.parameter_ownedParameter_result_upperValue" value="*"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:type="uml:Operation" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup_ownedOperation.criterion_String" name="criterion" isQuery="true"> - <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup_ownedOperation.criterion_String.parameter_ownedParameter_result" name="result"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup_ownedOperation.criterion_String.parameter_ownedParameter_result_lowerValue"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:type="uml:Operation" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup_ownedOperation.member_Element" name="member" isQuery="true"> - <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup_ownedOperation.member_Element.parameter_ownedParameter_result" name="result"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup_ownedOperation.member_Element.parameter_ownedParameter_result_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup_ownedOperation.member_Element.parameter_ownedParameter_result_upperValue" value="*"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:type="uml:Operation" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup_ownedOperation.size_Integer" name="size" isQuery="true"> - <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_ElementGroup_ownedOperation.size_Integer.parameter_ownedParameter_result" name="result"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Integer"/> - </ownedParameter> - </ownedOperation> - <icon xmi:type="uml:Image" xmi:id="_6IvdOUyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ElementGroup.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IvdOkyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IvdO0yQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Expose" name="Expose"> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Expose_ownedAttribute.base_Dependency" name="base_Dependency" association="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Expose_base_Dependency"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Dependency"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Expose_ownedAttribute.base_Dependency_lowerValue"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6IyghkyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Expose.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6Iygh0yQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IygiEyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Problem" name="Problem"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Problem._ownedComment.0" annotatedElement="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Problem"> - <body> - A Problem documents a deficiency, limitation, or failure of one or more model elements to satisfy a requirement or need, or other undesired outcome. It may be used to capture problems identified during analysis, design, verification, or manufacture and associate the problem with the relevant model elements. Problem is a stereotype of comment and may be attached to any other model element in the same manner as a comment. - </body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Problem_ownedAttribute.base_Comment" name="base_Comment" association="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Problem_base_Comment"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Comment"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Problem_ownedAttribute.base_Comment_lowerValue"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6IwrWUyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Problem.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IwrWkyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IwrW0yQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Rationale" name="Rationale"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Rationale._ownedComment.0" annotatedElement="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Rationale"> - <body> - A Rationale documents the justification for decisions and the requirements, design, and other decisions. A Rationale can be attached to any model element including relationships. It allows the user, for example, to specify a rationale that may reference more detailed documentation such as a trade study or analysis report. Rationale is a stereotype of comment and may be attached to any other model element in the same manner as a comment. - </body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Rationale_ownedAttribute.base_Comment" name="base_Comment" association="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Rationale_base_Comment"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Comment"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Rationale_ownedAttribute.base_Comment_lowerValue"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6IzupEyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Rationale.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IzupUyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IzupkyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Stakeholder" name="Stakeholder"> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Stakeholder_ownedAttribute.base_Classifier" name="base_Classifier" association="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Stakeholder_base_Classifier"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Classifier"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Stakeholder_ownedAttribute.base_Classifier_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Stakeholder_ownedAttribute.concernList" name="concernList"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Comment"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_OfXdUDqkEeWWssZOJ2QVuQ"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_OfZSgDqkEeWWssZOJ2QVuQ" value="*"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Stakeholder_ownedAttribute.concern" name="concern" isReadOnly="true" isDerived="true"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Stakeholder_ownedAttribute.concern_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Stakeholder_ownedAttribute.concern_upperValue" value="*"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6IwrU0yQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Stakeholder.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IwrVEyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IwrVUyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_View" name="View"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_View._ownedComment.0" annotatedElement="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_View"> - <body>A View is a representation of a whole system or subsystem from the perspective of a single viewpoint. Views are allowed to import other elements including other packages and other views that conform to the viewpoint.</body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_View_ownedAttribute.base_Class" name="base_Class" association="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_View_base_Class"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_View_ownedAttribute.base_Class_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_View_ownedAttribute.stakeholder" name="stakeholder" type="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Stakeholder" isReadOnly="true" isDerived="true"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_View_ownedAttribute.stakeholder_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_View_ownedAttribute.stakeholder_upperValue" value="*"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_View_ownedAttribute.viewPoint" name="viewPoint" type="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint" isReadOnly="true" isDerived="true"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_View_ownedAttribute.viewPoint._ownedComment.0" annotatedElement="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_View_ownedAttribute.viewPoint"> - <body>The viewpoint for this View, derived from the supplier of the «conform» dependency whose client is this View.</body> - </ownedComment> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6Iygg0yQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/View.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IyghEyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IyghUyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint" name="Viewpoint"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint._ownedComment.0" annotatedElement="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint"> - <body> - A Viewpoint is a specification of the conventions and rules for constructing and using a view for the purpose of addressing a set of stakeholder concerns. The languages and methods for specifying a view may reference languages and methods in another viewpoint. They specify the elements expected to be represented in the view, and may be formally or informally defined. For example, the security viewpoint may require the security requirements, security functional and physical architecture, and security test cases. - </body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.base_Class" name="base_Class" association="SysML.package_packagedElement_ModelElements.extension_packagedElement_E_extension_Viewpoint_base_Class"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.base_Class_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.concern" name="concern" isReadOnly="true" isDerived="true"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.concern_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.concern_upperValue" value="*"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.concernList" name="concernList"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.concernList._ownedComment.0" annotatedElement="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.concernList"> - <body>The interest of the stakeholders.</body> - </ownedComment> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Comment"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.concernList_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.concernList_upperValue" value="*"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.language" name="language"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.language._ownedComment.0" annotatedElement="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.language"> - <body>The languages used to construct the viewpoint.</body> - </ownedComment> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.language_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.language_upperValue" value="*"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.method" name="method" isReadOnly="true" isDerived="true"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.method._ownedComment.0" annotatedElement="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.method"> - <body>The methods used to construct the views for this viewpoint.</body> - </ownedComment> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Behavior"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.method_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.method_upperValue" value="*"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.presentation" name="presentation"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.presentation_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.presentation_upperValue" value="*"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.purpose" name="purpose"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.purpose._ownedComment.0" annotatedElement="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.purpose"> - <body>The purpose addresses the stakeholder concerns.</body> - </ownedComment> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.stakeholder" name="stakeholder" type="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Stakeholder"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.stakeholder._ownedComment.0" annotatedElement="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.stakeholder"> - <body>Set of stakeholders.</body> - </ownedComment> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.stakeholder_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_ModelElements.stereotype_packagedElement_Viewpoint_ownedAttribute.stakeholder_upperValue" value="*"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6IwESUyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Viewpoint.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IwESkyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IwES0yQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Profile" xmi:id="SysML.package_packagedElement_Ports_u0026Flows" name="PortsAndFlows"> - <packageImport xmi:type="uml:PackageImport" xmi:id="SysML.package_packagedElement_Ports_u0026Flows._packageImport.SysML.package_packagedElement_Blocks" importedPackage="SysML.package_packagedElement_Blocks"/> - <packagedElement xmi:type="uml:Association" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.association_packagedElement_A_changeStructuralFeatureEvent_structuralFeature" name="A_changeStructuralFeatureEvent_structuralFeature" memberEnd="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ChangeStructuralFeatureEvent_ownedAttribute.structuralFeature SysML.package_packagedElement_Ports_u0026Flows.association_packagedElement_A_changeStructuralFeatureEvent_structuralFeature_ownedEnd.changeStructuralFeatureEvent"> - <ownedEnd xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.association_packagedElement_A_changeStructuralFeatureEvent_structuralFeature_ownedEnd.changeStructuralFeatureEvent" name="changeStructuralFeatureEvent" type="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ChangeStructuralFeatureEvent" association="SysML.package_packagedElement_Ports_u0026Flows.association_packagedElement_A_changeStructuralFeatureEvent_structuralFeature"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.association_packagedElement_A_changeStructuralFeatureEvent_structuralFeature_ownedEnd.changeStructuralFeatureEvent_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.association_packagedElement_A_changeStructuralFeatureEvent_structuralFeature_ownedEnd.changeStructuralFeatureEvent_upperValue" value="*"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Association" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.association_packagedElement_A_invocationOnNestedPortAction_onNestedPort" name="A_invocationOnNestedPortAction_onNestedPort" memberEnd="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_InvocationOnNestedPortAction_ownedAttribute.onNestedPort SysML.package_packagedElement_Ports_u0026Flows.association_packagedElement_A_invocationOnNestedPortAction_onNestedPort_ownedEnd.invocationOnNestedPortAction"> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.association_packagedElement_A_invocationOnNestedPortAction_onNestedPort._generalization.SysML.package_packagedElement_Blocks.association_packagedElement_A_elementPropertyPath_propertyPath" general="SysML.package_packagedElement_Blocks.association_packagedElement_A_elementPropertyPath_propertyPath"/> - <ownedEnd xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.association_packagedElement_A_invocationOnNestedPortAction_onNestedPort_ownedEnd.invocationOnNestedPortAction" name="invocationOnNestedPortAction" type="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_InvocationOnNestedPortAction" redefinedProperty="SysML.package_packagedElement_Blocks.association_packagedElement_A_elementPropertyPath_propertyPath_ownedEnd.elementPropertyPath" association="SysML.package_packagedElement_Ports_u0026Flows.association_packagedElement_A_invocationOnNestedPortAction_onNestedPort"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.association_packagedElement_A_invocationOnNestedPortAction_onNestedPort_ownedEnd.invocationOnNestedPortAction_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.association_packagedElement_A_invocationOnNestedPortAction_onNestedPort_ownedEnd.invocationOnNestedPortAction_upperValue" value="*"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Association" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.association_packagedElement_A_triggerOnNestedPort_onNestedPort" name="A_triggerOnNestedPort_onNestedPort" memberEnd="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_TriggerOnNestedPort_ownedAttribute.onNestedPort SysML.package_packagedElement_Ports_u0026Flows.association_packagedElement_A_triggerOnNestedPort_onNestedPort_ownedEnd.triggerOnNestedPort"> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.association_packagedElement_A_triggerOnNestedPort_onNestedPort._generalization.SysML.package_packagedElement_Blocks.association_packagedElement_A_elementPropertyPath_propertyPath" general="SysML.package_packagedElement_Blocks.association_packagedElement_A_elementPropertyPath_propertyPath"/> - <ownedEnd xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.association_packagedElement_A_triggerOnNestedPort_onNestedPort_ownedEnd.triggerOnNestedPort" name="triggerOnNestedPort" type="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_TriggerOnNestedPort" redefinedProperty="SysML.package_packagedElement_Blocks.association_packagedElement_A_elementPropertyPath_propertyPath_ownedEnd.elementPropertyPath" association="SysML.package_packagedElement_Ports_u0026Flows.association_packagedElement_A_triggerOnNestedPort_onNestedPort"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.association_packagedElement_A_triggerOnNestedPort_onNestedPort_ownedEnd.triggerOnNestedPort_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.association_packagedElement_A_triggerOnNestedPort_onNestedPort_ownedEnd.triggerOnNestedPort_upperValue" value="*"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Enumeration" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.enumeration_packagedElement_FeatureDirection" name="FeatureDirection"> - <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.enumeration_packagedElement_FeatureDirection.enumerationLiteral_ownedLiteral_provided" name="provided"/> - <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.enumeration_packagedElement_FeatureDirection.enumerationLiteral_ownedLiteral_providedRequired" name="providedRequired"/> - <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.enumeration_packagedElement_FeatureDirection.enumerationLiteral_ownedLiteral_required" name="required"/> - </packagedElement> - <packagedElement xmi:type="uml:Enumeration" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.enumeration_packagedElement_FlowDirection" name="FlowDirection"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.enumeration_packagedElement_FlowDirection._ownedComment.0" annotatedElement="SysML.package_packagedElement_Ports_u0026Flows.enumeration_packagedElement_FlowDirection"> - <body>FlowDirection is an enumeration type that defines literals used for specifying input and output directions. FlowDirection is used by flow properties to indicate if a property is an input or an output with respect to its owner.</body> - </ownedComment> - <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.enumeration_packagedElement_FlowDirection.enumerationLiteral_ownedLiteral_in" name="in"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.enumeration_packagedElement_FlowDirection.enumerationLiteral_ownedLiteral_in._ownedComment.0" annotatedElement="SysML.package_packagedElement_Ports_u0026Flows.enumeration_packagedElement_FlowDirection.enumerationLiteral_ownedLiteral_in"> - <body>Indicates that the flow property is input to the owning block.</body> - </ownedComment> - </ownedLiteral> - <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.enumeration_packagedElement_FlowDirection.enumerationLiteral_ownedLiteral_inout" name="inout"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.enumeration_packagedElement_FlowDirection.enumerationLiteral_ownedLiteral_inout._ownedComment.0" annotatedElement="SysML.package_packagedElement_Ports_u0026Flows.enumeration_packagedElement_FlowDirection.enumerationLiteral_ownedLiteral_inout"> - <body>Indicates that the flow property is both an input and an output of the owning block.</body> - </ownedComment> - </ownedLiteral> - <ownedLiteral xmi:type="uml:EnumerationLiteral" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.enumeration_packagedElement_FlowDirection.enumerationLiteral_ownedLiteral_out" name="out"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.enumeration_packagedElement_FlowDirection.enumerationLiteral_ownedLiteral_out._ownedComment.0" annotatedElement="SysML.package_packagedElement_Ports_u0026Flows.enumeration_packagedElement_FlowDirection.enumerationLiteral_ownedLiteral_out"> - <body>Indicates that the flow property is an output of the owning block.</body> - </ownedComment> - </ownedLiteral> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction" name="E_extension_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction" memberEnd="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction_ownedEnd.extension_AcceptChangeStructuralFeatureEventAction SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_AcceptChangeStructuralFeatureEventAction_ownedAttribute.base_AcceptEventAction" navigableOwnedEnd="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction_ownedEnd.extension_AcceptChangeStructuralFeatureEventAction"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction_ownedEnd.extension_AcceptChangeStructuralFeatureEventAction" name="extension_AcceptChangeStructuralFeatureEventAction" type="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_AcceptChangeStructuralFeatureEventAction" association="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction_ownedEnd.extension_AcceptChangeStructuralFeatureEventAction_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_ChangeStructuralFeatureEvent_base_ChangeEvent" name="E_extension_ChangeStructuralFeatureEvent_base_ChangeEvent" memberEnd="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_ChangeStructuralFeatureEvent_base_ChangeEvent_ownedEnd.extension_ChangeStructuralFeatureEvent SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ChangeStructuralFeatureEvent_ownedAttribute.base_ChangeEvent" navigableOwnedEnd="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_ChangeStructuralFeatureEvent_base_ChangeEvent_ownedEnd.extension_ChangeStructuralFeatureEvent"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_ChangeStructuralFeatureEvent_base_ChangeEvent_ownedEnd.extension_ChangeStructuralFeatureEvent" name="extension_ChangeStructuralFeatureEvent" type="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ChangeStructuralFeatureEvent" association="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_ChangeStructuralFeatureEvent_base_ChangeEvent"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_ChangeStructuralFeatureEvent_base_ChangeEvent_ownedEnd.extension_ChangeStructuralFeatureEvent_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_DirectedFeature_base_Feature" name="E_extension_DirectedFeature_base_Feature" memberEnd="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_DirectedFeature_base_Feature_ownedEnd.extension_DirectedFeature SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_DirectedFeature_ownedAttribute.base_Feature" navigableOwnedEnd="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_DirectedFeature_base_Feature_ownedEnd.extension_DirectedFeature"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_DirectedFeature_base_Feature_ownedEnd.extension_DirectedFeature" name="extension_DirectedFeature" type="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_DirectedFeature" association="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_DirectedFeature_base_Feature"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_DirectedFeature_base_Feature_ownedEnd.extension_DirectedFeature_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_FlowProperty_base_Property" name="E_extension_FlowProperty_base_Property" memberEnd="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_FlowProperty_ownedAttribute.base_Property SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_FlowProperty_base_Property_ownedEnd.extension_FlowProperty" navigableOwnedEnd="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_FlowProperty_base_Property_ownedEnd.extension_FlowProperty"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_FlowProperty_base_Property_ownedEnd.extension_FlowProperty" name="extension_FlowProperty" type="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_FlowProperty" association="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_FlowProperty_base_Property"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_FlowProperty_base_Property_ownedEnd.extension_FlowProperty_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_FullPort_base_Port" name="E_extension_FullPort_base_Port" memberEnd="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_FullPort_base_Port_ownedEnd.extension_FullPort SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_FullPort_ownedAttribute.base_Port" navigableOwnedEnd="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_FullPort_base_Port_ownedEnd.extension_FullPort"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_FullPort_base_Port_ownedEnd.extension_FullPort" name="extension_FullPort" type="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_FullPort" association="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_FullPort_base_Port"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_FullPort_base_Port_ownedEnd.extension_FullPort_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_InvocationOnNestedPortAction_base_InvocationAction" name="E_extension_InvocationOnNestedPortAction_base_InvocationAction" memberEnd="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_InvocationOnNestedPortAction_base_InvocationAction_ownedEnd.extension_InvocationOnNestedPortAction SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_InvocationOnNestedPortAction_ownedAttribute.base_InvocationAction" navigableOwnedEnd="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_InvocationOnNestedPortAction_base_InvocationAction_ownedEnd.extension_InvocationOnNestedPortAction"> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_InvocationOnNestedPortAction_base_InvocationAction._generalization.SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ElementPropertyPath_base_Element" general="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ElementPropertyPath_base_Element"/> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_InvocationOnNestedPortAction_base_InvocationAction_ownedEnd.extension_InvocationOnNestedPortAction" name="extension_InvocationOnNestedPortAction" type="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_InvocationOnNestedPortAction" redefinedProperty="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ElementPropertyPath_base_Element_ownedEnd.extension_ElementPropertyPath" association="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_InvocationOnNestedPortAction_base_InvocationAction"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_InvocationOnNestedPortAction_base_InvocationAction_ownedEnd.extension_InvocationOnNestedPortAction_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_ItemFlow_base_InformationFlow" name="E_extension_ItemFlow_base_InformationFlow" memberEnd="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ItemFlow_ownedAttribute.base_InformationFlow SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_ItemFlow_base_InformationFlow_ownedEnd.extension_ItemFlow" navigableOwnedEnd="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_ItemFlow_base_InformationFlow_ownedEnd.extension_ItemFlow"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_ItemFlow_base_InformationFlow_ownedEnd.extension_ItemFlow" name="extension_ItemFlow" type="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ItemFlow" association="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_ItemFlow_base_InformationFlow"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_ItemFlow_base_InformationFlow_ownedEnd.extension_ItemFlow_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_ProxyPort_base_Port" name="E_extension_ProxyPort_base_Port" memberEnd="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_ProxyPort_base_Port_ownedEnd.extension_ProxPort SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ProxyPort_ownedAttribute.base_Port" navigableOwnedEnd="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_ProxyPort_base_Port_ownedEnd.extension_ProxPort"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_ProxyPort_base_Port_ownedEnd.extension_ProxPort" name="extension_ProxPort" type="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ProxyPort" association="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_ProxyPort_base_Port"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_ProxyPort_base_Port_ownedEnd.extension_ProxPort_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_TriggerOnNestedPort_base_Trigger" name="E_extension_TriggerOnNestedPort_base_Trigger" memberEnd="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_TriggerOnNestedPort_base_Trigger_ownedEnd.extension_TriggerOnNestedPort SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_TriggerOnNestedPort_ownedAttribute.base_Trigger" navigableOwnedEnd="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_TriggerOnNestedPort_base_Trigger_ownedEnd.extension_TriggerOnNestedPort"> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_TriggerOnNestedPort_base_Trigger._generalization.SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ElementPropertyPath_base_Element" general="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ElementPropertyPath_base_Element"/> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_TriggerOnNestedPort_base_Trigger_ownedEnd.extension_TriggerOnNestedPort" name="extension_TriggerOnNestedPort" type="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_TriggerOnNestedPort" redefinedProperty="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_ElementPropertyPath_base_Element_ownedEnd.extension_ElementPropertyPath" association="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_TriggerOnNestedPort_base_Trigger"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_TriggerOnNestedPort_base_Trigger_ownedEnd.extension_TriggerOnNestedPort_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_AcceptChangeStructuralFeatureEventAction" name="AcceptChangeStructuralFeatureEventAction"> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_AcceptChangeStructuralFeatureEventAction_ownedAttribute.base_AcceptEventAction" name="base_AcceptEventAction" association="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_AcceptChangeStructuralFeatureEventAction_base_AcceptEventAction"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#AcceptEventAction"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_AcceptChangeStructuralFeatureEventAction_ownedAttribute.base_AcceptEventAction_lowerValue"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6Ix5dkyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/AcceptChangeStructuralFeatureEventAction.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6Ix5d0yQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6Ix5eEyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ChangeStructuralFeatureEvent" name="ChangeStructuralFeatureEvent"> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ChangeStructuralFeatureEvent_ownedAttribute.base_ChangeEvent" name="base_ChangeEvent" association="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_ChangeStructuralFeatureEvent_base_ChangeEvent"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#ChangeEvent"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ChangeStructuralFeatureEvent_ownedAttribute.base_ChangeEvent_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ChangeStructuralFeatureEvent_ownedAttribute.structuralFeature" name="structuralFeature" association="SysML.package_packagedElement_Ports_u0026Flows.association_packagedElement_A_changeStructuralFeatureEvent_structuralFeature"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#StructuralFeature"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6Izup0yQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ChangeStructuralFeatureEvent.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IzuqEyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IzuqUyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_DirectedFeature" name="DirectedFeature"> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_DirectedFeature_ownedAttribute.base_Feature" name="base_Feature" association="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_DirectedFeature_base_Feature"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Feature"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_DirectedFeature_ownedAttribute.base_Feature_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_DirectedFeature_ownedAttribute.featureDirection" name="featureDirection" type="SysML.package_packagedElement_Ports_u0026Flows.enumeration_packagedElement_FeatureDirection"/> - <icon xmi:type="uml:Image" xmi:id="_6IxSaUyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/DirectedFeature.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IxSakyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IxSa0yQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_FlowProperty" name="FlowProperty"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_FlowProperty._ownedComment.0" annotatedElement="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_FlowProperty"> - <body> - A FlowProperty signifies a single flow element that can flow to/from a block. A flow property’s values are either received from or transmitted to an external block. Flow properties are defined directly on blocks or flow specifications that are those specifications which type the flow ports. Flow properties enable item flows across connectors connecting parts of the corresponding block types, either directly (in case of the property is defined on the block) or via flowPorts. For Block, Data Type, and Value Type properties, setting an “out” FlowProperty value of a block usage on one end of a connector will result in assigning the same value of an “in” FlowProperty of a block usage at the other end of the connector, provided the flow properties are matched. Flow properties of type Signal imply sending and/or receiving of a signal usage. An “out” FlowProperty of type Signal means that the owning Block may broadcast the signal via connectors and an “in” FlowProperty means that the owning block is able to receive the Signal. - </body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_FlowProperty_ownedAttribute.base_Property" name="base_Property" association="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_FlowProperty_base_Property"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_FlowProperty_ownedAttribute.base_Property_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_FlowProperty_ownedAttribute.direction" name="direction" type="SysML.package_packagedElement_Ports_u0026Flows.enumeration_packagedElement_FlowDirection"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_FlowProperty_ownedAttribute.direction._ownedComment.0" annotatedElement="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_FlowProperty_ownedAttribute.direction"> - <body>Specifies if the property value is received from an external block (direction=“in”), transmitted to an external Block (direction=“out”) or both (direction=“inout”).</body> - </ownedComment> - <defaultValue xmi:type="uml:InstanceValue" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_FlowProperty_ownedAttribute.direction_defaultValue.inout" instance="SysML.package_packagedElement_Ports_u0026Flows.enumeration_packagedElement_FlowDirection.enumerationLiteral_ownedLiteral_inout"/> - </ownedAttribute> - <ownedOperation xmi:type="uml:Operation" xmi:id="_qCZNEFFkEeW4J9vCAdMr-Q" name="getIcon"> - <ownedParameter xmi:type="uml:Parameter" xmi:id="_qCZNEVFkEeW4J9vCAdMr-Q" name="img" direction="return"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Image"/> - </ownedParameter> - </ownedOperation> - <icon xmi:type="uml:Image" xmi:id="_qCeFkFFkEeW4J9vCAdMr-Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowProperty_IN.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qCeFkVFkEeW4J9vCAdMr-Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qCeFklFkEeW4J9vCAdMr-Q" key="image_kind_key" value="icon"/> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_P1KKgHHbEee_Bq9KZR5qhA" key="image_name_key" value="FlowProperty_IN"/> - </eAnnotations> - </icon> - <icon xmi:type="uml:Image" xmi:id="_qCeFk1FkEeW4J9vCAdMr-Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowProperty_OUT.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qCeFlFFkEeW4J9vCAdMr-Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qCeFlVFkEeW4J9vCAdMr-Q" key="image_kind_key" value="icon"/> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_QxcMkHHbEee_Bq9KZR5qhA" key="image_name_key" value="FlowProperty_OUT"/> - </eAnnotations> - </icon> - <icon xmi:type="uml:Image" xmi:id="_qCeFllFkEeW4J9vCAdMr-Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowProperty_INOUT.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qCeFl1FkEeW4J9vCAdMr-Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_qCeFmFFkEeW4J9vCAdMr-Q" key="image_kind_key" value="icon"/> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_RpyJ0HHbEee_Bq9KZR5qhA" key="image_name_key" value="FlowProperty_INOUT"/> - </eAnnotations> - </icon> - <icon xmi:type="uml:Image" xmi:id="_6I08wEyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowProperty.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6I08wUyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6I08wkyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_S_SkMHHbEee_Bq9KZR5qhA" key="image_name_key" value="FlowProperty"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_FullPort" name="FullPort"> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_FullPort_ownedAttribute.base_Port" name="base_Port" association="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_FullPort_base_Port"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_FullPort_ownedAttribute.base_Port_lowerValue"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6Ix5c0yQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FullPort.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6Ix5dEyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6Ix5dUyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_InterfaceBlock" name="InterfaceBlock"> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_InterfaceBlock._generalization.SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block" general="SysML.package_packagedElement_Blocks.stereotype_packagedElement_Block"/> - <icon xmi:type="uml:Image" xmi:id="_6IxSZkyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/InterfaceBlock.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IxSZ0yQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IxSaEyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_InvocationOnNestedPortAction" name="InvocationOnNestedPortAction"> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_InvocationOnNestedPortAction._generalization.SysML.package_packagedElement_Blocks.stereotype_packagedElement_ElementPropertyPath" general="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ElementPropertyPath"/> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_InvocationOnNestedPortAction_ownedAttribute.base_InvocationAction" name="base_InvocationAction" redefinedProperty="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ElementPropertyPath_ownedAttribute.base_Element" association="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_InvocationOnNestedPortAction_base_InvocationAction"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#InvocationAction"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_InvocationOnNestedPortAction_ownedAttribute.base_InvocationAction_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_InvocationOnNestedPortAction_ownedAttribute.onNestedPort" name="onNestedPort" isOrdered="true" isUnique="false" redefinedProperty="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ElementPropertyPath_ownedAttribute.propertyPath" association="SysML.package_packagedElement_Ports_u0026Flows.association_packagedElement_A_invocationOnNestedPortAction_onNestedPort"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_InvocationOnNestedPortAction_ownedAttribute.onNestedPort_upperValue" value="*"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6I08yUyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/InvocationOnNestedPortAction.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6I08ykyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6I08y0yQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ItemFlow" name="ItemFlow"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ItemFlow._ownedComment.0" annotatedElement="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ItemFlow"> - <body> - An ItemFlow describes the flow of items across a connector or an association. It may constrain the item exchange between blocks, block usages, or flow ports as specified by their flow properties. For example, a pump connected to a tank: the pump has an “out” flow property of type Liquid and the tank has an “in” FlowProperty of type Liquid. To signify that only water flows between the pump and the tank, we can specify an ItemFlow of type Water on the connector. - </body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ItemFlow_ownedAttribute.base_InformationFlow" name="base_InformationFlow" association="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_ItemFlow_base_InformationFlow"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#InformationFlow"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ItemFlow_ownedAttribute.base_InformationFlow_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ItemFlow_ownedAttribute.itemProperty" name="itemProperty"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ItemFlow_ownedAttribute.itemProperty._ownedComment.0" annotatedElement="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ItemFlow_ownedAttribute.itemProperty"> - <body>An optional property that relates the flowing item to the instances of the connector’s enclosing block. This property is applicable only for item flows assigned to connectors. The multiplicity is zero if the item flow is assigned to an Association.</body> - </ownedComment> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Property"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ItemFlow_ownedAttribute.itemProperty_lowerValue"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6I0Vt0yQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ItemFlow.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6I0VuEyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6I0VuUyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ProxyPort" name="ProxyPort"> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ProxyPort_ownedAttribute.base_Port" name="base_Port" association="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_ProxyPort_base_Port"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_ProxyPort_ownedAttribute.base_Port_lowerValue"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6IwrUEyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ProxyPort.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IwrUUyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IwrUkyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_TriggerOnNestedPort" name="TriggerOnNestedPort"> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_TriggerOnNestedPort._generalization.SysML.package_packagedElement_Blocks.stereotype_packagedElement_ElementPropertyPath" general="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ElementPropertyPath"/> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_TriggerOnNestedPort_ownedAttribute.base_Trigger" name="base_Trigger" redefinedProperty="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ElementPropertyPath_ownedAttribute.base_Element" association="SysML.package_packagedElement_Ports_u0026Flows.extension_packagedElement_E_extension_TriggerOnNestedPort_base_Trigger"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Trigger"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_TriggerOnNestedPort_ownedAttribute.onNestedPort" name="onNestedPort" isOrdered="true" isUnique="false" redefinedProperty="SysML.package_packagedElement_Blocks.stereotype_packagedElement_ElementPropertyPath_ownedAttribute.propertyPath" association="SysML.package_packagedElement_Ports_u0026Flows.association_packagedElement_A_triggerOnNestedPort_onNestedPort"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Port"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Ports_u0026Flows.stereotype_packagedElement_TriggerOnNestedPort_ownedAttribute.onNestedPort_upperValue" value="*"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6IwERkyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/TriggerOnNestedPort.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IwER0yQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IwESEyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Profile" xmi:id="SysML.package_packagedElement_Requirements" name="Requirements"> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Refine_base_Abstraction" name="E_extension_Refine_base_Abstraction" memberEnd="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Refine_base_Abstraction_ownedEnd.extension_Refine SysML.package_packagedElement_Requirements.stereotype_packagedElement_Refine_ownedAttribute.base_Abstraction" navigableOwnedEnd="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Refine_base_Abstraction_ownedEnd.extension_Refine"> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Refine_base_Abstraction._generalization.Abstraction_Refine"> - <general xmi:type="uml:Classifier" href="http://www.omg.org/spec/UML/20131001/StandardProfile.xmi#Abstraction_Refine"/> - </generalization> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Refine_base_Abstraction._generalization.SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship" general="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship"/> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Refine_base_Abstraction_ownedEnd.extension_Refine" name="extension_Refine" type="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Refine" association="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Refine_base_Abstraction"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Refine_base_Abstraction_ownedEnd.extension_Refine_lowerValue"/> - <redefinedProperty xmi:type="uml:ExtensionEnd" href="#SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship_ownedEnd.extension_DirectedRelationshipPropertyPath"/> - <redefinedProperty xmi:type="uml:ExtensionEnd" href="pathmap://UML_PROFILES/Standard.profile.uml#Abstraction_Refine-extension_Refine"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Requirement_base_Class" name="E_extension_Requirement_base_Class" memberEnd="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.base_Class SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Requirement_base_Class_ownedEnd.extension_Requirement" navigableOwnedEnd="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Requirement_base_Class_ownedEnd.extension_Requirement"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Requirement_base_Class_ownedEnd.extension_Requirement" name="extension_Requirement" type="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement" association="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Requirement_base_Class"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Requirement_base_Class_ownedEnd.extension_Requirement_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_TestCase_base_Behavior" name="E_extension_TestCase_base_Behavior" memberEnd="SysML.package_packagedElement_Requirements.stereotype_packagedElement_TestCase_ownedAttribute.base_Behavior SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_TestCase_base_Behavior_ownedEnd.extension_TestCase" navigableOwnedEnd="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_TestCase_base_Behavior_ownedEnd.extension_TestCase"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_TestCase_base_Behavior_ownedEnd.extension_TestCase" name="extension_TestCase" type="SysML.package_packagedElement_Requirements.stereotype_packagedElement_TestCase" association="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_TestCase_base_Behavior"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_TestCase_base_Behavior_ownedEnd.extension_TestCase_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_TestCase_base_Operation" name="E_extension_TestCase_base_Operation" memberEnd="SysML.package_packagedElement_Requirements.stereotype_packagedElement_TestCase_ownedAttribute.base_Operation SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_TestCase_base_Operation_ownedEnd.extension_TestCase" navigableOwnedEnd="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_TestCase_base_Operation_ownedEnd.extension_TestCase"> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_TestCase_base_Operation_ownedEnd.extension_TestCase" name="extension_TestCase" type="SysML.package_packagedElement_Requirements.stereotype_packagedElement_TestCase" association="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_TestCase_base_Operation"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_TestCase_base_Operation_ownedEnd.extension_TestCase_lowerValue"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Extension" xmi:id="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Trace_base_Abstraction" name="E_extension_Trace_base_Abstraction" memberEnd="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Trace_base_Abstraction_ownedEnd.extension_Trace SysML.package_packagedElement_Requirements.stereotype_packagedElement_Trace_ownedAttribute.base_Abstraction" navigableOwnedEnd="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Trace_base_Abstraction_ownedEnd.extension_Trace"> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Trace_base_Abstraction._generalization.Abstraction_Trace"> - <general xmi:type="uml:Classifier" href="http://www.omg.org/spec/UML/20131001/StandardProfile.xmi#Abstraction_Trace"/> - </generalization> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Trace_base_Abstraction._generalization.SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship" general="SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship"/> - <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Trace_base_Abstraction_ownedEnd.extension_Trace" name="extension_Trace" type="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Trace" association="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Trace_base_Abstraction"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Trace_base_Abstraction_ownedEnd.extension_Trace_lowerValue"/> - <redefinedProperty xmi:type="uml:ExtensionEnd" href="#SysML.package_packagedElement_Blocks.extension_packagedElement_E_extension_DirectedRelationshipPropertyPath_base_DirectedRelationship_ownedEnd.extension_DirectedRelationshipPropertyPath"/> - <redefinedProperty xmi:type="uml:ExtensionEnd" href="pathmap://UML_PROFILES/Standard.profile.uml#Abstraction_Trace-extension_Trace"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Copy" name="Copy"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Copy._ownedComment.0" annotatedElement="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Copy"> - <body>A Copy relationship is a dependency between a supplier requirement and a client requirement that specifies that the text of the client requirement is a read-only copy of the text of the supplier requirement.</body> - </ownedComment> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Copy._generalization.SysML.package_packagedElement_Requirements.stereotype_packagedElement_Trace" general="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Trace" isSubstitutable="false"/> - <icon xmi:type="uml:Image" xmi:id="_6IuPFUyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Copy.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IuPFkyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IuPF0yQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_DeriveReqt" name="DeriveReqt"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_DeriveReqt._ownedComment.0" annotatedElement="SysML.package_packagedElement_Requirements.stereotype_packagedElement_DeriveReqt"> - <body> - A DeriveReqt relationship is a dependency between two requirements in which a client requirement can be derived from the supplier requirement. As with other dependencies, the arrow direction points from the derived (client) requirement to the (supplier) requirement from which it is derived. - </body> - </ownedComment> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_DeriveReqt._generalization.SysML.package_packagedElement_Requirements.stereotype_packagedElement_Trace" general="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Trace" isSubstitutable="false"/> - <icon xmi:type="uml:Image" xmi:id="_6IuPEkyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/DeriveReqt.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IuPE0yQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IuPFEyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Refine" name="Refine"> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Refine._generalization.SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath" general="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath"/> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Refine_ownedAttribute.base_Abstraction" name="base_Abstraction" association="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Refine_base_Abstraction"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Abstraction"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Refine_ownedAttribute.base_Abstraction_lowerValue"/> - <redefinedProperty xmi:type="uml:Property" href="#SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath_ownedAttribute.base_DirectedRelationship"/> - <redefinedProperty xmi:type="uml:Property" href="http://www.omg.org/spec/UML/20131001/StandardProfile.xmi#Refine_base_Abstraction"/> - </ownedAttribute> - <ownedOperation xmi:type="uml:Operation" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Refine_ownedOperation.getRefines_Requirement_NamedElement" name="getRefines" isStatic="true" isQuery="true"> - <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Refine_ownedOperation.getRefines_Requirement_NamedElement.parameter_ownedParameter_ref" name="ref"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> - </ownedParameter> - <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Refine_ownedOperation.getRefines_Requirement_NamedElement.parameter_ownedParameter_result" name="result" type="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Refine_ownedOperation.getRefines_Requirement_NamedElement.parameter_ownedParameter_result_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Refine_ownedOperation.getRefines_Requirement_NamedElement.parameter_ownedParameter_result_upperValue" value="*"/> - </ownedParameter> - </ownedOperation> - <icon xmi:type="uml:Image" xmi:id="_6IzuqkyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Refine.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6Izuq0yQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6I0VsEyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement" name="Requirement"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement._ownedComment.0" annotatedElement="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"> - <body> - A requirement specifies a capability or condition that must (or should) be satisfied. A requirement may specify a function that a system must perform or a performance condition that a system must satisfy. Requirements are used to establish a contract between the customer (or other stakeholder) and those responsible for designing and implementing the system. - </body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.base_Class" name="base_Class" association="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Requirement_base_Class"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Class"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.base_Class_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.derived" name="derived" type="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement" isReadOnly="true" isDerived="true"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.derived._ownedComment.0" annotatedElement="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.derived"> - <body>Derived from all requirements that are the client of a «deriveReqt» relationship for which this requirement is a supplier.</body> - </ownedComment> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.derived_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.derived_upperValue" value="*"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.derivedFrom" name="derivedFrom" type="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement" isReadOnly="true" isDerived="true"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.derivedFrom._ownedComment.0" annotatedElement="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.derivedFrom"> - <body>Derived from all requirements that are the supplier of a «deriveReqt» relationship for which this requirement is a client.</body> - </ownedComment> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.derivedFrom_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.derivedFrom_upperValue" value="*"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.id" name="id"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.id._ownedComment.0" annotatedElement="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.id"> - <body>The unique id of the requirement.</body> - </ownedComment> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> - <defaultValue xmi:type="uml:LiteralString" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.id_defaultValue" value=""/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.master" name="master" type="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement" isReadOnly="true" isDerived="true"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.master._ownedComment.0" annotatedElement="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.master"> - <body>This is a derived property that lists the master requirement for this slave requirement. The master attribute is derived from the supplier of the Copy dependency that has this requirement as the slave.</body> - </ownedComment> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.master_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.refinedBy" name="refinedBy" isReadOnly="true" isDerived="true"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.refinedBy._ownedComment.0" annotatedElement="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.refinedBy"> - <body>Derived from all elements that are the client of a «refine» relationship for which this requirement is a supplier.</body> - </ownedComment> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.refinedBy_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.refinedBy_upperValue" value="*"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.satisfiedBy" name="satisfiedBy" isReadOnly="true" isDerived="true"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.satisfiedBy._ownedComment.0" annotatedElement="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.satisfiedBy"> - <body>Derived from all elements that are the client of a «satisfy» relationship for which this requirement is a supplier.</body> - </ownedComment> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.satisfiedBy_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.satisfiedBy_upperValue" value="*"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.text" name="text"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.text._ownedComment.0" annotatedElement="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.text"> - <body>The textual representation or a reference to the textual representation of the requirement.</body> - </ownedComment> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> - <defaultValue xmi:type="uml:LiteralString" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.text_defaultValue" value=""/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.tracedTo" name="tracedTo" isReadOnly="true" isDerived="true"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.tracedTo._ownedComment.0" annotatedElement="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.tracedTo"> - <body>Derived from all elements that are the client of a «trace» relationship for which this requirement is a supplier.</body> - </ownedComment> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.tracedTo_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.tracedTo_upperValue" value="*"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.verifiedBy" name="verifiedBy" isReadOnly="true" isDerived="true"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.verifiedBy._ownedComment.0" annotatedElement="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.verifiedBy"> - <body>Derived from all elements that are the client of a «verify» relationship for which this requirement is a supplier.</body> - </ownedComment> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.verifiedBy_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement_ownedAttribute.verifiedBy_upperValue" value="*"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6ItoA0yQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Requirement.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6ItoBEyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6ItoBUyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Satisfy" name="Satisfy"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Satisfy._ownedComment.0" annotatedElement="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Satisfy"> - <body>A Satisfy relationship is a dependency between a requirement and a model element that fulfills the requirement. As with other dependencies, the arrow direction points from the satisfying (client) model element to the (supplier) requirement that is satisfied.</body> - </ownedComment> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Satisfy._generalization.SysML.package_packagedElement_Requirements.stereotype_packagedElement_Trace" general="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Trace"/> - <ownedOperation xmi:type="uml:Operation" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Satisfy_ownedOperation.getSatisfies_Requirement_NamedElement" name="getSatisfies" isStatic="true" isQuery="true"> - <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Satisfy_ownedOperation.getSatisfies_Requirement_NamedElement.parameter_ownedParameter_ref" name="ref"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> - </ownedParameter> - <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Satisfy_ownedOperation.getSatisfies_Requirement_NamedElement.parameter_ownedParameter_result" name="result" type="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Satisfy_ownedOperation.getSatisfies_Requirement_NamedElement.parameter_ownedParameter_result_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Satisfy_ownedOperation.getSatisfies_Requirement_NamedElement.parameter_ownedParameter_result_upperValue" value="*"/> - </ownedParameter> - </ownedOperation> - <icon xmi:type="uml:Image" xmi:id="_6IzHkkyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Satisfy.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IzHk0yQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IzHlEyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_TestCase" name="TestCase"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_TestCase._ownedComment.0" annotatedElement="SysML.package_packagedElement_Requirements.stereotype_packagedElement_TestCase"> - <body>A test case is a method for verifying a requirement is satisfied.</body> - </ownedComment> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_TestCase_ownedAttribute.base_Behavior" name="base_Behavior" association="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_TestCase_base_Behavior"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Behavior"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_TestCase_ownedAttribute.base_Behavior_lowerValue"/> - </ownedAttribute> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_TestCase_ownedAttribute.base_Operation" name="base_Operation" association="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_TestCase_base_Operation"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Operation"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_TestCase_ownedAttribute.base_Operation_lowerValue"/> - </ownedAttribute> - <icon xmi:type="uml:Image" xmi:id="_6I08w0yQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/TestCase.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6I08xEyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6I08xUyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Trace" name="Trace"> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Trace._generalization.SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath" general="SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath"/> - <ownedAttribute xmi:type="uml:Property" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Trace_ownedAttribute.base_Abstraction" name="base_Abstraction" association="SysML.package_packagedElement_Requirements.extension_packagedElement_E_extension_Trace_base_Abstraction"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Abstraction"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Trace_ownedAttribute.base_Abstraction_lowerValue"/> - <redefinedProperty xmi:type="uml:Property" href="#SysML.package_packagedElement_Blocks.stereotype_packagedElement_DirectedRelationshipPropertyPath_ownedAttribute.base_DirectedRelationship"/> - <redefinedProperty xmi:type="uml:Property" href="http://www.omg.org/spec/UML/20131001/StandardProfile.xmi#Trace_base_Abstraction"/> - </ownedAttribute> - <ownedOperation xmi:type="uml:Operation" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Trace_ownedOperation.getTracedFrom_Requirement_NamedElement" name="getTracedFrom" isStatic="true" isQuery="true"> - <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Trace_ownedOperation.getTracedFrom_Requirement_NamedElement.parameter_ownedParameter_ref" name="ref"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> - </ownedParameter> - <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Trace_ownedOperation.getTracedFrom_Requirement_NamedElement.parameter_ownedParameter_result" name="result" type="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Trace_ownedOperation.getTracedFrom_Requirement_NamedElement.parameter_ownedParameter_result_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Trace_ownedOperation.getTracedFrom_Requirement_NamedElement.parameter_ownedParameter_result_upperValue" value="*"/> - </ownedParameter> - </ownedOperation> - <icon xmi:type="uml:Image" xmi:id="_6IzHmEyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Trace.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6IzHmUyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6IzHmkyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - <packagedElement xmi:type="uml:Stereotype" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Verify" name="Verify"> - <ownedComment xmi:type="uml:Comment" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Verify._ownedComment.0" annotatedElement="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Verify"> - <body>A Verify relationship is a dependency between a requirement and a test case or other model element that can determine whether a system fulfills the requirement. As with other dependencies, the arrow direction points from the (client) element to the (supplier) requirement.</body> - </ownedComment> - <generalization xmi:type="uml:Generalization" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Verify._generalization.SysML.package_packagedElement_Requirements.stereotype_packagedElement_Trace" general="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Trace" isSubstitutable="false"/> - <ownedOperation xmi:type="uml:Operation" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Verify_ownedOperation.getVerifies_Requirement_NamedElement" name="getVerifies" isStatic="true" isQuery="true"> - <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Verify_ownedOperation.getVerifies_Requirement_NamedElement.parameter_ownedParameter_ref" name="ref"> - <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#NamedElement"/> - </ownedParameter> - <ownedParameter xmi:type="uml:Parameter" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Verify_ownedOperation.getVerifies_Requirement_NamedElement.parameter_ownedParameter_result" name="result" type="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Requirement"> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Verify_ownedOperation.getVerifies_Requirement_NamedElement.parameter_ownedParameter_result_lowerValue"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="SysML.package_packagedElement_Requirements.stereotype_packagedElement_Verify_ownedOperation.getVerifies_Requirement_NamedElement.parameter_ownedParameter_result_upperValue" value="*"/> - </ownedParameter> - </ownedOperation> - <icon xmi:type="uml:Image" xmi:id="_6Ix5cEyQEeWwyrPSuNN58Q" format="GIF" location="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Verify.gif"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_6Ix5cUyQEeWwyrPSuNN58Q" source="image_papyrus"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_6Ix5ckyQEeWwyrPSuNN58Q" key="image_kind_key" value="icon"/> - </eAnnotations> - </icon> - </packagedElement> - </packagedElement> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_ZW96QDn6EeWWssZOJ2QVuQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_ZW-hUDn6EeWWssZOJ2QVuQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="pathmap://UML_PROFILES/Ecore.profile.uml#_z1OFcHjqEdy8S4Cr8Rc_NA"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://UML_PROFILES/Ecore.profile.uml#_0"/> - </profileApplication> - <metamodelReference xmi:type="uml:PackageImport" href="#SysML._metamodelReference._0"/> - </uml:Profile> - <Ecore:EPackage xmi:id="_dZfREJvkEeSpx5CUmLYZ-g" base_Package="SysML.package_packagedElement_Blocks" packageName="blocks" nsPrefix="Blocks" nsURI="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Blocks" basePackage="org.eclipse.papyrus.sysml14" prefix="Blocks"/> - <Ecore:EPackage xmi:id="_fGLcYJvkEeSpx5CUmLYZ-g" base_Package="SysML.package_packagedElement_Ports_u0026Flows" packageName="portsandflows" nsPrefix="PortsAndFlows" nsURI="http://www.eclipse.org/papyrus/sysml/1.4/SysML/PortsAndFlows" basePackage="org.eclipse.papyrus.sysml14" prefix="Portsandflows"/> - <Ecore:EPackage xmi:id="_fya3UJvkEeSpx5CUmLYZ-g" base_Package="SysML.package_packagedElement_Activities" packageName="activities" nsPrefix="Activities" nsURI="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Activities" basePackage="org.eclipse.papyrus.sysml14" prefix="Activities"/> - <Ecore:EPackage xmi:id="_gQxnQJvkEeSpx5CUmLYZ-g" base_Package="SysML.package_packagedElement_ModelElements" packageName="modelelements" nsPrefix="ModelElements" nsURI="http://www.eclipse.org/papyrus/sysml/1.4/SysML/ModelElements" basePackage="org.eclipse.papyrus.sysml14" prefix="Modelelements"/> - <Ecore:EPackage xmi:id="_g0eKMJvkEeSpx5CUmLYZ-g" base_Package="SysML.package_packagedElement_ConstraintBlocks" packageName="constraintblocks" nsPrefix="ConstraintBlocks" nsURI="http://www.eclipse.org/papyrus/sysml/1.4/SysML/ConstraintBlocks" basePackage="org.eclipse.papyrus.sysml14" prefix="Constraintblocks"/> - <Ecore:EPackage xmi:id="_hUK98JvkEeSpx5CUmLYZ-g" base_Package="SysML.package_packagedElement_Allocations" packageName="allocations" nsPrefix="Allocations" nsURI="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Allocations" basePackage="org.eclipse.papyrus.sysml14" prefix="Allocations"/> - <Ecore:EPackage xmi:id="_hzXbYJvkEeSpx5CUmLYZ-g" base_Package="SysML.package_packagedElement_Requirements" packageName="requirements" nsPrefix="Requirements" nsURI="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements" basePackage="org.eclipse.papyrus.sysml14" prefix="Requirements"/> - <Ecore:EPackage xmi:id="_iUUMUJvkEeSpx5CUmLYZ-g" base_Package="SysML.package_packagedElement_DeprecatedElements" packageName="deprecatedelements" nsPrefix="DeprecatedElements" nsURI="http://www.eclipse.org/papyrus/sysml/1.4/SysML/DeprecatedElements" basePackage="org.eclipse.papyrus.sysml14" prefix="Deprecatedelements"/> - <Ecore:EPackage xmi:id="_Aa0lgJvoEeSpx5CUmLYZ-g" base_Package="SysML" packageName="sysml14" nsPrefix="SysML" nsURI="http://www.eclipse.org/papyrus/sysml/1.4/SysML" basePackage="org.eclipse.papyrus" prefix="SysML"/> -</xmi:XMI>
diff --git a/core/org.eclipse.papyrus.sysml14/resources/profile/sysml.ecore b/core/org.eclipse.papyrus.sysml14/resources/profile/sysml.ecore deleted file mode 100644 index 3688556..0000000 --- a/core/org.eclipse.papyrus.sysml14/resources/profile/sysml.ecore +++ /dev/null
@@ -1,683 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="sysml14" nsURI="http://www.eclipse.org/papyrus/sysml/1.4/SysML" - nsPrefix="SysML"> - <eAnnotations source="http://www.eclipse.org/uml2/2.0.0/UML"> - <details key="originalName" value="SysML"/> - </eAnnotations> - <eClassifiers xsi:type="ecore:EEnum" name="Dummy"/> - <eSubpackages name="activities" nsURI="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Activities" - nsPrefix="Activities"> - <eAnnotations source="http://www.eclipse.org/uml2/2.0.0/UML"> - <details key="originalName" value="Activities"/> - </eAnnotations> - <eClassifiers xsi:type="ecore:EClass" name="Continuous" eSuperTypes="#//activities/Rate"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 Continuous rate is a special case of rate of flow (see Rate) where the increment of time between items approaches zero. It is intended to represent continuous flows that may correspond to water flowing through a pipe, a time continuous signal, or continuous energy flow. It is independent from UML streaming. A streaming parameter may or may not apply to continuous flow, and a continuous flow may or may not apply to streaming parameters.
 "/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Rate"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 When the «rate» stereotype is applied to an activity edge, it specifies the expected value of the number of objects and values that traverse the edge per time interval, that is, the expected value rate at which they leave the source node and arrive at the target node. It does not refer to the rate at which a value changes over time. When the stereotype is applied to a parameter, the parameter must be streaming, and the stereotype gives the number of objects or values that flow in or out of the parameter per time interval while the behavior or operation is executing. Streaming is a characteristic of UML behavior parameters that supports the input and output of items while a behavior is executing, rather than only when the behavior starts and stops. The flow may be continuous or discrete. The «rate» stereotype has a rate property of type InstanceSpecification. The values of this property must be instances of classifiers stereotyped by «valueType» or «distributionDefinition». In particular, the denominator for units used in the rate property must be time units.
 "/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_ActivityEdge" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//ActivityEdge"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_ObjectNode" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//ObjectNode"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Parameter" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Parameter"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="rate" ordered="false" - lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//InstanceSpecification"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="ControlOperator"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 A control operator is a behavior that is intended to represent an arbitrarily complex logical operator that can be used to enable and disable other actions. When this stereotype is applied to behaviors, the behavior takes control values as inputs or provides them as outputs, that is, it treats control as data. When this stereotype is not applied, the behavior may not have a parameter typed by ControlValue. This stereotype also applies to operations with the same semantics.
 "/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Behavior" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Behavior"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Operation" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Operation"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Discrete" eSuperTypes="#//activities/Rate"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Discrete rate is a special case of rate of flow (see Rate) where the increment of time between items is non-zero."/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="NoBuffer"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 When this stereotype is applied to object nodes, tokens arriving at the node are discarded if they are refused by outgoing edges, or refused by actions for object nodes that are input pins. This is typically used with fast or continuously flowing data values, to prevent buffer overrun, or to model transient values, such as electrical signals. For object nodes that are the target of continuous flows, «nobuffer» and «overwrite» have the same effect. The stereotype does not override UML token offering semantics; it just indicates what happens to the token when it is accepted. When the stereotype is not applied, the semantics are as in UML, specifically, tokens arriving at an object node that are refused by outgoing edges, or action for input pins, are held until they can leave the object node.
 "/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_ObjectNode" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//ObjectNode"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Optional"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 When the «optional» stereotype is applied to parameters, the lower multiplicity must be equal to zero. This means the parameter is not required to have a value for the activity or any behavior to begin or end execution. Otherwise, the lower multiplicity must be greater than zero, which is called “required.”
 "/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Parameter" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Parameter"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Overwrite"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 When the «overwrite» stereotype is applied to object nodes, a token arriving at a full object node replaces the ones already there (a full object node has as many tokens as allowed by its upper bound). This is typically used on an input pin with an upper bound of 1 to ensure that stale data is overridden at an input pin. For upper bounds greater than one, the token replaced is the one that would be the last to be selected according to the ordering kind for the node. For FIFO ordering, this is the most recently added token, for LIFO it is the least recently added token. A null token removes all the tokens already there. The number of tokens replaced is equal to the weight of the incoming edge, which defaults to 1. For object nodes that are the target of continuous flows, «overwrite» and «nobuffer» have the same effect. The stereotype does not override UML token offering semantics, just indicates what happens to the token when it is accepted. When the stereotype is not applied, the semantics is as in UML, specifically, tokens arriving at object nodes do not replace ones that are already there.
 "/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_ObjectNode" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//ObjectNode"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Probability"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 When the «probability» stereotype is applied to edges coming out of decision nodes and object nodes, it provides an expression for the probability that the edge will be traversed. These must be between zero and one inclusive, and add up to one for edges with same source at the time the probabilities are used.
When the «probability» stereotype is applied to output parameter sets, it gives the probability the parameter set will be given values at runtime. These must be between zero and one inclusive, and add up to one for output parameter sets of the same behavior at the time the probabilities are used.
 "/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_ActivityEdge" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//ActivityEdge"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_ParameterSet" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//ParameterSet"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="probability" ordered="false" - lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//ValueSpecification"/> - </eClassifiers> - </eSubpackages> - <eSubpackages name="allocations" nsURI="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Allocations" - nsPrefix="Allocations"> - <eAnnotations source="http://www.eclipse.org/uml2/2.0.0/UML"> - <details key="originalName" value="Allocations"/> - </eAnnotations> - <eClassifiers xsi:type="ecore:EClass" name="Allocate" eSuperTypes="#//blocks/DirectedRelationshipPropertyPath"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 Allocate is a dependency based on UML::abstraction. It is a mechanism for associating elements of different types, or in different hierarchies, at an abstract level. Allocate is used for assessing user model consistency and directing future design activity. It is expected that an «allocate» relationship between model elements is a precursor to a more concrete relationship between the elements, their properties, operations, attributes, or sub-classes.
 "/> - </eAnnotations> - <eOperations name="getAllocatedFrom" ordered="false" lowerBound="1"> - <eParameters name="ref" ordered="false" lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//NamedElement"/> - <eParameters name="result" ordered="false" upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//NamedElement"/> - </eOperations> - <eOperations name="getAllocatedTo" ordered="false" lowerBound="1"> - <eParameters name="ref" ordered="false" lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//NamedElement"/> - <eParameters name="result" ordered="false" upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//NamedElement"/> - </eOperations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Abstraction" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Abstraction"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="AllocateActivityPartition"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="AllocateActivityPartition is used to depict an «allocate» relationship on an Activity diagram. The AllocateActivityPartition is a standard UML2::ActivityPartition, with modified constraints as stated in the paragraph below."/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_ActivityPartition" - ordered="false" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//ActivityPartition"/> - </eClassifiers> - </eSubpackages> - <eSubpackages name="blocks" nsURI="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Blocks" - nsPrefix="Blocks"> - <eAnnotations source="http://www.eclipse.org/uml2/2.0.0/UML"> - <details key="originalName" value="Blocks"/> - </eAnnotations> - <eClassifiers xsi:type="ecore:EClass" name="AdjunctProperty"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 The AdjunctProperty stereotype can be applied to properties to constrain their values to the values of connectors typed by association blocks, call actions, object nodes, variables, or parameters, interaction uses, and submachine states. The values of connectors typed by association blocks are the instances of the association block typing a connector in the block having the stereotyped property. The values of call actions are the executions of behaviors invoked by the behavior having the call action and the stereotyped property (see Subclause 11.3.1.1.1 for more about this use of the stereotype). The values of object nodes are the values of tokens in the object nodes of the behavior having the stereotyped property (see Subclause 11.3.1.4.1 for more about this use of the stereotype). The values of variables are those assigned by executions of activities that have the stereotyped property. The values of parameters are those assigned by executions of behaviors that have the stereotyped property. The keyword «adjunct» before a property name indicates the property is stereotyped by AdjunctProperty.
 "/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Property" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="principal" ordered="false" - lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Element"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Gives the element that determines the values of the property. Must be a connector, call action, object node, variable, or parameter."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="BindingConnector"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 A Binding Connector is a connector which specifies that the properties at both ends of the connector have equal values. If the properties at the ends of a binding connector are typed by a DataType or ValueType, the connector specifies that the instances of the properties must hold equal values, recursively through any nested properties within the connected properties. If the properties at the ends of a binding connector are typed by a Block, the connector specifies that the instances of the properties must refer to the same block instance. As with any connector owned by a SysML Block, the ends of a binding connector may be nested within a multi-level path of properties accessible from the owning block. The NestedConnectorEnd stereotype is used to represent such nested ends just as for nested ends of other SysML connectors.
 "/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Connector" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Connector"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Block"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 A Block is a modular unit that describes the structure of a system or element. It may include both structural and behavioral features, such as properties and operations, that represent the state of the system and behavior that the system may exhibit. Some of these properties may hold parts of a system, which can also be described by blocks. A block may include a structure of connectors between its properties to indicate how its parts or other properties relate to one another. SysML blocks provide a general-purpose capability to describe the architecture of a system. They provide the ability to represent a system hierarchy, in which a system at one level is composed of systems at a more basic level. They can describe not only the connectivity relationships between the systems at any level, but also quantitative values or other information about a system. SysML does not restrict the kind of system or system element that may be described by a block. Any reusable form of description that may be applied to a system or a set of system characteristics may be described by a block. Such reusable descriptions, for example, may be applied to purely conceptual aspects of a system design, such as relationships that hold between parts or properties of a system. Connectors owned by SysML blocks may be used to define relationships between parts or other properties of the same containing block. The type of a connector or its connected ends may specify the semantic interpretation of a specific connector.
 "/> - </eAnnotations> - <eOperations name="getReferences" ordered="false" upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="@papyrus.req org.eclipse.papyrus.sysml14#REQ-SYSML14-Block-References"/> - </eAnnotations> - </eOperations> - <eOperations name="getParts" ordered="false" upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> - <eOperations name="getFlowProperties" ordered="false" upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Class" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Class"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="isEncapsulated" ordered="false" - eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//Boolean"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 If true, then the block is treated as a black box; a part typed by this black box can only be connected via its ports or directly to its outer boundary. If false, or if a value is not present, then connections can be established to elements of its internal structure via deep-nested connector ends.
 "/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="BoundReference" eSuperTypes="#//blocks/EndPathMultiplicity"> - <eStructuralFeatures xsi:type="ecore:EReference" name="bindingPath" unique="false" - lowerBound="1" upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property" - changeable="false" volatile="true" transient="true" derived="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Gives the propertyPath of the NestedConnectorEnd applied, if any, to the boundEnd, appended to the role of the boundEnd. "/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="boundEnd" ordered="false" - lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//ConnectorEnd"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Gives a connector end of a binding connector opposite to the end linked to the stereotyped property, or linked to a property that generalizes the stereotyped one through redefinition."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="EndPathMultiplicity"> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Property" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="lower" ordered="false" - eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//Integer" - defaultValueLiteral="0"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Gives the minimum number of values of the property at the end of the related bindingPath, for each object reached by navigation along the bindingPath from an instance of the block owning the property to which EndPathMultiplicity is applied"/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="upper" ordered="false" - eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//UnlimitedNatural" - defaultValueLiteral="-1"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Gives the maximum number of values of the property at the end of the related bindingPath, for each object reached by navigation along the bindingPath from an instance of the block owning the property to which EndPathMultiplicity is applied."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="ClassifierBehaviorProperty"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 The ClassifierBehaviorProperty stereotype can be applied to properties to constrain their values to be the executions of classifier behaviors. The value of properties with ClassifierBehaviorProperty applied are the executions of classifier behaviors invoked by instantiation of the block that owns the stereotyped property or one of its specializations.
 "/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Property" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="ConnectorProperty"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 Connectors can be typed by association classes that are stereotyped by Block (association blocks). These connectors specify instances (links) of the association block that exist due to instantiation of the block owning or inheriting the connector. The value of a connector property on an instance of a block will be exactly those link objects that are instances of the association block typing the connector referred to by the connector property.
 "/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Property" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="connector" ordered="false" - lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Connector"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="A connector of the block owning the property on which the stereotype is applied."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="DistributedProperty"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 DistributedProperty is a stereotype of Property used to apply a probability distribution to the values of the property. Specific distributions should be defined as subclasses of the DistributedProperty stereotype with the operands of the distributions represented by properties of those stereotype subclasses.
 "/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Property" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="ElementPropertyPath" abstract="true"> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Element" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Element"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="propertyPath" unique="false" - lowerBound="1" upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 The propertyPath list of the NestedConnectorEnd stereotype must identify a path of containing properties that identify the connected property in the context of the block that owns the connector. The ordering of properties is from a property of the block that owns the connector, through a property of each intermediate block that types the preceding property, until a property is reached that contains a connector end property within its type. The connector end property is not included in the propertyPath list, but instead is held by the role property of the UML ConnectorEnd metaclass.
 "/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="NestedConnectorEnd" eSuperTypes="#//blocks/ElementPropertyPath"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The NestedConnectorEnd stereotype of UML ConnectorEnd extends a UML ConnectorEnd so that the connected property may be identified by a multi-level path of accessible properties from the block that owns the connector."/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_ConnectorEnd" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//ConnectorEnd"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="ParticipantProperty"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 The Block stereotype extends Class, so it can be applied to any specialization of Class, including Association Classes. These are informally called “association blocks.” An association block can own properties and connectors, like any other block. Each instance of an association block can link together instances of the end classifiers of the association. To refer to linked objects and values of an instance of an association block, it is necessary for the modeler to specify which (participant) properties of the association block identify the instances being linked at which end of the association. The value of a participant property on an instance (link) of the association block is the value or object at the end of the link corresponding to this end of the association.
 "/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Property" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="end" ordered="false" - lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="A member end of the association block owning the property on which the stereotype is applied."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PropertySpecificType"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The PropertySpecificType stereotype should automatically be applied to the classifier which types a property with a propertyspecific type. This classifier can contain definitions of new or redefined features which extend the original classifier referenced by the property-specific type."/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Classifier" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Classifier"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="ValueType"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 A ValueType defines types of values that may be used to express information about a system, but cannot be identified as the target of any reference. Since a value cannot be identified except by means of the value itself, each such value within a model is independent of any other, unless other forms of constraints are imposed. Value types may be used to type properties, operation parameters, or potentially other elements within SysML. SysML defines ValueType as a stereotype of UML DataType to establish a more neutral term for system values that may never be given a concrete data representation.
 "/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_DataType" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//DataType"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="quantityKind" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//InstanceSpecification"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 A kind of quantity that may be stated by means of defined units, as identified by an instance of the Dimension stereotype. A value type may optionally specify a dimension without any unit. Such a value has no concrete representation, but may be used to express a value in an abstract form independent of any specific units.
 "/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="unit" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//InstanceSpecification"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="A quantity in terms of which the magnitudes of other quantities that have the same dimension can be stated, as identified by an instance of the Unit stereotype."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="DirectedRelationshipPropertyPath" - abstract="true"> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_DirectedRelationship" - ordered="false" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//DirectedRelationship"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="sourceContext" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Classifier"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="sourcePropertyPath" unique="false" - upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="targetContext" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Classifier"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="targetPropertyPath" unique="false" - upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> - </eClassifiers> - </eSubpackages> - <eSubpackages name="constraintblocks" nsURI="http://www.eclipse.org/papyrus/sysml/1.4/SysML/ConstraintBlocks" - nsPrefix="ConstraintBlocks"> - <eAnnotations source="http://www.eclipse.org/uml2/2.0.0/UML"> - <details key="originalName" value="ConstraintBlocks"/> - </eAnnotations> - <eClassifiers xsi:type="ecore:EClass" name="ConstraintBlock" eSuperTypes="#//blocks/Block"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 A constraint block is a block that packages the statement of a constraint so it may be applied in a reusable way to constrain properties of other blocks. A constraint block typically defines one or more constraint parameters, which are bound to properties of other blocks in a surrounding context where the constraint is used. Binding connectors, as defined in Chapter 8: Blocks, are used to bind each parameter of the constraint block to a property in the surrounding context. All properties of a constraint block are constraint parameters, with the exception of constraint properties that hold internally nested usages of other constraint blocks.
 "/> - </eAnnotations> - <eOperations name="getParameters" ordered="false" upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> - </eClassifiers> - </eSubpackages> - <eSubpackages name="deprecatedelements" nsURI="http://www.eclipse.org/papyrus/sysml/1.4/SysML/DeprecatedElements" - nsPrefix="DeprecatedElements"> - <eAnnotations source="http://www.eclipse.org/uml2/2.0.0/UML"> - <details key="originalName" value="DeprecatedElements"/> - </eAnnotations> - <eClassifiers xsi:type="ecore:EClass" name="FlowPort"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 A FlowPort is an interaction point through which input and/or output of items such as data, material, or energy may flow. This enables the owning block to declare which items it may exchange with its environment and the interaction points through which the exchange is made. We distinguish between atomic flow port and a nonatomic flow port. Atomic flow ports relay items that are classified by a single Block, ValueType, DataType, or Signal classifier. A nonatomic flow port relays items of several types as specified by a FlowSpecification. Flow ports and associated flow specifications define “what can flow” between the block and its environment, whereas item flows specify “what does flow” in a specific usage context. Flow ports relay items to their owning block or to a connector that connects them with their owner’s internal parts (internal connector).
 "/> - </eAnnotations> - <eOperations name="getIcon" ordered="false" lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Image"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Port" ordered="false" - lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Port"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="direction" ordered="false" - lowerBound="1" eType="#//portsandflows/FlowDirection" defaultValueLiteral="inout"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 Indicates the direction in which an atomic flow port relays its items. If the direction is set to “in,” then the items are relayed from an external connector via the flow port into the flow port’s owner (or one of its parts). If the direction is set to “out,” then the items are relayed from the flow port’s owner, via the flow port, through an external connector attached to the flow port. If the direction is set to “inout,” then items can flow both ways. By default, the value is inout.
 "/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="isAtomic" ordered="false" - lowerBound="1" eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//Boolean" - changeable="false" volatile="true" transient="true" derived="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="This is a derived attribute (derived from the flow port’s type). For a flow port typed by a flow specification the value of this attribute is False, otherwise the value is True."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="FlowSpecification"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="A FlowSpecification specifies inputs and outputs as a set of flow properties. A flow specification is used by flow ports to specify what items can flow via the port."/> - </eAnnotations> - <eOperations name="getFlowProperties" ordered="false" upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Interface" ordered="false" - lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Interface"/> - </eClassifiers> - </eSubpackages> - <eSubpackages name="portsandflows" nsURI="http://www.eclipse.org/papyrus/sysml/1.4/SysML/PortsAndFlows" - nsPrefix="PortsAndFlows"> - <eAnnotations source="http://www.eclipse.org/uml2/2.0.0/UML"> - <details key="originalName" value="PortsAndFlows"/> - </eAnnotations> - <eClassifiers xsi:type="ecore:EEnum" name="FeatureDirection"> - <eLiterals name="provided"/> - <eLiterals name="providedRequired" value="1"/> - <eLiterals name="required" value="2"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="AcceptChangeStructuralFeatureEventAction"> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_AcceptEventAction" - ordered="false" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//AcceptEventAction"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="ChangeStructuralFeatureEvent"> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_ChangeEvent" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//ChangeEvent"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="structuralFeature" ordered="false" - lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//StructuralFeature"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="DirectedFeature"> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Feature" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Feature"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="featureDirection" ordered="false" - lowerBound="1" eType="#//portsandflows/FeatureDirection"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="FlowProperty"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 A FlowProperty signifies a single flow element that can flow to/from a block. A flow property’s values are either received from or transmitted to an external block. Flow properties are defined directly on blocks or flow specifications that are those specifications which type the flow ports. Flow properties enable item flows across connectors connecting parts of the corresponding block types, either directly (in case of the property is defined on the block) or via flowPorts. For Block, Data Type, and Value Type properties, setting an “out” FlowProperty value of a block usage on one end of a connector will result in assigning the same value of an “in” FlowProperty of a block usage at the other end of the connector, provided the flow properties are matched. Flow properties of type Signal imply sending and/or receiving of a signal usage. An “out” FlowProperty of type Signal means that the owning Block may broadcast the signal via connectors and an “in” FlowProperty means that the owning block is able to receive the Signal.
 "/> - </eAnnotations> - <eOperations name="getIcon" ordered="false" lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Image"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Property" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="direction" ordered="false" - lowerBound="1" eType="#//portsandflows/FlowDirection" defaultValueLiteral="inout"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Specifies if the property value is received from an external block (direction=“in”), transmitted to an external Block (direction=“out”) or both (direction=“inout”)."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="FullPort"> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Port" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Port"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="InterfaceBlock" eSuperTypes="#//blocks/Block"/> - <eClassifiers xsi:type="ecore:EClass" name="InvocationOnNestedPortAction" eSuperTypes="#//blocks/ElementPropertyPath"> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_InvocationAction" - ordered="false" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//InvocationAction"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="onNestedPort" unique="false" - lowerBound="1" upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Port"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="ItemFlow"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 An ItemFlow describes the flow of items across a connector or an association. It may constrain the item exchange between blocks, block usages, or flow ports as specified by their flow properties. For example, a pump connected to a tank: the pump has an “out” flow property of type Liquid and the tank has an “in” FlowProperty of type Liquid. To signify that only water flows between the pump and the tank, we can specify an ItemFlow of type Water on the connector.
 "/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_InformationFlow" - ordered="false" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//InformationFlow"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="itemProperty" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Property"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="An optional property that relates the flowing item to the instances of the connector’s enclosing block. This property is applicable only for item flows assigned to connectors. The multiplicity is zero if the item flow is assigned to an Association."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="ProxyPort"> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Port" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Port"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="TriggerOnNestedPort" eSuperTypes="#//blocks/ElementPropertyPath"> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Trigger" ordered="false" - lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Trigger"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="onNestedPort" unique="false" - lowerBound="1" upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Port"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EEnum" name="FlowDirection"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="FlowDirection is an enumeration type that defines literals used for specifying input and output directions. FlowDirection is used by flow properties to indicate if a property is an input or an output with respect to its owner."/> - </eAnnotations> - <eLiterals name="in"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Indicates that the flow property is input to the owning block."/> - </eAnnotations> - </eLiterals> - <eLiterals name="inout" value="1"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Indicates that the flow property is both an input and an output of the owning block."/> - </eAnnotations> - </eLiterals> - <eLiterals name="out" value="2"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Indicates that the flow property is an output of the owning block."/> - </eAnnotations> - </eLiterals> - </eClassifiers> - </eSubpackages> - <eSubpackages name="modelelements" nsURI="http://www.eclipse.org/papyrus/sysml/1.4/SysML/ModelElements" - nsPrefix="ModelElements"> - <eAnnotations source="http://www.eclipse.org/uml2/2.0.0/UML"> - <details key="originalName" value="ModelElements"/> - </eAnnotations> - <eClassifiers xsi:type="ecore:EClass" name="Conform"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 A Conform relationship is a dependency between a view and a viewpoint. The view conforms to the specified rules and conventions detailed in the viewpoint. Conform is a specialization of the UML dependency, and as with other dependencies the arrow direction points from the (client/source) to the (supplier/target).
 "/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Generalization" - ordered="false" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Generalization"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="ElementGroup"> - <eOperations name="allGroups" ordered="false" lowerBound="1"> - <eParameters name="e" ordered="false" lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Element"/> - <eParameters name="result" ordered="false" upperBound="-1" eType="#//modelelements/ElementGroup"/> - </eOperations> - <eOperations name="criterion" ordered="false" lowerBound="1"> - <eParameters name="result" ordered="false" eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//String"/> - </eOperations> - <eOperations name="member" ordered="false" lowerBound="1"> - <eParameters name="result" ordered="false" upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Element"/> - </eOperations> - <eOperations name="size" ordered="false" lowerBound="1"> - <eParameters name="result" ordered="false" lowerBound="1" eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//Integer"/> - </eOperations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Comment" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Comment"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="criterion" ordered="false" - lowerBound="1" eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//String" - changeable="false" volatile="true" transient="true" derived="true"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="member" ordered="false" - upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Element" - changeable="false" volatile="true" transient="true" derived="true"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" - lowerBound="1" eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//String"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="orderedMemeber" upperBound="-1" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Element"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="size" ordered="false" - lowerBound="1" eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//Integer" - changeable="false" volatile="true" transient="true" derived="true"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Expose"> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Dependency" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Dependency"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Problem"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 A Problem documents a deficiency, limitation, or failure of one or more model elements to satisfy a requirement or need, or other undesired outcome. It may be used to capture problems identified during analysis, design, verification, or manufacture and associate the problem with the relevant model elements. Problem is a stereotype of comment and may be attached to any other model element in the same manner as a comment.
 "/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Comment" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Comment"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Rationale"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 A Rationale documents the justification for decisions and the requirements, design, and other decisions. A Rationale can be attached to any model element including relationships. It allows the user, for example, to specify a rationale that may reference more detailed documentation such as a trade study or analysis report. Rationale is a stereotype of comment and may be attached to any other model element in the same manner as a comment.
 "/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Comment" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Comment"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Stakeholder"> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Classifier" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Classifier"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="concernList" ordered="false" - upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Comment"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="concern" ordered="false" - upperBound="-1" eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//String" - changeable="false" volatile="true" transient="true" derived="true"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="View"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="A View is a representation of a whole system or subsystem from the perspective of a single viewpoint. Views are allowed to import other elements including other packages and other views that conform to the viewpoint."/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Class" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Class"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="stakeholder" ordered="false" - upperBound="-1" eType="#//modelelements/Stakeholder" changeable="false" - volatile="true" transient="true" derived="true"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="viewPoint" ordered="false" - lowerBound="1" eType="#//modelelements/Viewpoint" changeable="false" volatile="true" - transient="true" derived="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The viewpoint for this View, derived from the supplier of the «conform» dependency whose client is this View."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Viewpoint"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 A Viewpoint is a specification of the conventions and rules for constructing and using a view for the purpose of addressing a set of stakeholder concerns. The languages and methods for specifying a view may reference languages and methods in another viewpoint. They specify the elements expected to be represented in the view, and may be formally or informally defined. For example, the security viewpoint may require the security requirements, security functional and physical architecture, and security test cases.
 "/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Class" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Class"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="concern" ordered="false" - upperBound="-1" eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//String" - changeable="false" volatile="true" transient="true" derived="true"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="concernList" ordered="false" - upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Comment"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The interest of the stakeholders."/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="language" ordered="false" - upperBound="-1" eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//String"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The languages used to construct the viewpoint."/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="method" ordered="false" - upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Behavior" - changeable="false" volatile="true" transient="true" derived="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The methods used to construct the views for this viewpoint."/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="presentation" ordered="false" - upperBound="-1" eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//String"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="purpose" ordered="false" - lowerBound="1" eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//String"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The purpose addresses the stakeholder concerns."/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="stakeholder" ordered="false" - upperBound="-1" eType="#//modelelements/Stakeholder"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Set of stakeholders."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - </eSubpackages> - <eSubpackages name="requirements" nsURI="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements" - nsPrefix="Requirements"> - <eAnnotations source="http://www.eclipse.org/uml2/2.0.0/UML"> - <details key="originalName" value="Requirements"/> - </eAnnotations> - <eClassifiers xsi:type="ecore:EClass" name="Copy" eSuperTypes="#//requirements/Trace"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="A Copy relationship is a dependency between a supplier requirement and a client requirement that specifies that the text of the client requirement is a read-only copy of the text of the supplier requirement."/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Trace" eSuperTypes="#//blocks/DirectedRelationshipPropertyPath"> - <eOperations name="getTracedFrom" ordered="false" lowerBound="1"> - <eParameters name="ref" ordered="false" lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//NamedElement"/> - <eParameters name="result" ordered="false" upperBound="-1" eType="#//requirements/Requirement"/> - </eOperations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Abstraction" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Abstraction"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Requirement"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 A requirement specifies a capability or condition that must (or should) be satisfied. A requirement may specify a function that a system must perform or a performance condition that a system must satisfy. Requirements are used to establish a contract between the customer (or other stakeholder) and those responsible for designing and implementing the system.
 "/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Class" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Class"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="derived" ordered="false" - upperBound="-1" eType="#//requirements/Requirement" changeable="false" volatile="true" - transient="true" derived="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Derived from all requirements that are the client of a «deriveReqt» relationship for which this requirement is a supplier."/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="derivedFrom" ordered="false" - upperBound="-1" eType="#//requirements/Requirement" changeable="false" volatile="true" - transient="true" derived="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Derived from all requirements that are the supplier of a «deriveReqt» relationship for which this requirement is a client."/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" ordered="false" lowerBound="1" - eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//String" - defaultValueLiteral=""> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The unique id of the requirement."/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="master" ordered="false" - eType="#//requirements/Requirement" changeable="false" volatile="true" transient="true" - derived="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="This is a derived property that lists the master requirement for this slave requirement. The master attribute is derived from the supplier of the Copy dependency that has this requirement as the slave."/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="refinedBy" ordered="false" - upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//NamedElement" - changeable="false" volatile="true" transient="true" derived="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Derived from all elements that are the client of a «refine» relationship for which this requirement is a supplier."/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="satisfiedBy" ordered="false" - upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//NamedElement" - changeable="false" volatile="true" transient="true" derived="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Derived from all elements that are the client of a «satisfy» relationship for which this requirement is a supplier."/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="text" ordered="false" - lowerBound="1" eType="ecore:EDataType ../../../org.eclipse.uml2.types/model/Types.ecore#//String" - defaultValueLiteral=""> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="The textual representation or a reference to the textual representation of the requirement."/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="tracedTo" ordered="false" - upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//NamedElement" - changeable="false" volatile="true" transient="true" derived="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Derived from all elements that are the client of a «trace» relationship for which this requirement is a supplier."/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="verifiedBy" ordered="false" - upperBound="-1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//NamedElement" - changeable="false" volatile="true" transient="true" derived="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="Derived from all elements that are the client of a «verify» relationship for which this requirement is a supplier."/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="DeriveReqt" eSuperTypes="#//requirements/Trace"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="
 A DeriveReqt relationship is a dependency between two requirements in which a client requirement can be derived from the supplier requirement. As with other dependencies, the arrow direction points from the derived (client) requirement to the (supplier) requirement from which it is derived.
 "/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Refine" eSuperTypes="#//blocks/DirectedRelationshipPropertyPath"> - <eOperations name="getRefines" ordered="false" lowerBound="1"> - <eParameters name="ref" ordered="false" lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//NamedElement"/> - <eParameters name="result" ordered="false" upperBound="-1" eType="#//requirements/Requirement"/> - </eOperations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Abstraction" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Abstraction"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Satisfy" eSuperTypes="#//requirements/Trace"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="A Satisfy relationship is a dependency between a requirement and a model element that fulfills the requirement. As with other dependencies, the arrow direction points from the satisfying (client) model element to the (supplier) requirement that is satisfied."/> - </eAnnotations> - <eOperations name="getSatisfies" ordered="false" lowerBound="1"> - <eParameters name="ref" ordered="false" lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//NamedElement"/> - <eParameters name="result" ordered="false" upperBound="-1" eType="#//requirements/Requirement"/> - </eOperations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="TestCase"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="A test case is a method for verifying a requirement is satisfied."/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Behavior" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Behavior"/> - <eStructuralFeatures xsi:type="ecore:EReference" name="base_Operation" ordered="false" - eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//Operation"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Verify" eSuperTypes="#//requirements/Trace"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="A Verify relationship is a dependency between a requirement and a test case or other model element that can determine whether a system fulfills the requirement. As with other dependencies, the arrow direction points from the (client) element to the (supplier) requirement."/> - </eAnnotations> - <eOperations name="getVerifies" ordered="false" lowerBound="1"> - <eParameters name="ref" ordered="false" lowerBound="1" eType="ecore:EClass ../../../org.eclipse.uml2.uml/model/UML.ecore#//NamedElement"/> - <eParameters name="result" ordered="false" upperBound="-1" eType="#//requirements/Requirement"/> - </eOperations> - </eClassifiers> - </eSubpackages> -</ecore:EPackage>
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/Dummy.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/Dummy.java deleted file mode 100644 index 357f217..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/Dummy.java +++ /dev/null
@@ -1,172 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>Dummy</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.sysmlPackage#getDummy() - * @model - * @generated - */ -public enum Dummy implements Enumerator { - ; - - /** - * An array of all the '<em><b>Dummy</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final Dummy[] VALUES_ARRAY = - new Dummy[] { - }; - - /** - * A public read-only list of all the '<em><b>Dummy</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List<Dummy> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>Dummy</b></em>' literal with the specified literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param literal the literal. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static Dummy get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - Dummy result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Dummy</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name the name. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static Dummy getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - Dummy result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Dummy</b></em>' literal with the specified integer value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the integer value. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static Dummy get(int value) { - switch (value) { - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final int value; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String name; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private Dummy(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - return literal; - } - -} //Dummy
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/ActivitiesFactory.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/ActivitiesFactory.java deleted file mode 100644 index 0db9aa9..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/ActivitiesFactory.java +++ /dev/null
@@ -1,115 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities; - -import org.eclipse.emf.ecore.EFactory; - -/** - * <!-- begin-user-doc --> - * The <b>Factory</b> for the model. - * It provides a create method for each non-abstract class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.activities.ActivitiesPackage - * @generated - */ -public interface ActivitiesFactory extends EFactory { - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - ActivitiesFactory eINSTANCE = org.eclipse.papyrus.sysml14.activities.internal.impl.ActivitiesFactoryImpl.init(); - - /** - * Returns a new object of class '<em>Continuous</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Continuous</em>'. - * @generated - */ - Continuous createContinuous(); - - /** - * Returns a new object of class '<em>Rate</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Rate</em>'. - * @generated - */ - Rate createRate(); - - /** - * Returns a new object of class '<em>Control Operator</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Control Operator</em>'. - * @generated - */ - ControlOperator createControlOperator(); - - /** - * Returns a new object of class '<em>Discrete</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Discrete</em>'. - * @generated - */ - Discrete createDiscrete(); - - /** - * Returns a new object of class '<em>No Buffer</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>No Buffer</em>'. - * @generated - */ - NoBuffer createNoBuffer(); - - /** - * Returns a new object of class '<em>Optional</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Optional</em>'. - * @generated - */ - Optional createOptional(); - - /** - * Returns a new object of class '<em>Overwrite</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Overwrite</em>'. - * @generated - */ - Overwrite createOverwrite(); - - /** - * Returns a new object of class '<em>Probability</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Probability</em>'. - * @generated - */ - Probability createProbability(); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - ActivitiesPackage getActivitiesPackage(); - -} //ActivitiesFactory
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/ActivitiesPackage.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/ActivitiesPackage.java deleted file mode 100644 index 2d5ea55..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/ActivitiesPackage.java +++ /dev/null
@@ -1,887 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * <!-- begin-user-doc --> - * The <b>Package</b> for the model. - * It contains accessors for the meta objects to represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.activities.ActivitiesFactory - * @model kind="package" - * annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='Activities'" - * @generated - */ -public interface ActivitiesPackage extends EPackage { - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "activities"; //$NON-NLS-1$ - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "http://www.eclipse.org/papyrus/sysml/1.4/SysML/Activities"; //$NON-NLS-1$ - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "Activities"; //$NON-NLS-1$ - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - ActivitiesPackage eINSTANCE = org.eclipse.papyrus.sysml14.activities.internal.impl.ActivitiesPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.activities.internal.impl.RateImpl <em>Rate</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.RateImpl - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.ActivitiesPackageImpl#getRate() - * @generated - */ - int RATE = 1; - - /** - * The feature id for the '<em><b>Base Activity Edge</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RATE__BASE_ACTIVITY_EDGE = 0; - - /** - * The feature id for the '<em><b>Base Object Node</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RATE__BASE_OBJECT_NODE = 1; - - /** - * The feature id for the '<em><b>Base Parameter</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RATE__BASE_PARAMETER = 2; - - /** - * The feature id for the '<em><b>Rate</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RATE__RATE = 3; - - /** - * The number of structural features of the '<em>Rate</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RATE_FEATURE_COUNT = 4; - - /** - * The number of operations of the '<em>Rate</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RATE_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.activities.internal.impl.ContinuousImpl <em>Continuous</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.ContinuousImpl - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.ActivitiesPackageImpl#getContinuous() - * @generated - */ - int CONTINUOUS = 0; - - /** - * The feature id for the '<em><b>Base Activity Edge</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CONTINUOUS__BASE_ACTIVITY_EDGE = RATE__BASE_ACTIVITY_EDGE; - - /** - * The feature id for the '<em><b>Base Object Node</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CONTINUOUS__BASE_OBJECT_NODE = RATE__BASE_OBJECT_NODE; - - /** - * The feature id for the '<em><b>Base Parameter</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CONTINUOUS__BASE_PARAMETER = RATE__BASE_PARAMETER; - - /** - * The feature id for the '<em><b>Rate</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CONTINUOUS__RATE = RATE__RATE; - - /** - * The number of structural features of the '<em>Continuous</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CONTINUOUS_FEATURE_COUNT = RATE_FEATURE_COUNT + 0; - - /** - * The number of operations of the '<em>Continuous</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CONTINUOUS_OPERATION_COUNT = RATE_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.activities.internal.impl.ControlOperatorImpl <em>Control Operator</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.ControlOperatorImpl - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.ActivitiesPackageImpl#getControlOperator() - * @generated - */ - int CONTROL_OPERATOR = 2; - - /** - * The feature id for the '<em><b>Base Behavior</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CONTROL_OPERATOR__BASE_BEHAVIOR = 0; - - /** - * The feature id for the '<em><b>Base Operation</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CONTROL_OPERATOR__BASE_OPERATION = 1; - - /** - * The number of structural features of the '<em>Control Operator</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CONTROL_OPERATOR_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Control Operator</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CONTROL_OPERATOR_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.activities.internal.impl.DiscreteImpl <em>Discrete</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.DiscreteImpl - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.ActivitiesPackageImpl#getDiscrete() - * @generated - */ - int DISCRETE = 3; - - /** - * The feature id for the '<em><b>Base Activity Edge</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DISCRETE__BASE_ACTIVITY_EDGE = RATE__BASE_ACTIVITY_EDGE; - - /** - * The feature id for the '<em><b>Base Object Node</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DISCRETE__BASE_OBJECT_NODE = RATE__BASE_OBJECT_NODE; - - /** - * The feature id for the '<em><b>Base Parameter</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DISCRETE__BASE_PARAMETER = RATE__BASE_PARAMETER; - - /** - * The feature id for the '<em><b>Rate</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DISCRETE__RATE = RATE__RATE; - - /** - * The number of structural features of the '<em>Discrete</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DISCRETE_FEATURE_COUNT = RATE_FEATURE_COUNT + 0; - - /** - * The number of operations of the '<em>Discrete</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DISCRETE_OPERATION_COUNT = RATE_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.activities.internal.impl.NoBufferImpl <em>No Buffer</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.NoBufferImpl - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.ActivitiesPackageImpl#getNoBuffer() - * @generated - */ - int NO_BUFFER = 4; - - /** - * The feature id for the '<em><b>Base Object Node</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NO_BUFFER__BASE_OBJECT_NODE = 0; - - /** - * The number of structural features of the '<em>No Buffer</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NO_BUFFER_FEATURE_COUNT = 1; - - /** - * The number of operations of the '<em>No Buffer</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NO_BUFFER_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.activities.internal.impl.OptionalImpl <em>Optional</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.OptionalImpl - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.ActivitiesPackageImpl#getOptional() - * @generated - */ - int OPTIONAL = 5; - - /** - * The feature id for the '<em><b>Base Parameter</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OPTIONAL__BASE_PARAMETER = 0; - - /** - * The number of structural features of the '<em>Optional</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OPTIONAL_FEATURE_COUNT = 1; - - /** - * The number of operations of the '<em>Optional</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OPTIONAL_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.activities.internal.impl.OverwriteImpl <em>Overwrite</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.OverwriteImpl - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.ActivitiesPackageImpl#getOverwrite() - * @generated - */ - int OVERWRITE = 6; - - /** - * The feature id for the '<em><b>Base Object Node</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OVERWRITE__BASE_OBJECT_NODE = 0; - - /** - * The number of structural features of the '<em>Overwrite</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OVERWRITE_FEATURE_COUNT = 1; - - /** - * The number of operations of the '<em>Overwrite</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int OVERWRITE_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.activities.internal.impl.ProbabilityImpl <em>Probability</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.ProbabilityImpl - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.ActivitiesPackageImpl#getProbability() - * @generated - */ - int PROBABILITY = 7; - - /** - * The feature id for the '<em><b>Base Activity Edge</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PROBABILITY__BASE_ACTIVITY_EDGE = 0; - - /** - * The feature id for the '<em><b>Base Parameter Set</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PROBABILITY__BASE_PARAMETER_SET = 1; - - /** - * The feature id for the '<em><b>Probability</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PROBABILITY__PROBABILITY = 2; - - /** - * The number of structural features of the '<em>Probability</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PROBABILITY_FEATURE_COUNT = 3; - - /** - * The number of operations of the '<em>Probability</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PROBABILITY_OPERATION_COUNT = 0; - - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.activities.Continuous <em>Continuous</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Continuous</em>'. - * @see org.eclipse.papyrus.sysml14.activities.Continuous - * @generated - */ - EClass getContinuous(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.activities.Rate <em>Rate</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Rate</em>'. - * @see org.eclipse.papyrus.sysml14.activities.Rate - * @generated - */ - EClass getRate(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.activities.Rate#getBase_ActivityEdge <em>Base Activity Edge</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Activity Edge</em>'. - * @see org.eclipse.papyrus.sysml14.activities.Rate#getBase_ActivityEdge() - * @see #getRate() - * @generated - */ - EReference getRate_Base_ActivityEdge(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.activities.Rate#getBase_ObjectNode <em>Base Object Node</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Object Node</em>'. - * @see org.eclipse.papyrus.sysml14.activities.Rate#getBase_ObjectNode() - * @see #getRate() - * @generated - */ - EReference getRate_Base_ObjectNode(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.activities.Rate#getBase_Parameter <em>Base Parameter</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Parameter</em>'. - * @see org.eclipse.papyrus.sysml14.activities.Rate#getBase_Parameter() - * @see #getRate() - * @generated - */ - EReference getRate_Base_Parameter(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.activities.Rate#getRate <em>Rate</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Rate</em>'. - * @see org.eclipse.papyrus.sysml14.activities.Rate#getRate() - * @see #getRate() - * @generated - */ - EReference getRate_Rate(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.activities.ControlOperator <em>Control Operator</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Control Operator</em>'. - * @see org.eclipse.papyrus.sysml14.activities.ControlOperator - * @generated - */ - EClass getControlOperator(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.activities.ControlOperator#getBase_Behavior <em>Base Behavior</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Behavior</em>'. - * @see org.eclipse.papyrus.sysml14.activities.ControlOperator#getBase_Behavior() - * @see #getControlOperator() - * @generated - */ - EReference getControlOperator_Base_Behavior(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.activities.ControlOperator#getBase_Operation <em>Base Operation</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Operation</em>'. - * @see org.eclipse.papyrus.sysml14.activities.ControlOperator#getBase_Operation() - * @see #getControlOperator() - * @generated - */ - EReference getControlOperator_Base_Operation(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.activities.Discrete <em>Discrete</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Discrete</em>'. - * @see org.eclipse.papyrus.sysml14.activities.Discrete - * @generated - */ - EClass getDiscrete(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.activities.NoBuffer <em>No Buffer</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>No Buffer</em>'. - * @see org.eclipse.papyrus.sysml14.activities.NoBuffer - * @generated - */ - EClass getNoBuffer(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.activities.NoBuffer#getBase_ObjectNode <em>Base Object Node</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Object Node</em>'. - * @see org.eclipse.papyrus.sysml14.activities.NoBuffer#getBase_ObjectNode() - * @see #getNoBuffer() - * @generated - */ - EReference getNoBuffer_Base_ObjectNode(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.activities.Optional <em>Optional</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Optional</em>'. - * @see org.eclipse.papyrus.sysml14.activities.Optional - * @generated - */ - EClass getOptional(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.activities.Optional#getBase_Parameter <em>Base Parameter</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Parameter</em>'. - * @see org.eclipse.papyrus.sysml14.activities.Optional#getBase_Parameter() - * @see #getOptional() - * @generated - */ - EReference getOptional_Base_Parameter(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.activities.Overwrite <em>Overwrite</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Overwrite</em>'. - * @see org.eclipse.papyrus.sysml14.activities.Overwrite - * @generated - */ - EClass getOverwrite(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.activities.Overwrite#getBase_ObjectNode <em>Base Object Node</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Object Node</em>'. - * @see org.eclipse.papyrus.sysml14.activities.Overwrite#getBase_ObjectNode() - * @see #getOverwrite() - * @generated - */ - EReference getOverwrite_Base_ObjectNode(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.activities.Probability <em>Probability</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Probability</em>'. - * @see org.eclipse.papyrus.sysml14.activities.Probability - * @generated - */ - EClass getProbability(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.activities.Probability#getBase_ActivityEdge <em>Base Activity Edge</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Activity Edge</em>'. - * @see org.eclipse.papyrus.sysml14.activities.Probability#getBase_ActivityEdge() - * @see #getProbability() - * @generated - */ - EReference getProbability_Base_ActivityEdge(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.activities.Probability#getBase_ParameterSet <em>Base Parameter Set</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Parameter Set</em>'. - * @see org.eclipse.papyrus.sysml14.activities.Probability#getBase_ParameterSet() - * @see #getProbability() - * @generated - */ - EReference getProbability_Base_ParameterSet(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.activities.Probability#getProbability <em>Probability</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Probability</em>'. - * @see org.eclipse.papyrus.sysml14.activities.Probability#getProbability() - * @see #getProbability() - * @generated - */ - EReference getProbability_Probability(); - - /** - * Returns the factory that creates the instances of the model. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the factory that creates the instances of the model. - * @generated - */ - ActivitiesFactory getActivitiesFactory(); - - /** - * <!-- begin-user-doc --> - * Defines literals for the meta objects that represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.activities.internal.impl.ContinuousImpl <em>Continuous</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.ContinuousImpl - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.ActivitiesPackageImpl#getContinuous() - * @generated - */ - EClass CONTINUOUS = eINSTANCE.getContinuous(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.activities.internal.impl.RateImpl <em>Rate</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.RateImpl - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.ActivitiesPackageImpl#getRate() - * @generated - */ - EClass RATE = eINSTANCE.getRate(); - - /** - * The meta object literal for the '<em><b>Base Activity Edge</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference RATE__BASE_ACTIVITY_EDGE = eINSTANCE.getRate_Base_ActivityEdge(); - - /** - * The meta object literal for the '<em><b>Base Object Node</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference RATE__BASE_OBJECT_NODE = eINSTANCE.getRate_Base_ObjectNode(); - - /** - * The meta object literal for the '<em><b>Base Parameter</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference RATE__BASE_PARAMETER = eINSTANCE.getRate_Base_Parameter(); - - /** - * The meta object literal for the '<em><b>Rate</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference RATE__RATE = eINSTANCE.getRate_Rate(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.activities.internal.impl.ControlOperatorImpl <em>Control Operator</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.ControlOperatorImpl - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.ActivitiesPackageImpl#getControlOperator() - * @generated - */ - EClass CONTROL_OPERATOR = eINSTANCE.getControlOperator(); - - /** - * The meta object literal for the '<em><b>Base Behavior</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference CONTROL_OPERATOR__BASE_BEHAVIOR = eINSTANCE.getControlOperator_Base_Behavior(); - - /** - * The meta object literal for the '<em><b>Base Operation</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference CONTROL_OPERATOR__BASE_OPERATION = eINSTANCE.getControlOperator_Base_Operation(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.activities.internal.impl.DiscreteImpl <em>Discrete</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.DiscreteImpl - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.ActivitiesPackageImpl#getDiscrete() - * @generated - */ - EClass DISCRETE = eINSTANCE.getDiscrete(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.activities.internal.impl.NoBufferImpl <em>No Buffer</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.NoBufferImpl - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.ActivitiesPackageImpl#getNoBuffer() - * @generated - */ - EClass NO_BUFFER = eINSTANCE.getNoBuffer(); - - /** - * The meta object literal for the '<em><b>Base Object Node</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference NO_BUFFER__BASE_OBJECT_NODE = eINSTANCE.getNoBuffer_Base_ObjectNode(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.activities.internal.impl.OptionalImpl <em>Optional</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.OptionalImpl - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.ActivitiesPackageImpl#getOptional() - * @generated - */ - EClass OPTIONAL = eINSTANCE.getOptional(); - - /** - * The meta object literal for the '<em><b>Base Parameter</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference OPTIONAL__BASE_PARAMETER = eINSTANCE.getOptional_Base_Parameter(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.activities.internal.impl.OverwriteImpl <em>Overwrite</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.OverwriteImpl - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.ActivitiesPackageImpl#getOverwrite() - * @generated - */ - EClass OVERWRITE = eINSTANCE.getOverwrite(); - - /** - * The meta object literal for the '<em><b>Base Object Node</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference OVERWRITE__BASE_OBJECT_NODE = eINSTANCE.getOverwrite_Base_ObjectNode(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.activities.internal.impl.ProbabilityImpl <em>Probability</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.ProbabilityImpl - * @see org.eclipse.papyrus.sysml14.activities.internal.impl.ActivitiesPackageImpl#getProbability() - * @generated - */ - EClass PROBABILITY = eINSTANCE.getProbability(); - - /** - * The meta object literal for the '<em><b>Base Activity Edge</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference PROBABILITY__BASE_ACTIVITY_EDGE = eINSTANCE.getProbability_Base_ActivityEdge(); - - /** - * The meta object literal for the '<em><b>Base Parameter Set</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference PROBABILITY__BASE_PARAMETER_SET = eINSTANCE.getProbability_Base_ParameterSet(); - - /** - * The meta object literal for the '<em><b>Probability</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference PROBABILITY__PROBABILITY = eINSTANCE.getProbability_Probability(); - - } - -} //ActivitiesPackage
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/Continuous.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/Continuous.java deleted file mode 100644 index 1f61d04..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/Continuous.java +++ /dev/null
@@ -1,33 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Continuous</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * Continuous rate is a special case of rate of flow (see Rate) where the increment of time between items approaches zero. It is intended to represent continuous flows that may correspond to water flowing through a pipe, a time continuous signal, or continuous energy flow. It is independent from UML streaming. A streaming parameter may or may not apply to continuous flow, and a continuous flow may or may not apply to streaming parameters. - * - * <!-- end-model-doc --> - * - * - * @see org.eclipse.papyrus.sysml14.activities.ActivitiesPackage#getContinuous() - * @model - * @generated - */ -public interface Continuous extends Rate { -} // Continuous
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/ControlOperator.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/ControlOperator.java deleted file mode 100644 index 8cb1300..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/ControlOperator.java +++ /dev/null
@@ -1,96 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.Behavior; -import org.eclipse.uml2.uml.Operation; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Control Operator</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * A control operator is a behavior that is intended to represent an arbitrarily complex logical operator that can be used to enable and disable other actions. When this stereotype is applied to behaviors, the behavior takes control values as inputs or provides them as outputs, that is, it treats control as data. When this stereotype is not applied, the behavior may not have a parameter typed by ControlValue. This stereotype also applies to operations with the same semantics. - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.activities.ControlOperator#getBase_Behavior <em>Base Behavior</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.activities.ControlOperator#getBase_Operation <em>Base Operation</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.activities.ActivitiesPackage#getControlOperator() - * @model - * @generated - */ -public interface ControlOperator extends EObject { - /** - * Returns the value of the '<em><b>Base Behavior</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Behavior</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Behavior</em>' reference. - * @see #setBase_Behavior(Behavior) - * @see org.eclipse.papyrus.sysml14.activities.ActivitiesPackage#getControlOperator_Base_Behavior() - * @model ordered="false" - * @generated - */ - Behavior getBase_Behavior(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.activities.ControlOperator#getBase_Behavior <em>Base Behavior</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Behavior</em>' reference. - * @see #getBase_Behavior() - * @generated - */ - void setBase_Behavior(Behavior value); - - /** - * Returns the value of the '<em><b>Base Operation</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Operation</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Operation</em>' reference. - * @see #setBase_Operation(Operation) - * @see org.eclipse.papyrus.sysml14.activities.ActivitiesPackage#getControlOperator_Base_Operation() - * @model ordered="false" - * @generated - */ - Operation getBase_Operation(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.activities.ControlOperator#getBase_Operation <em>Base Operation</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Operation</em>' reference. - * @see #getBase_Operation() - * @generated - */ - void setBase_Operation(Operation value); - -} // ControlOperator
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/Discrete.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/Discrete.java deleted file mode 100644 index d0e324a..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/Discrete.java +++ /dev/null
@@ -1,31 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Discrete</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * Discrete rate is a special case of rate of flow (see Rate) where the increment of time between items is non-zero. - * <!-- end-model-doc --> - * - * - * @see org.eclipse.papyrus.sysml14.activities.ActivitiesPackage#getDiscrete() - * @model - * @generated - */ -public interface Discrete extends Rate { -} // Discrete
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/NoBuffer.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/NoBuffer.java deleted file mode 100644 index 1de18f3..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/NoBuffer.java +++ /dev/null
@@ -1,68 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.ObjectNode; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>No Buffer</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * When this stereotype is applied to object nodes, tokens arriving at the node are discarded if they are refused by outgoing edges, or refused by actions for object nodes that are input pins. This is typically used with fast or continuously flowing data values, to prevent buffer overrun, or to model transient values, such as electrical signals. For object nodes that are the target of continuous flows, «nobuffer» and «overwrite» have the same effect. The stereotype does not override UML token offering semantics; it just indicates what happens to the token when it is accepted. When the stereotype is not applied, the semantics are as in UML, specifically, tokens arriving at an object node that are refused by outgoing edges, or action for input pins, are held until they can leave the object node. - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.activities.NoBuffer#getBase_ObjectNode <em>Base Object Node</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.activities.ActivitiesPackage#getNoBuffer() - * @model - * @generated - */ -public interface NoBuffer extends EObject { - /** - * Returns the value of the '<em><b>Base Object Node</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Object Node</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Object Node</em>' reference. - * @see #setBase_ObjectNode(ObjectNode) - * @see org.eclipse.papyrus.sysml14.activities.ActivitiesPackage#getNoBuffer_Base_ObjectNode() - * @model ordered="false" - * @generated - */ - ObjectNode getBase_ObjectNode(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.activities.NoBuffer#getBase_ObjectNode <em>Base Object Node</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Object Node</em>' reference. - * @see #getBase_ObjectNode() - * @generated - */ - void setBase_ObjectNode(ObjectNode value); - -} // NoBuffer
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/Optional.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/Optional.java deleted file mode 100644 index c6e57c3..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/Optional.java +++ /dev/null
@@ -1,68 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.Parameter; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Optional</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * When the «optional» stereotype is applied to parameters, the lower multiplicity must be equal to zero. This means the parameter is not required to have a value for the activity or any behavior to begin or end execution. Otherwise, the lower multiplicity must be greater than zero, which is called “required.” - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.activities.Optional#getBase_Parameter <em>Base Parameter</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.activities.ActivitiesPackage#getOptional() - * @model - * @generated - */ -public interface Optional extends EObject { - /** - * Returns the value of the '<em><b>Base Parameter</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Parameter</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Parameter</em>' reference. - * @see #setBase_Parameter(Parameter) - * @see org.eclipse.papyrus.sysml14.activities.ActivitiesPackage#getOptional_Base_Parameter() - * @model ordered="false" - * @generated - */ - Parameter getBase_Parameter(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.activities.Optional#getBase_Parameter <em>Base Parameter</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Parameter</em>' reference. - * @see #getBase_Parameter() - * @generated - */ - void setBase_Parameter(Parameter value); - -} // Optional
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/Overwrite.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/Overwrite.java deleted file mode 100644 index 10e233e..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/Overwrite.java +++ /dev/null
@@ -1,68 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.ObjectNode; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Overwrite</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * When the «overwrite» stereotype is applied to object nodes, a token arriving at a full object node replaces the ones already there (a full object node has as many tokens as allowed by its upper bound). This is typically used on an input pin with an upper bound of 1 to ensure that stale data is overridden at an input pin. For upper bounds greater than one, the token replaced is the one that would be the last to be selected according to the ordering kind for the node. For FIFO ordering, this is the most recently added token, for LIFO it is the least recently added token. A null token removes all the tokens already there. The number of tokens replaced is equal to the weight of the incoming edge, which defaults to 1. For object nodes that are the target of continuous flows, «overwrite» and «nobuffer» have the same effect. The stereotype does not override UML token offering semantics, just indicates what happens to the token when it is accepted. When the stereotype is not applied, the semantics is as in UML, specifically, tokens arriving at object nodes do not replace ones that are already there. - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.activities.Overwrite#getBase_ObjectNode <em>Base Object Node</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.activities.ActivitiesPackage#getOverwrite() - * @model - * @generated - */ -public interface Overwrite extends EObject { - /** - * Returns the value of the '<em><b>Base Object Node</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Object Node</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Object Node</em>' reference. - * @see #setBase_ObjectNode(ObjectNode) - * @see org.eclipse.papyrus.sysml14.activities.ActivitiesPackage#getOverwrite_Base_ObjectNode() - * @model ordered="false" - * @generated - */ - ObjectNode getBase_ObjectNode(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.activities.Overwrite#getBase_ObjectNode <em>Base Object Node</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Object Node</em>' reference. - * @see #getBase_ObjectNode() - * @generated - */ - void setBase_ObjectNode(ObjectNode value); - -} // Overwrite
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/Probability.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/Probability.java deleted file mode 100644 index cf569e5..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/Probability.java +++ /dev/null
@@ -1,125 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.ActivityEdge; -import org.eclipse.uml2.uml.ParameterSet; -import org.eclipse.uml2.uml.ValueSpecification; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Probability</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * When the «probability» stereotype is applied to edges coming out of decision nodes and object nodes, it provides an expression for the probability that the edge will be traversed. These must be between zero and one inclusive, and add up to one for edges with same source at the time the probabilities are used. - * When the «probability» stereotype is applied to output parameter sets, it gives the probability the parameter set will be given values at runtime. These must be between zero and one inclusive, and add up to one for output parameter sets of the same behavior at the time the probabilities are used. - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.activities.Probability#getBase_ActivityEdge <em>Base Activity Edge</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.activities.Probability#getBase_ParameterSet <em>Base Parameter Set</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.activities.Probability#getProbability <em>Probability</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.activities.ActivitiesPackage#getProbability() - * @model - * @generated - */ -public interface Probability extends EObject { - /** - * Returns the value of the '<em><b>Base Activity Edge</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Activity Edge</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Activity Edge</em>' reference. - * @see #setBase_ActivityEdge(ActivityEdge) - * @see org.eclipse.papyrus.sysml14.activities.ActivitiesPackage#getProbability_Base_ActivityEdge() - * @model ordered="false" - * @generated - */ - ActivityEdge getBase_ActivityEdge(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.activities.Probability#getBase_ActivityEdge <em>Base Activity Edge</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Activity Edge</em>' reference. - * @see #getBase_ActivityEdge() - * @generated - */ - void setBase_ActivityEdge(ActivityEdge value); - - /** - * Returns the value of the '<em><b>Base Parameter Set</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Parameter Set</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Parameter Set</em>' reference. - * @see #setBase_ParameterSet(ParameterSet) - * @see org.eclipse.papyrus.sysml14.activities.ActivitiesPackage#getProbability_Base_ParameterSet() - * @model ordered="false" - * @generated - */ - ParameterSet getBase_ParameterSet(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.activities.Probability#getBase_ParameterSet <em>Base Parameter Set</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Parameter Set</em>' reference. - * @see #getBase_ParameterSet() - * @generated - */ - void setBase_ParameterSet(ParameterSet value); - - /** - * Returns the value of the '<em><b>Probability</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Probability</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Probability</em>' reference. - * @see #setProbability(ValueSpecification) - * @see org.eclipse.papyrus.sysml14.activities.ActivitiesPackage#getProbability_Probability() - * @model required="true" ordered="false" - * @generated - */ - ValueSpecification getProbability(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.activities.Probability#getProbability <em>Probability</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Probability</em>' reference. - * @see #getProbability() - * @generated - */ - void setProbability(ValueSpecification value); - -} // Probability
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/Rate.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/Rate.java deleted file mode 100644 index cddd9b3..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/Rate.java +++ /dev/null
@@ -1,152 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.ActivityEdge; -import org.eclipse.uml2.uml.InstanceSpecification; -import org.eclipse.uml2.uml.ObjectNode; -import org.eclipse.uml2.uml.Parameter; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Rate</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * When the «rate» stereotype is applied to an activity edge, it specifies the expected value of the number of objects and values that traverse the edge per time interval, that is, the expected value rate at which they leave the source node and arrive at the target node. It does not refer to the rate at which a value changes over time. When the stereotype is applied to a parameter, the parameter must be streaming, and the stereotype gives the number of objects or values that flow in or out of the parameter per time interval while the behavior or operation is executing. Streaming is a characteristic of UML behavior parameters that supports the input and output of items while a behavior is executing, rather than only when the behavior starts and stops. The flow may be continuous or discrete. The «rate» stereotype has a rate property of type InstanceSpecification. The values of this property must be instances of classifiers stereotyped by «valueType» or «distributionDefinition». In particular, the denominator for units used in the rate property must be time units. - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.activities.Rate#getBase_ActivityEdge <em>Base Activity Edge</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.activities.Rate#getBase_ObjectNode <em>Base Object Node</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.activities.Rate#getBase_Parameter <em>Base Parameter</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.activities.Rate#getRate <em>Rate</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.activities.ActivitiesPackage#getRate() - * @model - * @generated - */ -public interface Rate extends EObject { - /** - * Returns the value of the '<em><b>Base Activity Edge</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Activity Edge</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Activity Edge</em>' reference. - * @see #setBase_ActivityEdge(ActivityEdge) - * @see org.eclipse.papyrus.sysml14.activities.ActivitiesPackage#getRate_Base_ActivityEdge() - * @model ordered="false" - * @generated - */ - ActivityEdge getBase_ActivityEdge(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.activities.Rate#getBase_ActivityEdge <em>Base Activity Edge</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Activity Edge</em>' reference. - * @see #getBase_ActivityEdge() - * @generated - */ - void setBase_ActivityEdge(ActivityEdge value); - - /** - * Returns the value of the '<em><b>Base Object Node</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Object Node</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Object Node</em>' reference. - * @see #setBase_ObjectNode(ObjectNode) - * @see org.eclipse.papyrus.sysml14.activities.ActivitiesPackage#getRate_Base_ObjectNode() - * @model ordered="false" - * @generated - */ - ObjectNode getBase_ObjectNode(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.activities.Rate#getBase_ObjectNode <em>Base Object Node</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Object Node</em>' reference. - * @see #getBase_ObjectNode() - * @generated - */ - void setBase_ObjectNode(ObjectNode value); - - /** - * Returns the value of the '<em><b>Base Parameter</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Parameter</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Parameter</em>' reference. - * @see #setBase_Parameter(Parameter) - * @see org.eclipse.papyrus.sysml14.activities.ActivitiesPackage#getRate_Base_Parameter() - * @model ordered="false" - * @generated - */ - Parameter getBase_Parameter(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.activities.Rate#getBase_Parameter <em>Base Parameter</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Parameter</em>' reference. - * @see #getBase_Parameter() - * @generated - */ - void setBase_Parameter(Parameter value); - - /** - * Returns the value of the '<em><b>Rate</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Rate</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Rate</em>' reference. - * @see #setRate(InstanceSpecification) - * @see org.eclipse.papyrus.sysml14.activities.ActivitiesPackage#getRate_Rate() - * @model required="true" ordered="false" - * @generated - */ - InstanceSpecification getRate(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.activities.Rate#getRate <em>Rate</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Rate</em>' reference. - * @see #getRate() - * @generated - */ - void setRate(InstanceSpecification value); - -} // Rate
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/ActivitiesFactoryImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/ActivitiesFactoryImpl.java deleted file mode 100644 index 53aeebb..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/ActivitiesFactoryImpl.java +++ /dev/null
@@ -1,182 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities.internal.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -import org.eclipse.papyrus.sysml14.activities.*; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class ActivitiesFactoryImpl extends EFactoryImpl implements ActivitiesFactory { - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static ActivitiesFactory init() { - try { - ActivitiesFactory theActivitiesFactory = (ActivitiesFactory)EPackage.Registry.INSTANCE.getEFactory(ActivitiesPackage.eNS_URI); - if (theActivitiesFactory != null) { - return theActivitiesFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new ActivitiesFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ActivitiesFactoryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case ActivitiesPackage.CONTINUOUS: return createContinuous(); - case ActivitiesPackage.RATE: return createRate(); - case ActivitiesPackage.CONTROL_OPERATOR: return createControlOperator(); - case ActivitiesPackage.DISCRETE: return createDiscrete(); - case ActivitiesPackage.NO_BUFFER: return createNoBuffer(); - case ActivitiesPackage.OPTIONAL: return createOptional(); - case ActivitiesPackage.OVERWRITE: return createOverwrite(); - case ActivitiesPackage.PROBABILITY: return createProbability(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Continuous createContinuous() { - ContinuousImpl continuous = new ContinuousImpl(); - return continuous; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Rate createRate() { - RateImpl rate = new RateImpl(); - return rate; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ControlOperator createControlOperator() { - ControlOperatorImpl controlOperator = new ControlOperatorImpl(); - return controlOperator; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Discrete createDiscrete() { - DiscreteImpl discrete = new DiscreteImpl(); - return discrete; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NoBuffer createNoBuffer() { - NoBufferImpl noBuffer = new NoBufferImpl(); - return noBuffer; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Optional createOptional() { - OptionalImpl optional = new OptionalImpl(); - return optional; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Overwrite createOverwrite() { - OverwriteImpl overwrite = new OverwriteImpl(); - return overwrite; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Probability createProbability() { - ProbabilityImpl probability = new ProbabilityImpl(); - return probability; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ActivitiesPackage getActivitiesPackage() { - return (ActivitiesPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - @Deprecated - public static ActivitiesPackage getPackage() { - return ActivitiesPackage.eINSTANCE; - } - -} //ActivitiesFactoryImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/ActivitiesPackageImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/ActivitiesPackageImpl.java deleted file mode 100644 index 4218b59..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/ActivitiesPackageImpl.java +++ /dev/null
@@ -1,538 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities.internal.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.eclipse.papyrus.sysml14.activities.ActivitiesFactory; -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; -import org.eclipse.papyrus.sysml14.activities.Continuous; -import org.eclipse.papyrus.sysml14.activities.ControlOperator; -import org.eclipse.papyrus.sysml14.activities.Discrete; -import org.eclipse.papyrus.sysml14.activities.NoBuffer; -import org.eclipse.papyrus.sysml14.activities.Optional; -import org.eclipse.papyrus.sysml14.activities.Overwrite; -import org.eclipse.papyrus.sysml14.activities.Probability; -import org.eclipse.papyrus.sysml14.activities.Rate; - -import org.eclipse.papyrus.sysml14.allocations.AllocationsPackage; - -import org.eclipse.papyrus.sysml14.allocations.internal.impl.AllocationsPackageImpl; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; - -import org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl; - -import org.eclipse.papyrus.sysml14.constraintblocks.ConstraintblocksPackage; - -import org.eclipse.papyrus.sysml14.constraintblocks.internal.impl.ConstraintblocksPackageImpl; - -import org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsPackage; - -import org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.DeprecatedelementsPackageImpl; - -import org.eclipse.papyrus.sysml14.impl.sysmlPackageImpl; -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; - -import org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsPackageImpl; - -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; - -import org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl; - -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; - -import org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsPackageImpl; - -import org.eclipse.papyrus.sysml14.sysmlPackage; -import org.eclipse.uml2.uml.UMLPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class ActivitiesPackageImpl extends EPackageImpl implements ActivitiesPackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass continuousEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass rateEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass controlOperatorEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass discreteEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass noBufferEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass optionalEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass overwriteEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass probabilityEClass = null; - - /** - * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.papyrus.sysml14.activities.ActivitiesPackage#eNS_URI - * @see #init() - * @generated - */ - private ActivitiesPackageImpl() { - super(eNS_URI, ActivitiesFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. - * - * <p>This method is used to initialize {@link ActivitiesPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static ActivitiesPackage init() { - if (isInited) return (ActivitiesPackage)EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI); - - // Obtain or create and register package - ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ActivitiesPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - UMLPackage.eINSTANCE.eClass(); - - // Obtain or create and register interdependencies - sysmlPackageImpl thesysmlPackage = (sysmlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(sysmlPackage.eNS_URI) instanceof sysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(sysmlPackage.eNS_URI) : sysmlPackage.eINSTANCE); - AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) : AllocationsPackage.eINSTANCE); - BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE); - ConstraintblocksPackageImpl theConstraintblocksPackage = (ConstraintblocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) instanceof ConstraintblocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) : ConstraintblocksPackage.eINSTANCE); - DeprecatedelementsPackageImpl theDeprecatedelementsPackage = (DeprecatedelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) instanceof DeprecatedelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) : DeprecatedelementsPackage.eINSTANCE); - PortsandflowsPackageImpl thePortsandflowsPackage = (PortsandflowsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) instanceof PortsandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) : PortsandflowsPackage.eINSTANCE); - ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE); - RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE); - - // Create package meta-data objects - theActivitiesPackage.createPackageContents(); - thesysmlPackage.createPackageContents(); - theAllocationsPackage.createPackageContents(); - theBlocksPackage.createPackageContents(); - theConstraintblocksPackage.createPackageContents(); - theDeprecatedelementsPackage.createPackageContents(); - thePortsandflowsPackage.createPackageContents(); - theModelelementsPackage.createPackageContents(); - theRequirementsPackage.createPackageContents(); - - // Initialize created meta-data - theActivitiesPackage.initializePackageContents(); - thesysmlPackage.initializePackageContents(); - theAllocationsPackage.initializePackageContents(); - theBlocksPackage.initializePackageContents(); - theConstraintblocksPackage.initializePackageContents(); - theDeprecatedelementsPackage.initializePackageContents(); - thePortsandflowsPackage.initializePackageContents(); - theModelelementsPackage.initializePackageContents(); - theRequirementsPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theActivitiesPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(ActivitiesPackage.eNS_URI, theActivitiesPackage); - return theActivitiesPackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getContinuous() { - return continuousEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getRate() { - return rateEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRate_Base_ActivityEdge() { - return (EReference)rateEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRate_Base_ObjectNode() { - return (EReference)rateEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRate_Base_Parameter() { - return (EReference)rateEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRate_Rate() { - return (EReference)rateEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getControlOperator() { - return controlOperatorEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getControlOperator_Base_Behavior() { - return (EReference)controlOperatorEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getControlOperator_Base_Operation() { - return (EReference)controlOperatorEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getDiscrete() { - return discreteEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getNoBuffer() { - return noBufferEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getNoBuffer_Base_ObjectNode() { - return (EReference)noBufferEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getOptional() { - return optionalEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getOptional_Base_Parameter() { - return (EReference)optionalEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getOverwrite() { - return overwriteEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getOverwrite_Base_ObjectNode() { - return (EReference)overwriteEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getProbability() { - return probabilityEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getProbability_Base_ActivityEdge() { - return (EReference)probabilityEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getProbability_Base_ParameterSet() { - return (EReference)probabilityEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getProbability_Probability() { - return (EReference)probabilityEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ActivitiesFactory getActivitiesFactory() { - return (ActivitiesFactory)getEFactoryInstance(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - continuousEClass = createEClass(CONTINUOUS); - - rateEClass = createEClass(RATE); - createEReference(rateEClass, RATE__BASE_ACTIVITY_EDGE); - createEReference(rateEClass, RATE__BASE_OBJECT_NODE); - createEReference(rateEClass, RATE__BASE_PARAMETER); - createEReference(rateEClass, RATE__RATE); - - controlOperatorEClass = createEClass(CONTROL_OPERATOR); - createEReference(controlOperatorEClass, CONTROL_OPERATOR__BASE_BEHAVIOR); - createEReference(controlOperatorEClass, CONTROL_OPERATOR__BASE_OPERATION); - - discreteEClass = createEClass(DISCRETE); - - noBufferEClass = createEClass(NO_BUFFER); - createEReference(noBufferEClass, NO_BUFFER__BASE_OBJECT_NODE); - - optionalEClass = createEClass(OPTIONAL); - createEReference(optionalEClass, OPTIONAL__BASE_PARAMETER); - - overwriteEClass = createEClass(OVERWRITE); - createEReference(overwriteEClass, OVERWRITE__BASE_OBJECT_NODE); - - probabilityEClass = createEClass(PROBABILITY); - createEReference(probabilityEClass, PROBABILITY__BASE_ACTIVITY_EDGE); - createEReference(probabilityEClass, PROBABILITY__BASE_PARAMETER_SET); - createEReference(probabilityEClass, PROBABILITY__PROBABILITY); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - continuousEClass.getESuperTypes().add(this.getRate()); - discreteEClass.getESuperTypes().add(this.getRate()); - - // Initialize classes, features, and operations; add parameters - initEClass(continuousEClass, Continuous.class, "Continuous", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - - initEClass(rateEClass, Rate.class, "Rate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getRate_Base_ActivityEdge(), theUMLPackage.getActivityEdge(), null, "base_ActivityEdge", null, 0, 1, Rate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getRate_Base_ObjectNode(), theUMLPackage.getObjectNode(), null, "base_ObjectNode", null, 0, 1, Rate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getRate_Base_Parameter(), theUMLPackage.getParameter(), null, "base_Parameter", null, 0, 1, Rate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getRate_Rate(), theUMLPackage.getInstanceSpecification(), null, "rate", null, 1, 1, Rate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(controlOperatorEClass, ControlOperator.class, "ControlOperator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getControlOperator_Base_Behavior(), theUMLPackage.getBehavior(), null, "base_Behavior", null, 0, 1, ControlOperator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getControlOperator_Base_Operation(), theUMLPackage.getOperation(), null, "base_Operation", null, 0, 1, ControlOperator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(discreteEClass, Discrete.class, "Discrete", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - - initEClass(noBufferEClass, NoBuffer.class, "NoBuffer", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getNoBuffer_Base_ObjectNode(), theUMLPackage.getObjectNode(), null, "base_ObjectNode", null, 0, 1, NoBuffer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(optionalEClass, Optional.class, "Optional", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getOptional_Base_Parameter(), theUMLPackage.getParameter(), null, "base_Parameter", null, 0, 1, Optional.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(overwriteEClass, Overwrite.class, "Overwrite", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getOverwrite_Base_ObjectNode(), theUMLPackage.getObjectNode(), null, "base_ObjectNode", null, 0, 1, Overwrite.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(probabilityEClass, Probability.class, "Probability", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getProbability_Base_ActivityEdge(), theUMLPackage.getActivityEdge(), null, "base_ActivityEdge", null, 0, 1, Probability.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getProbability_Base_ParameterSet(), theUMLPackage.getParameterSet(), null, "base_ParameterSet", null, 0, 1, Probability.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getProbability_Probability(), theUMLPackage.getValueSpecification(), null, "probability", null, 1, 1, Probability.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - // Create annotations - // http://www.eclipse.org/uml2/2.0.0/UML - createUMLAnnotations(); - } - - /** - * Initializes the annotations for <b>http://www.eclipse.org/uml2/2.0.0/UML</b>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void createUMLAnnotations() { - String source = "http://www.eclipse.org/uml2/2.0.0/UML"; //$NON-NLS-1$ - addAnnotation - (this, - source, - new String[] { - "originalName", "Activities" //$NON-NLS-1$ //$NON-NLS-2$ - }); - } - -} //ActivitiesPackageImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/ContinuousImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/ContinuousImpl.java deleted file mode 100644 index 0c49666..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/ContinuousImpl.java +++ /dev/null
@@ -1,47 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities.internal.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; -import org.eclipse.papyrus.sysml14.activities.Continuous; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Continuous</b></em>'. - * <!-- end-user-doc --> - * - * @generated - */ -public class ContinuousImpl extends RateImpl implements Continuous { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ContinuousImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ActivitiesPackage.Literals.CONTINUOUS; - } - -} //ContinuousImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/ControlOperatorImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/ControlOperatorImpl.java deleted file mode 100644 index 7a736ec..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/ControlOperatorImpl.java +++ /dev/null
@@ -1,229 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; -import org.eclipse.papyrus.sysml14.activities.ControlOperator; - -import org.eclipse.uml2.uml.Behavior; -import org.eclipse.uml2.uml.Operation; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Control Operator</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.activities.internal.impl.ControlOperatorImpl#getBase_Behavior <em>Base Behavior</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.activities.internal.impl.ControlOperatorImpl#getBase_Operation <em>Base Operation</em>}</li> - * </ul> - * - * @generated - */ -public class ControlOperatorImpl extends MinimalEObjectImpl.Container implements ControlOperator { - /** - * The cached value of the '{@link #getBase_Behavior() <em>Base Behavior</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Behavior() - * @generated - * @ordered - */ - protected Behavior base_Behavior; - - /** - * The cached value of the '{@link #getBase_Operation() <em>Base Operation</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Operation() - * @generated - * @ordered - */ - protected Operation base_Operation; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ControlOperatorImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ActivitiesPackage.Literals.CONTROL_OPERATOR; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Behavior getBase_Behavior() { - if (base_Behavior != null && base_Behavior.eIsProxy()) { - InternalEObject oldBase_Behavior = (InternalEObject)base_Behavior; - base_Behavior = (Behavior)eResolveProxy(oldBase_Behavior); - if (base_Behavior != oldBase_Behavior) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.CONTROL_OPERATOR__BASE_BEHAVIOR, oldBase_Behavior, base_Behavior)); - } - } - return base_Behavior; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Behavior basicGetBase_Behavior() { - return base_Behavior; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Behavior(Behavior newBase_Behavior) { - Behavior oldBase_Behavior = base_Behavior; - base_Behavior = newBase_Behavior; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.CONTROL_OPERATOR__BASE_BEHAVIOR, oldBase_Behavior, base_Behavior)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Operation getBase_Operation() { - if (base_Operation != null && base_Operation.eIsProxy()) { - InternalEObject oldBase_Operation = (InternalEObject)base_Operation; - base_Operation = (Operation)eResolveProxy(oldBase_Operation); - if (base_Operation != oldBase_Operation) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.CONTROL_OPERATOR__BASE_OPERATION, oldBase_Operation, base_Operation)); - } - } - return base_Operation; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Operation basicGetBase_Operation() { - return base_Operation; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Operation(Operation newBase_Operation) { - Operation oldBase_Operation = base_Operation; - base_Operation = newBase_Operation; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.CONTROL_OPERATOR__BASE_OPERATION, oldBase_Operation, base_Operation)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ActivitiesPackage.CONTROL_OPERATOR__BASE_BEHAVIOR: - if (resolve) return getBase_Behavior(); - return basicGetBase_Behavior(); - case ActivitiesPackage.CONTROL_OPERATOR__BASE_OPERATION: - if (resolve) return getBase_Operation(); - return basicGetBase_Operation(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ActivitiesPackage.CONTROL_OPERATOR__BASE_BEHAVIOR: - setBase_Behavior((Behavior)newValue); - return; - case ActivitiesPackage.CONTROL_OPERATOR__BASE_OPERATION: - setBase_Operation((Operation)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ActivitiesPackage.CONTROL_OPERATOR__BASE_BEHAVIOR: - setBase_Behavior((Behavior)null); - return; - case ActivitiesPackage.CONTROL_OPERATOR__BASE_OPERATION: - setBase_Operation((Operation)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ActivitiesPackage.CONTROL_OPERATOR__BASE_BEHAVIOR: - return base_Behavior != null; - case ActivitiesPackage.CONTROL_OPERATOR__BASE_OPERATION: - return base_Operation != null; - } - return super.eIsSet(featureID); - } - -} //ControlOperatorImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/DiscreteImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/DiscreteImpl.java deleted file mode 100644 index 7062939..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/DiscreteImpl.java +++ /dev/null
@@ -1,47 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities.internal.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; -import org.eclipse.papyrus.sysml14.activities.Discrete; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Discrete</b></em>'. - * <!-- end-user-doc --> - * - * @generated - */ -public class DiscreteImpl extends RateImpl implements Discrete { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected DiscreteImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ActivitiesPackage.Literals.DISCRETE; - } - -} //DiscreteImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/NoBufferImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/NoBufferImpl.java deleted file mode 100644 index d0e6c07..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/NoBufferImpl.java +++ /dev/null
@@ -1,168 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; -import org.eclipse.papyrus.sysml14.activities.NoBuffer; - -import org.eclipse.uml2.uml.ObjectNode; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>No Buffer</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.activities.internal.impl.NoBufferImpl#getBase_ObjectNode <em>Base Object Node</em>}</li> - * </ul> - * - * @generated - */ -public class NoBufferImpl extends MinimalEObjectImpl.Container implements NoBuffer { - /** - * The cached value of the '{@link #getBase_ObjectNode() <em>Base Object Node</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_ObjectNode() - * @generated - * @ordered - */ - protected ObjectNode base_ObjectNode; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected NoBufferImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ActivitiesPackage.Literals.NO_BUFFER; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ObjectNode getBase_ObjectNode() { - if (base_ObjectNode != null && base_ObjectNode.eIsProxy()) { - InternalEObject oldBase_ObjectNode = (InternalEObject)base_ObjectNode; - base_ObjectNode = (ObjectNode)eResolveProxy(oldBase_ObjectNode); - if (base_ObjectNode != oldBase_ObjectNode) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.NO_BUFFER__BASE_OBJECT_NODE, oldBase_ObjectNode, base_ObjectNode)); - } - } - return base_ObjectNode; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ObjectNode basicGetBase_ObjectNode() { - return base_ObjectNode; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_ObjectNode(ObjectNode newBase_ObjectNode) { - ObjectNode oldBase_ObjectNode = base_ObjectNode; - base_ObjectNode = newBase_ObjectNode; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.NO_BUFFER__BASE_OBJECT_NODE, oldBase_ObjectNode, base_ObjectNode)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ActivitiesPackage.NO_BUFFER__BASE_OBJECT_NODE: - if (resolve) return getBase_ObjectNode(); - return basicGetBase_ObjectNode(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ActivitiesPackage.NO_BUFFER__BASE_OBJECT_NODE: - setBase_ObjectNode((ObjectNode)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ActivitiesPackage.NO_BUFFER__BASE_OBJECT_NODE: - setBase_ObjectNode((ObjectNode)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ActivitiesPackage.NO_BUFFER__BASE_OBJECT_NODE: - return base_ObjectNode != null; - } - return super.eIsSet(featureID); - } - -} //NoBufferImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/OptionalImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/OptionalImpl.java deleted file mode 100644 index 99ceaf8..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/OptionalImpl.java +++ /dev/null
@@ -1,168 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; -import org.eclipse.papyrus.sysml14.activities.Optional; - -import org.eclipse.uml2.uml.Parameter; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Optional</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.activities.internal.impl.OptionalImpl#getBase_Parameter <em>Base Parameter</em>}</li> - * </ul> - * - * @generated - */ -public class OptionalImpl extends MinimalEObjectImpl.Container implements Optional { - /** - * The cached value of the '{@link #getBase_Parameter() <em>Base Parameter</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Parameter() - * @generated - * @ordered - */ - protected Parameter base_Parameter; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected OptionalImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ActivitiesPackage.Literals.OPTIONAL; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Parameter getBase_Parameter() { - if (base_Parameter != null && base_Parameter.eIsProxy()) { - InternalEObject oldBase_Parameter = (InternalEObject)base_Parameter; - base_Parameter = (Parameter)eResolveProxy(oldBase_Parameter); - if (base_Parameter != oldBase_Parameter) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.OPTIONAL__BASE_PARAMETER, oldBase_Parameter, base_Parameter)); - } - } - return base_Parameter; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Parameter basicGetBase_Parameter() { - return base_Parameter; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Parameter(Parameter newBase_Parameter) { - Parameter oldBase_Parameter = base_Parameter; - base_Parameter = newBase_Parameter; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.OPTIONAL__BASE_PARAMETER, oldBase_Parameter, base_Parameter)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ActivitiesPackage.OPTIONAL__BASE_PARAMETER: - if (resolve) return getBase_Parameter(); - return basicGetBase_Parameter(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ActivitiesPackage.OPTIONAL__BASE_PARAMETER: - setBase_Parameter((Parameter)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ActivitiesPackage.OPTIONAL__BASE_PARAMETER: - setBase_Parameter((Parameter)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ActivitiesPackage.OPTIONAL__BASE_PARAMETER: - return base_Parameter != null; - } - return super.eIsSet(featureID); - } - -} //OptionalImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/OverwriteImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/OverwriteImpl.java deleted file mode 100644 index 75898ee..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/OverwriteImpl.java +++ /dev/null
@@ -1,168 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; -import org.eclipse.papyrus.sysml14.activities.Overwrite; - -import org.eclipse.uml2.uml.ObjectNode; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Overwrite</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.activities.internal.impl.OverwriteImpl#getBase_ObjectNode <em>Base Object Node</em>}</li> - * </ul> - * - * @generated - */ -public class OverwriteImpl extends MinimalEObjectImpl.Container implements Overwrite { - /** - * The cached value of the '{@link #getBase_ObjectNode() <em>Base Object Node</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_ObjectNode() - * @generated - * @ordered - */ - protected ObjectNode base_ObjectNode; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected OverwriteImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ActivitiesPackage.Literals.OVERWRITE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ObjectNode getBase_ObjectNode() { - if (base_ObjectNode != null && base_ObjectNode.eIsProxy()) { - InternalEObject oldBase_ObjectNode = (InternalEObject)base_ObjectNode; - base_ObjectNode = (ObjectNode)eResolveProxy(oldBase_ObjectNode); - if (base_ObjectNode != oldBase_ObjectNode) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.OVERWRITE__BASE_OBJECT_NODE, oldBase_ObjectNode, base_ObjectNode)); - } - } - return base_ObjectNode; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ObjectNode basicGetBase_ObjectNode() { - return base_ObjectNode; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_ObjectNode(ObjectNode newBase_ObjectNode) { - ObjectNode oldBase_ObjectNode = base_ObjectNode; - base_ObjectNode = newBase_ObjectNode; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.OVERWRITE__BASE_OBJECT_NODE, oldBase_ObjectNode, base_ObjectNode)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ActivitiesPackage.OVERWRITE__BASE_OBJECT_NODE: - if (resolve) return getBase_ObjectNode(); - return basicGetBase_ObjectNode(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ActivitiesPackage.OVERWRITE__BASE_OBJECT_NODE: - setBase_ObjectNode((ObjectNode)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ActivitiesPackage.OVERWRITE__BASE_OBJECT_NODE: - setBase_ObjectNode((ObjectNode)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ActivitiesPackage.OVERWRITE__BASE_OBJECT_NODE: - return base_ObjectNode != null; - } - return super.eIsSet(featureID); - } - -} //OverwriteImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/ProbabilityImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/ProbabilityImpl.java deleted file mode 100644 index 2d11a4b..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/ProbabilityImpl.java +++ /dev/null
@@ -1,290 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; -import org.eclipse.papyrus.sysml14.activities.Probability; - -import org.eclipse.uml2.uml.ActivityEdge; -import org.eclipse.uml2.uml.ParameterSet; -import org.eclipse.uml2.uml.ValueSpecification; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Probability</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.activities.internal.impl.ProbabilityImpl#getBase_ActivityEdge <em>Base Activity Edge</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.activities.internal.impl.ProbabilityImpl#getBase_ParameterSet <em>Base Parameter Set</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.activities.internal.impl.ProbabilityImpl#getProbability <em>Probability</em>}</li> - * </ul> - * - * @generated - */ -public class ProbabilityImpl extends MinimalEObjectImpl.Container implements Probability { - /** - * The cached value of the '{@link #getBase_ActivityEdge() <em>Base Activity Edge</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_ActivityEdge() - * @generated - * @ordered - */ - protected ActivityEdge base_ActivityEdge; - - /** - * The cached value of the '{@link #getBase_ParameterSet() <em>Base Parameter Set</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_ParameterSet() - * @generated - * @ordered - */ - protected ParameterSet base_ParameterSet; - - /** - * The cached value of the '{@link #getProbability() <em>Probability</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getProbability() - * @generated - * @ordered - */ - protected ValueSpecification probability; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ProbabilityImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ActivitiesPackage.Literals.PROBABILITY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ActivityEdge getBase_ActivityEdge() { - if (base_ActivityEdge != null && base_ActivityEdge.eIsProxy()) { - InternalEObject oldBase_ActivityEdge = (InternalEObject)base_ActivityEdge; - base_ActivityEdge = (ActivityEdge)eResolveProxy(oldBase_ActivityEdge); - if (base_ActivityEdge != oldBase_ActivityEdge) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.PROBABILITY__BASE_ACTIVITY_EDGE, oldBase_ActivityEdge, base_ActivityEdge)); - } - } - return base_ActivityEdge; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ActivityEdge basicGetBase_ActivityEdge() { - return base_ActivityEdge; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_ActivityEdge(ActivityEdge newBase_ActivityEdge) { - ActivityEdge oldBase_ActivityEdge = base_ActivityEdge; - base_ActivityEdge = newBase_ActivityEdge; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.PROBABILITY__BASE_ACTIVITY_EDGE, oldBase_ActivityEdge, base_ActivityEdge)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ParameterSet getBase_ParameterSet() { - if (base_ParameterSet != null && base_ParameterSet.eIsProxy()) { - InternalEObject oldBase_ParameterSet = (InternalEObject)base_ParameterSet; - base_ParameterSet = (ParameterSet)eResolveProxy(oldBase_ParameterSet); - if (base_ParameterSet != oldBase_ParameterSet) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.PROBABILITY__BASE_PARAMETER_SET, oldBase_ParameterSet, base_ParameterSet)); - } - } - return base_ParameterSet; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ParameterSet basicGetBase_ParameterSet() { - return base_ParameterSet; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_ParameterSet(ParameterSet newBase_ParameterSet) { - ParameterSet oldBase_ParameterSet = base_ParameterSet; - base_ParameterSet = newBase_ParameterSet; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.PROBABILITY__BASE_PARAMETER_SET, oldBase_ParameterSet, base_ParameterSet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ValueSpecification getProbability() { - if (probability != null && probability.eIsProxy()) { - InternalEObject oldProbability = (InternalEObject)probability; - probability = (ValueSpecification)eResolveProxy(oldProbability); - if (probability != oldProbability) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.PROBABILITY__PROBABILITY, oldProbability, probability)); - } - } - return probability; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ValueSpecification basicGetProbability() { - return probability; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setProbability(ValueSpecification newProbability) { - ValueSpecification oldProbability = probability; - probability = newProbability; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.PROBABILITY__PROBABILITY, oldProbability, probability)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ActivitiesPackage.PROBABILITY__BASE_ACTIVITY_EDGE: - if (resolve) return getBase_ActivityEdge(); - return basicGetBase_ActivityEdge(); - case ActivitiesPackage.PROBABILITY__BASE_PARAMETER_SET: - if (resolve) return getBase_ParameterSet(); - return basicGetBase_ParameterSet(); - case ActivitiesPackage.PROBABILITY__PROBABILITY: - if (resolve) return getProbability(); - return basicGetProbability(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ActivitiesPackage.PROBABILITY__BASE_ACTIVITY_EDGE: - setBase_ActivityEdge((ActivityEdge)newValue); - return; - case ActivitiesPackage.PROBABILITY__BASE_PARAMETER_SET: - setBase_ParameterSet((ParameterSet)newValue); - return; - case ActivitiesPackage.PROBABILITY__PROBABILITY: - setProbability((ValueSpecification)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ActivitiesPackage.PROBABILITY__BASE_ACTIVITY_EDGE: - setBase_ActivityEdge((ActivityEdge)null); - return; - case ActivitiesPackage.PROBABILITY__BASE_PARAMETER_SET: - setBase_ParameterSet((ParameterSet)null); - return; - case ActivitiesPackage.PROBABILITY__PROBABILITY: - setProbability((ValueSpecification)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ActivitiesPackage.PROBABILITY__BASE_ACTIVITY_EDGE: - return base_ActivityEdge != null; - case ActivitiesPackage.PROBABILITY__BASE_PARAMETER_SET: - return base_ParameterSet != null; - case ActivitiesPackage.PROBABILITY__PROBABILITY: - return probability != null; - } - return super.eIsSet(featureID); - } - -} //ProbabilityImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/RateImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/RateImpl.java deleted file mode 100644 index 0483ae5..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/internal/impl/RateImpl.java +++ /dev/null
@@ -1,351 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; -import org.eclipse.papyrus.sysml14.activities.Rate; - -import org.eclipse.uml2.uml.ActivityEdge; -import org.eclipse.uml2.uml.InstanceSpecification; -import org.eclipse.uml2.uml.ObjectNode; -import org.eclipse.uml2.uml.Parameter; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Rate</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.activities.internal.impl.RateImpl#getBase_ActivityEdge <em>Base Activity Edge</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.activities.internal.impl.RateImpl#getBase_ObjectNode <em>Base Object Node</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.activities.internal.impl.RateImpl#getBase_Parameter <em>Base Parameter</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.activities.internal.impl.RateImpl#getRate <em>Rate</em>}</li> - * </ul> - * - * @generated - */ -public class RateImpl extends MinimalEObjectImpl.Container implements Rate { - /** - * The cached value of the '{@link #getBase_ActivityEdge() <em>Base Activity Edge</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_ActivityEdge() - * @generated - * @ordered - */ - protected ActivityEdge base_ActivityEdge; - - /** - * The cached value of the '{@link #getBase_ObjectNode() <em>Base Object Node</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_ObjectNode() - * @generated - * @ordered - */ - protected ObjectNode base_ObjectNode; - - /** - * The cached value of the '{@link #getBase_Parameter() <em>Base Parameter</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Parameter() - * @generated - * @ordered - */ - protected Parameter base_Parameter; - - /** - * The cached value of the '{@link #getRate() <em>Rate</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRate() - * @generated - * @ordered - */ - protected InstanceSpecification rate; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected RateImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ActivitiesPackage.Literals.RATE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ActivityEdge getBase_ActivityEdge() { - if (base_ActivityEdge != null && base_ActivityEdge.eIsProxy()) { - InternalEObject oldBase_ActivityEdge = (InternalEObject)base_ActivityEdge; - base_ActivityEdge = (ActivityEdge)eResolveProxy(oldBase_ActivityEdge); - if (base_ActivityEdge != oldBase_ActivityEdge) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.RATE__BASE_ACTIVITY_EDGE, oldBase_ActivityEdge, base_ActivityEdge)); - } - } - return base_ActivityEdge; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ActivityEdge basicGetBase_ActivityEdge() { - return base_ActivityEdge; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_ActivityEdge(ActivityEdge newBase_ActivityEdge) { - ActivityEdge oldBase_ActivityEdge = base_ActivityEdge; - base_ActivityEdge = newBase_ActivityEdge; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.RATE__BASE_ACTIVITY_EDGE, oldBase_ActivityEdge, base_ActivityEdge)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ObjectNode getBase_ObjectNode() { - if (base_ObjectNode != null && base_ObjectNode.eIsProxy()) { - InternalEObject oldBase_ObjectNode = (InternalEObject)base_ObjectNode; - base_ObjectNode = (ObjectNode)eResolveProxy(oldBase_ObjectNode); - if (base_ObjectNode != oldBase_ObjectNode) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.RATE__BASE_OBJECT_NODE, oldBase_ObjectNode, base_ObjectNode)); - } - } - return base_ObjectNode; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ObjectNode basicGetBase_ObjectNode() { - return base_ObjectNode; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_ObjectNode(ObjectNode newBase_ObjectNode) { - ObjectNode oldBase_ObjectNode = base_ObjectNode; - base_ObjectNode = newBase_ObjectNode; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.RATE__BASE_OBJECT_NODE, oldBase_ObjectNode, base_ObjectNode)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Parameter getBase_Parameter() { - if (base_Parameter != null && base_Parameter.eIsProxy()) { - InternalEObject oldBase_Parameter = (InternalEObject)base_Parameter; - base_Parameter = (Parameter)eResolveProxy(oldBase_Parameter); - if (base_Parameter != oldBase_Parameter) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.RATE__BASE_PARAMETER, oldBase_Parameter, base_Parameter)); - } - } - return base_Parameter; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Parameter basicGetBase_Parameter() { - return base_Parameter; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Parameter(Parameter newBase_Parameter) { - Parameter oldBase_Parameter = base_Parameter; - base_Parameter = newBase_Parameter; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.RATE__BASE_PARAMETER, oldBase_Parameter, base_Parameter)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public InstanceSpecification getRate() { - if (rate != null && rate.eIsProxy()) { - InternalEObject oldRate = (InternalEObject)rate; - rate = (InstanceSpecification)eResolveProxy(oldRate); - if (rate != oldRate) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivitiesPackage.RATE__RATE, oldRate, rate)); - } - } - return rate; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public InstanceSpecification basicGetRate() { - return rate; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRate(InstanceSpecification newRate) { - InstanceSpecification oldRate = rate; - rate = newRate; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ActivitiesPackage.RATE__RATE, oldRate, rate)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ActivitiesPackage.RATE__BASE_ACTIVITY_EDGE: - if (resolve) return getBase_ActivityEdge(); - return basicGetBase_ActivityEdge(); - case ActivitiesPackage.RATE__BASE_OBJECT_NODE: - if (resolve) return getBase_ObjectNode(); - return basicGetBase_ObjectNode(); - case ActivitiesPackage.RATE__BASE_PARAMETER: - if (resolve) return getBase_Parameter(); - return basicGetBase_Parameter(); - case ActivitiesPackage.RATE__RATE: - if (resolve) return getRate(); - return basicGetRate(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ActivitiesPackage.RATE__BASE_ACTIVITY_EDGE: - setBase_ActivityEdge((ActivityEdge)newValue); - return; - case ActivitiesPackage.RATE__BASE_OBJECT_NODE: - setBase_ObjectNode((ObjectNode)newValue); - return; - case ActivitiesPackage.RATE__BASE_PARAMETER: - setBase_Parameter((Parameter)newValue); - return; - case ActivitiesPackage.RATE__RATE: - setRate((InstanceSpecification)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ActivitiesPackage.RATE__BASE_ACTIVITY_EDGE: - setBase_ActivityEdge((ActivityEdge)null); - return; - case ActivitiesPackage.RATE__BASE_OBJECT_NODE: - setBase_ObjectNode((ObjectNode)null); - return; - case ActivitiesPackage.RATE__BASE_PARAMETER: - setBase_Parameter((Parameter)null); - return; - case ActivitiesPackage.RATE__RATE: - setRate((InstanceSpecification)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ActivitiesPackage.RATE__BASE_ACTIVITY_EDGE: - return base_ActivityEdge != null; - case ActivitiesPackage.RATE__BASE_OBJECT_NODE: - return base_ObjectNode != null; - case ActivitiesPackage.RATE__BASE_PARAMETER: - return base_Parameter != null; - case ActivitiesPackage.RATE__RATE: - return rate != null; - } - return super.eIsSet(featureID); - } - -} //RateImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/util/ActivitiesAdapterFactory.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/util/ActivitiesAdapterFactory.java deleted file mode 100644 index 6755ed5..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/util/ActivitiesAdapterFactory.java +++ /dev/null
@@ -1,256 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.papyrus.sysml14.activities.*; - -/** - * <!-- begin-user-doc --> - * The <b>Adapter Factory</b> for the model. - * It provides an adapter <code>createXXX</code> method for each class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.activities.ActivitiesPackage - * @generated - */ -public class ActivitiesAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static ActivitiesPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ActivitiesAdapterFactory() { - if (modelPackage == null) { - modelPackage = ActivitiesPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * <!-- begin-user-doc --> - * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. - * <!-- end-user-doc --> - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ActivitiesSwitch<Adapter> modelSwitch = - new ActivitiesSwitch<Adapter>() { - @Override - public Adapter caseContinuous(Continuous object) { - return createContinuousAdapter(); - } - @Override - public Adapter caseRate(Rate object) { - return createRateAdapter(); - } - @Override - public Adapter caseControlOperator(ControlOperator object) { - return createControlOperatorAdapter(); - } - @Override - public Adapter caseDiscrete(Discrete object) { - return createDiscreteAdapter(); - } - @Override - public Adapter caseNoBuffer(NoBuffer object) { - return createNoBufferAdapter(); - } - @Override - public Adapter caseOptional(Optional object) { - return createOptionalAdapter(); - } - @Override - public Adapter caseOverwrite(Overwrite object) { - return createOverwriteAdapter(); - } - @Override - public Adapter caseProbability(Probability object) { - return createProbabilityAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the <code>target</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param target the object to adapt. - * @return the adapter for the <code>target</code>. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.activities.Continuous <em>Continuous</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.activities.Continuous - * @generated - */ - public Adapter createContinuousAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.activities.Rate <em>Rate</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.activities.Rate - * @generated - */ - public Adapter createRateAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.activities.ControlOperator <em>Control Operator</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.activities.ControlOperator - * @generated - */ - public Adapter createControlOperatorAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.activities.Discrete <em>Discrete</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.activities.Discrete - * @generated - */ - public Adapter createDiscreteAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.activities.NoBuffer <em>No Buffer</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.activities.NoBuffer - * @generated - */ - public Adapter createNoBufferAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.activities.Optional <em>Optional</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.activities.Optional - * @generated - */ - public Adapter createOptionalAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.activities.Overwrite <em>Overwrite</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.activities.Overwrite - * @generated - */ - public Adapter createOverwriteAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.activities.Probability <em>Probability</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.activities.Probability - * @generated - */ - public Adapter createProbabilityAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * <!-- begin-user-doc --> - * This default implementation returns null. - * <!-- end-user-doc --> - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //ActivitiesAdapterFactory
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/util/ActivitiesSwitch.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/util/ActivitiesSwitch.java deleted file mode 100644 index 022a6dd..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/activities/util/ActivitiesSwitch.java +++ /dev/null
@@ -1,269 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.activities.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -import org.eclipse.papyrus.sysml14.activities.*; - -/** - * <!-- begin-user-doc --> - * The <b>Switch</b> for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the <code>caseXXX</code> method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.activities.ActivitiesPackage - * @generated - */ -public class ActivitiesSwitch<T> extends Switch<T> { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static ActivitiesPackage modelPackage; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ActivitiesSwitch() { - if (modelPackage == null) { - modelPackage = ActivitiesPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case ActivitiesPackage.CONTINUOUS: { - Continuous continuous = (Continuous)theEObject; - T result = caseContinuous(continuous); - if (result == null) result = caseRate(continuous); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ActivitiesPackage.RATE: { - Rate rate = (Rate)theEObject; - T result = caseRate(rate); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ActivitiesPackage.CONTROL_OPERATOR: { - ControlOperator controlOperator = (ControlOperator)theEObject; - T result = caseControlOperator(controlOperator); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ActivitiesPackage.DISCRETE: { - Discrete discrete = (Discrete)theEObject; - T result = caseDiscrete(discrete); - if (result == null) result = caseRate(discrete); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ActivitiesPackage.NO_BUFFER: { - NoBuffer noBuffer = (NoBuffer)theEObject; - T result = caseNoBuffer(noBuffer); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ActivitiesPackage.OPTIONAL: { - Optional optional = (Optional)theEObject; - T result = caseOptional(optional); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ActivitiesPackage.OVERWRITE: { - Overwrite overwrite = (Overwrite)theEObject; - T result = caseOverwrite(overwrite); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ActivitiesPackage.PROBABILITY: { - Probability probability = (Probability)theEObject; - T result = caseProbability(probability); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Continuous</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Continuous</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseContinuous(Continuous object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Rate</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Rate</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRate(Rate object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Control Operator</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Control Operator</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseControlOperator(ControlOperator object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Discrete</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Discrete</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDiscrete(Discrete object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>No Buffer</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>No Buffer</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseNoBuffer(NoBuffer object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Optional</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Optional</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseOptional(Optional object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Overwrite</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Overwrite</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseOverwrite(Overwrite object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Probability</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Probability</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseProbability(Probability object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>EObject</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} //ActivitiesSwitch
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/Allocate.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/Allocate.java deleted file mode 100644 index 6f2e6aa..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/Allocate.java +++ /dev/null
@@ -1,87 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.allocations; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath; - -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.NamedElement; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Allocate</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * Allocate is a dependency based on UML::abstraction. It is a mechanism for associating elements of different types, or in different hierarchies, at an abstract level. Allocate is used for assessing user model consistency and directing future design activity. It is expected that an «allocate» relationship between model elements is a precursor to a more concrete relationship between the elements, their properties, operations, attributes, or sub-classes. - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.allocations.Allocate#getBase_Abstraction <em>Base Abstraction</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.allocations.AllocationsPackage#getAllocate() - * @model - * @generated - */ -public interface Allocate extends DirectedRelationshipPropertyPath { - /** - * Returns the value of the '<em><b>Base Abstraction</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Abstraction</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Abstraction</em>' reference. - * @see #setBase_Abstraction(Abstraction) - * @see org.eclipse.papyrus.sysml14.allocations.AllocationsPackage#getAllocate_Base_Abstraction() - * @model ordered="false" - * @generated - */ - Abstraction getBase_Abstraction(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.allocations.Allocate#getBase_Abstraction <em>Base Abstraction</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Abstraction</em>' reference. - * @see #getBase_Abstraction() - * @generated - */ - void setBase_Abstraction(Abstraction value); - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @model refRequired="true" refOrdered="false" resultMany="true" resultOrdered="false" - * @generated - */ - void getAllocatedFrom(NamedElement ref, EList<NamedElement> result); - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @model refRequired="true" refOrdered="false" resultMany="true" resultOrdered="false" - * @generated - */ - void getAllocatedTo(NamedElement ref, EList<NamedElement> result); - -} // Allocate
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/AllocateActivityPartition.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/AllocateActivityPartition.java deleted file mode 100644 index 2029190..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/AllocateActivityPartition.java +++ /dev/null
@@ -1,66 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.allocations; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.ActivityPartition; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Allocate Activity Partition</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * AllocateActivityPartition is used to depict an «allocate» relationship on an Activity diagram. The AllocateActivityPartition is a standard UML2::ActivityPartition, with modified constraints as stated in the paragraph below. - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.allocations.AllocateActivityPartition#getBase_ActivityPartition <em>Base Activity Partition</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.allocations.AllocationsPackage#getAllocateActivityPartition() - * @model - * @generated - */ -public interface AllocateActivityPartition extends EObject { - /** - * Returns the value of the '<em><b>Base Activity Partition</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Activity Partition</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Activity Partition</em>' reference. - * @see #setBase_ActivityPartition(ActivityPartition) - * @see org.eclipse.papyrus.sysml14.allocations.AllocationsPackage#getAllocateActivityPartition_Base_ActivityPartition() - * @model ordered="false" - * @generated - */ - ActivityPartition getBase_ActivityPartition(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.allocations.AllocateActivityPartition#getBase_ActivityPartition <em>Base Activity Partition</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Activity Partition</em>' reference. - * @see #getBase_ActivityPartition() - * @generated - */ - void setBase_ActivityPartition(ActivityPartition value); - -} // AllocateActivityPartition
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/AllocationsFactory.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/AllocationsFactory.java deleted file mode 100644 index b120449..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/AllocationsFactory.java +++ /dev/null
@@ -1,61 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.allocations; - -import org.eclipse.emf.ecore.EFactory; - -/** - * <!-- begin-user-doc --> - * The <b>Factory</b> for the model. - * It provides a create method for each non-abstract class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.allocations.AllocationsPackage - * @generated - */ -public interface AllocationsFactory extends EFactory { - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - AllocationsFactory eINSTANCE = org.eclipse.papyrus.sysml14.allocations.internal.impl.AllocationsFactoryImpl.init(); - - /** - * Returns a new object of class '<em>Allocate</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Allocate</em>'. - * @generated - */ - Allocate createAllocate(); - - /** - * Returns a new object of class '<em>Allocate Activity Partition</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Allocate Activity Partition</em>'. - * @generated - */ - AllocateActivityPartition createAllocateActivityPartition(); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - AllocationsPackage getAllocationsPackage(); - -} //AllocationsFactory
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/AllocationsPackage.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/AllocationsPackage.java deleted file mode 100644 index 7d42eb3..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/AllocationsPackage.java +++ /dev/null
@@ -1,349 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.allocations; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EOperation; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; - -/** - * <!-- begin-user-doc --> - * The <b>Package</b> for the model. - * It contains accessors for the meta objects to represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.allocations.AllocationsFactory - * @model kind="package" - * annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='Allocations'" - * @generated - */ -public interface AllocationsPackage extends EPackage { - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "allocations"; //$NON-NLS-1$ - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "http://www.eclipse.org/papyrus/sysml/1.4/SysML/Allocations"; //$NON-NLS-1$ - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "Allocations"; //$NON-NLS-1$ - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - AllocationsPackage eINSTANCE = org.eclipse.papyrus.sysml14.allocations.internal.impl.AllocationsPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.allocations.internal.impl.AllocateImpl <em>Allocate</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.allocations.internal.impl.AllocateImpl - * @see org.eclipse.papyrus.sysml14.allocations.internal.impl.AllocationsPackageImpl#getAllocate() - * @generated - */ - int ALLOCATE = 0; - - /** - * The feature id for the '<em><b>Base Directed Relationship</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ALLOCATE__BASE_DIRECTED_RELATIONSHIP = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__BASE_DIRECTED_RELATIONSHIP; - - /** - * The feature id for the '<em><b>Source Context</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ALLOCATE__SOURCE_CONTEXT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_CONTEXT; - - /** - * The feature id for the '<em><b>Source Property Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ALLOCATE__SOURCE_PROPERTY_PATH = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_PROPERTY_PATH; - - /** - * The feature id for the '<em><b>Target Context</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ALLOCATE__TARGET_CONTEXT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_CONTEXT; - - /** - * The feature id for the '<em><b>Target Property Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ALLOCATE__TARGET_PROPERTY_PATH = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_PROPERTY_PATH; - - /** - * The feature id for the '<em><b>Base Abstraction</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ALLOCATE__BASE_ABSTRACTION = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH_FEATURE_COUNT + 0; - - /** - * The number of structural features of the '<em>Allocate</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ALLOCATE_FEATURE_COUNT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH_FEATURE_COUNT + 1; - - /** - * The operation id for the '<em>Get Allocated From</em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ALLOCATE___GET_ALLOCATED_FROM__NAMEDELEMENT_ELIST = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH_OPERATION_COUNT + 0; - - /** - * The operation id for the '<em>Get Allocated To</em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ALLOCATE___GET_ALLOCATED_TO__NAMEDELEMENT_ELIST = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH_OPERATION_COUNT + 1; - - /** - * The number of operations of the '<em>Allocate</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ALLOCATE_OPERATION_COUNT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH_OPERATION_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.allocations.internal.impl.AllocateActivityPartitionImpl <em>Allocate Activity Partition</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.allocations.internal.impl.AllocateActivityPartitionImpl - * @see org.eclipse.papyrus.sysml14.allocations.internal.impl.AllocationsPackageImpl#getAllocateActivityPartition() - * @generated - */ - int ALLOCATE_ACTIVITY_PARTITION = 1; - - /** - * The feature id for the '<em><b>Base Activity Partition</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ALLOCATE_ACTIVITY_PARTITION__BASE_ACTIVITY_PARTITION = 0; - - /** - * The number of structural features of the '<em>Allocate Activity Partition</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ALLOCATE_ACTIVITY_PARTITION_FEATURE_COUNT = 1; - - /** - * The number of operations of the '<em>Allocate Activity Partition</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ALLOCATE_ACTIVITY_PARTITION_OPERATION_COUNT = 0; - - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.allocations.Allocate <em>Allocate</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Allocate</em>'. - * @see org.eclipse.papyrus.sysml14.allocations.Allocate - * @generated - */ - EClass getAllocate(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.allocations.Allocate#getBase_Abstraction <em>Base Abstraction</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Abstraction</em>'. - * @see org.eclipse.papyrus.sysml14.allocations.Allocate#getBase_Abstraction() - * @see #getAllocate() - * @generated - */ - EReference getAllocate_Base_Abstraction(); - - /** - * Returns the meta object for the '{@link org.eclipse.papyrus.sysml14.allocations.Allocate#getAllocatedFrom(org.eclipse.uml2.uml.NamedElement, org.eclipse.emf.common.util.EList) <em>Get Allocated From</em>}' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the '<em>Get Allocated From</em>' operation. - * @see org.eclipse.papyrus.sysml14.allocations.Allocate#getAllocatedFrom(org.eclipse.uml2.uml.NamedElement, org.eclipse.emf.common.util.EList) - * @generated - */ - EOperation getAllocate__GetAllocatedFrom__NamedElement_EList(); - - /** - * Returns the meta object for the '{@link org.eclipse.papyrus.sysml14.allocations.Allocate#getAllocatedTo(org.eclipse.uml2.uml.NamedElement, org.eclipse.emf.common.util.EList) <em>Get Allocated To</em>}' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the '<em>Get Allocated To</em>' operation. - * @see org.eclipse.papyrus.sysml14.allocations.Allocate#getAllocatedTo(org.eclipse.uml2.uml.NamedElement, org.eclipse.emf.common.util.EList) - * @generated - */ - EOperation getAllocate__GetAllocatedTo__NamedElement_EList(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.allocations.AllocateActivityPartition <em>Allocate Activity Partition</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Allocate Activity Partition</em>'. - * @see org.eclipse.papyrus.sysml14.allocations.AllocateActivityPartition - * @generated - */ - EClass getAllocateActivityPartition(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.allocations.AllocateActivityPartition#getBase_ActivityPartition <em>Base Activity Partition</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Activity Partition</em>'. - * @see org.eclipse.papyrus.sysml14.allocations.AllocateActivityPartition#getBase_ActivityPartition() - * @see #getAllocateActivityPartition() - * @generated - */ - EReference getAllocateActivityPartition_Base_ActivityPartition(); - - /** - * Returns the factory that creates the instances of the model. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the factory that creates the instances of the model. - * @generated - */ - AllocationsFactory getAllocationsFactory(); - - /** - * <!-- begin-user-doc --> - * Defines literals for the meta objects that represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.allocations.internal.impl.AllocateImpl <em>Allocate</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.allocations.internal.impl.AllocateImpl - * @see org.eclipse.papyrus.sysml14.allocations.internal.impl.AllocationsPackageImpl#getAllocate() - * @generated - */ - EClass ALLOCATE = eINSTANCE.getAllocate(); - - /** - * The meta object literal for the '<em><b>Base Abstraction</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ALLOCATE__BASE_ABSTRACTION = eINSTANCE.getAllocate_Base_Abstraction(); - - /** - * The meta object literal for the '<em><b>Get Allocated From</b></em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EOperation ALLOCATE___GET_ALLOCATED_FROM__NAMEDELEMENT_ELIST = eINSTANCE.getAllocate__GetAllocatedFrom__NamedElement_EList(); - - /** - * The meta object literal for the '<em><b>Get Allocated To</b></em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EOperation ALLOCATE___GET_ALLOCATED_TO__NAMEDELEMENT_ELIST = eINSTANCE.getAllocate__GetAllocatedTo__NamedElement_EList(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.allocations.internal.impl.AllocateActivityPartitionImpl <em>Allocate Activity Partition</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.allocations.internal.impl.AllocateActivityPartitionImpl - * @see org.eclipse.papyrus.sysml14.allocations.internal.impl.AllocationsPackageImpl#getAllocateActivityPartition() - * @generated - */ - EClass ALLOCATE_ACTIVITY_PARTITION = eINSTANCE.getAllocateActivityPartition(); - - /** - * The meta object literal for the '<em><b>Base Activity Partition</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ALLOCATE_ACTIVITY_PARTITION__BASE_ACTIVITY_PARTITION = eINSTANCE.getAllocateActivityPartition_Base_ActivityPartition(); - - } - -} //AllocationsPackage
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/internal/impl/AllocateActivityPartitionImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/internal/impl/AllocateActivityPartitionImpl.java deleted file mode 100644 index 9fe78f7..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/internal/impl/AllocateActivityPartitionImpl.java +++ /dev/null
@@ -1,168 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.allocations.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.allocations.AllocateActivityPartition; -import org.eclipse.papyrus.sysml14.allocations.AllocationsPackage; - -import org.eclipse.uml2.uml.ActivityPartition; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Allocate Activity Partition</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.allocations.internal.impl.AllocateActivityPartitionImpl#getBase_ActivityPartition <em>Base Activity Partition</em>}</li> - * </ul> - * - * @generated - */ -public class AllocateActivityPartitionImpl extends MinimalEObjectImpl.Container implements AllocateActivityPartition { - /** - * The cached value of the '{@link #getBase_ActivityPartition() <em>Base Activity Partition</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_ActivityPartition() - * @generated - * @ordered - */ - protected ActivityPartition base_ActivityPartition; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected AllocateActivityPartitionImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return AllocationsPackage.Literals.ALLOCATE_ACTIVITY_PARTITION; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ActivityPartition getBase_ActivityPartition() { - if (base_ActivityPartition != null && base_ActivityPartition.eIsProxy()) { - InternalEObject oldBase_ActivityPartition = (InternalEObject)base_ActivityPartition; - base_ActivityPartition = (ActivityPartition)eResolveProxy(oldBase_ActivityPartition); - if (base_ActivityPartition != oldBase_ActivityPartition) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, AllocationsPackage.ALLOCATE_ACTIVITY_PARTITION__BASE_ACTIVITY_PARTITION, oldBase_ActivityPartition, base_ActivityPartition)); - } - } - return base_ActivityPartition; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ActivityPartition basicGetBase_ActivityPartition() { - return base_ActivityPartition; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_ActivityPartition(ActivityPartition newBase_ActivityPartition) { - ActivityPartition oldBase_ActivityPartition = base_ActivityPartition; - base_ActivityPartition = newBase_ActivityPartition; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, AllocationsPackage.ALLOCATE_ACTIVITY_PARTITION__BASE_ACTIVITY_PARTITION, oldBase_ActivityPartition, base_ActivityPartition)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case AllocationsPackage.ALLOCATE_ACTIVITY_PARTITION__BASE_ACTIVITY_PARTITION: - if (resolve) return getBase_ActivityPartition(); - return basicGetBase_ActivityPartition(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case AllocationsPackage.ALLOCATE_ACTIVITY_PARTITION__BASE_ACTIVITY_PARTITION: - setBase_ActivityPartition((ActivityPartition)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case AllocationsPackage.ALLOCATE_ACTIVITY_PARTITION__BASE_ACTIVITY_PARTITION: - setBase_ActivityPartition((ActivityPartition)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case AllocationsPackage.ALLOCATE_ACTIVITY_PARTITION__BASE_ACTIVITY_PARTITION: - return base_ActivityPartition != null; - } - return super.eIsSet(featureID); - } - -} //AllocateActivityPartitionImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/internal/impl/AllocateImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/internal/impl/AllocateImpl.java deleted file mode 100644 index 088331f..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/internal/impl/AllocateImpl.java +++ /dev/null
@@ -1,215 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.allocations.internal.impl; - -import java.lang.reflect.InvocationTargetException; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.papyrus.sysml14.allocations.Allocate; -import org.eclipse.papyrus.sysml14.allocations.AllocationsPackage; - -import org.eclipse.papyrus.sysml14.blocks.internal.impl.DirectedRelationshipPropertyPathImpl; - -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.NamedElement; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Allocate</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.allocations.internal.impl.AllocateImpl#getBase_Abstraction <em>Base Abstraction</em>}</li> - * </ul> - * - * @generated - */ -public class AllocateImpl extends DirectedRelationshipPropertyPathImpl implements Allocate { - /** - * The cached value of the '{@link #getBase_Abstraction() <em>Base Abstraction</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Abstraction() - * @generated - * @ordered - */ - protected Abstraction base_Abstraction; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected AllocateImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return AllocationsPackage.Literals.ALLOCATE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Abstraction getBase_Abstraction() { - if (base_Abstraction != null && base_Abstraction.eIsProxy()) { - InternalEObject oldBase_Abstraction = (InternalEObject)base_Abstraction; - base_Abstraction = (Abstraction)eResolveProxy(oldBase_Abstraction); - if (base_Abstraction != oldBase_Abstraction) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, AllocationsPackage.ALLOCATE__BASE_ABSTRACTION, oldBase_Abstraction, base_Abstraction)); - } - } - return base_Abstraction; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Abstraction basicGetBase_Abstraction() { - return base_Abstraction; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Abstraction(Abstraction newBase_Abstraction) { - Abstraction oldBase_Abstraction = base_Abstraction; - base_Abstraction = newBase_Abstraction; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, AllocationsPackage.ALLOCATE__BASE_ABSTRACTION, oldBase_Abstraction, base_Abstraction)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void getAllocatedFrom(NamedElement ref, EList<NamedElement> result) { - // TODO: implement this method - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void getAllocatedTo(NamedElement ref, EList<NamedElement> result) { - // TODO: implement this method - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case AllocationsPackage.ALLOCATE__BASE_ABSTRACTION: - if (resolve) return getBase_Abstraction(); - return basicGetBase_Abstraction(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case AllocationsPackage.ALLOCATE__BASE_ABSTRACTION: - setBase_Abstraction((Abstraction)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case AllocationsPackage.ALLOCATE__BASE_ABSTRACTION: - setBase_Abstraction((Abstraction)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case AllocationsPackage.ALLOCATE__BASE_ABSTRACTION: - return base_Abstraction != null; - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - @SuppressWarnings("unchecked") - public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { - switch (operationID) { - case AllocationsPackage.ALLOCATE___GET_ALLOCATED_FROM__NAMEDELEMENT_ELIST: - getAllocatedFrom((NamedElement)arguments.get(0), (EList<NamedElement>)arguments.get(1)); - return null; - case AllocationsPackage.ALLOCATE___GET_ALLOCATED_TO__NAMEDELEMENT_ELIST: - getAllocatedTo((NamedElement)arguments.get(0), (EList<NamedElement>)arguments.get(1)); - return null; - } - return super.eInvoke(operationID, arguments); - } - -} //AllocateImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/internal/impl/AllocationsFactoryImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/internal/impl/AllocationsFactoryImpl.java deleted file mode 100644 index 984549e..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/internal/impl/AllocationsFactoryImpl.java +++ /dev/null
@@ -1,116 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.allocations.internal.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -import org.eclipse.papyrus.sysml14.allocations.*; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class AllocationsFactoryImpl extends EFactoryImpl implements AllocationsFactory { - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static AllocationsFactory init() { - try { - AllocationsFactory theAllocationsFactory = (AllocationsFactory)EPackage.Registry.INSTANCE.getEFactory(AllocationsPackage.eNS_URI); - if (theAllocationsFactory != null) { - return theAllocationsFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new AllocationsFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AllocationsFactoryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case AllocationsPackage.ALLOCATE: return createAllocate(); - case AllocationsPackage.ALLOCATE_ACTIVITY_PARTITION: return createAllocateActivityPartition(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Allocate createAllocate() { - AllocateImpl allocate = new AllocateImpl(); - return allocate; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AllocateActivityPartition createAllocateActivityPartition() { - AllocateActivityPartitionImpl allocateActivityPartition = new AllocateActivityPartitionImpl(); - return allocateActivityPartition; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AllocationsPackage getAllocationsPackage() { - return (AllocationsPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - @Deprecated - public static AllocationsPackage getPackage() { - return AllocationsPackage.eINSTANCE; - } - -} //AllocationsFactoryImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/internal/impl/AllocationsPackageImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/internal/impl/AllocationsPackageImpl.java deleted file mode 100644 index fff8cca..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/internal/impl/AllocationsPackageImpl.java +++ /dev/null
@@ -1,331 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.allocations.internal.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EOperation; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; - -import org.eclipse.papyrus.sysml14.activities.internal.impl.ActivitiesPackageImpl; - -import org.eclipse.papyrus.sysml14.allocations.Allocate; -import org.eclipse.papyrus.sysml14.allocations.AllocateActivityPartition; -import org.eclipse.papyrus.sysml14.allocations.AllocationsFactory; -import org.eclipse.papyrus.sysml14.allocations.AllocationsPackage; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; - -import org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl; - -import org.eclipse.papyrus.sysml14.constraintblocks.ConstraintblocksPackage; - -import org.eclipse.papyrus.sysml14.constraintblocks.internal.impl.ConstraintblocksPackageImpl; - -import org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsPackage; - -import org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.DeprecatedelementsPackageImpl; - -import org.eclipse.papyrus.sysml14.impl.sysmlPackageImpl; -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; - -import org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsPackageImpl; - -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; - -import org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl; - -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; - -import org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsPackageImpl; - -import org.eclipse.papyrus.sysml14.sysmlPackage; -import org.eclipse.uml2.uml.UMLPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class AllocationsPackageImpl extends EPackageImpl implements AllocationsPackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass allocateEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass allocateActivityPartitionEClass = null; - - /** - * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.papyrus.sysml14.allocations.AllocationsPackage#eNS_URI - * @see #init() - * @generated - */ - private AllocationsPackageImpl() { - super(eNS_URI, AllocationsFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. - * - * <p>This method is used to initialize {@link AllocationsPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static AllocationsPackage init() { - if (isInited) return (AllocationsPackage)EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI); - - // Obtain or create and register package - AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new AllocationsPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - UMLPackage.eINSTANCE.eClass(); - - // Obtain or create and register interdependencies - sysmlPackageImpl thesysmlPackage = (sysmlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(sysmlPackage.eNS_URI) instanceof sysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(sysmlPackage.eNS_URI) : sysmlPackage.eINSTANCE); - ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) : ActivitiesPackage.eINSTANCE); - BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE); - ConstraintblocksPackageImpl theConstraintblocksPackage = (ConstraintblocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) instanceof ConstraintblocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) : ConstraintblocksPackage.eINSTANCE); - DeprecatedelementsPackageImpl theDeprecatedelementsPackage = (DeprecatedelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) instanceof DeprecatedelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) : DeprecatedelementsPackage.eINSTANCE); - PortsandflowsPackageImpl thePortsandflowsPackage = (PortsandflowsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) instanceof PortsandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) : PortsandflowsPackage.eINSTANCE); - ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE); - RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE); - - // Create package meta-data objects - theAllocationsPackage.createPackageContents(); - thesysmlPackage.createPackageContents(); - theActivitiesPackage.createPackageContents(); - theBlocksPackage.createPackageContents(); - theConstraintblocksPackage.createPackageContents(); - theDeprecatedelementsPackage.createPackageContents(); - thePortsandflowsPackage.createPackageContents(); - theModelelementsPackage.createPackageContents(); - theRequirementsPackage.createPackageContents(); - - // Initialize created meta-data - theAllocationsPackage.initializePackageContents(); - thesysmlPackage.initializePackageContents(); - theActivitiesPackage.initializePackageContents(); - theBlocksPackage.initializePackageContents(); - theConstraintblocksPackage.initializePackageContents(); - theDeprecatedelementsPackage.initializePackageContents(); - thePortsandflowsPackage.initializePackageContents(); - theModelelementsPackage.initializePackageContents(); - theRequirementsPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theAllocationsPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(AllocationsPackage.eNS_URI, theAllocationsPackage); - return theAllocationsPackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getAllocate() { - return allocateEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getAllocate_Base_Abstraction() { - return (EReference)allocateEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EOperation getAllocate__GetAllocatedFrom__NamedElement_EList() { - return allocateEClass.getEOperations().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EOperation getAllocate__GetAllocatedTo__NamedElement_EList() { - return allocateEClass.getEOperations().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getAllocateActivityPartition() { - return allocateActivityPartitionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getAllocateActivityPartition_Base_ActivityPartition() { - return (EReference)allocateActivityPartitionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AllocationsFactory getAllocationsFactory() { - return (AllocationsFactory)getEFactoryInstance(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - allocateEClass = createEClass(ALLOCATE); - createEReference(allocateEClass, ALLOCATE__BASE_ABSTRACTION); - createEOperation(allocateEClass, ALLOCATE___GET_ALLOCATED_FROM__NAMEDELEMENT_ELIST); - createEOperation(allocateEClass, ALLOCATE___GET_ALLOCATED_TO__NAMEDELEMENT_ELIST); - - allocateActivityPartitionEClass = createEClass(ALLOCATE_ACTIVITY_PARTITION); - createEReference(allocateActivityPartitionEClass, ALLOCATE_ACTIVITY_PARTITION__BASE_ACTIVITY_PARTITION); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - BlocksPackage theBlocksPackage = (BlocksPackage)EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI); - UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - allocateEClass.getESuperTypes().add(theBlocksPackage.getDirectedRelationshipPropertyPath()); - - // Initialize classes, features, and operations; add parameters - initEClass(allocateEClass, Allocate.class, "Allocate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getAllocate_Base_Abstraction(), theUMLPackage.getAbstraction(), null, "base_Abstraction", null, 0, 1, Allocate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - EOperation op = initEOperation(getAllocate__GetAllocatedFrom__NamedElement_EList(), null, "getAllocatedFrom", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - addEParameter(op, theUMLPackage.getNamedElement(), "ref", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - addEParameter(op, theUMLPackage.getNamedElement(), "result", 0, -1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - - op = initEOperation(getAllocate__GetAllocatedTo__NamedElement_EList(), null, "getAllocatedTo", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - addEParameter(op, theUMLPackage.getNamedElement(), "ref", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - addEParameter(op, theUMLPackage.getNamedElement(), "result", 0, -1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(allocateActivityPartitionEClass, AllocateActivityPartition.class, "AllocateActivityPartition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getAllocateActivityPartition_Base_ActivityPartition(), theUMLPackage.getActivityPartition(), null, "base_ActivityPartition", null, 0, 1, AllocateActivityPartition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - // Create annotations - // http://www.eclipse.org/uml2/2.0.0/UML - createUMLAnnotations(); - } - - /** - * Initializes the annotations for <b>http://www.eclipse.org/uml2/2.0.0/UML</b>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void createUMLAnnotations() { - String source = "http://www.eclipse.org/uml2/2.0.0/UML"; //$NON-NLS-1$ - addAnnotation - (this, - source, - new String[] { - "originalName", "Allocations" //$NON-NLS-1$ //$NON-NLS-2$ - }); - } - -} //AllocationsPackageImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/util/AllocationsAdapterFactory.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/util/AllocationsAdapterFactory.java deleted file mode 100644 index e9c8350..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/util/AllocationsAdapterFactory.java +++ /dev/null
@@ -1,168 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.allocations.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.papyrus.sysml14.allocations.*; - -import org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath; - -/** - * <!-- begin-user-doc --> - * The <b>Adapter Factory</b> for the model. - * It provides an adapter <code>createXXX</code> method for each class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.allocations.AllocationsPackage - * @generated - */ -public class AllocationsAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static AllocationsPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AllocationsAdapterFactory() { - if (modelPackage == null) { - modelPackage = AllocationsPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * <!-- begin-user-doc --> - * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. - * <!-- end-user-doc --> - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected AllocationsSwitch<Adapter> modelSwitch = - new AllocationsSwitch<Adapter>() { - @Override - public Adapter caseAllocate(Allocate object) { - return createAllocateAdapter(); - } - @Override - public Adapter caseAllocateActivityPartition(AllocateActivityPartition object) { - return createAllocateActivityPartitionAdapter(); - } - @Override - public Adapter caseDirectedRelationshipPropertyPath(DirectedRelationshipPropertyPath object) { - return createDirectedRelationshipPropertyPathAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the <code>target</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param target the object to adapt. - * @return the adapter for the <code>target</code>. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.allocations.Allocate <em>Allocate</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.allocations.Allocate - * @generated - */ - public Adapter createAllocateAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.allocations.AllocateActivityPartition <em>Allocate Activity Partition</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.allocations.AllocateActivityPartition - * @generated - */ - public Adapter createAllocateActivityPartitionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath <em>Directed Relationship Property Path</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath - * @generated - */ - public Adapter createDirectedRelationshipPropertyPathAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * <!-- begin-user-doc --> - * This default implementation returns null. - * <!-- end-user-doc --> - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //AllocationsAdapterFactory
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/util/AllocationsSwitch.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/util/AllocationsSwitch.java deleted file mode 100644 index c883f45..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/allocations/util/AllocationsSwitch.java +++ /dev/null
@@ -1,159 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.allocations.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -import org.eclipse.papyrus.sysml14.allocations.*; - -import org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath; - -/** - * <!-- begin-user-doc --> - * The <b>Switch</b> for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the <code>caseXXX</code> method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.allocations.AllocationsPackage - * @generated - */ -public class AllocationsSwitch<T> extends Switch<T> { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static AllocationsPackage modelPackage; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AllocationsSwitch() { - if (modelPackage == null) { - modelPackage = AllocationsPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case AllocationsPackage.ALLOCATE: { - Allocate allocate = (Allocate)theEObject; - T result = caseAllocate(allocate); - if (result == null) result = caseDirectedRelationshipPropertyPath(allocate); - if (result == null) result = defaultCase(theEObject); - return result; - } - case AllocationsPackage.ALLOCATE_ACTIVITY_PARTITION: { - AllocateActivityPartition allocateActivityPartition = (AllocateActivityPartition)theEObject; - T result = caseAllocateActivityPartition(allocateActivityPartition); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Allocate</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Allocate</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseAllocate(Allocate object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Allocate Activity Partition</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Allocate Activity Partition</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseAllocateActivityPartition(AllocateActivityPartition object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Directed Relationship Property Path</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Directed Relationship Property Path</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDirectedRelationshipPropertyPath(DirectedRelationshipPropertyPath object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>EObject</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} //AllocationsSwitch
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/AdjunctProperty.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/AdjunctProperty.java deleted file mode 100644 index e18869e..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/AdjunctProperty.java +++ /dev/null
@@ -1,95 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.Property; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Adjunct Property</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * The AdjunctProperty stereotype can be applied to properties to constrain their values to the values of connectors typed by association blocks, call actions, object nodes, variables, or parameters, interaction uses, and submachine states. The values of connectors typed by association blocks are the instances of the association block typing a connector in the block having the stereotyped property. The values of call actions are the executions of behaviors invoked by the behavior having the call action and the stereotyped property (see Subclause 11.3.1.1.1 for more about this use of the stereotype). The values of object nodes are the values of tokens in the object nodes of the behavior having the stereotyped property (see Subclause 11.3.1.4.1 for more about this use of the stereotype). The values of variables are those assigned by executions of activities that have the stereotyped property. The values of parameters are those assigned by executions of behaviors that have the stereotyped property. The keyword «adjunct» before a property name indicates the property is stereotyped by AdjunctProperty. - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.AdjunctProperty#getBase_Property <em>Base Property</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.AdjunctProperty#getPrincipal <em>Principal</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getAdjunctProperty() - * @model - * @generated - */ -public interface AdjunctProperty extends EObject { - /** - * Returns the value of the '<em><b>Base Property</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Property</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Property</em>' reference. - * @see #setBase_Property(Property) - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getAdjunctProperty_Base_Property() - * @model ordered="false" - * @generated - */ - Property getBase_Property(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.blocks.AdjunctProperty#getBase_Property <em>Base Property</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Property</em>' reference. - * @see #getBase_Property() - * @generated - */ - void setBase_Property(Property value); - - /** - * Returns the value of the '<em><b>Principal</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * Gives the element that determines the values of the property. Must be a connector, call action, object node, variable, or parameter. - * <!-- end-model-doc --> - * @return the value of the '<em>Principal</em>' reference. - * @see #setPrincipal(Element) - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getAdjunctProperty_Principal() - * @model required="true" ordered="false" - * @generated - */ - Element getPrincipal(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.blocks.AdjunctProperty#getPrincipal <em>Principal</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Principal</em>' reference. - * @see #getPrincipal() - * @generated - */ - void setPrincipal(Element value); - -} // AdjunctProperty
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/BindingConnector.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/BindingConnector.java deleted file mode 100644 index 66ac65a..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/BindingConnector.java +++ /dev/null
@@ -1,68 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.Connector; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Binding Connector</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * A Binding Connector is a connector which specifies that the properties at both ends of the connector have equal values. If the properties at the ends of a binding connector are typed by a DataType or ValueType, the connector specifies that the instances of the properties must hold equal values, recursively through any nested properties within the connected properties. If the properties at the ends of a binding connector are typed by a Block, the connector specifies that the instances of the properties must refer to the same block instance. As with any connector owned by a SysML Block, the ends of a binding connector may be nested within a multi-level path of properties accessible from the owning block. The NestedConnectorEnd stereotype is used to represent such nested ends just as for nested ends of other SysML connectors. - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.BindingConnector#getBase_Connector <em>Base Connector</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getBindingConnector() - * @model - * @generated - */ -public interface BindingConnector extends EObject { - /** - * Returns the value of the '<em><b>Base Connector</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Connector</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Connector</em>' reference. - * @see #setBase_Connector(Connector) - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getBindingConnector_Base_Connector() - * @model ordered="false" - * @generated - */ - Connector getBase_Connector(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.blocks.BindingConnector#getBase_Connector <em>Base Connector</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Connector</em>' reference. - * @see #getBase_Connector() - * @generated - */ - void setBase_Connector(Connector value); - -} // BindingConnector
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/Block.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/Block.java deleted file mode 100644 index 60ef0dd..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/Block.java +++ /dev/null
@@ -1,123 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.uml2.uml.Property; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Block</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * A Block is a modular unit that describes the structure of a system or element. It may include both structural and behavioral features, such as properties and operations, that represent the state of the system and behavior that the system may exhibit. Some of these properties may hold parts of a system, which can also be described by blocks. A block may include a structure of connectors between its properties to indicate how its parts or other properties relate to one another. SysML blocks provide a general-purpose capability to describe the architecture of a system. They provide the ability to represent a system hierarchy, in which a system at one level is composed of systems at a more basic level. They can describe not only the connectivity relationships between the systems at any level, but also quantitative values or other information about a system. SysML does not restrict the kind of system or system element that may be described by a block. Any reusable form of description that may be applied to a system or a set of system characteristics may be described by a block. Such reusable descriptions, for example, may be applied to purely conceptual aspects of a system design, such as relationships that hold between parts or properties of a system. Connectors owned by SysML blocks may be used to define relationships between parts or other properties of the same containing block. The type of a connector or its connected ends may specify the semantic interpretation of a specific connector. - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.Block#getBase_Class <em>Base Class</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.Block#isEncapsulated <em>Is Encapsulated</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getBlock() - * @model - * @generated - */ -public interface Block extends EObject { - /** - * Returns the value of the '<em><b>Base Class</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Class</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Class</em>' reference. - * @see #setBase_Class(org.eclipse.uml2.uml.Class) - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getBlock_Base_Class() - * @model ordered="false" - * @generated - */ - org.eclipse.uml2.uml.Class getBase_Class(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.blocks.Block#getBase_Class <em>Base Class</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Class</em>' reference. - * @see #getBase_Class() - * @generated - */ - void setBase_Class(org.eclipse.uml2.uml.Class value); - - /** - * Returns the value of the '<em><b>Is Encapsulated</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * If true, then the block is treated as a black box; a part typed by this black box can only be connected via its ports or directly to its outer boundary. If false, or if a value is not present, then connections can be established to elements of its internal structure via deep-nested connector ends. - * - * <!-- end-model-doc --> - * @return the value of the '<em>Is Encapsulated</em>' attribute. - * @see #setIsEncapsulated(boolean) - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getBlock_IsEncapsulated() - * @model dataType="org.eclipse.uml2.types.Boolean" ordered="false" - * @generated - */ - boolean isEncapsulated(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.blocks.Block#isEncapsulated <em>Is Encapsulated</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Is Encapsulated</em>' attribute. - * @see #isEncapsulated() - * @generated - */ - void setIsEncapsulated(boolean value); - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * @papyrus.req org.eclipse.papyrus.sysml14#REQ-SYSML14-Block-References - * <!-- end-model-doc --> - * @model kind="operation" ordered="false" - * @generated - */ - EList<Property> getReferences(); - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @model kind="operation" ordered="false" - * @generated - */ - EList<Property> getParts(); - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @model kind="operation" ordered="false" - * @generated - */ - EList<Property> getFlowProperties(); - -} // Block
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/BlocksFactory.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/BlocksFactory.java deleted file mode 100644 index ef6278f..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/BlocksFactory.java +++ /dev/null
@@ -1,151 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks; - -import org.eclipse.emf.ecore.EFactory; - -/** - * <!-- begin-user-doc --> - * The <b>Factory</b> for the model. - * It provides a create method for each non-abstract class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage - * @generated - */ -public interface BlocksFactory extends EFactory { - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - BlocksFactory eINSTANCE = org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksFactoryImpl.init(); - - /** - * Returns a new object of class '<em>Adjunct Property</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Adjunct Property</em>'. - * @generated - */ - AdjunctProperty createAdjunctProperty(); - - /** - * Returns a new object of class '<em>Binding Connector</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Binding Connector</em>'. - * @generated - */ - BindingConnector createBindingConnector(); - - /** - * Returns a new object of class '<em>Block</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Block</em>'. - * @generated - */ - Block createBlock(); - - /** - * Returns a new object of class '<em>Bound Reference</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Bound Reference</em>'. - * @generated - */ - BoundReference createBoundReference(); - - /** - * Returns a new object of class '<em>End Path Multiplicity</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>End Path Multiplicity</em>'. - * @generated - */ - EndPathMultiplicity createEndPathMultiplicity(); - - /** - * Returns a new object of class '<em>Classifier Behavior Property</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Classifier Behavior Property</em>'. - * @generated - */ - ClassifierBehaviorProperty createClassifierBehaviorProperty(); - - /** - * Returns a new object of class '<em>Connector Property</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Connector Property</em>'. - * @generated - */ - ConnectorProperty createConnectorProperty(); - - /** - * Returns a new object of class '<em>Distributed Property</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Distributed Property</em>'. - * @generated - */ - DistributedProperty createDistributedProperty(); - - /** - * Returns a new object of class '<em>Nested Connector End</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Nested Connector End</em>'. - * @generated - */ - NestedConnectorEnd createNestedConnectorEnd(); - - /** - * Returns a new object of class '<em>Participant Property</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Participant Property</em>'. - * @generated - */ - ParticipantProperty createParticipantProperty(); - - /** - * Returns a new object of class '<em>Property Specific Type</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Property Specific Type</em>'. - * @generated - */ - PropertySpecificType createPropertySpecificType(); - - /** - * Returns a new object of class '<em>Value Type</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Value Type</em>'. - * @generated - */ - ValueType createValueType(); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - BlocksPackage getBlocksPackage(); - -} //BlocksFactory
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/BlocksPackage.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/BlocksPackage.java deleted file mode 100644 index 1a2a41c..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/BlocksPackage.java +++ /dev/null
@@ -1,1679 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EOperation; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * <!-- begin-user-doc --> - * The <b>Package</b> for the model. - * It contains accessors for the meta objects to represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.BlocksFactory - * @model kind="package" - * annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='Blocks'" - * @generated - */ -public interface BlocksPackage extends EPackage { - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "blocks"; //$NON-NLS-1$ - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "http://www.eclipse.org/papyrus/sysml/1.4/SysML/Blocks"; //$NON-NLS-1$ - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "Blocks"; //$NON-NLS-1$ - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - BlocksPackage eINSTANCE = org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.AdjunctPropertyImpl <em>Adjunct Property</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.AdjunctPropertyImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getAdjunctProperty() - * @generated - */ - int ADJUNCT_PROPERTY = 0; - - /** - * The feature id for the '<em><b>Base Property</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ADJUNCT_PROPERTY__BASE_PROPERTY = 0; - - /** - * The feature id for the '<em><b>Principal</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ADJUNCT_PROPERTY__PRINCIPAL = 1; - - /** - * The number of structural features of the '<em>Adjunct Property</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ADJUNCT_PROPERTY_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Adjunct Property</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ADJUNCT_PROPERTY_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.BindingConnectorImpl <em>Binding Connector</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BindingConnectorImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getBindingConnector() - * @generated - */ - int BINDING_CONNECTOR = 1; - - /** - * The feature id for the '<em><b>Base Connector</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BINDING_CONNECTOR__BASE_CONNECTOR = 0; - - /** - * The number of structural features of the '<em>Binding Connector</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BINDING_CONNECTOR_FEATURE_COUNT = 1; - - /** - * The number of operations of the '<em>Binding Connector</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BINDING_CONNECTOR_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.BlockImpl <em>Block</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlockImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getBlock() - * @generated - */ - int BLOCK = 2; - - /** - * The feature id for the '<em><b>Base Class</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BLOCK__BASE_CLASS = 0; - - /** - * The feature id for the '<em><b>Is Encapsulated</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BLOCK__IS_ENCAPSULATED = 1; - - /** - * The number of structural features of the '<em>Block</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BLOCK_FEATURE_COUNT = 2; - - /** - * The operation id for the '<em>Get References</em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BLOCK___GET_REFERENCES = 0; - - /** - * The operation id for the '<em>Get Parts</em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BLOCK___GET_PARTS = 1; - - /** - * The operation id for the '<em>Get Flow Properties</em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BLOCK___GET_FLOW_PROPERTIES = 2; - - /** - * The number of operations of the '<em>Block</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BLOCK_OPERATION_COUNT = 3; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.EndPathMultiplicityImpl <em>End Path Multiplicity</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.EndPathMultiplicityImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getEndPathMultiplicity() - * @generated - */ - int END_PATH_MULTIPLICITY = 4; - - /** - * The feature id for the '<em><b>Base Property</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int END_PATH_MULTIPLICITY__BASE_PROPERTY = 0; - - /** - * The feature id for the '<em><b>Lower</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int END_PATH_MULTIPLICITY__LOWER = 1; - - /** - * The feature id for the '<em><b>Upper</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int END_PATH_MULTIPLICITY__UPPER = 2; - - /** - * The number of structural features of the '<em>End Path Multiplicity</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int END_PATH_MULTIPLICITY_FEATURE_COUNT = 3; - - /** - * The number of operations of the '<em>End Path Multiplicity</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int END_PATH_MULTIPLICITY_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.BoundReferenceImpl <em>Bound Reference</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BoundReferenceImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getBoundReference() - * @generated - */ - int BOUND_REFERENCE = 3; - - /** - * The feature id for the '<em><b>Base Property</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BOUND_REFERENCE__BASE_PROPERTY = END_PATH_MULTIPLICITY__BASE_PROPERTY; - - /** - * The feature id for the '<em><b>Lower</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BOUND_REFERENCE__LOWER = END_PATH_MULTIPLICITY__LOWER; - - /** - * The feature id for the '<em><b>Upper</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BOUND_REFERENCE__UPPER = END_PATH_MULTIPLICITY__UPPER; - - /** - * The feature id for the '<em><b>Binding Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BOUND_REFERENCE__BINDING_PATH = END_PATH_MULTIPLICITY_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Bound End</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BOUND_REFERENCE__BOUND_END = END_PATH_MULTIPLICITY_FEATURE_COUNT + 1; - - /** - * The number of structural features of the '<em>Bound Reference</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BOUND_REFERENCE_FEATURE_COUNT = END_PATH_MULTIPLICITY_FEATURE_COUNT + 2; - - /** - * The number of operations of the '<em>Bound Reference</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int BOUND_REFERENCE_OPERATION_COUNT = END_PATH_MULTIPLICITY_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.ClassifierBehaviorPropertyImpl <em>Classifier Behavior Property</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.ClassifierBehaviorPropertyImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getClassifierBehaviorProperty() - * @generated - */ - int CLASSIFIER_BEHAVIOR_PROPERTY = 5; - - /** - * The feature id for the '<em><b>Base Property</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CLASSIFIER_BEHAVIOR_PROPERTY__BASE_PROPERTY = 0; - - /** - * The number of structural features of the '<em>Classifier Behavior Property</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CLASSIFIER_BEHAVIOR_PROPERTY_FEATURE_COUNT = 1; - - /** - * The number of operations of the '<em>Classifier Behavior Property</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CLASSIFIER_BEHAVIOR_PROPERTY_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.ConnectorPropertyImpl <em>Connector Property</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.ConnectorPropertyImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getConnectorProperty() - * @generated - */ - int CONNECTOR_PROPERTY = 6; - - /** - * The feature id for the '<em><b>Base Property</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CONNECTOR_PROPERTY__BASE_PROPERTY = 0; - - /** - * The feature id for the '<em><b>Connector</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CONNECTOR_PROPERTY__CONNECTOR = 1; - - /** - * The number of structural features of the '<em>Connector Property</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CONNECTOR_PROPERTY_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Connector Property</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CONNECTOR_PROPERTY_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.DistributedPropertyImpl <em>Distributed Property</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.DistributedPropertyImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getDistributedProperty() - * @generated - */ - int DISTRIBUTED_PROPERTY = 7; - - /** - * The feature id for the '<em><b>Base Property</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DISTRIBUTED_PROPERTY__BASE_PROPERTY = 0; - - /** - * The number of structural features of the '<em>Distributed Property</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DISTRIBUTED_PROPERTY_FEATURE_COUNT = 1; - - /** - * The number of operations of the '<em>Distributed Property</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DISTRIBUTED_PROPERTY_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.ElementPropertyPathImpl <em>Element Property Path</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.ElementPropertyPathImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getElementPropertyPath() - * @generated - */ - int ELEMENT_PROPERTY_PATH = 8; - - /** - * The feature id for the '<em><b>Base Element</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ELEMENT_PROPERTY_PATH__BASE_ELEMENT = 0; - - /** - * The feature id for the '<em><b>Property Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ELEMENT_PROPERTY_PATH__PROPERTY_PATH = 1; - - /** - * The number of structural features of the '<em>Element Property Path</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ELEMENT_PROPERTY_PATH_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Element Property Path</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ELEMENT_PROPERTY_PATH_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.NestedConnectorEndImpl <em>Nested Connector End</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.NestedConnectorEndImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getNestedConnectorEnd() - * @generated - */ - int NESTED_CONNECTOR_END = 9; - - /** - * The feature id for the '<em><b>Base Element</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NESTED_CONNECTOR_END__BASE_ELEMENT = ELEMENT_PROPERTY_PATH__BASE_ELEMENT; - - /** - * The feature id for the '<em><b>Property Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NESTED_CONNECTOR_END__PROPERTY_PATH = ELEMENT_PROPERTY_PATH__PROPERTY_PATH; - - /** - * The feature id for the '<em><b>Base Connector End</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NESTED_CONNECTOR_END__BASE_CONNECTOR_END = ELEMENT_PROPERTY_PATH_FEATURE_COUNT + 0; - - /** - * The number of structural features of the '<em>Nested Connector End</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NESTED_CONNECTOR_END_FEATURE_COUNT = ELEMENT_PROPERTY_PATH_FEATURE_COUNT + 1; - - /** - * The number of operations of the '<em>Nested Connector End</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int NESTED_CONNECTOR_END_OPERATION_COUNT = ELEMENT_PROPERTY_PATH_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.ParticipantPropertyImpl <em>Participant Property</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.ParticipantPropertyImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getParticipantProperty() - * @generated - */ - int PARTICIPANT_PROPERTY = 10; - - /** - * The feature id for the '<em><b>Base Property</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PARTICIPANT_PROPERTY__BASE_PROPERTY = 0; - - /** - * The feature id for the '<em><b>End</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PARTICIPANT_PROPERTY__END = 1; - - /** - * The number of structural features of the '<em>Participant Property</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PARTICIPANT_PROPERTY_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Participant Property</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PARTICIPANT_PROPERTY_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.PropertySpecificTypeImpl <em>Property Specific Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.PropertySpecificTypeImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getPropertySpecificType() - * @generated - */ - int PROPERTY_SPECIFIC_TYPE = 11; - - /** - * The feature id for the '<em><b>Base Classifier</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PROPERTY_SPECIFIC_TYPE__BASE_CLASSIFIER = 0; - - /** - * The number of structural features of the '<em>Property Specific Type</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PROPERTY_SPECIFIC_TYPE_FEATURE_COUNT = 1; - - /** - * The number of operations of the '<em>Property Specific Type</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PROPERTY_SPECIFIC_TYPE_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.ValueTypeImpl <em>Value Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.ValueTypeImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getValueType() - * @generated - */ - int VALUE_TYPE = 12; - - /** - * The feature id for the '<em><b>Base Data Type</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VALUE_TYPE__BASE_DATA_TYPE = 0; - - /** - * The feature id for the '<em><b>Quantity Kind</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VALUE_TYPE__QUANTITY_KIND = 1; - - /** - * The feature id for the '<em><b>Unit</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VALUE_TYPE__UNIT = 2; - - /** - * The number of structural features of the '<em>Value Type</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VALUE_TYPE_FEATURE_COUNT = 3; - - /** - * The number of operations of the '<em>Value Type</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VALUE_TYPE_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.DirectedRelationshipPropertyPathImpl <em>Directed Relationship Property Path</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.DirectedRelationshipPropertyPathImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getDirectedRelationshipPropertyPath() - * @generated - */ - int DIRECTED_RELATIONSHIP_PROPERTY_PATH = 13; - - /** - * The feature id for the '<em><b>Base Directed Relationship</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIRECTED_RELATIONSHIP_PROPERTY_PATH__BASE_DIRECTED_RELATIONSHIP = 0; - - /** - * The feature id for the '<em><b>Source Context</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_CONTEXT = 1; - - /** - * The feature id for the '<em><b>Source Property Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_PROPERTY_PATH = 2; - - /** - * The feature id for the '<em><b>Target Context</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_CONTEXT = 3; - - /** - * The feature id for the '<em><b>Target Property Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_PROPERTY_PATH = 4; - - /** - * The number of structural features of the '<em>Directed Relationship Property Path</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIRECTED_RELATIONSHIP_PROPERTY_PATH_FEATURE_COUNT = 5; - - /** - * The number of operations of the '<em>Directed Relationship Property Path</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIRECTED_RELATIONSHIP_PROPERTY_PATH_OPERATION_COUNT = 0; - - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.blocks.AdjunctProperty <em>Adjunct Property</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Adjunct Property</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.AdjunctProperty - * @generated - */ - EClass getAdjunctProperty(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.blocks.AdjunctProperty#getBase_Property <em>Base Property</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Property</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.AdjunctProperty#getBase_Property() - * @see #getAdjunctProperty() - * @generated - */ - EReference getAdjunctProperty_Base_Property(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.blocks.AdjunctProperty#getPrincipal <em>Principal</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Principal</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.AdjunctProperty#getPrincipal() - * @see #getAdjunctProperty() - * @generated - */ - EReference getAdjunctProperty_Principal(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.blocks.BindingConnector <em>Binding Connector</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Binding Connector</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.BindingConnector - * @generated - */ - EClass getBindingConnector(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.blocks.BindingConnector#getBase_Connector <em>Base Connector</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Connector</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.BindingConnector#getBase_Connector() - * @see #getBindingConnector() - * @generated - */ - EReference getBindingConnector_Base_Connector(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.blocks.Block <em>Block</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Block</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.Block - * @generated - */ - EClass getBlock(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.blocks.Block#getBase_Class <em>Base Class</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Class</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.Block#getBase_Class() - * @see #getBlock() - * @generated - */ - EReference getBlock_Base_Class(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml14.blocks.Block#isEncapsulated <em>Is Encapsulated</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Is Encapsulated</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.Block#isEncapsulated() - * @see #getBlock() - * @generated - */ - EAttribute getBlock_IsEncapsulated(); - - /** - * Returns the meta object for the '{@link org.eclipse.papyrus.sysml14.blocks.Block#getReferences() <em>Get References</em>}' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the '<em>Get References</em>' operation. - * @see org.eclipse.papyrus.sysml14.blocks.Block#getReferences() - * @generated - */ - EOperation getBlock__GetReferences(); - - /** - * Returns the meta object for the '{@link org.eclipse.papyrus.sysml14.blocks.Block#getParts() <em>Get Parts</em>}' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the '<em>Get Parts</em>' operation. - * @see org.eclipse.papyrus.sysml14.blocks.Block#getParts() - * @generated - */ - EOperation getBlock__GetParts(); - - /** - * Returns the meta object for the '{@link org.eclipse.papyrus.sysml14.blocks.Block#getFlowProperties() <em>Get Flow Properties</em>}' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the '<em>Get Flow Properties</em>' operation. - * @see org.eclipse.papyrus.sysml14.blocks.Block#getFlowProperties() - * @generated - */ - EOperation getBlock__GetFlowProperties(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.blocks.BoundReference <em>Bound Reference</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Bound Reference</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.BoundReference - * @generated - */ - EClass getBoundReference(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml14.blocks.BoundReference#getBindingPath <em>Binding Path</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference list '<em>Binding Path</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.BoundReference#getBindingPath() - * @see #getBoundReference() - * @generated - */ - EReference getBoundReference_BindingPath(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.blocks.BoundReference#getBoundEnd <em>Bound End</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Bound End</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.BoundReference#getBoundEnd() - * @see #getBoundReference() - * @generated - */ - EReference getBoundReference_BoundEnd(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.blocks.EndPathMultiplicity <em>End Path Multiplicity</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>End Path Multiplicity</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.EndPathMultiplicity - * @generated - */ - EClass getEndPathMultiplicity(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.blocks.EndPathMultiplicity#getBase_Property <em>Base Property</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Property</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.EndPathMultiplicity#getBase_Property() - * @see #getEndPathMultiplicity() - * @generated - */ - EReference getEndPathMultiplicity_Base_Property(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml14.blocks.EndPathMultiplicity#getLower <em>Lower</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Lower</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.EndPathMultiplicity#getLower() - * @see #getEndPathMultiplicity() - * @generated - */ - EAttribute getEndPathMultiplicity_Lower(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml14.blocks.EndPathMultiplicity#getUpper <em>Upper</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Upper</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.EndPathMultiplicity#getUpper() - * @see #getEndPathMultiplicity() - * @generated - */ - EAttribute getEndPathMultiplicity_Upper(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.blocks.ClassifierBehaviorProperty <em>Classifier Behavior Property</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Classifier Behavior Property</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.ClassifierBehaviorProperty - * @generated - */ - EClass getClassifierBehaviorProperty(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.blocks.ClassifierBehaviorProperty#getBase_Property <em>Base Property</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Property</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.ClassifierBehaviorProperty#getBase_Property() - * @see #getClassifierBehaviorProperty() - * @generated - */ - EReference getClassifierBehaviorProperty_Base_Property(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.blocks.ConnectorProperty <em>Connector Property</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Connector Property</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.ConnectorProperty - * @generated - */ - EClass getConnectorProperty(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.blocks.ConnectorProperty#getBase_Property <em>Base Property</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Property</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.ConnectorProperty#getBase_Property() - * @see #getConnectorProperty() - * @generated - */ - EReference getConnectorProperty_Base_Property(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.blocks.ConnectorProperty#getConnector <em>Connector</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Connector</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.ConnectorProperty#getConnector() - * @see #getConnectorProperty() - * @generated - */ - EReference getConnectorProperty_Connector(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.blocks.DistributedProperty <em>Distributed Property</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Distributed Property</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.DistributedProperty - * @generated - */ - EClass getDistributedProperty(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.blocks.DistributedProperty#getBase_Property <em>Base Property</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Property</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.DistributedProperty#getBase_Property() - * @see #getDistributedProperty() - * @generated - */ - EReference getDistributedProperty_Base_Property(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.blocks.ElementPropertyPath <em>Element Property Path</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Element Property Path</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.ElementPropertyPath - * @generated - */ - EClass getElementPropertyPath(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.blocks.ElementPropertyPath#getBase_Element <em>Base Element</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Element</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.ElementPropertyPath#getBase_Element() - * @see #getElementPropertyPath() - * @generated - */ - EReference getElementPropertyPath_Base_Element(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml14.blocks.ElementPropertyPath#getPropertyPath <em>Property Path</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference list '<em>Property Path</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.ElementPropertyPath#getPropertyPath() - * @see #getElementPropertyPath() - * @generated - */ - EReference getElementPropertyPath_PropertyPath(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.blocks.NestedConnectorEnd <em>Nested Connector End</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Nested Connector End</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.NestedConnectorEnd - * @generated - */ - EClass getNestedConnectorEnd(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.blocks.NestedConnectorEnd#getBase_ConnectorEnd <em>Base Connector End</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Connector End</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.NestedConnectorEnd#getBase_ConnectorEnd() - * @see #getNestedConnectorEnd() - * @generated - */ - EReference getNestedConnectorEnd_Base_ConnectorEnd(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.blocks.ParticipantProperty <em>Participant Property</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Participant Property</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.ParticipantProperty - * @generated - */ - EClass getParticipantProperty(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.blocks.ParticipantProperty#getBase_Property <em>Base Property</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Property</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.ParticipantProperty#getBase_Property() - * @see #getParticipantProperty() - * @generated - */ - EReference getParticipantProperty_Base_Property(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.blocks.ParticipantProperty#getEnd <em>End</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>End</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.ParticipantProperty#getEnd() - * @see #getParticipantProperty() - * @generated - */ - EReference getParticipantProperty_End(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.blocks.PropertySpecificType <em>Property Specific Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Property Specific Type</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.PropertySpecificType - * @generated - */ - EClass getPropertySpecificType(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.blocks.PropertySpecificType#getBase_Classifier <em>Base Classifier</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Classifier</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.PropertySpecificType#getBase_Classifier() - * @see #getPropertySpecificType() - * @generated - */ - EReference getPropertySpecificType_Base_Classifier(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.blocks.ValueType <em>Value Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Value Type</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.ValueType - * @generated - */ - EClass getValueType(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.blocks.ValueType#getBase_DataType <em>Base Data Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Data Type</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.ValueType#getBase_DataType() - * @see #getValueType() - * @generated - */ - EReference getValueType_Base_DataType(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.blocks.ValueType#getQuantityKind <em>Quantity Kind</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Quantity Kind</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.ValueType#getQuantityKind() - * @see #getValueType() - * @generated - */ - EReference getValueType_QuantityKind(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.blocks.ValueType#getUnit <em>Unit</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Unit</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.ValueType#getUnit() - * @see #getValueType() - * @generated - */ - EReference getValueType_Unit(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath <em>Directed Relationship Property Path</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Directed Relationship Property Path</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath - * @generated - */ - EClass getDirectedRelationshipPropertyPath(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath#getBase_DirectedRelationship <em>Base Directed Relationship</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Directed Relationship</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath#getBase_DirectedRelationship() - * @see #getDirectedRelationshipPropertyPath() - * @generated - */ - EReference getDirectedRelationshipPropertyPath_Base_DirectedRelationship(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath#getSourceContext <em>Source Context</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Source Context</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath#getSourceContext() - * @see #getDirectedRelationshipPropertyPath() - * @generated - */ - EReference getDirectedRelationshipPropertyPath_SourceContext(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath#getSourcePropertyPath <em>Source Property Path</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference list '<em>Source Property Path</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath#getSourcePropertyPath() - * @see #getDirectedRelationshipPropertyPath() - * @generated - */ - EReference getDirectedRelationshipPropertyPath_SourcePropertyPath(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath#getTargetContext <em>Target Context</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Target Context</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath#getTargetContext() - * @see #getDirectedRelationshipPropertyPath() - * @generated - */ - EReference getDirectedRelationshipPropertyPath_TargetContext(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath#getTargetPropertyPath <em>Target Property Path</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference list '<em>Target Property Path</em>'. - * @see org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath#getTargetPropertyPath() - * @see #getDirectedRelationshipPropertyPath() - * @generated - */ - EReference getDirectedRelationshipPropertyPath_TargetPropertyPath(); - - /** - * Returns the factory that creates the instances of the model. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the factory that creates the instances of the model. - * @generated - */ - BlocksFactory getBlocksFactory(); - - /** - * <!-- begin-user-doc --> - * Defines literals for the meta objects that represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.AdjunctPropertyImpl <em>Adjunct Property</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.AdjunctPropertyImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getAdjunctProperty() - * @generated - */ - EClass ADJUNCT_PROPERTY = eINSTANCE.getAdjunctProperty(); - - /** - * The meta object literal for the '<em><b>Base Property</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ADJUNCT_PROPERTY__BASE_PROPERTY = eINSTANCE.getAdjunctProperty_Base_Property(); - - /** - * The meta object literal for the '<em><b>Principal</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ADJUNCT_PROPERTY__PRINCIPAL = eINSTANCE.getAdjunctProperty_Principal(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.BindingConnectorImpl <em>Binding Connector</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BindingConnectorImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getBindingConnector() - * @generated - */ - EClass BINDING_CONNECTOR = eINSTANCE.getBindingConnector(); - - /** - * The meta object literal for the '<em><b>Base Connector</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference BINDING_CONNECTOR__BASE_CONNECTOR = eINSTANCE.getBindingConnector_Base_Connector(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.BlockImpl <em>Block</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlockImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getBlock() - * @generated - */ - EClass BLOCK = eINSTANCE.getBlock(); - - /** - * The meta object literal for the '<em><b>Base Class</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference BLOCK__BASE_CLASS = eINSTANCE.getBlock_Base_Class(); - - /** - * The meta object literal for the '<em><b>Is Encapsulated</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute BLOCK__IS_ENCAPSULATED = eINSTANCE.getBlock_IsEncapsulated(); - - /** - * The meta object literal for the '<em><b>Get References</b></em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EOperation BLOCK___GET_REFERENCES = eINSTANCE.getBlock__GetReferences(); - - /** - * The meta object literal for the '<em><b>Get Parts</b></em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EOperation BLOCK___GET_PARTS = eINSTANCE.getBlock__GetParts(); - - /** - * The meta object literal for the '<em><b>Get Flow Properties</b></em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EOperation BLOCK___GET_FLOW_PROPERTIES = eINSTANCE.getBlock__GetFlowProperties(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.BoundReferenceImpl <em>Bound Reference</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BoundReferenceImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getBoundReference() - * @generated - */ - EClass BOUND_REFERENCE = eINSTANCE.getBoundReference(); - - /** - * The meta object literal for the '<em><b>Binding Path</b></em>' reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference BOUND_REFERENCE__BINDING_PATH = eINSTANCE.getBoundReference_BindingPath(); - - /** - * The meta object literal for the '<em><b>Bound End</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference BOUND_REFERENCE__BOUND_END = eINSTANCE.getBoundReference_BoundEnd(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.EndPathMultiplicityImpl <em>End Path Multiplicity</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.EndPathMultiplicityImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getEndPathMultiplicity() - * @generated - */ - EClass END_PATH_MULTIPLICITY = eINSTANCE.getEndPathMultiplicity(); - - /** - * The meta object literal for the '<em><b>Base Property</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference END_PATH_MULTIPLICITY__BASE_PROPERTY = eINSTANCE.getEndPathMultiplicity_Base_Property(); - - /** - * The meta object literal for the '<em><b>Lower</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute END_PATH_MULTIPLICITY__LOWER = eINSTANCE.getEndPathMultiplicity_Lower(); - - /** - * The meta object literal for the '<em><b>Upper</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute END_PATH_MULTIPLICITY__UPPER = eINSTANCE.getEndPathMultiplicity_Upper(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.ClassifierBehaviorPropertyImpl <em>Classifier Behavior Property</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.ClassifierBehaviorPropertyImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getClassifierBehaviorProperty() - * @generated - */ - EClass CLASSIFIER_BEHAVIOR_PROPERTY = eINSTANCE.getClassifierBehaviorProperty(); - - /** - * The meta object literal for the '<em><b>Base Property</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference CLASSIFIER_BEHAVIOR_PROPERTY__BASE_PROPERTY = eINSTANCE.getClassifierBehaviorProperty_Base_Property(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.ConnectorPropertyImpl <em>Connector Property</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.ConnectorPropertyImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getConnectorProperty() - * @generated - */ - EClass CONNECTOR_PROPERTY = eINSTANCE.getConnectorProperty(); - - /** - * The meta object literal for the '<em><b>Base Property</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference CONNECTOR_PROPERTY__BASE_PROPERTY = eINSTANCE.getConnectorProperty_Base_Property(); - - /** - * The meta object literal for the '<em><b>Connector</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference CONNECTOR_PROPERTY__CONNECTOR = eINSTANCE.getConnectorProperty_Connector(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.DistributedPropertyImpl <em>Distributed Property</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.DistributedPropertyImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getDistributedProperty() - * @generated - */ - EClass DISTRIBUTED_PROPERTY = eINSTANCE.getDistributedProperty(); - - /** - * The meta object literal for the '<em><b>Base Property</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference DISTRIBUTED_PROPERTY__BASE_PROPERTY = eINSTANCE.getDistributedProperty_Base_Property(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.ElementPropertyPathImpl <em>Element Property Path</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.ElementPropertyPathImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getElementPropertyPath() - * @generated - */ - EClass ELEMENT_PROPERTY_PATH = eINSTANCE.getElementPropertyPath(); - - /** - * The meta object literal for the '<em><b>Base Element</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ELEMENT_PROPERTY_PATH__BASE_ELEMENT = eINSTANCE.getElementPropertyPath_Base_Element(); - - /** - * The meta object literal for the '<em><b>Property Path</b></em>' reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ELEMENT_PROPERTY_PATH__PROPERTY_PATH = eINSTANCE.getElementPropertyPath_PropertyPath(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.NestedConnectorEndImpl <em>Nested Connector End</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.NestedConnectorEndImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getNestedConnectorEnd() - * @generated - */ - EClass NESTED_CONNECTOR_END = eINSTANCE.getNestedConnectorEnd(); - - /** - * The meta object literal for the '<em><b>Base Connector End</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference NESTED_CONNECTOR_END__BASE_CONNECTOR_END = eINSTANCE.getNestedConnectorEnd_Base_ConnectorEnd(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.ParticipantPropertyImpl <em>Participant Property</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.ParticipantPropertyImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getParticipantProperty() - * @generated - */ - EClass PARTICIPANT_PROPERTY = eINSTANCE.getParticipantProperty(); - - /** - * The meta object literal for the '<em><b>Base Property</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference PARTICIPANT_PROPERTY__BASE_PROPERTY = eINSTANCE.getParticipantProperty_Base_Property(); - - /** - * The meta object literal for the '<em><b>End</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference PARTICIPANT_PROPERTY__END = eINSTANCE.getParticipantProperty_End(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.PropertySpecificTypeImpl <em>Property Specific Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.PropertySpecificTypeImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getPropertySpecificType() - * @generated - */ - EClass PROPERTY_SPECIFIC_TYPE = eINSTANCE.getPropertySpecificType(); - - /** - * The meta object literal for the '<em><b>Base Classifier</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference PROPERTY_SPECIFIC_TYPE__BASE_CLASSIFIER = eINSTANCE.getPropertySpecificType_Base_Classifier(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.ValueTypeImpl <em>Value Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.ValueTypeImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getValueType() - * @generated - */ - EClass VALUE_TYPE = eINSTANCE.getValueType(); - - /** - * The meta object literal for the '<em><b>Base Data Type</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference VALUE_TYPE__BASE_DATA_TYPE = eINSTANCE.getValueType_Base_DataType(); - - /** - * The meta object literal for the '<em><b>Quantity Kind</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference VALUE_TYPE__QUANTITY_KIND = eINSTANCE.getValueType_QuantityKind(); - - /** - * The meta object literal for the '<em><b>Unit</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference VALUE_TYPE__UNIT = eINSTANCE.getValueType_Unit(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.DirectedRelationshipPropertyPathImpl <em>Directed Relationship Property Path</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.DirectedRelationshipPropertyPathImpl - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl#getDirectedRelationshipPropertyPath() - * @generated - */ - EClass DIRECTED_RELATIONSHIP_PROPERTY_PATH = eINSTANCE.getDirectedRelationshipPropertyPath(); - - /** - * The meta object literal for the '<em><b>Base Directed Relationship</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference DIRECTED_RELATIONSHIP_PROPERTY_PATH__BASE_DIRECTED_RELATIONSHIP = eINSTANCE.getDirectedRelationshipPropertyPath_Base_DirectedRelationship(); - - /** - * The meta object literal for the '<em><b>Source Context</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_CONTEXT = eINSTANCE.getDirectedRelationshipPropertyPath_SourceContext(); - - /** - * The meta object literal for the '<em><b>Source Property Path</b></em>' reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_PROPERTY_PATH = eINSTANCE.getDirectedRelationshipPropertyPath_SourcePropertyPath(); - - /** - * The meta object literal for the '<em><b>Target Context</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_CONTEXT = eINSTANCE.getDirectedRelationshipPropertyPath_TargetContext(); - - /** - * The meta object literal for the '<em><b>Target Property Path</b></em>' reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_PROPERTY_PATH = eINSTANCE.getDirectedRelationshipPropertyPath_TargetPropertyPath(); - - } - -} //BlocksPackage
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/BoundReference.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/BoundReference.java deleted file mode 100644 index 0f341a8..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/BoundReference.java +++ /dev/null
@@ -1,107 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.uml2.uml.ConnectorEnd; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Bound Reference</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.BoundReference#getBindingPath <em>Binding Path</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.BoundReference#getBoundEnd <em>Bound End</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getBoundReference() - * @model - * @generated - */ -public interface BoundReference extends EndPathMultiplicity { - /** - * Returns the value of the '<em><b>Binding Path</b></em>' reference list. - * The list contents are of type {@link org.eclipse.uml2.uml.Property}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * Gives the propertyPath of the NestedConnectorEnd applied, if any, to the boundEnd, appended to the role of the boundEnd. - * <!-- end-model-doc --> - * @return the value of the '<em>Binding Path</em>' reference list. - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getBoundReference_BindingPath() - * @model required="true" transient="true" changeable="false" volatile="true" derived="true" - * @generated - */ - EList<Property> getBindingPath(); - - /** - * Retrieves the first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the '<em><b>Binding Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. - * @param type The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. - * @return The first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or <code>null</code>. - * @see #getBindingPath() - * @generated - */ - Property getBindingPath(String name, Type type); - - /** - * Retrieves the first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the '<em><b>Binding Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. - * @param type The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. - * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons. - * @param eClass The Ecore class of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. - * @return The first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or <code>null</code>. - * @see #getBindingPath() - * @generated - */ - Property getBindingPath(String name, Type type, boolean ignoreCase, EClass eClass); - - /** - * Returns the value of the '<em><b>Bound End</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * Gives a connector end of a binding connector opposite to the end linked to the stereotyped property, or linked to a property that generalizes the stereotyped one through redefinition. - * <!-- end-model-doc --> - * @return the value of the '<em>Bound End</em>' reference. - * @see #setBoundEnd(ConnectorEnd) - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getBoundReference_BoundEnd() - * @model required="true" ordered="false" - * @generated - */ - ConnectorEnd getBoundEnd(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.blocks.BoundReference#getBoundEnd <em>Bound End</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Bound End</em>' reference. - * @see #getBoundEnd() - * @generated - */ - void setBoundEnd(ConnectorEnd value); - -} // BoundReference
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/ClassifierBehaviorProperty.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/ClassifierBehaviorProperty.java deleted file mode 100644 index 75eb17f..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/ClassifierBehaviorProperty.java +++ /dev/null
@@ -1,68 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.Property; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Classifier Behavior Property</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * The ClassifierBehaviorProperty stereotype can be applied to properties to constrain their values to be the executions of classifier behaviors. The value of properties with ClassifierBehaviorProperty applied are the executions of classifier behaviors invoked by instantiation of the block that owns the stereotyped property or one of its specializations. - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.ClassifierBehaviorProperty#getBase_Property <em>Base Property</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getClassifierBehaviorProperty() - * @model - * @generated - */ -public interface ClassifierBehaviorProperty extends EObject { - /** - * Returns the value of the '<em><b>Base Property</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Property</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Property</em>' reference. - * @see #setBase_Property(Property) - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getClassifierBehaviorProperty_Base_Property() - * @model ordered="false" - * @generated - */ - Property getBase_Property(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.blocks.ClassifierBehaviorProperty#getBase_Property <em>Base Property</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Property</em>' reference. - * @see #getBase_Property() - * @generated - */ - void setBase_Property(Property value); - -} // ClassifierBehaviorProperty
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/ConnectorProperty.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/ConnectorProperty.java deleted file mode 100644 index 5570c01..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/ConnectorProperty.java +++ /dev/null
@@ -1,95 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.Connector; -import org.eclipse.uml2.uml.Property; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Connector Property</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * Connectors can be typed by association classes that are stereotyped by Block (association blocks). These connectors specify instances (links) of the association block that exist due to instantiation of the block owning or inheriting the connector. The value of a connector property on an instance of a block will be exactly those link objects that are instances of the association block typing the connector referred to by the connector property. - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.ConnectorProperty#getBase_Property <em>Base Property</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.ConnectorProperty#getConnector <em>Connector</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getConnectorProperty() - * @model - * @generated - */ -public interface ConnectorProperty extends EObject { - /** - * Returns the value of the '<em><b>Base Property</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Property</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Property</em>' reference. - * @see #setBase_Property(Property) - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getConnectorProperty_Base_Property() - * @model ordered="false" - * @generated - */ - Property getBase_Property(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.blocks.ConnectorProperty#getBase_Property <em>Base Property</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Property</em>' reference. - * @see #getBase_Property() - * @generated - */ - void setBase_Property(Property value); - - /** - * Returns the value of the '<em><b>Connector</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * A connector of the block owning the property on which the stereotype is applied. - * <!-- end-model-doc --> - * @return the value of the '<em>Connector</em>' reference. - * @see #setConnector(Connector) - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getConnectorProperty_Connector() - * @model required="true" ordered="false" - * @generated - */ - Connector getConnector(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.blocks.ConnectorProperty#getConnector <em>Connector</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Connector</em>' reference. - * @see #getConnector() - * @generated - */ - void setConnector(Connector value); - -} // ConnectorProperty
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/DirectedRelationshipPropertyPath.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/DirectedRelationshipPropertyPath.java deleted file mode 100644 index 52e6695..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/DirectedRelationshipPropertyPath.java +++ /dev/null
@@ -1,208 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.DirectedRelationship; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Directed Relationship Property Path</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath#getBase_DirectedRelationship <em>Base Directed Relationship</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath#getSourceContext <em>Source Context</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath#getSourcePropertyPath <em>Source Property Path</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath#getTargetContext <em>Target Context</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath#getTargetPropertyPath <em>Target Property Path</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getDirectedRelationshipPropertyPath() - * @model abstract="true" - * @generated - */ -public interface DirectedRelationshipPropertyPath extends EObject { - /** - * Returns the value of the '<em><b>Base Directed Relationship</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Directed Relationship</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Directed Relationship</em>' reference. - * @see #setBase_DirectedRelationship(DirectedRelationship) - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getDirectedRelationshipPropertyPath_Base_DirectedRelationship() - * @model ordered="false" - * @generated - */ - DirectedRelationship getBase_DirectedRelationship(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath#getBase_DirectedRelationship <em>Base Directed Relationship</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Directed Relationship</em>' reference. - * @see #getBase_DirectedRelationship() - * @generated - */ - void setBase_DirectedRelationship(DirectedRelationship value); - - /** - * Returns the value of the '<em><b>Source Context</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Source Context</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Source Context</em>' reference. - * @see #setSourceContext(Classifier) - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getDirectedRelationshipPropertyPath_SourceContext() - * @model ordered="false" - * @generated - */ - Classifier getSourceContext(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath#getSourceContext <em>Source Context</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Source Context</em>' reference. - * @see #getSourceContext() - * @generated - */ - void setSourceContext(Classifier value); - - /** - * Returns the value of the '<em><b>Source Property Path</b></em>' reference list. - * The list contents are of type {@link org.eclipse.uml2.uml.Property}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Source Property Path</em>' reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Source Property Path</em>' reference list. - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getDirectedRelationshipPropertyPath_SourcePropertyPath() - * @model - * @generated - */ - EList<Property> getSourcePropertyPath(); - - /** - * Retrieves the first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the '<em><b>Source Property Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. - * @param type The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. - * @return The first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or <code>null</code>. - * @see #getSourcePropertyPath() - * @generated - */ - Property getSourcePropertyPath(String name, Type type); - - /** - * Retrieves the first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the '<em><b>Source Property Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. - * @param type The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. - * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons. - * @param eClass The Ecore class of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. - * @return The first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or <code>null</code>. - * @see #getSourcePropertyPath() - * @generated - */ - Property getSourcePropertyPath(String name, Type type, boolean ignoreCase, EClass eClass); - - /** - * Returns the value of the '<em><b>Target Context</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Target Context</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Target Context</em>' reference. - * @see #setTargetContext(Classifier) - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getDirectedRelationshipPropertyPath_TargetContext() - * @model ordered="false" - * @generated - */ - Classifier getTargetContext(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath#getTargetContext <em>Target Context</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Target Context</em>' reference. - * @see #getTargetContext() - * @generated - */ - void setTargetContext(Classifier value); - - /** - * Returns the value of the '<em><b>Target Property Path</b></em>' reference list. - * The list contents are of type {@link org.eclipse.uml2.uml.Property}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Target Property Path</em>' reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Target Property Path</em>' reference list. - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getDirectedRelationshipPropertyPath_TargetPropertyPath() - * @model - * @generated - */ - EList<Property> getTargetPropertyPath(); - - /** - * Retrieves the first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the '<em><b>Target Property Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. - * @param type The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. - * @return The first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or <code>null</code>. - * @see #getTargetPropertyPath() - * @generated - */ - Property getTargetPropertyPath(String name, Type type); - - /** - * Retrieves the first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the '<em><b>Target Property Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. - * @param type The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. - * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons. - * @param eClass The Ecore class of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. - * @return The first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or <code>null</code>. - * @see #getTargetPropertyPath() - * @generated - */ - Property getTargetPropertyPath(String name, Type type, boolean ignoreCase, EClass eClass); - -} // DirectedRelationshipPropertyPath
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/DistributedProperty.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/DistributedProperty.java deleted file mode 100644 index fc720b8..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/DistributedProperty.java +++ /dev/null
@@ -1,68 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.Property; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Distributed Property</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * DistributedProperty is a stereotype of Property used to apply a probability distribution to the values of the property. Specific distributions should be defined as subclasses of the DistributedProperty stereotype with the operands of the distributions represented by properties of those stereotype subclasses. - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.DistributedProperty#getBase_Property <em>Base Property</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getDistributedProperty() - * @model - * @generated - */ -public interface DistributedProperty extends EObject { - /** - * Returns the value of the '<em><b>Base Property</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Property</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Property</em>' reference. - * @see #setBase_Property(Property) - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getDistributedProperty_Base_Property() - * @model ordered="false" - * @generated - */ - Property getBase_Property(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.blocks.DistributedProperty#getBase_Property <em>Base Property</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Property</em>' reference. - * @see #getBase_Property() - * @generated - */ - void setBase_Property(Property value); - -} // DistributedProperty
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/ElementPropertyPath.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/ElementPropertyPath.java deleted file mode 100644 index a58337e..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/ElementPropertyPath.java +++ /dev/null
@@ -1,111 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Element Property Path</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.ElementPropertyPath#getBase_Element <em>Base Element</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.ElementPropertyPath#getPropertyPath <em>Property Path</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getElementPropertyPath() - * @model abstract="true" - * @generated - */ -public interface ElementPropertyPath extends EObject { - /** - * Returns the value of the '<em><b>Base Element</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Element</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Element</em>' reference. - * @see #setBase_Element(Element) - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getElementPropertyPath_Base_Element() - * @model ordered="false" - * @generated - */ - Element getBase_Element(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.blocks.ElementPropertyPath#getBase_Element <em>Base Element</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Element</em>' reference. - * @see #getBase_Element() - * @generated - */ - void setBase_Element(Element value); - - /** - * Returns the value of the '<em><b>Property Path</b></em>' reference list. - * The list contents are of type {@link org.eclipse.uml2.uml.Property}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * The propertyPath list of the NestedConnectorEnd stereotype must identify a path of containing properties that identify the connected property in the context of the block that owns the connector. The ordering of properties is from a property of the block that owns the connector, through a property of each intermediate block that types the preceding property, until a property is reached that contains a connector end property within its type. The connector end property is not included in the propertyPath list, but instead is held by the role property of the UML ConnectorEnd metaclass. - * - * <!-- end-model-doc --> - * @return the value of the '<em>Property Path</em>' reference list. - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getElementPropertyPath_PropertyPath() - * @model required="true" - * @generated - */ - EList<Property> getPropertyPath(); - - /** - * Retrieves the first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the '<em><b>Property Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. - * @param type The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. - * @return The first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or <code>null</code>. - * @see #getPropertyPath() - * @generated - */ - Property getPropertyPath(String name, Type type); - - /** - * Retrieves the first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the '<em><b>Property Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. - * @param type The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. - * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons. - * @param eClass The Ecore class of the {@link org.eclipse.uml2.uml.Property} to retrieve, or <code>null</code>. - * @return The first {@link org.eclipse.uml2.uml.Property} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or <code>null</code>. - * @see #getPropertyPath() - * @generated - */ - Property getPropertyPath(String name, Type type, boolean ignoreCase, EClass eClass); - -} // ElementPropertyPath
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/EndPathMultiplicity.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/EndPathMultiplicity.java deleted file mode 100644 index bd207ea..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/EndPathMultiplicity.java +++ /dev/null
@@ -1,116 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.Property; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>End Path Multiplicity</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.EndPathMultiplicity#getBase_Property <em>Base Property</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.EndPathMultiplicity#getLower <em>Lower</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.EndPathMultiplicity#getUpper <em>Upper</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getEndPathMultiplicity() - * @model - * @generated - */ -public interface EndPathMultiplicity extends EObject { - /** - * Returns the value of the '<em><b>Base Property</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Property</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Property</em>' reference. - * @see #setBase_Property(Property) - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getEndPathMultiplicity_Base_Property() - * @model ordered="false" - * @generated - */ - Property getBase_Property(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.blocks.EndPathMultiplicity#getBase_Property <em>Base Property</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Property</em>' reference. - * @see #getBase_Property() - * @generated - */ - void setBase_Property(Property value); - - /** - * Returns the value of the '<em><b>Lower</b></em>' attribute. - * The default value is <code>"0"</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * Gives the minimum number of values of the property at the end of the related bindingPath, for each object reached by navigation along the bindingPath from an instance of the block owning the property to which EndPathMultiplicity is applied - * <!-- end-model-doc --> - * @return the value of the '<em>Lower</em>' attribute. - * @see #setLower(int) - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getEndPathMultiplicity_Lower() - * @model default="0" dataType="org.eclipse.uml2.types.Integer" ordered="false" - * @generated - */ - int getLower(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.blocks.EndPathMultiplicity#getLower <em>Lower</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Lower</em>' attribute. - * @see #getLower() - * @generated - */ - void setLower(int value); - - /** - * Returns the value of the '<em><b>Upper</b></em>' attribute. - * The default value is <code>"-1"</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * Gives the maximum number of values of the property at the end of the related bindingPath, for each object reached by navigation along the bindingPath from an instance of the block owning the property to which EndPathMultiplicity is applied. - * <!-- end-model-doc --> - * @return the value of the '<em>Upper</em>' attribute. - * @see #setUpper(int) - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getEndPathMultiplicity_Upper() - * @model default="-1" dataType="org.eclipse.uml2.types.UnlimitedNatural" ordered="false" - * @generated - */ - int getUpper(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.blocks.EndPathMultiplicity#getUpper <em>Upper</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Upper</em>' attribute. - * @see #getUpper() - * @generated - */ - void setUpper(int value); - -} // EndPathMultiplicity
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/NestedConnectorEnd.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/NestedConnectorEnd.java deleted file mode 100644 index 3c63dda..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/NestedConnectorEnd.java +++ /dev/null
@@ -1,64 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks; - -import org.eclipse.uml2.uml.ConnectorEnd; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Nested Connector End</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * The NestedConnectorEnd stereotype of UML ConnectorEnd extends a UML ConnectorEnd so that the connected property may be identified by a multi-level path of accessible properties from the block that owns the connector. - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.NestedConnectorEnd#getBase_ConnectorEnd <em>Base Connector End</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getNestedConnectorEnd() - * @model - * @generated - */ -public interface NestedConnectorEnd extends ElementPropertyPath { - /** - * Returns the value of the '<em><b>Base Connector End</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Connector End</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Connector End</em>' reference. - * @see #setBase_ConnectorEnd(ConnectorEnd) - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getNestedConnectorEnd_Base_ConnectorEnd() - * @model ordered="false" - * @generated - */ - ConnectorEnd getBase_ConnectorEnd(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.blocks.NestedConnectorEnd#getBase_ConnectorEnd <em>Base Connector End</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Connector End</em>' reference. - * @see #getBase_ConnectorEnd() - * @generated - */ - void setBase_ConnectorEnd(ConnectorEnd value); - -} // NestedConnectorEnd
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/ParticipantProperty.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/ParticipantProperty.java deleted file mode 100644 index 040a1fe..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/ParticipantProperty.java +++ /dev/null
@@ -1,94 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.Property; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Participant Property</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * The Block stereotype extends Class, so it can be applied to any specialization of Class, including Association Classes. These are informally called “association blocks.” An association block can own properties and connectors, like any other block. Each instance of an association block can link together instances of the end classifiers of the association. To refer to linked objects and values of an instance of an association block, it is necessary for the modeler to specify which (participant) properties of the association block identify the instances being linked at which end of the association. The value of a participant property on an instance (link) of the association block is the value or object at the end of the link corresponding to this end of the association. - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.ParticipantProperty#getBase_Property <em>Base Property</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.ParticipantProperty#getEnd <em>End</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getParticipantProperty() - * @model - * @generated - */ -public interface ParticipantProperty extends EObject { - /** - * Returns the value of the '<em><b>Base Property</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Property</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Property</em>' reference. - * @see #setBase_Property(Property) - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getParticipantProperty_Base_Property() - * @model ordered="false" - * @generated - */ - Property getBase_Property(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.blocks.ParticipantProperty#getBase_Property <em>Base Property</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Property</em>' reference. - * @see #getBase_Property() - * @generated - */ - void setBase_Property(Property value); - - /** - * Returns the value of the '<em><b>End</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * A member end of the association block owning the property on which the stereotype is applied. - * <!-- end-model-doc --> - * @return the value of the '<em>End</em>' reference. - * @see #setEnd(Property) - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getParticipantProperty_End() - * @model required="true" ordered="false" - * @generated - */ - Property getEnd(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.blocks.ParticipantProperty#getEnd <em>End</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>End</em>' reference. - * @see #getEnd() - * @generated - */ - void setEnd(Property value); - -} // ParticipantProperty
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/PropertySpecificType.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/PropertySpecificType.java deleted file mode 100644 index 88ff60c..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/PropertySpecificType.java +++ /dev/null
@@ -1,66 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.Classifier; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Property Specific Type</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * The PropertySpecificType stereotype should automatically be applied to the classifier which types a property with a propertyspecific type. This classifier can contain definitions of new or redefined features which extend the original classifier referenced by the property-specific type. - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.PropertySpecificType#getBase_Classifier <em>Base Classifier</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getPropertySpecificType() - * @model - * @generated - */ -public interface PropertySpecificType extends EObject { - /** - * Returns the value of the '<em><b>Base Classifier</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Classifier</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Classifier</em>' reference. - * @see #setBase_Classifier(Classifier) - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getPropertySpecificType_Base_Classifier() - * @model ordered="false" - * @generated - */ - Classifier getBase_Classifier(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.blocks.PropertySpecificType#getBase_Classifier <em>Base Classifier</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Classifier</em>' reference. - * @see #getBase_Classifier() - * @generated - */ - void setBase_Classifier(Classifier value); - -} // PropertySpecificType
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/ValueType.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/ValueType.java deleted file mode 100644 index e377ee3..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/ValueType.java +++ /dev/null
@@ -1,123 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.DataType; -import org.eclipse.uml2.uml.InstanceSpecification; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Value Type</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * A ValueType defines types of values that may be used to express information about a system, but cannot be identified as the target of any reference. Since a value cannot be identified except by means of the value itself, each such value within a model is independent of any other, unless other forms of constraints are imposed. Value types may be used to type properties, operation parameters, or potentially other elements within SysML. SysML defines ValueType as a stereotype of UML DataType to establish a more neutral term for system values that may never be given a concrete data representation. - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.ValueType#getBase_DataType <em>Base Data Type</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.ValueType#getQuantityKind <em>Quantity Kind</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.ValueType#getUnit <em>Unit</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getValueType() - * @model - * @generated - */ -public interface ValueType extends EObject { - /** - * Returns the value of the '<em><b>Base Data Type</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Data Type</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Data Type</em>' reference. - * @see #setBase_DataType(DataType) - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getValueType_Base_DataType() - * @model ordered="false" - * @generated - */ - DataType getBase_DataType(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.blocks.ValueType#getBase_DataType <em>Base Data Type</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Data Type</em>' reference. - * @see #getBase_DataType() - * @generated - */ - void setBase_DataType(DataType value); - - /** - * Returns the value of the '<em><b>Quantity Kind</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * A kind of quantity that may be stated by means of defined units, as identified by an instance of the Dimension stereotype. A value type may optionally specify a dimension without any unit. Such a value has no concrete representation, but may be used to express a value in an abstract form independent of any specific units. - * - * <!-- end-model-doc --> - * @return the value of the '<em>Quantity Kind</em>' reference. - * @see #setQuantityKind(InstanceSpecification) - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getValueType_QuantityKind() - * @model ordered="false" - * @generated - */ - InstanceSpecification getQuantityKind(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.blocks.ValueType#getQuantityKind <em>Quantity Kind</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Quantity Kind</em>' reference. - * @see #getQuantityKind() - * @generated - */ - void setQuantityKind(InstanceSpecification value); - - /** - * Returns the value of the '<em><b>Unit</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * A quantity in terms of which the magnitudes of other quantities that have the same dimension can be stated, as identified by an instance of the Unit stereotype. - * <!-- end-model-doc --> - * @return the value of the '<em>Unit</em>' reference. - * @see #setUnit(InstanceSpecification) - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#getValueType_Unit() - * @model ordered="false" - * @generated - */ - InstanceSpecification getUnit(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.blocks.ValueType#getUnit <em>Unit</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Unit</em>' reference. - * @see #getUnit() - * @generated - */ - void setUnit(InstanceSpecification value); - -} // ValueType
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/AdjunctPropertyImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/AdjunctPropertyImpl.java deleted file mode 100644 index cb92c9d..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/AdjunctPropertyImpl.java +++ /dev/null
@@ -1,229 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.blocks.AdjunctProperty; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; - -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.Property; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Adjunct Property</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.AdjunctPropertyImpl#getBase_Property <em>Base Property</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.AdjunctPropertyImpl#getPrincipal <em>Principal</em>}</li> - * </ul> - * - * @generated - */ -public class AdjunctPropertyImpl extends MinimalEObjectImpl.Container implements AdjunctProperty { - /** - * The cached value of the '{@link #getBase_Property() <em>Base Property</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Property() - * @generated - * @ordered - */ - protected Property base_Property; - - /** - * The cached value of the '{@link #getPrincipal() <em>Principal</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPrincipal() - * @generated - * @ordered - */ - protected Element principal; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected AdjunctPropertyImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return BlocksPackage.Literals.ADJUNCT_PROPERTY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Property getBase_Property() { - if (base_Property != null && base_Property.eIsProxy()) { - InternalEObject oldBase_Property = (InternalEObject)base_Property; - base_Property = (Property)eResolveProxy(oldBase_Property); - if (base_Property != oldBase_Property) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.ADJUNCT_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property)); - } - } - return base_Property; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Property basicGetBase_Property() { - return base_Property; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Property(Property newBase_Property) { - Property oldBase_Property = base_Property; - base_Property = newBase_Property; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.ADJUNCT_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Element getPrincipal() { - if (principal != null && principal.eIsProxy()) { - InternalEObject oldPrincipal = (InternalEObject)principal; - principal = (Element)eResolveProxy(oldPrincipal); - if (principal != oldPrincipal) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.ADJUNCT_PROPERTY__PRINCIPAL, oldPrincipal, principal)); - } - } - return principal; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Element basicGetPrincipal() { - return principal; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPrincipal(Element newPrincipal) { - Element oldPrincipal = principal; - principal = newPrincipal; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.ADJUNCT_PROPERTY__PRINCIPAL, oldPrincipal, principal)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case BlocksPackage.ADJUNCT_PROPERTY__BASE_PROPERTY: - if (resolve) return getBase_Property(); - return basicGetBase_Property(); - case BlocksPackage.ADJUNCT_PROPERTY__PRINCIPAL: - if (resolve) return getPrincipal(); - return basicGetPrincipal(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case BlocksPackage.ADJUNCT_PROPERTY__BASE_PROPERTY: - setBase_Property((Property)newValue); - return; - case BlocksPackage.ADJUNCT_PROPERTY__PRINCIPAL: - setPrincipal((Element)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case BlocksPackage.ADJUNCT_PROPERTY__BASE_PROPERTY: - setBase_Property((Property)null); - return; - case BlocksPackage.ADJUNCT_PROPERTY__PRINCIPAL: - setPrincipal((Element)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case BlocksPackage.ADJUNCT_PROPERTY__BASE_PROPERTY: - return base_Property != null; - case BlocksPackage.ADJUNCT_PROPERTY__PRINCIPAL: - return principal != null; - } - return super.eIsSet(featureID); - } - -} //AdjunctPropertyImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/BindingConnectorImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/BindingConnectorImpl.java deleted file mode 100644 index 9a5839f..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/BindingConnectorImpl.java +++ /dev/null
@@ -1,168 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.blocks.BindingConnector; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; - -import org.eclipse.uml2.uml.Connector; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Binding Connector</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.BindingConnectorImpl#getBase_Connector <em>Base Connector</em>}</li> - * </ul> - * - * @generated - */ -public class BindingConnectorImpl extends MinimalEObjectImpl.Container implements BindingConnector { - /** - * The cached value of the '{@link #getBase_Connector() <em>Base Connector</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Connector() - * @generated - * @ordered - */ - protected Connector base_Connector; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected BindingConnectorImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return BlocksPackage.Literals.BINDING_CONNECTOR; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Connector getBase_Connector() { - if (base_Connector != null && base_Connector.eIsProxy()) { - InternalEObject oldBase_Connector = (InternalEObject)base_Connector; - base_Connector = (Connector)eResolveProxy(oldBase_Connector); - if (base_Connector != oldBase_Connector) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.BINDING_CONNECTOR__BASE_CONNECTOR, oldBase_Connector, base_Connector)); - } - } - return base_Connector; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Connector basicGetBase_Connector() { - return base_Connector; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Connector(Connector newBase_Connector) { - Connector oldBase_Connector = base_Connector; - base_Connector = newBase_Connector; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.BINDING_CONNECTOR__BASE_CONNECTOR, oldBase_Connector, base_Connector)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case BlocksPackage.BINDING_CONNECTOR__BASE_CONNECTOR: - if (resolve) return getBase_Connector(); - return basicGetBase_Connector(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case BlocksPackage.BINDING_CONNECTOR__BASE_CONNECTOR: - setBase_Connector((Connector)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case BlocksPackage.BINDING_CONNECTOR__BASE_CONNECTOR: - setBase_Connector((Connector)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case BlocksPackage.BINDING_CONNECTOR__BASE_CONNECTOR: - return base_Connector != null; - } - return super.eIsSet(featureID); - } - -} //BindingConnectorImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/BlockImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/BlockImpl.java deleted file mode 100644 index 767617d..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/BlockImpl.java +++ /dev/null
@@ -1,289 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.internal.impl; - -import java.lang.reflect.InvocationTargetException; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.blocks.Block; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.uml2.uml.Property; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Block</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.BlockImpl#getBase_Class <em>Base Class</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.BlockImpl#isEncapsulated <em>Is Encapsulated</em>}</li> - * </ul> - * - * @generated - */ -public class BlockImpl extends MinimalEObjectImpl.Container implements Block { - /** - * The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Class() - * @generated - * @ordered - */ - protected org.eclipse.uml2.uml.Class base_Class; - - /** - * The default value of the '{@link #isEncapsulated() <em>Is Encapsulated</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isEncapsulated() - * @generated - * @ordered - */ - protected static final boolean IS_ENCAPSULATED_EDEFAULT = false; - - /** - * The cached value of the '{@link #isEncapsulated() <em>Is Encapsulated</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isEncapsulated() - * @generated - * @ordered - */ - protected boolean isEncapsulated = IS_ENCAPSULATED_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected BlockImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return BlocksPackage.Literals.BLOCK; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public org.eclipse.uml2.uml.Class getBase_Class() { - if (base_Class != null && base_Class.eIsProxy()) { - InternalEObject oldBase_Class = (InternalEObject)base_Class; - base_Class = (org.eclipse.uml2.uml.Class)eResolveProxy(oldBase_Class); - if (base_Class != oldBase_Class) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.BLOCK__BASE_CLASS, oldBase_Class, base_Class)); - } - } - return base_Class; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public org.eclipse.uml2.uml.Class basicGetBase_Class() { - return base_Class; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Class(org.eclipse.uml2.uml.Class newBase_Class) { - org.eclipse.uml2.uml.Class oldBase_Class = base_Class; - base_Class = newBase_Class; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.BLOCK__BASE_CLASS, oldBase_Class, base_Class)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isEncapsulated() { - return isEncapsulated; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setIsEncapsulated(boolean newIsEncapsulated) { - boolean oldIsEncapsulated = isEncapsulated; - isEncapsulated = newIsEncapsulated; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.BLOCK__IS_ENCAPSULATED, oldIsEncapsulated, isEncapsulated)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Property> getReferences() { - // TODO: implement this method - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Property> getParts() { - // TODO: implement this method - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Property> getFlowProperties() { - // TODO: implement this method - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case BlocksPackage.BLOCK__BASE_CLASS: - if (resolve) return getBase_Class(); - return basicGetBase_Class(); - case BlocksPackage.BLOCK__IS_ENCAPSULATED: - return isEncapsulated(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case BlocksPackage.BLOCK__BASE_CLASS: - setBase_Class((org.eclipse.uml2.uml.Class)newValue); - return; - case BlocksPackage.BLOCK__IS_ENCAPSULATED: - setIsEncapsulated((Boolean)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case BlocksPackage.BLOCK__BASE_CLASS: - setBase_Class((org.eclipse.uml2.uml.Class)null); - return; - case BlocksPackage.BLOCK__IS_ENCAPSULATED: - setIsEncapsulated(IS_ENCAPSULATED_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case BlocksPackage.BLOCK__BASE_CLASS: - return base_Class != null; - case BlocksPackage.BLOCK__IS_ENCAPSULATED: - return isEncapsulated != IS_ENCAPSULATED_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - @SuppressWarnings("unchecked") - public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { - switch (operationID) { - case BlocksPackage.BLOCK___GET_REFERENCES: - return getReferences(); - case BlocksPackage.BLOCK___GET_PARTS: - return getParts(); - case BlocksPackage.BLOCK___GET_FLOW_PROPERTIES: - return getFlowProperties(); - } - return super.eInvoke(operationID, arguments); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (isEncapsulated: "); //$NON-NLS-1$ - result.append(isEncapsulated); - result.append(')'); - return result.toString(); - } - -} //BlockImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/BlocksFactoryImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/BlocksFactoryImpl.java deleted file mode 100644 index 6b1b671..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/BlocksFactoryImpl.java +++ /dev/null
@@ -1,226 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.internal.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -import org.eclipse.papyrus.sysml14.blocks.*; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class BlocksFactoryImpl extends EFactoryImpl implements BlocksFactory { - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static BlocksFactory init() { - try { - BlocksFactory theBlocksFactory = (BlocksFactory)EPackage.Registry.INSTANCE.getEFactory(BlocksPackage.eNS_URI); - if (theBlocksFactory != null) { - return theBlocksFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new BlocksFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BlocksFactoryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case BlocksPackage.ADJUNCT_PROPERTY: return createAdjunctProperty(); - case BlocksPackage.BINDING_CONNECTOR: return createBindingConnector(); - case BlocksPackage.BLOCK: return createBlock(); - case BlocksPackage.BOUND_REFERENCE: return createBoundReference(); - case BlocksPackage.END_PATH_MULTIPLICITY: return createEndPathMultiplicity(); - case BlocksPackage.CLASSIFIER_BEHAVIOR_PROPERTY: return createClassifierBehaviorProperty(); - case BlocksPackage.CONNECTOR_PROPERTY: return createConnectorProperty(); - case BlocksPackage.DISTRIBUTED_PROPERTY: return createDistributedProperty(); - case BlocksPackage.NESTED_CONNECTOR_END: return createNestedConnectorEnd(); - case BlocksPackage.PARTICIPANT_PROPERTY: return createParticipantProperty(); - case BlocksPackage.PROPERTY_SPECIFIC_TYPE: return createPropertySpecificType(); - case BlocksPackage.VALUE_TYPE: return createValueType(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AdjunctProperty createAdjunctProperty() { - AdjunctPropertyImpl adjunctProperty = new AdjunctPropertyImpl(); - return adjunctProperty; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BindingConnector createBindingConnector() { - BindingConnectorImpl bindingConnector = new BindingConnectorImpl(); - return bindingConnector; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Block createBlock() { - BlockImpl block = new BlockImpl(); - return block; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BoundReference createBoundReference() { - BoundReferenceImpl boundReference = new BoundReferenceImpl(); - return boundReference; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EndPathMultiplicity createEndPathMultiplicity() { - EndPathMultiplicityImpl endPathMultiplicity = new EndPathMultiplicityImpl(); - return endPathMultiplicity; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ClassifierBehaviorProperty createClassifierBehaviorProperty() { - ClassifierBehaviorPropertyImpl classifierBehaviorProperty = new ClassifierBehaviorPropertyImpl(); - return classifierBehaviorProperty; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ConnectorProperty createConnectorProperty() { - ConnectorPropertyImpl connectorProperty = new ConnectorPropertyImpl(); - return connectorProperty; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DistributedProperty createDistributedProperty() { - DistributedPropertyImpl distributedProperty = new DistributedPropertyImpl(); - return distributedProperty; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NestedConnectorEnd createNestedConnectorEnd() { - NestedConnectorEndImpl nestedConnectorEnd = new NestedConnectorEndImpl(); - return nestedConnectorEnd; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ParticipantProperty createParticipantProperty() { - ParticipantPropertyImpl participantProperty = new ParticipantPropertyImpl(); - return participantProperty; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PropertySpecificType createPropertySpecificType() { - PropertySpecificTypeImpl propertySpecificType = new PropertySpecificTypeImpl(); - return propertySpecificType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ValueType createValueType() { - ValueTypeImpl valueType = new ValueTypeImpl(); - return valueType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BlocksPackage getBlocksPackage() { - return (BlocksPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - @Deprecated - public static BlocksPackage getPackage() { - return BlocksPackage.eINSTANCE; - } - -} //BlocksFactoryImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/BlocksPackageImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/BlocksPackageImpl.java deleted file mode 100644 index 9e35b19..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/BlocksPackageImpl.java +++ /dev/null
@@ -1,881 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.internal.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EOperation; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; - -import org.eclipse.papyrus.sysml14.activities.internal.impl.ActivitiesPackageImpl; - -import org.eclipse.papyrus.sysml14.allocations.AllocationsPackage; - -import org.eclipse.papyrus.sysml14.allocations.internal.impl.AllocationsPackageImpl; - -import org.eclipse.papyrus.sysml14.blocks.AdjunctProperty; -import org.eclipse.papyrus.sysml14.blocks.BindingConnector; -import org.eclipse.papyrus.sysml14.blocks.Block; -import org.eclipse.papyrus.sysml14.blocks.BlocksFactory; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.blocks.BoundReference; -import org.eclipse.papyrus.sysml14.blocks.ClassifierBehaviorProperty; -import org.eclipse.papyrus.sysml14.blocks.ConnectorProperty; -import org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath; -import org.eclipse.papyrus.sysml14.blocks.DistributedProperty; -import org.eclipse.papyrus.sysml14.blocks.ElementPropertyPath; -import org.eclipse.papyrus.sysml14.blocks.EndPathMultiplicity; -import org.eclipse.papyrus.sysml14.blocks.NestedConnectorEnd; -import org.eclipse.papyrus.sysml14.blocks.ParticipantProperty; -import org.eclipse.papyrus.sysml14.blocks.PropertySpecificType; -import org.eclipse.papyrus.sysml14.blocks.ValueType; - -import org.eclipse.papyrus.sysml14.constraintblocks.ConstraintblocksPackage; - -import org.eclipse.papyrus.sysml14.constraintblocks.internal.impl.ConstraintblocksPackageImpl; - -import org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsPackage; - -import org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.DeprecatedelementsPackageImpl; - -import org.eclipse.papyrus.sysml14.impl.sysmlPackageImpl; -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; - -import org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsPackageImpl; - -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; - -import org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl; - -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; - -import org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsPackageImpl; - -import org.eclipse.papyrus.sysml14.sysmlPackage; -import org.eclipse.uml2.types.TypesPackage; - -import org.eclipse.uml2.uml.UMLPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class BlocksPackageImpl extends EPackageImpl implements BlocksPackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass adjunctPropertyEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass bindingConnectorEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass blockEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass boundReferenceEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass endPathMultiplicityEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass classifierBehaviorPropertyEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass connectorPropertyEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass distributedPropertyEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass elementPropertyPathEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass nestedConnectorEndEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass participantPropertyEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass propertySpecificTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass valueTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass directedRelationshipPropertyPathEClass = null; - - /** - * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage#eNS_URI - * @see #init() - * @generated - */ - private BlocksPackageImpl() { - super(eNS_URI, BlocksFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. - * - * <p>This method is used to initialize {@link BlocksPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static BlocksPackage init() { - if (isInited) return (BlocksPackage)EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI); - - // Obtain or create and register package - BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new BlocksPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - UMLPackage.eINSTANCE.eClass(); - - // Obtain or create and register interdependencies - sysmlPackageImpl thesysmlPackage = (sysmlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(sysmlPackage.eNS_URI) instanceof sysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(sysmlPackage.eNS_URI) : sysmlPackage.eINSTANCE); - ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) : ActivitiesPackage.eINSTANCE); - AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) : AllocationsPackage.eINSTANCE); - ConstraintblocksPackageImpl theConstraintblocksPackage = (ConstraintblocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) instanceof ConstraintblocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) : ConstraintblocksPackage.eINSTANCE); - DeprecatedelementsPackageImpl theDeprecatedelementsPackage = (DeprecatedelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) instanceof DeprecatedelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) : DeprecatedelementsPackage.eINSTANCE); - PortsandflowsPackageImpl thePortsandflowsPackage = (PortsandflowsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) instanceof PortsandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) : PortsandflowsPackage.eINSTANCE); - ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE); - RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE); - - // Create package meta-data objects - theBlocksPackage.createPackageContents(); - thesysmlPackage.createPackageContents(); - theActivitiesPackage.createPackageContents(); - theAllocationsPackage.createPackageContents(); - theConstraintblocksPackage.createPackageContents(); - theDeprecatedelementsPackage.createPackageContents(); - thePortsandflowsPackage.createPackageContents(); - theModelelementsPackage.createPackageContents(); - theRequirementsPackage.createPackageContents(); - - // Initialize created meta-data - theBlocksPackage.initializePackageContents(); - thesysmlPackage.initializePackageContents(); - theActivitiesPackage.initializePackageContents(); - theAllocationsPackage.initializePackageContents(); - theConstraintblocksPackage.initializePackageContents(); - theDeprecatedelementsPackage.initializePackageContents(); - thePortsandflowsPackage.initializePackageContents(); - theModelelementsPackage.initializePackageContents(); - theRequirementsPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theBlocksPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(BlocksPackage.eNS_URI, theBlocksPackage); - return theBlocksPackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getAdjunctProperty() { - return adjunctPropertyEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getAdjunctProperty_Base_Property() { - return (EReference)adjunctPropertyEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getAdjunctProperty_Principal() { - return (EReference)adjunctPropertyEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getBindingConnector() { - return bindingConnectorEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getBindingConnector_Base_Connector() { - return (EReference)bindingConnectorEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getBlock() { - return blockEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getBlock_Base_Class() { - return (EReference)blockEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getBlock_IsEncapsulated() { - return (EAttribute)blockEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EOperation getBlock__GetReferences() { - return blockEClass.getEOperations().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EOperation getBlock__GetParts() { - return blockEClass.getEOperations().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EOperation getBlock__GetFlowProperties() { - return blockEClass.getEOperations().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getBoundReference() { - return boundReferenceEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getBoundReference_BindingPath() { - return (EReference)boundReferenceEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getBoundReference_BoundEnd() { - return (EReference)boundReferenceEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getEndPathMultiplicity() { - return endPathMultiplicityEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getEndPathMultiplicity_Base_Property() { - return (EReference)endPathMultiplicityEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getEndPathMultiplicity_Lower() { - return (EAttribute)endPathMultiplicityEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getEndPathMultiplicity_Upper() { - return (EAttribute)endPathMultiplicityEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getClassifierBehaviorProperty() { - return classifierBehaviorPropertyEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getClassifierBehaviorProperty_Base_Property() { - return (EReference)classifierBehaviorPropertyEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getConnectorProperty() { - return connectorPropertyEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getConnectorProperty_Base_Property() { - return (EReference)connectorPropertyEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getConnectorProperty_Connector() { - return (EReference)connectorPropertyEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getDistributedProperty() { - return distributedPropertyEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDistributedProperty_Base_Property() { - return (EReference)distributedPropertyEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getElementPropertyPath() { - return elementPropertyPathEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getElementPropertyPath_Base_Element() { - return (EReference)elementPropertyPathEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getElementPropertyPath_PropertyPath() { - return (EReference)elementPropertyPathEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getNestedConnectorEnd() { - return nestedConnectorEndEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getNestedConnectorEnd_Base_ConnectorEnd() { - return (EReference)nestedConnectorEndEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getParticipantProperty() { - return participantPropertyEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getParticipantProperty_Base_Property() { - return (EReference)participantPropertyEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getParticipantProperty_End() { - return (EReference)participantPropertyEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPropertySpecificType() { - return propertySpecificTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getPropertySpecificType_Base_Classifier() { - return (EReference)propertySpecificTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getValueType() { - return valueTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getValueType_Base_DataType() { - return (EReference)valueTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getValueType_QuantityKind() { - return (EReference)valueTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getValueType_Unit() { - return (EReference)valueTypeEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getDirectedRelationshipPropertyPath() { - return directedRelationshipPropertyPathEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDirectedRelationshipPropertyPath_Base_DirectedRelationship() { - return (EReference)directedRelationshipPropertyPathEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDirectedRelationshipPropertyPath_SourceContext() { - return (EReference)directedRelationshipPropertyPathEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDirectedRelationshipPropertyPath_SourcePropertyPath() { - return (EReference)directedRelationshipPropertyPathEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDirectedRelationshipPropertyPath_TargetContext() { - return (EReference)directedRelationshipPropertyPathEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDirectedRelationshipPropertyPath_TargetPropertyPath() { - return (EReference)directedRelationshipPropertyPathEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BlocksFactory getBlocksFactory() { - return (BlocksFactory)getEFactoryInstance(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - adjunctPropertyEClass = createEClass(ADJUNCT_PROPERTY); - createEReference(adjunctPropertyEClass, ADJUNCT_PROPERTY__BASE_PROPERTY); - createEReference(adjunctPropertyEClass, ADJUNCT_PROPERTY__PRINCIPAL); - - bindingConnectorEClass = createEClass(BINDING_CONNECTOR); - createEReference(bindingConnectorEClass, BINDING_CONNECTOR__BASE_CONNECTOR); - - blockEClass = createEClass(BLOCK); - createEReference(blockEClass, BLOCK__BASE_CLASS); - createEAttribute(blockEClass, BLOCK__IS_ENCAPSULATED); - createEOperation(blockEClass, BLOCK___GET_REFERENCES); - createEOperation(blockEClass, BLOCK___GET_PARTS); - createEOperation(blockEClass, BLOCK___GET_FLOW_PROPERTIES); - - boundReferenceEClass = createEClass(BOUND_REFERENCE); - createEReference(boundReferenceEClass, BOUND_REFERENCE__BINDING_PATH); - createEReference(boundReferenceEClass, BOUND_REFERENCE__BOUND_END); - - endPathMultiplicityEClass = createEClass(END_PATH_MULTIPLICITY); - createEReference(endPathMultiplicityEClass, END_PATH_MULTIPLICITY__BASE_PROPERTY); - createEAttribute(endPathMultiplicityEClass, END_PATH_MULTIPLICITY__LOWER); - createEAttribute(endPathMultiplicityEClass, END_PATH_MULTIPLICITY__UPPER); - - classifierBehaviorPropertyEClass = createEClass(CLASSIFIER_BEHAVIOR_PROPERTY); - createEReference(classifierBehaviorPropertyEClass, CLASSIFIER_BEHAVIOR_PROPERTY__BASE_PROPERTY); - - connectorPropertyEClass = createEClass(CONNECTOR_PROPERTY); - createEReference(connectorPropertyEClass, CONNECTOR_PROPERTY__BASE_PROPERTY); - createEReference(connectorPropertyEClass, CONNECTOR_PROPERTY__CONNECTOR); - - distributedPropertyEClass = createEClass(DISTRIBUTED_PROPERTY); - createEReference(distributedPropertyEClass, DISTRIBUTED_PROPERTY__BASE_PROPERTY); - - elementPropertyPathEClass = createEClass(ELEMENT_PROPERTY_PATH); - createEReference(elementPropertyPathEClass, ELEMENT_PROPERTY_PATH__BASE_ELEMENT); - createEReference(elementPropertyPathEClass, ELEMENT_PROPERTY_PATH__PROPERTY_PATH); - - nestedConnectorEndEClass = createEClass(NESTED_CONNECTOR_END); - createEReference(nestedConnectorEndEClass, NESTED_CONNECTOR_END__BASE_CONNECTOR_END); - - participantPropertyEClass = createEClass(PARTICIPANT_PROPERTY); - createEReference(participantPropertyEClass, PARTICIPANT_PROPERTY__BASE_PROPERTY); - createEReference(participantPropertyEClass, PARTICIPANT_PROPERTY__END); - - propertySpecificTypeEClass = createEClass(PROPERTY_SPECIFIC_TYPE); - createEReference(propertySpecificTypeEClass, PROPERTY_SPECIFIC_TYPE__BASE_CLASSIFIER); - - valueTypeEClass = createEClass(VALUE_TYPE); - createEReference(valueTypeEClass, VALUE_TYPE__BASE_DATA_TYPE); - createEReference(valueTypeEClass, VALUE_TYPE__QUANTITY_KIND); - createEReference(valueTypeEClass, VALUE_TYPE__UNIT); - - directedRelationshipPropertyPathEClass = createEClass(DIRECTED_RELATIONSHIP_PROPERTY_PATH); - createEReference(directedRelationshipPropertyPathEClass, DIRECTED_RELATIONSHIP_PROPERTY_PATH__BASE_DIRECTED_RELATIONSHIP); - createEReference(directedRelationshipPropertyPathEClass, DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_CONTEXT); - createEReference(directedRelationshipPropertyPathEClass, DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_PROPERTY_PATH); - createEReference(directedRelationshipPropertyPathEClass, DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_CONTEXT); - createEReference(directedRelationshipPropertyPathEClass, DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_PROPERTY_PATH); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); - TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - boundReferenceEClass.getESuperTypes().add(this.getEndPathMultiplicity()); - nestedConnectorEndEClass.getESuperTypes().add(this.getElementPropertyPath()); - - // Initialize classes, features, and operations; add parameters - initEClass(adjunctPropertyEClass, AdjunctProperty.class, "AdjunctProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getAdjunctProperty_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 0, 1, AdjunctProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getAdjunctProperty_Principal(), theUMLPackage.getElement(), null, "principal", null, 1, 1, AdjunctProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(bindingConnectorEClass, BindingConnector.class, "BindingConnector", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getBindingConnector_Base_Connector(), theUMLPackage.getConnector(), null, "base_Connector", null, 0, 1, BindingConnector.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(blockEClass, Block.class, "Block", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getBlock_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, Block.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getBlock_IsEncapsulated(), theTypesPackage.getBoolean(), "isEncapsulated", null, 0, 1, Block.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEOperation(getBlock__GetReferences(), theUMLPackage.getProperty(), "getReferences", 0, -1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - - initEOperation(getBlock__GetParts(), theUMLPackage.getProperty(), "getParts", 0, -1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - - initEOperation(getBlock__GetFlowProperties(), theUMLPackage.getProperty(), "getFlowProperties", 0, -1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(boundReferenceEClass, BoundReference.class, "BoundReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getBoundReference_BindingPath(), theUMLPackage.getProperty(), null, "bindingPath", null, 1, -1, BoundReference.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getBoundReference_BoundEnd(), theUMLPackage.getConnectorEnd(), null, "boundEnd", null, 1, 1, BoundReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(endPathMultiplicityEClass, EndPathMultiplicity.class, "EndPathMultiplicity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getEndPathMultiplicity_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 0, 1, EndPathMultiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getEndPathMultiplicity_Lower(), theTypesPackage.getInteger(), "lower", "0", 0, 1, EndPathMultiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ - initEAttribute(getEndPathMultiplicity_Upper(), theTypesPackage.getUnlimitedNatural(), "upper", "-1", 0, 1, EndPathMultiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ - - initEClass(classifierBehaviorPropertyEClass, ClassifierBehaviorProperty.class, "ClassifierBehaviorProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getClassifierBehaviorProperty_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 0, 1, ClassifierBehaviorProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(connectorPropertyEClass, ConnectorProperty.class, "ConnectorProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getConnectorProperty_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 0, 1, ConnectorProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getConnectorProperty_Connector(), theUMLPackage.getConnector(), null, "connector", null, 1, 1, ConnectorProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(distributedPropertyEClass, DistributedProperty.class, "DistributedProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getDistributedProperty_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 0, 1, DistributedProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(elementPropertyPathEClass, ElementPropertyPath.class, "ElementPropertyPath", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getElementPropertyPath_Base_Element(), theUMLPackage.getElement(), null, "base_Element", null, 0, 1, ElementPropertyPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getElementPropertyPath_PropertyPath(), theUMLPackage.getProperty(), null, "propertyPath", null, 1, -1, ElementPropertyPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(nestedConnectorEndEClass, NestedConnectorEnd.class, "NestedConnectorEnd", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getNestedConnectorEnd_Base_ConnectorEnd(), theUMLPackage.getConnectorEnd(), null, "base_ConnectorEnd", null, 0, 1, NestedConnectorEnd.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(participantPropertyEClass, ParticipantProperty.class, "ParticipantProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getParticipantProperty_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 0, 1, ParticipantProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getParticipantProperty_End(), theUMLPackage.getProperty(), null, "end", null, 1, 1, ParticipantProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(propertySpecificTypeEClass, PropertySpecificType.class, "PropertySpecificType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getPropertySpecificType_Base_Classifier(), theUMLPackage.getClassifier(), null, "base_Classifier", null, 0, 1, PropertySpecificType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(valueTypeEClass, ValueType.class, "ValueType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getValueType_Base_DataType(), theUMLPackage.getDataType(), null, "base_DataType", null, 0, 1, ValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getValueType_QuantityKind(), theUMLPackage.getInstanceSpecification(), null, "quantityKind", null, 0, 1, ValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getValueType_Unit(), theUMLPackage.getInstanceSpecification(), null, "unit", null, 0, 1, ValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(directedRelationshipPropertyPathEClass, DirectedRelationshipPropertyPath.class, "DirectedRelationshipPropertyPath", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getDirectedRelationshipPropertyPath_Base_DirectedRelationship(), theUMLPackage.getDirectedRelationship(), null, "base_DirectedRelationship", null, 0, 1, DirectedRelationshipPropertyPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getDirectedRelationshipPropertyPath_SourceContext(), theUMLPackage.getClassifier(), null, "sourceContext", null, 0, 1, DirectedRelationshipPropertyPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getDirectedRelationshipPropertyPath_SourcePropertyPath(), theUMLPackage.getProperty(), null, "sourcePropertyPath", null, 0, -1, DirectedRelationshipPropertyPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getDirectedRelationshipPropertyPath_TargetContext(), theUMLPackage.getClassifier(), null, "targetContext", null, 0, 1, DirectedRelationshipPropertyPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getDirectedRelationshipPropertyPath_TargetPropertyPath(), theUMLPackage.getProperty(), null, "targetPropertyPath", null, 0, -1, DirectedRelationshipPropertyPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - // Create annotations - // http://www.eclipse.org/uml2/2.0.0/UML - createUMLAnnotations(); - } - - /** - * Initializes the annotations for <b>http://www.eclipse.org/uml2/2.0.0/UML</b>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void createUMLAnnotations() { - String source = "http://www.eclipse.org/uml2/2.0.0/UML"; //$NON-NLS-1$ - addAnnotation - (this, - source, - new String[] { - "originalName", "Blocks" //$NON-NLS-1$ //$NON-NLS-2$ - }); - } - -} //BlocksPackageImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/BoundReferenceImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/BoundReferenceImpl.java deleted file mode 100644 index 85265a9..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/BoundReferenceImpl.java +++ /dev/null
@@ -1,215 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.blocks.BoundReference; - -import org.eclipse.uml2.uml.ConnectorEnd; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Bound Reference</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.BoundReferenceImpl#getBindingPath <em>Binding Path</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.BoundReferenceImpl#getBoundEnd <em>Bound End</em>}</li> - * </ul> - * - * @generated - */ -public class BoundReferenceImpl extends EndPathMultiplicityImpl implements BoundReference { - /** - * The cached value of the '{@link #getBoundEnd() <em>Bound End</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBoundEnd() - * @generated - * @ordered - */ - protected ConnectorEnd boundEnd; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected BoundReferenceImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return BlocksPackage.Literals.BOUND_REFERENCE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Property> getBindingPath() { - // TODO: implement this method to return the 'Binding Path' reference list - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Property getBindingPath(String name, Type type) { - return getBindingPath(name, type, false, null); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Property getBindingPath(String name, Type type, boolean ignoreCase, EClass eClass) { - bindingPathLoop: for (Property bindingPath : getBindingPath()) { - if (eClass != null && !eClass.isInstance(bindingPath)) - continue bindingPathLoop; - if (name != null && !(ignoreCase ? name.equalsIgnoreCase(bindingPath.getName()) : name.equals(bindingPath.getName()))) - continue bindingPathLoop; - if (type != null && !type.equals(bindingPath.getType())) - continue bindingPathLoop; - return bindingPath; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ConnectorEnd getBoundEnd() { - if (boundEnd != null && boundEnd.eIsProxy()) { - InternalEObject oldBoundEnd = (InternalEObject)boundEnd; - boundEnd = (ConnectorEnd)eResolveProxy(oldBoundEnd); - if (boundEnd != oldBoundEnd) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.BOUND_REFERENCE__BOUND_END, oldBoundEnd, boundEnd)); - } - } - return boundEnd; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ConnectorEnd basicGetBoundEnd() { - return boundEnd; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBoundEnd(ConnectorEnd newBoundEnd) { - ConnectorEnd oldBoundEnd = boundEnd; - boundEnd = newBoundEnd; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.BOUND_REFERENCE__BOUND_END, oldBoundEnd, boundEnd)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case BlocksPackage.BOUND_REFERENCE__BINDING_PATH: - return getBindingPath(); - case BlocksPackage.BOUND_REFERENCE__BOUND_END: - if (resolve) return getBoundEnd(); - return basicGetBoundEnd(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case BlocksPackage.BOUND_REFERENCE__BOUND_END: - setBoundEnd((ConnectorEnd)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case BlocksPackage.BOUND_REFERENCE__BOUND_END: - setBoundEnd((ConnectorEnd)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case BlocksPackage.BOUND_REFERENCE__BINDING_PATH: - return !getBindingPath().isEmpty(); - case BlocksPackage.BOUND_REFERENCE__BOUND_END: - return boundEnd != null; - } - return super.eIsSet(featureID); - } - -} //BoundReferenceImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/ClassifierBehaviorPropertyImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/ClassifierBehaviorPropertyImpl.java deleted file mode 100644 index 3c02575..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/ClassifierBehaviorPropertyImpl.java +++ /dev/null
@@ -1,168 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.blocks.ClassifierBehaviorProperty; - -import org.eclipse.uml2.uml.Property; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Classifier Behavior Property</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.ClassifierBehaviorPropertyImpl#getBase_Property <em>Base Property</em>}</li> - * </ul> - * - * @generated - */ -public class ClassifierBehaviorPropertyImpl extends MinimalEObjectImpl.Container implements ClassifierBehaviorProperty { - /** - * The cached value of the '{@link #getBase_Property() <em>Base Property</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Property() - * @generated - * @ordered - */ - protected Property base_Property; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ClassifierBehaviorPropertyImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return BlocksPackage.Literals.CLASSIFIER_BEHAVIOR_PROPERTY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Property getBase_Property() { - if (base_Property != null && base_Property.eIsProxy()) { - InternalEObject oldBase_Property = (InternalEObject)base_Property; - base_Property = (Property)eResolveProxy(oldBase_Property); - if (base_Property != oldBase_Property) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.CLASSIFIER_BEHAVIOR_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property)); - } - } - return base_Property; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Property basicGetBase_Property() { - return base_Property; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Property(Property newBase_Property) { - Property oldBase_Property = base_Property; - base_Property = newBase_Property; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.CLASSIFIER_BEHAVIOR_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case BlocksPackage.CLASSIFIER_BEHAVIOR_PROPERTY__BASE_PROPERTY: - if (resolve) return getBase_Property(); - return basicGetBase_Property(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case BlocksPackage.CLASSIFIER_BEHAVIOR_PROPERTY__BASE_PROPERTY: - setBase_Property((Property)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case BlocksPackage.CLASSIFIER_BEHAVIOR_PROPERTY__BASE_PROPERTY: - setBase_Property((Property)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case BlocksPackage.CLASSIFIER_BEHAVIOR_PROPERTY__BASE_PROPERTY: - return base_Property != null; - } - return super.eIsSet(featureID); - } - -} //ClassifierBehaviorPropertyImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/ConnectorPropertyImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/ConnectorPropertyImpl.java deleted file mode 100644 index 6cf94f6..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/ConnectorPropertyImpl.java +++ /dev/null
@@ -1,229 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.blocks.ConnectorProperty; - -import org.eclipse.uml2.uml.Connector; -import org.eclipse.uml2.uml.Property; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Connector Property</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.ConnectorPropertyImpl#getBase_Property <em>Base Property</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.ConnectorPropertyImpl#getConnector <em>Connector</em>}</li> - * </ul> - * - * @generated - */ -public class ConnectorPropertyImpl extends MinimalEObjectImpl.Container implements ConnectorProperty { - /** - * The cached value of the '{@link #getBase_Property() <em>Base Property</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Property() - * @generated - * @ordered - */ - protected Property base_Property; - - /** - * The cached value of the '{@link #getConnector() <em>Connector</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getConnector() - * @generated - * @ordered - */ - protected Connector connector; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ConnectorPropertyImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return BlocksPackage.Literals.CONNECTOR_PROPERTY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Property getBase_Property() { - if (base_Property != null && base_Property.eIsProxy()) { - InternalEObject oldBase_Property = (InternalEObject)base_Property; - base_Property = (Property)eResolveProxy(oldBase_Property); - if (base_Property != oldBase_Property) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.CONNECTOR_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property)); - } - } - return base_Property; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Property basicGetBase_Property() { - return base_Property; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Property(Property newBase_Property) { - Property oldBase_Property = base_Property; - base_Property = newBase_Property; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.CONNECTOR_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Connector getConnector() { - if (connector != null && connector.eIsProxy()) { - InternalEObject oldConnector = (InternalEObject)connector; - connector = (Connector)eResolveProxy(oldConnector); - if (connector != oldConnector) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.CONNECTOR_PROPERTY__CONNECTOR, oldConnector, connector)); - } - } - return connector; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Connector basicGetConnector() { - return connector; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setConnector(Connector newConnector) { - Connector oldConnector = connector; - connector = newConnector; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.CONNECTOR_PROPERTY__CONNECTOR, oldConnector, connector)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case BlocksPackage.CONNECTOR_PROPERTY__BASE_PROPERTY: - if (resolve) return getBase_Property(); - return basicGetBase_Property(); - case BlocksPackage.CONNECTOR_PROPERTY__CONNECTOR: - if (resolve) return getConnector(); - return basicGetConnector(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case BlocksPackage.CONNECTOR_PROPERTY__BASE_PROPERTY: - setBase_Property((Property)newValue); - return; - case BlocksPackage.CONNECTOR_PROPERTY__CONNECTOR: - setConnector((Connector)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case BlocksPackage.CONNECTOR_PROPERTY__BASE_PROPERTY: - setBase_Property((Property)null); - return; - case BlocksPackage.CONNECTOR_PROPERTY__CONNECTOR: - setConnector((Connector)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case BlocksPackage.CONNECTOR_PROPERTY__BASE_PROPERTY: - return base_Property != null; - case BlocksPackage.CONNECTOR_PROPERTY__CONNECTOR: - return connector != null; - } - return super.eIsSet(featureID); - } - -} //ConnectorPropertyImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/DirectedRelationshipPropertyPathImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/DirectedRelationshipPropertyPathImpl.java deleted file mode 100644 index cd2261c..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/DirectedRelationshipPropertyPathImpl.java +++ /dev/null
@@ -1,420 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.internal.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectResolvingEList; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath; - -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.DirectedRelationship; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Directed Relationship Property Path</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.DirectedRelationshipPropertyPathImpl#getBase_DirectedRelationship <em>Base Directed Relationship</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.DirectedRelationshipPropertyPathImpl#getSourceContext <em>Source Context</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.DirectedRelationshipPropertyPathImpl#getSourcePropertyPath <em>Source Property Path</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.DirectedRelationshipPropertyPathImpl#getTargetContext <em>Target Context</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.DirectedRelationshipPropertyPathImpl#getTargetPropertyPath <em>Target Property Path</em>}</li> - * </ul> - * - * @generated - */ -public abstract class DirectedRelationshipPropertyPathImpl extends MinimalEObjectImpl.Container implements DirectedRelationshipPropertyPath { - /** - * The cached value of the '{@link #getBase_DirectedRelationship() <em>Base Directed Relationship</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_DirectedRelationship() - * @generated - * @ordered - */ - protected DirectedRelationship base_DirectedRelationship; - - /** - * The cached value of the '{@link #getSourceContext() <em>Source Context</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSourceContext() - * @generated - * @ordered - */ - protected Classifier sourceContext; - - /** - * The cached value of the '{@link #getSourcePropertyPath() <em>Source Property Path</em>}' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSourcePropertyPath() - * @generated - * @ordered - */ - protected EList<Property> sourcePropertyPath; - - /** - * The cached value of the '{@link #getTargetContext() <em>Target Context</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTargetContext() - * @generated - * @ordered - */ - protected Classifier targetContext; - - /** - * The cached value of the '{@link #getTargetPropertyPath() <em>Target Property Path</em>}' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTargetPropertyPath() - * @generated - * @ordered - */ - protected EList<Property> targetPropertyPath; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected DirectedRelationshipPropertyPathImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return BlocksPackage.Literals.DIRECTED_RELATIONSHIP_PROPERTY_PATH; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DirectedRelationship getBase_DirectedRelationship() { - if (base_DirectedRelationship != null && base_DirectedRelationship.eIsProxy()) { - InternalEObject oldBase_DirectedRelationship = (InternalEObject)base_DirectedRelationship; - base_DirectedRelationship = (DirectedRelationship)eResolveProxy(oldBase_DirectedRelationship); - if (base_DirectedRelationship != oldBase_DirectedRelationship) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__BASE_DIRECTED_RELATIONSHIP, oldBase_DirectedRelationship, base_DirectedRelationship)); - } - } - return base_DirectedRelationship; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DirectedRelationship basicGetBase_DirectedRelationship() { - return base_DirectedRelationship; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_DirectedRelationship(DirectedRelationship newBase_DirectedRelationship) { - DirectedRelationship oldBase_DirectedRelationship = base_DirectedRelationship; - base_DirectedRelationship = newBase_DirectedRelationship; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__BASE_DIRECTED_RELATIONSHIP, oldBase_DirectedRelationship, base_DirectedRelationship)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Classifier getSourceContext() { - if (sourceContext != null && sourceContext.eIsProxy()) { - InternalEObject oldSourceContext = (InternalEObject)sourceContext; - sourceContext = (Classifier)eResolveProxy(oldSourceContext); - if (sourceContext != oldSourceContext) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_CONTEXT, oldSourceContext, sourceContext)); - } - } - return sourceContext; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Classifier basicGetSourceContext() { - return sourceContext; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSourceContext(Classifier newSourceContext) { - Classifier oldSourceContext = sourceContext; - sourceContext = newSourceContext; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_CONTEXT, oldSourceContext, sourceContext)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Property> getSourcePropertyPath() { - if (sourcePropertyPath == null) { - sourcePropertyPath = new EObjectResolvingEList<Property>(Property.class, this, BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_PROPERTY_PATH); - } - return sourcePropertyPath; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Property getSourcePropertyPath(String name, Type type) { - return getSourcePropertyPath(name, type, false, null); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Property getSourcePropertyPath(String name, Type type, boolean ignoreCase, EClass eClass) { - sourcePropertyPathLoop: for (Property sourcePropertyPath : getSourcePropertyPath()) { - if (eClass != null && !eClass.isInstance(sourcePropertyPath)) - continue sourcePropertyPathLoop; - if (name != null && !(ignoreCase ? name.equalsIgnoreCase(sourcePropertyPath.getName()) : name.equals(sourcePropertyPath.getName()))) - continue sourcePropertyPathLoop; - if (type != null && !type.equals(sourcePropertyPath.getType())) - continue sourcePropertyPathLoop; - return sourcePropertyPath; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Classifier getTargetContext() { - if (targetContext != null && targetContext.eIsProxy()) { - InternalEObject oldTargetContext = (InternalEObject)targetContext; - targetContext = (Classifier)eResolveProxy(oldTargetContext); - if (targetContext != oldTargetContext) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_CONTEXT, oldTargetContext, targetContext)); - } - } - return targetContext; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Classifier basicGetTargetContext() { - return targetContext; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setTargetContext(Classifier newTargetContext) { - Classifier oldTargetContext = targetContext; - targetContext = newTargetContext; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_CONTEXT, oldTargetContext, targetContext)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Property> getTargetPropertyPath() { - if (targetPropertyPath == null) { - targetPropertyPath = new EObjectResolvingEList<Property>(Property.class, this, BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_PROPERTY_PATH); - } - return targetPropertyPath; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Property getTargetPropertyPath(String name, Type type) { - return getTargetPropertyPath(name, type, false, null); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Property getTargetPropertyPath(String name, Type type, boolean ignoreCase, EClass eClass) { - targetPropertyPathLoop: for (Property targetPropertyPath : getTargetPropertyPath()) { - if (eClass != null && !eClass.isInstance(targetPropertyPath)) - continue targetPropertyPathLoop; - if (name != null && !(ignoreCase ? name.equalsIgnoreCase(targetPropertyPath.getName()) : name.equals(targetPropertyPath.getName()))) - continue targetPropertyPathLoop; - if (type != null && !type.equals(targetPropertyPath.getType())) - continue targetPropertyPathLoop; - return targetPropertyPath; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__BASE_DIRECTED_RELATIONSHIP: - if (resolve) return getBase_DirectedRelationship(); - return basicGetBase_DirectedRelationship(); - case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_CONTEXT: - if (resolve) return getSourceContext(); - return basicGetSourceContext(); - case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_PROPERTY_PATH: - return getSourcePropertyPath(); - case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_CONTEXT: - if (resolve) return getTargetContext(); - return basicGetTargetContext(); - case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_PROPERTY_PATH: - return getTargetPropertyPath(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__BASE_DIRECTED_RELATIONSHIP: - setBase_DirectedRelationship((DirectedRelationship)newValue); - return; - case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_CONTEXT: - setSourceContext((Classifier)newValue); - return; - case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_PROPERTY_PATH: - getSourcePropertyPath().clear(); - getSourcePropertyPath().addAll((Collection<? extends Property>)newValue); - return; - case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_CONTEXT: - setTargetContext((Classifier)newValue); - return; - case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_PROPERTY_PATH: - getTargetPropertyPath().clear(); - getTargetPropertyPath().addAll((Collection<? extends Property>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__BASE_DIRECTED_RELATIONSHIP: - setBase_DirectedRelationship((DirectedRelationship)null); - return; - case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_CONTEXT: - setSourceContext((Classifier)null); - return; - case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_PROPERTY_PATH: - getSourcePropertyPath().clear(); - return; - case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_CONTEXT: - setTargetContext((Classifier)null); - return; - case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_PROPERTY_PATH: - getTargetPropertyPath().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__BASE_DIRECTED_RELATIONSHIP: - return base_DirectedRelationship != null; - case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_CONTEXT: - return sourceContext != null; - case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_PROPERTY_PATH: - return sourcePropertyPath != null && !sourcePropertyPath.isEmpty(); - case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_CONTEXT: - return targetContext != null; - case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_PROPERTY_PATH: - return targetPropertyPath != null && !targetPropertyPath.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //DirectedRelationshipPropertyPathImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/DistributedPropertyImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/DistributedPropertyImpl.java deleted file mode 100644 index f18281f..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/DistributedPropertyImpl.java +++ /dev/null
@@ -1,168 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.blocks.DistributedProperty; - -import org.eclipse.uml2.uml.Property; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Distributed Property</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.DistributedPropertyImpl#getBase_Property <em>Base Property</em>}</li> - * </ul> - * - * @generated - */ -public class DistributedPropertyImpl extends MinimalEObjectImpl.Container implements DistributedProperty { - /** - * The cached value of the '{@link #getBase_Property() <em>Base Property</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Property() - * @generated - * @ordered - */ - protected Property base_Property; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected DistributedPropertyImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return BlocksPackage.Literals.DISTRIBUTED_PROPERTY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Property getBase_Property() { - if (base_Property != null && base_Property.eIsProxy()) { - InternalEObject oldBase_Property = (InternalEObject)base_Property; - base_Property = (Property)eResolveProxy(oldBase_Property); - if (base_Property != oldBase_Property) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.DISTRIBUTED_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property)); - } - } - return base_Property; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Property basicGetBase_Property() { - return base_Property; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Property(Property newBase_Property) { - Property oldBase_Property = base_Property; - base_Property = newBase_Property; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.DISTRIBUTED_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case BlocksPackage.DISTRIBUTED_PROPERTY__BASE_PROPERTY: - if (resolve) return getBase_Property(); - return basicGetBase_Property(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case BlocksPackage.DISTRIBUTED_PROPERTY__BASE_PROPERTY: - setBase_Property((Property)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case BlocksPackage.DISTRIBUTED_PROPERTY__BASE_PROPERTY: - setBase_Property((Property)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case BlocksPackage.DISTRIBUTED_PROPERTY__BASE_PROPERTY: - return base_Property != null; - } - return super.eIsSet(featureID); - } - -} //DistributedPropertyImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/ElementPropertyPathImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/ElementPropertyPathImpl.java deleted file mode 100644 index c9098e6..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/ElementPropertyPathImpl.java +++ /dev/null
@@ -1,238 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.internal.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectResolvingEList; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.blocks.ElementPropertyPath; - -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Element Property Path</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.ElementPropertyPathImpl#getBase_Element <em>Base Element</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.ElementPropertyPathImpl#getPropertyPath <em>Property Path</em>}</li> - * </ul> - * - * @generated - */ -public abstract class ElementPropertyPathImpl extends MinimalEObjectImpl.Container implements ElementPropertyPath { - /** - * The cached value of the '{@link #getBase_Element() <em>Base Element</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Element() - * @generated - * @ordered - */ - protected Element base_Element; - - /** - * The cached value of the '{@link #getPropertyPath() <em>Property Path</em>}' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPropertyPath() - * @generated - * @ordered - */ - protected EList<Property> propertyPath; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ElementPropertyPathImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return BlocksPackage.Literals.ELEMENT_PROPERTY_PATH; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Element getBase_Element() { - if (base_Element != null && base_Element.eIsProxy()) { - InternalEObject oldBase_Element = (InternalEObject)base_Element; - base_Element = (Element)eResolveProxy(oldBase_Element); - if (base_Element != oldBase_Element) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.ELEMENT_PROPERTY_PATH__BASE_ELEMENT, oldBase_Element, base_Element)); - } - } - return base_Element; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Element basicGetBase_Element() { - return base_Element; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Element(Element newBase_Element) { - Element oldBase_Element = base_Element; - base_Element = newBase_Element; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.ELEMENT_PROPERTY_PATH__BASE_ELEMENT, oldBase_Element, base_Element)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Property> getPropertyPath() { - if (propertyPath == null) { - propertyPath = new EObjectResolvingEList<Property>(Property.class, this, BlocksPackage.ELEMENT_PROPERTY_PATH__PROPERTY_PATH); - } - return propertyPath; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Property getPropertyPath(String name, Type type) { - return getPropertyPath(name, type, false, null); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Property getPropertyPath(String name, Type type, boolean ignoreCase, EClass eClass) { - propertyPathLoop: for (Property propertyPath : getPropertyPath()) { - if (eClass != null && !eClass.isInstance(propertyPath)) - continue propertyPathLoop; - if (name != null && !(ignoreCase ? name.equalsIgnoreCase(propertyPath.getName()) : name.equals(propertyPath.getName()))) - continue propertyPathLoop; - if (type != null && !type.equals(propertyPath.getType())) - continue propertyPathLoop; - return propertyPath; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case BlocksPackage.ELEMENT_PROPERTY_PATH__BASE_ELEMENT: - if (resolve) return getBase_Element(); - return basicGetBase_Element(); - case BlocksPackage.ELEMENT_PROPERTY_PATH__PROPERTY_PATH: - return getPropertyPath(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case BlocksPackage.ELEMENT_PROPERTY_PATH__BASE_ELEMENT: - setBase_Element((Element)newValue); - return; - case BlocksPackage.ELEMENT_PROPERTY_PATH__PROPERTY_PATH: - getPropertyPath().clear(); - getPropertyPath().addAll((Collection<? extends Property>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case BlocksPackage.ELEMENT_PROPERTY_PATH__BASE_ELEMENT: - setBase_Element((Element)null); - return; - case BlocksPackage.ELEMENT_PROPERTY_PATH__PROPERTY_PATH: - getPropertyPath().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case BlocksPackage.ELEMENT_PROPERTY_PATH__BASE_ELEMENT: - return base_Element != null; - case BlocksPackage.ELEMENT_PROPERTY_PATH__PROPERTY_PATH: - return propertyPath != null && !propertyPath.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //ElementPropertyPathImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/EndPathMultiplicityImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/EndPathMultiplicityImpl.java deleted file mode 100644 index d172ded..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/EndPathMultiplicityImpl.java +++ /dev/null
@@ -1,290 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.blocks.EndPathMultiplicity; - -import org.eclipse.uml2.uml.Property; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>End Path Multiplicity</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.EndPathMultiplicityImpl#getBase_Property <em>Base Property</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.EndPathMultiplicityImpl#getLower <em>Lower</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.EndPathMultiplicityImpl#getUpper <em>Upper</em>}</li> - * </ul> - * - * @generated - */ -public class EndPathMultiplicityImpl extends MinimalEObjectImpl.Container implements EndPathMultiplicity { - /** - * The cached value of the '{@link #getBase_Property() <em>Base Property</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Property() - * @generated - * @ordered - */ - protected Property base_Property; - - /** - * The default value of the '{@link #getLower() <em>Lower</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLower() - * @generated - * @ordered - */ - protected static final int LOWER_EDEFAULT = 0; - - /** - * The cached value of the '{@link #getLower() <em>Lower</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLower() - * @generated - * @ordered - */ - protected int lower = LOWER_EDEFAULT; - - /** - * The default value of the '{@link #getUpper() <em>Upper</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getUpper() - * @generated - * @ordered - */ - protected static final int UPPER_EDEFAULT = -1; - - /** - * The cached value of the '{@link #getUpper() <em>Upper</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getUpper() - * @generated - * @ordered - */ - protected int upper = UPPER_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EndPathMultiplicityImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return BlocksPackage.Literals.END_PATH_MULTIPLICITY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Property getBase_Property() { - if (base_Property != null && base_Property.eIsProxy()) { - InternalEObject oldBase_Property = (InternalEObject)base_Property; - base_Property = (Property)eResolveProxy(oldBase_Property); - if (base_Property != oldBase_Property) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.END_PATH_MULTIPLICITY__BASE_PROPERTY, oldBase_Property, base_Property)); - } - } - return base_Property; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Property basicGetBase_Property() { - return base_Property; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Property(Property newBase_Property) { - Property oldBase_Property = base_Property; - base_Property = newBase_Property; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.END_PATH_MULTIPLICITY__BASE_PROPERTY, oldBase_Property, base_Property)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getLower() { - return lower; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLower(int newLower) { - int oldLower = lower; - lower = newLower; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.END_PATH_MULTIPLICITY__LOWER, oldLower, lower)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getUpper() { - return upper; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setUpper(int newUpper) { - int oldUpper = upper; - upper = newUpper; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.END_PATH_MULTIPLICITY__UPPER, oldUpper, upper)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case BlocksPackage.END_PATH_MULTIPLICITY__BASE_PROPERTY: - if (resolve) return getBase_Property(); - return basicGetBase_Property(); - case BlocksPackage.END_PATH_MULTIPLICITY__LOWER: - return getLower(); - case BlocksPackage.END_PATH_MULTIPLICITY__UPPER: - return getUpper(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case BlocksPackage.END_PATH_MULTIPLICITY__BASE_PROPERTY: - setBase_Property((Property)newValue); - return; - case BlocksPackage.END_PATH_MULTIPLICITY__LOWER: - setLower((Integer)newValue); - return; - case BlocksPackage.END_PATH_MULTIPLICITY__UPPER: - setUpper((Integer)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case BlocksPackage.END_PATH_MULTIPLICITY__BASE_PROPERTY: - setBase_Property((Property)null); - return; - case BlocksPackage.END_PATH_MULTIPLICITY__LOWER: - setLower(LOWER_EDEFAULT); - return; - case BlocksPackage.END_PATH_MULTIPLICITY__UPPER: - setUpper(UPPER_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case BlocksPackage.END_PATH_MULTIPLICITY__BASE_PROPERTY: - return base_Property != null; - case BlocksPackage.END_PATH_MULTIPLICITY__LOWER: - return lower != LOWER_EDEFAULT; - case BlocksPackage.END_PATH_MULTIPLICITY__UPPER: - return upper != UPPER_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (lower: "); //$NON-NLS-1$ - result.append(lower); - result.append(", upper: "); //$NON-NLS-1$ - result.append(upper); - result.append(')'); - return result.toString(); - } - -} //EndPathMultiplicityImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/NestedConnectorEndImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/NestedConnectorEndImpl.java deleted file mode 100644 index b8e6e5c..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/NestedConnectorEndImpl.java +++ /dev/null
@@ -1,167 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.blocks.NestedConnectorEnd; - -import org.eclipse.uml2.uml.ConnectorEnd; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Nested Connector End</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.NestedConnectorEndImpl#getBase_ConnectorEnd <em>Base Connector End</em>}</li> - * </ul> - * - * @generated - */ -public class NestedConnectorEndImpl extends ElementPropertyPathImpl implements NestedConnectorEnd { - /** - * The cached value of the '{@link #getBase_ConnectorEnd() <em>Base Connector End</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_ConnectorEnd() - * @generated - * @ordered - */ - protected ConnectorEnd base_ConnectorEnd; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected NestedConnectorEndImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return BlocksPackage.Literals.NESTED_CONNECTOR_END; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ConnectorEnd getBase_ConnectorEnd() { - if (base_ConnectorEnd != null && base_ConnectorEnd.eIsProxy()) { - InternalEObject oldBase_ConnectorEnd = (InternalEObject)base_ConnectorEnd; - base_ConnectorEnd = (ConnectorEnd)eResolveProxy(oldBase_ConnectorEnd); - if (base_ConnectorEnd != oldBase_ConnectorEnd) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.NESTED_CONNECTOR_END__BASE_CONNECTOR_END, oldBase_ConnectorEnd, base_ConnectorEnd)); - } - } - return base_ConnectorEnd; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ConnectorEnd basicGetBase_ConnectorEnd() { - return base_ConnectorEnd; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_ConnectorEnd(ConnectorEnd newBase_ConnectorEnd) { - ConnectorEnd oldBase_ConnectorEnd = base_ConnectorEnd; - base_ConnectorEnd = newBase_ConnectorEnd; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.NESTED_CONNECTOR_END__BASE_CONNECTOR_END, oldBase_ConnectorEnd, base_ConnectorEnd)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case BlocksPackage.NESTED_CONNECTOR_END__BASE_CONNECTOR_END: - if (resolve) return getBase_ConnectorEnd(); - return basicGetBase_ConnectorEnd(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case BlocksPackage.NESTED_CONNECTOR_END__BASE_CONNECTOR_END: - setBase_ConnectorEnd((ConnectorEnd)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case BlocksPackage.NESTED_CONNECTOR_END__BASE_CONNECTOR_END: - setBase_ConnectorEnd((ConnectorEnd)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case BlocksPackage.NESTED_CONNECTOR_END__BASE_CONNECTOR_END: - return base_ConnectorEnd != null; - } - return super.eIsSet(featureID); - } - -} //NestedConnectorEndImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/ParticipantPropertyImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/ParticipantPropertyImpl.java deleted file mode 100644 index c22f175..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/ParticipantPropertyImpl.java +++ /dev/null
@@ -1,228 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.blocks.ParticipantProperty; - -import org.eclipse.uml2.uml.Property; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Participant Property</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.ParticipantPropertyImpl#getBase_Property <em>Base Property</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.ParticipantPropertyImpl#getEnd <em>End</em>}</li> - * </ul> - * - * @generated - */ -public class ParticipantPropertyImpl extends MinimalEObjectImpl.Container implements ParticipantProperty { - /** - * The cached value of the '{@link #getBase_Property() <em>Base Property</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Property() - * @generated - * @ordered - */ - protected Property base_Property; - - /** - * The cached value of the '{@link #getEnd() <em>End</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getEnd() - * @generated - * @ordered - */ - protected Property end; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ParticipantPropertyImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return BlocksPackage.Literals.PARTICIPANT_PROPERTY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Property getBase_Property() { - if (base_Property != null && base_Property.eIsProxy()) { - InternalEObject oldBase_Property = (InternalEObject)base_Property; - base_Property = (Property)eResolveProxy(oldBase_Property); - if (base_Property != oldBase_Property) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.PARTICIPANT_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property)); - } - } - return base_Property; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Property basicGetBase_Property() { - return base_Property; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Property(Property newBase_Property) { - Property oldBase_Property = base_Property; - base_Property = newBase_Property; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.PARTICIPANT_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Property getEnd() { - if (end != null && end.eIsProxy()) { - InternalEObject oldEnd = (InternalEObject)end; - end = (Property)eResolveProxy(oldEnd); - if (end != oldEnd) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.PARTICIPANT_PROPERTY__END, oldEnd, end)); - } - } - return end; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Property basicGetEnd() { - return end; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setEnd(Property newEnd) { - Property oldEnd = end; - end = newEnd; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.PARTICIPANT_PROPERTY__END, oldEnd, end)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case BlocksPackage.PARTICIPANT_PROPERTY__BASE_PROPERTY: - if (resolve) return getBase_Property(); - return basicGetBase_Property(); - case BlocksPackage.PARTICIPANT_PROPERTY__END: - if (resolve) return getEnd(); - return basicGetEnd(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case BlocksPackage.PARTICIPANT_PROPERTY__BASE_PROPERTY: - setBase_Property((Property)newValue); - return; - case BlocksPackage.PARTICIPANT_PROPERTY__END: - setEnd((Property)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case BlocksPackage.PARTICIPANT_PROPERTY__BASE_PROPERTY: - setBase_Property((Property)null); - return; - case BlocksPackage.PARTICIPANT_PROPERTY__END: - setEnd((Property)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case BlocksPackage.PARTICIPANT_PROPERTY__BASE_PROPERTY: - return base_Property != null; - case BlocksPackage.PARTICIPANT_PROPERTY__END: - return end != null; - } - return super.eIsSet(featureID); - } - -} //ParticipantPropertyImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/PropertySpecificTypeImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/PropertySpecificTypeImpl.java deleted file mode 100644 index f827487..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/PropertySpecificTypeImpl.java +++ /dev/null
@@ -1,168 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.blocks.PropertySpecificType; - -import org.eclipse.uml2.uml.Classifier; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Property Specific Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.PropertySpecificTypeImpl#getBase_Classifier <em>Base Classifier</em>}</li> - * </ul> - * - * @generated - */ -public class PropertySpecificTypeImpl extends MinimalEObjectImpl.Container implements PropertySpecificType { - /** - * The cached value of the '{@link #getBase_Classifier() <em>Base Classifier</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Classifier() - * @generated - * @ordered - */ - protected Classifier base_Classifier; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PropertySpecificTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return BlocksPackage.Literals.PROPERTY_SPECIFIC_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Classifier getBase_Classifier() { - if (base_Classifier != null && base_Classifier.eIsProxy()) { - InternalEObject oldBase_Classifier = (InternalEObject)base_Classifier; - base_Classifier = (Classifier)eResolveProxy(oldBase_Classifier); - if (base_Classifier != oldBase_Classifier) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.PROPERTY_SPECIFIC_TYPE__BASE_CLASSIFIER, oldBase_Classifier, base_Classifier)); - } - } - return base_Classifier; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Classifier basicGetBase_Classifier() { - return base_Classifier; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Classifier(Classifier newBase_Classifier) { - Classifier oldBase_Classifier = base_Classifier; - base_Classifier = newBase_Classifier; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.PROPERTY_SPECIFIC_TYPE__BASE_CLASSIFIER, oldBase_Classifier, base_Classifier)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case BlocksPackage.PROPERTY_SPECIFIC_TYPE__BASE_CLASSIFIER: - if (resolve) return getBase_Classifier(); - return basicGetBase_Classifier(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case BlocksPackage.PROPERTY_SPECIFIC_TYPE__BASE_CLASSIFIER: - setBase_Classifier((Classifier)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case BlocksPackage.PROPERTY_SPECIFIC_TYPE__BASE_CLASSIFIER: - setBase_Classifier((Classifier)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case BlocksPackage.PROPERTY_SPECIFIC_TYPE__BASE_CLASSIFIER: - return base_Classifier != null; - } - return super.eIsSet(featureID); - } - -} //PropertySpecificTypeImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/ValueTypeImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/ValueTypeImpl.java deleted file mode 100644 index 8a7c705..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/internal/impl/ValueTypeImpl.java +++ /dev/null
@@ -1,289 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.blocks.ValueType; - -import org.eclipse.uml2.uml.DataType; -import org.eclipse.uml2.uml.InstanceSpecification; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Value Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.ValueTypeImpl#getBase_DataType <em>Base Data Type</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.ValueTypeImpl#getQuantityKind <em>Quantity Kind</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.blocks.internal.impl.ValueTypeImpl#getUnit <em>Unit</em>}</li> - * </ul> - * - * @generated - */ -public class ValueTypeImpl extends MinimalEObjectImpl.Container implements ValueType { - /** - * The cached value of the '{@link #getBase_DataType() <em>Base Data Type</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_DataType() - * @generated - * @ordered - */ - protected DataType base_DataType; - - /** - * The cached value of the '{@link #getQuantityKind() <em>Quantity Kind</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getQuantityKind() - * @generated - * @ordered - */ - protected InstanceSpecification quantityKind; - - /** - * The cached value of the '{@link #getUnit() <em>Unit</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getUnit() - * @generated - * @ordered - */ - protected InstanceSpecification unit; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ValueTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return BlocksPackage.Literals.VALUE_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DataType getBase_DataType() { - if (base_DataType != null && base_DataType.eIsProxy()) { - InternalEObject oldBase_DataType = (InternalEObject)base_DataType; - base_DataType = (DataType)eResolveProxy(oldBase_DataType); - if (base_DataType != oldBase_DataType) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.VALUE_TYPE__BASE_DATA_TYPE, oldBase_DataType, base_DataType)); - } - } - return base_DataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DataType basicGetBase_DataType() { - return base_DataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_DataType(DataType newBase_DataType) { - DataType oldBase_DataType = base_DataType; - base_DataType = newBase_DataType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.VALUE_TYPE__BASE_DATA_TYPE, oldBase_DataType, base_DataType)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public InstanceSpecification getQuantityKind() { - if (quantityKind != null && quantityKind.eIsProxy()) { - InternalEObject oldQuantityKind = (InternalEObject)quantityKind; - quantityKind = (InstanceSpecification)eResolveProxy(oldQuantityKind); - if (quantityKind != oldQuantityKind) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.VALUE_TYPE__QUANTITY_KIND, oldQuantityKind, quantityKind)); - } - } - return quantityKind; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public InstanceSpecification basicGetQuantityKind() { - return quantityKind; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setQuantityKind(InstanceSpecification newQuantityKind) { - InstanceSpecification oldQuantityKind = quantityKind; - quantityKind = newQuantityKind; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.VALUE_TYPE__QUANTITY_KIND, oldQuantityKind, quantityKind)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public InstanceSpecification getUnit() { - if (unit != null && unit.eIsProxy()) { - InternalEObject oldUnit = (InternalEObject)unit; - unit = (InstanceSpecification)eResolveProxy(oldUnit); - if (unit != oldUnit) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, BlocksPackage.VALUE_TYPE__UNIT, oldUnit, unit)); - } - } - return unit; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public InstanceSpecification basicGetUnit() { - return unit; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setUnit(InstanceSpecification newUnit) { - InstanceSpecification oldUnit = unit; - unit = newUnit; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, BlocksPackage.VALUE_TYPE__UNIT, oldUnit, unit)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case BlocksPackage.VALUE_TYPE__BASE_DATA_TYPE: - if (resolve) return getBase_DataType(); - return basicGetBase_DataType(); - case BlocksPackage.VALUE_TYPE__QUANTITY_KIND: - if (resolve) return getQuantityKind(); - return basicGetQuantityKind(); - case BlocksPackage.VALUE_TYPE__UNIT: - if (resolve) return getUnit(); - return basicGetUnit(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case BlocksPackage.VALUE_TYPE__BASE_DATA_TYPE: - setBase_DataType((DataType)newValue); - return; - case BlocksPackage.VALUE_TYPE__QUANTITY_KIND: - setQuantityKind((InstanceSpecification)newValue); - return; - case BlocksPackage.VALUE_TYPE__UNIT: - setUnit((InstanceSpecification)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case BlocksPackage.VALUE_TYPE__BASE_DATA_TYPE: - setBase_DataType((DataType)null); - return; - case BlocksPackage.VALUE_TYPE__QUANTITY_KIND: - setQuantityKind((InstanceSpecification)null); - return; - case BlocksPackage.VALUE_TYPE__UNIT: - setUnit((InstanceSpecification)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case BlocksPackage.VALUE_TYPE__BASE_DATA_TYPE: - return base_DataType != null; - case BlocksPackage.VALUE_TYPE__QUANTITY_KIND: - return quantityKind != null; - case BlocksPackage.VALUE_TYPE__UNIT: - return unit != null; - } - return super.eIsSet(featureID); - } - -} //ValueTypeImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/util/BlocksAdapterFactory.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/util/BlocksAdapterFactory.java deleted file mode 100644 index 75f41a7..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/util/BlocksAdapterFactory.java +++ /dev/null
@@ -1,364 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.papyrus.sysml14.blocks.*; - -/** - * <!-- begin-user-doc --> - * The <b>Adapter Factory</b> for the model. - * It provides an adapter <code>createXXX</code> method for each class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage - * @generated - */ -public class BlocksAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static BlocksPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BlocksAdapterFactory() { - if (modelPackage == null) { - modelPackage = BlocksPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * <!-- begin-user-doc --> - * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. - * <!-- end-user-doc --> - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected BlocksSwitch<Adapter> modelSwitch = - new BlocksSwitch<Adapter>() { - @Override - public Adapter caseAdjunctProperty(AdjunctProperty object) { - return createAdjunctPropertyAdapter(); - } - @Override - public Adapter caseBindingConnector(BindingConnector object) { - return createBindingConnectorAdapter(); - } - @Override - public Adapter caseBlock(Block object) { - return createBlockAdapter(); - } - @Override - public Adapter caseBoundReference(BoundReference object) { - return createBoundReferenceAdapter(); - } - @Override - public Adapter caseEndPathMultiplicity(EndPathMultiplicity object) { - return createEndPathMultiplicityAdapter(); - } - @Override - public Adapter caseClassifierBehaviorProperty(ClassifierBehaviorProperty object) { - return createClassifierBehaviorPropertyAdapter(); - } - @Override - public Adapter caseConnectorProperty(ConnectorProperty object) { - return createConnectorPropertyAdapter(); - } - @Override - public Adapter caseDistributedProperty(DistributedProperty object) { - return createDistributedPropertyAdapter(); - } - @Override - public Adapter caseElementPropertyPath(ElementPropertyPath object) { - return createElementPropertyPathAdapter(); - } - @Override - public Adapter caseNestedConnectorEnd(NestedConnectorEnd object) { - return createNestedConnectorEndAdapter(); - } - @Override - public Adapter caseParticipantProperty(ParticipantProperty object) { - return createParticipantPropertyAdapter(); - } - @Override - public Adapter casePropertySpecificType(PropertySpecificType object) { - return createPropertySpecificTypeAdapter(); - } - @Override - public Adapter caseValueType(ValueType object) { - return createValueTypeAdapter(); - } - @Override - public Adapter caseDirectedRelationshipPropertyPath(DirectedRelationshipPropertyPath object) { - return createDirectedRelationshipPropertyPathAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the <code>target</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param target the object to adapt. - * @return the adapter for the <code>target</code>. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.blocks.AdjunctProperty <em>Adjunct Property</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.blocks.AdjunctProperty - * @generated - */ - public Adapter createAdjunctPropertyAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.blocks.BindingConnector <em>Binding Connector</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.blocks.BindingConnector - * @generated - */ - public Adapter createBindingConnectorAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.blocks.Block <em>Block</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.blocks.Block - * @generated - */ - public Adapter createBlockAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.blocks.BoundReference <em>Bound Reference</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.blocks.BoundReference - * @generated - */ - public Adapter createBoundReferenceAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.blocks.EndPathMultiplicity <em>End Path Multiplicity</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.blocks.EndPathMultiplicity - * @generated - */ - public Adapter createEndPathMultiplicityAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.blocks.ClassifierBehaviorProperty <em>Classifier Behavior Property</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.blocks.ClassifierBehaviorProperty - * @generated - */ - public Adapter createClassifierBehaviorPropertyAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.blocks.ConnectorProperty <em>Connector Property</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.blocks.ConnectorProperty - * @generated - */ - public Adapter createConnectorPropertyAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.blocks.DistributedProperty <em>Distributed Property</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.blocks.DistributedProperty - * @generated - */ - public Adapter createDistributedPropertyAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.blocks.ElementPropertyPath <em>Element Property Path</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.blocks.ElementPropertyPath - * @generated - */ - public Adapter createElementPropertyPathAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.blocks.NestedConnectorEnd <em>Nested Connector End</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.blocks.NestedConnectorEnd - * @generated - */ - public Adapter createNestedConnectorEndAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.blocks.ParticipantProperty <em>Participant Property</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.blocks.ParticipantProperty - * @generated - */ - public Adapter createParticipantPropertyAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.blocks.PropertySpecificType <em>Property Specific Type</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.blocks.PropertySpecificType - * @generated - */ - public Adapter createPropertySpecificTypeAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.blocks.ValueType <em>Value Type</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.blocks.ValueType - * @generated - */ - public Adapter createValueTypeAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath <em>Directed Relationship Property Path</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath - * @generated - */ - public Adapter createDirectedRelationshipPropertyPathAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * <!-- begin-user-doc --> - * This default implementation returns null. - * <!-- end-user-doc --> - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //BlocksAdapterFactory
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/util/BlocksSwitch.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/util/BlocksSwitch.java deleted file mode 100644 index 69caa43..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/blocks/util/BlocksSwitch.java +++ /dev/null
@@ -1,395 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.blocks.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -import org.eclipse.papyrus.sysml14.blocks.*; - -/** - * <!-- begin-user-doc --> - * The <b>Switch</b> for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the <code>caseXXX</code> method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.blocks.BlocksPackage - * @generated - */ -public class BlocksSwitch<T> extends Switch<T> { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static BlocksPackage modelPackage; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BlocksSwitch() { - if (modelPackage == null) { - modelPackage = BlocksPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case BlocksPackage.ADJUNCT_PROPERTY: { - AdjunctProperty adjunctProperty = (AdjunctProperty)theEObject; - T result = caseAdjunctProperty(adjunctProperty); - if (result == null) result = defaultCase(theEObject); - return result; - } - case BlocksPackage.BINDING_CONNECTOR: { - BindingConnector bindingConnector = (BindingConnector)theEObject; - T result = caseBindingConnector(bindingConnector); - if (result == null) result = defaultCase(theEObject); - return result; - } - case BlocksPackage.BLOCK: { - Block block = (Block)theEObject; - T result = caseBlock(block); - if (result == null) result = defaultCase(theEObject); - return result; - } - case BlocksPackage.BOUND_REFERENCE: { - BoundReference boundReference = (BoundReference)theEObject; - T result = caseBoundReference(boundReference); - if (result == null) result = caseEndPathMultiplicity(boundReference); - if (result == null) result = defaultCase(theEObject); - return result; - } - case BlocksPackage.END_PATH_MULTIPLICITY: { - EndPathMultiplicity endPathMultiplicity = (EndPathMultiplicity)theEObject; - T result = caseEndPathMultiplicity(endPathMultiplicity); - if (result == null) result = defaultCase(theEObject); - return result; - } - case BlocksPackage.CLASSIFIER_BEHAVIOR_PROPERTY: { - ClassifierBehaviorProperty classifierBehaviorProperty = (ClassifierBehaviorProperty)theEObject; - T result = caseClassifierBehaviorProperty(classifierBehaviorProperty); - if (result == null) result = defaultCase(theEObject); - return result; - } - case BlocksPackage.CONNECTOR_PROPERTY: { - ConnectorProperty connectorProperty = (ConnectorProperty)theEObject; - T result = caseConnectorProperty(connectorProperty); - if (result == null) result = defaultCase(theEObject); - return result; - } - case BlocksPackage.DISTRIBUTED_PROPERTY: { - DistributedProperty distributedProperty = (DistributedProperty)theEObject; - T result = caseDistributedProperty(distributedProperty); - if (result == null) result = defaultCase(theEObject); - return result; - } - case BlocksPackage.ELEMENT_PROPERTY_PATH: { - ElementPropertyPath elementPropertyPath = (ElementPropertyPath)theEObject; - T result = caseElementPropertyPath(elementPropertyPath); - if (result == null) result = defaultCase(theEObject); - return result; - } - case BlocksPackage.NESTED_CONNECTOR_END: { - NestedConnectorEnd nestedConnectorEnd = (NestedConnectorEnd)theEObject; - T result = caseNestedConnectorEnd(nestedConnectorEnd); - if (result == null) result = caseElementPropertyPath(nestedConnectorEnd); - if (result == null) result = defaultCase(theEObject); - return result; - } - case BlocksPackage.PARTICIPANT_PROPERTY: { - ParticipantProperty participantProperty = (ParticipantProperty)theEObject; - T result = caseParticipantProperty(participantProperty); - if (result == null) result = defaultCase(theEObject); - return result; - } - case BlocksPackage.PROPERTY_SPECIFIC_TYPE: { - PropertySpecificType propertySpecificType = (PropertySpecificType)theEObject; - T result = casePropertySpecificType(propertySpecificType); - if (result == null) result = defaultCase(theEObject); - return result; - } - case BlocksPackage.VALUE_TYPE: { - ValueType valueType = (ValueType)theEObject; - T result = caseValueType(valueType); - if (result == null) result = defaultCase(theEObject); - return result; - } - case BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH: { - DirectedRelationshipPropertyPath directedRelationshipPropertyPath = (DirectedRelationshipPropertyPath)theEObject; - T result = caseDirectedRelationshipPropertyPath(directedRelationshipPropertyPath); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Adjunct Property</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Adjunct Property</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseAdjunctProperty(AdjunctProperty object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Binding Connector</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Binding Connector</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseBindingConnector(BindingConnector object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Block</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Block</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseBlock(Block object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Bound Reference</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Bound Reference</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseBoundReference(BoundReference object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>End Path Multiplicity</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>End Path Multiplicity</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseEndPathMultiplicity(EndPathMultiplicity object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Classifier Behavior Property</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Classifier Behavior Property</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseClassifierBehaviorProperty(ClassifierBehaviorProperty object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Connector Property</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Connector Property</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseConnectorProperty(ConnectorProperty object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Distributed Property</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Distributed Property</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDistributedProperty(DistributedProperty object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Element Property Path</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Element Property Path</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseElementPropertyPath(ElementPropertyPath object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Nested Connector End</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Nested Connector End</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseNestedConnectorEnd(NestedConnectorEnd object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Participant Property</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Participant Property</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseParticipantProperty(ParticipantProperty object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Property Specific Type</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Property Specific Type</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T casePropertySpecificType(PropertySpecificType object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Value Type</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Value Type</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseValueType(ValueType object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Directed Relationship Property Path</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Directed Relationship Property Path</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDirectedRelationshipPropertyPath(DirectedRelationshipPropertyPath object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>EObject</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} //BlocksSwitch
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/ConstraintBlock.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/ConstraintBlock.java deleted file mode 100644 index 4d0e150..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/ConstraintBlock.java +++ /dev/null
@@ -1,44 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.constraintblocks; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.papyrus.sysml14.blocks.Block; -import org.eclipse.uml2.uml.Property; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Constraint Block</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * A constraint block is a block that packages the statement of a constraint so it may be applied in a reusable way to constrain properties of other blocks. A constraint block typically defines one or more constraint parameters, which are bound to properties of other blocks in a surrounding context where the constraint is used. Binding connectors, as defined in Chapter 8: Blocks, are used to bind each parameter of the constraint block to a property in the surrounding context. All properties of a constraint block are constraint parameters, with the exception of constraint properties that hold internally nested usages of other constraint blocks. - * - * <!-- end-model-doc --> - * - * - * @see org.eclipse.papyrus.sysml14.constraintblocks.ConstraintblocksPackage#getConstraintBlock() - * @model - * @generated - */ -public interface ConstraintBlock extends Block { - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @model kind="operation" ordered="false" - * @generated - */ - EList<Property> getParameters(); -} // ConstraintBlock
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/ConstraintblocksFactory.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/ConstraintblocksFactory.java deleted file mode 100644 index a33bcf3..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/ConstraintblocksFactory.java +++ /dev/null
@@ -1,52 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.constraintblocks; - -import org.eclipse.emf.ecore.EFactory; - -/** - * <!-- begin-user-doc --> - * The <b>Factory</b> for the model. - * It provides a create method for each non-abstract class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.constraintblocks.ConstraintblocksPackage - * @generated - */ -public interface ConstraintblocksFactory extends EFactory { - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - ConstraintblocksFactory eINSTANCE = org.eclipse.papyrus.sysml14.constraintblocks.internal.impl.ConstraintblocksFactoryImpl.init(); - - /** - * Returns a new object of class '<em>Constraint Block</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Constraint Block</em>'. - * @generated - */ - ConstraintBlock createConstraintBlock(); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - ConstraintblocksPackage getConstraintblocksPackage(); - -} //ConstraintblocksFactory
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/ConstraintblocksPackage.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/ConstraintblocksPackage.java deleted file mode 100644 index 45cd7fd..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/ConstraintblocksPackage.java +++ /dev/null
@@ -1,216 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.constraintblocks; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EOperation; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; - -/** - * <!-- begin-user-doc --> - * The <b>Package</b> for the model. - * It contains accessors for the meta objects to represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.constraintblocks.ConstraintblocksFactory - * @model kind="package" - * annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='ConstraintBlocks'" - * @generated - */ -public interface ConstraintblocksPackage extends EPackage { - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "constraintblocks"; //$NON-NLS-1$ - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "http://www.eclipse.org/papyrus/sysml/1.4/SysML/ConstraintBlocks"; //$NON-NLS-1$ - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "ConstraintBlocks"; //$NON-NLS-1$ - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - ConstraintblocksPackage eINSTANCE = org.eclipse.papyrus.sysml14.constraintblocks.internal.impl.ConstraintblocksPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.constraintblocks.internal.impl.ConstraintBlockImpl <em>Constraint Block</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.constraintblocks.internal.impl.ConstraintBlockImpl - * @see org.eclipse.papyrus.sysml14.constraintblocks.internal.impl.ConstraintblocksPackageImpl#getConstraintBlock() - * @generated - */ - int CONSTRAINT_BLOCK = 0; - - /** - * The feature id for the '<em><b>Base Class</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CONSTRAINT_BLOCK__BASE_CLASS = BlocksPackage.BLOCK__BASE_CLASS; - - /** - * The feature id for the '<em><b>Is Encapsulated</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CONSTRAINT_BLOCK__IS_ENCAPSULATED = BlocksPackage.BLOCK__IS_ENCAPSULATED; - - /** - * The number of structural features of the '<em>Constraint Block</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CONSTRAINT_BLOCK_FEATURE_COUNT = BlocksPackage.BLOCK_FEATURE_COUNT + 0; - - /** - * The operation id for the '<em>Get References</em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CONSTRAINT_BLOCK___GET_REFERENCES = BlocksPackage.BLOCK___GET_REFERENCES; - - /** - * The operation id for the '<em>Get Parts</em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CONSTRAINT_BLOCK___GET_PARTS = BlocksPackage.BLOCK___GET_PARTS; - - /** - * The operation id for the '<em>Get Flow Properties</em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CONSTRAINT_BLOCK___GET_FLOW_PROPERTIES = BlocksPackage.BLOCK___GET_FLOW_PROPERTIES; - - /** - * The operation id for the '<em>Get Parameters</em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CONSTRAINT_BLOCK___GET_PARAMETERS = BlocksPackage.BLOCK_OPERATION_COUNT + 0; - - /** - * The number of operations of the '<em>Constraint Block</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CONSTRAINT_BLOCK_OPERATION_COUNT = BlocksPackage.BLOCK_OPERATION_COUNT + 1; - - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.constraintblocks.ConstraintBlock <em>Constraint Block</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Constraint Block</em>'. - * @see org.eclipse.papyrus.sysml14.constraintblocks.ConstraintBlock - * @generated - */ - EClass getConstraintBlock(); - - /** - * Returns the meta object for the '{@link org.eclipse.papyrus.sysml14.constraintblocks.ConstraintBlock#getParameters() <em>Get Parameters</em>}' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the '<em>Get Parameters</em>' operation. - * @see org.eclipse.papyrus.sysml14.constraintblocks.ConstraintBlock#getParameters() - * @generated - */ - EOperation getConstraintBlock__GetParameters(); - - /** - * Returns the factory that creates the instances of the model. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the factory that creates the instances of the model. - * @generated - */ - ConstraintblocksFactory getConstraintblocksFactory(); - - /** - * <!-- begin-user-doc --> - * Defines literals for the meta objects that represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.constraintblocks.internal.impl.ConstraintBlockImpl <em>Constraint Block</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.constraintblocks.internal.impl.ConstraintBlockImpl - * @see org.eclipse.papyrus.sysml14.constraintblocks.internal.impl.ConstraintblocksPackageImpl#getConstraintBlock() - * @generated - */ - EClass CONSTRAINT_BLOCK = eINSTANCE.getConstraintBlock(); - /** - * The meta object literal for the '<em><b>Get Parameters</b></em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EOperation CONSTRAINT_BLOCK___GET_PARAMETERS = eINSTANCE.getConstraintBlock__GetParameters(); - - } - -} //ConstraintblocksPackage
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/internal/impl/ConstraintBlockImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/internal/impl/ConstraintBlockImpl.java deleted file mode 100644 index 3efec8c..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/internal/impl/ConstraintBlockImpl.java +++ /dev/null
@@ -1,77 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.constraintblocks.internal.impl; - -import java.lang.reflect.InvocationTargetException; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.papyrus.sysml14.blocks.internal.impl.BlockImpl; - -import org.eclipse.papyrus.sysml14.constraintblocks.ConstraintBlock; -import org.eclipse.papyrus.sysml14.constraintblocks.ConstraintblocksPackage; -import org.eclipse.uml2.uml.Property; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Constraint Block</b></em>'. - * <!-- end-user-doc --> - * - * @generated - */ -public class ConstraintBlockImpl extends BlockImpl implements ConstraintBlock { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ConstraintBlockImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ConstraintblocksPackage.Literals.CONSTRAINT_BLOCK; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Property> getParameters() { - // TODO: implement this method - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { - switch (operationID) { - case ConstraintblocksPackage.CONSTRAINT_BLOCK___GET_PARAMETERS: - return getParameters(); - } - return super.eInvoke(operationID, arguments); - } - -} //ConstraintBlockImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/internal/impl/ConstraintblocksFactoryImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/internal/impl/ConstraintblocksFactoryImpl.java deleted file mode 100644 index ed5ae71..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/internal/impl/ConstraintblocksFactoryImpl.java +++ /dev/null
@@ -1,105 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.constraintblocks.internal.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -import org.eclipse.papyrus.sysml14.constraintblocks.*; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class ConstraintblocksFactoryImpl extends EFactoryImpl implements ConstraintblocksFactory { - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static ConstraintblocksFactory init() { - try { - ConstraintblocksFactory theConstraintblocksFactory = (ConstraintblocksFactory)EPackage.Registry.INSTANCE.getEFactory(ConstraintblocksPackage.eNS_URI); - if (theConstraintblocksFactory != null) { - return theConstraintblocksFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new ConstraintblocksFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ConstraintblocksFactoryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case ConstraintblocksPackage.CONSTRAINT_BLOCK: return createConstraintBlock(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ConstraintBlock createConstraintBlock() { - ConstraintBlockImpl constraintBlock = new ConstraintBlockImpl(); - return constraintBlock; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ConstraintblocksPackage getConstraintblocksPackage() { - return (ConstraintblocksPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - @Deprecated - public static ConstraintblocksPackage getPackage() { - return ConstraintblocksPackage.eINSTANCE; - } - -} //ConstraintblocksFactoryImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/internal/impl/ConstraintblocksPackageImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/internal/impl/ConstraintblocksPackageImpl.java deleted file mode 100644 index ff72f4f..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/internal/impl/ConstraintblocksPackageImpl.java +++ /dev/null
@@ -1,271 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.constraintblocks.internal.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EOperation; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; - -import org.eclipse.papyrus.sysml14.activities.internal.impl.ActivitiesPackageImpl; - -import org.eclipse.papyrus.sysml14.allocations.AllocationsPackage; - -import org.eclipse.papyrus.sysml14.allocations.internal.impl.AllocationsPackageImpl; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; - -import org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl; - -import org.eclipse.papyrus.sysml14.constraintblocks.ConstraintBlock; -import org.eclipse.papyrus.sysml14.constraintblocks.ConstraintblocksFactory; -import org.eclipse.papyrus.sysml14.constraintblocks.ConstraintblocksPackage; - -import org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsPackage; - -import org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.DeprecatedelementsPackageImpl; - -import org.eclipse.papyrus.sysml14.impl.sysmlPackageImpl; -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; - -import org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsPackageImpl; - -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; - -import org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl; - -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; - -import org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsPackageImpl; - -import org.eclipse.papyrus.sysml14.sysmlPackage; -import org.eclipse.uml2.uml.UMLPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class ConstraintblocksPackageImpl extends EPackageImpl implements ConstraintblocksPackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass constraintBlockEClass = null; - - /** - * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.papyrus.sysml14.constraintblocks.ConstraintblocksPackage#eNS_URI - * @see #init() - * @generated - */ - private ConstraintblocksPackageImpl() { - super(eNS_URI, ConstraintblocksFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. - * - * <p>This method is used to initialize {@link ConstraintblocksPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static ConstraintblocksPackage init() { - if (isInited) return (ConstraintblocksPackage)EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI); - - // Obtain or create and register package - ConstraintblocksPackageImpl theConstraintblocksPackage = (ConstraintblocksPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ConstraintblocksPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ConstraintblocksPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - UMLPackage.eINSTANCE.eClass(); - - // Obtain or create and register interdependencies - sysmlPackageImpl thesysmlPackage = (sysmlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(sysmlPackage.eNS_URI) instanceof sysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(sysmlPackage.eNS_URI) : sysmlPackage.eINSTANCE); - ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) : ActivitiesPackage.eINSTANCE); - AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) : AllocationsPackage.eINSTANCE); - BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE); - DeprecatedelementsPackageImpl theDeprecatedelementsPackage = (DeprecatedelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) instanceof DeprecatedelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) : DeprecatedelementsPackage.eINSTANCE); - PortsandflowsPackageImpl thePortsandflowsPackage = (PortsandflowsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) instanceof PortsandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) : PortsandflowsPackage.eINSTANCE); - ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE); - RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE); - - // Create package meta-data objects - theConstraintblocksPackage.createPackageContents(); - thesysmlPackage.createPackageContents(); - theActivitiesPackage.createPackageContents(); - theAllocationsPackage.createPackageContents(); - theBlocksPackage.createPackageContents(); - theDeprecatedelementsPackage.createPackageContents(); - thePortsandflowsPackage.createPackageContents(); - theModelelementsPackage.createPackageContents(); - theRequirementsPackage.createPackageContents(); - - // Initialize created meta-data - theConstraintblocksPackage.initializePackageContents(); - thesysmlPackage.initializePackageContents(); - theActivitiesPackage.initializePackageContents(); - theAllocationsPackage.initializePackageContents(); - theBlocksPackage.initializePackageContents(); - theDeprecatedelementsPackage.initializePackageContents(); - thePortsandflowsPackage.initializePackageContents(); - theModelelementsPackage.initializePackageContents(); - theRequirementsPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theConstraintblocksPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(ConstraintblocksPackage.eNS_URI, theConstraintblocksPackage); - return theConstraintblocksPackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getConstraintBlock() { - return constraintBlockEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EOperation getConstraintBlock__GetParameters() { - return constraintBlockEClass.getEOperations().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ConstraintblocksFactory getConstraintblocksFactory() { - return (ConstraintblocksFactory)getEFactoryInstance(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - constraintBlockEClass = createEClass(CONSTRAINT_BLOCK); - createEOperation(constraintBlockEClass, CONSTRAINT_BLOCK___GET_PARAMETERS); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - BlocksPackage theBlocksPackage = (BlocksPackage)EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI); - UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - constraintBlockEClass.getESuperTypes().add(theBlocksPackage.getBlock()); - - // Initialize classes, features, and operations; add parameters - initEClass(constraintBlockEClass, ConstraintBlock.class, "ConstraintBlock", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - - initEOperation(getConstraintBlock__GetParameters(), theUMLPackage.getProperty(), "getParameters", 0, -1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - - // Create annotations - // http://www.eclipse.org/uml2/2.0.0/UML - createUMLAnnotations(); - } - - /** - * Initializes the annotations for <b>http://www.eclipse.org/uml2/2.0.0/UML</b>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void createUMLAnnotations() { - String source = "http://www.eclipse.org/uml2/2.0.0/UML"; //$NON-NLS-1$ - addAnnotation - (this, - source, - new String[] { - "originalName", "ConstraintBlocks" //$NON-NLS-1$ //$NON-NLS-2$ - }); - } - -} //ConstraintblocksPackageImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/util/ConstraintblocksAdapterFactory.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/util/ConstraintblocksAdapterFactory.java deleted file mode 100644 index 9580441..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/util/ConstraintblocksAdapterFactory.java +++ /dev/null
@@ -1,150 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.constraintblocks.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.papyrus.sysml14.blocks.Block; - -import org.eclipse.papyrus.sysml14.constraintblocks.*; - -/** - * <!-- begin-user-doc --> - * The <b>Adapter Factory</b> for the model. - * It provides an adapter <code>createXXX</code> method for each class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.constraintblocks.ConstraintblocksPackage - * @generated - */ -public class ConstraintblocksAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static ConstraintblocksPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ConstraintblocksAdapterFactory() { - if (modelPackage == null) { - modelPackage = ConstraintblocksPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * <!-- begin-user-doc --> - * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. - * <!-- end-user-doc --> - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ConstraintblocksSwitch<Adapter> modelSwitch = - new ConstraintblocksSwitch<Adapter>() { - @Override - public Adapter caseConstraintBlock(ConstraintBlock object) { - return createConstraintBlockAdapter(); - } - @Override - public Adapter caseBlock(Block object) { - return createBlockAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the <code>target</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param target the object to adapt. - * @return the adapter for the <code>target</code>. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.constraintblocks.ConstraintBlock <em>Constraint Block</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.constraintblocks.ConstraintBlock - * @generated - */ - public Adapter createConstraintBlockAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.blocks.Block <em>Block</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.blocks.Block - * @generated - */ - public Adapter createBlockAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * <!-- begin-user-doc --> - * This default implementation returns null. - * <!-- end-user-doc --> - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //ConstraintblocksAdapterFactory
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/util/ConstraintblocksSwitch.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/util/ConstraintblocksSwitch.java deleted file mode 100644 index ac332a0..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/constraintblocks/util/ConstraintblocksSwitch.java +++ /dev/null
@@ -1,138 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.constraintblocks.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -import org.eclipse.papyrus.sysml14.blocks.Block; - -import org.eclipse.papyrus.sysml14.constraintblocks.*; - -/** - * <!-- begin-user-doc --> - * The <b>Switch</b> for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the <code>caseXXX</code> method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.constraintblocks.ConstraintblocksPackage - * @generated - */ -public class ConstraintblocksSwitch<T> extends Switch<T> { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static ConstraintblocksPackage modelPackage; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ConstraintblocksSwitch() { - if (modelPackage == null) { - modelPackage = ConstraintblocksPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case ConstraintblocksPackage.CONSTRAINT_BLOCK: { - ConstraintBlock constraintBlock = (ConstraintBlock)theEObject; - T result = caseConstraintBlock(constraintBlock); - if (result == null) result = caseBlock(constraintBlock); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Constraint Block</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Constraint Block</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseConstraintBlock(ConstraintBlock object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Block</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Block</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseBlock(Block object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>EObject</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} //ConstraintblocksSwitch
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/DeprecatedelementsFactory.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/DeprecatedelementsFactory.java deleted file mode 100644 index b0ca5c2..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/DeprecatedelementsFactory.java +++ /dev/null
@@ -1,61 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.deprecatedelements; - -import org.eclipse.emf.ecore.EFactory; - -/** - * <!-- begin-user-doc --> - * The <b>Factory</b> for the model. - * It provides a create method for each non-abstract class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsPackage - * @generated - */ -public interface DeprecatedelementsFactory extends EFactory { - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - DeprecatedelementsFactory eINSTANCE = org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.DeprecatedelementsFactoryImpl.init(); - - /** - * Returns a new object of class '<em>Flow Port</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Flow Port</em>'. - * @generated - */ - FlowPort createFlowPort(); - - /** - * Returns a new object of class '<em>Flow Specification</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Flow Specification</em>'. - * @generated - */ - FlowSpecification createFlowSpecification(); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - DeprecatedelementsPackage getDeprecatedelementsPackage(); - -} //DeprecatedelementsFactory
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/DeprecatedelementsPackage.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/DeprecatedelementsPackage.java deleted file mode 100644 index 172c05a..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/DeprecatedelementsPackage.java +++ /dev/null
@@ -1,359 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.deprecatedelements; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EOperation; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * <!-- begin-user-doc --> - * The <b>Package</b> for the model. - * It contains accessors for the meta objects to represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsFactory - * @model kind="package" - * annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='DeprecatedElements'" - * @generated - */ -public interface DeprecatedelementsPackage extends EPackage { - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "deprecatedelements"; //$NON-NLS-1$ - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "http://www.eclipse.org/papyrus/sysml/1.4/SysML/DeprecatedElements"; //$NON-NLS-1$ - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "DeprecatedElements"; //$NON-NLS-1$ - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - DeprecatedelementsPackage eINSTANCE = org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.DeprecatedelementsPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.FlowPortImpl <em>Flow Port</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.FlowPortImpl - * @see org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.DeprecatedelementsPackageImpl#getFlowPort() - * @generated - */ - int FLOW_PORT = 0; - - /** - * The feature id for the '<em><b>Base Port</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FLOW_PORT__BASE_PORT = 0; - - /** - * The feature id for the '<em><b>Direction</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FLOW_PORT__DIRECTION = 1; - - /** - * The feature id for the '<em><b>Is Atomic</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FLOW_PORT__IS_ATOMIC = 2; - - /** - * The number of structural features of the '<em>Flow Port</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FLOW_PORT_FEATURE_COUNT = 3; - - /** - * The operation id for the '<em>Get Icon</em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FLOW_PORT___GET_ICON = 0; - - /** - * The number of operations of the '<em>Flow Port</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FLOW_PORT_OPERATION_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.FlowSpecificationImpl <em>Flow Specification</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.FlowSpecificationImpl - * @see org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.DeprecatedelementsPackageImpl#getFlowSpecification() - * @generated - */ - int FLOW_SPECIFICATION = 1; - - /** - * The feature id for the '<em><b>Base Interface</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FLOW_SPECIFICATION__BASE_INTERFACE = 0; - - /** - * The number of structural features of the '<em>Flow Specification</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FLOW_SPECIFICATION_FEATURE_COUNT = 1; - - /** - * The operation id for the '<em>Get Flow Properties</em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FLOW_SPECIFICATION___GET_FLOW_PROPERTIES = 0; - - /** - * The number of operations of the '<em>Flow Specification</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FLOW_SPECIFICATION_OPERATION_COUNT = 1; - - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort <em>Flow Port</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Flow Port</em>'. - * @see org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort - * @generated - */ - EClass getFlowPort(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort#getBase_Port <em>Base Port</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Port</em>'. - * @see org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort#getBase_Port() - * @see #getFlowPort() - * @generated - */ - EReference getFlowPort_Base_Port(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort#getDirection <em>Direction</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Direction</em>'. - * @see org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort#getDirection() - * @see #getFlowPort() - * @generated - */ - EAttribute getFlowPort_Direction(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort#isAtomic <em>Is Atomic</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Is Atomic</em>'. - * @see org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort#isAtomic() - * @see #getFlowPort() - * @generated - */ - EAttribute getFlowPort_IsAtomic(); - - /** - * Returns the meta object for the '{@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort#getIcon() <em>Get Icon</em>}' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the '<em>Get Icon</em>' operation. - * @see org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort#getIcon() - * @generated - */ - EOperation getFlowPort__GetIcon(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowSpecification <em>Flow Specification</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Flow Specification</em>'. - * @see org.eclipse.papyrus.sysml14.deprecatedelements.FlowSpecification - * @generated - */ - EClass getFlowSpecification(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowSpecification#getBase_Interface <em>Base Interface</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Interface</em>'. - * @see org.eclipse.papyrus.sysml14.deprecatedelements.FlowSpecification#getBase_Interface() - * @see #getFlowSpecification() - * @generated - */ - EReference getFlowSpecification_Base_Interface(); - - /** - * Returns the meta object for the '{@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowSpecification#getFlowProperties() <em>Get Flow Properties</em>}' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the '<em>Get Flow Properties</em>' operation. - * @see org.eclipse.papyrus.sysml14.deprecatedelements.FlowSpecification#getFlowProperties() - * @generated - */ - EOperation getFlowSpecification__GetFlowProperties(); - - /** - * Returns the factory that creates the instances of the model. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the factory that creates the instances of the model. - * @generated - */ - DeprecatedelementsFactory getDeprecatedelementsFactory(); - - /** - * <!-- begin-user-doc --> - * Defines literals for the meta objects that represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.FlowPortImpl <em>Flow Port</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.FlowPortImpl - * @see org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.DeprecatedelementsPackageImpl#getFlowPort() - * @generated - */ - EClass FLOW_PORT = eINSTANCE.getFlowPort(); - - /** - * The meta object literal for the '<em><b>Base Port</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference FLOW_PORT__BASE_PORT = eINSTANCE.getFlowPort_Base_Port(); - - /** - * The meta object literal for the '<em><b>Direction</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute FLOW_PORT__DIRECTION = eINSTANCE.getFlowPort_Direction(); - - /** - * The meta object literal for the '<em><b>Is Atomic</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute FLOW_PORT__IS_ATOMIC = eINSTANCE.getFlowPort_IsAtomic(); - - /** - * The meta object literal for the '<em><b>Get Icon</b></em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EOperation FLOW_PORT___GET_ICON = eINSTANCE.getFlowPort__GetIcon(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.FlowSpecificationImpl <em>Flow Specification</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.FlowSpecificationImpl - * @see org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.DeprecatedelementsPackageImpl#getFlowSpecification() - * @generated - */ - EClass FLOW_SPECIFICATION = eINSTANCE.getFlowSpecification(); - - /** - * The meta object literal for the '<em><b>Base Interface</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference FLOW_SPECIFICATION__BASE_INTERFACE = eINSTANCE.getFlowSpecification_Base_Interface(); - - /** - * The meta object literal for the '<em><b>Get Flow Properties</b></em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EOperation FLOW_SPECIFICATION___GET_FLOW_PROPERTIES = eINSTANCE.getFlowSpecification__GetFlowProperties(); - - } - -} //DeprecatedelementsPackage
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/FlowPort.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/FlowPort.java deleted file mode 100644 index 427d962..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/FlowPort.java +++ /dev/null
@@ -1,126 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.deprecatedelements; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.papyrus.sysml14.portsandflows.FlowDirection; - -import org.eclipse.uml2.uml.Image; -import org.eclipse.uml2.uml.Port; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Flow Port</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * A FlowPort is an interaction point through which input and/or output of items such as data, material, or energy may flow. This enables the owning block to declare which items it may exchange with its environment and the interaction points through which the exchange is made. We distinguish between atomic flow port and a nonatomic flow port. Atomic flow ports relay items that are classified by a single Block, ValueType, DataType, or Signal classifier. A nonatomic flow port relays items of several types as specified by a FlowSpecification. Flow ports and associated flow specifications define “what can flow” between the block and its environment, whereas item flows specify “what does flow” in a specific usage context. Flow ports relay items to their owning block or to a connector that connects them with their owner’s internal parts (internal connector). - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort#getBase_Port <em>Base Port</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort#getDirection <em>Direction</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort#isAtomic <em>Is Atomic</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsPackage#getFlowPort() - * @model - * @generated - */ -public interface FlowPort extends EObject { - /** - * Returns the value of the '<em><b>Base Port</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Port</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Port</em>' reference. - * @see #setBase_Port(Port) - * @see org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsPackage#getFlowPort_Base_Port() - * @model required="true" ordered="false" - * @generated - */ - Port getBase_Port(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort#getBase_Port <em>Base Port</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Port</em>' reference. - * @see #getBase_Port() - * @generated - */ - void setBase_Port(Port value); - - /** - * Returns the value of the '<em><b>Direction</b></em>' attribute. - * The default value is <code>"inout"</code>. - * The literals are from the enumeration {@link org.eclipse.papyrus.sysml14.portsandflows.FlowDirection}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * Indicates the direction in which an atomic flow port relays its items. If the direction is set to “in,” then the items are relayed from an external connector via the flow port into the flow port’s owner (or one of its parts). If the direction is set to “out,” then the items are relayed from the flow port’s owner, via the flow port, through an external connector attached to the flow port. If the direction is set to “inout,” then items can flow both ways. By default, the value is inout. - * - * <!-- end-model-doc --> - * @return the value of the '<em>Direction</em>' attribute. - * @see org.eclipse.papyrus.sysml14.portsandflows.FlowDirection - * @see #setDirection(FlowDirection) - * @see org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsPackage#getFlowPort_Direction() - * @model default="inout" required="true" ordered="false" - * @generated - */ - FlowDirection getDirection(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort#getDirection <em>Direction</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Direction</em>' attribute. - * @see org.eclipse.papyrus.sysml14.portsandflows.FlowDirection - * @see #getDirection() - * @generated - */ - void setDirection(FlowDirection value); - - /** - * Returns the value of the '<em><b>Is Atomic</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * This is a derived attribute (derived from the flow port’s type). For a flow port typed by a flow specification the value of this attribute is False, otherwise the value is True. - * <!-- end-model-doc --> - * @return the value of the '<em>Is Atomic</em>' attribute. - * @see org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsPackage#getFlowPort_IsAtomic() - * @model dataType="org.eclipse.uml2.types.Boolean" required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false" - * @generated - */ - boolean isAtomic(); - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @model kind="operation" required="true" ordered="false" - * @generated - */ - Image getIcon(); - -} // FlowPort
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/FlowSpecification.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/FlowSpecification.java deleted file mode 100644 index e9476f2..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/FlowSpecification.java +++ /dev/null
@@ -1,76 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.deprecatedelements; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.Interface; -import org.eclipse.uml2.uml.Property; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Flow Specification</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * A FlowSpecification specifies inputs and outputs as a set of flow properties. A flow specification is used by flow ports to specify what items can flow via the port. - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowSpecification#getBase_Interface <em>Base Interface</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsPackage#getFlowSpecification() - * @model - * @generated - */ -public interface FlowSpecification extends EObject { - /** - * Returns the value of the '<em><b>Base Interface</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Interface</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Interface</em>' reference. - * @see #setBase_Interface(Interface) - * @see org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsPackage#getFlowSpecification_Base_Interface() - * @model required="true" ordered="false" - * @generated - */ - Interface getBase_Interface(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowSpecification#getBase_Interface <em>Base Interface</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Interface</em>' reference. - * @see #getBase_Interface() - * @generated - */ - void setBase_Interface(Interface value); - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @model kind="operation" ordered="false" - * @generated - */ - EList<Property> getFlowProperties(); - -} // FlowSpecification
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/internal/impl/DeprecatedelementsFactoryImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/internal/impl/DeprecatedelementsFactoryImpl.java deleted file mode 100644 index 5ea07ff..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/internal/impl/DeprecatedelementsFactoryImpl.java +++ /dev/null
@@ -1,116 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -import org.eclipse.papyrus.sysml14.deprecatedelements.*; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class DeprecatedelementsFactoryImpl extends EFactoryImpl implements DeprecatedelementsFactory { - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static DeprecatedelementsFactory init() { - try { - DeprecatedelementsFactory theDeprecatedelementsFactory = (DeprecatedelementsFactory)EPackage.Registry.INSTANCE.getEFactory(DeprecatedelementsPackage.eNS_URI); - if (theDeprecatedelementsFactory != null) { - return theDeprecatedelementsFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new DeprecatedelementsFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DeprecatedelementsFactoryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case DeprecatedelementsPackage.FLOW_PORT: return createFlowPort(); - case DeprecatedelementsPackage.FLOW_SPECIFICATION: return createFlowSpecification(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public FlowPort createFlowPort() { - FlowPortImpl flowPort = new FlowPortImpl(); - return flowPort; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public FlowSpecification createFlowSpecification() { - FlowSpecificationImpl flowSpecification = new FlowSpecificationImpl(); - return flowSpecification; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DeprecatedelementsPackage getDeprecatedelementsPackage() { - return (DeprecatedelementsPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - @Deprecated - public static DeprecatedelementsPackage getPackage() { - return DeprecatedelementsPackage.eINSTANCE; - } - -} //DeprecatedelementsFactoryImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/internal/impl/DeprecatedelementsPackageImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/internal/impl/DeprecatedelementsPackageImpl.java deleted file mode 100644 index dca12d3..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/internal/impl/DeprecatedelementsPackageImpl.java +++ /dev/null
@@ -1,352 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EOperation; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; - -import org.eclipse.papyrus.sysml14.activities.internal.impl.ActivitiesPackageImpl; - -import org.eclipse.papyrus.sysml14.allocations.AllocationsPackage; - -import org.eclipse.papyrus.sysml14.allocations.internal.impl.AllocationsPackageImpl; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; - -import org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl; - -import org.eclipse.papyrus.sysml14.constraintblocks.ConstraintblocksPackage; - -import org.eclipse.papyrus.sysml14.constraintblocks.internal.impl.ConstraintblocksPackageImpl; - -import org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsFactory; -import org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsPackage; -import org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort; -import org.eclipse.papyrus.sysml14.deprecatedelements.FlowSpecification; - -import org.eclipse.papyrus.sysml14.impl.sysmlPackageImpl; -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; - -import org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsPackageImpl; - -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; - -import org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl; - -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; - -import org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsPackageImpl; - -import org.eclipse.papyrus.sysml14.sysmlPackage; -import org.eclipse.uml2.types.TypesPackage; - -import org.eclipse.uml2.uml.UMLPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class DeprecatedelementsPackageImpl extends EPackageImpl implements DeprecatedelementsPackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass flowPortEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass flowSpecificationEClass = null; - - /** - * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsPackage#eNS_URI - * @see #init() - * @generated - */ - private DeprecatedelementsPackageImpl() { - super(eNS_URI, DeprecatedelementsFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. - * - * <p>This method is used to initialize {@link DeprecatedelementsPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static DeprecatedelementsPackage init() { - if (isInited) return (DeprecatedelementsPackage)EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI); - - // Obtain or create and register package - DeprecatedelementsPackageImpl theDeprecatedelementsPackage = (DeprecatedelementsPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof DeprecatedelementsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new DeprecatedelementsPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - UMLPackage.eINSTANCE.eClass(); - - // Obtain or create and register interdependencies - sysmlPackageImpl thesysmlPackage = (sysmlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(sysmlPackage.eNS_URI) instanceof sysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(sysmlPackage.eNS_URI) : sysmlPackage.eINSTANCE); - ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) : ActivitiesPackage.eINSTANCE); - AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) : AllocationsPackage.eINSTANCE); - BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE); - ConstraintblocksPackageImpl theConstraintblocksPackage = (ConstraintblocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) instanceof ConstraintblocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) : ConstraintblocksPackage.eINSTANCE); - PortsandflowsPackageImpl thePortsandflowsPackage = (PortsandflowsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) instanceof PortsandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) : PortsandflowsPackage.eINSTANCE); - ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE); - RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE); - - // Create package meta-data objects - theDeprecatedelementsPackage.createPackageContents(); - thesysmlPackage.createPackageContents(); - theActivitiesPackage.createPackageContents(); - theAllocationsPackage.createPackageContents(); - theBlocksPackage.createPackageContents(); - theConstraintblocksPackage.createPackageContents(); - thePortsandflowsPackage.createPackageContents(); - theModelelementsPackage.createPackageContents(); - theRequirementsPackage.createPackageContents(); - - // Initialize created meta-data - theDeprecatedelementsPackage.initializePackageContents(); - thesysmlPackage.initializePackageContents(); - theActivitiesPackage.initializePackageContents(); - theAllocationsPackage.initializePackageContents(); - theBlocksPackage.initializePackageContents(); - theConstraintblocksPackage.initializePackageContents(); - thePortsandflowsPackage.initializePackageContents(); - theModelelementsPackage.initializePackageContents(); - theRequirementsPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theDeprecatedelementsPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(DeprecatedelementsPackage.eNS_URI, theDeprecatedelementsPackage); - return theDeprecatedelementsPackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getFlowPort() { - return flowPortEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFlowPort_Base_Port() { - return (EReference)flowPortEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getFlowPort_Direction() { - return (EAttribute)flowPortEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getFlowPort_IsAtomic() { - return (EAttribute)flowPortEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EOperation getFlowPort__GetIcon() { - return flowPortEClass.getEOperations().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getFlowSpecification() { - return flowSpecificationEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFlowSpecification_Base_Interface() { - return (EReference)flowSpecificationEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EOperation getFlowSpecification__GetFlowProperties() { - return flowSpecificationEClass.getEOperations().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DeprecatedelementsFactory getDeprecatedelementsFactory() { - return (DeprecatedelementsFactory)getEFactoryInstance(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - flowPortEClass = createEClass(FLOW_PORT); - createEReference(flowPortEClass, FLOW_PORT__BASE_PORT); - createEAttribute(flowPortEClass, FLOW_PORT__DIRECTION); - createEAttribute(flowPortEClass, FLOW_PORT__IS_ATOMIC); - createEOperation(flowPortEClass, FLOW_PORT___GET_ICON); - - flowSpecificationEClass = createEClass(FLOW_SPECIFICATION); - createEReference(flowSpecificationEClass, FLOW_SPECIFICATION__BASE_INTERFACE); - createEOperation(flowSpecificationEClass, FLOW_SPECIFICATION___GET_FLOW_PROPERTIES); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); - PortsandflowsPackage thePortsandflowsPackage = (PortsandflowsPackage)EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI); - TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - - // Initialize classes, features, and operations; add parameters - initEClass(flowPortEClass, FlowPort.class, "FlowPort", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getFlowPort_Base_Port(), theUMLPackage.getPort(), null, "base_Port", null, 1, 1, FlowPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getFlowPort_Direction(), thePortsandflowsPackage.getFlowDirection(), "direction", "inout", 1, 1, FlowPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ - initEAttribute(getFlowPort_IsAtomic(), theTypesPackage.getBoolean(), "isAtomic", null, 1, 1, FlowPort.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEOperation(getFlowPort__GetIcon(), theUMLPackage.getImage(), "getIcon", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(flowSpecificationEClass, FlowSpecification.class, "FlowSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getFlowSpecification_Base_Interface(), theUMLPackage.getInterface(), null, "base_Interface", null, 1, 1, FlowSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEOperation(getFlowSpecification__GetFlowProperties(), theUMLPackage.getProperty(), "getFlowProperties", 0, -1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - - // Create annotations - // http://www.eclipse.org/uml2/2.0.0/UML - createUMLAnnotations(); - } - - /** - * Initializes the annotations for <b>http://www.eclipse.org/uml2/2.0.0/UML</b>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void createUMLAnnotations() { - String source = "http://www.eclipse.org/uml2/2.0.0/UML"; //$NON-NLS-1$ - addAnnotation - (this, - source, - new String[] { - "originalName", "DeprecatedElements" //$NON-NLS-1$ //$NON-NLS-2$ - }); - } - -} //DeprecatedelementsPackageImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/internal/impl/FlowPortImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/internal/impl/FlowPortImpl.java deleted file mode 100644 index b3f22e4..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/internal/impl/FlowPortImpl.java +++ /dev/null
@@ -1,292 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl; - -import java.lang.reflect.InvocationTargetException; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsPackage; -import org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort; - -import org.eclipse.papyrus.sysml14.portsandflows.FlowDirection; - -import org.eclipse.uml2.uml.Image; -import org.eclipse.uml2.uml.Port; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Flow Port</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.FlowPortImpl#getBase_Port <em>Base Port</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.FlowPortImpl#getDirection <em>Direction</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.FlowPortImpl#isAtomic <em>Is Atomic</em>}</li> - * </ul> - * - * @generated - */ -public class FlowPortImpl extends MinimalEObjectImpl.Container implements FlowPort { - /** - * The cached value of the '{@link #getBase_Port() <em>Base Port</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Port() - * @generated - * @ordered - */ - protected Port base_Port; - - /** - * The default value of the '{@link #getDirection() <em>Direction</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDirection() - * @generated - * @ordered - */ - protected static final FlowDirection DIRECTION_EDEFAULT = FlowDirection.INOUT; - - /** - * The cached value of the '{@link #getDirection() <em>Direction</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDirection() - * @generated - * @ordered - */ - protected FlowDirection direction = DIRECTION_EDEFAULT; - - /** - * The default value of the '{@link #isAtomic() <em>Is Atomic</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isAtomic() - * @generated - * @ordered - */ - protected static final boolean IS_ATOMIC_EDEFAULT = false; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected FlowPortImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return DeprecatedelementsPackage.Literals.FLOW_PORT; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Port getBase_Port() { - if (base_Port != null && base_Port.eIsProxy()) { - InternalEObject oldBase_Port = (InternalEObject)base_Port; - base_Port = (Port)eResolveProxy(oldBase_Port); - if (base_Port != oldBase_Port) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, DeprecatedelementsPackage.FLOW_PORT__BASE_PORT, oldBase_Port, base_Port)); - } - } - return base_Port; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Port basicGetBase_Port() { - return base_Port; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Port(Port newBase_Port) { - Port oldBase_Port = base_Port; - base_Port = newBase_Port; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, DeprecatedelementsPackage.FLOW_PORT__BASE_PORT, oldBase_Port, base_Port)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public FlowDirection getDirection() { - return direction; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDirection(FlowDirection newDirection) { - FlowDirection oldDirection = direction; - direction = newDirection == null ? DIRECTION_EDEFAULT : newDirection; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, DeprecatedelementsPackage.FLOW_PORT__DIRECTION, oldDirection, direction)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isAtomic() { - // TODO: implement this method to return the 'Is Atomic' attribute - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Image getIcon() { - // TODO: implement this method - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case DeprecatedelementsPackage.FLOW_PORT__BASE_PORT: - if (resolve) return getBase_Port(); - return basicGetBase_Port(); - case DeprecatedelementsPackage.FLOW_PORT__DIRECTION: - return getDirection(); - case DeprecatedelementsPackage.FLOW_PORT__IS_ATOMIC: - return isAtomic(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case DeprecatedelementsPackage.FLOW_PORT__BASE_PORT: - setBase_Port((Port)newValue); - return; - case DeprecatedelementsPackage.FLOW_PORT__DIRECTION: - setDirection((FlowDirection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case DeprecatedelementsPackage.FLOW_PORT__BASE_PORT: - setBase_Port((Port)null); - return; - case DeprecatedelementsPackage.FLOW_PORT__DIRECTION: - setDirection(DIRECTION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case DeprecatedelementsPackage.FLOW_PORT__BASE_PORT: - return base_Port != null; - case DeprecatedelementsPackage.FLOW_PORT__DIRECTION: - return direction != DIRECTION_EDEFAULT; - case DeprecatedelementsPackage.FLOW_PORT__IS_ATOMIC: - return isAtomic() != IS_ATOMIC_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { - switch (operationID) { - case DeprecatedelementsPackage.FLOW_PORT___GET_ICON: - return getIcon(); - } - return super.eInvoke(operationID, arguments); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (direction: "); //$NON-NLS-1$ - result.append(direction); - result.append(')'); - return result.toString(); - } - -} //FlowPortImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/internal/impl/FlowSpecificationImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/internal/impl/FlowSpecificationImpl.java deleted file mode 100644 index 7af3e38..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/internal/impl/FlowSpecificationImpl.java +++ /dev/null
@@ -1,196 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl; - -import java.lang.reflect.InvocationTargetException; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsPackage; -import org.eclipse.papyrus.sysml14.deprecatedelements.FlowSpecification; - -import org.eclipse.uml2.uml.Interface; -import org.eclipse.uml2.uml.Property; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Flow Specification</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.FlowSpecificationImpl#getBase_Interface <em>Base Interface</em>}</li> - * </ul> - * - * @generated - */ -public class FlowSpecificationImpl extends MinimalEObjectImpl.Container implements FlowSpecification { - /** - * The cached value of the '{@link #getBase_Interface() <em>Base Interface</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Interface() - * @generated - * @ordered - */ - protected Interface base_Interface; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected FlowSpecificationImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return DeprecatedelementsPackage.Literals.FLOW_SPECIFICATION; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Interface getBase_Interface() { - if (base_Interface != null && base_Interface.eIsProxy()) { - InternalEObject oldBase_Interface = (InternalEObject)base_Interface; - base_Interface = (Interface)eResolveProxy(oldBase_Interface); - if (base_Interface != oldBase_Interface) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, DeprecatedelementsPackage.FLOW_SPECIFICATION__BASE_INTERFACE, oldBase_Interface, base_Interface)); - } - } - return base_Interface; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Interface basicGetBase_Interface() { - return base_Interface; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Interface(Interface newBase_Interface) { - Interface oldBase_Interface = base_Interface; - base_Interface = newBase_Interface; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, DeprecatedelementsPackage.FLOW_SPECIFICATION__BASE_INTERFACE, oldBase_Interface, base_Interface)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Property> getFlowProperties() { - // TODO: implement this method - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case DeprecatedelementsPackage.FLOW_SPECIFICATION__BASE_INTERFACE: - if (resolve) return getBase_Interface(); - return basicGetBase_Interface(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case DeprecatedelementsPackage.FLOW_SPECIFICATION__BASE_INTERFACE: - setBase_Interface((Interface)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case DeprecatedelementsPackage.FLOW_SPECIFICATION__BASE_INTERFACE: - setBase_Interface((Interface)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case DeprecatedelementsPackage.FLOW_SPECIFICATION__BASE_INTERFACE: - return base_Interface != null; - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { - switch (operationID) { - case DeprecatedelementsPackage.FLOW_SPECIFICATION___GET_FLOW_PROPERTIES: - return getFlowProperties(); - } - return super.eInvoke(operationID, arguments); - } - -} //FlowSpecificationImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/util/DeprecatedelementsAdapterFactory.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/util/DeprecatedelementsAdapterFactory.java deleted file mode 100644 index 1dbd1e0..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/util/DeprecatedelementsAdapterFactory.java +++ /dev/null
@@ -1,148 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.deprecatedelements.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.papyrus.sysml14.deprecatedelements.*; - -/** - * <!-- begin-user-doc --> - * The <b>Adapter Factory</b> for the model. - * It provides an adapter <code>createXXX</code> method for each class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsPackage - * @generated - */ -public class DeprecatedelementsAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static DeprecatedelementsPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DeprecatedelementsAdapterFactory() { - if (modelPackage == null) { - modelPackage = DeprecatedelementsPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * <!-- begin-user-doc --> - * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. - * <!-- end-user-doc --> - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected DeprecatedelementsSwitch<Adapter> modelSwitch = - new DeprecatedelementsSwitch<Adapter>() { - @Override - public Adapter caseFlowPort(FlowPort object) { - return createFlowPortAdapter(); - } - @Override - public Adapter caseFlowSpecification(FlowSpecification object) { - return createFlowSpecificationAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the <code>target</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param target the object to adapt. - * @return the adapter for the <code>target</code>. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort <em>Flow Port</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort - * @generated - */ - public Adapter createFlowPortAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.deprecatedelements.FlowSpecification <em>Flow Specification</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.deprecatedelements.FlowSpecification - * @generated - */ - public Adapter createFlowSpecificationAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * <!-- begin-user-doc --> - * This default implementation returns null. - * <!-- end-user-doc --> - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //DeprecatedelementsAdapterFactory
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/util/DeprecatedelementsSwitch.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/util/DeprecatedelementsSwitch.java deleted file mode 100644 index 4762aea..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/deprecatedelements/util/DeprecatedelementsSwitch.java +++ /dev/null
@@ -1,141 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.deprecatedelements.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -import org.eclipse.papyrus.sysml14.deprecatedelements.*; - -/** - * <!-- begin-user-doc --> - * The <b>Switch</b> for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the <code>caseXXX</code> method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsPackage - * @generated - */ -public class DeprecatedelementsSwitch<T> extends Switch<T> { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static DeprecatedelementsPackage modelPackage; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DeprecatedelementsSwitch() { - if (modelPackage == null) { - modelPackage = DeprecatedelementsPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case DeprecatedelementsPackage.FLOW_PORT: { - FlowPort flowPort = (FlowPort)theEObject; - T result = caseFlowPort(flowPort); - if (result == null) result = defaultCase(theEObject); - return result; - } - case DeprecatedelementsPackage.FLOW_SPECIFICATION: { - FlowSpecification flowSpecification = (FlowSpecification)theEObject; - T result = caseFlowSpecification(flowSpecification); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Flow Port</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Flow Port</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFlowPort(FlowPort object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Flow Specification</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Flow Specification</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFlowSpecification(FlowSpecification object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>EObject</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} //DeprecatedelementsSwitch
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/impl/sysmlFactoryImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/impl/sysmlFactoryImpl.java deleted file mode 100644 index 6454ec6..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/impl/sysmlFactoryImpl.java +++ /dev/null
@@ -1,145 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -import org.eclipse.papyrus.sysml14.*; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class sysmlFactoryImpl extends EFactoryImpl implements sysmlFactory { - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static sysmlFactory init() { - try { - sysmlFactory thesysmlFactory = (sysmlFactory)EPackage.Registry.INSTANCE.getEFactory(sysmlPackage.eNS_URI); - if (thesysmlFactory != null) { - return thesysmlFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new sysmlFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public sysmlFactoryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object createFromString(EDataType eDataType, String initialValue) { - switch (eDataType.getClassifierID()) { - case sysmlPackage.DUMMY: - return createDummyFromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String convertToString(EDataType eDataType, Object instanceValue) { - switch (eDataType.getClassifierID()) { - case sysmlPackage.DUMMY: - return convertDummyToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Dummy createDummyFromString(EDataType eDataType, String initialValue) { - Dummy result = Dummy.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertDummyToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public sysmlPackage getsysmlPackage() { - return (sysmlPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - @Deprecated - public static sysmlPackage getPackage() { - return sysmlPackage.eINSTANCE; - } - -} //sysmlFactoryImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/impl/sysmlPackageImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/impl/sysmlPackageImpl.java deleted file mode 100644 index 4249a0c..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/impl/sysmlPackageImpl.java +++ /dev/null
@@ -1,273 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.impl; - -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.eclipse.papyrus.sysml14.Dummy; - -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; - -import org.eclipse.papyrus.sysml14.activities.internal.impl.ActivitiesPackageImpl; - -import org.eclipse.papyrus.sysml14.allocations.AllocationsPackage; - -import org.eclipse.papyrus.sysml14.allocations.internal.impl.AllocationsPackageImpl; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; - -import org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl; - -import org.eclipse.papyrus.sysml14.constraintblocks.ConstraintblocksPackage; - -import org.eclipse.papyrus.sysml14.constraintblocks.internal.impl.ConstraintblocksPackageImpl; - -import org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsPackage; - -import org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.DeprecatedelementsPackageImpl; - -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; - -import org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsPackageImpl; - -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; - -import org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl; - -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; - -import org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsPackageImpl; - -import org.eclipse.papyrus.sysml14.sysmlFactory; -import org.eclipse.papyrus.sysml14.sysmlPackage; - -import org.eclipse.uml2.uml.UMLPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class sysmlPackageImpl extends EPackageImpl implements sysmlPackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum dummyEEnum = null; - - /** - * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.papyrus.sysml14.sysmlPackage#eNS_URI - * @see #init() - * @generated - */ - private sysmlPackageImpl() { - super(eNS_URI, sysmlFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. - * - * <p>This method is used to initialize {@link sysmlPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static sysmlPackage init() { - if (isInited) return (sysmlPackage)EPackage.Registry.INSTANCE.getEPackage(sysmlPackage.eNS_URI); - - // Obtain or create and register package - sysmlPackageImpl thesysmlPackage = (sysmlPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof sysmlPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new sysmlPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - UMLPackage.eINSTANCE.eClass(); - - // Obtain or create and register interdependencies - ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) : ActivitiesPackage.eINSTANCE); - AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) : AllocationsPackage.eINSTANCE); - BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE); - ConstraintblocksPackageImpl theConstraintblocksPackage = (ConstraintblocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) instanceof ConstraintblocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) : ConstraintblocksPackage.eINSTANCE); - DeprecatedelementsPackageImpl theDeprecatedelementsPackage = (DeprecatedelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) instanceof DeprecatedelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) : DeprecatedelementsPackage.eINSTANCE); - PortsandflowsPackageImpl thePortsandflowsPackage = (PortsandflowsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) instanceof PortsandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) : PortsandflowsPackage.eINSTANCE); - ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE); - RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE); - - // Create package meta-data objects - thesysmlPackage.createPackageContents(); - theActivitiesPackage.createPackageContents(); - theAllocationsPackage.createPackageContents(); - theBlocksPackage.createPackageContents(); - theConstraintblocksPackage.createPackageContents(); - theDeprecatedelementsPackage.createPackageContents(); - thePortsandflowsPackage.createPackageContents(); - theModelelementsPackage.createPackageContents(); - theRequirementsPackage.createPackageContents(); - - // Initialize created meta-data - thesysmlPackage.initializePackageContents(); - theActivitiesPackage.initializePackageContents(); - theAllocationsPackage.initializePackageContents(); - theBlocksPackage.initializePackageContents(); - theConstraintblocksPackage.initializePackageContents(); - theDeprecatedelementsPackage.initializePackageContents(); - thePortsandflowsPackage.initializePackageContents(); - theModelelementsPackage.initializePackageContents(); - theRequirementsPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - thesysmlPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(sysmlPackage.eNS_URI, thesysmlPackage); - return thesysmlPackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EEnum getDummy() { - return dummyEEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public sysmlFactory getsysmlFactory() { - return (sysmlFactory)getEFactoryInstance(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create enums - dummyEEnum = createEEnum(DUMMY); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - ActivitiesPackage theActivitiesPackage = (ActivitiesPackage)EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI); - AllocationsPackage theAllocationsPackage = (AllocationsPackage)EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI); - BlocksPackage theBlocksPackage = (BlocksPackage)EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI); - ConstraintblocksPackage theConstraintblocksPackage = (ConstraintblocksPackage)EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI); - DeprecatedelementsPackage theDeprecatedelementsPackage = (DeprecatedelementsPackage)EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI); - PortsandflowsPackage thePortsandflowsPackage = (PortsandflowsPackage)EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI); - ModelelementsPackage theModelelementsPackage = (ModelelementsPackage)EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI); - RequirementsPackage theRequirementsPackage = (RequirementsPackage)EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI); - - // Add subpackages - getESubpackages().add(theActivitiesPackage); - getESubpackages().add(theAllocationsPackage); - getESubpackages().add(theBlocksPackage); - getESubpackages().add(theConstraintblocksPackage); - getESubpackages().add(theDeprecatedelementsPackage); - getESubpackages().add(thePortsandflowsPackage); - getESubpackages().add(theModelelementsPackage); - getESubpackages().add(theRequirementsPackage); - - // Initialize enums and add enum literals - initEEnum(dummyEEnum, Dummy.class, "Dummy"); //$NON-NLS-1$ - - // Create resource - createResource(eNS_URI); - - // Create annotations - // http://www.eclipse.org/uml2/2.0.0/UML - createUMLAnnotations(); - } - - /** - * Initializes the annotations for <b>http://www.eclipse.org/uml2/2.0.0/UML</b>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void createUMLAnnotations() { - String source = "http://www.eclipse.org/uml2/2.0.0/UML"; //$NON-NLS-1$ - addAnnotation - (this, - source, - new String[] { - "originalName", "SysML" //$NON-NLS-1$ //$NON-NLS-2$ - }); - } - -} //sysmlPackageImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/Conform.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/Conform.java deleted file mode 100644 index e6600f3..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/Conform.java +++ /dev/null
@@ -1,68 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.Generalization; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Conform</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * A Conform relationship is a dependency between a view and a viewpoint. The view conforms to the specified rules and conventions detailed in the viewpoint. Conform is a specialization of the UML dependency, and as with other dependencies the arrow direction points from the (client/source) to the (supplier/target). - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.Conform#getBase_Generalization <em>Base Generalization</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getConform() - * @model - * @generated - */ -public interface Conform extends EObject { - /** - * Returns the value of the '<em><b>Base Generalization</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Generalization</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Generalization</em>' reference. - * @see #setBase_Generalization(Generalization) - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getConform_Base_Generalization() - * @model ordered="false" - * @generated - */ - Generalization getBase_Generalization(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.modelelements.Conform#getBase_Generalization <em>Base Generalization</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Generalization</em>' reference. - * @see #getBase_Generalization() - * @generated - */ - void setBase_Generalization(Generalization value); - -} // Conform
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/ElementGroup.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/ElementGroup.java deleted file mode 100644 index e09f47f..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/ElementGroup.java +++ /dev/null
@@ -1,190 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.Comment; -import org.eclipse.uml2.uml.Element; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Element Group</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getBase_Comment <em>Base Comment</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getCriterion <em>Criterion</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getMember <em>Member</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getOrderedMemeber <em>Ordered Memeber</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getSize <em>Size</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getElementGroup() - * @model - * @generated - */ -public interface ElementGroup extends EObject { - /** - * Returns the value of the '<em><b>Base Comment</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Comment</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Comment</em>' reference. - * @see #setBase_Comment(Comment) - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getElementGroup_Base_Comment() - * @model ordered="false" - * @generated - */ - Comment getBase_Comment(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getBase_Comment <em>Base Comment</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Comment</em>' reference. - * @see #getBase_Comment() - * @generated - */ - void setBase_Comment(Comment value); - - /** - * Returns the value of the '<em><b>Criterion</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Criterion</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Criterion</em>' attribute. - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getElementGroup_Criterion() - * @model dataType="org.eclipse.uml2.types.String" required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false" - * @generated - */ - String getCriterion(); - - /** - * Returns the value of the '<em><b>Member</b></em>' reference list. - * The list contents are of type {@link org.eclipse.uml2.uml.Element}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Member</em>' reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Member</em>' reference list. - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getElementGroup_Member() - * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" - * @generated - */ - EList<Element> getMember(); - - /** - * Returns the value of the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Name</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Name</em>' attribute. - * @see #setName(String) - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getElementGroup_Name() - * @model dataType="org.eclipse.uml2.types.String" required="true" ordered="false" - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getName <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Name</em>' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the '<em><b>Ordered Memeber</b></em>' reference list. - * The list contents are of type {@link org.eclipse.uml2.uml.Element}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Ordered Memeber</em>' reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Ordered Memeber</em>' reference list. - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getElementGroup_OrderedMemeber() - * @model - * @generated - */ - EList<Element> getOrderedMemeber(); - - /** - * Returns the value of the '<em><b>Size</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Size</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Size</em>' attribute. - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getElementGroup_Size() - * @model dataType="org.eclipse.uml2.types.Integer" required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false" - * @generated - */ - int getSize(); - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @model eRequired="true" eOrdered="false" resultMany="true" resultOrdered="false" - * @generated - */ - void allGroups(Element e, EList<ElementGroup> result); - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @model resultDataType="org.eclipse.uml2.types.String" resultOrdered="false" - * @generated - */ - void criterion(String result); - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @model resultMany="true" resultOrdered="false" - * @generated - */ - void member(EList<Element> result); - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @model resultDataType="org.eclipse.uml2.types.Integer" resultRequired="true" resultOrdered="false" - * @generated - */ - void size(int result); - -} // ElementGroup
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/Expose.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/Expose.java deleted file mode 100644 index 9d20117..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/Expose.java +++ /dev/null
@@ -1,62 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.Dependency; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Expose</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.Expose#getBase_Dependency <em>Base Dependency</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getExpose() - * @model - * @generated - */ -public interface Expose extends EObject { - /** - * Returns the value of the '<em><b>Base Dependency</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Dependency</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Dependency</em>' reference. - * @see #setBase_Dependency(Dependency) - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getExpose_Base_Dependency() - * @model ordered="false" - * @generated - */ - Dependency getBase_Dependency(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.modelelements.Expose#getBase_Dependency <em>Base Dependency</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Dependency</em>' reference. - * @see #getBase_Dependency() - * @generated - */ - void setBase_Dependency(Dependency value); - -} // Expose
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/ModelelementsFactory.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/ModelelementsFactory.java deleted file mode 100644 index 13a01c2..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/ModelelementsFactory.java +++ /dev/null
@@ -1,115 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements; - -import org.eclipse.emf.ecore.EFactory; - -/** - * <!-- begin-user-doc --> - * The <b>Factory</b> for the model. - * It provides a create method for each non-abstract class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage - * @generated - */ -public interface ModelelementsFactory extends EFactory { - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - ModelelementsFactory eINSTANCE = org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsFactoryImpl.init(); - - /** - * Returns a new object of class '<em>Conform</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Conform</em>'. - * @generated - */ - Conform createConform(); - - /** - * Returns a new object of class '<em>Element Group</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Element Group</em>'. - * @generated - */ - ElementGroup createElementGroup(); - - /** - * Returns a new object of class '<em>Expose</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Expose</em>'. - * @generated - */ - Expose createExpose(); - - /** - * Returns a new object of class '<em>Problem</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Problem</em>'. - * @generated - */ - Problem createProblem(); - - /** - * Returns a new object of class '<em>Rationale</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Rationale</em>'. - * @generated - */ - Rationale createRationale(); - - /** - * Returns a new object of class '<em>Stakeholder</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Stakeholder</em>'. - * @generated - */ - Stakeholder createStakeholder(); - - /** - * Returns a new object of class '<em>View</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>View</em>'. - * @generated - */ - View createView(); - - /** - * Returns a new object of class '<em>Viewpoint</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Viewpoint</em>'. - * @generated - */ - Viewpoint createViewpoint(); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - ModelelementsPackage getModelelementsPackage(); - -} //ModelelementsFactory
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/ModelelementsPackage.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/ModelelementsPackage.java deleted file mode 100644 index f95f683..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/ModelelementsPackage.java +++ /dev/null
@@ -1,1261 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EOperation; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -/** - * <!-- begin-user-doc --> - * The <b>Package</b> for the model. - * It contains accessors for the meta objects to represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsFactory - * @model kind="package" - * annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='ModelElements'" - * @generated - */ -public interface ModelelementsPackage extends EPackage { - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "modelelements"; //$NON-NLS-1$ - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "http://www.eclipse.org/papyrus/sysml/1.4/SysML/ModelElements"; //$NON-NLS-1$ - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "ModelElements"; //$NON-NLS-1$ - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - ModelelementsPackage eINSTANCE = org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ConformImpl <em>Conform</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ConformImpl - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsPackageImpl#getConform() - * @generated - */ - int CONFORM = 0; - - /** - * The feature id for the '<em><b>Base Generalization</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CONFORM__BASE_GENERALIZATION = 0; - - /** - * The number of structural features of the '<em>Conform</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CONFORM_FEATURE_COUNT = 1; - - /** - * The number of operations of the '<em>Conform</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CONFORM_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ElementGroupImpl <em>Element Group</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ElementGroupImpl - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsPackageImpl#getElementGroup() - * @generated - */ - int ELEMENT_GROUP = 1; - - /** - * The feature id for the '<em><b>Base Comment</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ELEMENT_GROUP__BASE_COMMENT = 0; - - /** - * The feature id for the '<em><b>Criterion</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ELEMENT_GROUP__CRITERION = 1; - - /** - * The feature id for the '<em><b>Member</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ELEMENT_GROUP__MEMBER = 2; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ELEMENT_GROUP__NAME = 3; - - /** - * The feature id for the '<em><b>Ordered Memeber</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ELEMENT_GROUP__ORDERED_MEMEBER = 4; - - /** - * The feature id for the '<em><b>Size</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ELEMENT_GROUP__SIZE = 5; - - /** - * The number of structural features of the '<em>Element Group</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ELEMENT_GROUP_FEATURE_COUNT = 6; - - /** - * The operation id for the '<em>All Groups</em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ELEMENT_GROUP___ALL_GROUPS__ELEMENT_ELIST = 0; - - /** - * The operation id for the '<em>Criterion</em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ELEMENT_GROUP___CRITERION__STRING = 1; - - /** - * The operation id for the '<em>Member</em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ELEMENT_GROUP___MEMBER__ELIST = 2; - - /** - * The operation id for the '<em>Size</em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ELEMENT_GROUP___SIZE__INT = 3; - - /** - * The number of operations of the '<em>Element Group</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ELEMENT_GROUP_OPERATION_COUNT = 4; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ExposeImpl <em>Expose</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ExposeImpl - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsPackageImpl#getExpose() - * @generated - */ - int EXPOSE = 2; - - /** - * The feature id for the '<em><b>Base Dependency</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EXPOSE__BASE_DEPENDENCY = 0; - - /** - * The number of structural features of the '<em>Expose</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EXPOSE_FEATURE_COUNT = 1; - - /** - * The number of operations of the '<em>Expose</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EXPOSE_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ProblemImpl <em>Problem</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ProblemImpl - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsPackageImpl#getProblem() - * @generated - */ - int PROBLEM = 3; - - /** - * The feature id for the '<em><b>Base Comment</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PROBLEM__BASE_COMMENT = 0; - - /** - * The number of structural features of the '<em>Problem</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PROBLEM_FEATURE_COUNT = 1; - - /** - * The number of operations of the '<em>Problem</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PROBLEM_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.RationaleImpl <em>Rationale</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.RationaleImpl - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsPackageImpl#getRationale() - * @generated - */ - int RATIONALE = 4; - - /** - * The feature id for the '<em><b>Base Comment</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RATIONALE__BASE_COMMENT = 0; - - /** - * The number of structural features of the '<em>Rationale</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RATIONALE_FEATURE_COUNT = 1; - - /** - * The number of operations of the '<em>Rationale</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int RATIONALE_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.StakeholderImpl <em>Stakeholder</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.StakeholderImpl - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsPackageImpl#getStakeholder() - * @generated - */ - int STAKEHOLDER = 5; - - /** - * The feature id for the '<em><b>Base Classifier</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int STAKEHOLDER__BASE_CLASSIFIER = 0; - - /** - * The feature id for the '<em><b>Concern List</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int STAKEHOLDER__CONCERN_LIST = 1; - - /** - * The feature id for the '<em><b>Concern</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int STAKEHOLDER__CONCERN = 2; - - /** - * The number of structural features of the '<em>Stakeholder</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int STAKEHOLDER_FEATURE_COUNT = 3; - - /** - * The number of operations of the '<em>Stakeholder</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int STAKEHOLDER_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ViewImpl <em>View</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ViewImpl - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsPackageImpl#getView() - * @generated - */ - int VIEW = 6; - - /** - * The feature id for the '<em><b>Base Class</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VIEW__BASE_CLASS = 0; - - /** - * The feature id for the '<em><b>Stakeholder</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VIEW__STAKEHOLDER = 1; - - /** - * The feature id for the '<em><b>View Point</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VIEW__VIEW_POINT = 2; - - /** - * The number of structural features of the '<em>View</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VIEW_FEATURE_COUNT = 3; - - /** - * The number of operations of the '<em>View</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VIEW_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ViewpointImpl <em>Viewpoint</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ViewpointImpl - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsPackageImpl#getViewpoint() - * @generated - */ - int VIEWPOINT = 7; - - /** - * The feature id for the '<em><b>Base Class</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VIEWPOINT__BASE_CLASS = 0; - - /** - * The feature id for the '<em><b>Concern</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VIEWPOINT__CONCERN = 1; - - /** - * The feature id for the '<em><b>Concern List</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VIEWPOINT__CONCERN_LIST = 2; - - /** - * The feature id for the '<em><b>Language</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VIEWPOINT__LANGUAGE = 3; - - /** - * The feature id for the '<em><b>Method</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VIEWPOINT__METHOD = 4; - - /** - * The feature id for the '<em><b>Presentation</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VIEWPOINT__PRESENTATION = 5; - - /** - * The feature id for the '<em><b>Purpose</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VIEWPOINT__PURPOSE = 6; - - /** - * The feature id for the '<em><b>Stakeholder</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VIEWPOINT__STAKEHOLDER = 7; - - /** - * The number of structural features of the '<em>Viewpoint</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VIEWPOINT_FEATURE_COUNT = 8; - - /** - * The number of operations of the '<em>Viewpoint</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VIEWPOINT_OPERATION_COUNT = 0; - - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.modelelements.Conform <em>Conform</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Conform</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.Conform - * @generated - */ - EClass getConform(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.modelelements.Conform#getBase_Generalization <em>Base Generalization</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Generalization</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.Conform#getBase_Generalization() - * @see #getConform() - * @generated - */ - EReference getConform_Base_Generalization(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup <em>Element Group</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Element Group</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.ElementGroup - * @generated - */ - EClass getElementGroup(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getBase_Comment <em>Base Comment</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Comment</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getBase_Comment() - * @see #getElementGroup() - * @generated - */ - EReference getElementGroup_Base_Comment(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getCriterion <em>Criterion</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Criterion</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getCriterion() - * @see #getElementGroup() - * @generated - */ - EAttribute getElementGroup_Criterion(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getMember <em>Member</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference list '<em>Member</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getMember() - * @see #getElementGroup() - * @generated - */ - EReference getElementGroup_Member(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getName <em>Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Name</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getName() - * @see #getElementGroup() - * @generated - */ - EAttribute getElementGroup_Name(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getOrderedMemeber <em>Ordered Memeber</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference list '<em>Ordered Memeber</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getOrderedMemeber() - * @see #getElementGroup() - * @generated - */ - EReference getElementGroup_OrderedMemeber(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getSize <em>Size</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Size</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.ElementGroup#getSize() - * @see #getElementGroup() - * @generated - */ - EAttribute getElementGroup_Size(); - - /** - * Returns the meta object for the '{@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup#allGroups(org.eclipse.uml2.uml.Element, org.eclipse.emf.common.util.EList) <em>All Groups</em>}' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the '<em>All Groups</em>' operation. - * @see org.eclipse.papyrus.sysml14.modelelements.ElementGroup#allGroups(org.eclipse.uml2.uml.Element, org.eclipse.emf.common.util.EList) - * @generated - */ - EOperation getElementGroup__AllGroups__Element_EList(); - - /** - * Returns the meta object for the '{@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup#criterion(java.lang.String) <em>Criterion</em>}' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the '<em>Criterion</em>' operation. - * @see org.eclipse.papyrus.sysml14.modelelements.ElementGroup#criterion(java.lang.String) - * @generated - */ - EOperation getElementGroup__Criterion__String(); - - /** - * Returns the meta object for the '{@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup#member(org.eclipse.emf.common.util.EList) <em>Member</em>}' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the '<em>Member</em>' operation. - * @see org.eclipse.papyrus.sysml14.modelelements.ElementGroup#member(org.eclipse.emf.common.util.EList) - * @generated - */ - EOperation getElementGroup__Member__EList(); - - /** - * Returns the meta object for the '{@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup#size(int) <em>Size</em>}' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the '<em>Size</em>' operation. - * @see org.eclipse.papyrus.sysml14.modelelements.ElementGroup#size(int) - * @generated - */ - EOperation getElementGroup__Size__int(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.modelelements.Expose <em>Expose</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Expose</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.Expose - * @generated - */ - EClass getExpose(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.modelelements.Expose#getBase_Dependency <em>Base Dependency</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Dependency</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.Expose#getBase_Dependency() - * @see #getExpose() - * @generated - */ - EReference getExpose_Base_Dependency(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.modelelements.Problem <em>Problem</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Problem</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.Problem - * @generated - */ - EClass getProblem(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.modelelements.Problem#getBase_Comment <em>Base Comment</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Comment</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.Problem#getBase_Comment() - * @see #getProblem() - * @generated - */ - EReference getProblem_Base_Comment(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.modelelements.Rationale <em>Rationale</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Rationale</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.Rationale - * @generated - */ - EClass getRationale(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.modelelements.Rationale#getBase_Comment <em>Base Comment</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Comment</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.Rationale#getBase_Comment() - * @see #getRationale() - * @generated - */ - EReference getRationale_Base_Comment(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.modelelements.Stakeholder <em>Stakeholder</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Stakeholder</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.Stakeholder - * @generated - */ - EClass getStakeholder(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.modelelements.Stakeholder#getBase_Classifier <em>Base Classifier</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Classifier</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.Stakeholder#getBase_Classifier() - * @see #getStakeholder() - * @generated - */ - EReference getStakeholder_Base_Classifier(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml14.modelelements.Stakeholder#getConcernList <em>Concern List</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference list '<em>Concern List</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.Stakeholder#getConcernList() - * @see #getStakeholder() - * @generated - */ - EReference getStakeholder_ConcernList(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.sysml14.modelelements.Stakeholder#getConcern <em>Concern</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Concern</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.Stakeholder#getConcern() - * @see #getStakeholder() - * @generated - */ - EAttribute getStakeholder_Concern(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.modelelements.View <em>View</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>View</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.View - * @generated - */ - EClass getView(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.modelelements.View#getBase_Class <em>Base Class</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Class</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.View#getBase_Class() - * @see #getView() - * @generated - */ - EReference getView_Base_Class(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml14.modelelements.View#getStakeholder <em>Stakeholder</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference list '<em>Stakeholder</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.View#getStakeholder() - * @see #getView() - * @generated - */ - EReference getView_Stakeholder(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.modelelements.View#getViewPoint <em>View Point</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>View Point</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.View#getViewPoint() - * @see #getView() - * @generated - */ - EReference getView_ViewPoint(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.modelelements.Viewpoint <em>Viewpoint</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Viewpoint</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.Viewpoint - * @generated - */ - EClass getViewpoint(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getBase_Class <em>Base Class</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Class</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getBase_Class() - * @see #getViewpoint() - * @generated - */ - EReference getViewpoint_Base_Class(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getConcern <em>Concern</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Concern</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getConcern() - * @see #getViewpoint() - * @generated - */ - EAttribute getViewpoint_Concern(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getConcernList <em>Concern List</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference list '<em>Concern List</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getConcernList() - * @see #getViewpoint() - * @generated - */ - EReference getViewpoint_ConcernList(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getLanguage <em>Language</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Language</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getLanguage() - * @see #getViewpoint() - * @generated - */ - EAttribute getViewpoint_Language(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getMethod <em>Method</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference list '<em>Method</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getMethod() - * @see #getViewpoint() - * @generated - */ - EReference getViewpoint_Method(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getPresentation <em>Presentation</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Presentation</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getPresentation() - * @see #getViewpoint() - * @generated - */ - EAttribute getViewpoint_Presentation(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getPurpose <em>Purpose</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Purpose</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getPurpose() - * @see #getViewpoint() - * @generated - */ - EAttribute getViewpoint_Purpose(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getStakeholder <em>Stakeholder</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference list '<em>Stakeholder</em>'. - * @see org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getStakeholder() - * @see #getViewpoint() - * @generated - */ - EReference getViewpoint_Stakeholder(); - - /** - * Returns the factory that creates the instances of the model. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the factory that creates the instances of the model. - * @generated - */ - ModelelementsFactory getModelelementsFactory(); - - /** - * <!-- begin-user-doc --> - * Defines literals for the meta objects that represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ConformImpl <em>Conform</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ConformImpl - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsPackageImpl#getConform() - * @generated - */ - EClass CONFORM = eINSTANCE.getConform(); - - /** - * The meta object literal for the '<em><b>Base Generalization</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference CONFORM__BASE_GENERALIZATION = eINSTANCE.getConform_Base_Generalization(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ElementGroupImpl <em>Element Group</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ElementGroupImpl - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsPackageImpl#getElementGroup() - * @generated - */ - EClass ELEMENT_GROUP = eINSTANCE.getElementGroup(); - - /** - * The meta object literal for the '<em><b>Base Comment</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ELEMENT_GROUP__BASE_COMMENT = eINSTANCE.getElementGroup_Base_Comment(); - - /** - * The meta object literal for the '<em><b>Criterion</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute ELEMENT_GROUP__CRITERION = eINSTANCE.getElementGroup_Criterion(); - - /** - * The meta object literal for the '<em><b>Member</b></em>' reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ELEMENT_GROUP__MEMBER = eINSTANCE.getElementGroup_Member(); - - /** - * The meta object literal for the '<em><b>Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute ELEMENT_GROUP__NAME = eINSTANCE.getElementGroup_Name(); - - /** - * The meta object literal for the '<em><b>Ordered Memeber</b></em>' reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ELEMENT_GROUP__ORDERED_MEMEBER = eINSTANCE.getElementGroup_OrderedMemeber(); - - /** - * The meta object literal for the '<em><b>Size</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute ELEMENT_GROUP__SIZE = eINSTANCE.getElementGroup_Size(); - - /** - * The meta object literal for the '<em><b>All Groups</b></em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EOperation ELEMENT_GROUP___ALL_GROUPS__ELEMENT_ELIST = eINSTANCE.getElementGroup__AllGroups__Element_EList(); - - /** - * The meta object literal for the '<em><b>Criterion</b></em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EOperation ELEMENT_GROUP___CRITERION__STRING = eINSTANCE.getElementGroup__Criterion__String(); - - /** - * The meta object literal for the '<em><b>Member</b></em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EOperation ELEMENT_GROUP___MEMBER__ELIST = eINSTANCE.getElementGroup__Member__EList(); - - /** - * The meta object literal for the '<em><b>Size</b></em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EOperation ELEMENT_GROUP___SIZE__INT = eINSTANCE.getElementGroup__Size__int(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ExposeImpl <em>Expose</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ExposeImpl - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsPackageImpl#getExpose() - * @generated - */ - EClass EXPOSE = eINSTANCE.getExpose(); - - /** - * The meta object literal for the '<em><b>Base Dependency</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference EXPOSE__BASE_DEPENDENCY = eINSTANCE.getExpose_Base_Dependency(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ProblemImpl <em>Problem</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ProblemImpl - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsPackageImpl#getProblem() - * @generated - */ - EClass PROBLEM = eINSTANCE.getProblem(); - - /** - * The meta object literal for the '<em><b>Base Comment</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference PROBLEM__BASE_COMMENT = eINSTANCE.getProblem_Base_Comment(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.RationaleImpl <em>Rationale</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.RationaleImpl - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsPackageImpl#getRationale() - * @generated - */ - EClass RATIONALE = eINSTANCE.getRationale(); - - /** - * The meta object literal for the '<em><b>Base Comment</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference RATIONALE__BASE_COMMENT = eINSTANCE.getRationale_Base_Comment(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.StakeholderImpl <em>Stakeholder</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.StakeholderImpl - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsPackageImpl#getStakeholder() - * @generated - */ - EClass STAKEHOLDER = eINSTANCE.getStakeholder(); - - /** - * The meta object literal for the '<em><b>Base Classifier</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference STAKEHOLDER__BASE_CLASSIFIER = eINSTANCE.getStakeholder_Base_Classifier(); - - /** - * The meta object literal for the '<em><b>Concern List</b></em>' reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference STAKEHOLDER__CONCERN_LIST = eINSTANCE.getStakeholder_ConcernList(); - - /** - * The meta object literal for the '<em><b>Concern</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute STAKEHOLDER__CONCERN = eINSTANCE.getStakeholder_Concern(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ViewImpl <em>View</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ViewImpl - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsPackageImpl#getView() - * @generated - */ - EClass VIEW = eINSTANCE.getView(); - - /** - * The meta object literal for the '<em><b>Base Class</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference VIEW__BASE_CLASS = eINSTANCE.getView_Base_Class(); - - /** - * The meta object literal for the '<em><b>Stakeholder</b></em>' reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference VIEW__STAKEHOLDER = eINSTANCE.getView_Stakeholder(); - - /** - * The meta object literal for the '<em><b>View Point</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference VIEW__VIEW_POINT = eINSTANCE.getView_ViewPoint(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ViewpointImpl <em>Viewpoint</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ViewpointImpl - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsPackageImpl#getViewpoint() - * @generated - */ - EClass VIEWPOINT = eINSTANCE.getViewpoint(); - - /** - * The meta object literal for the '<em><b>Base Class</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference VIEWPOINT__BASE_CLASS = eINSTANCE.getViewpoint_Base_Class(); - - /** - * The meta object literal for the '<em><b>Concern</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute VIEWPOINT__CONCERN = eINSTANCE.getViewpoint_Concern(); - - /** - * The meta object literal for the '<em><b>Concern List</b></em>' reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference VIEWPOINT__CONCERN_LIST = eINSTANCE.getViewpoint_ConcernList(); - - /** - * The meta object literal for the '<em><b>Language</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute VIEWPOINT__LANGUAGE = eINSTANCE.getViewpoint_Language(); - - /** - * The meta object literal for the '<em><b>Method</b></em>' reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference VIEWPOINT__METHOD = eINSTANCE.getViewpoint_Method(); - - /** - * The meta object literal for the '<em><b>Presentation</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute VIEWPOINT__PRESENTATION = eINSTANCE.getViewpoint_Presentation(); - - /** - * The meta object literal for the '<em><b>Purpose</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute VIEWPOINT__PURPOSE = eINSTANCE.getViewpoint_Purpose(); - - /** - * The meta object literal for the '<em><b>Stakeholder</b></em>' reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference VIEWPOINT__STAKEHOLDER = eINSTANCE.getViewpoint_Stakeholder(); - - } - -} //ModelelementsPackage
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/Problem.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/Problem.java deleted file mode 100644 index cff8ef7..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/Problem.java +++ /dev/null
@@ -1,68 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.Comment; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Problem</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * A Problem documents a deficiency, limitation, or failure of one or more model elements to satisfy a requirement or need, or other undesired outcome. It may be used to capture problems identified during analysis, design, verification, or manufacture and associate the problem with the relevant model elements. Problem is a stereotype of comment and may be attached to any other model element in the same manner as a comment. - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.Problem#getBase_Comment <em>Base Comment</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getProblem() - * @model - * @generated - */ -public interface Problem extends EObject { - /** - * Returns the value of the '<em><b>Base Comment</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Comment</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Comment</em>' reference. - * @see #setBase_Comment(Comment) - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getProblem_Base_Comment() - * @model ordered="false" - * @generated - */ - Comment getBase_Comment(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.modelelements.Problem#getBase_Comment <em>Base Comment</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Comment</em>' reference. - * @see #getBase_Comment() - * @generated - */ - void setBase_Comment(Comment value); - -} // Problem
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/Rationale.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/Rationale.java deleted file mode 100644 index 5587957..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/Rationale.java +++ /dev/null
@@ -1,68 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.Comment; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Rationale</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * A Rationale documents the justification for decisions and the requirements, design, and other decisions. A Rationale can be attached to any model element including relationships. It allows the user, for example, to specify a rationale that may reference more detailed documentation such as a trade study or analysis report. Rationale is a stereotype of comment and may be attached to any other model element in the same manner as a comment. - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.Rationale#getBase_Comment <em>Base Comment</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getRationale() - * @model - * @generated - */ -public interface Rationale extends EObject { - /** - * Returns the value of the '<em><b>Base Comment</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Comment</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Comment</em>' reference. - * @see #setBase_Comment(Comment) - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getRationale_Base_Comment() - * @model ordered="false" - * @generated - */ - Comment getBase_Comment(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.modelelements.Rationale#getBase_Comment <em>Base Comment</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Comment</em>' reference. - * @see #getBase_Comment() - * @generated - */ - void setBase_Comment(Comment value); - -} // Rationale
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/Stakeholder.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/Stakeholder.java deleted file mode 100644 index 4ff2f72..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/Stakeholder.java +++ /dev/null
@@ -1,99 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.Comment; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Stakeholder</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.Stakeholder#getBase_Classifier <em>Base Classifier</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.Stakeholder#getConcernList <em>Concern List</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.Stakeholder#getConcern <em>Concern</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getStakeholder() - * @model - * @generated - */ -public interface Stakeholder extends EObject { - /** - * Returns the value of the '<em><b>Base Classifier</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Classifier</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Classifier</em>' reference. - * @see #setBase_Classifier(Classifier) - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getStakeholder_Base_Classifier() - * @model ordered="false" - * @generated - */ - Classifier getBase_Classifier(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.modelelements.Stakeholder#getBase_Classifier <em>Base Classifier</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Classifier</em>' reference. - * @see #getBase_Classifier() - * @generated - */ - void setBase_Classifier(Classifier value); - - /** - * Returns the value of the '<em><b>Concern List</b></em>' reference list. - * The list contents are of type {@link org.eclipse.uml2.uml.Comment}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Concern List</em>' reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Concern List</em>' reference list. - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getStakeholder_ConcernList() - * @model ordered="false" - * @generated - */ - EList<Comment> getConcernList(); - - /** - * Returns the value of the '<em><b>Concern</b></em>' attribute list. - * The list contents are of type {@link java.lang.String}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Concern</em>' attribute list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Concern</em>' attribute list. - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getStakeholder_Concern() - * @model dataType="org.eclipse.uml2.types.String" transient="true" changeable="false" volatile="true" derived="true" ordered="false" - * @generated - */ - EList<String> getConcern(); - -} // Stakeholder
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/View.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/View.java deleted file mode 100644 index f9d58a3..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/View.java +++ /dev/null
@@ -1,98 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>View</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * A View is a representation of a whole system or subsystem from the perspective of a single viewpoint. Views are allowed to import other elements including other packages and other views that conform to the viewpoint. - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.View#getBase_Class <em>Base Class</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.View#getStakeholder <em>Stakeholder</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.View#getViewPoint <em>View Point</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getView() - * @model - * @generated - */ -public interface View extends EObject { - /** - * Returns the value of the '<em><b>Base Class</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Class</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Class</em>' reference. - * @see #setBase_Class(org.eclipse.uml2.uml.Class) - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getView_Base_Class() - * @model ordered="false" - * @generated - */ - org.eclipse.uml2.uml.Class getBase_Class(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.modelelements.View#getBase_Class <em>Base Class</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Class</em>' reference. - * @see #getBase_Class() - * @generated - */ - void setBase_Class(org.eclipse.uml2.uml.Class value); - - /** - * Returns the value of the '<em><b>Stakeholder</b></em>' reference list. - * The list contents are of type {@link org.eclipse.papyrus.sysml14.modelelements.Stakeholder}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Stakeholder</em>' reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Stakeholder</em>' reference list. - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getView_Stakeholder() - * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" - * @generated - */ - EList<Stakeholder> getStakeholder(); - - /** - * Returns the value of the '<em><b>View Point</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The viewpoint for this View, derived from the supplier of the «conform» dependency whose client is this View. - * <!-- end-model-doc --> - * @return the value of the '<em>View Point</em>' reference. - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getView_ViewPoint() - * @model required="true" transient="true" changeable="false" volatile="true" derived="true" ordered="false" - * @generated - */ - Viewpoint getViewPoint(); - -} // View
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/Viewpoint.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/Viewpoint.java deleted file mode 100644 index 3814979..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/Viewpoint.java +++ /dev/null
@@ -1,220 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.Behavior; -import org.eclipse.uml2.uml.Comment; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Viewpoint</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * A Viewpoint is a specification of the conventions and rules for constructing and using a view for the purpose of addressing a set of stakeholder concerns. The languages and methods for specifying a view may reference languages and methods in another viewpoint. They specify the elements expected to be represented in the view, and may be formally or informally defined. For example, the security viewpoint may require the security requirements, security functional and physical architecture, and security test cases. - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getBase_Class <em>Base Class</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getConcern <em>Concern</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getConcernList <em>Concern List</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getLanguage <em>Language</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getMethod <em>Method</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getPresentation <em>Presentation</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getPurpose <em>Purpose</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getStakeholder <em>Stakeholder</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getViewpoint() - * @model - * @generated - */ -public interface Viewpoint extends EObject { - /** - * Returns the value of the '<em><b>Base Class</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Class</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Class</em>' reference. - * @see #setBase_Class(org.eclipse.uml2.uml.Class) - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getViewpoint_Base_Class() - * @model ordered="false" - * @generated - */ - org.eclipse.uml2.uml.Class getBase_Class(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getBase_Class <em>Base Class</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Class</em>' reference. - * @see #getBase_Class() - * @generated - */ - void setBase_Class(org.eclipse.uml2.uml.Class value); - - /** - * Returns the value of the '<em><b>Concern</b></em>' attribute list. - * The list contents are of type {@link java.lang.String}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Concern</em>' attribute list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Concern</em>' attribute list. - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getViewpoint_Concern() - * @model dataType="org.eclipse.uml2.types.String" transient="true" changeable="false" volatile="true" derived="true" ordered="false" - * @generated - */ - EList<String> getConcern(); - - /** - * Returns the value of the '<em><b>Concern List</b></em>' reference list. - * The list contents are of type {@link org.eclipse.uml2.uml.Comment}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The interest of the stakeholders. - * <!-- end-model-doc --> - * @return the value of the '<em>Concern List</em>' reference list. - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getViewpoint_ConcernList() - * @model ordered="false" - * @generated - */ - EList<Comment> getConcernList(); - - /** - * Returns the value of the '<em><b>Language</b></em>' attribute list. - * The list contents are of type {@link java.lang.String}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The languages used to construct the viewpoint. - * <!-- end-model-doc --> - * @return the value of the '<em>Language</em>' attribute list. - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getViewpoint_Language() - * @model dataType="org.eclipse.uml2.types.String" ordered="false" - * @generated - */ - EList<String> getLanguage(); - - /** - * Returns the value of the '<em><b>Method</b></em>' reference list. - * The list contents are of type {@link org.eclipse.uml2.uml.Behavior}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The methods used to construct the views for this viewpoint. - * <!-- end-model-doc --> - * @return the value of the '<em>Method</em>' reference list. - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getViewpoint_Method() - * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" - * @generated - */ - EList<Behavior> getMethod(); - - /** - * Retrieves the first {@link org.eclipse.uml2.uml.Behavior} with the specified '<em><b>Name</b></em>' from the '<em><b>Method</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Behavior} to retrieve, or <code>null</code>. - * @return The first {@link org.eclipse.uml2.uml.Behavior} with the specified '<em><b>Name</b></em>', or <code>null</code>. - * @see #getMethod() - * @generated - */ - Behavior getMethod(String name); - - /** - * Retrieves the first {@link org.eclipse.uml2.uml.Behavior} with the specified '<em><b>Name</b></em>' from the '<em><b>Method</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Behavior} to retrieve, or <code>null</code>. - * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons. - * @param eClass The Ecore class of the {@link org.eclipse.uml2.uml.Behavior} to retrieve, or <code>null</code>. - * @return The first {@link org.eclipse.uml2.uml.Behavior} with the specified '<em><b>Name</b></em>', or <code>null</code>. - * @see #getMethod() - * @generated - */ - Behavior getMethod(String name, boolean ignoreCase, EClass eClass); - - /** - * Returns the value of the '<em><b>Presentation</b></em>' attribute list. - * The list contents are of type {@link java.lang.String}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Presentation</em>' attribute list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Presentation</em>' attribute list. - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getViewpoint_Presentation() - * @model dataType="org.eclipse.uml2.types.String" ordered="false" - * @generated - */ - EList<String> getPresentation(); - - /** - * Returns the value of the '<em><b>Purpose</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The purpose addresses the stakeholder concerns. - * <!-- end-model-doc --> - * @return the value of the '<em>Purpose</em>' attribute. - * @see #setPurpose(String) - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getViewpoint_Purpose() - * @model dataType="org.eclipse.uml2.types.String" required="true" ordered="false" - * @generated - */ - String getPurpose(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.modelelements.Viewpoint#getPurpose <em>Purpose</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Purpose</em>' attribute. - * @see #getPurpose() - * @generated - */ - void setPurpose(String value); - - /** - * Returns the value of the '<em><b>Stakeholder</b></em>' reference list. - * The list contents are of type {@link org.eclipse.papyrus.sysml14.modelelements.Stakeholder}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * Set of stakeholders. - * <!-- end-model-doc --> - * @return the value of the '<em>Stakeholder</em>' reference list. - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#getViewpoint_Stakeholder() - * @model ordered="false" - * @generated - */ - EList<Stakeholder> getStakeholder(); - -} // Viewpoint
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/ConformImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/ConformImpl.java deleted file mode 100644 index d9fdceb..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/ConformImpl.java +++ /dev/null
@@ -1,168 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.modelelements.Conform; -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; - -import org.eclipse.uml2.uml.Generalization; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Conform</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ConformImpl#getBase_Generalization <em>Base Generalization</em>}</li> - * </ul> - * - * @generated - */ -public class ConformImpl extends MinimalEObjectImpl.Container implements Conform { - /** - * The cached value of the '{@link #getBase_Generalization() <em>Base Generalization</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Generalization() - * @generated - * @ordered - */ - protected Generalization base_Generalization; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ConformImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ModelelementsPackage.Literals.CONFORM; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Generalization getBase_Generalization() { - if (base_Generalization != null && base_Generalization.eIsProxy()) { - InternalEObject oldBase_Generalization = (InternalEObject)base_Generalization; - base_Generalization = (Generalization)eResolveProxy(oldBase_Generalization); - if (base_Generalization != oldBase_Generalization) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ModelelementsPackage.CONFORM__BASE_GENERALIZATION, oldBase_Generalization, base_Generalization)); - } - } - return base_Generalization; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Generalization basicGetBase_Generalization() { - return base_Generalization; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Generalization(Generalization newBase_Generalization) { - Generalization oldBase_Generalization = base_Generalization; - base_Generalization = newBase_Generalization; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ModelelementsPackage.CONFORM__BASE_GENERALIZATION, oldBase_Generalization, base_Generalization)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ModelelementsPackage.CONFORM__BASE_GENERALIZATION: - if (resolve) return getBase_Generalization(); - return basicGetBase_Generalization(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ModelelementsPackage.CONFORM__BASE_GENERALIZATION: - setBase_Generalization((Generalization)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ModelelementsPackage.CONFORM__BASE_GENERALIZATION: - setBase_Generalization((Generalization)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ModelelementsPackage.CONFORM__BASE_GENERALIZATION: - return base_Generalization != null; - } - return super.eIsSet(featureID); - } - -} //ConformImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/ElementGroupImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/ElementGroupImpl.java deleted file mode 100644 index 7adf368..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/ElementGroupImpl.java +++ /dev/null
@@ -1,417 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements.internal.impl; - -import java.lang.reflect.InvocationTargetException; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectResolvingEList; - -import org.eclipse.papyrus.sysml14.modelelements.ElementGroup; -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; - -import org.eclipse.uml2.uml.Comment; -import org.eclipse.uml2.uml.Element; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Element Group</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ElementGroupImpl#getBase_Comment <em>Base Comment</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ElementGroupImpl#getCriterion <em>Criterion</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ElementGroupImpl#getMember <em>Member</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ElementGroupImpl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ElementGroupImpl#getOrderedMemeber <em>Ordered Memeber</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ElementGroupImpl#getSize <em>Size</em>}</li> - * </ul> - * - * @generated - */ -public class ElementGroupImpl extends MinimalEObjectImpl.Container implements ElementGroup { - /** - * The cached value of the '{@link #getBase_Comment() <em>Base Comment</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Comment() - * @generated - * @ordered - */ - protected Comment base_Comment; - - /** - * The default value of the '{@link #getCriterion() <em>Criterion</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getCriterion() - * @generated - * @ordered - */ - protected static final String CRITERION_EDEFAULT = null; - - /** - * The default value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getOrderedMemeber() <em>Ordered Memeber</em>}' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOrderedMemeber() - * @generated - * @ordered - */ - protected EList<Element> orderedMemeber; - - /** - * The default value of the '{@link #getSize() <em>Size</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSize() - * @generated - * @ordered - */ - protected static final int SIZE_EDEFAULT = 0; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ElementGroupImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ModelelementsPackage.Literals.ELEMENT_GROUP; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Comment getBase_Comment() { - if (base_Comment != null && base_Comment.eIsProxy()) { - InternalEObject oldBase_Comment = (InternalEObject)base_Comment; - base_Comment = (Comment)eResolveProxy(oldBase_Comment); - if (base_Comment != oldBase_Comment) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ModelelementsPackage.ELEMENT_GROUP__BASE_COMMENT, oldBase_Comment, base_Comment)); - } - } - return base_Comment; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Comment basicGetBase_Comment() { - return base_Comment; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Comment(Comment newBase_Comment) { - Comment oldBase_Comment = base_Comment; - base_Comment = newBase_Comment; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ModelelementsPackage.ELEMENT_GROUP__BASE_COMMENT, oldBase_Comment, base_Comment)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getCriterion() { - // TODO: implement this method to return the 'Criterion' attribute - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Element> getMember() { - // TODO: implement this method to return the 'Member' reference list - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ModelelementsPackage.ELEMENT_GROUP__NAME, oldName, name)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Element> getOrderedMemeber() { - if (orderedMemeber == null) { - orderedMemeber = new EObjectResolvingEList<Element>(Element.class, this, ModelelementsPackage.ELEMENT_GROUP__ORDERED_MEMEBER); - } - return orderedMemeber; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getSize() { - // TODO: implement this method to return the 'Size' attribute - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void allGroups(Element e, EList<ElementGroup> result) { - // TODO: implement this method - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void criterion(String result) { - // TODO: implement this method - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void member(EList<Element> result) { - // TODO: implement this method - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void size(int result) { - // TODO: implement this method - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ModelelementsPackage.ELEMENT_GROUP__BASE_COMMENT: - if (resolve) return getBase_Comment(); - return basicGetBase_Comment(); - case ModelelementsPackage.ELEMENT_GROUP__CRITERION: - return getCriterion(); - case ModelelementsPackage.ELEMENT_GROUP__MEMBER: - return getMember(); - case ModelelementsPackage.ELEMENT_GROUP__NAME: - return getName(); - case ModelelementsPackage.ELEMENT_GROUP__ORDERED_MEMEBER: - return getOrderedMemeber(); - case ModelelementsPackage.ELEMENT_GROUP__SIZE: - return getSize(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ModelelementsPackage.ELEMENT_GROUP__BASE_COMMENT: - setBase_Comment((Comment)newValue); - return; - case ModelelementsPackage.ELEMENT_GROUP__NAME: - setName((String)newValue); - return; - case ModelelementsPackage.ELEMENT_GROUP__ORDERED_MEMEBER: - getOrderedMemeber().clear(); - getOrderedMemeber().addAll((Collection<? extends Element>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ModelelementsPackage.ELEMENT_GROUP__BASE_COMMENT: - setBase_Comment((Comment)null); - return; - case ModelelementsPackage.ELEMENT_GROUP__NAME: - setName(NAME_EDEFAULT); - return; - case ModelelementsPackage.ELEMENT_GROUP__ORDERED_MEMEBER: - getOrderedMemeber().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ModelelementsPackage.ELEMENT_GROUP__BASE_COMMENT: - return base_Comment != null; - case ModelelementsPackage.ELEMENT_GROUP__CRITERION: - return CRITERION_EDEFAULT == null ? getCriterion() != null : !CRITERION_EDEFAULT.equals(getCriterion()); - case ModelelementsPackage.ELEMENT_GROUP__MEMBER: - return !getMember().isEmpty(); - case ModelelementsPackage.ELEMENT_GROUP__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case ModelelementsPackage.ELEMENT_GROUP__ORDERED_MEMEBER: - return orderedMemeber != null && !orderedMemeber.isEmpty(); - case ModelelementsPackage.ELEMENT_GROUP__SIZE: - return getSize() != SIZE_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - @SuppressWarnings("unchecked") - public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { - switch (operationID) { - case ModelelementsPackage.ELEMENT_GROUP___ALL_GROUPS__ELEMENT_ELIST: - allGroups((Element)arguments.get(0), (EList<ElementGroup>)arguments.get(1)); - return null; - case ModelelementsPackage.ELEMENT_GROUP___CRITERION__STRING: - criterion((String)arguments.get(0)); - return null; - case ModelelementsPackage.ELEMENT_GROUP___MEMBER__ELIST: - member((EList<Element>)arguments.get(0)); - return null; - case ModelelementsPackage.ELEMENT_GROUP___SIZE__INT: - size((Integer)arguments.get(0)); - return null; - } - return super.eInvoke(operationID, arguments); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (name: "); //$NON-NLS-1$ - result.append(name); - result.append(')'); - return result.toString(); - } - -} //ElementGroupImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/ExposeImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/ExposeImpl.java deleted file mode 100644 index 44715a6..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/ExposeImpl.java +++ /dev/null
@@ -1,168 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.modelelements.Expose; -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; - -import org.eclipse.uml2.uml.Dependency; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Expose</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ExposeImpl#getBase_Dependency <em>Base Dependency</em>}</li> - * </ul> - * - * @generated - */ -public class ExposeImpl extends MinimalEObjectImpl.Container implements Expose { - /** - * The cached value of the '{@link #getBase_Dependency() <em>Base Dependency</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Dependency() - * @generated - * @ordered - */ - protected Dependency base_Dependency; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ExposeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ModelelementsPackage.Literals.EXPOSE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Dependency getBase_Dependency() { - if (base_Dependency != null && base_Dependency.eIsProxy()) { - InternalEObject oldBase_Dependency = (InternalEObject)base_Dependency; - base_Dependency = (Dependency)eResolveProxy(oldBase_Dependency); - if (base_Dependency != oldBase_Dependency) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ModelelementsPackage.EXPOSE__BASE_DEPENDENCY, oldBase_Dependency, base_Dependency)); - } - } - return base_Dependency; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Dependency basicGetBase_Dependency() { - return base_Dependency; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Dependency(Dependency newBase_Dependency) { - Dependency oldBase_Dependency = base_Dependency; - base_Dependency = newBase_Dependency; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ModelelementsPackage.EXPOSE__BASE_DEPENDENCY, oldBase_Dependency, base_Dependency)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ModelelementsPackage.EXPOSE__BASE_DEPENDENCY: - if (resolve) return getBase_Dependency(); - return basicGetBase_Dependency(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ModelelementsPackage.EXPOSE__BASE_DEPENDENCY: - setBase_Dependency((Dependency)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ModelelementsPackage.EXPOSE__BASE_DEPENDENCY: - setBase_Dependency((Dependency)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ModelelementsPackage.EXPOSE__BASE_DEPENDENCY: - return base_Dependency != null; - } - return super.eIsSet(featureID); - } - -} //ExposeImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/ModelelementsFactoryImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/ModelelementsFactoryImpl.java deleted file mode 100644 index ca7eeec..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/ModelelementsFactoryImpl.java +++ /dev/null
@@ -1,182 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements.internal.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -import org.eclipse.papyrus.sysml14.modelelements.*; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class ModelelementsFactoryImpl extends EFactoryImpl implements ModelelementsFactory { - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static ModelelementsFactory init() { - try { - ModelelementsFactory theModelelementsFactory = (ModelelementsFactory)EPackage.Registry.INSTANCE.getEFactory(ModelelementsPackage.eNS_URI); - if (theModelelementsFactory != null) { - return theModelelementsFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new ModelelementsFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ModelelementsFactoryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case ModelelementsPackage.CONFORM: return createConform(); - case ModelelementsPackage.ELEMENT_GROUP: return createElementGroup(); - case ModelelementsPackage.EXPOSE: return createExpose(); - case ModelelementsPackage.PROBLEM: return createProblem(); - case ModelelementsPackage.RATIONALE: return createRationale(); - case ModelelementsPackage.STAKEHOLDER: return createStakeholder(); - case ModelelementsPackage.VIEW: return createView(); - case ModelelementsPackage.VIEWPOINT: return createViewpoint(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Conform createConform() { - ConformImpl conform = new ConformImpl(); - return conform; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ElementGroup createElementGroup() { - ElementGroupImpl elementGroup = new ElementGroupImpl(); - return elementGroup; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Expose createExpose() { - ExposeImpl expose = new ExposeImpl(); - return expose; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Problem createProblem() { - ProblemImpl problem = new ProblemImpl(); - return problem; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Rationale createRationale() { - RationaleImpl rationale = new RationaleImpl(); - return rationale; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Stakeholder createStakeholder() { - StakeholderImpl stakeholder = new StakeholderImpl(); - return stakeholder; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public View createView() { - ViewImpl view = new ViewImpl(); - return view; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Viewpoint createViewpoint() { - ViewpointImpl viewpoint = new ViewpointImpl(); - return viewpoint; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ModelelementsPackage getModelelementsPackage() { - return (ModelelementsPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - @Deprecated - public static ModelelementsPackage getPackage() { - return ModelelementsPackage.eINSTANCE; - } - -} //ModelelementsFactoryImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/ModelelementsPackageImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/ModelelementsPackageImpl.java deleted file mode 100644 index 19d892c..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/ModelelementsPackageImpl.java +++ /dev/null
@@ -1,726 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements.internal.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EOperation; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; - -import org.eclipse.papyrus.sysml14.activities.internal.impl.ActivitiesPackageImpl; - -import org.eclipse.papyrus.sysml14.allocations.AllocationsPackage; - -import org.eclipse.papyrus.sysml14.allocations.internal.impl.AllocationsPackageImpl; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; - -import org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl; - -import org.eclipse.papyrus.sysml14.constraintblocks.ConstraintblocksPackage; - -import org.eclipse.papyrus.sysml14.constraintblocks.internal.impl.ConstraintblocksPackageImpl; - -import org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsPackage; - -import org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.DeprecatedelementsPackageImpl; - -import org.eclipse.papyrus.sysml14.impl.sysmlPackageImpl; -import org.eclipse.papyrus.sysml14.modelelements.Conform; -import org.eclipse.papyrus.sysml14.modelelements.ElementGroup; -import org.eclipse.papyrus.sysml14.modelelements.Expose; -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsFactory; -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; -import org.eclipse.papyrus.sysml14.modelelements.Problem; -import org.eclipse.papyrus.sysml14.modelelements.Rationale; -import org.eclipse.papyrus.sysml14.modelelements.Stakeholder; -import org.eclipse.papyrus.sysml14.modelelements.View; -import org.eclipse.papyrus.sysml14.modelelements.Viewpoint; - -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; - -import org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl; - -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; - -import org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsPackageImpl; - -import org.eclipse.papyrus.sysml14.sysmlPackage; -import org.eclipse.uml2.types.TypesPackage; - -import org.eclipse.uml2.uml.UMLPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class ModelelementsPackageImpl extends EPackageImpl implements ModelelementsPackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass conformEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass elementGroupEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass exposeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass problemEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass rationaleEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass stakeholderEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass viewEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass viewpointEClass = null; - - /** - * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage#eNS_URI - * @see #init() - * @generated - */ - private ModelelementsPackageImpl() { - super(eNS_URI, ModelelementsFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. - * - * <p>This method is used to initialize {@link ModelelementsPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static ModelelementsPackage init() { - if (isInited) return (ModelelementsPackage)EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI); - - // Obtain or create and register package - ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ModelelementsPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - UMLPackage.eINSTANCE.eClass(); - - // Obtain or create and register interdependencies - sysmlPackageImpl thesysmlPackage = (sysmlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(sysmlPackage.eNS_URI) instanceof sysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(sysmlPackage.eNS_URI) : sysmlPackage.eINSTANCE); - ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) : ActivitiesPackage.eINSTANCE); - AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) : AllocationsPackage.eINSTANCE); - BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE); - ConstraintblocksPackageImpl theConstraintblocksPackage = (ConstraintblocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) instanceof ConstraintblocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) : ConstraintblocksPackage.eINSTANCE); - DeprecatedelementsPackageImpl theDeprecatedelementsPackage = (DeprecatedelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) instanceof DeprecatedelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) : DeprecatedelementsPackage.eINSTANCE); - PortsandflowsPackageImpl thePortsandflowsPackage = (PortsandflowsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) instanceof PortsandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) : PortsandflowsPackage.eINSTANCE); - RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE); - - // Create package meta-data objects - theModelelementsPackage.createPackageContents(); - thesysmlPackage.createPackageContents(); - theActivitiesPackage.createPackageContents(); - theAllocationsPackage.createPackageContents(); - theBlocksPackage.createPackageContents(); - theConstraintblocksPackage.createPackageContents(); - theDeprecatedelementsPackage.createPackageContents(); - thePortsandflowsPackage.createPackageContents(); - theRequirementsPackage.createPackageContents(); - - // Initialize created meta-data - theModelelementsPackage.initializePackageContents(); - thesysmlPackage.initializePackageContents(); - theActivitiesPackage.initializePackageContents(); - theAllocationsPackage.initializePackageContents(); - theBlocksPackage.initializePackageContents(); - theConstraintblocksPackage.initializePackageContents(); - theDeprecatedelementsPackage.initializePackageContents(); - thePortsandflowsPackage.initializePackageContents(); - theRequirementsPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theModelelementsPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(ModelelementsPackage.eNS_URI, theModelelementsPackage); - return theModelelementsPackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getConform() { - return conformEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getConform_Base_Generalization() { - return (EReference)conformEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getElementGroup() { - return elementGroupEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getElementGroup_Base_Comment() { - return (EReference)elementGroupEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getElementGroup_Criterion() { - return (EAttribute)elementGroupEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getElementGroup_Member() { - return (EReference)elementGroupEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getElementGroup_Name() { - return (EAttribute)elementGroupEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getElementGroup_OrderedMemeber() { - return (EReference)elementGroupEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getElementGroup_Size() { - return (EAttribute)elementGroupEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EOperation getElementGroup__AllGroups__Element_EList() { - return elementGroupEClass.getEOperations().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EOperation getElementGroup__Criterion__String() { - return elementGroupEClass.getEOperations().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EOperation getElementGroup__Member__EList() { - return elementGroupEClass.getEOperations().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EOperation getElementGroup__Size__int() { - return elementGroupEClass.getEOperations().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getExpose() { - return exposeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getExpose_Base_Dependency() { - return (EReference)exposeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getProblem() { - return problemEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getProblem_Base_Comment() { - return (EReference)problemEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getRationale() { - return rationaleEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRationale_Base_Comment() { - return (EReference)rationaleEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getStakeholder() { - return stakeholderEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getStakeholder_Base_Classifier() { - return (EReference)stakeholderEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getStakeholder_ConcernList() { - return (EReference)stakeholderEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getStakeholder_Concern() { - return (EAttribute)stakeholderEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getView() { - return viewEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getView_Base_Class() { - return (EReference)viewEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getView_Stakeholder() { - return (EReference)viewEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getView_ViewPoint() { - return (EReference)viewEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getViewpoint() { - return viewpointEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getViewpoint_Base_Class() { - return (EReference)viewpointEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getViewpoint_Concern() { - return (EAttribute)viewpointEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getViewpoint_ConcernList() { - return (EReference)viewpointEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getViewpoint_Language() { - return (EAttribute)viewpointEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getViewpoint_Method() { - return (EReference)viewpointEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getViewpoint_Presentation() { - return (EAttribute)viewpointEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getViewpoint_Purpose() { - return (EAttribute)viewpointEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getViewpoint_Stakeholder() { - return (EReference)viewpointEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ModelelementsFactory getModelelementsFactory() { - return (ModelelementsFactory)getEFactoryInstance(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - conformEClass = createEClass(CONFORM); - createEReference(conformEClass, CONFORM__BASE_GENERALIZATION); - - elementGroupEClass = createEClass(ELEMENT_GROUP); - createEReference(elementGroupEClass, ELEMENT_GROUP__BASE_COMMENT); - createEAttribute(elementGroupEClass, ELEMENT_GROUP__CRITERION); - createEReference(elementGroupEClass, ELEMENT_GROUP__MEMBER); - createEAttribute(elementGroupEClass, ELEMENT_GROUP__NAME); - createEReference(elementGroupEClass, ELEMENT_GROUP__ORDERED_MEMEBER); - createEAttribute(elementGroupEClass, ELEMENT_GROUP__SIZE); - createEOperation(elementGroupEClass, ELEMENT_GROUP___ALL_GROUPS__ELEMENT_ELIST); - createEOperation(elementGroupEClass, ELEMENT_GROUP___CRITERION__STRING); - createEOperation(elementGroupEClass, ELEMENT_GROUP___MEMBER__ELIST); - createEOperation(elementGroupEClass, ELEMENT_GROUP___SIZE__INT); - - exposeEClass = createEClass(EXPOSE); - createEReference(exposeEClass, EXPOSE__BASE_DEPENDENCY); - - problemEClass = createEClass(PROBLEM); - createEReference(problemEClass, PROBLEM__BASE_COMMENT); - - rationaleEClass = createEClass(RATIONALE); - createEReference(rationaleEClass, RATIONALE__BASE_COMMENT); - - stakeholderEClass = createEClass(STAKEHOLDER); - createEReference(stakeholderEClass, STAKEHOLDER__BASE_CLASSIFIER); - createEReference(stakeholderEClass, STAKEHOLDER__CONCERN_LIST); - createEAttribute(stakeholderEClass, STAKEHOLDER__CONCERN); - - viewEClass = createEClass(VIEW); - createEReference(viewEClass, VIEW__BASE_CLASS); - createEReference(viewEClass, VIEW__STAKEHOLDER); - createEReference(viewEClass, VIEW__VIEW_POINT); - - viewpointEClass = createEClass(VIEWPOINT); - createEReference(viewpointEClass, VIEWPOINT__BASE_CLASS); - createEAttribute(viewpointEClass, VIEWPOINT__CONCERN); - createEReference(viewpointEClass, VIEWPOINT__CONCERN_LIST); - createEAttribute(viewpointEClass, VIEWPOINT__LANGUAGE); - createEReference(viewpointEClass, VIEWPOINT__METHOD); - createEAttribute(viewpointEClass, VIEWPOINT__PRESENTATION); - createEAttribute(viewpointEClass, VIEWPOINT__PURPOSE); - createEReference(viewpointEClass, VIEWPOINT__STAKEHOLDER); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); - TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - - // Initialize classes, features, and operations; add parameters - initEClass(conformEClass, Conform.class, "Conform", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getConform_Base_Generalization(), theUMLPackage.getGeneralization(), null, "base_Generalization", null, 0, 1, Conform.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(elementGroupEClass, ElementGroup.class, "ElementGroup", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getElementGroup_Base_Comment(), theUMLPackage.getComment(), null, "base_Comment", null, 0, 1, ElementGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getElementGroup_Criterion(), theTypesPackage.getString(), "criterion", null, 1, 1, ElementGroup.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getElementGroup_Member(), theUMLPackage.getElement(), null, "member", null, 0, -1, ElementGroup.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getElementGroup_Name(), theTypesPackage.getString(), "name", null, 1, 1, ElementGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getElementGroup_OrderedMemeber(), theUMLPackage.getElement(), null, "orderedMemeber", null, 0, -1, ElementGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getElementGroup_Size(), theTypesPackage.getInteger(), "size", null, 1, 1, ElementGroup.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - EOperation op = initEOperation(getElementGroup__AllGroups__Element_EList(), null, "allGroups", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - addEParameter(op, theUMLPackage.getElement(), "e", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - addEParameter(op, this.getElementGroup(), "result", 0, -1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - - op = initEOperation(getElementGroup__Criterion__String(), null, "criterion", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - addEParameter(op, theTypesPackage.getString(), "result", 0, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - - op = initEOperation(getElementGroup__Member__EList(), null, "member", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - addEParameter(op, theUMLPackage.getElement(), "result", 0, -1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - - op = initEOperation(getElementGroup__Size__int(), null, "size", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - addEParameter(op, theTypesPackage.getInteger(), "result", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(exposeEClass, Expose.class, "Expose", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getExpose_Base_Dependency(), theUMLPackage.getDependency(), null, "base_Dependency", null, 0, 1, Expose.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(problemEClass, Problem.class, "Problem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getProblem_Base_Comment(), theUMLPackage.getComment(), null, "base_Comment", null, 0, 1, Problem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(rationaleEClass, Rationale.class, "Rationale", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getRationale_Base_Comment(), theUMLPackage.getComment(), null, "base_Comment", null, 0, 1, Rationale.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(stakeholderEClass, Stakeholder.class, "Stakeholder", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getStakeholder_Base_Classifier(), theUMLPackage.getClassifier(), null, "base_Classifier", null, 0, 1, Stakeholder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getStakeholder_ConcernList(), theUMLPackage.getComment(), null, "concernList", null, 0, -1, Stakeholder.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getStakeholder_Concern(), theTypesPackage.getString(), "concern", null, 0, -1, Stakeholder.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(viewEClass, View.class, "View", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getView_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, View.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getView_Stakeholder(), this.getStakeholder(), null, "stakeholder", null, 0, -1, View.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getView_ViewPoint(), this.getViewpoint(), null, "viewPoint", null, 1, 1, View.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(viewpointEClass, Viewpoint.class, "Viewpoint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getViewpoint_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, Viewpoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getViewpoint_Concern(), theTypesPackage.getString(), "concern", null, 0, -1, Viewpoint.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getViewpoint_ConcernList(), theUMLPackage.getComment(), null, "concernList", null, 0, -1, Viewpoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getViewpoint_Language(), theTypesPackage.getString(), "language", null, 0, -1, Viewpoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getViewpoint_Method(), theUMLPackage.getBehavior(), null, "method", null, 0, -1, Viewpoint.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getViewpoint_Presentation(), theTypesPackage.getString(), "presentation", null, 0, -1, Viewpoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getViewpoint_Purpose(), theTypesPackage.getString(), "purpose", null, 1, 1, Viewpoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getViewpoint_Stakeholder(), this.getStakeholder(), null, "stakeholder", null, 0, -1, Viewpoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - // Create annotations - // http://www.eclipse.org/uml2/2.0.0/UML - createUMLAnnotations(); - } - - /** - * Initializes the annotations for <b>http://www.eclipse.org/uml2/2.0.0/UML</b>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void createUMLAnnotations() { - String source = "http://www.eclipse.org/uml2/2.0.0/UML"; //$NON-NLS-1$ - addAnnotation - (this, - source, - new String[] { - "originalName", "ModelElements" //$NON-NLS-1$ //$NON-NLS-2$ - }); - } - -} //ModelelementsPackageImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/ProblemImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/ProblemImpl.java deleted file mode 100644 index efe934c..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/ProblemImpl.java +++ /dev/null
@@ -1,168 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; -import org.eclipse.papyrus.sysml14.modelelements.Problem; - -import org.eclipse.uml2.uml.Comment; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Problem</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ProblemImpl#getBase_Comment <em>Base Comment</em>}</li> - * </ul> - * - * @generated - */ -public class ProblemImpl extends MinimalEObjectImpl.Container implements Problem { - /** - * The cached value of the '{@link #getBase_Comment() <em>Base Comment</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Comment() - * @generated - * @ordered - */ - protected Comment base_Comment; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ProblemImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ModelelementsPackage.Literals.PROBLEM; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Comment getBase_Comment() { - if (base_Comment != null && base_Comment.eIsProxy()) { - InternalEObject oldBase_Comment = (InternalEObject)base_Comment; - base_Comment = (Comment)eResolveProxy(oldBase_Comment); - if (base_Comment != oldBase_Comment) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ModelelementsPackage.PROBLEM__BASE_COMMENT, oldBase_Comment, base_Comment)); - } - } - return base_Comment; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Comment basicGetBase_Comment() { - return base_Comment; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Comment(Comment newBase_Comment) { - Comment oldBase_Comment = base_Comment; - base_Comment = newBase_Comment; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ModelelementsPackage.PROBLEM__BASE_COMMENT, oldBase_Comment, base_Comment)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ModelelementsPackage.PROBLEM__BASE_COMMENT: - if (resolve) return getBase_Comment(); - return basicGetBase_Comment(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ModelelementsPackage.PROBLEM__BASE_COMMENT: - setBase_Comment((Comment)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ModelelementsPackage.PROBLEM__BASE_COMMENT: - setBase_Comment((Comment)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ModelelementsPackage.PROBLEM__BASE_COMMENT: - return base_Comment != null; - } - return super.eIsSet(featureID); - } - -} //ProblemImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/RationaleImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/RationaleImpl.java deleted file mode 100644 index d890cb8..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/RationaleImpl.java +++ /dev/null
@@ -1,168 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; -import org.eclipse.papyrus.sysml14.modelelements.Rationale; - -import org.eclipse.uml2.uml.Comment; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Rationale</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.RationaleImpl#getBase_Comment <em>Base Comment</em>}</li> - * </ul> - * - * @generated - */ -public class RationaleImpl extends MinimalEObjectImpl.Container implements Rationale { - /** - * The cached value of the '{@link #getBase_Comment() <em>Base Comment</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Comment() - * @generated - * @ordered - */ - protected Comment base_Comment; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected RationaleImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ModelelementsPackage.Literals.RATIONALE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Comment getBase_Comment() { - if (base_Comment != null && base_Comment.eIsProxy()) { - InternalEObject oldBase_Comment = (InternalEObject)base_Comment; - base_Comment = (Comment)eResolveProxy(oldBase_Comment); - if (base_Comment != oldBase_Comment) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ModelelementsPackage.RATIONALE__BASE_COMMENT, oldBase_Comment, base_Comment)); - } - } - return base_Comment; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Comment basicGetBase_Comment() { - return base_Comment; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Comment(Comment newBase_Comment) { - Comment oldBase_Comment = base_Comment; - base_Comment = newBase_Comment; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ModelelementsPackage.RATIONALE__BASE_COMMENT, oldBase_Comment, base_Comment)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ModelelementsPackage.RATIONALE__BASE_COMMENT: - if (resolve) return getBase_Comment(); - return basicGetBase_Comment(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ModelelementsPackage.RATIONALE__BASE_COMMENT: - setBase_Comment((Comment)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ModelelementsPackage.RATIONALE__BASE_COMMENT: - setBase_Comment((Comment)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ModelelementsPackage.RATIONALE__BASE_COMMENT: - return base_Comment != null; - } - return super.eIsSet(featureID); - } - -} //RationaleImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/StakeholderImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/StakeholderImpl.java deleted file mode 100644 index 94c7655..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/StakeholderImpl.java +++ /dev/null
@@ -1,226 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements.internal.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectResolvingEList; - -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; -import org.eclipse.papyrus.sysml14.modelelements.Stakeholder; - -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.Comment; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Stakeholder</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.StakeholderImpl#getBase_Classifier <em>Base Classifier</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.StakeholderImpl#getConcernList <em>Concern List</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.StakeholderImpl#getConcern <em>Concern</em>}</li> - * </ul> - * - * @generated - */ -public class StakeholderImpl extends MinimalEObjectImpl.Container implements Stakeholder { - /** - * The cached value of the '{@link #getBase_Classifier() <em>Base Classifier</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Classifier() - * @generated - * @ordered - */ - protected Classifier base_Classifier; - - /** - * The cached value of the '{@link #getConcernList() <em>Concern List</em>}' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getConcernList() - * @generated - * @ordered - */ - protected EList<Comment> concernList; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected StakeholderImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ModelelementsPackage.Literals.STAKEHOLDER; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Classifier getBase_Classifier() { - if (base_Classifier != null && base_Classifier.eIsProxy()) { - InternalEObject oldBase_Classifier = (InternalEObject)base_Classifier; - base_Classifier = (Classifier)eResolveProxy(oldBase_Classifier); - if (base_Classifier != oldBase_Classifier) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ModelelementsPackage.STAKEHOLDER__BASE_CLASSIFIER, oldBase_Classifier, base_Classifier)); - } - } - return base_Classifier; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Classifier basicGetBase_Classifier() { - return base_Classifier; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Classifier(Classifier newBase_Classifier) { - Classifier oldBase_Classifier = base_Classifier; - base_Classifier = newBase_Classifier; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ModelelementsPackage.STAKEHOLDER__BASE_CLASSIFIER, oldBase_Classifier, base_Classifier)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Comment> getConcernList() { - if (concernList == null) { - concernList = new EObjectResolvingEList<Comment>(Comment.class, this, ModelelementsPackage.STAKEHOLDER__CONCERN_LIST); - } - return concernList; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<String> getConcern() { - // TODO: implement this method to return the 'Concern' attribute list - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ModelelementsPackage.STAKEHOLDER__BASE_CLASSIFIER: - if (resolve) return getBase_Classifier(); - return basicGetBase_Classifier(); - case ModelelementsPackage.STAKEHOLDER__CONCERN_LIST: - return getConcernList(); - case ModelelementsPackage.STAKEHOLDER__CONCERN: - return getConcern(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ModelelementsPackage.STAKEHOLDER__BASE_CLASSIFIER: - setBase_Classifier((Classifier)newValue); - return; - case ModelelementsPackage.STAKEHOLDER__CONCERN_LIST: - getConcernList().clear(); - getConcernList().addAll((Collection<? extends Comment>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ModelelementsPackage.STAKEHOLDER__BASE_CLASSIFIER: - setBase_Classifier((Classifier)null); - return; - case ModelelementsPackage.STAKEHOLDER__CONCERN_LIST: - getConcernList().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ModelelementsPackage.STAKEHOLDER__BASE_CLASSIFIER: - return base_Classifier != null; - case ModelelementsPackage.STAKEHOLDER__CONCERN_LIST: - return concernList != null && !concernList.isEmpty(); - case ModelelementsPackage.STAKEHOLDER__CONCERN: - return !getConcern().isEmpty(); - } - return super.eIsSet(featureID); - } - -} //StakeholderImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/ViewImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/ViewImpl.java deleted file mode 100644 index 3de87d7..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/ViewImpl.java +++ /dev/null
@@ -1,215 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; -import org.eclipse.papyrus.sysml14.modelelements.Stakeholder; -import org.eclipse.papyrus.sysml14.modelelements.View; -import org.eclipse.papyrus.sysml14.modelelements.Viewpoint; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>View</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ViewImpl#getBase_Class <em>Base Class</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ViewImpl#getStakeholder <em>Stakeholder</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ViewImpl#getViewPoint <em>View Point</em>}</li> - * </ul> - * - * @generated - */ -public class ViewImpl extends MinimalEObjectImpl.Container implements View { - /** - * The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Class() - * @generated - * @ordered - */ - protected org.eclipse.uml2.uml.Class base_Class; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ViewImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ModelelementsPackage.Literals.VIEW; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public org.eclipse.uml2.uml.Class getBase_Class() { - if (base_Class != null && base_Class.eIsProxy()) { - InternalEObject oldBase_Class = (InternalEObject)base_Class; - base_Class = (org.eclipse.uml2.uml.Class)eResolveProxy(oldBase_Class); - if (base_Class != oldBase_Class) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ModelelementsPackage.VIEW__BASE_CLASS, oldBase_Class, base_Class)); - } - } - return base_Class; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public org.eclipse.uml2.uml.Class basicGetBase_Class() { - return base_Class; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Class(org.eclipse.uml2.uml.Class newBase_Class) { - org.eclipse.uml2.uml.Class oldBase_Class = base_Class; - base_Class = newBase_Class; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ModelelementsPackage.VIEW__BASE_CLASS, oldBase_Class, base_Class)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Stakeholder> getStakeholder() { - // TODO: implement this method to return the 'Stakeholder' reference list - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Viewpoint getViewPoint() { - Viewpoint viewPoint = basicGetViewPoint(); - return viewPoint != null && viewPoint.eIsProxy() ? (Viewpoint)eResolveProxy((InternalEObject)viewPoint) : viewPoint; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Viewpoint basicGetViewPoint() { - // TODO: implement this method to return the 'View Point' reference - // -> do not perform proxy resolution - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ModelelementsPackage.VIEW__BASE_CLASS: - if (resolve) return getBase_Class(); - return basicGetBase_Class(); - case ModelelementsPackage.VIEW__STAKEHOLDER: - return getStakeholder(); - case ModelelementsPackage.VIEW__VIEW_POINT: - if (resolve) return getViewPoint(); - return basicGetViewPoint(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ModelelementsPackage.VIEW__BASE_CLASS: - setBase_Class((org.eclipse.uml2.uml.Class)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ModelelementsPackage.VIEW__BASE_CLASS: - setBase_Class((org.eclipse.uml2.uml.Class)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ModelelementsPackage.VIEW__BASE_CLASS: - return base_Class != null; - case ModelelementsPackage.VIEW__STAKEHOLDER: - return !getStakeholder().isEmpty(); - case ModelelementsPackage.VIEW__VIEW_POINT: - return basicGetViewPoint() != null; - } - return super.eIsSet(featureID); - } - -} //ViewImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/ViewpointImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/ViewpointImpl.java deleted file mode 100644 index 9007770..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/internal/impl/ViewpointImpl.java +++ /dev/null
@@ -1,443 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements.internal.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EDataTypeUniqueEList; -import org.eclipse.emf.ecore.util.EObjectResolvingEList; - -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; -import org.eclipse.papyrus.sysml14.modelelements.Stakeholder; -import org.eclipse.papyrus.sysml14.modelelements.Viewpoint; - -import org.eclipse.uml2.uml.Behavior; -import org.eclipse.uml2.uml.Comment; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Viewpoint</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ViewpointImpl#getBase_Class <em>Base Class</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ViewpointImpl#getConcern <em>Concern</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ViewpointImpl#getConcernList <em>Concern List</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ViewpointImpl#getLanguage <em>Language</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ViewpointImpl#getMethod <em>Method</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ViewpointImpl#getPresentation <em>Presentation</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ViewpointImpl#getPurpose <em>Purpose</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.modelelements.internal.impl.ViewpointImpl#getStakeholder <em>Stakeholder</em>}</li> - * </ul> - * - * @generated - */ -public class ViewpointImpl extends MinimalEObjectImpl.Container implements Viewpoint { - /** - * The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Class() - * @generated - * @ordered - */ - protected org.eclipse.uml2.uml.Class base_Class; - - /** - * The cached value of the '{@link #getConcernList() <em>Concern List</em>}' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getConcernList() - * @generated - * @ordered - */ - protected EList<Comment> concernList; - - /** - * The cached value of the '{@link #getLanguage() <em>Language</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLanguage() - * @generated - * @ordered - */ - protected EList<String> language; - - /** - * The cached value of the '{@link #getPresentation() <em>Presentation</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPresentation() - * @generated - * @ordered - */ - protected EList<String> presentation; - - /** - * The default value of the '{@link #getPurpose() <em>Purpose</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPurpose() - * @generated - * @ordered - */ - protected static final String PURPOSE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPurpose() <em>Purpose</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPurpose() - * @generated - * @ordered - */ - protected String purpose = PURPOSE_EDEFAULT; - - /** - * The cached value of the '{@link #getStakeholder() <em>Stakeholder</em>}' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getStakeholder() - * @generated - * @ordered - */ - protected EList<Stakeholder> stakeholder; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ViewpointImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return ModelelementsPackage.Literals.VIEWPOINT; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public org.eclipse.uml2.uml.Class getBase_Class() { - if (base_Class != null && base_Class.eIsProxy()) { - InternalEObject oldBase_Class = (InternalEObject)base_Class; - base_Class = (org.eclipse.uml2.uml.Class)eResolveProxy(oldBase_Class); - if (base_Class != oldBase_Class) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, ModelelementsPackage.VIEWPOINT__BASE_CLASS, oldBase_Class, base_Class)); - } - } - return base_Class; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public org.eclipse.uml2.uml.Class basicGetBase_Class() { - return base_Class; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Class(org.eclipse.uml2.uml.Class newBase_Class) { - org.eclipse.uml2.uml.Class oldBase_Class = base_Class; - base_Class = newBase_Class; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ModelelementsPackage.VIEWPOINT__BASE_CLASS, oldBase_Class, base_Class)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<String> getConcern() { - // TODO: implement this method to return the 'Concern' attribute list - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Comment> getConcernList() { - if (concernList == null) { - concernList = new EObjectResolvingEList<Comment>(Comment.class, this, ModelelementsPackage.VIEWPOINT__CONCERN_LIST); - } - return concernList; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<String> getLanguage() { - if (language == null) { - language = new EDataTypeUniqueEList<String>(String.class, this, ModelelementsPackage.VIEWPOINT__LANGUAGE); - } - return language; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Behavior> getMethod() { - // TODO: implement this method to return the 'Method' reference list - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Behavior getMethod(String name) { - return getMethod(name, false, null); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Behavior getMethod(String name, boolean ignoreCase, EClass eClass) { - methodLoop: for (Behavior method : getMethod()) { - if (eClass != null && !eClass.isInstance(method)) - continue methodLoop; - if (name != null && !(ignoreCase ? name.equalsIgnoreCase(method.getName()) : name.equals(method.getName()))) - continue methodLoop; - return method; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<String> getPresentation() { - if (presentation == null) { - presentation = new EDataTypeUniqueEList<String>(String.class, this, ModelelementsPackage.VIEWPOINT__PRESENTATION); - } - return presentation; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getPurpose() { - return purpose; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPurpose(String newPurpose) { - String oldPurpose = purpose; - purpose = newPurpose; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ModelelementsPackage.VIEWPOINT__PURPOSE, oldPurpose, purpose)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Stakeholder> getStakeholder() { - if (stakeholder == null) { - stakeholder = new EObjectResolvingEList<Stakeholder>(Stakeholder.class, this, ModelelementsPackage.VIEWPOINT__STAKEHOLDER); - } - return stakeholder; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case ModelelementsPackage.VIEWPOINT__BASE_CLASS: - if (resolve) return getBase_Class(); - return basicGetBase_Class(); - case ModelelementsPackage.VIEWPOINT__CONCERN: - return getConcern(); - case ModelelementsPackage.VIEWPOINT__CONCERN_LIST: - return getConcernList(); - case ModelelementsPackage.VIEWPOINT__LANGUAGE: - return getLanguage(); - case ModelelementsPackage.VIEWPOINT__METHOD: - return getMethod(); - case ModelelementsPackage.VIEWPOINT__PRESENTATION: - return getPresentation(); - case ModelelementsPackage.VIEWPOINT__PURPOSE: - return getPurpose(); - case ModelelementsPackage.VIEWPOINT__STAKEHOLDER: - return getStakeholder(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case ModelelementsPackage.VIEWPOINT__BASE_CLASS: - setBase_Class((org.eclipse.uml2.uml.Class)newValue); - return; - case ModelelementsPackage.VIEWPOINT__CONCERN_LIST: - getConcernList().clear(); - getConcernList().addAll((Collection<? extends Comment>)newValue); - return; - case ModelelementsPackage.VIEWPOINT__LANGUAGE: - getLanguage().clear(); - getLanguage().addAll((Collection<? extends String>)newValue); - return; - case ModelelementsPackage.VIEWPOINT__PRESENTATION: - getPresentation().clear(); - getPresentation().addAll((Collection<? extends String>)newValue); - return; - case ModelelementsPackage.VIEWPOINT__PURPOSE: - setPurpose((String)newValue); - return; - case ModelelementsPackage.VIEWPOINT__STAKEHOLDER: - getStakeholder().clear(); - getStakeholder().addAll((Collection<? extends Stakeholder>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case ModelelementsPackage.VIEWPOINT__BASE_CLASS: - setBase_Class((org.eclipse.uml2.uml.Class)null); - return; - case ModelelementsPackage.VIEWPOINT__CONCERN_LIST: - getConcernList().clear(); - return; - case ModelelementsPackage.VIEWPOINT__LANGUAGE: - getLanguage().clear(); - return; - case ModelelementsPackage.VIEWPOINT__PRESENTATION: - getPresentation().clear(); - return; - case ModelelementsPackage.VIEWPOINT__PURPOSE: - setPurpose(PURPOSE_EDEFAULT); - return; - case ModelelementsPackage.VIEWPOINT__STAKEHOLDER: - getStakeholder().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case ModelelementsPackage.VIEWPOINT__BASE_CLASS: - return base_Class != null; - case ModelelementsPackage.VIEWPOINT__CONCERN: - return !getConcern().isEmpty(); - case ModelelementsPackage.VIEWPOINT__CONCERN_LIST: - return concernList != null && !concernList.isEmpty(); - case ModelelementsPackage.VIEWPOINT__LANGUAGE: - return language != null && !language.isEmpty(); - case ModelelementsPackage.VIEWPOINT__METHOD: - return !getMethod().isEmpty(); - case ModelelementsPackage.VIEWPOINT__PRESENTATION: - return presentation != null && !presentation.isEmpty(); - case ModelelementsPackage.VIEWPOINT__PURPOSE: - return PURPOSE_EDEFAULT == null ? purpose != null : !PURPOSE_EDEFAULT.equals(purpose); - case ModelelementsPackage.VIEWPOINT__STAKEHOLDER: - return stakeholder != null && !stakeholder.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (language: "); //$NON-NLS-1$ - result.append(language); - result.append(", presentation: "); //$NON-NLS-1$ - result.append(presentation); - result.append(", purpose: "); //$NON-NLS-1$ - result.append(purpose); - result.append(')'); - return result.toString(); - } - -} //ViewpointImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/util/ModelelementsAdapterFactory.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/util/ModelelementsAdapterFactory.java deleted file mode 100644 index 3fb12a8..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/util/ModelelementsAdapterFactory.java +++ /dev/null
@@ -1,256 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.papyrus.sysml14.modelelements.*; - -/** - * <!-- begin-user-doc --> - * The <b>Adapter Factory</b> for the model. - * It provides an adapter <code>createXXX</code> method for each class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage - * @generated - */ -public class ModelelementsAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static ModelelementsPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ModelelementsAdapterFactory() { - if (modelPackage == null) { - modelPackage = ModelelementsPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * <!-- begin-user-doc --> - * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. - * <!-- end-user-doc --> - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ModelelementsSwitch<Adapter> modelSwitch = - new ModelelementsSwitch<Adapter>() { - @Override - public Adapter caseConform(Conform object) { - return createConformAdapter(); - } - @Override - public Adapter caseElementGroup(ElementGroup object) { - return createElementGroupAdapter(); - } - @Override - public Adapter caseExpose(Expose object) { - return createExposeAdapter(); - } - @Override - public Adapter caseProblem(Problem object) { - return createProblemAdapter(); - } - @Override - public Adapter caseRationale(Rationale object) { - return createRationaleAdapter(); - } - @Override - public Adapter caseStakeholder(Stakeholder object) { - return createStakeholderAdapter(); - } - @Override - public Adapter caseView(View object) { - return createViewAdapter(); - } - @Override - public Adapter caseViewpoint(Viewpoint object) { - return createViewpointAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the <code>target</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param target the object to adapt. - * @return the adapter for the <code>target</code>. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.modelelements.Conform <em>Conform</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.modelelements.Conform - * @generated - */ - public Adapter createConformAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.modelelements.ElementGroup <em>Element Group</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.modelelements.ElementGroup - * @generated - */ - public Adapter createElementGroupAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.modelelements.Expose <em>Expose</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.modelelements.Expose - * @generated - */ - public Adapter createExposeAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.modelelements.Problem <em>Problem</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.modelelements.Problem - * @generated - */ - public Adapter createProblemAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.modelelements.Rationale <em>Rationale</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.modelelements.Rationale - * @generated - */ - public Adapter createRationaleAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.modelelements.Stakeholder <em>Stakeholder</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.modelelements.Stakeholder - * @generated - */ - public Adapter createStakeholderAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.modelelements.View <em>View</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.modelelements.View - * @generated - */ - public Adapter createViewAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.modelelements.Viewpoint <em>Viewpoint</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.modelelements.Viewpoint - * @generated - */ - public Adapter createViewpointAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * <!-- begin-user-doc --> - * This default implementation returns null. - * <!-- end-user-doc --> - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //ModelelementsAdapterFactory
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/util/ModelelementsSwitch.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/util/ModelelementsSwitch.java deleted file mode 100644 index c3715c3..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/modelelements/util/ModelelementsSwitch.java +++ /dev/null
@@ -1,267 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.modelelements.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -import org.eclipse.papyrus.sysml14.modelelements.*; - -/** - * <!-- begin-user-doc --> - * The <b>Switch</b> for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the <code>caseXXX</code> method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage - * @generated - */ -public class ModelelementsSwitch<T> extends Switch<T> { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static ModelelementsPackage modelPackage; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ModelelementsSwitch() { - if (modelPackage == null) { - modelPackage = ModelelementsPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case ModelelementsPackage.CONFORM: { - Conform conform = (Conform)theEObject; - T result = caseConform(conform); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ModelelementsPackage.ELEMENT_GROUP: { - ElementGroup elementGroup = (ElementGroup)theEObject; - T result = caseElementGroup(elementGroup); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ModelelementsPackage.EXPOSE: { - Expose expose = (Expose)theEObject; - T result = caseExpose(expose); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ModelelementsPackage.PROBLEM: { - Problem problem = (Problem)theEObject; - T result = caseProblem(problem); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ModelelementsPackage.RATIONALE: { - Rationale rationale = (Rationale)theEObject; - T result = caseRationale(rationale); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ModelelementsPackage.STAKEHOLDER: { - Stakeholder stakeholder = (Stakeholder)theEObject; - T result = caseStakeholder(stakeholder); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ModelelementsPackage.VIEW: { - View view = (View)theEObject; - T result = caseView(view); - if (result == null) result = defaultCase(theEObject); - return result; - } - case ModelelementsPackage.VIEWPOINT: { - Viewpoint viewpoint = (Viewpoint)theEObject; - T result = caseViewpoint(viewpoint); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Conform</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Conform</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseConform(Conform object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Element Group</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Element Group</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseElementGroup(ElementGroup object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Expose</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Expose</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseExpose(Expose object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Problem</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Problem</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseProblem(Problem object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Rationale</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Rationale</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRationale(Rationale object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Stakeholder</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Stakeholder</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseStakeholder(Stakeholder object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>View</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>View</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseView(View object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Viewpoint</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Viewpoint</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseViewpoint(Viewpoint object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>EObject</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} //ModelelementsSwitch
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/AcceptChangeStructuralFeatureEventAction.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/AcceptChangeStructuralFeatureEventAction.java deleted file mode 100644 index 9dd625b..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/AcceptChangeStructuralFeatureEventAction.java +++ /dev/null
@@ -1,62 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.AcceptEventAction; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Accept Change Structural Feature Event Action</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.AcceptChangeStructuralFeatureEventAction#getBase_AcceptEventAction <em>Base Accept Event Action</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#getAcceptChangeStructuralFeatureEventAction() - * @model - * @generated - */ -public interface AcceptChangeStructuralFeatureEventAction extends EObject { - /** - * Returns the value of the '<em><b>Base Accept Event Action</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Accept Event Action</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Accept Event Action</em>' reference. - * @see #setBase_AcceptEventAction(AcceptEventAction) - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#getAcceptChangeStructuralFeatureEventAction_Base_AcceptEventAction() - * @model ordered="false" - * @generated - */ - AcceptEventAction getBase_AcceptEventAction(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.portsandflows.AcceptChangeStructuralFeatureEventAction#getBase_AcceptEventAction <em>Base Accept Event Action</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Accept Event Action</em>' reference. - * @see #getBase_AcceptEventAction() - * @generated - */ - void setBase_AcceptEventAction(AcceptEventAction value); - -} // AcceptChangeStructuralFeatureEventAction
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/ChangeStructuralFeatureEvent.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/ChangeStructuralFeatureEvent.java deleted file mode 100644 index b1ad2f3..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/ChangeStructuralFeatureEvent.java +++ /dev/null
@@ -1,90 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.ChangeEvent; -import org.eclipse.uml2.uml.StructuralFeature; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Change Structural Feature Event</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.ChangeStructuralFeatureEvent#getBase_ChangeEvent <em>Base Change Event</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.ChangeStructuralFeatureEvent#getStructuralFeature <em>Structural Feature</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#getChangeStructuralFeatureEvent() - * @model - * @generated - */ -public interface ChangeStructuralFeatureEvent extends EObject { - /** - * Returns the value of the '<em><b>Base Change Event</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Change Event</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Change Event</em>' reference. - * @see #setBase_ChangeEvent(ChangeEvent) - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#getChangeStructuralFeatureEvent_Base_ChangeEvent() - * @model ordered="false" - * @generated - */ - ChangeEvent getBase_ChangeEvent(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.portsandflows.ChangeStructuralFeatureEvent#getBase_ChangeEvent <em>Base Change Event</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Change Event</em>' reference. - * @see #getBase_ChangeEvent() - * @generated - */ - void setBase_ChangeEvent(ChangeEvent value); - - /** - * Returns the value of the '<em><b>Structural Feature</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Structural Feature</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Structural Feature</em>' reference. - * @see #setStructuralFeature(StructuralFeature) - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#getChangeStructuralFeatureEvent_StructuralFeature() - * @model required="true" ordered="false" - * @generated - */ - StructuralFeature getStructuralFeature(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.portsandflows.ChangeStructuralFeatureEvent#getStructuralFeature <em>Structural Feature</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Structural Feature</em>' reference. - * @see #getStructuralFeature() - * @generated - */ - void setStructuralFeature(StructuralFeature value); - -} // ChangeStructuralFeatureEvent
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/DirectedFeature.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/DirectedFeature.java deleted file mode 100644 index e62a2be..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/DirectedFeature.java +++ /dev/null
@@ -1,92 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.Feature; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Directed Feature</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.DirectedFeature#getBase_Feature <em>Base Feature</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.DirectedFeature#getFeatureDirection <em>Feature Direction</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#getDirectedFeature() - * @model - * @generated - */ -public interface DirectedFeature extends EObject { - /** - * Returns the value of the '<em><b>Base Feature</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Feature</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Feature</em>' reference. - * @see #setBase_Feature(Feature) - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#getDirectedFeature_Base_Feature() - * @model ordered="false" - * @generated - */ - Feature getBase_Feature(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.portsandflows.DirectedFeature#getBase_Feature <em>Base Feature</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Feature</em>' reference. - * @see #getBase_Feature() - * @generated - */ - void setBase_Feature(Feature value); - - /** - * Returns the value of the '<em><b>Feature Direction</b></em>' attribute. - * The literals are from the enumeration {@link org.eclipse.papyrus.sysml14.portsandflows.FeatureDirection}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Feature Direction</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Feature Direction</em>' attribute. - * @see org.eclipse.papyrus.sysml14.portsandflows.FeatureDirection - * @see #setFeatureDirection(FeatureDirection) - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#getDirectedFeature_FeatureDirection() - * @model required="true" ordered="false" - * @generated - */ - FeatureDirection getFeatureDirection(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.portsandflows.DirectedFeature#getFeatureDirection <em>Feature Direction</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Feature Direction</em>' attribute. - * @see org.eclipse.papyrus.sysml14.portsandflows.FeatureDirection - * @see #getFeatureDirection() - * @generated - */ - void setFeatureDirection(FeatureDirection value); - -} // DirectedFeature
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/FeatureDirection.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/FeatureDirection.java deleted file mode 100644 index 8270edd..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/FeatureDirection.java +++ /dev/null
@@ -1,251 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>Feature Direction</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#getFeatureDirection() - * @model - * @generated - */ -public enum FeatureDirection implements Enumerator { - /** - * The '<em><b>Provided</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #PROVIDED_VALUE - * @generated - * @ordered - */ - PROVIDED(0, "provided", "provided"), //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>Provided Required</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #PROVIDED_REQUIRED_VALUE - * @generated - * @ordered - */ - PROVIDED_REQUIRED(1, "providedRequired", "providedRequired"), //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>Required</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #REQUIRED_VALUE - * @generated - * @ordered - */ - REQUIRED(2, "required", "required"); //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>Provided</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Provided</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #PROVIDED - * @model name="provided" - * @generated - * @ordered - */ - public static final int PROVIDED_VALUE = 0; - - /** - * The '<em><b>Provided Required</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Provided Required</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #PROVIDED_REQUIRED - * @model name="providedRequired" - * @generated - * @ordered - */ - public static final int PROVIDED_REQUIRED_VALUE = 1; - - /** - * The '<em><b>Required</b></em>' literal value. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Required</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #REQUIRED - * @model name="required" - * @generated - * @ordered - */ - public static final int REQUIRED_VALUE = 2; - - /** - * An array of all the '<em><b>Feature Direction</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final FeatureDirection[] VALUES_ARRAY = - new FeatureDirection[] { - PROVIDED, - PROVIDED_REQUIRED, - REQUIRED, - }; - - /** - * A public read-only list of all the '<em><b>Feature Direction</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List<FeatureDirection> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>Feature Direction</b></em>' literal with the specified literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param literal the literal. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static FeatureDirection get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - FeatureDirection result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Feature Direction</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name the name. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static FeatureDirection getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - FeatureDirection result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Feature Direction</b></em>' literal with the specified integer value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the integer value. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static FeatureDirection get(int value) { - switch (value) { - case PROVIDED_VALUE: return PROVIDED; - case PROVIDED_REQUIRED_VALUE: return PROVIDED_REQUIRED; - case REQUIRED_VALUE: return REQUIRED; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final int value; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String name; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private FeatureDirection(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - return literal; - } - -} //FeatureDirection
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/FlowDirection.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/FlowDirection.java deleted file mode 100644 index 6978169..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/FlowDirection.java +++ /dev/null
@@ -1,251 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.Enumerator; - -/** - * <!-- begin-user-doc --> - * A representation of the literals of the enumeration '<em><b>Flow Direction</b></em>', - * and utility methods for working with them. - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * FlowDirection is an enumeration type that defines literals used for specifying input and output directions. FlowDirection is used by flow properties to indicate if a property is an input or an output with respect to its owner. - * <!-- end-model-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#getFlowDirection() - * @model - * @generated - */ -public enum FlowDirection implements Enumerator { - /** - * The '<em><b>In</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #IN_VALUE - * @generated - * @ordered - */ - IN(0, "in", "in"), //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>Inout</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #INOUT_VALUE - * @generated - * @ordered - */ - INOUT(1, "inout", "inout"), //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>Out</b></em>' literal object. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #OUT_VALUE - * @generated - * @ordered - */ - OUT(2, "out", "out"); //$NON-NLS-1$ //$NON-NLS-2$ - - /** - * The '<em><b>In</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * Indicates that the flow property is input to the owning block. - * <!-- end-model-doc --> - * @see #IN - * @model name="in" - * @generated - * @ordered - */ - public static final int IN_VALUE = 0; - - /** - * The '<em><b>Inout</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * Indicates that the flow property is both an input and an output of the owning block. - * <!-- end-model-doc --> - * @see #INOUT - * @model name="inout" - * @generated - * @ordered - */ - public static final int INOUT_VALUE = 1; - - /** - * The '<em><b>Out</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * Indicates that the flow property is an output of the owning block. - * <!-- end-model-doc --> - * @see #OUT - * @model name="out" - * @generated - * @ordered - */ - public static final int OUT_VALUE = 2; - - /** - * An array of all the '<em><b>Flow Direction</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final FlowDirection[] VALUES_ARRAY = - new FlowDirection[] { - IN, - INOUT, - OUT, - }; - - /** - * A public read-only list of all the '<em><b>Flow Direction</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List<FlowDirection> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>Flow Direction</b></em>' literal with the specified literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param literal the literal. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static FlowDirection get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - FlowDirection result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Flow Direction</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name the name. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static FlowDirection getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - FlowDirection result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Flow Direction</b></em>' literal with the specified integer value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the integer value. - * @return the matching enumerator or <code>null</code>. - * @generated - */ - public static FlowDirection get(int value) { - switch (value) { - case IN_VALUE: return IN; - case INOUT_VALUE: return INOUT; - case OUT_VALUE: return OUT; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final int value; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String name; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private final String literal; - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private FlowDirection(int value, String name, String literal) { - this.value = value; - this.name = name; - this.literal = literal; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public int getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getLiteral() { - return literal; - } - - /** - * Returns the literal value of the enumerator, which is its string representation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - return literal; - } - -} //FlowDirection
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/FlowProperty.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/FlowProperty.java deleted file mode 100644 index 5dc68d4..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/FlowProperty.java +++ /dev/null
@@ -1,107 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.Image; -import org.eclipse.uml2.uml.Property; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Flow Property</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * A FlowProperty signifies a single flow element that can flow to/from a block. A flow property’s values are either received from or transmitted to an external block. Flow properties are defined directly on blocks or flow specifications that are those specifications which type the flow ports. Flow properties enable item flows across connectors connecting parts of the corresponding block types, either directly (in case of the property is defined on the block) or via flowPorts. For Block, Data Type, and Value Type properties, setting an “out” FlowProperty value of a block usage on one end of a connector will result in assigning the same value of an “in” FlowProperty of a block usage at the other end of the connector, provided the flow properties are matched. Flow properties of type Signal imply sending and/or receiving of a signal usage. An “out” FlowProperty of type Signal means that the owning Block may broadcast the signal via connectors and an “in” FlowProperty means that the owning block is able to receive the Signal. - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.FlowProperty#getBase_Property <em>Base Property</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.FlowProperty#getDirection <em>Direction</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#getFlowProperty() - * @model - * @generated - */ -public interface FlowProperty extends EObject { - /** - * Returns the value of the '<em><b>Base Property</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Property</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Property</em>' reference. - * @see #setBase_Property(Property) - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#getFlowProperty_Base_Property() - * @model ordered="false" - * @generated - */ - Property getBase_Property(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.portsandflows.FlowProperty#getBase_Property <em>Base Property</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Property</em>' reference. - * @see #getBase_Property() - * @generated - */ - void setBase_Property(Property value); - - /** - * Returns the value of the '<em><b>Direction</b></em>' attribute. - * The default value is <code>"inout"</code>. - * The literals are from the enumeration {@link org.eclipse.papyrus.sysml14.portsandflows.FlowDirection}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * Specifies if the property value is received from an external block (direction=“in”), transmitted to an external Block (direction=“out”) or both (direction=“inout”). - * <!-- end-model-doc --> - * @return the value of the '<em>Direction</em>' attribute. - * @see org.eclipse.papyrus.sysml14.portsandflows.FlowDirection - * @see #setDirection(FlowDirection) - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#getFlowProperty_Direction() - * @model default="inout" required="true" ordered="false" - * @generated - */ - FlowDirection getDirection(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.portsandflows.FlowProperty#getDirection <em>Direction</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Direction</em>' attribute. - * @see org.eclipse.papyrus.sysml14.portsandflows.FlowDirection - * @see #getDirection() - * @generated - */ - void setDirection(FlowDirection value); - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @model kind="operation" required="true" ordered="false" - * @generated - */ - Image getIcon(); - -} // FlowProperty
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/FullPort.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/FullPort.java deleted file mode 100644 index ac3e11d..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/FullPort.java +++ /dev/null
@@ -1,62 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.Port; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Full Port</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.FullPort#getBase_Port <em>Base Port</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#getFullPort() - * @model - * @generated - */ -public interface FullPort extends EObject { - /** - * Returns the value of the '<em><b>Base Port</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Port</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Port</em>' reference. - * @see #setBase_Port(Port) - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#getFullPort_Base_Port() - * @model ordered="false" - * @generated - */ - Port getBase_Port(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.portsandflows.FullPort#getBase_Port <em>Base Port</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Port</em>' reference. - * @see #getBase_Port() - * @generated - */ - void setBase_Port(Port value); - -} // FullPort
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/InterfaceBlock.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/InterfaceBlock.java deleted file mode 100644 index ea2c5db..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/InterfaceBlock.java +++ /dev/null
@@ -1,28 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows; - -import org.eclipse.papyrus.sysml14.blocks.Block; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Interface Block</b></em>'. - * <!-- end-user-doc --> - * - * - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#getInterfaceBlock() - * @model - * @generated - */ -public interface InterfaceBlock extends Block { -} // InterfaceBlock
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/InvocationOnNestedPortAction.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/InvocationOnNestedPortAction.java deleted file mode 100644 index 02fbb61..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/InvocationOnNestedPortAction.java +++ /dev/null
@@ -1,108 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.papyrus.sysml14.blocks.ElementPropertyPath; - -import org.eclipse.uml2.uml.InvocationAction; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.Type; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Invocation On Nested Port Action</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.InvocationOnNestedPortAction#getBase_InvocationAction <em>Base Invocation Action</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.InvocationOnNestedPortAction#getOnNestedPort <em>On Nested Port</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#getInvocationOnNestedPortAction() - * @model - * @generated - */ -public interface InvocationOnNestedPortAction extends ElementPropertyPath { - /** - * Returns the value of the '<em><b>Base Invocation Action</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Invocation Action</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Invocation Action</em>' reference. - * @see #setBase_InvocationAction(InvocationAction) - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#getInvocationOnNestedPortAction_Base_InvocationAction() - * @model ordered="false" - * @generated - */ - InvocationAction getBase_InvocationAction(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.portsandflows.InvocationOnNestedPortAction#getBase_InvocationAction <em>Base Invocation Action</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Invocation Action</em>' reference. - * @see #getBase_InvocationAction() - * @generated - */ - void setBase_InvocationAction(InvocationAction value); - - /** - * Returns the value of the '<em><b>On Nested Port</b></em>' reference list. - * The list contents are of type {@link org.eclipse.uml2.uml.Port}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>On Nested Port</em>' reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>On Nested Port</em>' reference list. - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#getInvocationOnNestedPortAction_OnNestedPort() - * @model required="true" - * @generated - */ - EList<Port> getOnNestedPort(); - - /** - * Retrieves the first {@link org.eclipse.uml2.uml.Port} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the '<em><b>On Nested Port</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Port} to retrieve, or <code>null</code>. - * @param type The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Port} to retrieve, or <code>null</code>. - * @return The first {@link org.eclipse.uml2.uml.Port} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or <code>null</code>. - * @see #getOnNestedPort() - * @generated - */ - Port getOnNestedPort(String name, Type type); - - /** - * Retrieves the first {@link org.eclipse.uml2.uml.Port} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the '<em><b>On Nested Port</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Port} to retrieve, or <code>null</code>. - * @param type The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Port} to retrieve, or <code>null</code>. - * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons. - * @return The first {@link org.eclipse.uml2.uml.Port} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or <code>null</code>. - * @see #getOnNestedPort() - * @generated - */ - Port getOnNestedPort(String name, Type type, boolean ignoreCase); - -} // InvocationOnNestedPortAction
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/ItemFlow.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/ItemFlow.java deleted file mode 100644 index 22fb2ac..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/ItemFlow.java +++ /dev/null
@@ -1,95 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.InformationFlow; -import org.eclipse.uml2.uml.Property; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Item Flow</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * An ItemFlow describes the flow of items across a connector or an association. It may constrain the item exchange between blocks, block usages, or flow ports as specified by their flow properties. For example, a pump connected to a tank: the pump has an “out” flow property of type Liquid and the tank has an “in” FlowProperty of type Liquid. To signify that only water flows between the pump and the tank, we can specify an ItemFlow of type Water on the connector. - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.ItemFlow#getBase_InformationFlow <em>Base Information Flow</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.ItemFlow#getItemProperty <em>Item Property</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#getItemFlow() - * @model - * @generated - */ -public interface ItemFlow extends EObject { - /** - * Returns the value of the '<em><b>Base Information Flow</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Information Flow</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Information Flow</em>' reference. - * @see #setBase_InformationFlow(InformationFlow) - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#getItemFlow_Base_InformationFlow() - * @model ordered="false" - * @generated - */ - InformationFlow getBase_InformationFlow(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.portsandflows.ItemFlow#getBase_InformationFlow <em>Base Information Flow</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Information Flow</em>' reference. - * @see #getBase_InformationFlow() - * @generated - */ - void setBase_InformationFlow(InformationFlow value); - - /** - * Returns the value of the '<em><b>Item Property</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * An optional property that relates the flowing item to the instances of the connector’s enclosing block. This property is applicable only for item flows assigned to connectors. The multiplicity is zero if the item flow is assigned to an Association. - * <!-- end-model-doc --> - * @return the value of the '<em>Item Property</em>' reference. - * @see #setItemProperty(Property) - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#getItemFlow_ItemProperty() - * @model ordered="false" - * @generated - */ - Property getItemProperty(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.portsandflows.ItemFlow#getItemProperty <em>Item Property</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Item Property</em>' reference. - * @see #getItemProperty() - * @generated - */ - void setItemProperty(Property value); - -} // ItemFlow
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/PortsandflowsFactory.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/PortsandflowsFactory.java deleted file mode 100644 index 12d3596..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/PortsandflowsFactory.java +++ /dev/null
@@ -1,133 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows; - -import org.eclipse.emf.ecore.EFactory; - -/** - * <!-- begin-user-doc --> - * The <b>Factory</b> for the model. - * It provides a create method for each non-abstract class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage - * @generated - */ -public interface PortsandflowsFactory extends EFactory { - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - PortsandflowsFactory eINSTANCE = org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsFactoryImpl.init(); - - /** - * Returns a new object of class '<em>Accept Change Structural Feature Event Action</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Accept Change Structural Feature Event Action</em>'. - * @generated - */ - AcceptChangeStructuralFeatureEventAction createAcceptChangeStructuralFeatureEventAction(); - - /** - * Returns a new object of class '<em>Change Structural Feature Event</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Change Structural Feature Event</em>'. - * @generated - */ - ChangeStructuralFeatureEvent createChangeStructuralFeatureEvent(); - - /** - * Returns a new object of class '<em>Directed Feature</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Directed Feature</em>'. - * @generated - */ - DirectedFeature createDirectedFeature(); - - /** - * Returns a new object of class '<em>Flow Property</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Flow Property</em>'. - * @generated - */ - FlowProperty createFlowProperty(); - - /** - * Returns a new object of class '<em>Full Port</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Full Port</em>'. - * @generated - */ - FullPort createFullPort(); - - /** - * Returns a new object of class '<em>Interface Block</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Interface Block</em>'. - * @generated - */ - InterfaceBlock createInterfaceBlock(); - - /** - * Returns a new object of class '<em>Invocation On Nested Port Action</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Invocation On Nested Port Action</em>'. - * @generated - */ - InvocationOnNestedPortAction createInvocationOnNestedPortAction(); - - /** - * Returns a new object of class '<em>Item Flow</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Item Flow</em>'. - * @generated - */ - ItemFlow createItemFlow(); - - /** - * Returns a new object of class '<em>Proxy Port</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Proxy Port</em>'. - * @generated - */ - ProxyPort createProxyPort(); - - /** - * Returns a new object of class '<em>Trigger On Nested Port</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Trigger On Nested Port</em>'. - * @generated - */ - TriggerOnNestedPort createTriggerOnNestedPort(); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - PortsandflowsPackage getPortsandflowsPackage(); - -} //PortsandflowsFactory
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/PortsandflowsPackage.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/PortsandflowsPackage.java deleted file mode 100644 index 12aeda7..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/PortsandflowsPackage.java +++ /dev/null
@@ -1,1168 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EOperation; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; - -/** - * <!-- begin-user-doc --> - * The <b>Package</b> for the model. - * It contains accessors for the meta objects to represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsFactory - * @model kind="package" - * annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='PortsAndFlows'" - * @generated - */ -public interface PortsandflowsPackage extends EPackage { - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "portsandflows"; //$NON-NLS-1$ - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "http://www.eclipse.org/papyrus/sysml/1.4/SysML/PortsAndFlows"; //$NON-NLS-1$ - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "PortsAndFlows"; //$NON-NLS-1$ - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - PortsandflowsPackage eINSTANCE = org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.AcceptChangeStructuralFeatureEventActionImpl <em>Accept Change Structural Feature Event Action</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.AcceptChangeStructuralFeatureEventActionImpl - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl#getAcceptChangeStructuralFeatureEventAction() - * @generated - */ - int ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION = 0; - - /** - * The feature id for the '<em><b>Base Accept Event Action</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION__BASE_ACCEPT_EVENT_ACTION = 0; - - /** - * The number of structural features of the '<em>Accept Change Structural Feature Event Action</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION_FEATURE_COUNT = 1; - - /** - * The number of operations of the '<em>Accept Change Structural Feature Event Action</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.ChangeStructuralFeatureEventImpl <em>Change Structural Feature Event</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.ChangeStructuralFeatureEventImpl - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl#getChangeStructuralFeatureEvent() - * @generated - */ - int CHANGE_STRUCTURAL_FEATURE_EVENT = 1; - - /** - * The feature id for the '<em><b>Base Change Event</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CHANGE_STRUCTURAL_FEATURE_EVENT__BASE_CHANGE_EVENT = 0; - - /** - * The feature id for the '<em><b>Structural Feature</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CHANGE_STRUCTURAL_FEATURE_EVENT__STRUCTURAL_FEATURE = 1; - - /** - * The number of structural features of the '<em>Change Structural Feature Event</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CHANGE_STRUCTURAL_FEATURE_EVENT_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Change Structural Feature Event</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int CHANGE_STRUCTURAL_FEATURE_EVENT_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.DirectedFeatureImpl <em>Directed Feature</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.DirectedFeatureImpl - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl#getDirectedFeature() - * @generated - */ - int DIRECTED_FEATURE = 2; - - /** - * The feature id for the '<em><b>Base Feature</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIRECTED_FEATURE__BASE_FEATURE = 0; - - /** - * The feature id for the '<em><b>Feature Direction</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIRECTED_FEATURE__FEATURE_DIRECTION = 1; - - /** - * The number of structural features of the '<em>Directed Feature</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIRECTED_FEATURE_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Directed Feature</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DIRECTED_FEATURE_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.FlowPropertyImpl <em>Flow Property</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.FlowPropertyImpl - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl#getFlowProperty() - * @generated - */ - int FLOW_PROPERTY = 3; - - /** - * The feature id for the '<em><b>Base Property</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FLOW_PROPERTY__BASE_PROPERTY = 0; - - /** - * The feature id for the '<em><b>Direction</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FLOW_PROPERTY__DIRECTION = 1; - - /** - * The number of structural features of the '<em>Flow Property</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FLOW_PROPERTY_FEATURE_COUNT = 2; - - /** - * The operation id for the '<em>Get Icon</em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FLOW_PROPERTY___GET_ICON = 0; - - /** - * The number of operations of the '<em>Flow Property</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FLOW_PROPERTY_OPERATION_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.FullPortImpl <em>Full Port</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.FullPortImpl - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl#getFullPort() - * @generated - */ - int FULL_PORT = 4; - - /** - * The feature id for the '<em><b>Base Port</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FULL_PORT__BASE_PORT = 0; - - /** - * The number of structural features of the '<em>Full Port</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FULL_PORT_FEATURE_COUNT = 1; - - /** - * The number of operations of the '<em>Full Port</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FULL_PORT_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.InterfaceBlockImpl <em>Interface Block</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.InterfaceBlockImpl - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl#getInterfaceBlock() - * @generated - */ - int INTERFACE_BLOCK = 5; - - /** - * The feature id for the '<em><b>Base Class</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INTERFACE_BLOCK__BASE_CLASS = BlocksPackage.BLOCK__BASE_CLASS; - - /** - * The feature id for the '<em><b>Is Encapsulated</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INTERFACE_BLOCK__IS_ENCAPSULATED = BlocksPackage.BLOCK__IS_ENCAPSULATED; - - /** - * The number of structural features of the '<em>Interface Block</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INTERFACE_BLOCK_FEATURE_COUNT = BlocksPackage.BLOCK_FEATURE_COUNT + 0; - - /** - * The operation id for the '<em>Get References</em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INTERFACE_BLOCK___GET_REFERENCES = BlocksPackage.BLOCK___GET_REFERENCES; - - /** - * The operation id for the '<em>Get Parts</em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INTERFACE_BLOCK___GET_PARTS = BlocksPackage.BLOCK___GET_PARTS; - - /** - * The operation id for the '<em>Get Flow Properties</em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INTERFACE_BLOCK___GET_FLOW_PROPERTIES = BlocksPackage.BLOCK___GET_FLOW_PROPERTIES; - - /** - * The number of operations of the '<em>Interface Block</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INTERFACE_BLOCK_OPERATION_COUNT = BlocksPackage.BLOCK_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.InvocationOnNestedPortActionImpl <em>Invocation On Nested Port Action</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.InvocationOnNestedPortActionImpl - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl#getInvocationOnNestedPortAction() - * @generated - */ - int INVOCATION_ON_NESTED_PORT_ACTION = 6; - - /** - * The feature id for the '<em><b>Base Element</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INVOCATION_ON_NESTED_PORT_ACTION__BASE_ELEMENT = BlocksPackage.ELEMENT_PROPERTY_PATH__BASE_ELEMENT; - - /** - * The feature id for the '<em><b>Property Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INVOCATION_ON_NESTED_PORT_ACTION__PROPERTY_PATH = BlocksPackage.ELEMENT_PROPERTY_PATH__PROPERTY_PATH; - - /** - * The feature id for the '<em><b>Base Invocation Action</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INVOCATION_ON_NESTED_PORT_ACTION__BASE_INVOCATION_ACTION = BlocksPackage.ELEMENT_PROPERTY_PATH_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>On Nested Port</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INVOCATION_ON_NESTED_PORT_ACTION__ON_NESTED_PORT = BlocksPackage.ELEMENT_PROPERTY_PATH_FEATURE_COUNT + 1; - - /** - * The number of structural features of the '<em>Invocation On Nested Port Action</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INVOCATION_ON_NESTED_PORT_ACTION_FEATURE_COUNT = BlocksPackage.ELEMENT_PROPERTY_PATH_FEATURE_COUNT + 2; - - /** - * The number of operations of the '<em>Invocation On Nested Port Action</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int INVOCATION_ON_NESTED_PORT_ACTION_OPERATION_COUNT = BlocksPackage.ELEMENT_PROPERTY_PATH_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.ItemFlowImpl <em>Item Flow</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.ItemFlowImpl - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl#getItemFlow() - * @generated - */ - int ITEM_FLOW = 7; - - /** - * The feature id for the '<em><b>Base Information Flow</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ITEM_FLOW__BASE_INFORMATION_FLOW = 0; - - /** - * The feature id for the '<em><b>Item Property</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ITEM_FLOW__ITEM_PROPERTY = 1; - - /** - * The number of structural features of the '<em>Item Flow</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ITEM_FLOW_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Item Flow</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int ITEM_FLOW_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.ProxyPortImpl <em>Proxy Port</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.ProxyPortImpl - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl#getProxyPort() - * @generated - */ - int PROXY_PORT = 8; - - /** - * The feature id for the '<em><b>Base Port</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PROXY_PORT__BASE_PORT = 0; - - /** - * The number of structural features of the '<em>Proxy Port</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PROXY_PORT_FEATURE_COUNT = 1; - - /** - * The number of operations of the '<em>Proxy Port</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PROXY_PORT_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.TriggerOnNestedPortImpl <em>Trigger On Nested Port</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.TriggerOnNestedPortImpl - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl#getTriggerOnNestedPort() - * @generated - */ - int TRIGGER_ON_NESTED_PORT = 9; - - /** - * The feature id for the '<em><b>Base Element</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TRIGGER_ON_NESTED_PORT__BASE_ELEMENT = BlocksPackage.ELEMENT_PROPERTY_PATH__BASE_ELEMENT; - - /** - * The feature id for the '<em><b>Property Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TRIGGER_ON_NESTED_PORT__PROPERTY_PATH = BlocksPackage.ELEMENT_PROPERTY_PATH__PROPERTY_PATH; - - /** - * The feature id for the '<em><b>Base Trigger</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TRIGGER_ON_NESTED_PORT__BASE_TRIGGER = BlocksPackage.ELEMENT_PROPERTY_PATH_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>On Nested Port</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TRIGGER_ON_NESTED_PORT__ON_NESTED_PORT = BlocksPackage.ELEMENT_PROPERTY_PATH_FEATURE_COUNT + 1; - - /** - * The number of structural features of the '<em>Trigger On Nested Port</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TRIGGER_ON_NESTED_PORT_FEATURE_COUNT = BlocksPackage.ELEMENT_PROPERTY_PATH_FEATURE_COUNT + 2; - - /** - * The number of operations of the '<em>Trigger On Nested Port</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TRIGGER_ON_NESTED_PORT_OPERATION_COUNT = BlocksPackage.ELEMENT_PROPERTY_PATH_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.portsandflows.FeatureDirection <em>Feature Direction</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.FeatureDirection - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl#getFeatureDirection() - * @generated - */ - int FEATURE_DIRECTION = 10; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.portsandflows.FlowDirection <em>Flow Direction</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.FlowDirection - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl#getFlowDirection() - * @generated - */ - int FLOW_DIRECTION = 11; - - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.portsandflows.AcceptChangeStructuralFeatureEventAction <em>Accept Change Structural Feature Event Action</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Accept Change Structural Feature Event Action</em>'. - * @see org.eclipse.papyrus.sysml14.portsandflows.AcceptChangeStructuralFeatureEventAction - * @generated - */ - EClass getAcceptChangeStructuralFeatureEventAction(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.portsandflows.AcceptChangeStructuralFeatureEventAction#getBase_AcceptEventAction <em>Base Accept Event Action</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Accept Event Action</em>'. - * @see org.eclipse.papyrus.sysml14.portsandflows.AcceptChangeStructuralFeatureEventAction#getBase_AcceptEventAction() - * @see #getAcceptChangeStructuralFeatureEventAction() - * @generated - */ - EReference getAcceptChangeStructuralFeatureEventAction_Base_AcceptEventAction(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.portsandflows.ChangeStructuralFeatureEvent <em>Change Structural Feature Event</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Change Structural Feature Event</em>'. - * @see org.eclipse.papyrus.sysml14.portsandflows.ChangeStructuralFeatureEvent - * @generated - */ - EClass getChangeStructuralFeatureEvent(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.portsandflows.ChangeStructuralFeatureEvent#getBase_ChangeEvent <em>Base Change Event</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Change Event</em>'. - * @see org.eclipse.papyrus.sysml14.portsandflows.ChangeStructuralFeatureEvent#getBase_ChangeEvent() - * @see #getChangeStructuralFeatureEvent() - * @generated - */ - EReference getChangeStructuralFeatureEvent_Base_ChangeEvent(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.portsandflows.ChangeStructuralFeatureEvent#getStructuralFeature <em>Structural Feature</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Structural Feature</em>'. - * @see org.eclipse.papyrus.sysml14.portsandflows.ChangeStructuralFeatureEvent#getStructuralFeature() - * @see #getChangeStructuralFeatureEvent() - * @generated - */ - EReference getChangeStructuralFeatureEvent_StructuralFeature(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.portsandflows.DirectedFeature <em>Directed Feature</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Directed Feature</em>'. - * @see org.eclipse.papyrus.sysml14.portsandflows.DirectedFeature - * @generated - */ - EClass getDirectedFeature(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.portsandflows.DirectedFeature#getBase_Feature <em>Base Feature</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Feature</em>'. - * @see org.eclipse.papyrus.sysml14.portsandflows.DirectedFeature#getBase_Feature() - * @see #getDirectedFeature() - * @generated - */ - EReference getDirectedFeature_Base_Feature(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml14.portsandflows.DirectedFeature#getFeatureDirection <em>Feature Direction</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Feature Direction</em>'. - * @see org.eclipse.papyrus.sysml14.portsandflows.DirectedFeature#getFeatureDirection() - * @see #getDirectedFeature() - * @generated - */ - EAttribute getDirectedFeature_FeatureDirection(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.portsandflows.FlowProperty <em>Flow Property</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Flow Property</em>'. - * @see org.eclipse.papyrus.sysml14.portsandflows.FlowProperty - * @generated - */ - EClass getFlowProperty(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.portsandflows.FlowProperty#getBase_Property <em>Base Property</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Property</em>'. - * @see org.eclipse.papyrus.sysml14.portsandflows.FlowProperty#getBase_Property() - * @see #getFlowProperty() - * @generated - */ - EReference getFlowProperty_Base_Property(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml14.portsandflows.FlowProperty#getDirection <em>Direction</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Direction</em>'. - * @see org.eclipse.papyrus.sysml14.portsandflows.FlowProperty#getDirection() - * @see #getFlowProperty() - * @generated - */ - EAttribute getFlowProperty_Direction(); - - /** - * Returns the meta object for the '{@link org.eclipse.papyrus.sysml14.portsandflows.FlowProperty#getIcon() <em>Get Icon</em>}' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the '<em>Get Icon</em>' operation. - * @see org.eclipse.papyrus.sysml14.portsandflows.FlowProperty#getIcon() - * @generated - */ - EOperation getFlowProperty__GetIcon(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.portsandflows.FullPort <em>Full Port</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Full Port</em>'. - * @see org.eclipse.papyrus.sysml14.portsandflows.FullPort - * @generated - */ - EClass getFullPort(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.portsandflows.FullPort#getBase_Port <em>Base Port</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Port</em>'. - * @see org.eclipse.papyrus.sysml14.portsandflows.FullPort#getBase_Port() - * @see #getFullPort() - * @generated - */ - EReference getFullPort_Base_Port(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.portsandflows.InterfaceBlock <em>Interface Block</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Interface Block</em>'. - * @see org.eclipse.papyrus.sysml14.portsandflows.InterfaceBlock - * @generated - */ - EClass getInterfaceBlock(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.portsandflows.InvocationOnNestedPortAction <em>Invocation On Nested Port Action</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Invocation On Nested Port Action</em>'. - * @see org.eclipse.papyrus.sysml14.portsandflows.InvocationOnNestedPortAction - * @generated - */ - EClass getInvocationOnNestedPortAction(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.portsandflows.InvocationOnNestedPortAction#getBase_InvocationAction <em>Base Invocation Action</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Invocation Action</em>'. - * @see org.eclipse.papyrus.sysml14.portsandflows.InvocationOnNestedPortAction#getBase_InvocationAction() - * @see #getInvocationOnNestedPortAction() - * @generated - */ - EReference getInvocationOnNestedPortAction_Base_InvocationAction(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml14.portsandflows.InvocationOnNestedPortAction#getOnNestedPort <em>On Nested Port</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference list '<em>On Nested Port</em>'. - * @see org.eclipse.papyrus.sysml14.portsandflows.InvocationOnNestedPortAction#getOnNestedPort() - * @see #getInvocationOnNestedPortAction() - * @generated - */ - EReference getInvocationOnNestedPortAction_OnNestedPort(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.portsandflows.ItemFlow <em>Item Flow</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Item Flow</em>'. - * @see org.eclipse.papyrus.sysml14.portsandflows.ItemFlow - * @generated - */ - EClass getItemFlow(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.portsandflows.ItemFlow#getBase_InformationFlow <em>Base Information Flow</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Information Flow</em>'. - * @see org.eclipse.papyrus.sysml14.portsandflows.ItemFlow#getBase_InformationFlow() - * @see #getItemFlow() - * @generated - */ - EReference getItemFlow_Base_InformationFlow(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.portsandflows.ItemFlow#getItemProperty <em>Item Property</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Item Property</em>'. - * @see org.eclipse.papyrus.sysml14.portsandflows.ItemFlow#getItemProperty() - * @see #getItemFlow() - * @generated - */ - EReference getItemFlow_ItemProperty(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.portsandflows.ProxyPort <em>Proxy Port</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Proxy Port</em>'. - * @see org.eclipse.papyrus.sysml14.portsandflows.ProxyPort - * @generated - */ - EClass getProxyPort(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.portsandflows.ProxyPort#getBase_Port <em>Base Port</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Port</em>'. - * @see org.eclipse.papyrus.sysml14.portsandflows.ProxyPort#getBase_Port() - * @see #getProxyPort() - * @generated - */ - EReference getProxyPort_Base_Port(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.portsandflows.TriggerOnNestedPort <em>Trigger On Nested Port</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Trigger On Nested Port</em>'. - * @see org.eclipse.papyrus.sysml14.portsandflows.TriggerOnNestedPort - * @generated - */ - EClass getTriggerOnNestedPort(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.portsandflows.TriggerOnNestedPort#getBase_Trigger <em>Base Trigger</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Trigger</em>'. - * @see org.eclipse.papyrus.sysml14.portsandflows.TriggerOnNestedPort#getBase_Trigger() - * @see #getTriggerOnNestedPort() - * @generated - */ - EReference getTriggerOnNestedPort_Base_Trigger(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml14.portsandflows.TriggerOnNestedPort#getOnNestedPort <em>On Nested Port</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference list '<em>On Nested Port</em>'. - * @see org.eclipse.papyrus.sysml14.portsandflows.TriggerOnNestedPort#getOnNestedPort() - * @see #getTriggerOnNestedPort() - * @generated - */ - EReference getTriggerOnNestedPort_OnNestedPort(); - - /** - * Returns the meta object for enum '{@link org.eclipse.papyrus.sysml14.portsandflows.FeatureDirection <em>Feature Direction</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>Feature Direction</em>'. - * @see org.eclipse.papyrus.sysml14.portsandflows.FeatureDirection - * @generated - */ - EEnum getFeatureDirection(); - - /** - * Returns the meta object for enum '{@link org.eclipse.papyrus.sysml14.portsandflows.FlowDirection <em>Flow Direction</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>Flow Direction</em>'. - * @see org.eclipse.papyrus.sysml14.portsandflows.FlowDirection - * @generated - */ - EEnum getFlowDirection(); - - /** - * Returns the factory that creates the instances of the model. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the factory that creates the instances of the model. - * @generated - */ - PortsandflowsFactory getPortsandflowsFactory(); - - /** - * <!-- begin-user-doc --> - * Defines literals for the meta objects that represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.AcceptChangeStructuralFeatureEventActionImpl <em>Accept Change Structural Feature Event Action</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.AcceptChangeStructuralFeatureEventActionImpl - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl#getAcceptChangeStructuralFeatureEventAction() - * @generated - */ - EClass ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION = eINSTANCE.getAcceptChangeStructuralFeatureEventAction(); - - /** - * The meta object literal for the '<em><b>Base Accept Event Action</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION__BASE_ACCEPT_EVENT_ACTION = eINSTANCE.getAcceptChangeStructuralFeatureEventAction_Base_AcceptEventAction(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.ChangeStructuralFeatureEventImpl <em>Change Structural Feature Event</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.ChangeStructuralFeatureEventImpl - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl#getChangeStructuralFeatureEvent() - * @generated - */ - EClass CHANGE_STRUCTURAL_FEATURE_EVENT = eINSTANCE.getChangeStructuralFeatureEvent(); - - /** - * The meta object literal for the '<em><b>Base Change Event</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference CHANGE_STRUCTURAL_FEATURE_EVENT__BASE_CHANGE_EVENT = eINSTANCE.getChangeStructuralFeatureEvent_Base_ChangeEvent(); - - /** - * The meta object literal for the '<em><b>Structural Feature</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference CHANGE_STRUCTURAL_FEATURE_EVENT__STRUCTURAL_FEATURE = eINSTANCE.getChangeStructuralFeatureEvent_StructuralFeature(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.DirectedFeatureImpl <em>Directed Feature</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.DirectedFeatureImpl - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl#getDirectedFeature() - * @generated - */ - EClass DIRECTED_FEATURE = eINSTANCE.getDirectedFeature(); - - /** - * The meta object literal for the '<em><b>Base Feature</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference DIRECTED_FEATURE__BASE_FEATURE = eINSTANCE.getDirectedFeature_Base_Feature(); - - /** - * The meta object literal for the '<em><b>Feature Direction</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DIRECTED_FEATURE__FEATURE_DIRECTION = eINSTANCE.getDirectedFeature_FeatureDirection(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.FlowPropertyImpl <em>Flow Property</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.FlowPropertyImpl - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl#getFlowProperty() - * @generated - */ - EClass FLOW_PROPERTY = eINSTANCE.getFlowProperty(); - - /** - * The meta object literal for the '<em><b>Base Property</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference FLOW_PROPERTY__BASE_PROPERTY = eINSTANCE.getFlowProperty_Base_Property(); - - /** - * The meta object literal for the '<em><b>Direction</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute FLOW_PROPERTY__DIRECTION = eINSTANCE.getFlowProperty_Direction(); - - /** - * The meta object literal for the '<em><b>Get Icon</b></em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EOperation FLOW_PROPERTY___GET_ICON = eINSTANCE.getFlowProperty__GetIcon(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.FullPortImpl <em>Full Port</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.FullPortImpl - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl#getFullPort() - * @generated - */ - EClass FULL_PORT = eINSTANCE.getFullPort(); - - /** - * The meta object literal for the '<em><b>Base Port</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference FULL_PORT__BASE_PORT = eINSTANCE.getFullPort_Base_Port(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.InterfaceBlockImpl <em>Interface Block</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.InterfaceBlockImpl - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl#getInterfaceBlock() - * @generated - */ - EClass INTERFACE_BLOCK = eINSTANCE.getInterfaceBlock(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.InvocationOnNestedPortActionImpl <em>Invocation On Nested Port Action</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.InvocationOnNestedPortActionImpl - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl#getInvocationOnNestedPortAction() - * @generated - */ - EClass INVOCATION_ON_NESTED_PORT_ACTION = eINSTANCE.getInvocationOnNestedPortAction(); - - /** - * The meta object literal for the '<em><b>Base Invocation Action</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference INVOCATION_ON_NESTED_PORT_ACTION__BASE_INVOCATION_ACTION = eINSTANCE.getInvocationOnNestedPortAction_Base_InvocationAction(); - - /** - * The meta object literal for the '<em><b>On Nested Port</b></em>' reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference INVOCATION_ON_NESTED_PORT_ACTION__ON_NESTED_PORT = eINSTANCE.getInvocationOnNestedPortAction_OnNestedPort(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.ItemFlowImpl <em>Item Flow</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.ItemFlowImpl - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl#getItemFlow() - * @generated - */ - EClass ITEM_FLOW = eINSTANCE.getItemFlow(); - - /** - * The meta object literal for the '<em><b>Base Information Flow</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ITEM_FLOW__BASE_INFORMATION_FLOW = eINSTANCE.getItemFlow_Base_InformationFlow(); - - /** - * The meta object literal for the '<em><b>Item Property</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference ITEM_FLOW__ITEM_PROPERTY = eINSTANCE.getItemFlow_ItemProperty(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.ProxyPortImpl <em>Proxy Port</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.ProxyPortImpl - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl#getProxyPort() - * @generated - */ - EClass PROXY_PORT = eINSTANCE.getProxyPort(); - - /** - * The meta object literal for the '<em><b>Base Port</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference PROXY_PORT__BASE_PORT = eINSTANCE.getProxyPort_Base_Port(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.TriggerOnNestedPortImpl <em>Trigger On Nested Port</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.TriggerOnNestedPortImpl - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl#getTriggerOnNestedPort() - * @generated - */ - EClass TRIGGER_ON_NESTED_PORT = eINSTANCE.getTriggerOnNestedPort(); - - /** - * The meta object literal for the '<em><b>Base Trigger</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference TRIGGER_ON_NESTED_PORT__BASE_TRIGGER = eINSTANCE.getTriggerOnNestedPort_Base_Trigger(); - - /** - * The meta object literal for the '<em><b>On Nested Port</b></em>' reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference TRIGGER_ON_NESTED_PORT__ON_NESTED_PORT = eINSTANCE.getTriggerOnNestedPort_OnNestedPort(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.portsandflows.FeatureDirection <em>Feature Direction</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.FeatureDirection - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl#getFeatureDirection() - * @generated - */ - EEnum FEATURE_DIRECTION = eINSTANCE.getFeatureDirection(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.portsandflows.FlowDirection <em>Flow Direction</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.FlowDirection - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl#getFlowDirection() - * @generated - */ - EEnum FLOW_DIRECTION = eINSTANCE.getFlowDirection(); - - } - -} //PortsandflowsPackage
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/ProxyPort.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/ProxyPort.java deleted file mode 100644 index 6cb57d6..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/ProxyPort.java +++ /dev/null
@@ -1,62 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.Port; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Proxy Port</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.ProxyPort#getBase_Port <em>Base Port</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#getProxyPort() - * @model - * @generated - */ -public interface ProxyPort extends EObject { - /** - * Returns the value of the '<em><b>Base Port</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Port</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Port</em>' reference. - * @see #setBase_Port(Port) - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#getProxyPort_Base_Port() - * @model ordered="false" - * @generated - */ - Port getBase_Port(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.portsandflows.ProxyPort#getBase_Port <em>Base Port</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Port</em>' reference. - * @see #getBase_Port() - * @generated - */ - void setBase_Port(Port value); - -} // ProxyPort
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/TriggerOnNestedPort.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/TriggerOnNestedPort.java deleted file mode 100644 index 3d449f6..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/TriggerOnNestedPort.java +++ /dev/null
@@ -1,108 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.papyrus.sysml14.blocks.ElementPropertyPath; - -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.Trigger; -import org.eclipse.uml2.uml.Type; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Trigger On Nested Port</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.TriggerOnNestedPort#getBase_Trigger <em>Base Trigger</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.TriggerOnNestedPort#getOnNestedPort <em>On Nested Port</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#getTriggerOnNestedPort() - * @model - * @generated - */ -public interface TriggerOnNestedPort extends ElementPropertyPath { - /** - * Returns the value of the '<em><b>Base Trigger</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Trigger</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Trigger</em>' reference. - * @see #setBase_Trigger(Trigger) - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#getTriggerOnNestedPort_Base_Trigger() - * @model required="true" ordered="false" - * @generated - */ - Trigger getBase_Trigger(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.portsandflows.TriggerOnNestedPort#getBase_Trigger <em>Base Trigger</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Trigger</em>' reference. - * @see #getBase_Trigger() - * @generated - */ - void setBase_Trigger(Trigger value); - - /** - * Returns the value of the '<em><b>On Nested Port</b></em>' reference list. - * The list contents are of type {@link org.eclipse.uml2.uml.Port}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>On Nested Port</em>' reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>On Nested Port</em>' reference list. - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#getTriggerOnNestedPort_OnNestedPort() - * @model required="true" - * @generated - */ - EList<Port> getOnNestedPort(); - - /** - * Retrieves the first {@link org.eclipse.uml2.uml.Port} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the '<em><b>On Nested Port</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Port} to retrieve, or <code>null</code>. - * @param type The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Port} to retrieve, or <code>null</code>. - * @return The first {@link org.eclipse.uml2.uml.Port} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or <code>null</code>. - * @see #getOnNestedPort() - * @generated - */ - Port getOnNestedPort(String name, Type type); - - /** - * Retrieves the first {@link org.eclipse.uml2.uml.Port} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>' from the '<em><b>On Nested Port</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.Port} to retrieve, or <code>null</code>. - * @param type The '<em><b>Type</b></em>' of the {@link org.eclipse.uml2.uml.Port} to retrieve, or <code>null</code>. - * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons. - * @return The first {@link org.eclipse.uml2.uml.Port} with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', or <code>null</code>. - * @see #getOnNestedPort() - * @generated - */ - Port getOnNestedPort(String name, Type type, boolean ignoreCase); - -} // TriggerOnNestedPort
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/AcceptChangeStructuralFeatureEventActionImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/AcceptChangeStructuralFeatureEventActionImpl.java deleted file mode 100644 index 7d4d4ef..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/AcceptChangeStructuralFeatureEventActionImpl.java +++ /dev/null
@@ -1,168 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.portsandflows.AcceptChangeStructuralFeatureEventAction; -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; - -import org.eclipse.uml2.uml.AcceptEventAction; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Accept Change Structural Feature Event Action</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.AcceptChangeStructuralFeatureEventActionImpl#getBase_AcceptEventAction <em>Base Accept Event Action</em>}</li> - * </ul> - * - * @generated - */ -public class AcceptChangeStructuralFeatureEventActionImpl extends MinimalEObjectImpl.Container implements AcceptChangeStructuralFeatureEventAction { - /** - * The cached value of the '{@link #getBase_AcceptEventAction() <em>Base Accept Event Action</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_AcceptEventAction() - * @generated - * @ordered - */ - protected AcceptEventAction base_AcceptEventAction; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected AcceptChangeStructuralFeatureEventActionImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return PortsandflowsPackage.Literals.ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AcceptEventAction getBase_AcceptEventAction() { - if (base_AcceptEventAction != null && base_AcceptEventAction.eIsProxy()) { - InternalEObject oldBase_AcceptEventAction = (InternalEObject)base_AcceptEventAction; - base_AcceptEventAction = (AcceptEventAction)eResolveProxy(oldBase_AcceptEventAction); - if (base_AcceptEventAction != oldBase_AcceptEventAction) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, PortsandflowsPackage.ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION__BASE_ACCEPT_EVENT_ACTION, oldBase_AcceptEventAction, base_AcceptEventAction)); - } - } - return base_AcceptEventAction; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AcceptEventAction basicGetBase_AcceptEventAction() { - return base_AcceptEventAction; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_AcceptEventAction(AcceptEventAction newBase_AcceptEventAction) { - AcceptEventAction oldBase_AcceptEventAction = base_AcceptEventAction; - base_AcceptEventAction = newBase_AcceptEventAction; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, PortsandflowsPackage.ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION__BASE_ACCEPT_EVENT_ACTION, oldBase_AcceptEventAction, base_AcceptEventAction)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case PortsandflowsPackage.ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION__BASE_ACCEPT_EVENT_ACTION: - if (resolve) return getBase_AcceptEventAction(); - return basicGetBase_AcceptEventAction(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case PortsandflowsPackage.ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION__BASE_ACCEPT_EVENT_ACTION: - setBase_AcceptEventAction((AcceptEventAction)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case PortsandflowsPackage.ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION__BASE_ACCEPT_EVENT_ACTION: - setBase_AcceptEventAction((AcceptEventAction)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case PortsandflowsPackage.ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION__BASE_ACCEPT_EVENT_ACTION: - return base_AcceptEventAction != null; - } - return super.eIsSet(featureID); - } - -} //AcceptChangeStructuralFeatureEventActionImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/ChangeStructuralFeatureEventImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/ChangeStructuralFeatureEventImpl.java deleted file mode 100644 index 389cf4b..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/ChangeStructuralFeatureEventImpl.java +++ /dev/null
@@ -1,229 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.portsandflows.ChangeStructuralFeatureEvent; -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; - -import org.eclipse.uml2.uml.ChangeEvent; -import org.eclipse.uml2.uml.StructuralFeature; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Change Structural Feature Event</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.ChangeStructuralFeatureEventImpl#getBase_ChangeEvent <em>Base Change Event</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.ChangeStructuralFeatureEventImpl#getStructuralFeature <em>Structural Feature</em>}</li> - * </ul> - * - * @generated - */ -public class ChangeStructuralFeatureEventImpl extends MinimalEObjectImpl.Container implements ChangeStructuralFeatureEvent { - /** - * The cached value of the '{@link #getBase_ChangeEvent() <em>Base Change Event</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_ChangeEvent() - * @generated - * @ordered - */ - protected ChangeEvent base_ChangeEvent; - - /** - * The cached value of the '{@link #getStructuralFeature() <em>Structural Feature</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getStructuralFeature() - * @generated - * @ordered - */ - protected StructuralFeature structuralFeature; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ChangeStructuralFeatureEventImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return PortsandflowsPackage.Literals.CHANGE_STRUCTURAL_FEATURE_EVENT; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ChangeEvent getBase_ChangeEvent() { - if (base_ChangeEvent != null && base_ChangeEvent.eIsProxy()) { - InternalEObject oldBase_ChangeEvent = (InternalEObject)base_ChangeEvent; - base_ChangeEvent = (ChangeEvent)eResolveProxy(oldBase_ChangeEvent); - if (base_ChangeEvent != oldBase_ChangeEvent) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT__BASE_CHANGE_EVENT, oldBase_ChangeEvent, base_ChangeEvent)); - } - } - return base_ChangeEvent; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ChangeEvent basicGetBase_ChangeEvent() { - return base_ChangeEvent; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_ChangeEvent(ChangeEvent newBase_ChangeEvent) { - ChangeEvent oldBase_ChangeEvent = base_ChangeEvent; - base_ChangeEvent = newBase_ChangeEvent; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT__BASE_CHANGE_EVENT, oldBase_ChangeEvent, base_ChangeEvent)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public StructuralFeature getStructuralFeature() { - if (structuralFeature != null && structuralFeature.eIsProxy()) { - InternalEObject oldStructuralFeature = (InternalEObject)structuralFeature; - structuralFeature = (StructuralFeature)eResolveProxy(oldStructuralFeature); - if (structuralFeature != oldStructuralFeature) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT__STRUCTURAL_FEATURE, oldStructuralFeature, structuralFeature)); - } - } - return structuralFeature; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public StructuralFeature basicGetStructuralFeature() { - return structuralFeature; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setStructuralFeature(StructuralFeature newStructuralFeature) { - StructuralFeature oldStructuralFeature = structuralFeature; - structuralFeature = newStructuralFeature; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT__STRUCTURAL_FEATURE, oldStructuralFeature, structuralFeature)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT__BASE_CHANGE_EVENT: - if (resolve) return getBase_ChangeEvent(); - return basicGetBase_ChangeEvent(); - case PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT__STRUCTURAL_FEATURE: - if (resolve) return getStructuralFeature(); - return basicGetStructuralFeature(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT__BASE_CHANGE_EVENT: - setBase_ChangeEvent((ChangeEvent)newValue); - return; - case PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT__STRUCTURAL_FEATURE: - setStructuralFeature((StructuralFeature)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT__BASE_CHANGE_EVENT: - setBase_ChangeEvent((ChangeEvent)null); - return; - case PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT__STRUCTURAL_FEATURE: - setStructuralFeature((StructuralFeature)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT__BASE_CHANGE_EVENT: - return base_ChangeEvent != null; - case PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT__STRUCTURAL_FEATURE: - return structuralFeature != null; - } - return super.eIsSet(featureID); - } - -} //ChangeStructuralFeatureEventImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/DirectedFeatureImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/DirectedFeatureImpl.java deleted file mode 100644 index 21a4083..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/DirectedFeatureImpl.java +++ /dev/null
@@ -1,237 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.portsandflows.DirectedFeature; -import org.eclipse.papyrus.sysml14.portsandflows.FeatureDirection; -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; - -import org.eclipse.uml2.uml.Feature; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Directed Feature</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.DirectedFeatureImpl#getBase_Feature <em>Base Feature</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.DirectedFeatureImpl#getFeatureDirection <em>Feature Direction</em>}</li> - * </ul> - * - * @generated - */ -public class DirectedFeatureImpl extends MinimalEObjectImpl.Container implements DirectedFeature { - /** - * The cached value of the '{@link #getBase_Feature() <em>Base Feature</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Feature() - * @generated - * @ordered - */ - protected Feature base_Feature; - - /** - * The default value of the '{@link #getFeatureDirection() <em>Feature Direction</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getFeatureDirection() - * @generated - * @ordered - */ - protected static final FeatureDirection FEATURE_DIRECTION_EDEFAULT = FeatureDirection.PROVIDED; - - /** - * The cached value of the '{@link #getFeatureDirection() <em>Feature Direction</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getFeatureDirection() - * @generated - * @ordered - */ - protected FeatureDirection featureDirection = FEATURE_DIRECTION_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected DirectedFeatureImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return PortsandflowsPackage.Literals.DIRECTED_FEATURE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Feature getBase_Feature() { - if (base_Feature != null && base_Feature.eIsProxy()) { - InternalEObject oldBase_Feature = (InternalEObject)base_Feature; - base_Feature = (Feature)eResolveProxy(oldBase_Feature); - if (base_Feature != oldBase_Feature) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, PortsandflowsPackage.DIRECTED_FEATURE__BASE_FEATURE, oldBase_Feature, base_Feature)); - } - } - return base_Feature; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Feature basicGetBase_Feature() { - return base_Feature; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Feature(Feature newBase_Feature) { - Feature oldBase_Feature = base_Feature; - base_Feature = newBase_Feature; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, PortsandflowsPackage.DIRECTED_FEATURE__BASE_FEATURE, oldBase_Feature, base_Feature)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public FeatureDirection getFeatureDirection() { - return featureDirection; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setFeatureDirection(FeatureDirection newFeatureDirection) { - FeatureDirection oldFeatureDirection = featureDirection; - featureDirection = newFeatureDirection == null ? FEATURE_DIRECTION_EDEFAULT : newFeatureDirection; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, PortsandflowsPackage.DIRECTED_FEATURE__FEATURE_DIRECTION, oldFeatureDirection, featureDirection)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case PortsandflowsPackage.DIRECTED_FEATURE__BASE_FEATURE: - if (resolve) return getBase_Feature(); - return basicGetBase_Feature(); - case PortsandflowsPackage.DIRECTED_FEATURE__FEATURE_DIRECTION: - return getFeatureDirection(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case PortsandflowsPackage.DIRECTED_FEATURE__BASE_FEATURE: - setBase_Feature((Feature)newValue); - return; - case PortsandflowsPackage.DIRECTED_FEATURE__FEATURE_DIRECTION: - setFeatureDirection((FeatureDirection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case PortsandflowsPackage.DIRECTED_FEATURE__BASE_FEATURE: - setBase_Feature((Feature)null); - return; - case PortsandflowsPackage.DIRECTED_FEATURE__FEATURE_DIRECTION: - setFeatureDirection(FEATURE_DIRECTION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case PortsandflowsPackage.DIRECTED_FEATURE__BASE_FEATURE: - return base_Feature != null; - case PortsandflowsPackage.DIRECTED_FEATURE__FEATURE_DIRECTION: - return featureDirection != FEATURE_DIRECTION_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (featureDirection: "); //$NON-NLS-1$ - result.append(featureDirection); - result.append(')'); - return result.toString(); - } - -} //DirectedFeatureImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/FlowPropertyImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/FlowPropertyImpl.java deleted file mode 100644 index a7ee515..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/FlowPropertyImpl.java +++ /dev/null
@@ -1,265 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows.internal.impl; - -import java.lang.reflect.InvocationTargetException; -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.portsandflows.FlowDirection; -import org.eclipse.papyrus.sysml14.portsandflows.FlowProperty; -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; - -import org.eclipse.uml2.uml.Image; -import org.eclipse.uml2.uml.Property; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Flow Property</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.FlowPropertyImpl#getBase_Property <em>Base Property</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.FlowPropertyImpl#getDirection <em>Direction</em>}</li> - * </ul> - * - * @generated - */ -public class FlowPropertyImpl extends MinimalEObjectImpl.Container implements FlowProperty { - /** - * The cached value of the '{@link #getBase_Property() <em>Base Property</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Property() - * @generated - * @ordered - */ - protected Property base_Property; - - /** - * The default value of the '{@link #getDirection() <em>Direction</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDirection() - * @generated - * @ordered - */ - protected static final FlowDirection DIRECTION_EDEFAULT = FlowDirection.INOUT; - - /** - * The cached value of the '{@link #getDirection() <em>Direction</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDirection() - * @generated - * @ordered - */ - protected FlowDirection direction = DIRECTION_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected FlowPropertyImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return PortsandflowsPackage.Literals.FLOW_PROPERTY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Property getBase_Property() { - if (base_Property != null && base_Property.eIsProxy()) { - InternalEObject oldBase_Property = (InternalEObject)base_Property; - base_Property = (Property)eResolveProxy(oldBase_Property); - if (base_Property != oldBase_Property) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, PortsandflowsPackage.FLOW_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property)); - } - } - return base_Property; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Property basicGetBase_Property() { - return base_Property; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Property(Property newBase_Property) { - Property oldBase_Property = base_Property; - base_Property = newBase_Property; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, PortsandflowsPackage.FLOW_PROPERTY__BASE_PROPERTY, oldBase_Property, base_Property)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public FlowDirection getDirection() { - return direction; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDirection(FlowDirection newDirection) { - FlowDirection oldDirection = direction; - direction = newDirection == null ? DIRECTION_EDEFAULT : newDirection; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, PortsandflowsPackage.FLOW_PROPERTY__DIRECTION, oldDirection, direction)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Image getIcon() { - // TODO: implement this method - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case PortsandflowsPackage.FLOW_PROPERTY__BASE_PROPERTY: - if (resolve) return getBase_Property(); - return basicGetBase_Property(); - case PortsandflowsPackage.FLOW_PROPERTY__DIRECTION: - return getDirection(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case PortsandflowsPackage.FLOW_PROPERTY__BASE_PROPERTY: - setBase_Property((Property)newValue); - return; - case PortsandflowsPackage.FLOW_PROPERTY__DIRECTION: - setDirection((FlowDirection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case PortsandflowsPackage.FLOW_PROPERTY__BASE_PROPERTY: - setBase_Property((Property)null); - return; - case PortsandflowsPackage.FLOW_PROPERTY__DIRECTION: - setDirection(DIRECTION_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case PortsandflowsPackage.FLOW_PROPERTY__BASE_PROPERTY: - return base_Property != null; - case PortsandflowsPackage.FLOW_PROPERTY__DIRECTION: - return direction != DIRECTION_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { - switch (operationID) { - case PortsandflowsPackage.FLOW_PROPERTY___GET_ICON: - return getIcon(); - } - return super.eInvoke(operationID, arguments); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (direction: "); //$NON-NLS-1$ - result.append(direction); - result.append(')'); - return result.toString(); - } - -} //FlowPropertyImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/FullPortImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/FullPortImpl.java deleted file mode 100644 index 4c2505a..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/FullPortImpl.java +++ /dev/null
@@ -1,168 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.portsandflows.FullPort; -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; - -import org.eclipse.uml2.uml.Port; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Full Port</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.FullPortImpl#getBase_Port <em>Base Port</em>}</li> - * </ul> - * - * @generated - */ -public class FullPortImpl extends MinimalEObjectImpl.Container implements FullPort { - /** - * The cached value of the '{@link #getBase_Port() <em>Base Port</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Port() - * @generated - * @ordered - */ - protected Port base_Port; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected FullPortImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return PortsandflowsPackage.Literals.FULL_PORT; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Port getBase_Port() { - if (base_Port != null && base_Port.eIsProxy()) { - InternalEObject oldBase_Port = (InternalEObject)base_Port; - base_Port = (Port)eResolveProxy(oldBase_Port); - if (base_Port != oldBase_Port) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, PortsandflowsPackage.FULL_PORT__BASE_PORT, oldBase_Port, base_Port)); - } - } - return base_Port; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Port basicGetBase_Port() { - return base_Port; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Port(Port newBase_Port) { - Port oldBase_Port = base_Port; - base_Port = newBase_Port; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, PortsandflowsPackage.FULL_PORT__BASE_PORT, oldBase_Port, base_Port)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case PortsandflowsPackage.FULL_PORT__BASE_PORT: - if (resolve) return getBase_Port(); - return basicGetBase_Port(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case PortsandflowsPackage.FULL_PORT__BASE_PORT: - setBase_Port((Port)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case PortsandflowsPackage.FULL_PORT__BASE_PORT: - setBase_Port((Port)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case PortsandflowsPackage.FULL_PORT__BASE_PORT: - return base_Port != null; - } - return super.eIsSet(featureID); - } - -} //FullPortImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/InterfaceBlockImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/InterfaceBlockImpl.java deleted file mode 100644 index 33e4f6d..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/InterfaceBlockImpl.java +++ /dev/null
@@ -1,49 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows.internal.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.papyrus.sysml14.blocks.internal.impl.BlockImpl; - -import org.eclipse.papyrus.sysml14.portsandflows.InterfaceBlock; -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Interface Block</b></em>'. - * <!-- end-user-doc --> - * - * @generated - */ -public class InterfaceBlockImpl extends BlockImpl implements InterfaceBlock { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected InterfaceBlockImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return PortsandflowsPackage.Literals.INTERFACE_BLOCK; - } - -} //InterfaceBlockImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/InvocationOnNestedPortActionImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/InvocationOnNestedPortActionImpl.java deleted file mode 100644 index a6851b5..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/InvocationOnNestedPortActionImpl.java +++ /dev/null
@@ -1,237 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows.internal.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.emf.ecore.util.EObjectResolvingEList; - -import org.eclipse.papyrus.sysml14.blocks.internal.impl.ElementPropertyPathImpl; - -import org.eclipse.papyrus.sysml14.portsandflows.InvocationOnNestedPortAction; -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; - -import org.eclipse.uml2.uml.InvocationAction; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.Type; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Invocation On Nested Port Action</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.InvocationOnNestedPortActionImpl#getBase_InvocationAction <em>Base Invocation Action</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.InvocationOnNestedPortActionImpl#getOnNestedPort <em>On Nested Port</em>}</li> - * </ul> - * - * @generated - */ -public class InvocationOnNestedPortActionImpl extends ElementPropertyPathImpl implements InvocationOnNestedPortAction { - /** - * The cached value of the '{@link #getBase_InvocationAction() <em>Base Invocation Action</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_InvocationAction() - * @generated - * @ordered - */ - protected InvocationAction base_InvocationAction; - - /** - * The cached value of the '{@link #getOnNestedPort() <em>On Nested Port</em>}' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOnNestedPort() - * @generated - * @ordered - */ - protected EList<Port> onNestedPort; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected InvocationOnNestedPortActionImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return PortsandflowsPackage.Literals.INVOCATION_ON_NESTED_PORT_ACTION; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public InvocationAction getBase_InvocationAction() { - if (base_InvocationAction != null && base_InvocationAction.eIsProxy()) { - InternalEObject oldBase_InvocationAction = (InternalEObject)base_InvocationAction; - base_InvocationAction = (InvocationAction)eResolveProxy(oldBase_InvocationAction); - if (base_InvocationAction != oldBase_InvocationAction) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, PortsandflowsPackage.INVOCATION_ON_NESTED_PORT_ACTION__BASE_INVOCATION_ACTION, oldBase_InvocationAction, base_InvocationAction)); - } - } - return base_InvocationAction; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public InvocationAction basicGetBase_InvocationAction() { - return base_InvocationAction; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_InvocationAction(InvocationAction newBase_InvocationAction) { - InvocationAction oldBase_InvocationAction = base_InvocationAction; - base_InvocationAction = newBase_InvocationAction; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, PortsandflowsPackage.INVOCATION_ON_NESTED_PORT_ACTION__BASE_INVOCATION_ACTION, oldBase_InvocationAction, base_InvocationAction)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Port> getOnNestedPort() { - if (onNestedPort == null) { - onNestedPort = new EObjectResolvingEList<Port>(Port.class, this, PortsandflowsPackage.INVOCATION_ON_NESTED_PORT_ACTION__ON_NESTED_PORT); - } - return onNestedPort; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Port getOnNestedPort(String name, Type type) { - return getOnNestedPort(name, type, false); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Port getOnNestedPort(String name, Type type, boolean ignoreCase) { - onNestedPortLoop: for (Port onNestedPort : getOnNestedPort()) { - if (name != null && !(ignoreCase ? name.equalsIgnoreCase(onNestedPort.getName()) : name.equals(onNestedPort.getName()))) - continue onNestedPortLoop; - if (type != null && !type.equals(onNestedPort.getType())) - continue onNestedPortLoop; - return onNestedPort; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case PortsandflowsPackage.INVOCATION_ON_NESTED_PORT_ACTION__BASE_INVOCATION_ACTION: - if (resolve) return getBase_InvocationAction(); - return basicGetBase_InvocationAction(); - case PortsandflowsPackage.INVOCATION_ON_NESTED_PORT_ACTION__ON_NESTED_PORT: - return getOnNestedPort(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case PortsandflowsPackage.INVOCATION_ON_NESTED_PORT_ACTION__BASE_INVOCATION_ACTION: - setBase_InvocationAction((InvocationAction)newValue); - return; - case PortsandflowsPackage.INVOCATION_ON_NESTED_PORT_ACTION__ON_NESTED_PORT: - getOnNestedPort().clear(); - getOnNestedPort().addAll((Collection<? extends Port>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case PortsandflowsPackage.INVOCATION_ON_NESTED_PORT_ACTION__BASE_INVOCATION_ACTION: - setBase_InvocationAction((InvocationAction)null); - return; - case PortsandflowsPackage.INVOCATION_ON_NESTED_PORT_ACTION__ON_NESTED_PORT: - getOnNestedPort().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case PortsandflowsPackage.INVOCATION_ON_NESTED_PORT_ACTION__BASE_INVOCATION_ACTION: - return base_InvocationAction != null; - case PortsandflowsPackage.INVOCATION_ON_NESTED_PORT_ACTION__ON_NESTED_PORT: - return onNestedPort != null && !onNestedPort.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //InvocationOnNestedPortActionImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/ItemFlowImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/ItemFlowImpl.java deleted file mode 100644 index 7e76210..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/ItemFlowImpl.java +++ /dev/null
@@ -1,229 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.portsandflows.ItemFlow; -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; - -import org.eclipse.uml2.uml.InformationFlow; -import org.eclipse.uml2.uml.Property; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Item Flow</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.ItemFlowImpl#getBase_InformationFlow <em>Base Information Flow</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.ItemFlowImpl#getItemProperty <em>Item Property</em>}</li> - * </ul> - * - * @generated - */ -public class ItemFlowImpl extends MinimalEObjectImpl.Container implements ItemFlow { - /** - * The cached value of the '{@link #getBase_InformationFlow() <em>Base Information Flow</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_InformationFlow() - * @generated - * @ordered - */ - protected InformationFlow base_InformationFlow; - - /** - * The cached value of the '{@link #getItemProperty() <em>Item Property</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getItemProperty() - * @generated - * @ordered - */ - protected Property itemProperty; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ItemFlowImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return PortsandflowsPackage.Literals.ITEM_FLOW; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public InformationFlow getBase_InformationFlow() { - if (base_InformationFlow != null && base_InformationFlow.eIsProxy()) { - InternalEObject oldBase_InformationFlow = (InternalEObject)base_InformationFlow; - base_InformationFlow = (InformationFlow)eResolveProxy(oldBase_InformationFlow); - if (base_InformationFlow != oldBase_InformationFlow) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, PortsandflowsPackage.ITEM_FLOW__BASE_INFORMATION_FLOW, oldBase_InformationFlow, base_InformationFlow)); - } - } - return base_InformationFlow; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public InformationFlow basicGetBase_InformationFlow() { - return base_InformationFlow; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_InformationFlow(InformationFlow newBase_InformationFlow) { - InformationFlow oldBase_InformationFlow = base_InformationFlow; - base_InformationFlow = newBase_InformationFlow; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, PortsandflowsPackage.ITEM_FLOW__BASE_INFORMATION_FLOW, oldBase_InformationFlow, base_InformationFlow)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Property getItemProperty() { - if (itemProperty != null && itemProperty.eIsProxy()) { - InternalEObject oldItemProperty = (InternalEObject)itemProperty; - itemProperty = (Property)eResolveProxy(oldItemProperty); - if (itemProperty != oldItemProperty) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, PortsandflowsPackage.ITEM_FLOW__ITEM_PROPERTY, oldItemProperty, itemProperty)); - } - } - return itemProperty; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Property basicGetItemProperty() { - return itemProperty; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setItemProperty(Property newItemProperty) { - Property oldItemProperty = itemProperty; - itemProperty = newItemProperty; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, PortsandflowsPackage.ITEM_FLOW__ITEM_PROPERTY, oldItemProperty, itemProperty)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case PortsandflowsPackage.ITEM_FLOW__BASE_INFORMATION_FLOW: - if (resolve) return getBase_InformationFlow(); - return basicGetBase_InformationFlow(); - case PortsandflowsPackage.ITEM_FLOW__ITEM_PROPERTY: - if (resolve) return getItemProperty(); - return basicGetItemProperty(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case PortsandflowsPackage.ITEM_FLOW__BASE_INFORMATION_FLOW: - setBase_InformationFlow((InformationFlow)newValue); - return; - case PortsandflowsPackage.ITEM_FLOW__ITEM_PROPERTY: - setItemProperty((Property)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case PortsandflowsPackage.ITEM_FLOW__BASE_INFORMATION_FLOW: - setBase_InformationFlow((InformationFlow)null); - return; - case PortsandflowsPackage.ITEM_FLOW__ITEM_PROPERTY: - setItemProperty((Property)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case PortsandflowsPackage.ITEM_FLOW__BASE_INFORMATION_FLOW: - return base_InformationFlow != null; - case PortsandflowsPackage.ITEM_FLOW__ITEM_PROPERTY: - return itemProperty != null; - } - return super.eIsSet(featureID); - } - -} //ItemFlowImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/PortsandflowsFactoryImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/PortsandflowsFactoryImpl.java deleted file mode 100644 index 5d30c8c..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/PortsandflowsFactoryImpl.java +++ /dev/null
@@ -1,279 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows.internal.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -import org.eclipse.papyrus.sysml14.portsandflows.*; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class PortsandflowsFactoryImpl extends EFactoryImpl implements PortsandflowsFactory { - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static PortsandflowsFactory init() { - try { - PortsandflowsFactory thePortsandflowsFactory = (PortsandflowsFactory)EPackage.Registry.INSTANCE.getEFactory(PortsandflowsPackage.eNS_URI); - if (thePortsandflowsFactory != null) { - return thePortsandflowsFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new PortsandflowsFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PortsandflowsFactoryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case PortsandflowsPackage.ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION: return createAcceptChangeStructuralFeatureEventAction(); - case PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT: return createChangeStructuralFeatureEvent(); - case PortsandflowsPackage.DIRECTED_FEATURE: return createDirectedFeature(); - case PortsandflowsPackage.FLOW_PROPERTY: return createFlowProperty(); - case PortsandflowsPackage.FULL_PORT: return createFullPort(); - case PortsandflowsPackage.INTERFACE_BLOCK: return createInterfaceBlock(); - case PortsandflowsPackage.INVOCATION_ON_NESTED_PORT_ACTION: return createInvocationOnNestedPortAction(); - case PortsandflowsPackage.ITEM_FLOW: return createItemFlow(); - case PortsandflowsPackage.PROXY_PORT: return createProxyPort(); - case PortsandflowsPackage.TRIGGER_ON_NESTED_PORT: return createTriggerOnNestedPort(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object createFromString(EDataType eDataType, String initialValue) { - switch (eDataType.getClassifierID()) { - case PortsandflowsPackage.FEATURE_DIRECTION: - return createFeatureDirectionFromString(eDataType, initialValue); - case PortsandflowsPackage.FLOW_DIRECTION: - return createFlowDirectionFromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String convertToString(EDataType eDataType, Object instanceValue) { - switch (eDataType.getClassifierID()) { - case PortsandflowsPackage.FEATURE_DIRECTION: - return convertFeatureDirectionToString(eDataType, instanceValue); - case PortsandflowsPackage.FLOW_DIRECTION: - return convertFlowDirectionToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AcceptChangeStructuralFeatureEventAction createAcceptChangeStructuralFeatureEventAction() { - AcceptChangeStructuralFeatureEventActionImpl acceptChangeStructuralFeatureEventAction = new AcceptChangeStructuralFeatureEventActionImpl(); - return acceptChangeStructuralFeatureEventAction; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ChangeStructuralFeatureEvent createChangeStructuralFeatureEvent() { - ChangeStructuralFeatureEventImpl changeStructuralFeatureEvent = new ChangeStructuralFeatureEventImpl(); - return changeStructuralFeatureEvent; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DirectedFeature createDirectedFeature() { - DirectedFeatureImpl directedFeature = new DirectedFeatureImpl(); - return directedFeature; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public FlowProperty createFlowProperty() { - FlowPropertyImpl flowProperty = new FlowPropertyImpl(); - return flowProperty; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public FullPort createFullPort() { - FullPortImpl fullPort = new FullPortImpl(); - return fullPort; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public InterfaceBlock createInterfaceBlock() { - InterfaceBlockImpl interfaceBlock = new InterfaceBlockImpl(); - return interfaceBlock; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public InvocationOnNestedPortAction createInvocationOnNestedPortAction() { - InvocationOnNestedPortActionImpl invocationOnNestedPortAction = new InvocationOnNestedPortActionImpl(); - return invocationOnNestedPortAction; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ItemFlow createItemFlow() { - ItemFlowImpl itemFlow = new ItemFlowImpl(); - return itemFlow; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ProxyPort createProxyPort() { - ProxyPortImpl proxyPort = new ProxyPortImpl(); - return proxyPort; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public TriggerOnNestedPort createTriggerOnNestedPort() { - TriggerOnNestedPortImpl triggerOnNestedPort = new TriggerOnNestedPortImpl(); - return triggerOnNestedPort; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public FeatureDirection createFeatureDirectionFromString(EDataType eDataType, String initialValue) { - FeatureDirection result = FeatureDirection.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertFeatureDirectionToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public FlowDirection createFlowDirectionFromString(EDataType eDataType, String initialValue) { - FlowDirection result = FlowDirection.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertFlowDirectionToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PortsandflowsPackage getPortsandflowsPackage() { - return (PortsandflowsPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - @Deprecated - public static PortsandflowsPackage getPackage() { - return PortsandflowsPackage.eINSTANCE; - } - -} //PortsandflowsFactoryImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/PortsandflowsPackageImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/PortsandflowsPackageImpl.java deleted file mode 100644 index 8ef09e3..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/PortsandflowsPackageImpl.java +++ /dev/null
@@ -1,679 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows.internal.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EOperation; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; - -import org.eclipse.papyrus.sysml14.activities.internal.impl.ActivitiesPackageImpl; - -import org.eclipse.papyrus.sysml14.allocations.AllocationsPackage; - -import org.eclipse.papyrus.sysml14.allocations.internal.impl.AllocationsPackageImpl; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; - -import org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl; - -import org.eclipse.papyrus.sysml14.constraintblocks.ConstraintblocksPackage; - -import org.eclipse.papyrus.sysml14.constraintblocks.internal.impl.ConstraintblocksPackageImpl; - -import org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsPackage; - -import org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.DeprecatedelementsPackageImpl; - -import org.eclipse.papyrus.sysml14.impl.sysmlPackageImpl; -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; - -import org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsPackageImpl; - -import org.eclipse.papyrus.sysml14.portsandflows.AcceptChangeStructuralFeatureEventAction; -import org.eclipse.papyrus.sysml14.portsandflows.ChangeStructuralFeatureEvent; -import org.eclipse.papyrus.sysml14.portsandflows.DirectedFeature; -import org.eclipse.papyrus.sysml14.portsandflows.FeatureDirection; -import org.eclipse.papyrus.sysml14.portsandflows.FlowDirection; -import org.eclipse.papyrus.sysml14.portsandflows.FlowProperty; -import org.eclipse.papyrus.sysml14.portsandflows.FullPort; -import org.eclipse.papyrus.sysml14.portsandflows.InterfaceBlock; -import org.eclipse.papyrus.sysml14.portsandflows.InvocationOnNestedPortAction; -import org.eclipse.papyrus.sysml14.portsandflows.ItemFlow; -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsFactory; -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; -import org.eclipse.papyrus.sysml14.portsandflows.ProxyPort; -import org.eclipse.papyrus.sysml14.portsandflows.TriggerOnNestedPort; - -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; - -import org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsPackageImpl; - -import org.eclipse.papyrus.sysml14.sysmlPackage; -import org.eclipse.uml2.uml.UMLPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class PortsandflowsPackageImpl extends EPackageImpl implements PortsandflowsPackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass acceptChangeStructuralFeatureEventActionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass changeStructuralFeatureEventEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass directedFeatureEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass flowPropertyEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass fullPortEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass interfaceBlockEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass invocationOnNestedPortActionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass itemFlowEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass proxyPortEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass triggerOnNestedPortEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum featureDirectionEEnum = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum flowDirectionEEnum = null; - - /** - * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage#eNS_URI - * @see #init() - * @generated - */ - private PortsandflowsPackageImpl() { - super(eNS_URI, PortsandflowsFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. - * - * <p>This method is used to initialize {@link PortsandflowsPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static PortsandflowsPackage init() { - if (isInited) return (PortsandflowsPackage)EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI); - - // Obtain or create and register package - PortsandflowsPackageImpl thePortsandflowsPackage = (PortsandflowsPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof PortsandflowsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new PortsandflowsPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - UMLPackage.eINSTANCE.eClass(); - - // Obtain or create and register interdependencies - sysmlPackageImpl thesysmlPackage = (sysmlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(sysmlPackage.eNS_URI) instanceof sysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(sysmlPackage.eNS_URI) : sysmlPackage.eINSTANCE); - ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) : ActivitiesPackage.eINSTANCE); - AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) : AllocationsPackage.eINSTANCE); - BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE); - ConstraintblocksPackageImpl theConstraintblocksPackage = (ConstraintblocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) instanceof ConstraintblocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) : ConstraintblocksPackage.eINSTANCE); - DeprecatedelementsPackageImpl theDeprecatedelementsPackage = (DeprecatedelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) instanceof DeprecatedelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) : DeprecatedelementsPackage.eINSTANCE); - ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE); - RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI) : RequirementsPackage.eINSTANCE); - - // Create package meta-data objects - thePortsandflowsPackage.createPackageContents(); - thesysmlPackage.createPackageContents(); - theActivitiesPackage.createPackageContents(); - theAllocationsPackage.createPackageContents(); - theBlocksPackage.createPackageContents(); - theConstraintblocksPackage.createPackageContents(); - theDeprecatedelementsPackage.createPackageContents(); - theModelelementsPackage.createPackageContents(); - theRequirementsPackage.createPackageContents(); - - // Initialize created meta-data - thePortsandflowsPackage.initializePackageContents(); - thesysmlPackage.initializePackageContents(); - theActivitiesPackage.initializePackageContents(); - theAllocationsPackage.initializePackageContents(); - theBlocksPackage.initializePackageContents(); - theConstraintblocksPackage.initializePackageContents(); - theDeprecatedelementsPackage.initializePackageContents(); - theModelelementsPackage.initializePackageContents(); - theRequirementsPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - thePortsandflowsPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(PortsandflowsPackage.eNS_URI, thePortsandflowsPackage); - return thePortsandflowsPackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getAcceptChangeStructuralFeatureEventAction() { - return acceptChangeStructuralFeatureEventActionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getAcceptChangeStructuralFeatureEventAction_Base_AcceptEventAction() { - return (EReference)acceptChangeStructuralFeatureEventActionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getChangeStructuralFeatureEvent() { - return changeStructuralFeatureEventEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getChangeStructuralFeatureEvent_Base_ChangeEvent() { - return (EReference)changeStructuralFeatureEventEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getChangeStructuralFeatureEvent_StructuralFeature() { - return (EReference)changeStructuralFeatureEventEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getDirectedFeature() { - return directedFeatureEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDirectedFeature_Base_Feature() { - return (EReference)directedFeatureEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDirectedFeature_FeatureDirection() { - return (EAttribute)directedFeatureEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getFlowProperty() { - return flowPropertyEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFlowProperty_Base_Property() { - return (EReference)flowPropertyEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getFlowProperty_Direction() { - return (EAttribute)flowPropertyEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EOperation getFlowProperty__GetIcon() { - return flowPropertyEClass.getEOperations().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getFullPort() { - return fullPortEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFullPort_Base_Port() { - return (EReference)fullPortEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getInterfaceBlock() { - return interfaceBlockEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getInvocationOnNestedPortAction() { - return invocationOnNestedPortActionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getInvocationOnNestedPortAction_Base_InvocationAction() { - return (EReference)invocationOnNestedPortActionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getInvocationOnNestedPortAction_OnNestedPort() { - return (EReference)invocationOnNestedPortActionEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getItemFlow() { - return itemFlowEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getItemFlow_Base_InformationFlow() { - return (EReference)itemFlowEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getItemFlow_ItemProperty() { - return (EReference)itemFlowEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getProxyPort() { - return proxyPortEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getProxyPort_Base_Port() { - return (EReference)proxyPortEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getTriggerOnNestedPort() { - return triggerOnNestedPortEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getTriggerOnNestedPort_Base_Trigger() { - return (EReference)triggerOnNestedPortEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getTriggerOnNestedPort_OnNestedPort() { - return (EReference)triggerOnNestedPortEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EEnum getFeatureDirection() { - return featureDirectionEEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EEnum getFlowDirection() { - return flowDirectionEEnum; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PortsandflowsFactory getPortsandflowsFactory() { - return (PortsandflowsFactory)getEFactoryInstance(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - acceptChangeStructuralFeatureEventActionEClass = createEClass(ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION); - createEReference(acceptChangeStructuralFeatureEventActionEClass, ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION__BASE_ACCEPT_EVENT_ACTION); - - changeStructuralFeatureEventEClass = createEClass(CHANGE_STRUCTURAL_FEATURE_EVENT); - createEReference(changeStructuralFeatureEventEClass, CHANGE_STRUCTURAL_FEATURE_EVENT__BASE_CHANGE_EVENT); - createEReference(changeStructuralFeatureEventEClass, CHANGE_STRUCTURAL_FEATURE_EVENT__STRUCTURAL_FEATURE); - - directedFeatureEClass = createEClass(DIRECTED_FEATURE); - createEReference(directedFeatureEClass, DIRECTED_FEATURE__BASE_FEATURE); - createEAttribute(directedFeatureEClass, DIRECTED_FEATURE__FEATURE_DIRECTION); - - flowPropertyEClass = createEClass(FLOW_PROPERTY); - createEReference(flowPropertyEClass, FLOW_PROPERTY__BASE_PROPERTY); - createEAttribute(flowPropertyEClass, FLOW_PROPERTY__DIRECTION); - createEOperation(flowPropertyEClass, FLOW_PROPERTY___GET_ICON); - - fullPortEClass = createEClass(FULL_PORT); - createEReference(fullPortEClass, FULL_PORT__BASE_PORT); - - interfaceBlockEClass = createEClass(INTERFACE_BLOCK); - - invocationOnNestedPortActionEClass = createEClass(INVOCATION_ON_NESTED_PORT_ACTION); - createEReference(invocationOnNestedPortActionEClass, INVOCATION_ON_NESTED_PORT_ACTION__BASE_INVOCATION_ACTION); - createEReference(invocationOnNestedPortActionEClass, INVOCATION_ON_NESTED_PORT_ACTION__ON_NESTED_PORT); - - itemFlowEClass = createEClass(ITEM_FLOW); - createEReference(itemFlowEClass, ITEM_FLOW__BASE_INFORMATION_FLOW); - createEReference(itemFlowEClass, ITEM_FLOW__ITEM_PROPERTY); - - proxyPortEClass = createEClass(PROXY_PORT); - createEReference(proxyPortEClass, PROXY_PORT__BASE_PORT); - - triggerOnNestedPortEClass = createEClass(TRIGGER_ON_NESTED_PORT); - createEReference(triggerOnNestedPortEClass, TRIGGER_ON_NESTED_PORT__BASE_TRIGGER); - createEReference(triggerOnNestedPortEClass, TRIGGER_ON_NESTED_PORT__ON_NESTED_PORT); - - // Create enums - featureDirectionEEnum = createEEnum(FEATURE_DIRECTION); - flowDirectionEEnum = createEEnum(FLOW_DIRECTION); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); - BlocksPackage theBlocksPackage = (BlocksPackage)EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - interfaceBlockEClass.getESuperTypes().add(theBlocksPackage.getBlock()); - invocationOnNestedPortActionEClass.getESuperTypes().add(theBlocksPackage.getElementPropertyPath()); - triggerOnNestedPortEClass.getESuperTypes().add(theBlocksPackage.getElementPropertyPath()); - - // Initialize classes, features, and operations; add parameters - initEClass(acceptChangeStructuralFeatureEventActionEClass, AcceptChangeStructuralFeatureEventAction.class, "AcceptChangeStructuralFeatureEventAction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getAcceptChangeStructuralFeatureEventAction_Base_AcceptEventAction(), theUMLPackage.getAcceptEventAction(), null, "base_AcceptEventAction", null, 0, 1, AcceptChangeStructuralFeatureEventAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(changeStructuralFeatureEventEClass, ChangeStructuralFeatureEvent.class, "ChangeStructuralFeatureEvent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getChangeStructuralFeatureEvent_Base_ChangeEvent(), theUMLPackage.getChangeEvent(), null, "base_ChangeEvent", null, 0, 1, ChangeStructuralFeatureEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getChangeStructuralFeatureEvent_StructuralFeature(), theUMLPackage.getStructuralFeature(), null, "structuralFeature", null, 1, 1, ChangeStructuralFeatureEvent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(directedFeatureEClass, DirectedFeature.class, "DirectedFeature", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getDirectedFeature_Base_Feature(), theUMLPackage.getFeature(), null, "base_Feature", null, 0, 1, DirectedFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getDirectedFeature_FeatureDirection(), this.getFeatureDirection(), "featureDirection", null, 1, 1, DirectedFeature.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(flowPropertyEClass, FlowProperty.class, "FlowProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getFlowProperty_Base_Property(), theUMLPackage.getProperty(), null, "base_Property", null, 0, 1, FlowProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getFlowProperty_Direction(), this.getFlowDirection(), "direction", "inout", 1, 1, FlowProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ - - initEOperation(getFlowProperty__GetIcon(), theUMLPackage.getImage(), "getIcon", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(fullPortEClass, FullPort.class, "FullPort", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getFullPort_Base_Port(), theUMLPackage.getPort(), null, "base_Port", null, 0, 1, FullPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(interfaceBlockEClass, InterfaceBlock.class, "InterfaceBlock", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - - initEClass(invocationOnNestedPortActionEClass, InvocationOnNestedPortAction.class, "InvocationOnNestedPortAction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getInvocationOnNestedPortAction_Base_InvocationAction(), theUMLPackage.getInvocationAction(), null, "base_InvocationAction", null, 0, 1, InvocationOnNestedPortAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getInvocationOnNestedPortAction_OnNestedPort(), theUMLPackage.getPort(), null, "onNestedPort", null, 1, -1, InvocationOnNestedPortAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(itemFlowEClass, ItemFlow.class, "ItemFlow", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getItemFlow_Base_InformationFlow(), theUMLPackage.getInformationFlow(), null, "base_InformationFlow", null, 0, 1, ItemFlow.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getItemFlow_ItemProperty(), theUMLPackage.getProperty(), null, "itemProperty", null, 0, 1, ItemFlow.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(proxyPortEClass, ProxyPort.class, "ProxyPort", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getProxyPort_Base_Port(), theUMLPackage.getPort(), null, "base_Port", null, 0, 1, ProxyPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(triggerOnNestedPortEClass, TriggerOnNestedPort.class, "TriggerOnNestedPort", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getTriggerOnNestedPort_Base_Trigger(), theUMLPackage.getTrigger(), null, "base_Trigger", null, 1, 1, TriggerOnNestedPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getTriggerOnNestedPort_OnNestedPort(), theUMLPackage.getPort(), null, "onNestedPort", null, 1, -1, TriggerOnNestedPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - // Initialize enums and add enum literals - initEEnum(featureDirectionEEnum, FeatureDirection.class, "FeatureDirection"); //$NON-NLS-1$ - addEEnumLiteral(featureDirectionEEnum, FeatureDirection.PROVIDED); - addEEnumLiteral(featureDirectionEEnum, FeatureDirection.PROVIDED_REQUIRED); - addEEnumLiteral(featureDirectionEEnum, FeatureDirection.REQUIRED); - - initEEnum(flowDirectionEEnum, FlowDirection.class, "FlowDirection"); //$NON-NLS-1$ - addEEnumLiteral(flowDirectionEEnum, FlowDirection.IN); - addEEnumLiteral(flowDirectionEEnum, FlowDirection.INOUT); - addEEnumLiteral(flowDirectionEEnum, FlowDirection.OUT); - - // Create annotations - // http://www.eclipse.org/uml2/2.0.0/UML - createUMLAnnotations(); - } - - /** - * Initializes the annotations for <b>http://www.eclipse.org/uml2/2.0.0/UML</b>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void createUMLAnnotations() { - String source = "http://www.eclipse.org/uml2/2.0.0/UML"; //$NON-NLS-1$ - addAnnotation - (this, - source, - new String[] { - "originalName", "PortsAndFlows" //$NON-NLS-1$ //$NON-NLS-2$ - }); - } - -} //PortsandflowsPackageImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/ProxyPortImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/ProxyPortImpl.java deleted file mode 100644 index bbc0bfc..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/ProxyPortImpl.java +++ /dev/null
@@ -1,168 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; -import org.eclipse.papyrus.sysml14.portsandflows.ProxyPort; - -import org.eclipse.uml2.uml.Port; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Proxy Port</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.ProxyPortImpl#getBase_Port <em>Base Port</em>}</li> - * </ul> - * - * @generated - */ -public class ProxyPortImpl extends MinimalEObjectImpl.Container implements ProxyPort { - /** - * The cached value of the '{@link #getBase_Port() <em>Base Port</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Port() - * @generated - * @ordered - */ - protected Port base_Port; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ProxyPortImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return PortsandflowsPackage.Literals.PROXY_PORT; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Port getBase_Port() { - if (base_Port != null && base_Port.eIsProxy()) { - InternalEObject oldBase_Port = (InternalEObject)base_Port; - base_Port = (Port)eResolveProxy(oldBase_Port); - if (base_Port != oldBase_Port) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, PortsandflowsPackage.PROXY_PORT__BASE_PORT, oldBase_Port, base_Port)); - } - } - return base_Port; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Port basicGetBase_Port() { - return base_Port; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Port(Port newBase_Port) { - Port oldBase_Port = base_Port; - base_Port = newBase_Port; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, PortsandflowsPackage.PROXY_PORT__BASE_PORT, oldBase_Port, base_Port)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case PortsandflowsPackage.PROXY_PORT__BASE_PORT: - if (resolve) return getBase_Port(); - return basicGetBase_Port(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case PortsandflowsPackage.PROXY_PORT__BASE_PORT: - setBase_Port((Port)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case PortsandflowsPackage.PROXY_PORT__BASE_PORT: - setBase_Port((Port)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case PortsandflowsPackage.PROXY_PORT__BASE_PORT: - return base_Port != null; - } - return super.eIsSet(featureID); - } - -} //ProxyPortImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/TriggerOnNestedPortImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/TriggerOnNestedPortImpl.java deleted file mode 100644 index eb6d22a..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/internal/impl/TriggerOnNestedPortImpl.java +++ /dev/null
@@ -1,237 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows.internal.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.emf.ecore.util.EObjectResolvingEList; - -import org.eclipse.papyrus.sysml14.blocks.internal.impl.ElementPropertyPathImpl; - -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; -import org.eclipse.papyrus.sysml14.portsandflows.TriggerOnNestedPort; - -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.Trigger; -import org.eclipse.uml2.uml.Type; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Trigger On Nested Port</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.TriggerOnNestedPortImpl#getBase_Trigger <em>Base Trigger</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.portsandflows.internal.impl.TriggerOnNestedPortImpl#getOnNestedPort <em>On Nested Port</em>}</li> - * </ul> - * - * @generated - */ -public class TriggerOnNestedPortImpl extends ElementPropertyPathImpl implements TriggerOnNestedPort { - /** - * The cached value of the '{@link #getBase_Trigger() <em>Base Trigger</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Trigger() - * @generated - * @ordered - */ - protected Trigger base_Trigger; - - /** - * The cached value of the '{@link #getOnNestedPort() <em>On Nested Port</em>}' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOnNestedPort() - * @generated - * @ordered - */ - protected EList<Port> onNestedPort; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected TriggerOnNestedPortImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return PortsandflowsPackage.Literals.TRIGGER_ON_NESTED_PORT; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Trigger getBase_Trigger() { - if (base_Trigger != null && base_Trigger.eIsProxy()) { - InternalEObject oldBase_Trigger = (InternalEObject)base_Trigger; - base_Trigger = (Trigger)eResolveProxy(oldBase_Trigger); - if (base_Trigger != oldBase_Trigger) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, PortsandflowsPackage.TRIGGER_ON_NESTED_PORT__BASE_TRIGGER, oldBase_Trigger, base_Trigger)); - } - } - return base_Trigger; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Trigger basicGetBase_Trigger() { - return base_Trigger; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Trigger(Trigger newBase_Trigger) { - Trigger oldBase_Trigger = base_Trigger; - base_Trigger = newBase_Trigger; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, PortsandflowsPackage.TRIGGER_ON_NESTED_PORT__BASE_TRIGGER, oldBase_Trigger, base_Trigger)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Port> getOnNestedPort() { - if (onNestedPort == null) { - onNestedPort = new EObjectResolvingEList<Port>(Port.class, this, PortsandflowsPackage.TRIGGER_ON_NESTED_PORT__ON_NESTED_PORT); - } - return onNestedPort; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Port getOnNestedPort(String name, Type type) { - return getOnNestedPort(name, type, false); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Port getOnNestedPort(String name, Type type, boolean ignoreCase) { - onNestedPortLoop: for (Port onNestedPort : getOnNestedPort()) { - if (name != null && !(ignoreCase ? name.equalsIgnoreCase(onNestedPort.getName()) : name.equals(onNestedPort.getName()))) - continue onNestedPortLoop; - if (type != null && !type.equals(onNestedPort.getType())) - continue onNestedPortLoop; - return onNestedPort; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case PortsandflowsPackage.TRIGGER_ON_NESTED_PORT__BASE_TRIGGER: - if (resolve) return getBase_Trigger(); - return basicGetBase_Trigger(); - case PortsandflowsPackage.TRIGGER_ON_NESTED_PORT__ON_NESTED_PORT: - return getOnNestedPort(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case PortsandflowsPackage.TRIGGER_ON_NESTED_PORT__BASE_TRIGGER: - setBase_Trigger((Trigger)newValue); - return; - case PortsandflowsPackage.TRIGGER_ON_NESTED_PORT__ON_NESTED_PORT: - getOnNestedPort().clear(); - getOnNestedPort().addAll((Collection<? extends Port>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case PortsandflowsPackage.TRIGGER_ON_NESTED_PORT__BASE_TRIGGER: - setBase_Trigger((Trigger)null); - return; - case PortsandflowsPackage.TRIGGER_ON_NESTED_PORT__ON_NESTED_PORT: - getOnNestedPort().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case PortsandflowsPackage.TRIGGER_ON_NESTED_PORT__BASE_TRIGGER: - return base_Trigger != null; - case PortsandflowsPackage.TRIGGER_ON_NESTED_PORT__ON_NESTED_PORT: - return onNestedPort != null && !onNestedPort.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //TriggerOnNestedPortImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/util/PortsandflowsAdapterFactory.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/util/PortsandflowsAdapterFactory.java deleted file mode 100644 index ee6c0d4..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/util/PortsandflowsAdapterFactory.java +++ /dev/null
@@ -1,331 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.papyrus.sysml14.blocks.Block; -import org.eclipse.papyrus.sysml14.blocks.ElementPropertyPath; - -import org.eclipse.papyrus.sysml14.portsandflows.*; - -/** - * <!-- begin-user-doc --> - * The <b>Adapter Factory</b> for the model. - * It provides an adapter <code>createXXX</code> method for each class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage - * @generated - */ -public class PortsandflowsAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static PortsandflowsPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PortsandflowsAdapterFactory() { - if (modelPackage == null) { - modelPackage = PortsandflowsPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * <!-- begin-user-doc --> - * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. - * <!-- end-user-doc --> - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PortsandflowsSwitch<Adapter> modelSwitch = - new PortsandflowsSwitch<Adapter>() { - @Override - public Adapter caseAcceptChangeStructuralFeatureEventAction(AcceptChangeStructuralFeatureEventAction object) { - return createAcceptChangeStructuralFeatureEventActionAdapter(); - } - @Override - public Adapter caseChangeStructuralFeatureEvent(ChangeStructuralFeatureEvent object) { - return createChangeStructuralFeatureEventAdapter(); - } - @Override - public Adapter caseDirectedFeature(DirectedFeature object) { - return createDirectedFeatureAdapter(); - } - @Override - public Adapter caseFlowProperty(FlowProperty object) { - return createFlowPropertyAdapter(); - } - @Override - public Adapter caseFullPort(FullPort object) { - return createFullPortAdapter(); - } - @Override - public Adapter caseInterfaceBlock(InterfaceBlock object) { - return createInterfaceBlockAdapter(); - } - @Override - public Adapter caseInvocationOnNestedPortAction(InvocationOnNestedPortAction object) { - return createInvocationOnNestedPortActionAdapter(); - } - @Override - public Adapter caseItemFlow(ItemFlow object) { - return createItemFlowAdapter(); - } - @Override - public Adapter caseProxyPort(ProxyPort object) { - return createProxyPortAdapter(); - } - @Override - public Adapter caseTriggerOnNestedPort(TriggerOnNestedPort object) { - return createTriggerOnNestedPortAdapter(); - } - @Override - public Adapter caseBlock(Block object) { - return createBlockAdapter(); - } - @Override - public Adapter caseElementPropertyPath(ElementPropertyPath object) { - return createElementPropertyPathAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the <code>target</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param target the object to adapt. - * @return the adapter for the <code>target</code>. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.portsandflows.AcceptChangeStructuralFeatureEventAction <em>Accept Change Structural Feature Event Action</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.portsandflows.AcceptChangeStructuralFeatureEventAction - * @generated - */ - public Adapter createAcceptChangeStructuralFeatureEventActionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.portsandflows.ChangeStructuralFeatureEvent <em>Change Structural Feature Event</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.portsandflows.ChangeStructuralFeatureEvent - * @generated - */ - public Adapter createChangeStructuralFeatureEventAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.portsandflows.DirectedFeature <em>Directed Feature</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.portsandflows.DirectedFeature - * @generated - */ - public Adapter createDirectedFeatureAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.portsandflows.FlowProperty <em>Flow Property</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.portsandflows.FlowProperty - * @generated - */ - public Adapter createFlowPropertyAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.portsandflows.FullPort <em>Full Port</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.portsandflows.FullPort - * @generated - */ - public Adapter createFullPortAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.portsandflows.InterfaceBlock <em>Interface Block</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.portsandflows.InterfaceBlock - * @generated - */ - public Adapter createInterfaceBlockAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.portsandflows.InvocationOnNestedPortAction <em>Invocation On Nested Port Action</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.portsandflows.InvocationOnNestedPortAction - * @generated - */ - public Adapter createInvocationOnNestedPortActionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.portsandflows.ItemFlow <em>Item Flow</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.portsandflows.ItemFlow - * @generated - */ - public Adapter createItemFlowAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.portsandflows.ProxyPort <em>Proxy Port</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.portsandflows.ProxyPort - * @generated - */ - public Adapter createProxyPortAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.portsandflows.TriggerOnNestedPort <em>Trigger On Nested Port</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.portsandflows.TriggerOnNestedPort - * @generated - */ - public Adapter createTriggerOnNestedPortAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.blocks.Block <em>Block</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.blocks.Block - * @generated - */ - public Adapter createBlockAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.blocks.ElementPropertyPath <em>Element Property Path</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.blocks.ElementPropertyPath - * @generated - */ - public Adapter createElementPropertyPathAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * <!-- begin-user-doc --> - * This default implementation returns null. - * <!-- end-user-doc --> - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //PortsandflowsAdapterFactory
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/util/PortsandflowsSwitch.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/util/PortsandflowsSwitch.java deleted file mode 100644 index d31ec61..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/portsandflows/util/PortsandflowsSwitch.java +++ /dev/null
@@ -1,345 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.portsandflows.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -import org.eclipse.papyrus.sysml14.blocks.Block; -import org.eclipse.papyrus.sysml14.blocks.ElementPropertyPath; - -import org.eclipse.papyrus.sysml14.portsandflows.*; - -/** - * <!-- begin-user-doc --> - * The <b>Switch</b> for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the <code>caseXXX</code> method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage - * @generated - */ -public class PortsandflowsSwitch<T> extends Switch<T> { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static PortsandflowsPackage modelPackage; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PortsandflowsSwitch() { - if (modelPackage == null) { - modelPackage = PortsandflowsPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case PortsandflowsPackage.ACCEPT_CHANGE_STRUCTURAL_FEATURE_EVENT_ACTION: { - AcceptChangeStructuralFeatureEventAction acceptChangeStructuralFeatureEventAction = (AcceptChangeStructuralFeatureEventAction)theEObject; - T result = caseAcceptChangeStructuralFeatureEventAction(acceptChangeStructuralFeatureEventAction); - if (result == null) result = defaultCase(theEObject); - return result; - } - case PortsandflowsPackage.CHANGE_STRUCTURAL_FEATURE_EVENT: { - ChangeStructuralFeatureEvent changeStructuralFeatureEvent = (ChangeStructuralFeatureEvent)theEObject; - T result = caseChangeStructuralFeatureEvent(changeStructuralFeatureEvent); - if (result == null) result = defaultCase(theEObject); - return result; - } - case PortsandflowsPackage.DIRECTED_FEATURE: { - DirectedFeature directedFeature = (DirectedFeature)theEObject; - T result = caseDirectedFeature(directedFeature); - if (result == null) result = defaultCase(theEObject); - return result; - } - case PortsandflowsPackage.FLOW_PROPERTY: { - FlowProperty flowProperty = (FlowProperty)theEObject; - T result = caseFlowProperty(flowProperty); - if (result == null) result = defaultCase(theEObject); - return result; - } - case PortsandflowsPackage.FULL_PORT: { - FullPort fullPort = (FullPort)theEObject; - T result = caseFullPort(fullPort); - if (result == null) result = defaultCase(theEObject); - return result; - } - case PortsandflowsPackage.INTERFACE_BLOCK: { - InterfaceBlock interfaceBlock = (InterfaceBlock)theEObject; - T result = caseInterfaceBlock(interfaceBlock); - if (result == null) result = caseBlock(interfaceBlock); - if (result == null) result = defaultCase(theEObject); - return result; - } - case PortsandflowsPackage.INVOCATION_ON_NESTED_PORT_ACTION: { - InvocationOnNestedPortAction invocationOnNestedPortAction = (InvocationOnNestedPortAction)theEObject; - T result = caseInvocationOnNestedPortAction(invocationOnNestedPortAction); - if (result == null) result = caseElementPropertyPath(invocationOnNestedPortAction); - if (result == null) result = defaultCase(theEObject); - return result; - } - case PortsandflowsPackage.ITEM_FLOW: { - ItemFlow itemFlow = (ItemFlow)theEObject; - T result = caseItemFlow(itemFlow); - if (result == null) result = defaultCase(theEObject); - return result; - } - case PortsandflowsPackage.PROXY_PORT: { - ProxyPort proxyPort = (ProxyPort)theEObject; - T result = caseProxyPort(proxyPort); - if (result == null) result = defaultCase(theEObject); - return result; - } - case PortsandflowsPackage.TRIGGER_ON_NESTED_PORT: { - TriggerOnNestedPort triggerOnNestedPort = (TriggerOnNestedPort)theEObject; - T result = caseTriggerOnNestedPort(triggerOnNestedPort); - if (result == null) result = caseElementPropertyPath(triggerOnNestedPort); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Accept Change Structural Feature Event Action</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Accept Change Structural Feature Event Action</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseAcceptChangeStructuralFeatureEventAction(AcceptChangeStructuralFeatureEventAction object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Change Structural Feature Event</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Change Structural Feature Event</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseChangeStructuralFeatureEvent(ChangeStructuralFeatureEvent object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Directed Feature</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Directed Feature</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDirectedFeature(DirectedFeature object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Flow Property</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Flow Property</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFlowProperty(FlowProperty object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Full Port</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Full Port</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseFullPort(FullPort object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Interface Block</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Interface Block</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseInterfaceBlock(InterfaceBlock object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Invocation On Nested Port Action</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Invocation On Nested Port Action</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseInvocationOnNestedPortAction(InvocationOnNestedPortAction object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Item Flow</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Item Flow</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseItemFlow(ItemFlow object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Proxy Port</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Proxy Port</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseProxyPort(ProxyPort object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Trigger On Nested Port</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Trigger On Nested Port</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseTriggerOnNestedPort(TriggerOnNestedPort object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Block</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Block</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseBlock(Block object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Element Property Path</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Element Property Path</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseElementPropertyPath(ElementPropertyPath object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>EObject</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} //PortsandflowsSwitch
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/Copy.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/Copy.java deleted file mode 100644 index 248f38d..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/Copy.java +++ /dev/null
@@ -1,31 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Copy</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * A Copy relationship is a dependency between a supplier requirement and a client requirement that specifies that the text of the client requirement is a read-only copy of the text of the supplier requirement. - * <!-- end-model-doc --> - * - * - * @see org.eclipse.papyrus.sysml14.requirements.RequirementsPackage#getCopy() - * @model - * @generated - */ -public interface Copy extends Trace { -} // Copy
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/DeriveReqt.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/DeriveReqt.java deleted file mode 100644 index cc04599..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/DeriveReqt.java +++ /dev/null
@@ -1,33 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Derive Reqt</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * A DeriveReqt relationship is a dependency between two requirements in which a client requirement can be derived from the supplier requirement. As with other dependencies, the arrow direction points from the derived (client) requirement to the (supplier) requirement from which it is derived. - * - * <!-- end-model-doc --> - * - * - * @see org.eclipse.papyrus.sysml14.requirements.RequirementsPackage#getDeriveReqt() - * @model - * @generated - */ -public interface DeriveReqt extends Trace { -} // DeriveReqt
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/Refine.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/Refine.java deleted file mode 100644 index 8b363d8..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/Refine.java +++ /dev/null
@@ -1,73 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath; - -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.NamedElement; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Refine</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.Refine#getBase_Abstraction <em>Base Abstraction</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.requirements.RequirementsPackage#getRefine() - * @model - * @generated - */ -public interface Refine extends DirectedRelationshipPropertyPath { - /** - * Returns the value of the '<em><b>Base Abstraction</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Abstraction</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Abstraction</em>' reference. - * @see #setBase_Abstraction(Abstraction) - * @see org.eclipse.papyrus.sysml14.requirements.RequirementsPackage#getRefine_Base_Abstraction() - * @model ordered="false" - * @generated - */ - Abstraction getBase_Abstraction(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.requirements.Refine#getBase_Abstraction <em>Base Abstraction</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Abstraction</em>' reference. - * @see #getBase_Abstraction() - * @generated - */ - void setBase_Abstraction(Abstraction value); - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @model refRequired="true" refOrdered="false" resultMany="true" resultOrdered="false" - * @generated - */ - void getRefines(NamedElement ref, EList<Requirement> result); - -} // Refine
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/Requirement.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/Requirement.java deleted file mode 100644 index 9bc6c22..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/Requirement.java +++ /dev/null
@@ -1,332 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.NamedElement; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Requirement</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * A requirement specifies a capability or condition that must (or should) be satisfied. A requirement may specify a function that a system must perform or a performance condition that a system must satisfy. Requirements are used to establish a contract between the customer (or other stakeholder) and those responsible for designing and implementing the system. - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getBase_Class <em>Base Class</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getDerived <em>Derived</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getDerivedFrom <em>Derived From</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getMaster <em>Master</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getRefinedBy <em>Refined By</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getSatisfiedBy <em>Satisfied By</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getText <em>Text</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getTracedTo <em>Traced To</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getVerifiedBy <em>Verified By</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.requirements.RequirementsPackage#getRequirement() - * @model - * @generated - */ -public interface Requirement extends EObject { - /** - * Returns the value of the '<em><b>Base Class</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Class</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Class</em>' reference. - * @see #setBase_Class(org.eclipse.uml2.uml.Class) - * @see org.eclipse.papyrus.sysml14.requirements.RequirementsPackage#getRequirement_Base_Class() - * @model ordered="false" - * @generated - */ - org.eclipse.uml2.uml.Class getBase_Class(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getBase_Class <em>Base Class</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Class</em>' reference. - * @see #getBase_Class() - * @generated - */ - void setBase_Class(org.eclipse.uml2.uml.Class value); - - /** - * Returns the value of the '<em><b>Derived</b></em>' reference list. - * The list contents are of type {@link org.eclipse.papyrus.sysml14.requirements.Requirement}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * Derived from all requirements that are the client of a «deriveReqt» relationship for which this requirement is a supplier. - * <!-- end-model-doc --> - * @return the value of the '<em>Derived</em>' reference list. - * @see org.eclipse.papyrus.sysml14.requirements.RequirementsPackage#getRequirement_Derived() - * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" - * @generated - */ - EList<Requirement> getDerived(); - - /** - * Returns the value of the '<em><b>Derived From</b></em>' reference list. - * The list contents are of type {@link org.eclipse.papyrus.sysml14.requirements.Requirement}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * Derived from all requirements that are the supplier of a «deriveReqt» relationship for which this requirement is a client. - * <!-- end-model-doc --> - * @return the value of the '<em>Derived From</em>' reference list. - * @see org.eclipse.papyrus.sysml14.requirements.RequirementsPackage#getRequirement_DerivedFrom() - * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" - * @generated - */ - EList<Requirement> getDerivedFrom(); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * The default value is <code>""</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The unique id of the requirement. - * <!-- end-model-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.papyrus.sysml14.requirements.RequirementsPackage#getRequirement_Id() - * @model default="" dataType="org.eclipse.uml2.types.String" required="true" ordered="false" - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - - /** - * Returns the value of the '<em><b>Master</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * This is a derived property that lists the master requirement for this slave requirement. The master attribute is derived from the supplier of the Copy dependency that has this requirement as the slave. - * <!-- end-model-doc --> - * @return the value of the '<em>Master</em>' reference. - * @see org.eclipse.papyrus.sysml14.requirements.RequirementsPackage#getRequirement_Master() - * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" - * @generated - */ - Requirement getMaster(); - - /** - * Returns the value of the '<em><b>Refined By</b></em>' reference list. - * The list contents are of type {@link org.eclipse.uml2.uml.NamedElement}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * Derived from all elements that are the client of a «refine» relationship for which this requirement is a supplier. - * <!-- end-model-doc --> - * @return the value of the '<em>Refined By</em>' reference list. - * @see org.eclipse.papyrus.sysml14.requirements.RequirementsPackage#getRequirement_RefinedBy() - * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" - * @generated - */ - EList<NamedElement> getRefinedBy(); - - /** - * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '<em><b>Refined By</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>. - * @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>. - * @see #getRefinedBy() - * @generated - */ - NamedElement getRefinedBy(String name); - - /** - * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '<em><b>Refined By</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>. - * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons. - * @param eClass The Ecore class of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>. - * @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>. - * @see #getRefinedBy() - * @generated - */ - NamedElement getRefinedBy(String name, boolean ignoreCase, EClass eClass); - - /** - * Returns the value of the '<em><b>Satisfied By</b></em>' reference list. - * The list contents are of type {@link org.eclipse.uml2.uml.NamedElement}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * Derived from all elements that are the client of a «satisfy» relationship for which this requirement is a supplier. - * <!-- end-model-doc --> - * @return the value of the '<em>Satisfied By</em>' reference list. - * @see org.eclipse.papyrus.sysml14.requirements.RequirementsPackage#getRequirement_SatisfiedBy() - * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" - * @generated - */ - EList<NamedElement> getSatisfiedBy(); - - /** - * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '<em><b>Satisfied By</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>. - * @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>. - * @see #getSatisfiedBy() - * @generated - */ - NamedElement getSatisfiedBy(String name); - - /** - * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '<em><b>Satisfied By</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>. - * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons. - * @param eClass The Ecore class of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>. - * @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>. - * @see #getSatisfiedBy() - * @generated - */ - NamedElement getSatisfiedBy(String name, boolean ignoreCase, EClass eClass); - - /** - * Returns the value of the '<em><b>Text</b></em>' attribute. - * The default value is <code>""</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The textual representation or a reference to the textual representation of the requirement. - * <!-- end-model-doc --> - * @return the value of the '<em>Text</em>' attribute. - * @see #setText(String) - * @see org.eclipse.papyrus.sysml14.requirements.RequirementsPackage#getRequirement_Text() - * @model default="" dataType="org.eclipse.uml2.types.String" required="true" ordered="false" - * @generated - */ - String getText(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getText <em>Text</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Text</em>' attribute. - * @see #getText() - * @generated - */ - void setText(String value); - - /** - * Returns the value of the '<em><b>Traced To</b></em>' reference list. - * The list contents are of type {@link org.eclipse.uml2.uml.NamedElement}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * Derived from all elements that are the client of a «trace» relationship for which this requirement is a supplier. - * <!-- end-model-doc --> - * @return the value of the '<em>Traced To</em>' reference list. - * @see org.eclipse.papyrus.sysml14.requirements.RequirementsPackage#getRequirement_TracedTo() - * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" - * @generated - */ - EList<NamedElement> getTracedTo(); - - /** - * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '<em><b>Traced To</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>. - * @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>. - * @see #getTracedTo() - * @generated - */ - NamedElement getTracedTo(String name); - - /** - * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '<em><b>Traced To</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>. - * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons. - * @param eClass The Ecore class of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>. - * @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>. - * @see #getTracedTo() - * @generated - */ - NamedElement getTracedTo(String name, boolean ignoreCase, EClass eClass); - - /** - * Returns the value of the '<em><b>Verified By</b></em>' reference list. - * The list contents are of type {@link org.eclipse.uml2.uml.NamedElement}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * Derived from all elements that are the client of a «verify» relationship for which this requirement is a supplier. - * <!-- end-model-doc --> - * @return the value of the '<em>Verified By</em>' reference list. - * @see org.eclipse.papyrus.sysml14.requirements.RequirementsPackage#getRequirement_VerifiedBy() - * @model transient="true" changeable="false" volatile="true" derived="true" ordered="false" - * @generated - */ - EList<NamedElement> getVerifiedBy(); - - /** - * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '<em><b>Verified By</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>. - * @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>. - * @see #getVerifiedBy() - * @generated - */ - NamedElement getVerifiedBy(String name); - - /** - * Retrieves the first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>' from the '<em><b>Verified By</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param name The '<em><b>Name</b></em>' of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>. - * @param ignoreCase Whether to ignore case in {@link java.lang.String} comparisons. - * @param eClass The Ecore class of the {@link org.eclipse.uml2.uml.NamedElement} to retrieve, or <code>null</code>. - * @return The first {@link org.eclipse.uml2.uml.NamedElement} with the specified '<em><b>Name</b></em>', or <code>null</code>. - * @see #getVerifiedBy() - * @generated - */ - NamedElement getVerifiedBy(String name, boolean ignoreCase, EClass eClass); - -} // Requirement
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/RequirementsFactory.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/RequirementsFactory.java deleted file mode 100644 index c95b1b8..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/RequirementsFactory.java +++ /dev/null
@@ -1,115 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements; - -import org.eclipse.emf.ecore.EFactory; - -/** - * <!-- begin-user-doc --> - * The <b>Factory</b> for the model. - * It provides a create method for each non-abstract class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.requirements.RequirementsPackage - * @generated - */ -public interface RequirementsFactory extends EFactory { - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - RequirementsFactory eINSTANCE = org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsFactoryImpl.init(); - - /** - * Returns a new object of class '<em>Copy</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Copy</em>'. - * @generated - */ - Copy createCopy(); - - /** - * Returns a new object of class '<em>Trace</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Trace</em>'. - * @generated - */ - Trace createTrace(); - - /** - * Returns a new object of class '<em>Requirement</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Requirement</em>'. - * @generated - */ - Requirement createRequirement(); - - /** - * Returns a new object of class '<em>Derive Reqt</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Derive Reqt</em>'. - * @generated - */ - DeriveReqt createDeriveReqt(); - - /** - * Returns a new object of class '<em>Refine</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Refine</em>'. - * @generated - */ - Refine createRefine(); - - /** - * Returns a new object of class '<em>Satisfy</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Satisfy</em>'. - * @generated - */ - Satisfy createSatisfy(); - - /** - * Returns a new object of class '<em>Test Case</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Test Case</em>'. - * @generated - */ - TestCase createTestCase(); - - /** - * Returns a new object of class '<em>Verify</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Verify</em>'. - * @generated - */ - Verify createVerify(); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - RequirementsPackage getRequirementsPackage(); - -} //RequirementsFactory
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/RequirementsPackage.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/RequirementsPackage.java deleted file mode 100644 index e676b45..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/RequirementsPackage.java +++ /dev/null
@@ -1,1325 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EOperation; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; - -/** - * <!-- begin-user-doc --> - * The <b>Package</b> for the model. - * It contains accessors for the meta objects to represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.requirements.RequirementsFactory - * @model kind="package" - * annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='Requirements'" - * @generated - */ -public interface RequirementsPackage extends EPackage { - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "requirements"; //$NON-NLS-1$ - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements"; //$NON-NLS-1$ - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "Requirements"; //$NON-NLS-1$ - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - RequirementsPackage eINSTANCE = org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.TraceImpl <em>Trace</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.TraceImpl - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsPackageImpl#getTrace() - * @generated - */ - int TRACE = 1; - - /** - * The feature id for the '<em><b>Base Directed Relationship</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TRACE__BASE_DIRECTED_RELATIONSHIP = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__BASE_DIRECTED_RELATIONSHIP; - - /** - * The feature id for the '<em><b>Source Context</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TRACE__SOURCE_CONTEXT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_CONTEXT; - - /** - * The feature id for the '<em><b>Source Property Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TRACE__SOURCE_PROPERTY_PATH = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_PROPERTY_PATH; - - /** - * The feature id for the '<em><b>Target Context</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TRACE__TARGET_CONTEXT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_CONTEXT; - - /** - * The feature id for the '<em><b>Target Property Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TRACE__TARGET_PROPERTY_PATH = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_PROPERTY_PATH; - - /** - * The feature id for the '<em><b>Base Abstraction</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TRACE__BASE_ABSTRACTION = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH_FEATURE_COUNT + 0; - - /** - * The number of structural features of the '<em>Trace</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TRACE_FEATURE_COUNT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH_FEATURE_COUNT + 1; - - /** - * The operation id for the '<em>Get Traced From</em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TRACE___GET_TRACED_FROM__NAMEDELEMENT_ELIST = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH_OPERATION_COUNT + 0; - - /** - * The number of operations of the '<em>Trace</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TRACE_OPERATION_COUNT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH_OPERATION_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.CopyImpl <em>Copy</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.CopyImpl - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsPackageImpl#getCopy() - * @generated - */ - int COPY = 0; - - /** - * The feature id for the '<em><b>Base Directed Relationship</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int COPY__BASE_DIRECTED_RELATIONSHIP = TRACE__BASE_DIRECTED_RELATIONSHIP; - - /** - * The feature id for the '<em><b>Source Context</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int COPY__SOURCE_CONTEXT = TRACE__SOURCE_CONTEXT; - - /** - * The feature id for the '<em><b>Source Property Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int COPY__SOURCE_PROPERTY_PATH = TRACE__SOURCE_PROPERTY_PATH; - - /** - * The feature id for the '<em><b>Target Context</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int COPY__TARGET_CONTEXT = TRACE__TARGET_CONTEXT; - - /** - * The feature id for the '<em><b>Target Property Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int COPY__TARGET_PROPERTY_PATH = TRACE__TARGET_PROPERTY_PATH; - - /** - * The feature id for the '<em><b>Base Abstraction</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int COPY__BASE_ABSTRACTION = TRACE__BASE_ABSTRACTION; - - /** - * The number of structural features of the '<em>Copy</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int COPY_FEATURE_COUNT = TRACE_FEATURE_COUNT + 0; - - /** - * The operation id for the '<em>Get Traced From</em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int COPY___GET_TRACED_FROM__NAMEDELEMENT_ELIST = TRACE___GET_TRACED_FROM__NAMEDELEMENT_ELIST; - - /** - * The number of operations of the '<em>Copy</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int COPY_OPERATION_COUNT = TRACE_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementImpl <em>Requirement</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementImpl - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsPackageImpl#getRequirement() - * @generated - */ - int REQUIREMENT = 2; - - /** - * The feature id for the '<em><b>Base Class</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REQUIREMENT__BASE_CLASS = 0; - - /** - * The feature id for the '<em><b>Derived</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REQUIREMENT__DERIVED = 1; - - /** - * The feature id for the '<em><b>Derived From</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REQUIREMENT__DERIVED_FROM = 2; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REQUIREMENT__ID = 3; - - /** - * The feature id for the '<em><b>Master</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REQUIREMENT__MASTER = 4; - - /** - * The feature id for the '<em><b>Refined By</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REQUIREMENT__REFINED_BY = 5; - - /** - * The feature id for the '<em><b>Satisfied By</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REQUIREMENT__SATISFIED_BY = 6; - - /** - * The feature id for the '<em><b>Text</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REQUIREMENT__TEXT = 7; - - /** - * The feature id for the '<em><b>Traced To</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REQUIREMENT__TRACED_TO = 8; - - /** - * The feature id for the '<em><b>Verified By</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REQUIREMENT__VERIFIED_BY = 9; - - /** - * The number of structural features of the '<em>Requirement</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REQUIREMENT_FEATURE_COUNT = 10; - - /** - * The number of operations of the '<em>Requirement</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REQUIREMENT_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.DeriveReqtImpl <em>Derive Reqt</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.DeriveReqtImpl - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsPackageImpl#getDeriveReqt() - * @generated - */ - int DERIVE_REQT = 3; - - /** - * The feature id for the '<em><b>Base Directed Relationship</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DERIVE_REQT__BASE_DIRECTED_RELATIONSHIP = TRACE__BASE_DIRECTED_RELATIONSHIP; - - /** - * The feature id for the '<em><b>Source Context</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DERIVE_REQT__SOURCE_CONTEXT = TRACE__SOURCE_CONTEXT; - - /** - * The feature id for the '<em><b>Source Property Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DERIVE_REQT__SOURCE_PROPERTY_PATH = TRACE__SOURCE_PROPERTY_PATH; - - /** - * The feature id for the '<em><b>Target Context</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DERIVE_REQT__TARGET_CONTEXT = TRACE__TARGET_CONTEXT; - - /** - * The feature id for the '<em><b>Target Property Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DERIVE_REQT__TARGET_PROPERTY_PATH = TRACE__TARGET_PROPERTY_PATH; - - /** - * The feature id for the '<em><b>Base Abstraction</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DERIVE_REQT__BASE_ABSTRACTION = TRACE__BASE_ABSTRACTION; - - /** - * The number of structural features of the '<em>Derive Reqt</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DERIVE_REQT_FEATURE_COUNT = TRACE_FEATURE_COUNT + 0; - - /** - * The operation id for the '<em>Get Traced From</em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DERIVE_REQT___GET_TRACED_FROM__NAMEDELEMENT_ELIST = TRACE___GET_TRACED_FROM__NAMEDELEMENT_ELIST; - - /** - * The number of operations of the '<em>Derive Reqt</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DERIVE_REQT_OPERATION_COUNT = TRACE_OPERATION_COUNT + 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.RefineImpl <em>Refine</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RefineImpl - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsPackageImpl#getRefine() - * @generated - */ - int REFINE = 4; - - /** - * The feature id for the '<em><b>Base Directed Relationship</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REFINE__BASE_DIRECTED_RELATIONSHIP = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__BASE_DIRECTED_RELATIONSHIP; - - /** - * The feature id for the '<em><b>Source Context</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REFINE__SOURCE_CONTEXT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_CONTEXT; - - /** - * The feature id for the '<em><b>Source Property Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REFINE__SOURCE_PROPERTY_PATH = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__SOURCE_PROPERTY_PATH; - - /** - * The feature id for the '<em><b>Target Context</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REFINE__TARGET_CONTEXT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_CONTEXT; - - /** - * The feature id for the '<em><b>Target Property Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REFINE__TARGET_PROPERTY_PATH = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH__TARGET_PROPERTY_PATH; - - /** - * The feature id for the '<em><b>Base Abstraction</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REFINE__BASE_ABSTRACTION = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH_FEATURE_COUNT + 0; - - /** - * The number of structural features of the '<em>Refine</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REFINE_FEATURE_COUNT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH_FEATURE_COUNT + 1; - - /** - * The operation id for the '<em>Get Refines</em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REFINE___GET_REFINES__NAMEDELEMENT_ELIST = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH_OPERATION_COUNT + 0; - - /** - * The number of operations of the '<em>Refine</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int REFINE_OPERATION_COUNT = BlocksPackage.DIRECTED_RELATIONSHIP_PROPERTY_PATH_OPERATION_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.SatisfyImpl <em>Satisfy</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.SatisfyImpl - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsPackageImpl#getSatisfy() - * @generated - */ - int SATISFY = 5; - - /** - * The feature id for the '<em><b>Base Directed Relationship</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SATISFY__BASE_DIRECTED_RELATIONSHIP = TRACE__BASE_DIRECTED_RELATIONSHIP; - - /** - * The feature id for the '<em><b>Source Context</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SATISFY__SOURCE_CONTEXT = TRACE__SOURCE_CONTEXT; - - /** - * The feature id for the '<em><b>Source Property Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SATISFY__SOURCE_PROPERTY_PATH = TRACE__SOURCE_PROPERTY_PATH; - - /** - * The feature id for the '<em><b>Target Context</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SATISFY__TARGET_CONTEXT = TRACE__TARGET_CONTEXT; - - /** - * The feature id for the '<em><b>Target Property Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SATISFY__TARGET_PROPERTY_PATH = TRACE__TARGET_PROPERTY_PATH; - - /** - * The feature id for the '<em><b>Base Abstraction</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SATISFY__BASE_ABSTRACTION = TRACE__BASE_ABSTRACTION; - - /** - * The number of structural features of the '<em>Satisfy</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SATISFY_FEATURE_COUNT = TRACE_FEATURE_COUNT + 0; - - /** - * The operation id for the '<em>Get Traced From</em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SATISFY___GET_TRACED_FROM__NAMEDELEMENT_ELIST = TRACE___GET_TRACED_FROM__NAMEDELEMENT_ELIST; - - /** - * The operation id for the '<em>Get Satisfies</em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SATISFY___GET_SATISFIES__NAMEDELEMENT_ELIST = TRACE_OPERATION_COUNT + 0; - - /** - * The number of operations of the '<em>Satisfy</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int SATISFY_OPERATION_COUNT = TRACE_OPERATION_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.TestCaseImpl <em>Test Case</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.TestCaseImpl - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsPackageImpl#getTestCase() - * @generated - */ - int TEST_CASE = 6; - - /** - * The feature id for the '<em><b>Base Behavior</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TEST_CASE__BASE_BEHAVIOR = 0; - - /** - * The feature id for the '<em><b>Base Operation</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TEST_CASE__BASE_OPERATION = 1; - - /** - * The number of structural features of the '<em>Test Case</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TEST_CASE_FEATURE_COUNT = 2; - - /** - * The number of operations of the '<em>Test Case</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TEST_CASE_OPERATION_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.VerifyImpl <em>Verify</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.VerifyImpl - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsPackageImpl#getVerify() - * @generated - */ - int VERIFY = 7; - - /** - * The feature id for the '<em><b>Base Directed Relationship</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VERIFY__BASE_DIRECTED_RELATIONSHIP = TRACE__BASE_DIRECTED_RELATIONSHIP; - - /** - * The feature id for the '<em><b>Source Context</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VERIFY__SOURCE_CONTEXT = TRACE__SOURCE_CONTEXT; - - /** - * The feature id for the '<em><b>Source Property Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VERIFY__SOURCE_PROPERTY_PATH = TRACE__SOURCE_PROPERTY_PATH; - - /** - * The feature id for the '<em><b>Target Context</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VERIFY__TARGET_CONTEXT = TRACE__TARGET_CONTEXT; - - /** - * The feature id for the '<em><b>Target Property Path</b></em>' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VERIFY__TARGET_PROPERTY_PATH = TRACE__TARGET_PROPERTY_PATH; - - /** - * The feature id for the '<em><b>Base Abstraction</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VERIFY__BASE_ABSTRACTION = TRACE__BASE_ABSTRACTION; - - /** - * The number of structural features of the '<em>Verify</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VERIFY_FEATURE_COUNT = TRACE_FEATURE_COUNT + 0; - - /** - * The operation id for the '<em>Get Traced From</em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VERIFY___GET_TRACED_FROM__NAMEDELEMENT_ELIST = TRACE___GET_TRACED_FROM__NAMEDELEMENT_ELIST; - - /** - * The operation id for the '<em>Get Verifies</em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VERIFY___GET_VERIFIES__NAMEDELEMENT_ELIST = TRACE_OPERATION_COUNT + 0; - - /** - * The number of operations of the '<em>Verify</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VERIFY_OPERATION_COUNT = TRACE_OPERATION_COUNT + 1; - - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.requirements.Copy <em>Copy</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Copy</em>'. - * @see org.eclipse.papyrus.sysml14.requirements.Copy - * @generated - */ - EClass getCopy(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.requirements.Trace <em>Trace</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Trace</em>'. - * @see org.eclipse.papyrus.sysml14.requirements.Trace - * @generated - */ - EClass getTrace(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.requirements.Trace#getBase_Abstraction <em>Base Abstraction</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Abstraction</em>'. - * @see org.eclipse.papyrus.sysml14.requirements.Trace#getBase_Abstraction() - * @see #getTrace() - * @generated - */ - EReference getTrace_Base_Abstraction(); - - /** - * Returns the meta object for the '{@link org.eclipse.papyrus.sysml14.requirements.Trace#getTracedFrom(org.eclipse.uml2.uml.NamedElement, org.eclipse.emf.common.util.EList) <em>Get Traced From</em>}' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the '<em>Get Traced From</em>' operation. - * @see org.eclipse.papyrus.sysml14.requirements.Trace#getTracedFrom(org.eclipse.uml2.uml.NamedElement, org.eclipse.emf.common.util.EList) - * @generated - */ - EOperation getTrace__GetTracedFrom__NamedElement_EList(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.requirements.Requirement <em>Requirement</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Requirement</em>'. - * @see org.eclipse.papyrus.sysml14.requirements.Requirement - * @generated - */ - EClass getRequirement(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getBase_Class <em>Base Class</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Class</em>'. - * @see org.eclipse.papyrus.sysml14.requirements.Requirement#getBase_Class() - * @see #getRequirement() - * @generated - */ - EReference getRequirement_Base_Class(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getDerived <em>Derived</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference list '<em>Derived</em>'. - * @see org.eclipse.papyrus.sysml14.requirements.Requirement#getDerived() - * @see #getRequirement() - * @generated - */ - EReference getRequirement_Derived(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getDerivedFrom <em>Derived From</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference list '<em>Derived From</em>'. - * @see org.eclipse.papyrus.sysml14.requirements.Requirement#getDerivedFrom() - * @see #getRequirement() - * @generated - */ - EReference getRequirement_DerivedFrom(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.papyrus.sysml14.requirements.Requirement#getId() - * @see #getRequirement() - * @generated - */ - EAttribute getRequirement_Id(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getMaster <em>Master</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Master</em>'. - * @see org.eclipse.papyrus.sysml14.requirements.Requirement#getMaster() - * @see #getRequirement() - * @generated - */ - EReference getRequirement_Master(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getRefinedBy <em>Refined By</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference list '<em>Refined By</em>'. - * @see org.eclipse.papyrus.sysml14.requirements.Requirement#getRefinedBy() - * @see #getRequirement() - * @generated - */ - EReference getRequirement_RefinedBy(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getSatisfiedBy <em>Satisfied By</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference list '<em>Satisfied By</em>'. - * @see org.eclipse.papyrus.sysml14.requirements.Requirement#getSatisfiedBy() - * @see #getRequirement() - * @generated - */ - EReference getRequirement_SatisfiedBy(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getText <em>Text</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Text</em>'. - * @see org.eclipse.papyrus.sysml14.requirements.Requirement#getText() - * @see #getRequirement() - * @generated - */ - EAttribute getRequirement_Text(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getTracedTo <em>Traced To</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference list '<em>Traced To</em>'. - * @see org.eclipse.papyrus.sysml14.requirements.Requirement#getTracedTo() - * @see #getRequirement() - * @generated - */ - EReference getRequirement_TracedTo(); - - /** - * Returns the meta object for the reference list '{@link org.eclipse.papyrus.sysml14.requirements.Requirement#getVerifiedBy <em>Verified By</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference list '<em>Verified By</em>'. - * @see org.eclipse.papyrus.sysml14.requirements.Requirement#getVerifiedBy() - * @see #getRequirement() - * @generated - */ - EReference getRequirement_VerifiedBy(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.requirements.DeriveReqt <em>Derive Reqt</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Derive Reqt</em>'. - * @see org.eclipse.papyrus.sysml14.requirements.DeriveReqt - * @generated - */ - EClass getDeriveReqt(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.requirements.Refine <em>Refine</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Refine</em>'. - * @see org.eclipse.papyrus.sysml14.requirements.Refine - * @generated - */ - EClass getRefine(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.requirements.Refine#getBase_Abstraction <em>Base Abstraction</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Abstraction</em>'. - * @see org.eclipse.papyrus.sysml14.requirements.Refine#getBase_Abstraction() - * @see #getRefine() - * @generated - */ - EReference getRefine_Base_Abstraction(); - - /** - * Returns the meta object for the '{@link org.eclipse.papyrus.sysml14.requirements.Refine#getRefines(org.eclipse.uml2.uml.NamedElement, org.eclipse.emf.common.util.EList) <em>Get Refines</em>}' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the '<em>Get Refines</em>' operation. - * @see org.eclipse.papyrus.sysml14.requirements.Refine#getRefines(org.eclipse.uml2.uml.NamedElement, org.eclipse.emf.common.util.EList) - * @generated - */ - EOperation getRefine__GetRefines__NamedElement_EList(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.requirements.Satisfy <em>Satisfy</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Satisfy</em>'. - * @see org.eclipse.papyrus.sysml14.requirements.Satisfy - * @generated - */ - EClass getSatisfy(); - - /** - * Returns the meta object for the '{@link org.eclipse.papyrus.sysml14.requirements.Satisfy#getSatisfies(org.eclipse.uml2.uml.NamedElement, org.eclipse.emf.common.util.EList) <em>Get Satisfies</em>}' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the '<em>Get Satisfies</em>' operation. - * @see org.eclipse.papyrus.sysml14.requirements.Satisfy#getSatisfies(org.eclipse.uml2.uml.NamedElement, org.eclipse.emf.common.util.EList) - * @generated - */ - EOperation getSatisfy__GetSatisfies__NamedElement_EList(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.requirements.TestCase <em>Test Case</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Test Case</em>'. - * @see org.eclipse.papyrus.sysml14.requirements.TestCase - * @generated - */ - EClass getTestCase(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.requirements.TestCase#getBase_Behavior <em>Base Behavior</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Behavior</em>'. - * @see org.eclipse.papyrus.sysml14.requirements.TestCase#getBase_Behavior() - * @see #getTestCase() - * @generated - */ - EReference getTestCase_Base_Behavior(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.papyrus.sysml14.requirements.TestCase#getBase_Operation <em>Base Operation</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Base Operation</em>'. - * @see org.eclipse.papyrus.sysml14.requirements.TestCase#getBase_Operation() - * @see #getTestCase() - * @generated - */ - EReference getTestCase_Base_Operation(); - - /** - * Returns the meta object for class '{@link org.eclipse.papyrus.sysml14.requirements.Verify <em>Verify</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Verify</em>'. - * @see org.eclipse.papyrus.sysml14.requirements.Verify - * @generated - */ - EClass getVerify(); - - /** - * Returns the meta object for the '{@link org.eclipse.papyrus.sysml14.requirements.Verify#getVerifies(org.eclipse.uml2.uml.NamedElement, org.eclipse.emf.common.util.EList) <em>Get Verifies</em>}' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the '<em>Get Verifies</em>' operation. - * @see org.eclipse.papyrus.sysml14.requirements.Verify#getVerifies(org.eclipse.uml2.uml.NamedElement, org.eclipse.emf.common.util.EList) - * @generated - */ - EOperation getVerify__GetVerifies__NamedElement_EList(); - - /** - * Returns the factory that creates the instances of the model. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the factory that creates the instances of the model. - * @generated - */ - RequirementsFactory getRequirementsFactory(); - - /** - * <!-- begin-user-doc --> - * Defines literals for the meta objects that represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.CopyImpl <em>Copy</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.CopyImpl - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsPackageImpl#getCopy() - * @generated - */ - EClass COPY = eINSTANCE.getCopy(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.TraceImpl <em>Trace</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.TraceImpl - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsPackageImpl#getTrace() - * @generated - */ - EClass TRACE = eINSTANCE.getTrace(); - - /** - * The meta object literal for the '<em><b>Base Abstraction</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference TRACE__BASE_ABSTRACTION = eINSTANCE.getTrace_Base_Abstraction(); - - /** - * The meta object literal for the '<em><b>Get Traced From</b></em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EOperation TRACE___GET_TRACED_FROM__NAMEDELEMENT_ELIST = eINSTANCE.getTrace__GetTracedFrom__NamedElement_EList(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementImpl <em>Requirement</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementImpl - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsPackageImpl#getRequirement() - * @generated - */ - EClass REQUIREMENT = eINSTANCE.getRequirement(); - - /** - * The meta object literal for the '<em><b>Base Class</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference REQUIREMENT__BASE_CLASS = eINSTANCE.getRequirement_Base_Class(); - - /** - * The meta object literal for the '<em><b>Derived</b></em>' reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference REQUIREMENT__DERIVED = eINSTANCE.getRequirement_Derived(); - - /** - * The meta object literal for the '<em><b>Derived From</b></em>' reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference REQUIREMENT__DERIVED_FROM = eINSTANCE.getRequirement_DerivedFrom(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute REQUIREMENT__ID = eINSTANCE.getRequirement_Id(); - - /** - * The meta object literal for the '<em><b>Master</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference REQUIREMENT__MASTER = eINSTANCE.getRequirement_Master(); - - /** - * The meta object literal for the '<em><b>Refined By</b></em>' reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference REQUIREMENT__REFINED_BY = eINSTANCE.getRequirement_RefinedBy(); - - /** - * The meta object literal for the '<em><b>Satisfied By</b></em>' reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference REQUIREMENT__SATISFIED_BY = eINSTANCE.getRequirement_SatisfiedBy(); - - /** - * The meta object literal for the '<em><b>Text</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute REQUIREMENT__TEXT = eINSTANCE.getRequirement_Text(); - - /** - * The meta object literal for the '<em><b>Traced To</b></em>' reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference REQUIREMENT__TRACED_TO = eINSTANCE.getRequirement_TracedTo(); - - /** - * The meta object literal for the '<em><b>Verified By</b></em>' reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference REQUIREMENT__VERIFIED_BY = eINSTANCE.getRequirement_VerifiedBy(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.DeriveReqtImpl <em>Derive Reqt</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.DeriveReqtImpl - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsPackageImpl#getDeriveReqt() - * @generated - */ - EClass DERIVE_REQT = eINSTANCE.getDeriveReqt(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.RefineImpl <em>Refine</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RefineImpl - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsPackageImpl#getRefine() - * @generated - */ - EClass REFINE = eINSTANCE.getRefine(); - - /** - * The meta object literal for the '<em><b>Base Abstraction</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference REFINE__BASE_ABSTRACTION = eINSTANCE.getRefine_Base_Abstraction(); - - /** - * The meta object literal for the '<em><b>Get Refines</b></em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EOperation REFINE___GET_REFINES__NAMEDELEMENT_ELIST = eINSTANCE.getRefine__GetRefines__NamedElement_EList(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.SatisfyImpl <em>Satisfy</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.SatisfyImpl - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsPackageImpl#getSatisfy() - * @generated - */ - EClass SATISFY = eINSTANCE.getSatisfy(); - - /** - * The meta object literal for the '<em><b>Get Satisfies</b></em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EOperation SATISFY___GET_SATISFIES__NAMEDELEMENT_ELIST = eINSTANCE.getSatisfy__GetSatisfies__NamedElement_EList(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.TestCaseImpl <em>Test Case</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.TestCaseImpl - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsPackageImpl#getTestCase() - * @generated - */ - EClass TEST_CASE = eINSTANCE.getTestCase(); - - /** - * The meta object literal for the '<em><b>Base Behavior</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference TEST_CASE__BASE_BEHAVIOR = eINSTANCE.getTestCase_Base_Behavior(); - - /** - * The meta object literal for the '<em><b>Base Operation</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference TEST_CASE__BASE_OPERATION = eINSTANCE.getTestCase_Base_Operation(); - - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.VerifyImpl <em>Verify</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.VerifyImpl - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsPackageImpl#getVerify() - * @generated - */ - EClass VERIFY = eINSTANCE.getVerify(); - - /** - * The meta object literal for the '<em><b>Get Verifies</b></em>' operation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EOperation VERIFY___GET_VERIFIES__NAMEDELEMENT_ELIST = eINSTANCE.getVerify__GetVerifies__NamedElement_EList(); - - } - -} //RequirementsPackage
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/Satisfy.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/Satisfy.java deleted file mode 100644 index c0f969e..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/Satisfy.java +++ /dev/null
@@ -1,42 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.uml2.uml.NamedElement; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Satisfy</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * A Satisfy relationship is a dependency between a requirement and a model element that fulfills the requirement. As with other dependencies, the arrow direction points from the satisfying (client) model element to the (supplier) requirement that is satisfied. - * <!-- end-model-doc --> - * - * - * @see org.eclipse.papyrus.sysml14.requirements.RequirementsPackage#getSatisfy() - * @model - * @generated - */ -public interface Satisfy extends Trace { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @model refRequired="true" refOrdered="false" resultMany="true" resultOrdered="false" - * @generated - */ - void getSatisfies(NamedElement ref, EList<Requirement> result); - -} // Satisfy
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/TestCase.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/TestCase.java deleted file mode 100644 index 17f9de4..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/TestCase.java +++ /dev/null
@@ -1,94 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.uml2.uml.Behavior; -import org.eclipse.uml2.uml.Operation; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Test Case</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * A test case is a method for verifying a requirement is satisfied. - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.TestCase#getBase_Behavior <em>Base Behavior</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.TestCase#getBase_Operation <em>Base Operation</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.requirements.RequirementsPackage#getTestCase() - * @model - * @generated - */ -public interface TestCase extends EObject { - /** - * Returns the value of the '<em><b>Base Behavior</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Behavior</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Behavior</em>' reference. - * @see #setBase_Behavior(Behavior) - * @see org.eclipse.papyrus.sysml14.requirements.RequirementsPackage#getTestCase_Base_Behavior() - * @model ordered="false" - * @generated - */ - Behavior getBase_Behavior(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.requirements.TestCase#getBase_Behavior <em>Base Behavior</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Behavior</em>' reference. - * @see #getBase_Behavior() - * @generated - */ - void setBase_Behavior(Behavior value); - - /** - * Returns the value of the '<em><b>Base Operation</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Operation</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Operation</em>' reference. - * @see #setBase_Operation(Operation) - * @see org.eclipse.papyrus.sysml14.requirements.RequirementsPackage#getTestCase_Base_Operation() - * @model ordered="false" - * @generated - */ - Operation getBase_Operation(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.requirements.TestCase#getBase_Operation <em>Base Operation</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Operation</em>' reference. - * @see #getBase_Operation() - * @generated - */ - void setBase_Operation(Operation value); - -} // TestCase
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/Trace.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/Trace.java deleted file mode 100644 index bda2b2c..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/Trace.java +++ /dev/null
@@ -1,73 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath; - -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.NamedElement; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Trace</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.Trace#getBase_Abstraction <em>Base Abstraction</em>}</li> - * </ul> - * - * @see org.eclipse.papyrus.sysml14.requirements.RequirementsPackage#getTrace() - * @model - * @generated - */ -public interface Trace extends DirectedRelationshipPropertyPath { - /** - * Returns the value of the '<em><b>Base Abstraction</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Base Abstraction</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Base Abstraction</em>' reference. - * @see #setBase_Abstraction(Abstraction) - * @see org.eclipse.papyrus.sysml14.requirements.RequirementsPackage#getTrace_Base_Abstraction() - * @model ordered="false" - * @generated - */ - Abstraction getBase_Abstraction(); - - /** - * Sets the value of the '{@link org.eclipse.papyrus.sysml14.requirements.Trace#getBase_Abstraction <em>Base Abstraction</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Base Abstraction</em>' reference. - * @see #getBase_Abstraction() - * @generated - */ - void setBase_Abstraction(Abstraction value); - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @model refRequired="true" refOrdered="false" resultMany="true" resultOrdered="false" - * @generated - */ - void getTracedFrom(NamedElement ref, EList<Requirement> result); - -} // Trace
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/Verify.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/Verify.java deleted file mode 100644 index 3d2513e..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/Verify.java +++ /dev/null
@@ -1,42 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.uml2.uml.NamedElement; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Verify</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * A Verify relationship is a dependency between a requirement and a test case or other model element that can determine whether a system fulfills the requirement. As with other dependencies, the arrow direction points from the (client) element to the (supplier) requirement. - * <!-- end-model-doc --> - * - * - * @see org.eclipse.papyrus.sysml14.requirements.RequirementsPackage#getVerify() - * @model - * @generated - */ -public interface Verify extends Trace { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @model refRequired="true" refOrdered="false" resultMany="true" resultOrdered="false" - * @generated - */ - void getVerifies(NamedElement ref, EList<Requirement> result); - -} // Verify
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/CopyImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/CopyImpl.java deleted file mode 100644 index d1067b3..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/CopyImpl.java +++ /dev/null
@@ -1,47 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements.internal.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.papyrus.sysml14.requirements.Copy; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Copy</b></em>'. - * <!-- end-user-doc --> - * - * @generated - */ -public class CopyImpl extends TraceImpl implements Copy { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected CopyImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return RequirementsPackage.Literals.COPY; - } - -} //CopyImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/DeriveReqtImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/DeriveReqtImpl.java deleted file mode 100644 index 5fbd01c..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/DeriveReqtImpl.java +++ /dev/null
@@ -1,47 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements.internal.impl; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.papyrus.sysml14.requirements.DeriveReqt; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Derive Reqt</b></em>'. - * <!-- end-user-doc --> - * - * @generated - */ -public class DeriveReqtImpl extends TraceImpl implements DeriveReqt { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected DeriveReqtImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return RequirementsPackage.Literals.DERIVE_REQT; - } - -} //DeriveReqtImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/RefineImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/RefineImpl.java deleted file mode 100644 index 33912f3..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/RefineImpl.java +++ /dev/null
@@ -1,202 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements.internal.impl; - -import java.lang.reflect.InvocationTargetException; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.papyrus.sysml14.blocks.internal.impl.DirectedRelationshipPropertyPathImpl; - -import org.eclipse.papyrus.sysml14.requirements.Refine; -import org.eclipse.papyrus.sysml14.requirements.Requirement; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; - -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.NamedElement; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Refine</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.RefineImpl#getBase_Abstraction <em>Base Abstraction</em>}</li> - * </ul> - * - * @generated - */ -public class RefineImpl extends DirectedRelationshipPropertyPathImpl implements Refine { - /** - * The cached value of the '{@link #getBase_Abstraction() <em>Base Abstraction</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Abstraction() - * @generated - * @ordered - */ - protected Abstraction base_Abstraction; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected RefineImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return RequirementsPackage.Literals.REFINE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Abstraction getBase_Abstraction() { - if (base_Abstraction != null && base_Abstraction.eIsProxy()) { - InternalEObject oldBase_Abstraction = (InternalEObject)base_Abstraction; - base_Abstraction = (Abstraction)eResolveProxy(oldBase_Abstraction); - if (base_Abstraction != oldBase_Abstraction) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, RequirementsPackage.REFINE__BASE_ABSTRACTION, oldBase_Abstraction, base_Abstraction)); - } - } - return base_Abstraction; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Abstraction basicGetBase_Abstraction() { - return base_Abstraction; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Abstraction(Abstraction newBase_Abstraction) { - Abstraction oldBase_Abstraction = base_Abstraction; - base_Abstraction = newBase_Abstraction; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, RequirementsPackage.REFINE__BASE_ABSTRACTION, oldBase_Abstraction, base_Abstraction)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void getRefines(NamedElement ref, EList<Requirement> result) { - // TODO: implement this method - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case RequirementsPackage.REFINE__BASE_ABSTRACTION: - if (resolve) return getBase_Abstraction(); - return basicGetBase_Abstraction(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case RequirementsPackage.REFINE__BASE_ABSTRACTION: - setBase_Abstraction((Abstraction)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case RequirementsPackage.REFINE__BASE_ABSTRACTION: - setBase_Abstraction((Abstraction)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case RequirementsPackage.REFINE__BASE_ABSTRACTION: - return base_Abstraction != null; - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - @SuppressWarnings("unchecked") - public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { - switch (operationID) { - case RequirementsPackage.REFINE___GET_REFINES__NAMEDELEMENT_ELIST: - getRefines((NamedElement)arguments.get(0), (EList<Requirement>)arguments.get(1)); - return null; - } - return super.eInvoke(operationID, arguments); - } - -} //RefineImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/RequirementImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/RequirementImpl.java deleted file mode 100644 index 9ebc2ea..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/RequirementImpl.java +++ /dev/null
@@ -1,517 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.requirements.Requirement; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; - -import org.eclipse.uml2.uml.NamedElement; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Requirement</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementImpl#getBase_Class <em>Base Class</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementImpl#getDerived <em>Derived</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementImpl#getDerivedFrom <em>Derived From</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementImpl#getMaster <em>Master</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementImpl#getRefinedBy <em>Refined By</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementImpl#getSatisfiedBy <em>Satisfied By</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementImpl#getText <em>Text</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementImpl#getTracedTo <em>Traced To</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementImpl#getVerifiedBy <em>Verified By</em>}</li> - * </ul> - * - * @generated - */ -public class RequirementImpl extends MinimalEObjectImpl.Container implements Requirement { - /** - * The cached value of the '{@link #getBase_Class() <em>Base Class</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Class() - * @generated - * @ordered - */ - protected org.eclipse.uml2.uml.Class base_Class; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = ""; //$NON-NLS-1$ - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * The default value of the '{@link #getText() <em>Text</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getText() - * @generated - * @ordered - */ - protected static final String TEXT_EDEFAULT = ""; //$NON-NLS-1$ - - /** - * The cached value of the '{@link #getText() <em>Text</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getText() - * @generated - * @ordered - */ - protected String text = TEXT_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected RequirementImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return RequirementsPackage.Literals.REQUIREMENT; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public org.eclipse.uml2.uml.Class getBase_Class() { - if (base_Class != null && base_Class.eIsProxy()) { - InternalEObject oldBase_Class = (InternalEObject)base_Class; - base_Class = (org.eclipse.uml2.uml.Class)eResolveProxy(oldBase_Class); - if (base_Class != oldBase_Class) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, RequirementsPackage.REQUIREMENT__BASE_CLASS, oldBase_Class, base_Class)); - } - } - return base_Class; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public org.eclipse.uml2.uml.Class basicGetBase_Class() { - return base_Class; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Class(org.eclipse.uml2.uml.Class newBase_Class) { - org.eclipse.uml2.uml.Class oldBase_Class = base_Class; - base_Class = newBase_Class; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, RequirementsPackage.REQUIREMENT__BASE_CLASS, oldBase_Class, base_Class)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Requirement> getDerived() { - // TODO: implement this method to return the 'Derived' reference list - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<Requirement> getDerivedFrom() { - // TODO: implement this method to return the 'Derived From' reference list - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, RequirementsPackage.REQUIREMENT__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Requirement getMaster() { - Requirement master = basicGetMaster(); - return master != null && master.eIsProxy() ? (Requirement)eResolveProxy((InternalEObject)master) : master; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Requirement basicGetMaster() { - // TODO: implement this method to return the 'Master' reference - // -> do not perform proxy resolution - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<NamedElement> getRefinedBy() { - // TODO: implement this method to return the 'Refined By' reference list - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NamedElement getRefinedBy(String name) { - return getRefinedBy(name, false, null); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NamedElement getRefinedBy(String name, boolean ignoreCase, EClass eClass) { - refinedByLoop: for (NamedElement refinedBy : getRefinedBy()) { - if (eClass != null && !eClass.isInstance(refinedBy)) - continue refinedByLoop; - if (name != null && !(ignoreCase ? name.equalsIgnoreCase(refinedBy.getName()) : name.equals(refinedBy.getName()))) - continue refinedByLoop; - return refinedBy; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<NamedElement> getSatisfiedBy() { - // TODO: implement this method to return the 'Satisfied By' reference list - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NamedElement getSatisfiedBy(String name) { - return getSatisfiedBy(name, false, null); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NamedElement getSatisfiedBy(String name, boolean ignoreCase, EClass eClass) { - satisfiedByLoop: for (NamedElement satisfiedBy : getSatisfiedBy()) { - if (eClass != null && !eClass.isInstance(satisfiedBy)) - continue satisfiedByLoop; - if (name != null && !(ignoreCase ? name.equalsIgnoreCase(satisfiedBy.getName()) : name.equals(satisfiedBy.getName()))) - continue satisfiedByLoop; - return satisfiedBy; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getText() { - return text; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setText(String newText) { - String oldText = text; - text = newText; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, RequirementsPackage.REQUIREMENT__TEXT, oldText, text)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<NamedElement> getTracedTo() { - // TODO: implement this method to return the 'Traced To' reference list - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NamedElement getTracedTo(String name) { - return getTracedTo(name, false, null); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NamedElement getTracedTo(String name, boolean ignoreCase, EClass eClass) { - tracedToLoop: for (NamedElement tracedTo : getTracedTo()) { - if (eClass != null && !eClass.isInstance(tracedTo)) - continue tracedToLoop; - if (name != null && !(ignoreCase ? name.equalsIgnoreCase(tracedTo.getName()) : name.equals(tracedTo.getName()))) - continue tracedToLoop; - return tracedTo; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<NamedElement> getVerifiedBy() { - // TODO: implement this method to return the 'Verified By' reference list - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NamedElement getVerifiedBy(String name) { - return getVerifiedBy(name, false, null); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NamedElement getVerifiedBy(String name, boolean ignoreCase, EClass eClass) { - verifiedByLoop: for (NamedElement verifiedBy : getVerifiedBy()) { - if (eClass != null && !eClass.isInstance(verifiedBy)) - continue verifiedByLoop; - if (name != null && !(ignoreCase ? name.equalsIgnoreCase(verifiedBy.getName()) : name.equals(verifiedBy.getName()))) - continue verifiedByLoop; - return verifiedBy; - } - return null; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case RequirementsPackage.REQUIREMENT__BASE_CLASS: - if (resolve) return getBase_Class(); - return basicGetBase_Class(); - case RequirementsPackage.REQUIREMENT__DERIVED: - return getDerived(); - case RequirementsPackage.REQUIREMENT__DERIVED_FROM: - return getDerivedFrom(); - case RequirementsPackage.REQUIREMENT__ID: - return getId(); - case RequirementsPackage.REQUIREMENT__MASTER: - if (resolve) return getMaster(); - return basicGetMaster(); - case RequirementsPackage.REQUIREMENT__REFINED_BY: - return getRefinedBy(); - case RequirementsPackage.REQUIREMENT__SATISFIED_BY: - return getSatisfiedBy(); - case RequirementsPackage.REQUIREMENT__TEXT: - return getText(); - case RequirementsPackage.REQUIREMENT__TRACED_TO: - return getTracedTo(); - case RequirementsPackage.REQUIREMENT__VERIFIED_BY: - return getVerifiedBy(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case RequirementsPackage.REQUIREMENT__BASE_CLASS: - setBase_Class((org.eclipse.uml2.uml.Class)newValue); - return; - case RequirementsPackage.REQUIREMENT__ID: - setId((String)newValue); - return; - case RequirementsPackage.REQUIREMENT__TEXT: - setText((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case RequirementsPackage.REQUIREMENT__BASE_CLASS: - setBase_Class((org.eclipse.uml2.uml.Class)null); - return; - case RequirementsPackage.REQUIREMENT__ID: - setId(ID_EDEFAULT); - return; - case RequirementsPackage.REQUIREMENT__TEXT: - setText(TEXT_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case RequirementsPackage.REQUIREMENT__BASE_CLASS: - return base_Class != null; - case RequirementsPackage.REQUIREMENT__DERIVED: - return !getDerived().isEmpty(); - case RequirementsPackage.REQUIREMENT__DERIVED_FROM: - return !getDerivedFrom().isEmpty(); - case RequirementsPackage.REQUIREMENT__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case RequirementsPackage.REQUIREMENT__MASTER: - return basicGetMaster() != null; - case RequirementsPackage.REQUIREMENT__REFINED_BY: - return !getRefinedBy().isEmpty(); - case RequirementsPackage.REQUIREMENT__SATISFIED_BY: - return !getSatisfiedBy().isEmpty(); - case RequirementsPackage.REQUIREMENT__TEXT: - return TEXT_EDEFAULT == null ? text != null : !TEXT_EDEFAULT.equals(text); - case RequirementsPackage.REQUIREMENT__TRACED_TO: - return !getTracedTo().isEmpty(); - case RequirementsPackage.REQUIREMENT__VERIFIED_BY: - return !getVerifiedBy().isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(", text: "); //$NON-NLS-1$ - result.append(text); - result.append(')'); - return result.toString(); - } - -} //RequirementImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/RequirementsFactoryImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/RequirementsFactoryImpl.java deleted file mode 100644 index 48fd22a..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/RequirementsFactoryImpl.java +++ /dev/null
@@ -1,182 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements.internal.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -import org.eclipse.papyrus.sysml14.requirements.*; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class RequirementsFactoryImpl extends EFactoryImpl implements RequirementsFactory { - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static RequirementsFactory init() { - try { - RequirementsFactory theRequirementsFactory = (RequirementsFactory)EPackage.Registry.INSTANCE.getEFactory(RequirementsPackage.eNS_URI); - if (theRequirementsFactory != null) { - return theRequirementsFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new RequirementsFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RequirementsFactoryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case RequirementsPackage.COPY: return createCopy(); - case RequirementsPackage.TRACE: return createTrace(); - case RequirementsPackage.REQUIREMENT: return createRequirement(); - case RequirementsPackage.DERIVE_REQT: return createDeriveReqt(); - case RequirementsPackage.REFINE: return createRefine(); - case RequirementsPackage.SATISFY: return createSatisfy(); - case RequirementsPackage.TEST_CASE: return createTestCase(); - case RequirementsPackage.VERIFY: return createVerify(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Copy createCopy() { - CopyImpl copy = new CopyImpl(); - return copy; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Trace createTrace() { - TraceImpl trace = new TraceImpl(); - return trace; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Requirement createRequirement() { - RequirementImpl requirement = new RequirementImpl(); - return requirement; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DeriveReqt createDeriveReqt() { - DeriveReqtImpl deriveReqt = new DeriveReqtImpl(); - return deriveReqt; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Refine createRefine() { - RefineImpl refine = new RefineImpl(); - return refine; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Satisfy createSatisfy() { - SatisfyImpl satisfy = new SatisfyImpl(); - return satisfy; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public TestCase createTestCase() { - TestCaseImpl testCase = new TestCaseImpl(); - return testCase; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Verify createVerify() { - VerifyImpl verify = new VerifyImpl(); - return verify; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RequirementsPackage getRequirementsPackage() { - return (RequirementsPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - @Deprecated - public static RequirementsPackage getPackage() { - return RequirementsPackage.eINSTANCE; - } - -} //RequirementsFactoryImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/RequirementsPackageImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/RequirementsPackageImpl.java deleted file mode 100644 index 0392bda..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/RequirementsPackageImpl.java +++ /dev/null
@@ -1,626 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements.internal.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EOperation; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.eclipse.papyrus.sysml14.activities.ActivitiesPackage; - -import org.eclipse.papyrus.sysml14.activities.internal.impl.ActivitiesPackageImpl; - -import org.eclipse.papyrus.sysml14.allocations.AllocationsPackage; - -import org.eclipse.papyrus.sysml14.allocations.internal.impl.AllocationsPackageImpl; - -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; - -import org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksPackageImpl; - -import org.eclipse.papyrus.sysml14.constraintblocks.ConstraintblocksPackage; - -import org.eclipse.papyrus.sysml14.constraintblocks.internal.impl.ConstraintblocksPackageImpl; - -import org.eclipse.papyrus.sysml14.deprecatedelements.DeprecatedelementsPackage; - -import org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.DeprecatedelementsPackageImpl; - -import org.eclipse.papyrus.sysml14.impl.sysmlPackageImpl; -import org.eclipse.papyrus.sysml14.modelelements.ModelelementsPackage; - -import org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsPackageImpl; - -import org.eclipse.papyrus.sysml14.portsandflows.PortsandflowsPackage; - -import org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsPackageImpl; - -import org.eclipse.papyrus.sysml14.requirements.Copy; -import org.eclipse.papyrus.sysml14.requirements.DeriveReqt; -import org.eclipse.papyrus.sysml14.requirements.Refine; -import org.eclipse.papyrus.sysml14.requirements.Requirement; -import org.eclipse.papyrus.sysml14.requirements.RequirementsFactory; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.requirements.Satisfy; -import org.eclipse.papyrus.sysml14.requirements.TestCase; -import org.eclipse.papyrus.sysml14.requirements.Trace; -import org.eclipse.papyrus.sysml14.requirements.Verify; - -import org.eclipse.papyrus.sysml14.sysmlPackage; -import org.eclipse.uml2.types.TypesPackage; - -import org.eclipse.uml2.uml.UMLPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class RequirementsPackageImpl extends EPackageImpl implements RequirementsPackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass copyEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass traceEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass requirementEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass deriveReqtEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass refineEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass satisfyEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass testCaseEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass verifyEClass = null; - - /** - * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.papyrus.sysml14.requirements.RequirementsPackage#eNS_URI - * @see #init() - * @generated - */ - private RequirementsPackageImpl() { - super(eNS_URI, RequirementsFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static boolean isInited = false; - - /** - * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. - * - * <p>This method is used to initialize {@link RequirementsPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static RequirementsPackage init() { - if (isInited) return (RequirementsPackage)EPackage.Registry.INSTANCE.getEPackage(RequirementsPackage.eNS_URI); - - // Obtain or create and register package - RequirementsPackageImpl theRequirementsPackage = (RequirementsPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof RequirementsPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new RequirementsPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - UMLPackage.eINSTANCE.eClass(); - - // Obtain or create and register interdependencies - sysmlPackageImpl thesysmlPackage = (sysmlPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(sysmlPackage.eNS_URI) instanceof sysmlPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(sysmlPackage.eNS_URI) : sysmlPackage.eINSTANCE); - ActivitiesPackageImpl theActivitiesPackage = (ActivitiesPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) instanceof ActivitiesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ActivitiesPackage.eNS_URI) : ActivitiesPackage.eINSTANCE); - AllocationsPackageImpl theAllocationsPackage = (AllocationsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) instanceof AllocationsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(AllocationsPackage.eNS_URI) : AllocationsPackage.eINSTANCE); - BlocksPackageImpl theBlocksPackage = (BlocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) instanceof BlocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI) : BlocksPackage.eINSTANCE); - ConstraintblocksPackageImpl theConstraintblocksPackage = (ConstraintblocksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) instanceof ConstraintblocksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintblocksPackage.eNS_URI) : ConstraintblocksPackage.eINSTANCE); - DeprecatedelementsPackageImpl theDeprecatedelementsPackage = (DeprecatedelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) instanceof DeprecatedelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(DeprecatedelementsPackage.eNS_URI) : DeprecatedelementsPackage.eINSTANCE); - PortsandflowsPackageImpl thePortsandflowsPackage = (PortsandflowsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) instanceof PortsandflowsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(PortsandflowsPackage.eNS_URI) : PortsandflowsPackage.eINSTANCE); - ModelelementsPackageImpl theModelelementsPackage = (ModelelementsPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) instanceof ModelelementsPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelelementsPackage.eNS_URI) : ModelelementsPackage.eINSTANCE); - - // Create package meta-data objects - theRequirementsPackage.createPackageContents(); - thesysmlPackage.createPackageContents(); - theActivitiesPackage.createPackageContents(); - theAllocationsPackage.createPackageContents(); - theBlocksPackage.createPackageContents(); - theConstraintblocksPackage.createPackageContents(); - theDeprecatedelementsPackage.createPackageContents(); - thePortsandflowsPackage.createPackageContents(); - theModelelementsPackage.createPackageContents(); - - // Initialize created meta-data - theRequirementsPackage.initializePackageContents(); - thesysmlPackage.initializePackageContents(); - theActivitiesPackage.initializePackageContents(); - theAllocationsPackage.initializePackageContents(); - theBlocksPackage.initializePackageContents(); - theConstraintblocksPackage.initializePackageContents(); - theDeprecatedelementsPackage.initializePackageContents(); - thePortsandflowsPackage.initializePackageContents(); - theModelelementsPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theRequirementsPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(RequirementsPackage.eNS_URI, theRequirementsPackage); - return theRequirementsPackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getCopy() { - return copyEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getTrace() { - return traceEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getTrace_Base_Abstraction() { - return (EReference)traceEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EOperation getTrace__GetTracedFrom__NamedElement_EList() { - return traceEClass.getEOperations().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getRequirement() { - return requirementEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRequirement_Base_Class() { - return (EReference)requirementEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRequirement_Derived() { - return (EReference)requirementEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRequirement_DerivedFrom() { - return (EReference)requirementEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getRequirement_Id() { - return (EAttribute)requirementEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRequirement_Master() { - return (EReference)requirementEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRequirement_RefinedBy() { - return (EReference)requirementEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRequirement_SatisfiedBy() { - return (EReference)requirementEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getRequirement_Text() { - return (EAttribute)requirementEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRequirement_TracedTo() { - return (EReference)requirementEClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRequirement_VerifiedBy() { - return (EReference)requirementEClass.getEStructuralFeatures().get(9); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getDeriveReqt() { - return deriveReqtEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getRefine() { - return refineEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRefine_Base_Abstraction() { - return (EReference)refineEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EOperation getRefine__GetRefines__NamedElement_EList() { - return refineEClass.getEOperations().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getSatisfy() { - return satisfyEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EOperation getSatisfy__GetSatisfies__NamedElement_EList() { - return satisfyEClass.getEOperations().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getTestCase() { - return testCaseEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getTestCase_Base_Behavior() { - return (EReference)testCaseEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getTestCase_Base_Operation() { - return (EReference)testCaseEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getVerify() { - return verifyEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EOperation getVerify__GetVerifies__NamedElement_EList() { - return verifyEClass.getEOperations().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RequirementsFactory getRequirementsFactory() { - return (RequirementsFactory)getEFactoryInstance(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - copyEClass = createEClass(COPY); - - traceEClass = createEClass(TRACE); - createEReference(traceEClass, TRACE__BASE_ABSTRACTION); - createEOperation(traceEClass, TRACE___GET_TRACED_FROM__NAMEDELEMENT_ELIST); - - requirementEClass = createEClass(REQUIREMENT); - createEReference(requirementEClass, REQUIREMENT__BASE_CLASS); - createEReference(requirementEClass, REQUIREMENT__DERIVED); - createEReference(requirementEClass, REQUIREMENT__DERIVED_FROM); - createEAttribute(requirementEClass, REQUIREMENT__ID); - createEReference(requirementEClass, REQUIREMENT__MASTER); - createEReference(requirementEClass, REQUIREMENT__REFINED_BY); - createEReference(requirementEClass, REQUIREMENT__SATISFIED_BY); - createEAttribute(requirementEClass, REQUIREMENT__TEXT); - createEReference(requirementEClass, REQUIREMENT__TRACED_TO); - createEReference(requirementEClass, REQUIREMENT__VERIFIED_BY); - - deriveReqtEClass = createEClass(DERIVE_REQT); - - refineEClass = createEClass(REFINE); - createEReference(refineEClass, REFINE__BASE_ABSTRACTION); - createEOperation(refineEClass, REFINE___GET_REFINES__NAMEDELEMENT_ELIST); - - satisfyEClass = createEClass(SATISFY); - createEOperation(satisfyEClass, SATISFY___GET_SATISFIES__NAMEDELEMENT_ELIST); - - testCaseEClass = createEClass(TEST_CASE); - createEReference(testCaseEClass, TEST_CASE__BASE_BEHAVIOR); - createEReference(testCaseEClass, TEST_CASE__BASE_OPERATION); - - verifyEClass = createEClass(VERIFY); - createEOperation(verifyEClass, VERIFY___GET_VERIFIES__NAMEDELEMENT_ELIST); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - BlocksPackage theBlocksPackage = (BlocksPackage)EPackage.Registry.INSTANCE.getEPackage(BlocksPackage.eNS_URI); - UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI); - TypesPackage theTypesPackage = (TypesPackage)EPackage.Registry.INSTANCE.getEPackage(TypesPackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - copyEClass.getESuperTypes().add(this.getTrace()); - traceEClass.getESuperTypes().add(theBlocksPackage.getDirectedRelationshipPropertyPath()); - deriveReqtEClass.getESuperTypes().add(this.getTrace()); - refineEClass.getESuperTypes().add(theBlocksPackage.getDirectedRelationshipPropertyPath()); - satisfyEClass.getESuperTypes().add(this.getTrace()); - verifyEClass.getESuperTypes().add(this.getTrace()); - - // Initialize classes, features, and operations; add parameters - initEClass(copyEClass, Copy.class, "Copy", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - - initEClass(traceEClass, Trace.class, "Trace", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getTrace_Base_Abstraction(), theUMLPackage.getAbstraction(), null, "base_Abstraction", null, 0, 1, Trace.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - EOperation op = initEOperation(getTrace__GetTracedFrom__NamedElement_EList(), null, "getTracedFrom", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - addEParameter(op, theUMLPackage.getNamedElement(), "ref", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - addEParameter(op, this.getRequirement(), "result", 0, -1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(requirementEClass, Requirement.class, "Requirement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getRequirement_Base_Class(), theUMLPackage.getClass_(), null, "base_Class", null, 0, 1, Requirement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getRequirement_Derived(), this.getRequirement(), null, "derived", null, 0, -1, Requirement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getRequirement_DerivedFrom(), this.getRequirement(), null, "derivedFrom", null, 0, -1, Requirement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getRequirement_Id(), theTypesPackage.getString(), "id", "", 1, 1, Requirement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ - initEReference(getRequirement_Master(), this.getRequirement(), null, "master", null, 0, 1, Requirement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getRequirement_RefinedBy(), theUMLPackage.getNamedElement(), null, "refinedBy", null, 0, -1, Requirement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getRequirement_SatisfiedBy(), theUMLPackage.getNamedElement(), null, "satisfiedBy", null, 0, -1, Requirement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getRequirement_Text(), theTypesPackage.getString(), "text", "", 1, 1, Requirement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$ - initEReference(getRequirement_TracedTo(), theUMLPackage.getNamedElement(), null, "tracedTo", null, 0, -1, Requirement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getRequirement_VerifiedBy(), theUMLPackage.getNamedElement(), null, "verifiedBy", null, 0, -1, Requirement.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(deriveReqtEClass, DeriveReqt.class, "DeriveReqt", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - - initEClass(refineEClass, Refine.class, "Refine", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getRefine_Base_Abstraction(), theUMLPackage.getAbstraction(), null, "base_Abstraction", null, 0, 1, Refine.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - op = initEOperation(getRefine__GetRefines__NamedElement_EList(), null, "getRefines", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - addEParameter(op, theUMLPackage.getNamedElement(), "ref", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - addEParameter(op, this.getRequirement(), "result", 0, -1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(satisfyEClass, Satisfy.class, "Satisfy", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - - op = initEOperation(getSatisfy__GetSatisfies__NamedElement_EList(), null, "getSatisfies", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - addEParameter(op, theUMLPackage.getNamedElement(), "ref", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - addEParameter(op, this.getRequirement(), "result", 0, -1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(testCaseEClass, TestCase.class, "TestCase", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getTestCase_Base_Behavior(), theUMLPackage.getBehavior(), null, "base_Behavior", null, 0, 1, TestCase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - initEReference(getTestCase_Base_Operation(), theUMLPackage.getOperation(), null, "base_Operation", null, 0, 1, TestCase.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, !IS_ORDERED); //$NON-NLS-1$ - - initEClass(verifyEClass, Verify.class, "Verify", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - - op = initEOperation(getVerify__GetVerifies__NamedElement_EList(), null, "getVerifies", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - addEParameter(op, theUMLPackage.getNamedElement(), "ref", 1, 1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - addEParameter(op, this.getRequirement(), "result", 0, -1, IS_UNIQUE, !IS_ORDERED); //$NON-NLS-1$ - - // Create annotations - // http://www.eclipse.org/uml2/2.0.0/UML - createUMLAnnotations(); - } - - /** - * Initializes the annotations for <b>http://www.eclipse.org/uml2/2.0.0/UML</b>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void createUMLAnnotations() { - String source = "http://www.eclipse.org/uml2/2.0.0/UML"; //$NON-NLS-1$ - addAnnotation - (this, - source, - new String[] { - "originalName", "Requirements" //$NON-NLS-1$ //$NON-NLS-2$ - }); - } - -} //RequirementsPackageImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/SatisfyImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/SatisfyImpl.java deleted file mode 100644 index f05f1da..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/SatisfyImpl.java +++ /dev/null
@@ -1,81 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements.internal.impl; - -import java.lang.reflect.InvocationTargetException; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.papyrus.sysml14.requirements.Requirement; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.requirements.Satisfy; - -import org.eclipse.uml2.uml.NamedElement; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Satisfy</b></em>'. - * <!-- end-user-doc --> - * - * @generated - */ -public class SatisfyImpl extends TraceImpl implements Satisfy { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected SatisfyImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return RequirementsPackage.Literals.SATISFY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void getSatisfies(NamedElement ref, EList<Requirement> result) { - // TODO: implement this method - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - @SuppressWarnings("unchecked") - public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { - switch (operationID) { - case RequirementsPackage.SATISFY___GET_SATISFIES__NAMEDELEMENT_ELIST: - getSatisfies((NamedElement)arguments.get(0), (EList<Requirement>)arguments.get(1)); - return null; - } - return super.eInvoke(operationID, arguments); - } - -} //SatisfyImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/TestCaseImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/TestCaseImpl.java deleted file mode 100644 index 3fb7ae6..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/TestCaseImpl.java +++ /dev/null
@@ -1,229 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.requirements.TestCase; - -import org.eclipse.uml2.uml.Behavior; -import org.eclipse.uml2.uml.Operation; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Test Case</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.TestCaseImpl#getBase_Behavior <em>Base Behavior</em>}</li> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.TestCaseImpl#getBase_Operation <em>Base Operation</em>}</li> - * </ul> - * - * @generated - */ -public class TestCaseImpl extends MinimalEObjectImpl.Container implements TestCase { - /** - * The cached value of the '{@link #getBase_Behavior() <em>Base Behavior</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Behavior() - * @generated - * @ordered - */ - protected Behavior base_Behavior; - - /** - * The cached value of the '{@link #getBase_Operation() <em>Base Operation</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Operation() - * @generated - * @ordered - */ - protected Operation base_Operation; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected TestCaseImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return RequirementsPackage.Literals.TEST_CASE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Behavior getBase_Behavior() { - if (base_Behavior != null && base_Behavior.eIsProxy()) { - InternalEObject oldBase_Behavior = (InternalEObject)base_Behavior; - base_Behavior = (Behavior)eResolveProxy(oldBase_Behavior); - if (base_Behavior != oldBase_Behavior) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, RequirementsPackage.TEST_CASE__BASE_BEHAVIOR, oldBase_Behavior, base_Behavior)); - } - } - return base_Behavior; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Behavior basicGetBase_Behavior() { - return base_Behavior; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Behavior(Behavior newBase_Behavior) { - Behavior oldBase_Behavior = base_Behavior; - base_Behavior = newBase_Behavior; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, RequirementsPackage.TEST_CASE__BASE_BEHAVIOR, oldBase_Behavior, base_Behavior)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Operation getBase_Operation() { - if (base_Operation != null && base_Operation.eIsProxy()) { - InternalEObject oldBase_Operation = (InternalEObject)base_Operation; - base_Operation = (Operation)eResolveProxy(oldBase_Operation); - if (base_Operation != oldBase_Operation) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, RequirementsPackage.TEST_CASE__BASE_OPERATION, oldBase_Operation, base_Operation)); - } - } - return base_Operation; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Operation basicGetBase_Operation() { - return base_Operation; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Operation(Operation newBase_Operation) { - Operation oldBase_Operation = base_Operation; - base_Operation = newBase_Operation; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, RequirementsPackage.TEST_CASE__BASE_OPERATION, oldBase_Operation, base_Operation)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case RequirementsPackage.TEST_CASE__BASE_BEHAVIOR: - if (resolve) return getBase_Behavior(); - return basicGetBase_Behavior(); - case RequirementsPackage.TEST_CASE__BASE_OPERATION: - if (resolve) return getBase_Operation(); - return basicGetBase_Operation(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case RequirementsPackage.TEST_CASE__BASE_BEHAVIOR: - setBase_Behavior((Behavior)newValue); - return; - case RequirementsPackage.TEST_CASE__BASE_OPERATION: - setBase_Operation((Operation)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case RequirementsPackage.TEST_CASE__BASE_BEHAVIOR: - setBase_Behavior((Behavior)null); - return; - case RequirementsPackage.TEST_CASE__BASE_OPERATION: - setBase_Operation((Operation)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case RequirementsPackage.TEST_CASE__BASE_BEHAVIOR: - return base_Behavior != null; - case RequirementsPackage.TEST_CASE__BASE_OPERATION: - return base_Operation != null; - } - return super.eIsSet(featureID); - } - -} //TestCaseImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/TraceImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/TraceImpl.java deleted file mode 100644 index cb68d89..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/TraceImpl.java +++ /dev/null
@@ -1,202 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements.internal.impl; - -import java.lang.reflect.InvocationTargetException; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; - -import org.eclipse.papyrus.sysml14.blocks.internal.impl.DirectedRelationshipPropertyPathImpl; - -import org.eclipse.papyrus.sysml14.requirements.Requirement; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.requirements.Trace; - -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.NamedElement; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Trace</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * </p> - * <ul> - * <li>{@link org.eclipse.papyrus.sysml14.requirements.internal.impl.TraceImpl#getBase_Abstraction <em>Base Abstraction</em>}</li> - * </ul> - * - * @generated - */ -public class TraceImpl extends DirectedRelationshipPropertyPathImpl implements Trace { - /** - * The cached value of the '{@link #getBase_Abstraction() <em>Base Abstraction</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBase_Abstraction() - * @generated - * @ordered - */ - protected Abstraction base_Abstraction; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected TraceImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return RequirementsPackage.Literals.TRACE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Abstraction getBase_Abstraction() { - if (base_Abstraction != null && base_Abstraction.eIsProxy()) { - InternalEObject oldBase_Abstraction = (InternalEObject)base_Abstraction; - base_Abstraction = (Abstraction)eResolveProxy(oldBase_Abstraction); - if (base_Abstraction != oldBase_Abstraction) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, RequirementsPackage.TRACE__BASE_ABSTRACTION, oldBase_Abstraction, base_Abstraction)); - } - } - return base_Abstraction; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Abstraction basicGetBase_Abstraction() { - return base_Abstraction; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBase_Abstraction(Abstraction newBase_Abstraction) { - Abstraction oldBase_Abstraction = base_Abstraction; - base_Abstraction = newBase_Abstraction; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, RequirementsPackage.TRACE__BASE_ABSTRACTION, oldBase_Abstraction, base_Abstraction)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void getTracedFrom(NamedElement ref, EList<Requirement> result) { - // TODO: implement this method - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case RequirementsPackage.TRACE__BASE_ABSTRACTION: - if (resolve) return getBase_Abstraction(); - return basicGetBase_Abstraction(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case RequirementsPackage.TRACE__BASE_ABSTRACTION: - setBase_Abstraction((Abstraction)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case RequirementsPackage.TRACE__BASE_ABSTRACTION: - setBase_Abstraction((Abstraction)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case RequirementsPackage.TRACE__BASE_ABSTRACTION: - return base_Abstraction != null; - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - @SuppressWarnings("unchecked") - public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { - switch (operationID) { - case RequirementsPackage.TRACE___GET_TRACED_FROM__NAMEDELEMENT_ELIST: - getTracedFrom((NamedElement)arguments.get(0), (EList<Requirement>)arguments.get(1)); - return null; - } - return super.eInvoke(operationID, arguments); - } - -} //TraceImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/VerifyImpl.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/VerifyImpl.java deleted file mode 100644 index 70a0ae4..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/internal/impl/VerifyImpl.java +++ /dev/null
@@ -1,81 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements.internal.impl; - -import java.lang.reflect.InvocationTargetException; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.papyrus.sysml14.requirements.Requirement; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.requirements.Verify; - -import org.eclipse.uml2.uml.NamedElement; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Verify</b></em>'. - * <!-- end-user-doc --> - * - * @generated - */ -public class VerifyImpl extends TraceImpl implements Verify { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected VerifyImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return RequirementsPackage.Literals.VERIFY; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void getVerifies(NamedElement ref, EList<Requirement> result) { - // TODO: implement this method - // Ensure that you remove @generated or mark it @generated NOT - throw new UnsupportedOperationException(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - @SuppressWarnings("unchecked") - public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException { - switch (operationID) { - case RequirementsPackage.VERIFY___GET_VERIFIES__NAMEDELEMENT_ELIST: - getVerifies((NamedElement)arguments.get(0), (EList<Requirement>)arguments.get(1)); - return null; - } - return super.eInvoke(operationID, arguments); - } - -} //VerifyImpl
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/util/RequirementsAdapterFactory.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/util/RequirementsAdapterFactory.java deleted file mode 100644 index 3b0c787..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/util/RequirementsAdapterFactory.java +++ /dev/null
@@ -1,276 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath; - -import org.eclipse.papyrus.sysml14.requirements.*; - -/** - * <!-- begin-user-doc --> - * The <b>Adapter Factory</b> for the model. - * It provides an adapter <code>createXXX</code> method for each class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.requirements.RequirementsPackage - * @generated - */ -public class RequirementsAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static RequirementsPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RequirementsAdapterFactory() { - if (modelPackage == null) { - modelPackage = RequirementsPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * <!-- begin-user-doc --> - * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. - * <!-- end-user-doc --> - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected RequirementsSwitch<Adapter> modelSwitch = - new RequirementsSwitch<Adapter>() { - @Override - public Adapter caseCopy(Copy object) { - return createCopyAdapter(); - } - @Override - public Adapter caseTrace(Trace object) { - return createTraceAdapter(); - } - @Override - public Adapter caseRequirement(Requirement object) { - return createRequirementAdapter(); - } - @Override - public Adapter caseDeriveReqt(DeriveReqt object) { - return createDeriveReqtAdapter(); - } - @Override - public Adapter caseRefine(Refine object) { - return createRefineAdapter(); - } - @Override - public Adapter caseSatisfy(Satisfy object) { - return createSatisfyAdapter(); - } - @Override - public Adapter caseTestCase(TestCase object) { - return createTestCaseAdapter(); - } - @Override - public Adapter caseVerify(Verify object) { - return createVerifyAdapter(); - } - @Override - public Adapter caseDirectedRelationshipPropertyPath(DirectedRelationshipPropertyPath object) { - return createDirectedRelationshipPropertyPathAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the <code>target</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param target the object to adapt. - * @return the adapter for the <code>target</code>. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.requirements.Copy <em>Copy</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.requirements.Copy - * @generated - */ - public Adapter createCopyAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.requirements.Trace <em>Trace</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.requirements.Trace - * @generated - */ - public Adapter createTraceAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.requirements.Requirement <em>Requirement</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.requirements.Requirement - * @generated - */ - public Adapter createRequirementAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.requirements.DeriveReqt <em>Derive Reqt</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.requirements.DeriveReqt - * @generated - */ - public Adapter createDeriveReqtAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.requirements.Refine <em>Refine</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.requirements.Refine - * @generated - */ - public Adapter createRefineAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.requirements.Satisfy <em>Satisfy</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.requirements.Satisfy - * @generated - */ - public Adapter createSatisfyAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.requirements.TestCase <em>Test Case</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.requirements.TestCase - * @generated - */ - public Adapter createTestCaseAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.requirements.Verify <em>Verify</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.requirements.Verify - * @generated - */ - public Adapter createVerifyAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath <em>Directed Relationship Property Path</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath - * @generated - */ - public Adapter createDirectedRelationshipPropertyPathAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * <!-- begin-user-doc --> - * This default implementation returns null. - * <!-- end-user-doc --> - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //RequirementsAdapterFactory
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/util/RequirementsSwitch.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/util/RequirementsSwitch.java deleted file mode 100644 index 765780e..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/requirements/util/RequirementsSwitch.java +++ /dev/null
@@ -1,294 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14.requirements.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.util.Switch; - -import org.eclipse.papyrus.sysml14.blocks.DirectedRelationshipPropertyPath; - -import org.eclipse.papyrus.sysml14.requirements.*; - -/** - * <!-- begin-user-doc --> - * The <b>Switch</b> for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the <code>caseXXX</code> method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.requirements.RequirementsPackage - * @generated - */ -public class RequirementsSwitch<T> extends Switch<T> { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static RequirementsPackage modelPackage; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RequirementsSwitch() { - if (modelPackage == null) { - modelPackage = RequirementsPackage.eINSTANCE; - } - } - - /** - * Checks whether this is a switch for the given package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param ePackage the package in question. - * @return whether this is a switch for the given package. - * @generated - */ - @Override - protected boolean isSwitchFor(EPackage ePackage) { - return ePackage == modelPackage; - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - @Override - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case RequirementsPackage.COPY: { - Copy copy = (Copy)theEObject; - T result = caseCopy(copy); - if (result == null) result = caseTrace(copy); - if (result == null) result = caseDirectedRelationshipPropertyPath(copy); - if (result == null) result = defaultCase(theEObject); - return result; - } - case RequirementsPackage.TRACE: { - Trace trace = (Trace)theEObject; - T result = caseTrace(trace); - if (result == null) result = caseDirectedRelationshipPropertyPath(trace); - if (result == null) result = defaultCase(theEObject); - return result; - } - case RequirementsPackage.REQUIREMENT: { - Requirement requirement = (Requirement)theEObject; - T result = caseRequirement(requirement); - if (result == null) result = defaultCase(theEObject); - return result; - } - case RequirementsPackage.DERIVE_REQT: { - DeriveReqt deriveReqt = (DeriveReqt)theEObject; - T result = caseDeriveReqt(deriveReqt); - if (result == null) result = caseTrace(deriveReqt); - if (result == null) result = caseDirectedRelationshipPropertyPath(deriveReqt); - if (result == null) result = defaultCase(theEObject); - return result; - } - case RequirementsPackage.REFINE: { - Refine refine = (Refine)theEObject; - T result = caseRefine(refine); - if (result == null) result = caseDirectedRelationshipPropertyPath(refine); - if (result == null) result = defaultCase(theEObject); - return result; - } - case RequirementsPackage.SATISFY: { - Satisfy satisfy = (Satisfy)theEObject; - T result = caseSatisfy(satisfy); - if (result == null) result = caseTrace(satisfy); - if (result == null) result = caseDirectedRelationshipPropertyPath(satisfy); - if (result == null) result = defaultCase(theEObject); - return result; - } - case RequirementsPackage.TEST_CASE: { - TestCase testCase = (TestCase)theEObject; - T result = caseTestCase(testCase); - if (result == null) result = defaultCase(theEObject); - return result; - } - case RequirementsPackage.VERIFY: { - Verify verify = (Verify)theEObject; - T result = caseVerify(verify); - if (result == null) result = caseTrace(verify); - if (result == null) result = caseDirectedRelationshipPropertyPath(verify); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Copy</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Copy</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseCopy(Copy object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Trace</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Trace</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseTrace(Trace object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Requirement</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Requirement</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRequirement(Requirement object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Derive Reqt</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Derive Reqt</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDeriveReqt(DeriveReqt object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Refine</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Refine</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseRefine(Refine object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Satisfy</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Satisfy</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseSatisfy(Satisfy object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Test Case</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Test Case</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseTestCase(TestCase object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Verify</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Verify</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseVerify(Verify object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Directed Relationship Property Path</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Directed Relationship Property Path</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDirectedRelationshipPropertyPath(DirectedRelationshipPropertyPath object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>EObject</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - @Override - public T defaultCase(EObject object) { - return null; - } - -} //RequirementsSwitch
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/sysmlFactory.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/sysmlFactory.java deleted file mode 100644 index 1c80c8b..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/sysmlFactory.java +++ /dev/null
@@ -1,43 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14; - -import org.eclipse.emf.ecore.EFactory; - -/** - * <!-- begin-user-doc --> - * The <b>Factory</b> for the model. - * It provides a create method for each non-abstract class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.sysmlPackage - * @generated - */ -public interface sysmlFactory extends EFactory { - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - sysmlFactory eINSTANCE = org.eclipse.papyrus.sysml14.impl.sysmlFactoryImpl.init(); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - sysmlPackage getsysmlPackage(); - -} //sysmlFactory
diff --git a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/sysmlPackage.java b/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/sysmlPackage.java deleted file mode 100644 index d983a3b..0000000 --- a/core/org.eclipse.papyrus.sysml14/src-gen/org/eclipse/papyrus/sysml14/sysmlPackage.java +++ /dev/null
@@ -1,124 +0,0 @@ -/** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - */ -package org.eclipse.papyrus.sysml14; - -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; - -/** - * <!-- begin-user-doc --> - * The <b>Package</b> for the model. - * It contains accessors for the meta objects to represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.sysmlFactory - * @model kind="package" - * annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='SysML'" - * @generated - */ -public interface sysmlPackage extends EPackage { - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "sysml14"; //$NON-NLS-1$ - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "http://www.eclipse.org/papyrus/sysml/1.4/SysML"; //$NON-NLS-1$ - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "SysML"; //$NON-NLS-1$ - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - sysmlPackage eINSTANCE = org.eclipse.papyrus.sysml14.impl.sysmlPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.papyrus.sysml14.Dummy <em>Dummy</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.Dummy - * @see org.eclipse.papyrus.sysml14.impl.sysmlPackageImpl#getDummy() - * @generated - */ - int DUMMY = 0; - - - /** - * Returns the meta object for enum '{@link org.eclipse.papyrus.sysml14.Dummy <em>Dummy</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>Dummy</em>'. - * @see org.eclipse.papyrus.sysml14.Dummy - * @generated - */ - EEnum getDummy(); - - /** - * Returns the factory that creates the instances of the model. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the factory that creates the instances of the model. - * @generated - */ - sysmlFactory getsysmlFactory(); - - /** - * <!-- begin-user-doc --> - * Defines literals for the meta objects that represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each operation of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.papyrus.sysml14.Dummy <em>Dummy</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.papyrus.sysml14.Dummy - * @see org.eclipse.papyrus.sysml14.impl.sysmlPackageImpl#getDummy() - * @generated - */ - EEnum DUMMY = eINSTANCE.getDummy(); - - } - -} //sysmlPackage
diff --git a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/Activator.java b/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/Activator.java deleted file mode 100644 index 8472250..0000000 --- a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/Activator.java +++ /dev/null
@@ -1,21 +0,0 @@ -/** - * Copyright (c) 2015 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 - */ -package org.eclipse.papyrus.sysml14; - -import org.eclipse.core.runtime.Plugin; - -/** - * The activator class controls the plug-in life cycle - */ -public class Activator extends Plugin { - - // The plug-in ID - public static final String PLUGIN_ID = "org.eclipse.papyrus.sysml14"; //$NON-NLS-1$ - -}
diff --git a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/blocks/BlockCustomImpl.java b/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/blocks/BlockCustomImpl.java deleted file mode 100644 index df94081..0000000 --- a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/blocks/BlockCustomImpl.java +++ /dev/null
@@ -1,107 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Francois Le Fevre (CEA LIST) francois.le-fevre@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.blocks; -import org.eclipse.emf.common.util.BasicEList; -import org.eclipse.emf.common.util.EList; -import org.eclipse.papyrus.sysml14.blocks.internal.impl.BlockImpl; -import org.eclipse.papyrus.sysml14.portsandflows.FlowProperty; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; -import org.eclipse.uml2.uml.util.UMLUtil; - - - -/** - * - */ -public class BlockCustomImpl extends BlockImpl { - - /** - * - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlockImpl#getReferences() - * @pap.req org.eclipse.papyrus.sysml14#REQ-SYSML14-Block-References - * - * @return the list of Property linked - */ - @Override - public EList<Property> getReferences() { - BasicEList<Property> propertyEList = new BasicEList<>(); - - if (getBase_Class() != null) { - EList<Property> ownedAttributes = getBase_Class().getOwnedAttributes(); - for (Property property : ownedAttributes) { - if (org.eclipse.uml2.uml.AggregationKind.COMPOSITE!=property.getAggregation().getValue()) { - Type type = property.getType(); - Block stereotypeApplication = UMLUtil.getStereotypeApplication(type, Block.class); - if (stereotypeApplication != null){ - propertyEList.add(property); - } - } - } - } - - return new BasicEList.UnmodifiableEList<>(propertyEList.size(), propertyEList.toArray()); - } - - /** - * - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlockImpl#getParts() - * - * @return the list of Property linked - */ - @Override - public EList<Property> getParts() { - BasicEList<Property> propertyEList = new BasicEList<>(); - - if (getBase_Class() != null) { - EList<Property> ownedAttributes = getBase_Class().getOwnedAttributes(); - for (Property property : ownedAttributes) { - if (org.eclipse.uml2.uml.AggregationKind.COMPOSITE==property.getAggregation().getValue()) { - Type type = property.getType(); - Block stereotypeApplication = UMLUtil.getStereotypeApplication(type, Block.class); - if (stereotypeApplication != null){ - propertyEList.add(property); - } - } - } - } - - return new BasicEList.UnmodifiableEList<>(propertyEList.size(), propertyEList.toArray()); - } - - /** - * - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlockImpl#getFlowProperties() - * @pap.req org.eclipse.papyrus.sysml14#REQ-001 - * - * @return the list of FlowProperties - */ - @Override - public EList<Property> getFlowProperties() { - BasicEList<Property> propertyEList = new BasicEList<>(); - - if (getBase_Class() != null) { - EList<Property> ownedAttributes = getBase_Class().getOwnedAttributes(); - for (Property property : ownedAttributes) { - FlowProperty stereotypeApplication = UMLUtil.getStereotypeApplication(property, FlowProperty.class); - if (stereotypeApplication != null){ - propertyEList.add(property); - } - } - } - - return new BasicEList.UnmodifiableEList<>(propertyEList.size(), propertyEList.toArray()); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/blocks/BlocksFactoryCustomImpl.java b/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/blocks/BlocksFactoryCustomImpl.java deleted file mode 100644 index d3c9cad..0000000 --- a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/blocks/BlocksFactoryCustomImpl.java +++ /dev/null
@@ -1,43 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.blocks; -import org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksFactoryImpl; - - -/** - * - * - */ -public class BlocksFactoryCustomImpl extends BlocksFactoryImpl implements BlocksFactory{ - - /** - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksFactoryImpl#createBoundReference() - * - * @return the BoundReference - */ - @Override - public BoundReference createBoundReference() { - return new BoundReferenceCustomImpl(); - } - - /** - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BlocksFactoryImpl#createBlock() - * - * @return the Block - */ - @Override - public Block createBlock() { - return new BlockCustomImpl(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/blocks/BoundReferenceCustomImpl.java b/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/blocks/BoundReferenceCustomImpl.java deleted file mode 100644 index 17b4281..0000000 --- a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/blocks/BoundReferenceCustomImpl.java +++ /dev/null
@@ -1,60 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.blocks; -import org.eclipse.emf.common.util.BasicEList; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.util.EcoreEList.UnmodifiableEList; -import org.eclipse.papyrus.sysml14.blocks.internal.impl.BoundReferenceImpl; -import org.eclipse.uml2.uml.ConnectableElement; -import org.eclipse.uml2.uml.ConnectorEnd; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil; - - - -/** - * - */ -public class BoundReferenceCustomImpl extends BoundReferenceImpl { - - /** - * 8.3.2.4 Bound Reference : /bindingPath : Property [1..*] {ordered, nonunique} Gives the propertyPath of the - * NestedConnectorEnd applied, if any, to the boundEnd, appended to the role of the boundEnd. - * The binding path includes the property at the bound end, and before that, the property - * path of the bound end, if it is a nested connector end. - * - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.BoundReferenceImpl#getBindingPath() - * - * @return the list of Property linked - */ - @Override - public EList<Property> getBindingPath() { - BasicEList<Property> propertyEList = new BasicEList<>(); - ConnectorEnd connectorEnd = getBoundEnd(); - if (connectorEnd != null){ - NestedConnectorEnd nestedConnectorEnd = UMLUtil.getStereotypeApplication(connectorEnd, NestedConnectorEnd.class); - if (nestedConnectorEnd != null) { - EList<Property> propertyPath = nestedConnectorEnd.getPropertyPath(); - propertyEList.addAll(propertyPath); - } - - ConnectableElement role = connectorEnd.getRole(); - if (role instanceof Property) { // should always be true to conform the 1 requirement - propertyEList.add((Property) role); - } - } - return new UnmodifiableEList<>(this, BlocksPackage.eINSTANCE.getBoundReference_BindingPath(), propertyEList.size(), propertyEList.toArray()); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/constraintblocks/ConstraintBlockCustomImpl.java b/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/constraintblocks/ConstraintBlockCustomImpl.java deleted file mode 100644 index 5062046..0000000 --- a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/constraintblocks/ConstraintBlockCustomImpl.java +++ /dev/null
@@ -1,54 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Francois Le Fevre (CEA LIST) francois.le-fevre@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.constraintblocks; -import org.eclipse.emf.common.util.BasicEList; -import org.eclipse.emf.common.util.EList; -import org.eclipse.papyrus.sysml14.constraintblocks.internal.impl.ConstraintBlockImpl; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; -import org.eclipse.uml2.uml.util.UMLUtil; - - - -/** - * - */ -public class ConstraintBlockCustomImpl extends ConstraintBlockImpl { - - /** - * - * @see org.eclipse.papyrus.sysml14.constraintblocks.internal.impl.ConstraintBlockImpl#getParameters() - * @pap.req org.eclipse.papyrus.sysml14#REQ-XXXX - * - * @return the list of Properties - */ - @Override - public EList<Property> getParameters() { - BasicEList<Property> propertyEList = new BasicEList<>(); - - if (getBase_Class() != null) { - EList<Property> ownedAttributes = getBase_Class().getOwnedAttributes(); - for (Property property : ownedAttributes) { - Type type = property.getType(); - ConstraintBlock stereotypeApplication = UMLUtil.getStereotypeApplication(type, ConstraintBlock.class); - if (stereotypeApplication == null){ - propertyEList.add(property); - } - } - } - - return new BasicEList.UnmodifiableEList<>(propertyEList.size(), propertyEList.toArray()); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/constraintblocks/ConstraintBlocksFactoryCustomImpl.java b/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/constraintblocks/ConstraintBlocksFactoryCustomImpl.java deleted file mode 100644 index 19a3ebe..0000000 --- a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/constraintblocks/ConstraintBlocksFactoryCustomImpl.java +++ /dev/null
@@ -1,33 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.constraintblocks; -import org.eclipse.papyrus.sysml14.constraintblocks.internal.impl.ConstraintblocksFactoryImpl; - - -/** - * - * - */ -public class ConstraintBlocksFactoryCustomImpl extends ConstraintblocksFactoryImpl implements ConstraintblocksFactory{ - - /** - * @see org.eclipse.papyrus.sysml14.constraintblocks.internal.impl.ConstraintblocksFactoryImpl#createConstraintBlock() - * - * @return the BoundReference - */ - @Override - public ConstraintBlock createConstraintBlock() { - return new ConstraintBlockCustomImpl(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/deprecatedelements/DeprecatedelementsCustomFactoryImpl.java b/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/deprecatedelements/DeprecatedelementsCustomFactoryImpl.java deleted file mode 100644 index e683c8e..0000000 --- a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/deprecatedelements/DeprecatedelementsCustomFactoryImpl.java +++ /dev/null
@@ -1,48 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.deprecatedelements; - -import org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.DeprecatedelementsFactoryImpl; - - -/** - * this class has been added in order to integrated specific implementation of Stereotypes: FlowPort. - * Specific code has been added to calculate derived properties see Requirement Req0010 DerivedProperties - * - * and also FlowSpecification - */ -public class DeprecatedelementsCustomFactoryImpl extends DeprecatedelementsFactoryImpl implements - DeprecatedelementsFactory { - - /** - * @see org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.DeprecatedelementsFactoryImpl#createFlowPort() - * - * @return the FlowPort - */ - @Override - public FlowPort createFlowPort() { - return new FlowPortCustomImpl(); - } - - /** - * @see org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.DeprecatedelementsFactoryImpl#createFlowSpecification() - * - * @return the FlowSpecification - */ - @Override - public FlowSpecification createFlowSpecification() { - return new FlowSpecificationCustomImpl(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/deprecatedelements/FlowPortCustomImpl.java b/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/deprecatedelements/FlowPortCustomImpl.java deleted file mode 100644 index fb45087..0000000 --- a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/deprecatedelements/FlowPortCustomImpl.java +++ /dev/null
@@ -1,114 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.deprecatedelements; - -import java.util.Map; - -import org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.FlowPortImpl; -import org.eclipse.papyrus.sysml14.internal.util.IconUtil; -import org.eclipse.papyrus.sysml14.portsandflows.FlowDirection; -import org.eclipse.uml2.uml.Image; -import org.eclipse.uml2.uml.Interface; -import org.eclipse.uml2.uml.Stereotype; -import org.eclipse.uml2.uml.Type; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * this class has been implemented in order to calculate derived properties of "FlowPort" stereotype see Requirement DerivedProperties Req0010 - * - */ -public class FlowPortCustomImpl extends FlowPortImpl implements FlowPort { - - /** - * Icons for displaying port orientation, - */ - private static Map<String,Image> icons; - - /** - * @return the icons for port orientation - */ - public static Map<String,Image> getIcons(FlowPort flowPort) { - if (icons == null){// for PERFORMANCE we call UMLUtil.getStereotype only once - Stereotype stereotype = UMLUtil.getStereotype(flowPort); - icons = IconUtil.getImages(stereotype); - } - return icons; - } - - - /** - * C.3.2.2 FlowPort : /isAtomic : Boolean (derived) This is a derived attribute (derived from the flow port’s type). - * For a flow port typed by a flow specification the value of this attribute is False, otherwise the value is True. - * - * @see org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.FlowPortImpl#isAtomic() - * - * @return true if atomic - */ - @Override - public boolean isAtomic() { - // The FlowPort is Atomic if it is not typed by a FlowSpecification - boolean isAtomic = true; - if (getBase_Port() != null) { - // Find FlowPort type - Type type = getBase_Port().getType(); - if ((type != null) && (type instanceof Interface)) { - FlowSpecification flowSpec = UMLUtil.getStereotypeApplication(type, FlowSpecification.class); - if (flowSpec != null) { - isAtomic = false; - } - } - } - return isAtomic; - } - - - /** - * Images registered in Profile are : - * 0 - FlowPort IN - * 1 - FlowPort OUT - * 2 - FlowPort INOUT - * 3 - FlowPort NA (Non Atomic) - * 4 (Other) - FlowPort (default, similar to INOUT) - * @see org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.FlowPortImpl#getIcon() - * - * @return the icon depending on the orientation of the FlowPort - */ - @Override - public Image getIcon() { - Image image = null; - if (getBase_Port() != null) { - Map<String,Image> iconList = getIcons(this); - switch (getDirection()) { - case IN: - image = iconList.get(getImageKey(FlowDirection.IN)); - break; - case OUT: - image = iconList.get(getImageKey(FlowDirection.OUT)); - break; - case INOUT: - image = iconList.get(getImageKey(FlowDirection.INOUT)); - break; - default: - image = iconList.get(getImageKey(FlowDirection.INOUT)); - break; - } - } - return image; - } - - private String getImageKey(FlowDirection flowDirection) { - return FlowPort.class.getSimpleName()+"_"+flowDirection.getName().toUpperCase();//$NON-NLS-1$ - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/deprecatedelements/FlowSpecificationCustomImpl.java b/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/deprecatedelements/FlowSpecificationCustomImpl.java deleted file mode 100644 index c2b62c7..0000000 --- a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/deprecatedelements/FlowSpecificationCustomImpl.java +++ /dev/null
@@ -1,52 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Francois Le Fevre (CEA LIST) francois.le-fevre@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.deprecatedelements; - -import org.eclipse.emf.common.util.BasicEList; -import org.eclipse.emf.common.util.EList; -import org.eclipse.papyrus.sysml14.deprecatedelements.internal.impl.FlowSpecificationImpl; -import org.eclipse.papyrus.sysml14.portsandflows.FlowProperty; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * this class has been implemented in order to calculate derived properties of "FlowSpecification" stereotype see Requirement DerivedProperties ReqXXX - * - */ -public class FlowSpecificationCustomImpl extends FlowSpecificationImpl implements FlowSpecification{ - - /** - * - * @see org.eclipse.papyrus.sysml14.blocks.internal.impl.FlowSpecificationImpl#getFlowProperties() - * - * @return the list of FlowProperties - */ - @Override - public EList<Property> getFlowProperties() { - BasicEList<Property> propertyEList = new BasicEList<>(); - - if (getBase_Interface() != null) { - EList<Property> ownedAttributes = getBase_Interface().getOwnedAttributes(); - for (Property property : ownedAttributes) { - FlowProperty stereotypeApplication = UMLUtil.getStereotypeApplication(property, FlowProperty.class); - if (stereotypeApplication != null){ - propertyEList.add(property); - } - } - } - - return new BasicEList.UnmodifiableEList<>(propertyEList.size(), propertyEList.toArray()); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/internal/util/IconUtil.java b/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/internal/util/IconUtil.java deleted file mode 100644 index ba54b20..0000000 --- a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/internal/util/IconUtil.java +++ /dev/null
@@ -1,58 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.internal.util; - -import java.util.HashMap; -import java.util.Map; - -import org.eclipse.emf.ecore.EAnnotation; -import org.eclipse.uml2.uml.Image; -import org.eclipse.uml2.uml.Stereotype; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * - */ -// See org.eclipse.papyrus.uml.tools.utils.ImageUtil -// FIXME: copy/paste field since we do not want to introduce a Papyrus dependency in the profile -public class IconUtil { - - /** - * Constructor. - * - */ - private IconUtil() { - // avoid instantiation in utility class - } - - public static final String IMAGE_PAPYRUS_EA = "image_papyrus"; //$NON-NLS-1$ - - /** - * KEY of the EAnnotation where the image's name is stored - * - * @see {@link #getName(Image)} - * @see {@link #setName(Image, String)} - */ - public static final String IMAGE_NAME_KEY = "image_name_key"; //$NON-NLS-1$ - - public static Map<String, Image> getImages(Stereotype stereotype) { - Map<String, Image> icons = new HashMap<>(); - for (Image image : stereotype.getIcons()) { - EAnnotation eAnnotation = UMLUtil.getEAnnotation(image, IMAGE_PAPYRUS_EA, false); - String string = eAnnotation.getDetails().get(IMAGE_NAME_KEY); - icons.put(string, image); - } - return icons; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/modelelements/ElementGroupCustomImpl.java b/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/modelelements/ElementGroupCustomImpl.java deleted file mode 100644 index 2928d00..0000000 --- a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/modelelements/ElementGroupCustomImpl.java +++ /dev/null
@@ -1,96 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.modelelements; - -import org.eclipse.emf.common.util.BasicEList; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.util.EcoreEList.UnmodifiableEList; -import org.eclipse.papyrus.sysml14.modelelements.internal.impl.ElementGroupImpl; -import org.eclipse.uml2.uml.Comment; -import org.eclipse.uml2.uml.Element; - -/** - * - * - */ -public class ElementGroupCustomImpl extends ElementGroupImpl { - - - - /** - * 7.3.2.2 ElementGroup : /criterion[0..1]: String Specifies the rationale for being member of the group. - * Adding an element to the group asserts that the criterion applies to this element. - * Derived from Comment::body. - * - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ElementGroupImpl#getCriterion() - *<p> See the requirement <b>{@papyrus.req org.eclipse.papyrus.sysml14#Req014}</b>. - * @return - */ - @Override - public String getCriterion() { - String criterion = ""; //$NON-NLS-1$ - Comment comment = getBase_Comment(); - if (comment != null){ - criterion = comment.getBody(); - } - return criterion; - } - - - /** - * 7.3.2.2 ElementGroup : /criterion[0..1]: String Specifies the rationale for being member of the group. - * Adding an element to the group asserts that the criterion applies to this element. - * Derived from Comment::body. - * - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ElementGroupImpl#setCriterion(java.lang.String) - * - * @param newCriterion - */ - public void setCriterion(String newCriterion) { - Comment comment = getBase_Comment(); - if (comment != null){ - comment.setBody(newCriterion); - } - } - - /** - * - * 7.3.2.2 ElementGroup : /member: Element[0..*] Set specifying the members of the group. - * Derived from Comment::annotatedElement. - * - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ElementGroupImpl#getMember() - * - * @return - */ - @Override - public EList<Element> getMember() { - BasicEList<Element> elementEList = new BasicEList<>(); - Comment comment = getBase_Comment(); - if (comment != null){ - elementEList.addAll( comment.getAnnotatedElements()); - } - return new UnmodifiableEList<>(this, ModelelementsPackage.eINSTANCE.getElementGroup_Member(), elementEList.size(), elementEList.toArray()); - } - - /** - * 7.3.2.2 ElementGroup : /size: Integer Number of members in the group. Derived. - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ElementGroupImpl#getSize() - * - * @return - */ - @Override - public int getSize() { - return getMember().size(); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/modelelements/ModelelementsFactoryCustomImpl.java b/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/modelelements/ModelelementsFactoryCustomImpl.java deleted file mode 100644 index 6bb3ac1..0000000 --- a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/modelelements/ModelelementsFactoryCustomImpl.java +++ /dev/null
@@ -1,68 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.modelelements; - -import org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsFactoryImpl; - -/** - * this class has been added in order to integrated specific implementation of Stereotypes: View. - * Specific code has been added to calculate derived properties see Requirement Req0010 DerivedProperties - * - * - */ -public class ModelelementsFactoryCustomImpl extends ModelelementsFactoryImpl implements ModelelementsFactory { - - /** - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsFactoryImpl#createView() - * - * @return the view - */ - @Override - public View createView() { - return new ViewCustomImpl(); - } - - - /** - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsFactoryImpl#createViewpoint() - * - * @return the viewpoint - */ - @Override - public Viewpoint createViewpoint() { - return new ViewpointCustomImpl(); - } - - - /** - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsFactoryImpl#createElementGroup() - * - * @return the element group - */ - @Override - public ElementGroup createElementGroup() { - return new ElementGroupCustomImpl(); - } - - /** - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ModelelementsFactoryImpl#createStakeholder() - * - * @return the stakeholder - */ - @Override - public Stakeholder createStakeholder() { - return new StakeholderCustomImpl(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/modelelements/StakeholderCustomImpl.java b/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/modelelements/StakeholderCustomImpl.java deleted file mode 100644 index b3577ab..0000000 --- a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/modelelements/StakeholderCustomImpl.java +++ /dev/null
@@ -1,49 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.modelelements; - -import org.eclipse.emf.common.util.BasicEList; -import org.eclipse.emf.common.util.EList; -import org.eclipse.papyrus.sysml14.modelelements.internal.impl.StakeholderImpl; -import org.eclipse.uml2.uml.Comment; - -/** - * - * - */ -public class StakeholderCustomImpl extends StakeholderImpl { - - - /** - * 7.3.2.6 Stakeholder : The interests of this stakeholder displayed as the body of the comments from concernList. - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.StakeholderImpl#getConcernList() - *<p> See the requirement <b>{@papyrus.req org.eclipse.papyrus.sysml14#Req012}</b>. - * @return - */ - @Override - public EList<String> getConcern() { - EList<String> concern = new BasicEList<>(); - EList<Comment> commentEList = getConcernList(); - if (commentEList!=null && !commentEList.isEmpty()){ - for (Comment comment : commentEList) { - String body = comment.getBody(); - if (body != null){ - concern.add(body); - } - } - } - return concern; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/modelelements/ViewCustomImpl.java b/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/modelelements/ViewCustomImpl.java deleted file mode 100644 index 01f6adb..0000000 --- a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/modelelements/ViewCustomImpl.java +++ /dev/null
@@ -1,93 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.modelelements; - -import java.util.Iterator; - -import org.eclipse.emf.common.util.BasicEList; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.util.EcoreEList.UnmodifiableEList; -import org.eclipse.papyrus.sysml14.modelelements.internal.impl.ViewImpl; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.Generalization; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * this class has been implemented in order to calculate derived properties of "View" stereotype see Requirement DerivedProperties Req0010 - * - */ -public class ViewCustomImpl extends ViewImpl implements View { - - - /** - * 7.3.2.7 View : /viewpoint: Viewpoint The viewpoint for this View is derived from the conform relationship. - * - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ViewImpl#basicGetViewPoint() - * <p> See the requirement <b>{@papyrus.req org.eclipse.papyrus.sysml14#Req015}</b>. - * @return - */ - @Override - public Viewpoint basicGetViewPoint() { - // ViewPoint is related to View via a Conform dependency - Viewpoint viewPoint = null; - Conform conform = null; - - Class viewBaseClass = getBase_Class(); - if (viewBaseClass != null) { - // Find Conform link - EList<Generalization> generalizations = viewBaseClass.getGeneralizations(); - if (generalizations != null) { - Iterator<Generalization> itGen = generalizations.iterator(); - while (itGen.hasNext() && (conform == null)) { - conform = UMLUtil.getStereotypeApplication(itGen.next(), Conform.class); - } - } - // Find ViewPoint - if (conform != null) { - Generalization baseGeneralization = conform.getBase_Generalization(); - if (baseGeneralization != null){ - EList<Element> targets = baseGeneralization.getTargets(); - if (targets != null) { - Iterator<Element> itElt = targets.iterator(); - while (itElt.hasNext()) { - viewPoint = UMLUtil.getStereotypeApplication(itElt.next(), Viewpoint.class); - } - } - } - } - } - return viewPoint; - } - - /** - * - * 7.3.2.7 View : /stakeholder: Stakeholder [*] The list of stakeholders is derived from the viewpoint the view conforms to. - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ViewImpl#getStakeholder() - * - * @return - */ - @Override - public EList<Stakeholder> getStakeholder() { - EList<Stakeholder> stakeholderEList = new BasicEList<>(); - Viewpoint viewPoint = getViewPoint(); - if (viewPoint != null){ - stakeholderEList.addAll(viewPoint.getStakeholder()); - } - return new UnmodifiableEList<>(this, ModelelementsPackage.eINSTANCE.getViewpoint_Stakeholder(), stakeholderEList.size(), stakeholderEList.toArray()); - } - - - -}
diff --git a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/modelelements/ViewpointCustomImpl.java b/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/modelelements/ViewpointCustomImpl.java deleted file mode 100644 index 6496f2d..0000000 --- a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/modelelements/ViewpointCustomImpl.java +++ /dev/null
@@ -1,84 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.modelelements; - -import java.util.Iterator; - -import org.eclipse.emf.common.util.BasicEList; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.util.EcoreEList.UnmodifiableEList; -import org.eclipse.papyrus.sysml14.modelelements.internal.impl.ViewpointImpl; -import org.eclipse.uml2.uml.Behavior; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Comment; -import org.eclipse.uml2.uml.Operation; -import org.eclipse.uml2.uml.profile.standard.Create; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * - * - */ -public class ViewpointCustomImpl extends ViewpointImpl { - - /** - * 7.3.2.8 Viewpoint : /method: Behavior [*] The behavior is derived from the method of the operation with the Create stereotype. - * - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ViewpointImpl#getMethod() - *<p> See the requirement <b>{@papyrus.req org.eclipse.papyrus.sysml14#Req013}</b>. - * @return - */ - @Override - public EList<Behavior> getMethod() { - EList<Behavior> behaviorEList = new BasicEList<>(); - Class clazz = getBase_Class(); - if (clazz != null) { - EList<Operation> operations = clazz.getOperations(); - if (operations != null){ - Iterator<Operation> it = operations.iterator(); - - while (it.hasNext()) { - Operation operation = it.next(); - Create create = UMLUtil.getStereotypeApplication(operation, Create.class); - if (create != null) { - behaviorEList.addAll(operation.getMethods()); - break; - } - } - } - } - return new UnmodifiableEList<>(this, ModelelementsPackage.eINSTANCE.getViewpoint_Method(), behaviorEList.size(), behaviorEList.toArray()); - } - - /** - * 7.3.2.8 Viewpoint : /concern: String [*] The interest of the stakeholders displayed as the body of the comments from concernList. - * - * @see org.eclipse.papyrus.sysml14.modelelements.internal.impl.ViewpointImpl#getConcern() - * - * @return - */ - @Override - public EList<String> getConcern() { - EList<String> concernEList = new BasicEList<>(); - EList<Comment> theConcernList = getConcernList(); - for (Comment comment : theConcernList) { - String body = comment.getBody(); - if (body != null && !"".equals(body)){//$NON-NLS-1$ - concernEList.add(body); - } - } - return concernEList; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/portsandflows/FlowPropertyCustomImpl.java b/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/portsandflows/FlowPropertyCustomImpl.java deleted file mode 100644 index 67ea1e3..0000000 --- a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/portsandflows/FlowPropertyCustomImpl.java +++ /dev/null
@@ -1,82 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.portsandflows; - - -import java.util.Map; - -import org.eclipse.papyrus.sysml14.internal.util.IconUtil; -import org.eclipse.papyrus.sysml14.portsandflows.internal.impl.FlowPropertyImpl; -import org.eclipse.uml2.uml.Image; -import org.eclipse.uml2.uml.Stereotype; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * - * - */ -public class FlowPropertyCustomImpl extends FlowPropertyImpl implements FlowProperty{ - - /** - * Icons for displaying flow property orientation - */ - private static Map<String,Image> icons; - - - /** - * @return the icons for flow property orientation - */ - public static Map<String,Image> getIcons(FlowProperty flowProperty) { - if (icons == null){// for PERFORMANCE we call UMLUtil.getStereotype only once - Stereotype stereotype = UMLUtil.getStereotype(flowProperty); - icons = IconUtil.getImages(stereotype); - } - return icons; - } - - /** - * Images registered in Profile are : - * 0 - FlowPort IN - * 1 - FlowPort OUT - * 2 - FlowPort INOUT - * 3 (other) - FlowPort (default, similar to INOUT) - */ - @Override - public Image getIcon() { - Image image = null; - if (getBase_Property() != null) { - Map<String,Image> iconList = getIcons(this); - switch (getDirection()) { - case IN: - image = iconList.get(getImageKey(FlowDirection.IN)); - break; - case OUT: - image = iconList.get(getImageKey(FlowDirection.OUT)); - break; - case INOUT: - image = iconList.get(getImageKey(FlowDirection.INOUT)); - break; - default: - image = iconList.get(getImageKey(FlowDirection.INOUT)); - break; - } - } - return image; - } - - private String getImageKey(FlowDirection flowDirection) { - return FlowProperty.class.getSimpleName()+"_"+flowDirection.getName().toUpperCase();//$NON-NLS-1$ - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/portsandflows/PortsandflowsCustomFactoryImpl.java b/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/portsandflows/PortsandflowsCustomFactoryImpl.java deleted file mode 100644 index 66e4a26..0000000 --- a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/portsandflows/PortsandflowsCustomFactoryImpl.java +++ /dev/null
@@ -1,34 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.portsandflows; - -import org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsFactoryImpl; - -/** - * - * - */ -public class PortsandflowsCustomFactoryImpl extends PortsandflowsFactoryImpl { - - - /** - * @see org.eclipse.papyrus.sysml14.portsandflows.internal.impl.PortsandflowsFactoryImpl#createFlowProperty() - * - * @return - */ - @Override - public FlowProperty createFlowProperty() { - return new FlowPropertyCustomImpl(); - } -}
diff --git a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/requirements/RequirementCustomImpl.java b/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/requirements/RequirementCustomImpl.java deleted file mode 100644 index dca83cf..0000000 --- a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/requirements/RequirementCustomImpl.java +++ /dev/null
@@ -1,280 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.requirements; - -import java.util.Iterator; - -import org.eclipse.emf.common.util.BasicEList; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.util.EcoreEList.UnmodifiableEList; -import org.eclipse.papyrus.sysml14.requirements.Copy; -import org.eclipse.papyrus.sysml14.requirements.DeriveReqt; -import org.eclipse.papyrus.sysml14.requirements.Requirement; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.requirements.Satisfy; -import org.eclipse.papyrus.sysml14.requirements.Verify; -import org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementImpl; -import org.eclipse.uml2.uml.Dependency; -import org.eclipse.uml2.uml.DirectedRelationship; -import org.eclipse.uml2.uml.NamedElement; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * this class has been implemented in order to calculate derived properties of "Requirement" stereotype see Requirement DerivedProperties Req0010 - * - */ -public class RequirementCustomImpl extends RequirementImpl implements Requirement { - - /** - * 16.3.2.4 Requirement : /master: Requirement [0..1 - * This is a derived property that lists the master requirement for this slave requirement. The master attribute is - * derived from the supplier of the Copy dependency that has this requirement as the slave. - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementImpl#basicGetMaster() - * - * @return the Requirement - */ - @Override - public Requirement basicGetMaster() { - // The Requirement is the supplier of the Copy link between the master - // Requirement and - // current - // This should return the TestCase verifying current Requirement - Requirement master = null; - if (getBase_Class() != null) { - Iterator<Dependency> itDep = getBase_Class().getClientDependencies().iterator(); - - // Find Copy link - while (itDep.hasNext()) { - Dependency currentDep = itDep.next(); - Copy currentCopy = UMLUtil.getStereotypeApplication(currentDep, Copy.class); - - if (currentCopy != null) { - EList<NamedElement> suppliers = currentCopy.getBase_Abstraction().getSuppliers(); - Iterator<NamedElement> it = suppliers.iterator(); - while (it.hasNext() && (master == null)) { - Requirement currentRequirement = UMLUtil.getStereotypeApplication(it.next(), Requirement.class); - if (currentRequirement != null) { - master = currentRequirement; - } - } - } - } - } - return master; - } - - - /** - * 16.3.2.4 Requirement : /derived: Requirement [*] -Derived from all requirements that are the client of a «deriveReqt» relationship for which this requirement is a -supplier. - * - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementImpl#getDerived() - * - * @return the list of Requirement - */ - @Override - public EList<Requirement> getDerived() { - // This should return the Requirement(s) derived from current - EList<Requirement> derived = new BasicEList<>(); - if (getBase_Class() != null) { - Iterator<DirectedRelationship> itDep = getBase_Class().getTargetDirectedRelationships().iterator(); - - // Find DeriveReqt link - while (itDep.hasNext()) { - DirectedRelationship currentDirectedRelationship = itDep.next(); - DeriveReqt currentDeriveReqt = UMLUtil.getStereotypeApplication(currentDirectedRelationship, DeriveReqt.class); - - if (currentDeriveReqt != null) { - EList<NamedElement> clients = currentDeriveReqt.getBase_Abstraction().getClients(); - Iterator<NamedElement> it = clients.iterator(); - while (it.hasNext()) { - Requirement currentRequirement = UMLUtil.getStereotypeApplication(it.next(), Requirement.class); - if (currentRequirement != null) { - derived.add(currentRequirement); - } - } - } - } - } - - return new UnmodifiableEList<>(this, RequirementsPackage.eINSTANCE.getRequirement_Derived(), derived.size(), derived.toArray()); - } - - /** - * 16.3.2.4 Requirement : /derivedFrom: Requirement [*] -Derived from all requirements that are the supplier of a «deriveReqt» relationship for which this requirement is a -client. - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementImpl#getDerivedFrom() - * - * @return the list of Requirement - */ - @Override - public EList<Requirement> getDerivedFrom() { - // This should return the Requirement(s) this Requirement is derived - // from - EList<Requirement> derivedFrom = new BasicEList<>(); - if (getBase_Class() != null) { - Iterator<DirectedRelationship> itDep = getBase_Class().getSourceDirectedRelationships().iterator(); - - // Find DeriveReqt link - while (itDep.hasNext()) { - DirectedRelationship currentDRelationship = itDep.next(); - DeriveReqt currentDeriveReqt = UMLUtil.getStereotypeApplication(currentDRelationship, DeriveReqt.class); - - if (currentDeriveReqt != null) { - EList<NamedElement> suppliers = currentDeriveReqt.getBase_Abstraction().getSuppliers(); - Iterator<NamedElement> it = suppliers.iterator(); - while (it.hasNext()) { - Requirement currentRequirement = UMLUtil.getStereotypeApplication(it.next(), Requirement.class); - if (currentRequirement != null) { - derivedFrom.add(currentRequirement); - } - } - } - } - } - - return new UnmodifiableEList<>(this, RequirementsPackage.eINSTANCE.getRequirement_DerivedFrom(), derivedFrom.size(), derivedFrom.toArray()); - } - - - /** - * 16.3.2.4 Requirement : /refinedBy: NamedElement [*] -Derived from all elements that are the client of a «refine» relationship for which this requirement is a supplier. - * - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementImpl#getRefinedBy() - * - * @return the list of refining NamedElements - */ - @Override - public EList<NamedElement> getRefinedBy() { - // This should return the NamedElement(s) that refine current - // Requirement - EList<NamedElement> refinedBy = new BasicEList<>(); - if (getBase_Class() != null) { - Iterator<DirectedRelationship> itDep = getBase_Class().getTargetDirectedRelationships().iterator(); - - // Find Refine link - while (itDep.hasNext()) { - DirectedRelationship currentDRelationship = itDep.next(); - Refine currentRefine = UMLUtil.getStereotypeApplication(currentDRelationship, Refine.class); - - if (currentRefine != null) { - refinedBy.addAll(currentRefine.getBase_Abstraction().getClients()); - } - } - } - - return new UnmodifiableEList<>(this, RequirementsPackage.eINSTANCE.getRequirement_RefinedBy(), refinedBy.size(), refinedBy.toArray()); - } - - - - /** - * 16.3.2.4 Requirement : /satisfiedBy: NamedElement [*] - * Derived from all elements that are the client of a «satisfy» relationship for which this requirement is a supplier. - * - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementImpl#getSatisfiedBy() - * - * @return the list of statisfying NamedElements - */ - @Override - public EList<NamedElement> getSatisfiedBy() { - // This should return the NamedElement(s) that satisfy current - // Requirement - EList<NamedElement> satisfyBy = new BasicEList<>(); - if (getBase_Class() != null) { - Iterator<DirectedRelationship> itDep = getBase_Class().getTargetDirectedRelationships().iterator(); - - // Find Satisfy link - while (itDep.hasNext()) { - DirectedRelationship currentDRelationship = itDep.next(); - Satisfy currentSatisfy = UMLUtil.getStereotypeApplication(currentDRelationship, Satisfy.class); - - if (currentSatisfy != null) { - satisfyBy.addAll(currentSatisfy.getBase_Abstraction().getClients()); - } - } - } - - return new UnmodifiableEList<>(this, RequirementsPackage.eINSTANCE.getRequirement_SatisfiedBy(), satisfyBy.size(), satisfyBy.toArray()); - } - - - /** - * 16.3.2.4 Requirement : /tracedTo: NamedElement [*] - * Derived from all elements that are the supplier of a «trace» relationship for which this requirement is a client. - * - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementImpl#getTracedTo() - * - * @return the list of tracing NamedElements - */ - @Override - public EList<NamedElement> getTracedTo() { - // This should return the NamedElement(s) traced by current Requirement - // SysML spec. : Derived from all elements that are the client of a - // <<trace>> relationship - // for which this requirement is a supplier. - EList<NamedElement> tracedTo = new BasicEList<>(); - if (getBase_Class() != null) { - Iterator<DirectedRelationship> itDep = getBase_Class().getTargetDirectedRelationships().iterator(); - - // Find Trace link - while (itDep.hasNext()) { - DirectedRelationship currentDR = itDep.next(); - Trace currentTrace = UMLUtil.getStereotypeApplication(currentDR, Trace.class); - - // Must be a Trace not a subtype (see bug #352563). - if (currentTrace != null && currentTrace.eClass() == RequirementsPackage.eINSTANCE.getTrace()) { - EList<NamedElement> suppliers = currentTrace.getBase_Abstraction().getClients(); - tracedTo.addAll(suppliers); - } - } - } - - return new UnmodifiableEList<>(this, RequirementsPackage.eINSTANCE.getRequirement_TracedTo(), tracedTo.size(), tracedTo.toArray()); - } - - - - /** - * 16.3.2.4 Requirement : /verifiedBy: NamedElement [*] - * Derived from all elements that are the client of a «verify» relationship for which this requirement is a supplier. - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementImpl#getVerifiedBy() - * - * @return the list of verifying NamedElements - */ - @Override - public EList<NamedElement> getVerifiedBy() { - // This should return the list of NamedElement verifying current - // Requirement - EList<NamedElement> verifiedBy = new BasicEList<>(); - if (getBase_Class() != null) { - Iterator<DirectedRelationship> itDep = getBase_Class().getTargetDirectedRelationships().iterator(); - - // Find Verify link - while (itDep.hasNext()) { - DirectedRelationship currentDRelationship = itDep.next(); - Verify currentVerify = UMLUtil.getStereotypeApplication(currentDRelationship, Verify.class); - - if (currentVerify != null) { - verifiedBy.addAll(currentVerify.getBase_Abstraction().getClients()); - } - } - } - return new UnmodifiableEList<>(this, RequirementsPackage.eINSTANCE.getRequirement_VerifiedBy(), verifiedBy.size(), verifiedBy.toArray()); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/requirements/RequirementsFactoryCustomImpl.java b/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/requirements/RequirementsFactoryCustomImpl.java deleted file mode 100644 index e4bf2e5..0000000 --- a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/requirements/RequirementsFactoryCustomImpl.java +++ /dev/null
@@ -1,36 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.requirements; - -import org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsFactoryImpl; - -/** - * this class has been added in order to integrated specific implementation of Stereotypes: Requirement. - * Specific code has been added to calculate derived properties see Requirement Req0010 DerivedProperties - * - * - */ -public class RequirementsFactoryCustomImpl extends RequirementsFactoryImpl implements RequirementsFactory { - - /** - * @see org.eclipse.papyrus.sysml14.requirements.internal.impl.RequirementsFactoryImpl#createRequirement() - * - * @return a new requirement - */ - @Override - public Requirement createRequirement() { - return new RequirementCustomImpl(); - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/util/DeprecatedElementUtil.java b/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/util/DeprecatedElementUtil.java deleted file mode 100644 index 98f41f3..0000000 --- a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/util/DeprecatedElementUtil.java +++ /dev/null
@@ -1,56 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Francois Le Fevre (CEA LIST) francois.le-fevre@cea.fr - Initial API and implementation - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - #498338 Improve performance - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.util; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.sysml14.deprecatedelements.FlowPort; -import org.eclipse.papyrus.sysml14.deprecatedelements.FlowSpecification; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.Interface; -import org.eclipse.uml2.uml.Port; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * Utility class to get informations on DeprecatedElement resources - * - */ -public final class DeprecatedElementUtil { - - private DeprecatedElementUtil(){ - } - - /** - * @param eObject - * @return It returns true if the EObject is a deprecated Stereotype or if the Uml element is stereotyped by a deprecated stereotype - */ - //Check perf issues before changing this method - public static boolean isDeprecatedElement(EObject eObject) { - if(eObject!=null){ - if (eObject.getClass().getName().startsWith("org.eclipse.papyrus.sysml14.deprecatedelements")){//$NON-NLS-1$ - return true; - } - if(eObject instanceof Element){ - Element element = (Element)eObject; - if (element instanceof Port){ - return UMLUtil.getStereotypeApplication(element, FlowPort.class)!=null; - } - if (element instanceof Interface){ - return UMLUtil.getStereotypeApplication(element, FlowSpecification.class)!=null; - } - } - } - return false; - } - - -}
diff --git a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/util/QUDVUtil.java b/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/util/QUDVUtil.java deleted file mode 100644 index 95018a7..0000000 --- a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/util/QUDVUtil.java +++ /dev/null
@@ -1,67 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.util; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.Package; -import org.eclipse.uml2.uml.PackageableElement; - -/** - * @author Benoit Maggi - * - */ -public final class QUDVUtil { - - public static final String UNIT_AND_QUANTITY_KIND = "UnitAndQuantityKind"; //$NON-NLS-1$ - - public static final String QUANTITY_KIND = "QuantityKind"; //$NON-NLS-1$ - - public static final String UNIT = "Unit"; //$NON-NLS-1$ - - /** Avoid instantiation for utility class */ - private QUDVUtil() { - } - /** - * Return the classifier in QUDV from the namspace - * Ex : getClassifierByNameSpaceFromQUDV("UnitAndQuantityKind","Unit") to get Unit Classifier - * @param resource - * @param packageName - * @param classifierName - * @return - */ - public static Classifier getClassifierByNameSpaceFromQUDV(String packageName, String classifierName) { - URI createURI = URI.createURI(SysMLResource.LIBRARY_PATH); - Resource res = new ResourceSetImpl().getResource(createURI,true); - return getClassifierByNameSpace(res, packageName, classifierName); - } - - // TODO : this method should be provided as API in an upper level (already exist ?) - public static Classifier getClassifierByNameSpace(Resource resource, String packageName, String classifierName) { - EList<EObject> contents = resource.getContents(); - for (EObject eObject : contents) { - if (eObject instanceof Package){ - Package pkg = (Package) eObject; - PackageableElement packagedElement2 = pkg.getPackagedElement(packageName); - return (Classifier) ((Package) packagedElement2).getPackagedElement(classifierName); - } - } - return null; - } - -}
diff --git a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/util/SysMLQualifiedName.java b/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/util/SysMLQualifiedName.java deleted file mode 100644 index bff5f51..0000000 --- a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/util/SysMLQualifiedName.java +++ /dev/null
@@ -1,34 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.util; - - -public final class SysMLQualifiedName { - - private SysMLQualifiedName() { - // to prevent instantiation - } - - /** - * The qualified name of the property direction - * @deprecated - */ - @Deprecated - public static final String STEREOTYPE_FLOWPORT_DIRECTION = "SysML::DeprecatedElements::FlowPort::direction"; //$NON-NLS-1$ - - /** - * QN of SysML::Requirement::Requirement::text. - */ - public static final String SYSML_REQUIREMENTS_REQUIREMENT_TEXT_QN = "SysML::Requirements::Requirement::text"; //$NON-NLS-1$ -}
diff --git a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/util/SysMLResource.java b/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/util/SysMLResource.java deleted file mode 100644 index a52170e..0000000 --- a/core/org.eclipse.papyrus.sysml14/src/org/eclipse/papyrus/sysml14/util/SysMLResource.java +++ /dev/null
@@ -1,156 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - #507956 - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.util; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.ResourceSet; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.Package; -import org.eclipse.uml2.uml.Profile; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.UMLPackage; -import org.eclipse.uml2.uml.resource.UMLResource; - -/** - * Utility class to get informations on SysML resources - * - */ -public final class SysMLResource { - - public static final String PROFILES_PATHMAP = "pathmap://SysML14_PROFILES/"; //$NON-NLS-1$ - - public static final String PROFILE_PATH = PROFILES_PATHMAP+"SysML.profile.uml"; //$NON-NLS-1$ - - public static final String PROFILE_URI = "http://www.eclipse.org/papyrus/sysml/1.4/SysML"; //$NON-NLS-1$ - - public static final String LIBRARIES_PATHMAP = "pathmap://SysML14_LIBRARIES/"; //$NON-NLS-1$ - - public static final String LIBRARY_PATH = LIBRARIES_PATHMAP+"SysML-Standard-Library.uml"; //$NON-NLS-1$ - - public static final String LIBRARY_ROOT_ID = "SysML.package_packagedElement_Libraries"; //$NON-NLS-1$ - - public static final String QUDV_LIBRARY_PATH = LIBRARIES_PATHMAP+"QUDV.uml"; //$NON-NLS-1$ - - public static final String QUDV_LIBRARY_ROOT_ID = "QUDV"; //$NON-NLS-1$ - - private static final String UNNAMED = "unnamed"; //$NON-NLS-1$ - - private SysMLResource(){ - } - - /** - * Creates a model with SysML profile applied - * - * @param resourceSet - * the resource set in which to create the model - * @return the created model - */ - public static Model createSysMLModel(ResourceSet resourceSet) {//, String modelName - return createSysMLModel(resourceSet, UNNAMED+"."+UMLResource.FILE_EXTENSION, UNNAMED); //$NON-NLS-1$ - } - - /** - * Creates a model with SysML profile applied - * - * @param resourceSet the resource set in which to create the model - * @param resourceName name of the resource - * @param modelName name of the model - * @return the created model - */ - public static Model createSysMLModel(ResourceSet resourceSet, String resourceName, String modelName) { - Model model = UMLFactory.eINSTANCE.createModel(); - model.setName(modelName); - Resource resource = resourceSet.createResource(URI.createURI(resourceName)); - resource.getContents().add(model); - // Apply UML Standard profile - // Retrieve standard profile - Resource standardProfileResource = resourceSet.getResource(URI.createURI(UMLResource.STANDARD_PROFILE_URI), true); - Profile umlStdProfile = (Profile) EcoreUtil.getObjectByType(standardProfileResource.getContents(), UMLPackage.Literals.PACKAGE); - // Apply to the model - model.applyProfile(umlStdProfile); - // Retrieve SysML profile and apply with subprofile - Resource sysmlProfileResource = resourceSet.getResource(URI.createURI(SysMLResource.PROFILE_PATH), true); - Profile sysmlProfile = (Profile) EcoreUtil.getObjectByType(sysmlProfileResource.getContents(), UMLPackage.Literals.PACKAGE); - model.applyProfile(sysmlProfile); - return model; - } - - /** - * Recursive function - * @param element the initial uml2 element - * @param profileLookup the profile we are looking for - * @return a package, a model profiled by SysML or null - */ - public static Package getFirstSysMLMatchingContainerProfiledBySysMLProfile(Element element){ - return getFirstMatchingContainerProfiledBy(element,SysMLResource.PROFILE_URI); - } - - /** - * Recursive function - * @param element the initial uml2 element - * @param profileUri the profile we are looking for - * @return a package, a model or null - */ - public static Package getFirstMatchingContainerProfiledBy(Element element, String profileUri){ - if(element instanceof Package){ - Package pakage = (Package)element; - - EList<Profile> appliedProfiles = pakage.getAppliedProfiles(); - if (appliedProfiles!=null){ - for (Profile appliedProfile : appliedProfiles) { - //as soon as we match with the profile we return true - if(appliedProfile.getURI()!=null && appliedProfile.getURI().compareTo(profileUri)==0){ - return pakage; - } - } - } - - Element elementOwner = element.getOwner(); - if(elementOwner!=null){ - return getFirstMatchingContainerProfiledBy(elementOwner, profileUri); - } - } - //If no match then look at the nearest package - if(element!=null){ - Package myNearestPackage = element.getNearestPackage(); - if(myNearestPackage!=element){ - return getFirstMatchingContainerProfiledBy(myNearestPackage, profileUri); - } - } - //If we are here, it means we have no lookuped profile attached at one container of our element. - return null; - } - - - /** - * @param element - * @return true if the element is profiled with SysML profile - */ - public static boolean isSysMLProfileApplied(Element element){ - return isProfiledByProfile(element,SysMLResource.PROFILE_URI); - } - - - /** - * @param element - * @param profileUri - * @return true if the element is profiled by the given profileUri - */ - public static boolean isProfiledByProfile(Element element, String profileUri){ - return getFirstMatchingContainerProfiledBy(element,profileUri)!=null; - } -}
diff --git a/core/pom.xml b/core/pom.xml index 6acd8d0..fdfd5e1 100644 --- a/core/pom.xml +++ b/core/pom.xml
@@ -3,22 +3,22 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>org.eclipse.papyrus.sysml14.parent</artifactId> + <artifactId>org.eclipse.papyrus.sysml.parent</artifactId> <groupId>org.eclipse.papyrus.sysml</groupId> - <version>1.2.0-SNAPSHOT</version> + <version>4.0.0-SNAPSHOT</version> </parent> - <artifactId>org.eclipse.papyrus.sysml14.core</artifactId> + <artifactId>org.eclipse.papyrus.sysml.core</artifactId> <packaging>pom</packaging> <name>SysML Core</name> - <description>SysML Core contains all semantic information for SysML 1.4 profile. These modules should'nt contain any gui elements.</description> + <description>SysML Core contains all semantic information for SysML profile. These modules should'nt contain any gui elements.</description> <modules> - <module>org.eclipse.papyrus.sysml14</module> - <module>org.eclipse.papyrus.sysml14.tests</module> - <module>org.eclipse.papyrus.sysml14.edit</module> - <module>org.eclipse.papyrus.sysml14.edit.tests</module> - <module>org.eclipse.papyrus.sysml14.service.types</module> - <module>org.eclipse.papyrus.sysml14.service.types.tests</module> - <module>org.eclipse.papyrus.sysml14.validation</module> + <module>org.eclipse.papyrus.sysml</module> + <module>org.eclipse.papyrus.sysml.tests</module> + <module>org.eclipse.papyrus.sysml.edit</module> + <module>org.eclipse.papyrus.sysml.edit.tests</module> + <module>org.eclipse.papyrus.sysml.service.types</module> + <module>org.eclipse.papyrus.sysml.service.types.tests</module> + <module>org.eclipse.papyrus.sysml.validation</module> </modules> <profiles> @@ -29,7 +29,7 @@ </activation> <modules> <!-- due to heterogeneous duration of test up to 300s --> - <module>org.eclipse.papyrus.sysml14.validation.tests</module> + <module>org.eclipse.papyrus.sysml.validation.tests</module> </modules> </profile> </profiles>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/.classpath b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/.classpath similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/.classpath rename to diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/.classpath
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/.project b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/.project new file mode 100644 index 0000000..e41d53c --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/.project
@@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.diagram.blockdefinition.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> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/.settings/org.eclipse.core.resources.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/.settings/org.eclipse.core.resources.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/.settings/org.eclipse.core.resources.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/.settings/org.eclipse.jdt.core.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/.settings/org.eclipse.jdt.core.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/.settings/org.eclipse.jdt.core.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/.settings/org.eclipse.jdt.ui.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/.settings/org.eclipse.jdt.ui.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/.settings/org.eclipse.jdt.ui.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/.settings/org.eclipse.jdt.ui.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/.settings/org.eclipse.m2e.core.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/.settings/org.eclipse.m2e.core.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/.settings/org.eclipse.m2e.core.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/META-INF/MANIFEST.MF b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/META-INF/MANIFEST.MF new file mode 100644 index 0000000..c6cdbc0 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/META-INF/MANIFEST.MF
@@ -0,0 +1,15 @@ +Manifest-Version: 1.0 +Bundle-Vendor: %Bundle-Vendor +Bundle-Version: 4.0.0.qualifier +Bundle-Name: %Bundle-Name +Bundle-Localization: plugin +Bundle-ManifestVersion: 2 +Fragment-Host: org.eclipse.papyrus.sysml.diagram.blockdefinition;bundle-version="4.0.0" +Bundle-SymbolicName: org.eclipse.papyrus.sysml.diagram.blockdefinition.tests +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Require-Bundle: org.junit;bundle-version="[4.11.0,5.0.0)", + org.eclipse.papyrus.uml.diagram.clazz;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.composite;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.interactionoverview;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.profile;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.statemachine;bundle-version="[3.0.0,4.0.0)"
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/about.html b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/about.html similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/about.html rename to diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/about.html
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/build.properties b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/build.properties similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/build.properties rename to diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/build.properties
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/plugin.properties b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/plugin.properties new file mode 100644 index 0000000..d371403 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/plugin.properties
@@ -0,0 +1,14 @@ +################################################################################# +# Copyright (c) 2011 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: +# +# CEA LIST - Initial API and Implementation. +# +################################################################################## +Bundle-Name=Papyrus SysML 1.5 Block Definition Diagram Tests +Bundle-Vendor=Eclipse Modeling Project
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/pom.xml b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/pom.xml new file mode 100644 index 0000000..110e308 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/pom.xml
@@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" + xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.papyrus.sysml</groupId> + <artifactId>org.eclipse.papyrus.sysml.diagram</artifactId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.diagram.blockdefinition.tests</artifactId> + <packaging>eclipse-test-plugin</packaging> + <name>org.eclipse.papyrus.sysml.diagram.blockdefinition.tests</name> + <description>This plug-in contains the unit tests relatives to SysML Block Definition Diagram</description> +</project>
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/tests/resources/ModelValidationTest.java b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/tests/resources/ModelValidationTest.java new file mode 100644 index 0000000..1cdaecf --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/tests/resources/ModelValidationTest.java
@@ -0,0 +1,87 @@ +/***************************************************************************** + * Copyright (c) 2017 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.diagram.blockdefinition.tests.resources; + +import java.util.Arrays; +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.ecore.util.Diagnostician; +import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; +import org.eclipse.papyrus.sysml.diagram.blockdefinition.Activator; +import org.junit.Assert; +import org.junit.BeforeClass; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.Parameterized; +import org.junit.runners.Parameterized.Parameters; + +/** + * This is a parameterized test to validate all model in the plugin + * + */ +@SuppressWarnings("nls") +@RunWith(Parameterized.class) +public class ModelValidationTest { + + @Parameters + public static Collection<Object[]> data() { + return Arrays.asList(new Object[][] { + // FIXME still invalid {"/resources/style/blockDefinitionDiagram.css"}, + {"/resources/configuration/blockDefinitionDiagramConfig.expansionmodel"}, + // FIXME still invalid {"/resources/doc/org.eclipse.papyrus.sysml.diagram.blockdefinition.uml"}, + //TODO: code a utility migration script {"/resources/doc/org.eclipse.papyrus.sysml.diagram.blockdefinition.notation"}, + {"/resources/palette/blockDefinitionDiagram.paletteconfiguration"}, + }); + } + + private String modelPath; + + public ModelValidationTest(String modelPath) { + this.modelPath = modelPath; + } + + @BeforeClass + public static void forceElementTypeLoads() { + ElementTypeSetConfigurationRegistry.getInstance(); + } + + /** + * Validate the model with the rules defined in the meta-model tooling + */ + @Test + public void validateModel() { + String fullPath = Activator.PLUGIN_ID + this.modelPath; + URI modelPlatformURI = URI.createPlatformPluginURI(fullPath, true); + Resource resource = new ResourceSetImpl().getResource(modelPlatformURI, true); + Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); + Assert.assertEquals("The "+modelPath+" model is invalid "+print(diagnostic), Diagnostic.OK, diagnostic.getSeverity()); + } + + // FIXME : Something should exist in API to do that + private String print(Diagnostic diagnostic) { + List<Diagnostic> children = diagnostic.getChildren(); + StringBuilder stringBuilder = new StringBuilder(diagnostic.getMessage()); + for (Diagnostic diagnosticChildren : children) { + stringBuilder.append("\n"); //$NON-NLS-1$ + stringBuilder.append(diagnosticChildren.getMessage()); + } + return stringBuilder.toString(); + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/.classpath b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/.classpath similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/.classpath rename to diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/.classpath
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/.project b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/.project new file mode 100644 index 0000000..4117329 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/.project
@@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.diagram.blockdefinition</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> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/.settings/org.eclipse.core.resources.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/.settings/org.eclipse.core.resources.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/.settings/org.eclipse.core.resources.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/.settings/org.eclipse.jdt.core.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/.settings/org.eclipse.jdt.core.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/.settings/org.eclipse.jdt.core.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/.settings/org.eclipse.jdt.ui.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/.settings/org.eclipse.jdt.ui.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/.settings/org.eclipse.jdt.ui.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/.settings/org.eclipse.jdt.ui.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/.settings/org.eclipse.m2e.core.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/.settings/org.eclipse.m2e.core.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/.settings/org.eclipse.m2e.core.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/META-INF/MANIFEST.MF b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/META-INF/MANIFEST.MF new file mode 100644 index 0000000..11379bb --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/META-INF/MANIFEST.MF
@@ -0,0 +1,25 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name +Bundle-Localization: plugin +Bundle-SymbolicName: org.eclipse.papyrus.sysml.diagram.blockdefinition;singleton:=true +Bundle-Version: 4.0.0.qualifier +Bundle-Activator: org.eclipse.papyrus.sysml.diagram.blockdefinition.Activator +Bundle-Vendor: %Bundle-Vendor +Require-Bundle: org.eclipse.ui;bundle-version="[3.107.0,4.0.0)", + org.eclipse.core.runtime;bundle-version="[3.11.1,4.0.0)", + org.eclipse.uml2.uml;bundle-version="[5.1.0,6.0.0)", + org.eclipse.papyrus.infra.core;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.emf;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.types.core;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.viewpoints.policy;bundle-version="[2.0.0,3.0.0)", + org.eclipse.papyrus.uml.diagram.common;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.clazz;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.sysml.diagram.common;bundle-version="4.0.0" +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Eclipse-BuddyPolicy: dependent +Bundle-ActivationPolicy: lazy +Export-Package: org.eclipse.papyrus.sysml.diagram.blockdefinition, + org.eclipse.papyrus.sysml.diagram.blockdefinition.internal.factory;x-internal:=true, + org.eclipse.papyrus.sysml.diagram.blockdefinition.provider
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/about.html b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/about.html similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/about.html rename to diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/about.html
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/build.properties b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/build.properties similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/build.properties rename to diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/build.properties
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/plugin.properties b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/plugin.properties new file mode 100644 index 0000000..93a7689 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/plugin.properties
@@ -0,0 +1,15 @@ +################################################################################# +# Copyright (c) 2015 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: +# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation +################################################################################## +Bundle-Name= Papyrus SysML 1.5 Block Definition Diagram +Bundle-Description=This plug-in contains the block definition diagram +Bundle-Vendor=Eclipse Modeling Project + +
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/plugin.xml b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/plugin.xml new file mode 100644 index 0000000..4fa7284 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/plugin.xml
@@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.4"?> +<!-- + Copyright (c) 2015 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: + Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation +--> + +<plugin> + + <extension + point="org.eclipse.papyrus.infra.gmfdiag.common.diagramExpansion"> + <diagramexpansion + model="resources/configuration/blockDefinitionDiagramConfig.expansionmodel"> + </diagramexpansion> + </extension> + + <!-- Parser provider declaration --> +<extension point="org.eclipse.gmf.runtime.common.ui.services.parserProviders"> + <ParserProvider class="org.eclipse.papyrus.sysml.diagram.blockdefinition.provider.ParserProvider"> + <Priority name="Low"/> + </ParserProvider> +</extension> + +</plugin>
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/pom.xml b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/pom.xml new file mode 100644 index 0000000..5772f61 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/pom.xml
@@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.papyrus.sysml</groupId> + <artifactId>org.eclipse.papyrus.sysml.diagram</artifactId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.diagram.blockdefinition</artifactId> + <packaging>eclipse-plugin</packaging> + <name>org.eclipse.papyrus.sysml.diagram.blockdefinition</name> + <description>This plugin is in charge of defining the SysML Block Definition Diagram using the following frameworks: viewpoint, expansion model, palette and css.</description> +</project> \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/resources/configuration/blockDefinitionDiagramConfig.expansionmodel b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/resources/configuration/blockDefinitionDiagramConfig.expansionmodel new file mode 100644 index 0000000..f78adc0 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/resources/configuration/blockDefinitionDiagramConfig.expansionmodel
@@ -0,0 +1,84 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<expansionmodel:DiagramExpansion xmlns:expansionmodel="http:///expansionmodel.ecore" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="SysML 1.5 BDD" xmi:id="org.eclipse.papyrus.sysml.bbd.expansionmodel" xmi:version="2.0"> + <usages diagramType="SysML 1.5 Block Definition Diagram" name="SysML 1.5 BDD Context" representations="_rC19oNnoEeSqwOe5_frWm2 _CvN1kFVqEeW77p7V_ZuW3Q _dq31kGdDEeW5JrLha2pcnA" xmi:id="_rC19oNnoEeSqwOe5_frWm1"> + <gmftRepresentations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.clazz.edit.parts.ClassEditPart" inducedRepresentations="_rC19oNnoEeSqwOe5_frWm6 _CvPDslVqEeW77p7V_ZuW3Q _rC19oNnoEeSqwOe5_frWm7 _CvPDs1VqEeW77p7V_ZuW3Q _CvPDtFVqEeW77p7V_ZuW3Q _CvPDtVVqEeW77p7V_ZuW3Q _CSMSEGFBEeWbSMDuSXx8SQ _59LCcACiEeabH6-I0dvpUQ" name="Block based on Class representation of class diagram" reusedID="Class_Shape" subRepresentations="_CvN1kVVqEeW77p7V_ZuW3Q _CvOcoVVqEeW77p7V_ZuW3Q _CvOcolVqEeW77p7V_ZuW3Q _CvOco1VqEeW77p7V_ZuW3Q" viewFactory="org.eclipse.papyrus.sysml.diagram.blockdefinition.internal.factory.BlockClassifierViewFactory" xmi:id="_rC19oNnoEeSqwOe5_frWm2"/> + <gmftRepresentations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.clazz.edit.parts.InterfaceEditPart" inducedRepresentations="_CSMSEGFBEeWbSMDuSXx8SQ" name="FlowSpecification based on Interface representation of class diagram" reusedID="Interface_Shape" subRepresentations="_CvN1kVVqEeW77p7V_ZuW3Q" viewFactory="org.eclipse.papyrus.sysml.diagram.blockdefinition.internal.factory.FlowSpecificationClassifierViewFactory" xmi:id="_dq31kGdDEeW5JrLha2pcnA"/> + </usages> + <libraries name="Independent Representations" xmi:id="_rC19oNnoEeSqwOe5_frWm3"> + <representations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.clazz.edit.parts.PropertyForClassEditPart" name="Flow Port As Label" viewFactory="org.eclipse.gmf.runtime.diagram.ui.view.factories.optimal.ShapeViewFactory" xmi:id="_rC19oNnoEeSqwOe5_frWm4" xsi:type="expansionmodel:Representation"> + <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowPort_Label" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> + </representations> + <representations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.clazz.edit.parts.DependencyEditPart" name="Verify Link" viewFactory="org.eclipse.gmf.runtime.diagram.ui.view.factories.optimal.ConnectorViewFactory" xmi:id="_CvN1kFVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:Representation"> + <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Verify_Abstraction_Verify_Link" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> + </representations> + <representations inducedRepresentations="_CvPDsVVqEeW77p7V_ZuW3Q _CvPDsFVqEeW77p7V_ZuW3Q" name="Operation Border Item" viewFactory="org.eclipse.papyrus.sysml.diagram.blockdefinition.internal.factory.OperationPortViewFactory" xmi:id="_CvN1kVVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:Representation"> + <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_EoAOIN0DEeSiOexlyH3Ifw"/> + <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi." xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> + </representations> + <representations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.common.editparts.EditableLabelForNodeEditPart" name="Constraint As Label" viewFactory="org.eclipse.gmf.runtime.diagram.ui.view.factories.optimal.ShapeViewFactory" xmi:id="_CvOcoFVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:Representation"> + <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Constraint_Label" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> + </representations> + <representations inducedRepresentations="_CvPDsVVqEeW77p7V_ZuW3Q" name="Class Port" viewFactory="org.eclipse.papyrus.sysml.diagram.blockdefinition.internal.factory.PortViewFactory" xmi:id="_CvOcoVVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:Representation"> + <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_EoAOIN0DEeSiOexlyH3Ifw"/> + <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Class_Port" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> + </representations> + <representations inducedRepresentations="_CvPDsVVqEeW77p7V_ZuW3Q" name="Class ProxyPort" viewFactory="org.eclipse.papyrus.sysml.diagram.blockdefinition.internal.factory.PortViewFactory" xmi:id="_CvOcolVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:Representation"> + <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_EoAOIN0DEeSiOexlyH3Ifw"/> + <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Class_ProxyPort" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> + </representations> + <representations inducedRepresentations="_CvPDsVVqEeW77p7V_ZuW3Q" name="Class FullPort" viewFactory="org.eclipse.papyrus.sysml.diagram.blockdefinition.internal.factory.PortViewFactory" xmi:id="_CvOco1VqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:Representation"> + <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_EoAOIN0DEeSiOexlyH3Ifw"/> + <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Class_FullPort" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> + </representations> + <representations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.clazz.edit.parts.PropertyForClassEditPart" name="ProxyPort As Label" viewFactory="org.eclipse.gmf.runtime.diagram.ui.view.factories.optimal.ShapeViewFactory" xmi:id="_CvOcpFVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:Representation"> + <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ProxyPort_Label" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> + </representations> + <representations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.clazz.edit.parts.PropertyForClassEditPart" name="FullPort As Label" viewFactory="org.eclipse.gmf.runtime.diagram.ui.view.factories.optimal.ShapeViewFactory" xmi:id="_CvOcpVVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:Representation"> + <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FullPort_Label" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> + </representations> + <representations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.clazz.edit.parts.PropertyForClassEditPart" name="References As Label" viewFactory="org.eclipse.gmf.runtime.diagram.ui.view.factories.optimal.ShapeViewFactory" xmi:id="_CvOcplVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:Representation"> + <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Reference_label" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> + </representations> + <representations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.clazz.edit.parts.PropertyForClassEditPart" name="Parts As Label" viewFactory="org.eclipse.gmf.runtime.diagram.ui.view.factories.optimal.ShapeViewFactory" xmi:id="_SZt_kFVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:Representation"> + <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Part_label" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> + </representations> + <representations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.clazz.edit.parts.PropertyForClassEditPart" name="FlowProperty As Label" viewFactory="org.eclipse.gmf.runtime.diagram.ui.view.factories.optimal.ShapeViewFactory" xmi:id="_y-W7oGFAEeWbSMDuSXx8SQ" xsi:type="expansionmodel:Representation"> + <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowProperty_label" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> + </representations> + <representations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.clazz.edit.parts.PropertyForClassEditPart" name="Parameters As Label" viewFactory="org.eclipse.gmf.runtime.diagram.ui.view.factories.optimal.ShapeViewFactory" xmi:id="_vBCFAACiEeabH6-I0dvpUQ" xsi:type="expansionmodel:Representation"> + <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Parameter_label" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> + </representations> + </libraries> + <libraries name="Independant Compartments" xmi:id="_rC19oNnoEeSqwOe5_frWm5"> + <representations children="_rC19oNnoEeSqwOe5_frWm4" hint="Flow Ports" name="FlowPort Compartment" xmi:id="_rC19oNnoEeSqwOe5_frWm6" xsi:type="expansionmodel:InducedRepresentation"> + <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_vbTKYN0DEeS-X4lB2Ut-YA"/> + </representations> + <representations children="_SZt_kFVqEeW77p7V_ZuW3Q" editPartQualifiedName="" hint="Parts" name="Parts Compartment" xmi:id="_rC19oNnoEeSqwOe5_frWm7" xsi:type="expansionmodel:InducedRepresentation"> + <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_vbTKYN0DEeS-X4lB2Ut-YA"/> + </representations> + <representations children="_vBCFAACiEeabH6-I0dvpUQ" hint="Parameters" name="Parameters Compartment" xmi:id="_59LCcACiEeabH6-I0dvpUQ" xsi:type="expansionmodel:InducedRepresentation"> + <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_vbTKYN0DEeS-X4lB2Ut-YA"/> + </representations> + <representations editPartQualifiedName="" hint="Operation_BorderItem_Stereotype_Label" name="Stereotype Label representation for BorderItem" xmi:id="_CvPDsFVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:InducedRepresentation"> + <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_dG-hoN0HEeSfTfTnKh2G1Q"/> + </representations> + <representations editPartQualifiedName="" hint="Operation_BorderItem_Label" name=" Name Label representation for BorderItem" xmi:id="_CvPDsVVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:InducedRepresentation"> + <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_dG-hoN0HEeSfTfTnKh2G1Q"/> + </representations> + <representations children="_CvOcoFVqEeW77p7V_ZuW3Q" hint="constraints" name="Constraint Compartment" xmi:id="_CvPDslVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:InducedRepresentation"> + <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_vbTKYN0DEeS-X4lB2Ut-YA"/> + </representations> + <representations children="_CvOcpFVqEeW77p7V_ZuW3Q" hint="Proxy Ports" name="ProxyPort Compartment" xmi:id="_CvPDs1VqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:InducedRepresentation"> + <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_vbTKYN0DEeS-X4lB2Ut-YA"/> + </representations> + <representations children="_CvOcpVVqEeW77p7V_ZuW3Q" hint="Full Ports" name="FullPort Compartment" xmi:id="_CvPDtFVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:InducedRepresentation"> + <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_vbTKYN0DEeS-X4lB2Ut-YA"/> + </representations> + <representations children="_CvOcplVqEeW77p7V_ZuW3Q" hint="References" name="References Compartment" xmi:id="_CvPDtVVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:InducedRepresentation"> + <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_vbTKYN0DEeS-X4lB2Ut-YA"/> + </representations> + <representations children="_y-W7oGFAEeWbSMDuSXx8SQ" hint="Flow Properties" name="FlowProperties Compartment" xmi:id="_CSMSEGFBEeWbSMDuSXx8SQ" xsi:type="expansionmodel:InducedRepresentation"> + <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_vbTKYN0DEeS-X4lB2Ut-YA"/> + </representations> + </libraries> +</expansionmodel:DiagramExpansion>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/resources/doc/org.eclipse.papyrus.sysml14.diagram.blockdefinition.di b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/resources/doc/org.eclipse.papyrus.sysml.diagram.blockdefinition.di similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/resources/doc/org.eclipse.papyrus.sysml14.diagram.blockdefinition.di rename to diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/resources/doc/org.eclipse.papyrus.sysml.diagram.blockdefinition.di
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/resources/doc/org.eclipse.papyrus.sysml.diagram.blockdefinition.notation b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/resources/doc/org.eclipse.papyrus.sysml.diagram.blockdefinition.notation new file mode 100644 index 0000000..ec3521f --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/resources/doc/org.eclipse.papyrus.sysml.diagram.blockdefinition.notation
@@ -0,0 +1,452 @@ +<?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:configuration="http://www.eclipse.org/papyrus/infra/viewpoints/configuration" xmlns:css="http://www.eclipse.org/papyrus/infra/gmfdiag/css" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:nattable="http://www.eclipse.org/papyrus/nattable/model" xmlns:nattableaxis="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis" xmlns:nattableaxisconfiguration="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration" xmlns:nattableaxisprovider="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider" xmlns:nattableconfiguration="http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration" xmlns:nattablestyle="http://www.eclipse.org/papyrus/nattable/model/table/nattablestyle" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis http://www.eclipse.org/papyrus/nattable/model#//nattableaxis http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration http://www.eclipse.org/papyrus/nattable/model#//nattableaxisconfiguration http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider http://www.eclipse.org/papyrus/nattable/model#//nattableaxisprovider http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration http://www.eclipse.org/papyrus/nattable/model#//nattableconfiguration http://www.eclipse.org/papyrus/nattable/model/table/nattablestyle http://www.eclipse.org/papyrus/nattable/model#//nattablestyle"> + <notation:Diagram xmi:id="_OF23gOLIEeSv5dwvZ9NSDw" type="PapyrusUMLClassDiagram" name="Overview" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_OF3ekOLIEeSv5dwvZ9NSDw" type="2005"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3ekeLIEeSv5dwvZ9NSDw" type="5020"/> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3ekuLIEeSv5dwvZ9NSDw" type="7009"> + <styles xmi:type="notation:TitleStyle" xmi:id="_OF3ek-LIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3elOLIEeSv5dwvZ9NSDw"/> + </children> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eleLIEeSv5dwvZ9NSDw" x="201" y="38"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_OF3eluLIEeSv5dwvZ9NSDw" type="2005"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3el-LIEeSv5dwvZ9NSDw" type="5020"/> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3emOLIEeSv5dwvZ9NSDw" type="7009"> + <styles xmi:type="notation:TitleStyle" xmi:id="_OF3emeLIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3emuLIEeSv5dwvZ9NSDw"/> + </children> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_OFsfc-LIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3em-LIEeSv5dwvZ9NSDw" x="204" y="173"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_OF3enOLIEeSv5dwvZ9NSDw" type="2005"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3eneLIEeSv5dwvZ9NSDw" type="5020"/> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3enuLIEeSv5dwvZ9NSDw" type="7009"> + <styles xmi:type="notation:TitleStyle" xmi:id="_OF3en-LIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eoOLIEeSv5dwvZ9NSDw"/> + </children> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_OFsfduLIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eoeLIEeSv5dwvZ9NSDw" x="206" y="329"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_OF3eouLIEeSv5dwvZ9NSDw" type="2005"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3eo-LIEeSv5dwvZ9NSDw" type="5020"/> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3epOLIEeSv5dwvZ9NSDw" type="7009"> + <styles xmi:type="notation:TitleStyle" xmi:id="_OF3epeLIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3epuLIEeSv5dwvZ9NSDw"/> + </children> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_OFsfeOLIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3ep-LIEeSv5dwvZ9NSDw" x="635" y="324"/> + </children> + <styles xmi:type="notation:DiagramStyle" xmi:id="_OF3eqOLIEeSv5dwvZ9NSDw"/> + <styles xmi:type="style:PapyrusViewStyle" xmi:id="_OF3eqeLIEeSv5dwvZ9NSDw"> + <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_OFsfcOLIEeSv5dwvZ9NSDw"/> + <configuration xmi:type="configuration:PapyrusDiagram" href="platform:/plugin/org.eclipse.papyrus.infra.viewpoints.policy/builtin/default.configuration#_7wLmpNxhEeOqHvRyiN87hA"/> + </styles> + <styles xmi:type="notation:StringValueStyle" xmi:id="_ffusMFCLEeWVDv-g61eepg" name="diagram_compatibility_version" stringValue="1.1.0"/> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_OFsfcOLIEeSv5dwvZ9NSDw"/> + <edges xmi:type="notation:Connector" xmi:id="_OF3equLIEeSv5dwvZ9NSDw" type="4006" source="_OF3eluLIEeSv5dwvZ9NSDw" target="_OF3ekOLIEeSv5dwvZ9NSDw"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3eq-LIEeSv5dwvZ9NSDw" visible="false" type="6014"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3erOLIEeSv5dwvZ9NSDw" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3ereLIEeSv5dwvZ9NSDw" visible="false" type="6015"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3eruLIEeSv5dwvZ9NSDw" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_OF3er-LIEeSv5dwvZ9NSDw"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_OFsfdOLIEeSv5dwvZ9NSDw"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OF3esOLIEeSv5dwvZ9NSDw" points="[-2, -10, 8, 48]$[-27, -45, -17, 13]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3eseLIEeSv5dwvZ9NSDw" id="(0.305,0.1)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3esuLIEeSv5dwvZ9NSDw" id="(0.27,0.87)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_OF3es-LIEeSv5dwvZ9NSDw" type="4006" source="_OF3enOLIEeSv5dwvZ9NSDw" target="_OF3eluLIEeSv5dwvZ9NSDw"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3etOLIEeSv5dwvZ9NSDw" visible="false" type="6014"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3eteLIEeSv5dwvZ9NSDw" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3etuLIEeSv5dwvZ9NSDw" visible="false" type="6015"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3et-LIEeSv5dwvZ9NSDw" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_OF3euOLIEeSv5dwvZ9NSDw"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_OFsfd-LIEeSv5dwvZ9NSDw"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OF3eueLIEeSv5dwvZ9NSDw" points="[-9, -16, 0, 67]$[-24, -72, -15, 11]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3euuLIEeSv5dwvZ9NSDw" id="(0.27,0.16)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3eu-LIEeSv5dwvZ9NSDw" id="(0.235,0.89)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_OF3evOLIEeSv5dwvZ9NSDw" type="4008" source="_OF3eouLIEeSv5dwvZ9NSDw" target="_OF3eluLIEeSv5dwvZ9NSDw"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3eveLIEeSv5dwvZ9NSDw" visible="false" type="6026"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3evuLIEeSv5dwvZ9NSDw" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3ev-LIEeSv5dwvZ9NSDw" visible="false" type="6027"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3ewOLIEeSv5dwvZ9NSDw" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_OF3eweLIEeSv5dwvZ9NSDw"/> + <element xmi:type="uml:Dependency" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_OFsfeeLIEeSv5dwvZ9NSDw"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OF3ewuLIEeSv5dwvZ9NSDw" points="[-46, -20, 265, 113]$[-275, -135, 36, -2]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3ew-LIEeSv5dwvZ9NSDw" id="(0.0,0.24)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3exOLIEeSv5dwvZ9NSDw" id="(1.0,0.65)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_OF3exeLIEeSv5dwvZ9NSDw" type="4008" source="_OF3eouLIEeSv5dwvZ9NSDw" target="_OF3enOLIEeSv5dwvZ9NSDw"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3exuLIEeSv5dwvZ9NSDw" visible="false" type="6026"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3ex-LIEeSv5dwvZ9NSDw" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3eyOLIEeSv5dwvZ9NSDw" visible="false" type="6027"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3eyeLIEeSv5dwvZ9NSDw" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_OF3eyuLIEeSv5dwvZ9NSDw"/> + <element xmi:type="uml:Dependency" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_OFsfeuLIEeSv5dwvZ9NSDw"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OF3ey-LIEeSv5dwvZ9NSDw" points="[-40, 1, 262, -12]$[-267, 20, 35, 7]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3ezOLIEeSv5dwvZ9NSDw" id="(0.0,0.69)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3ezeLIEeSv5dwvZ9NSDw" id="(1.0,0.64)"/> + </edges> + </notation:Diagram> + <css:ModelStyleSheets xmi:id="_MXBlUOc1EeSLdPGe2q9R0g"/> + <nattable:Table xmi:id="_FB4isOgEEeSUQvXhEVQh8w" name="Palette Requirement Table" currentRowAxisProvider="_FB4itegEEeSUQvXhEVQh8w" currentColumnAxisProvider="_FB4isegEEeSUQvXhEVQh8w"> + <context xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> + <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> + <prototype xmi:type="configuration:PapyrusSyncTable" href="platform:/plugin/org.eclipse.papyrus.infra.viewpoints.policy/builtin/default.configuration#_7wNb3txhEeOqHvRyiN87hA"/> + <tableConfiguration xmi:type="nattableconfiguration:TableConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.nattable.requirement.config/configs/requirement.nattableconfiguration#/"/> + <columnAxisProvidersHistory xmi:type="nattableaxisprovider:SlaveObjectAxisProvider" xmi:id="_FB4isegEEeSUQvXhEVQh8w" description="Provides the columns of the tables with a default configuration" name="Requirements Feature Columns Provider"> + <axis xmi:type="nattableaxis:FeatureIdAxis" xmi:id="_FB4isugEEeSUQvXhEVQh8w" element="property_of_stereotype:/SysML::Requirements::Requirement::id"> + <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_0CX7UOgIEeSUQvXhEVQh8w" name="axisWidth" intValue="320"/> + <manager xmi:type="nattableaxisconfiguration:AxisManagerRepresentation" href="platform:/plugin/org.eclipse.papyrus.sysml.nattable.requirement.config/configs/requirement.nattableconfiguration#//@columnHeaderAxisConfiguration/@axisManagers.1"/> + </axis> + <axis xmi:type="nattableaxis:EStructuralFeatureAxis" xmi:id="_FB4is-gEEeSUQvXhEVQh8w"> + <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_0C78AOgIEeSUQvXhEVQh8w" name="axisWidth" intValue="260"/> + <manager xmi:type="nattableaxisconfiguration:AxisManagerRepresentation" href="platform:/plugin/org.eclipse.papyrus.sysml.nattable.requirement.config/configs/requirement.nattableconfiguration#//@columnHeaderAxisConfiguration/@axisManagers.0"/> + <element xmi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> + </axis> + <axis xmi:type="nattableaxis:FeatureIdAxis" xmi:id="_FB4itOgEEeSUQvXhEVQh8w" element="property_of_stereotype:/SysML::Requirements::Requirement::text"> + <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_0C9KIOgIEeSUQvXhEVQh8w" name="axisWidth" intValue="220"/> + <manager xmi:type="nattableaxisconfiguration:AxisManagerRepresentation" href="platform:/plugin/org.eclipse.papyrus.sysml.nattable.requirement.config/configs/requirement.nattableconfiguration#//@columnHeaderAxisConfiguration/@axisManagers.1"/> + </axis> + </columnAxisProvidersHistory> + <rowAxisProvidersHistory xmi:type="nattableaxisprovider:MasterObjectAxisProvider" xmi:id="_FB4itegEEeSUQvXhEVQh8w" description="Provides the requirements directly owned by the context of the table" name="Requirement Axis Provider" disconnectSlave="true"/> + <localRowHeaderAxisConfiguration xmi:type="nattableaxisconfiguration:LocalTableHeaderAxisConfiguration" xmi:id="_9enkgBTEEeWVdLvX1TqBVg" indexStyle="NUMERIC"> + <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_9etrIBTEEeWVdLvX1TqBVg" name="rowLabelWidth" intValue="345"/> + <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_9gBSsBTEEeWVdLvX1TqBVg" name="rowIndexWidth" intValue="165"/> + </localRowHeaderAxisConfiguration> + <localColumnHeaderAxisConfiguration xmi:type="nattableaxisconfiguration:LocalTableHeaderAxisConfiguration" xmi:id="_9f-PYBTEEeWVdLvX1TqBVg"> + <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_9f-2cBTEEeWVdLvX1TqBVg" name="columnIndexHeight" intValue="25"/> + <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_9f_dgBTEEeWVdLvX1TqBVg" name="columnLabelHeight" intValue="25"/> + </localColumnHeaderAxisConfiguration> + </nattable:Table> + <notation:Diagram xmi:id="_uc4A8FCLEeWVDv-g61eepg" type="PapyrusUMLClassDiagram" name="Requirement Tracability" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_vahU8FCLEeWVDv-g61eepg" type="2008"> + <children xmi:type="notation:DecorationNode" xmi:id="_vajxMFCLEeWVDv-g61eepg" type="5029"/> + <children xmi:type="notation:DecorationNode" xmi:id="_vajxMVCLEeWVDv-g61eepg" type="8510"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_vajxMlCLEeWVDv-g61eepg" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_vakYQFCLEeWVDv-g61eepg" visible="false" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_vakYQVCLEeWVDv-g61eepg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_vakYQlCLEeWVDv-g61eepg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_vakYQ1CLEeWVDv-g61eepg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vakYRFCLEeWVDv-g61eepg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_vak_UFCLEeWVDv-g61eepg" visible="false" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_vak_UVCLEeWVDv-g61eepg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_vak_UlCLEeWVDv-g61eepg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_vak_U1CLEeWVDv-g61eepg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vak_VFCLEeWVDv-g61eepg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_vak_VVCLEeWVDv-g61eepg" visible="false" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_vak_VlCLEeWVDv-g61eepg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_vak_V1CLEeWVDv-g61eepg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_vak_WFCLEeWVDv-g61eepg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vak_WVCLEeWVDv-g61eepg"/> + </children> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_a0GrwOLIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vahU8VCLEeWVDv-g61eepg" x="60" y="160" width="321" height="41"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_vbHx4FCLEeWVDv-g61eepg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_vbHx4VCLEeWVDv-g61eepg" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_vbIY8FCLEeWVDv-g61eepg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_a0GrwOLIEeSv5dwvZ9NSDw"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vbHx4lCLEeWVDv-g61eepg" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_zPEkoFCLEeWVDv-g61eepg" type="2008"> + <children xmi:type="notation:DecorationNode" xmi:id="_zPEkolCLEeWVDv-g61eepg" type="5029"/> + <children xmi:type="notation:DecorationNode" xmi:id="_zPEko1CLEeWVDv-g61eepg" type="8510"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_zPFLsFCLEeWVDv-g61eepg" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_zPFLsVCLEeWVDv-g61eepg" visible="false" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_zPFLslCLEeWVDv-g61eepg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_zPFLs1CLEeWVDv-g61eepg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_zPFLtFCLEeWVDv-g61eepg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zPFLtVCLEeWVDv-g61eepg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_zPFLtlCLEeWVDv-g61eepg" visible="false" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_zPFLt1CLEeWVDv-g61eepg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_zPFLuFCLEeWVDv-g61eepg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_zPFLuVCLEeWVDv-g61eepg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zPFLulCLEeWVDv-g61eepg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_zPFLu1CLEeWVDv-g61eepg" visible="false" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_zPFLvFCLEeWVDv-g61eepg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_zPFLvVCLEeWVDv-g61eepg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_zPFLvlCLEeWVDv-g61eepg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zPFLv1CLEeWVDv-g61eepg"/> + </children> + <element xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66Gknzq8EeW79ofuztDyTA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zPEkoVCLEeWVDv-g61eepg" x="60" y="20" height="61"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_zPai4FCLEeWVDv-g61eepg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_zPai4VCLEeWVDv-g61eepg" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_zPai41CLEeWVDv-g61eepg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66Gknzq8EeW79ofuztDyTA"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zPai4lCLEeWVDv-g61eepg" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="__C9CY1CLEeWVDv-g61eepg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="__C9CZFCLEeWVDv-g61eepg" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="__C9CZlCLEeWVDv-g61eepg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_3etN0FCLEeWVDv-g61eepg"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="__C9CZVCLEeWVDv-g61eepg" x="481" y="260"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_zP-nIAChEeabH6-I0dvpUQ" type="2008"> + <children xmi:type="notation:DecorationNode" xmi:id="_zQC4kAChEeabH6-I0dvpUQ" type="5029"/> + <children xmi:type="notation:DecorationNode" xmi:id="_zQC4kQChEeabH6-I0dvpUQ" type="8510"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_zQDfoAChEeabH6-I0dvpUQ" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_zQEGsAChEeabH6-I0dvpUQ" visible="false" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_zQEGsQChEeabH6-I0dvpUQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_zQEGsgChEeabH6-I0dvpUQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_zQEGswChEeabH6-I0dvpUQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zQEGtAChEeabH6-I0dvpUQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_zQEGtQChEeabH6-I0dvpUQ" visible="false" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_zQEGtgChEeabH6-I0dvpUQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_zQEGtwChEeabH6-I0dvpUQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_zQEGuAChEeabH6-I0dvpUQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zQEGuQChEeabH6-I0dvpUQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_zQEGugChEeabH6-I0dvpUQ" visible="false" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_zQEGuwChEeabH6-I0dvpUQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_zQEGvAChEeabH6-I0dvpUQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_zQEGvQChEeabH6-I0dvpUQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zQEGvgChEeabH6-I0dvpUQ"/> + </children> + <element xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66Puhzq8EeW79ofuztDyTA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zP-nIQChEeabH6-I0dvpUQ" x="458" y="23" height="50"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_zQ07sAChEeabH6-I0dvpUQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_zQ07sQChEeabH6-I0dvpUQ" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_zQ07swChEeabH6-I0dvpUQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66Puhzq8EeW79ofuztDyTA"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zQ07sgChEeabH6-I0dvpUQ" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_zxZ5MAChEeabH6-I0dvpUQ" type="2008"> + <children xmi:type="notation:DecorationNode" xmi:id="_zxZ5MgChEeabH6-I0dvpUQ" type="5029"/> + <children xmi:type="notation:DecorationNode" xmi:id="_zxZ5MwChEeabH6-I0dvpUQ" type="8510"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_zxZ5NAChEeabH6-I0dvpUQ" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_zxZ5NQChEeabH6-I0dvpUQ" visible="false" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_zxZ5NgChEeabH6-I0dvpUQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_zxZ5NwChEeabH6-I0dvpUQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_zxZ5OAChEeabH6-I0dvpUQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zxZ5OQChEeabH6-I0dvpUQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_zxagQAChEeabH6-I0dvpUQ" visible="false" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_zxagQQChEeabH6-I0dvpUQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_zxagQgChEeabH6-I0dvpUQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_zxagQwChEeabH6-I0dvpUQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zxagRAChEeabH6-I0dvpUQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_zxagRQChEeabH6-I0dvpUQ" visible="false" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_zxagRgChEeabH6-I0dvpUQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_zxagRwChEeabH6-I0dvpUQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_zxagSAChEeabH6-I0dvpUQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zxagSQChEeabH6-I0dvpUQ"/> + </children> + <element xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66PuiTq8EeW79ofuztDyTA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zxZ5MQChEeabH6-I0dvpUQ" x="832" y="22" height="50"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_zyCyYwChEeabH6-I0dvpUQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_zyCyZAChEeabH6-I0dvpUQ" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_zyCyZgChEeabH6-I0dvpUQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66PuiTq8EeW79ofuztDyTA"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zyCyZQChEeabH6-I0dvpUQ" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_InXbcACiEeabH6-I0dvpUQ" type="2008"> + <children xmi:type="notation:DecorationNode" xmi:id="_InYCgACiEeabH6-I0dvpUQ" type="5029"/> + <children xmi:type="notation:DecorationNode" xmi:id="_InYCgQCiEeabH6-I0dvpUQ" type="8510"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_InYCggCiEeabH6-I0dvpUQ" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_InYCgwCiEeabH6-I0dvpUQ" visible="false" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_InYChACiEeabH6-I0dvpUQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_InYChQCiEeabH6-I0dvpUQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_InYChgCiEeabH6-I0dvpUQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_InYChwCiEeabH6-I0dvpUQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_InYCiACiEeabH6-I0dvpUQ" visible="false" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_InYCiQCiEeabH6-I0dvpUQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_InYCigCiEeabH6-I0dvpUQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_InYCiwCiEeabH6-I0dvpUQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_InYCjACiEeabH6-I0dvpUQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_InYCjQCiEeabH6-I0dvpUQ" visible="false" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_InYCjgCiEeabH6-I0dvpUQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_InYCjwCiEeabH6-I0dvpUQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_InYCkACiEeabH6-I0dvpUQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_InYCkQCiEeabH6-I0dvpUQ"/> + </children> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_7zbO4AChEeabH6-I0dvpUQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_InXbcQCiEeabH6-I0dvpUQ" x="775" y="181" height="38"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_Inf-UwCiEeabH6-I0dvpUQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_Inf-VACiEeabH6-I0dvpUQ" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Inf-VgCiEeabH6-I0dvpUQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_7zbO4AChEeabH6-I0dvpUQ"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Inf-VQCiEeabH6-I0dvpUQ" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_L_MS4ACiEeabH6-I0dvpUQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_L_MS4QCiEeabH6-I0dvpUQ" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_L_MS4wCiEeabH6-I0dvpUQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_K1HFYACiEeabH6-I0dvpUQ"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_L_MS4gCiEeabH6-I0dvpUQ" x="1016" y="104"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_Mt5zAwCiEeabH6-I0dvpUQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_Mt5zBACiEeabH6-I0dvpUQ" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Mt6aEACiEeabH6-I0dvpUQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_KLUhgACiEeabH6-I0dvpUQ"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Mt5zBQCiEeabH6-I0dvpUQ" x="1016" y="104"/> + </children> + <styles xmi:type="notation:StringValueStyle" xmi:id="_uc4A8VCLEeWVDv-g61eepg" name="diagram_compatibility_version" stringValue="1.1.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_uc4A8lCLEeWVDv-g61eepg"/> + <styles xmi:type="style:PapyrusViewStyle" xmi:id="_uc4A81CLEeWVDv-g61eepg"> + <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> + </styles> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> + <edges xmi:type="notation:Connector" xmi:id="_vbJnEFCLEeWVDv-g61eepg" type="StereotypeCommentLink" source="_vahU8FCLEeWVDv-g61eepg" target="_vbHx4FCLEeWVDv-g61eepg"> + <styles xmi:type="notation:FontStyle" xmi:id="_vbJnEVCLEeWVDv-g61eepg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_vbJnFVCLEeWVDv-g61eepg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_a0GrwOLIEeSv5dwvZ9NSDw"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_vbJnElCLEeWVDv-g61eepg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_vbJnE1CLEeWVDv-g61eepg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_vbJnFFCLEeWVDv-g61eepg"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_zPai5FCLEeWVDv-g61eepg" type="StereotypeCommentLink" source="_zPEkoFCLEeWVDv-g61eepg" target="_zPai4FCLEeWVDv-g61eepg"> + <styles xmi:type="notation:FontStyle" xmi:id="_zPai5VCLEeWVDv-g61eepg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_zPbJ8FCLEeWVDv-g61eepg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66Gknzq8EeW79ofuztDyTA"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_zPai5lCLEeWVDv-g61eepg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zPai51CLEeWVDv-g61eepg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zPai6FCLEeWVDv-g61eepg"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_3fDzIFCLEeWVDv-g61eepg" type="4006" source="_vahU8FCLEeWVDv-g61eepg" target="_zPEkoFCLEeWVDv-g61eepg"> + <children xmi:type="notation:DecorationNode" xmi:id="_3fEaMFCLEeWVDv-g61eepg" type="6014"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_3fEaMVCLEeWVDv-g61eepg" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_3fEaMlCLEeWVDv-g61eepg" type="6015"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_3fEaM1CLEeWVDv-g61eepg" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_3fDzIVCLEeWVDv-g61eepg"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_3etN0FCLEeWVDv-g61eepg"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_3fDzIlCLEeWVDv-g61eepg" points="[9, -17, -107, 191]$[98, -218, -18, -10]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GAli4FCMEeWVDv-g61eepg" id="(0.4984423676012461,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Fpss4FCMEeWVDv-g61eepg" id="(0.4892966360856269,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="__C9pcFCLEeWVDv-g61eepg" type="StereotypeCommentLink" source="_3fDzIFCLEeWVDv-g61eepg" target="__C9CY1CLEeWVDv-g61eepg"> + <styles xmi:type="notation:FontStyle" xmi:id="__C9pcVCLEeWVDv-g61eepg"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="__C9pdVCLEeWVDv-g61eepg" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_3etN0FCLEeWVDv-g61eepg"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__C9pclCLEeWVDv-g61eepg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="__C9pc1CLEeWVDv-g61eepg"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="__C9pdFCLEeWVDv-g61eepg"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_zQ1iwAChEeabH6-I0dvpUQ" type="StereotypeCommentLink" source="_zP-nIAChEeabH6-I0dvpUQ" target="_zQ07sAChEeabH6-I0dvpUQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_zQ1iwQChEeabH6-I0dvpUQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_zQ1ixQChEeabH6-I0dvpUQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66Puhzq8EeW79ofuztDyTA"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_zQ1iwgChEeabH6-I0dvpUQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zQ1iwwChEeabH6-I0dvpUQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zQ1ixAChEeabH6-I0dvpUQ"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_zyCyZwChEeabH6-I0dvpUQ" type="StereotypeCommentLink" source="_zxZ5MAChEeabH6-I0dvpUQ" target="_zyCyYwChEeabH6-I0dvpUQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_zyCyaAChEeabH6-I0dvpUQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_zyDZcgChEeabH6-I0dvpUQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66PuiTq8EeW79ofuztDyTA"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_zyCyaQChEeabH6-I0dvpUQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zyDZcAChEeabH6-I0dvpUQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zyDZcQChEeabH6-I0dvpUQ"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_Inf-VwCiEeabH6-I0dvpUQ" type="StereotypeCommentLink" source="_InXbcACiEeabH6-I0dvpUQ" target="_Inf-UwCiEeabH6-I0dvpUQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_Inf-WACiEeabH6-I0dvpUQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_InglYgCiEeabH6-I0dvpUQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_7zbO4AChEeabH6-I0dvpUQ"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Inf-WQCiEeabH6-I0dvpUQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_InglYACiEeabH6-I0dvpUQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_InglYQCiEeabH6-I0dvpUQ"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_KLb2QACiEeabH6-I0dvpUQ" type="4006" source="_InXbcACiEeabH6-I0dvpUQ" target="_zxZ5MAChEeabH6-I0dvpUQ"> + <children xmi:type="notation:DecorationNode" xmi:id="_KLcdUACiEeabH6-I0dvpUQ" type="6014"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_KLcdUQCiEeabH6-I0dvpUQ" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_KLcdUgCiEeabH6-I0dvpUQ" type="6015"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_KLcdUwCiEeabH6-I0dvpUQ" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_KLb2QQCiEeabH6-I0dvpUQ"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_KLUhgACiEeabH6-I0dvpUQ"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_KLb2QgCiEeabH6-I0dvpUQ" points="[1, -9, -32, 180]$[1, -202, -32, -13]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KMBFEACiEeabH6-I0dvpUQ" id="(0.5652173913043478,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KMBFEQCiEeabH6-I0dvpUQ" id="(0.21153846153846154,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_K1OaIACiEeabH6-I0dvpUQ" type="4006" source="_InXbcACiEeabH6-I0dvpUQ" target="_zP-nIAChEeabH6-I0dvpUQ"> + <children xmi:type="notation:DecorationNode" xmi:id="_K1PBMACiEeabH6-I0dvpUQ" type="6014"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_K1PBMQCiEeabH6-I0dvpUQ" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_K1PBMgCiEeabH6-I0dvpUQ" type="6015"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_K1PBMwCiEeabH6-I0dvpUQ" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_K1OaIQCiEeabH6-I0dvpUQ"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_K1HFYACiEeabH6-I0dvpUQ"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_K1OaIgCiEeabH6-I0dvpUQ" points="[-6, -11, 357, 192]$[6, -165, 369, 38]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_K1uJYACiEeabH6-I0dvpUQ" id="(0.08074534161490683,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_K1uJYQCiEeabH6-I0dvpUQ" id="(0.8319783197831978,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_L_MS5ACiEeabH6-I0dvpUQ" type="StereotypeCommentLink" source="_K1OaIACiEeabH6-I0dvpUQ" target="_L_MS4ACiEeabH6-I0dvpUQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_L_MS5QCiEeabH6-I0dvpUQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_L_MS6QCiEeabH6-I0dvpUQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_K1HFYACiEeabH6-I0dvpUQ"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_L_MS5gCiEeabH6-I0dvpUQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_L_MS5wCiEeabH6-I0dvpUQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_L_MS6ACiEeabH6-I0dvpUQ"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_Mt6aEQCiEeabH6-I0dvpUQ" type="StereotypeCommentLink" source="_KLb2QACiEeabH6-I0dvpUQ" target="_Mt5zAwCiEeabH6-I0dvpUQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_Mt6aEgCiEeabH6-I0dvpUQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Mt6aFgCiEeabH6-I0dvpUQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.diagram.blockdefinition.uml#_KLUhgACiEeabH6-I0dvpUQ"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Mt6aEwCiEeabH6-I0dvpUQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Mt6aFACiEeabH6-I0dvpUQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Mt6aFQCiEeabH6-I0dvpUQ"/> + </edges> + </notation:Diagram> +</xmi:XMI>
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/resources/doc/org.eclipse.papyrus.sysml.diagram.blockdefinition.uml b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/resources/doc/org.eclipse.papyrus.sysml.diagram.blockdefinition.uml new file mode 100644 index 0000000..04ef2bc --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/resources/doc/org.eclipse.papyrus.sysml.diagram.blockdefinition.uml
@@ -0,0 +1,203 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Requirements="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements http://www.eclipse.org/papyrus/sysml/1.4/SysML"> + <uml:Model xmi:id="_OFsfcOLIEeSv5dwvZ9NSDw" name="org.eclipse.papyrus.sysml.diagram.blockdefinition"> + <packageImport xmi:type="uml:PackageImport" xmi:id="_OFsfceLIEeSv5dwvZ9NSDw"> + <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/> + </packageImport> + <packagedElement xmi:type="uml:Model" xmi:id="_OFsfcuLIEeSv5dwvZ9NSDw" name="Requirements"> + <ownedComment xmi:type="uml:Comment" xmi:id="_dICO8Oc2EeSLdPGe2q9R0g"> + <body>This package will contains all graphical requirements for Sysml elements contained int he Block package and displayed in the BDD diagram</body> + </ownedComment> + <packagedElement xmi:type="uml:Class" xmi:id="_a0GrwOLIEeSv5dwvZ9NSDw" name="Block display"/> + <packagedElement xmi:type="uml:Class" xmi:id="_lLZBYOc2EeSLdPGe2q9R0g" name="The block can display constraints "/> + <packagedElement xmi:type="uml:Class" xmi:id="_SnnPoB_KEeWp9rJ2gmw59A" name="FlowPortCompartment"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_3etN0FCLEeWVDv-g61eepg" client="_a0GrwOLIEeSv5dwvZ9NSDw"> + <supplier xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66Gknzq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_13F9sGauEeWv7P_h5u3SSw" name="FlowSpecification"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_14bacGauEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-C.3.1.2 FlowSpecification" client="_13F9sGauEeWv7P_h5u3SSw"> + <supplier xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66bUujq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_rHmEMGalEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-16.3.2.5 TestCase 1" client="_rFDGgGalEeWv7P_h5u3SSw"> + <supplier xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66XDTzq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_2AL-YGalEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-16.3.2.5 TestCase 2" client="_2AKJMGalEeWv7P_h5u3SSw"> + <supplier xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66XDTzq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_26IeIGalEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-16.3.2.5 TestCase 3" client="_26HQAGalEeWv7P_h5u3SSw"> + <supplier xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66XDTzq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_3n9NcGalEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-16.3.2.5 TestCase 4" client="_3n7_UGalEeWv7P_h5u3SSw"> + <supplier xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66XDTzq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_4VvggGalEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-16.3.2.5 TestCase 5" client="_4VuSYGalEeWv7P_h5u3SSw"> + <supplier xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66XDTzq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_5JBXkGalEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-16.3.2.5 TestCase 6" client="_5JAJcGalEeWv7P_h5u3SSw"> + <supplier xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66XDTzq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_9sBksI3hEeWA_aqQQ02JeA" name="Allocate"/> + <packagedElement xmi:type="uml:Class" xmi:id="_9sBksY3hEeWA_aqQQ02JeA" name="Allocated"/> + <packagedElement xmi:type="uml:Class" xmi:id="_9sBkso3hEeWA_aqQQ02JeA" name="Conform"/> + <packagedElement xmi:type="uml:Class" xmi:id="_9sBks43hEeWA_aqQQ02JeA" name="Problem"/> + <packagedElement xmi:type="uml:Class" xmi:id="_9sBktI3hEeWA_aqQQ02JeA" name="Rationale"/> + <packagedElement xmi:type="uml:Class" xmi:id="_9sBktY3hEeWA_aqQQ02JeA" name="View"/> + <packagedElement xmi:type="uml:Class" xmi:id="_9sBkto3hEeWA_aqQQ02JeA" name="Viewpoint"/> + <packagedElement xmi:type="uml:Class" xmi:id="_9sBkuI3hEeWA_aqQQ02JeA" name="ConnectorProperty"/> + <packagedElement xmi:type="uml:Class" xmi:id="_9sBkuY3hEeWA_aqQQ02JeA" name="DistributedProperty"/> + <packagedElement xmi:type="uml:Class" xmi:id="_9sBkuo3hEeWA_aqQQ02JeA" name="ParticipantProperty"/> + <packagedElement xmi:type="uml:Class" xmi:id="_9sBku43hEeWA_aqQQ02JeA" name="PropertySpecificType"/> + <packagedElement xmi:type="uml:Class" xmi:id="_9sBkvI3hEeWA_aqQQ02JeA" name="QuantityKind"/> + <packagedElement xmi:type="uml:Class" xmi:id="_9sBkvY3hEeWA_aqQQ02JeA" name="Unit"/> + <packagedElement xmi:type="uml:Class" xmi:id="_9sBkvo3hEeWA_aqQQ02JeA" name="ValueType"/> + <packagedElement xmi:type="uml:Class" xmi:id="_9sBkv43hEeWA_aqQQ02JeA" name="ItemFlow"/> + <packagedElement xmi:type="uml:Class" xmi:id="_9sCLwY3hEeWA_aqQQ02JeA" name="InformationFlow"/> + <packagedElement xmi:type="uml:Class" xmi:id="_9sCLwo3hEeWA_aqQQ02JeA" name="InformationItem"/> + <packagedElement xmi:type="uml:Class" xmi:id="_9sCLw43hEeWA_aqQQ02JeA" name="Requirement"/> + <packagedElement xmi:type="uml:Class" xmi:id="_9sCLxI3hEeWA_aqQQ02JeA" name="RequirementRelated"/> + <packagedElement xmi:type="uml:Class" xmi:id="_9sCLxY3hEeWA_aqQQ02JeA" name="TestCase"> + <nestedClassifier xmi:type="uml:Class" xmi:id="_rFDGgGalEeWv7P_h5u3SSw" name="palette for Activity with TestCase stereotype"/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_2AKJMGalEeWv7P_h5u3SSw" name="palette for FunctionBehavior with TestCase stereotype"/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_26HQAGalEeWv7P_h5u3SSw" name="palette for OpaqueBehavior with TestCase stereotype"/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_3n7_UGalEeWv7P_h5u3SSw" name="palette for ProtocolStateMachine with TestCase stereotype"/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_4VuSYGalEeWv7P_h5u3SSw" name="palette for StateMachine with TestCase stereotype"/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_5JAJcGalEeWv7P_h5u3SSw" name="palette for Interaction with TestCase stereotype"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_9sCLxo3hEeWA_aqQQ02JeA" name="Satisfy"/> + <packagedElement xmi:type="uml:Class" xmi:id="_9sCLx43hEeWA_aqQQ02JeA" name="Verify"/> + <packagedElement xmi:type="uml:Class" xmi:id="_9sCLyI3hEeWA_aqQQ02JeA" name="DirectedFeature"/> + <packagedElement xmi:type="uml:Class" xmi:id="_9sCLyY3hEeWA_aqQQ02JeA" name="FlowProperty"/> + <packagedElement xmi:type="uml:Class" xmi:id="_9sCLyo3hEeWA_aqQQ02JeA" name="InterfaceBlock"/> + <packagedElement xmi:type="uml:Class" xmi:id="_9sCLy43hEeWA_aqQQ02JeA" name="AssociationBlock"/> + <packagedElement xmi:type="uml:Class" xmi:id="_aMTSAOgEEeSUQvXhEVQh8w" name="Actor in BDD"/> + <packagedElement xmi:type="uml:Class" xmi:id="_axoMoOgEEeSUQvXhEVQh8w" name="Enumeration in BDD "/> + <packagedElement xmi:type="uml:Class" xmi:id="_CFE94OgFEeSUQvXhEVQh8w" name="InstanceSpecification in BDD "/> + <packagedElement xmi:type="uml:Class" xmi:id="_CM0koOgFEeSUQvXhEVQh8w" name="Dependency in BDD "/> + <packagedElement xmi:type="uml:Class" xmi:id="_V_dWwOgHEeSUQvXhEVQh8w" name="Generalization in BDD "/> + <packagedElement xmi:type="uml:Class" xmi:id="_7zbO4AChEeabH6-I0dvpUQ" name="ConstraintBlock display"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_KLUhgACiEeabH6-I0dvpUQ" client="_7zbO4AChEeabH6-I0dvpUQ"> + <supplier xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66PuiTq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_K1HFYACiEeabH6-I0dvpUQ" client="_7zbO4AChEeabH6-I0dvpUQ"> + <supplier xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66Puhzq8EeW79ofuztDyTA"/> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Model" xmi:id="_OFsfc-LIEeSv5dwvZ9NSDw" name="UseCases"> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_OFsfdOLIEeSv5dwvZ9NSDw" name="useCasesAbstraction" client="_OFsfc-LIEeSv5dwvZ9NSDw" supplier="_OFsfcuLIEeSv5dwvZ9NSDw"/> + <packagedElement xmi:type="uml:Component" xmi:id="_OFsfdeLIEeSv5dwvZ9NSDw" name="MySystem"/> + </packagedElement> + <packagedElement xmi:type="uml:Model" xmi:id="_OFsfduLIEeSv5dwvZ9NSDw" name="Design"> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_OFsfd-LIEeSv5dwvZ9NSDw" name="DesignAbstraction" client="_OFsfduLIEeSv5dwvZ9NSDw" supplier="_OFsfc-LIEeSv5dwvZ9NSDw"/> + </packagedElement> + <packagedElement xmi:type="uml:Model" xmi:id="_OFsfeOLIEeSv5dwvZ9NSDw" name="Test"> + <packagedElement xmi:type="uml:Dependency" xmi:id="_OFsfeeLIEeSv5dwvZ9NSDw" name="Dependency1" client="_OFsfeOLIEeSv5dwvZ9NSDw" supplier="_OFsfc-LIEeSv5dwvZ9NSDw"/> + <packagedElement xmi:type="uml:Dependency" xmi:id="_OFsfeuLIEeSv5dwvZ9NSDw" name="Dependency2" client="_OFsfeOLIEeSv5dwvZ9NSDw" supplier="_OFsfduLIEeSv5dwvZ9NSDw"/> + </packagedElement> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4IY7IDyQEeehi70ty50hrw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4IrPADyQEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#/"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4IsdIDyQEeehi70ty50hrw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4ItEMDyQEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//activities"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Activities"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4IwukDyQEeehi70ty50hrw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4IwukTyQEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//allocations"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Allocations"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4Ix8sDyQEeehi70ty50hrw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4IyjwDyQEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//blocks"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4Izx4DyQEeehi70ty50hrw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4I0Y8DyQEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//constraintblocks"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ConstraintBlocks"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4I1nEDyQEeehi70ty50hrw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4I2OIDyQEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//deprecatedelements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_DeprecatedElements"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4I21MDyQEeehi70ty50hrw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4I3cQDyQEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//modelelements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ModelElements"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4I4qYDyQEeehi70ty50hrw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4I4qYTyQEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//portsandflows"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4I54gDyQEeehi70ty50hrw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4I6fkDyQEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements"/> + </profileApplication> + </uml:Model> + <Requirements:Requirement xmi:id="_a0OAgOLIEeSv5dwvZ9NSDw" text="The block can display constraints, operations, parts, references, values, properties compartments" id="req001" base_Class="_a0GrwOLIEeSv5dwvZ9NSDw"/> + <Requirements:Requirement xmi:id="_lLa2kOc2EeSLdPGe2q9R0g" text="The block can display a constraint compartment : 
 - this compartment is present by default in palette creation and drop
 - the compartment is named "constraints"
 - each constraint should take a line and display by default : 
 - the constraint icon
 - the constraint specification value " id="req002" base_Class="_lLZBYOc2EeSLdPGe2q9R0g"/> + <Requirements:Requirement xmi:id="_aMT5EOgEEeSUQvXhEVQh8w" text="Actor should be present as a stick man figure or as a rectangle" id="req035" base_Class="_aMTSAOgEEeSUQvXhEVQh8w"/> + <Requirements:Requirement xmi:id="_axpawOgEEeSUQvXhEVQh8w" text="Enumeration in BDD " id="req036" base_Class="_axoMoOgEEeSUQvXhEVQh8w"/> + <Requirements:Requirement xmi:id="_CFFk8OgFEeSUQvXhEVQh8w" text="Create an UML instance specification" id="req037" base_Class="_CFE94OgFEeSUQvXhEVQh8w"/> + <Requirements:Requirement xmi:id="_CM2Z0OgFEeSUQvXhEVQh8w" text="Create an UML dependency" id="req038" base_Class="_CM0koOgFEeSUQvXhEVQh8w"/> + <Requirements:Requirement xmi:id="_V_ek4OgHEeSUQvXhEVQh8w" text="Table 8.2 - Graphical paths defined by in Block Definition diagrams" id="req039" base_Class="_V_dWwOgHEeSUQvXhEVQh8w"/> + <Requirements:Requirement xmi:id="_Snq6AB_KEeWp9rJ2gmw59A" text="The FlowPortCompartment should'nt be prenset by default since FlowPorts arer Deprecated" id="req003" base_Class="_SnnPoB_KEeWp9rJ2gmw59A"/> + <Requirements:DeriveReqt xmi:id="__CrVkFCLEeWVDv-g61eepg" base_Abstraction="_3etN0FCLEeWVDv-g61eepg"/> + <Requirements:Requirement xmi:id="_rHkPAGalEeWv7P_h5u3SSw" text="Block Definition Diagram should have a palette element to create Activity with TestCase stereotype.
TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=186" id="req028.001" base_Class="_rFDGgGalEeWv7P_h5u3SSw"/> + <Requirements:DeriveReqt xmi:id="_rHmrQGalEeWv7P_h5u3SSw" base_Abstraction="_rHmEMGalEeWv7P_h5u3SSw"/> + <Requirements:Requirement xmi:id="_2ALXUGalEeWv7P_h5u3SSw" text="Block Definition Diagram should have a palette element to create Functionbehavior with TestCase stereotype.
TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=186" id="req028.002" base_Class="_2AKJMGalEeWv7P_h5u3SSw"/> + <Requirements:DeriveReqt xmi:id="_2AMlcGalEeWv7P_h5u3SSw" base_Abstraction="_2AL-YGalEeWv7P_h5u3SSw"/> + <Requirements:Requirement xmi:id="_26H3EGalEeWv7P_h5u3SSw" text="Block Definition Diagram should have a palette element to create OpaqueBehavior with TestCase stereotype.
TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=186" id="req028.003" base_Class="_26HQAGalEeWv7P_h5u3SSw"/> + <Requirements:DeriveReqt xmi:id="_26JFMGalEeWv7P_h5u3SSw" base_Abstraction="_26IeIGalEeWv7P_h5u3SSw"/> + <Requirements:Requirement xmi:id="_3n8mYGalEeWv7P_h5u3SSw" text="Block Definition Diagram should have a palette element to create ProtocolStateMachine with TestCase stereotype.
TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=186" id="req028.004" base_Class="_3n7_UGalEeWv7P_h5u3SSw"/> + <Requirements:DeriveReqt xmi:id="_3n90gGalEeWv7P_h5u3SSw" base_Abstraction="_3n9NcGalEeWv7P_h5u3SSw"/> + <Requirements:Requirement xmi:id="_4Vu5cGalEeWv7P_h5u3SSw" text="Block Definition Diagram should have a palette element to create StateMachine with TestCase stereotype.
TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=186" id="req028.005" base_Class="_4VuSYGalEeWv7P_h5u3SSw"/> + <Requirements:DeriveReqt xmi:id="_4VwHkGalEeWv7P_h5u3SSw" base_Abstraction="_4VvggGalEeWv7P_h5u3SSw"/> + <Requirements:Requirement xmi:id="_5JAwgGalEeWv7P_h5u3SSw" text="Block Definition Diagram should have a palette element to create Interaction with TestCase stereotype.
TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=186" id="req028.007" base_Class="_5JAJcGalEeWv7P_h5u3SSw"/> + <Requirements:DeriveReqt xmi:id="_5JB-oGalEeWv7P_h5u3SSw" base_Abstraction="_5JBXkGalEeWv7P_h5u3SSw"/> + <Requirements:Requirement xmi:id="_14azYGauEeWv7P_h5u3SSw" text="A FlowSpecification has a “flowProperties” compartment that lists the flow properties.
FlowSpecification details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=224" id="req005" base_Class="_13F9sGauEeWv7P_h5u3SSw"/> + <Requirements:DeriveReqt xmi:id="_14bacWauEeWv7P_h5u3SSw" base_Abstraction="_14bacGauEeWv7P_h5u3SSw"/> + <Requirements:Requirement xmi:id="_9sI5cY3hEeWA_aqQQ02JeA" text="BDD must display Allocate" id="req006" base_Class="_9sBksI3hEeWA_aqQQ02JeA"/> + <Requirements:Requirement xmi:id="_9sI5co3hEeWA_aqQQ02JeA" text="BDD must display Allocated" id="req008" base_Class="_9sBksY3hEeWA_aqQQ02JeA"/> + <Requirements:Requirement xmi:id="_9sI5c43hEeWA_aqQQ02JeA" text="BDD must display Conform" id="req009" base_Class="_9sBkso3hEeWA_aqQQ02JeA"/> + <Requirements:Requirement xmi:id="_9sI5dI3hEeWA_aqQQ02JeA" text="BDD must display Problem" id="req010" base_Class="_9sBks43hEeWA_aqQQ02JeA"/> + <Requirements:Requirement xmi:id="_9sI5dY3hEeWA_aqQQ02JeA" text="BDD must display Rationale" id="req011" base_Class="_9sBktI3hEeWA_aqQQ02JeA"/> + <Requirements:Requirement xmi:id="_9sI5do3hEeWA_aqQQ02JeA" text="BDD must display View" id="req012" base_Class="_9sBktY3hEeWA_aqQQ02JeA"/> + <Requirements:Requirement xmi:id="_9sI5d43hEeWA_aqQQ02JeA" text="BDD must display Viewpoint" id="req013" base_Class="_9sBkto3hEeWA_aqQQ02JeA"/> + <Requirements:Requirement xmi:id="_9sI5eY3hEeWA_aqQQ02JeA" text="BDD must display ConnectorProperty" id="req015" base_Class="_9sBkuI3hEeWA_aqQQ02JeA"/> + <Requirements:Requirement xmi:id="_9sI5eo3hEeWA_aqQQ02JeA" text="BDD must display DistributedProperty" id="req016" base_Class="_9sBkuY3hEeWA_aqQQ02JeA"/> + <Requirements:Requirement xmi:id="_9sI5e43hEeWA_aqQQ02JeA" text="BDD must display ParticipantProperty" id="req017" base_Class="_9sBkuo3hEeWA_aqQQ02JeA"/> + <Requirements:Requirement xmi:id="_9sI5fI3hEeWA_aqQQ02JeA" text="BDD must display PropertySpecificType" id="req018" base_Class="_9sBku43hEeWA_aqQQ02JeA"/> + <Requirements:Requirement xmi:id="_9sI5fY3hEeWA_aqQQ02JeA" text="BDD must display QuantityKind" id="req019" base_Class="_9sBkvI3hEeWA_aqQQ02JeA"/> + <Requirements:Requirement xmi:id="_9sI5fo3hEeWA_aqQQ02JeA" text="BDD must display Unit" id="req020" base_Class="_9sBkvY3hEeWA_aqQQ02JeA"/> + <Requirements:Requirement xmi:id="_9sI5f43hEeWA_aqQQ02JeA" text="BDD must display ValueType" id="req021" base_Class="_9sBkvo3hEeWA_aqQQ02JeA"/> + <Requirements:Requirement xmi:id="_9sI5gI3hEeWA_aqQQ02JeA" text="BDD must display ItemFlow" id="req022" base_Class="_9sBkv43hEeWA_aqQQ02JeA"/> + <Requirements:Requirement xmi:id="_9sI5go3hEeWA_aqQQ02JeA" text="BDD must display InformationFlow" id="req024" base_Class="_9sCLwY3hEeWA_aqQQ02JeA"/> + <Requirements:Requirement xmi:id="_9sI5g43hEeWA_aqQQ02JeA" text="BDD must display InformationItem" id="req025" base_Class="_9sCLwo3hEeWA_aqQQ02JeA"/> + <Requirements:Requirement xmi:id="_9sI5hI3hEeWA_aqQQ02JeA" text="BDD must display Requirement" id="req026" base_Class="_9sCLw43hEeWA_aqQQ02JeA"/> + <Requirements:Requirement xmi:id="_9sI5hY3hEeWA_aqQQ02JeA" text="BDD must display RequirementRelated" id="req027" base_Class="_9sCLxI3hEeWA_aqQQ02JeA"/> + <Requirements:Requirement xmi:id="_9sI5ho3hEeWA_aqQQ02JeA" text="BDD must display TestCase" id="req028" base_Class="_9sCLxY3hEeWA_aqQQ02JeA"/> + <Requirements:Requirement xmi:id="_9sI5h43hEeWA_aqQQ02JeA" text="BDD must display Satisfy" id="req029" base_Class="_9sCLxo3hEeWA_aqQQ02JeA"/> + <Requirements:Requirement xmi:id="_9sI5iI3hEeWA_aqQQ02JeA" text="BDD must display Verify" id="req030" base_Class="_9sCLx43hEeWA_aqQQ02JeA"/> + <Requirements:Requirement xmi:id="_9sI5iY3hEeWA_aqQQ02JeA" text="BDD must display DirectedFeature" id="req031" base_Class="_9sCLyI3hEeWA_aqQQ02JeA"/> + <Requirements:Requirement xmi:id="_9sI5io3hEeWA_aqQQ02JeA" text="BDD must display FlowProperty" id="req032" base_Class="_9sCLyY3hEeWA_aqQQ02JeA"/> + <Requirements:Requirement xmi:id="_9sI5i43hEeWA_aqQQ02JeA" text="BDD must display InterfaceBlock" id="req033" base_Class="_9sCLyo3hEeWA_aqQQ02JeA"/> + <Requirements:Requirement xmi:id="_9sI5jI3hEeWA_aqQQ02JeA" text="BDD must display AssociationBlock" id="req034" base_Class="_9sCLy43hEeWA_aqQQ02JeA"/> + <Requirements:Requirement xmi:id="_7zdEEAChEeabH6-I0dvpUQ" text="ConstraintBlock should display a parameter compartment (in place of a attributes compartment).
ConstraintBlock should not display an operation compartment." id="req035" base_Class="_7zbO4AChEeabH6-I0dvpUQ"/> + <Requirements:DeriveReqt xmi:id="_L_GMQACiEeabH6-I0dvpUQ" base_Abstraction="_K1HFYACiEeabH6-I0dvpUQ"/> + <Requirements:DeriveReqt xmi:id="_Mt2IoACiEeabH6-I0dvpUQ" base_Abstraction="_KLUhgACiEeabH6-I0dvpUQ"/> +</xmi:XMI>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/resources/icons/obj16/Diagram_BlockDefinition.gif b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/resources/icons/obj16/Diagram_BlockDefinition.gif similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/resources/icons/obj16/Diagram_BlockDefinition.gif rename to diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/resources/icons/obj16/Diagram_BlockDefinition.gif Binary files differ
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/resources/palette/blockDefinitionDiagram.paletteconfiguration b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/resources/palette/blockDefinitionDiagram.paletteconfiguration new file mode 100644 index 0000000..50df07c --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/resources/palette/blockDefinitionDiagram.paletteconfiguration
@@ -0,0 +1,452 @@ +<?xml version="1.0" encoding="UTF-8"?> +<paletteconfiguration:PaletteConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:paletteconfiguration="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.8" id="org.eclipse.papyrus.sysML.bdd.palette.model" label="SysML BDD Palette"> + <drawerConfigurations id="org.eclipse.papyrus.sysML.palette.bdd.blocks" label="Blocks" description="Elements from SysML 1.5 chapter 8.2.1 Block Definition Diagram"> + <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.AbstractDefinition" label="AbstractDefinition" description="An AbstractDefinition represents an abstract classification of instances according to their Features."> + <icon pluginID="org.eclipse.papyrus.uml.service.types" iconPath="icons/Classifier.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.AbstractDefinition_NamedElement_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.Actor" label="Actor" description="An Actor specifies a role played by a user or any other system that interacts with the subject."> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Actor.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Actor_Class"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:StackConfiguration" id="org.eclipse.papyrus.sysML.bdd.palette.stack.associations" label="Associations"> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.associationdirected" label="Association (Directed)" description="Create a Directed Association" kind="ConnectionTool" toolClassName=""> + <icon pluginID="org.eclipse.papyrus.uml.service.types" iconPath="/icons/Association_none_directed.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.AssociationDirected_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.association" label="Association" description="Create an Association" kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Association.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.AssociationNonDirected_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.associationcompositedirected" label="Composite Association (Directed)" description="Create a Directed composite Association" kind="ConnectionTool" toolClassName=""> + <icon pluginID="org.eclipse.papyrus.uml.service.types" iconPath="/icons/Association_composite_directed.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.AssociationCompositeDirected_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.associationshareddirected" label="Shared Association (Directed)" description="Create a Directed Shared Association" kind="ConnectionTool" toolClassName=""> + <icon pluginID="org.eclipse.papyrus.uml.service.types" iconPath="/icons/Association_shared_directed.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.AssociationSharedDirected_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.SharedAssociation" label="SharedAssociation" description="Create a SharedAssociation" kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Association_shared.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.AssociationShared_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.PartAssociation" label="PartAssociation" description="Create a Part Association" kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Association_composite.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.AssociationComposite_Edge"/> + </elementDescriptors> + </ownedConfigurations> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.Block" label="Block" description="A Block is a modular unit that describes the structure of a system or element."> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="icons/full/obj16/Block.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Block_Class_MetaclassShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Block_Class_MetaclassShape_CN"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Block_Class_NestedClassifierLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Block_Class_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Block_Class_Shape_CN"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.BoundReference" label="BoundReference" description="The BoundReference stereotype can be applied to properties that have binding connectors, to highlight their usage as"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Property.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_AttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_ClassAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_ComponentAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_DataTypeAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_Edge"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_InterfaceAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_PrimitiveTypeAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_Shape_CN"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_SignalAttributeLabel"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.ConnectorProperty" label="ConnectorProperty" description="The values of a connector property are instances of the association block created due to the connector"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Property.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_AttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_ClassAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_ComponentAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_DataTypeAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_Edge"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_InterfaceAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_PrimitiveTypeAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_Shape_CN"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_SignalAttributeLabel"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.ContainmentLink" label="Containment Link" description="A Containment Link indicate that a element is owned by an other element" kind="ConnectionTool"> + <icon pluginID="org.eclipse.papyrus.uml.diagram.clazz" iconPath="/icons/obj16/ContainmentConnection.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Element_ContainmentEdge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.Dependency" label="Dependency" description="A Dependency is a Relationship that signifies that a single model Element or a set of model Elements requires other model Elements for their specification or implementation." kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Dependency.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Dependency_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.EndPathMultiplicity" label="EndPathMultiplicity" description="The EndPathMultiplicity stereotype can be applied to properties that are related by redefinition to properties that have"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Property.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_AttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_ClassAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_ComponentAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_DataTypeAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_Edge"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_InterfaceAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_PrimitiveTypeAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_Shape_CN"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_SignalAttributeLabel"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.Enumeration" label="Enumeration" description="An Enumeration is a DataType whose values are enumerated in the model as EnumerationLiterals."> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Enumeration.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Enumeration_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Enumeration_Shape_CN"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Enumeration_ClassNestedClassifierLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Enumeration_InterfaceNestedClassifierLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Enumeration_ComponentNestedClassifierLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Enumeration_NestedClassifierLabel"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.Generalization" label="Generalization" description="A Generalization is a taxonomic relationship between a more general Classifier and a more specific Classifier." kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Generalization.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Generalization_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.InstanceSpecification" label="Instance Specification" description="An InstanceSpecification is a model element that represents an instance in a modeled system."> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/InstanceSpecification.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InstanceSpecification_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InstanceSpecification_Shape_CN"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.ParticipantProperty" label="ParticipantProperty" description="The value of a participant property on an instance (link) of the association block is the value or object at the end of the link corresponding to this end of the association."> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Property.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_AttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_ClassAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_ComponentAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_DataTypeAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_Edge"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_InterfaceAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_PrimitiveTypeAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_Shape_CN"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_SignalAttributeLabel"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.Stereotype" label="Stereotype" description="A stereotype defines how an existing metaclass may be extended, and enables the use of platform or domain specific terminology or notation in place of, or in addition to, the ones used for the extended metaclass."> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Stereotype.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Stereotype_Shape_CN"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Stereotype_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.ValueType" label="ValueType" description="A ValueType defines types of values that may be used to express information about a system, but cannot be identified as the target of any reference."> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="icons/full/obj16/ValueType.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ValueType_DataType_NestedClassifierLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ValueType_DataType_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ValueType_DataType_Shape_CN"/> + </elementDescriptors> + </ownedConfigurations> + </drawerConfigurations> + <drawerConfigurations id="org.eclipse.papyrus.sysML.palette.bdd.ports" label="Ports and Flows" description="Elements from SysML 1.5 chapter 9.2.1 Block Definition Diagram"> + <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.FlowPort" label="FlowPort" description="A FlowPorts is an interaction point through which input and/or output of items such as data, material, or energy may flow. (Deprecated)"> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="icons/full/obj16/FlowProperty.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowPort_Label"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.FlowProperty" label="FlowProperty" description="A FlowProperty signifies a single flow element to/from a block."> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="icons/full/obj16/FlowProperty.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowProperty_Property_AttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowProperty_Property_ClassAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowProperty_Property_ComponentAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowProperty_Property_DataTypeAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowProperty_Property_Edge"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowProperty_Property_InterfaceAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowProperty_Property_PrimitiveTypeAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowProperty_Property_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowProperty_Property_Shape_CN"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowProperty_Property_SignalAttributeLabel"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.Class_FullPort" label="FullPort" description="Full ports specify a separate element of the system from the owning block or its internal parts."> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="icons/full/obj16/FullPort.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Class_FullPort"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FullPort_Label"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.Interface" label="Interface" description="Interfaces declare coherent services that are implemented by BehavioredClassifiers that implement the Interfaces via InterfaceRealizations."> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Interface.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Interface_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Interface_Shape_CN"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Interface_ClassNestedClassifierLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Interface_NestedClassifierLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Interface_ClassifierShape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.InterfaceBlock" label="InterfaceBlock" description="Interface blocks cannot have behaviors, including classifier behaviors or methods, or internal parts."> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Class.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_MetaclassShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_MetaclassShape_CN"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_NestedClassifierLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_Shape_CN"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.ItemFlow" label="ItemFlow" description="An ItemFlow describes the flow of items across a connector or an association." kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/InformationFlow.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ItemFlow_InformationFlow_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.Class_Port" label="Port" description="A Port is a property of an EncapsulatedClassifier that specifies a distinct interaction point between that EncapsulatedClassifier and its environment or between the (behavior of the) EncapsulatedClassifier and its internal parts."> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Port.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Class_Port"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.Class_ProxyPort" label="ProxyPort" description="Proxy ports identify features of the owning block or its internal parts that are available to external blocks through external connectors to the ports."> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="icons/full/obj16/ProxyPort.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Class_ProxyPort"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ProxyPort_Label"/> + </elementDescriptors> + </ownedConfigurations> + </drawerConfigurations> + <drawerConfigurations id="org.eclipse.papyrus.sysML.palette.bdd.contraints" label="Constraints" description="Elements from SysML 1.5 chapter 10.2.1 Block Definition Diagram"> + <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.Constraints.Constraint" label="Constraint" description="A Constraint is a condition or restriction expressed in natural language text or in a machine readable language."> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Constraint.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_Shape_CN"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_Shape_CCN"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_PackagedElementShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_PackagedElementShape_CN"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Constraint_Label"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.ConstraintBlock" label="ConstraintBlock" description="A constraint block is a block that packages the statement of a constraint so it may be applied in a reusable way to contrain properties of other blocks."> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="/icons/full/obj16/ConstraintBlock.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_ClassNestedClassifierLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_ComponentNestedClassifierLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_InterfaceNestedClassifierLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_MetaclassShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_MetaclassShape_CN"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_NestedClassifierLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_Shape_CN"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.Parameter" label="Parameter" description="A parameter is a property of a ConstraintBlock."> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Property.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Parameter_BorderItem"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Parameter_Property_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Parameter_Property_AttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Parameter_BorderItemClassShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Parameter_label"/> + </elementDescriptors> + </ownedConfigurations> + </drawerConfigurations> +</paletteconfiguration:PaletteConfiguration>
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/resources/style/blockDefinitionDiagram.css b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/resources/style/blockDefinitionDiagram.css new file mode 100644 index 0000000..9fb6a4d --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/resources/style/blockDefinitionDiagram.css
@@ -0,0 +1,294 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr : #521319 + *****************************************************************************/ +/* + * SHARED ELEMENTS + */ + +Compartment{ + visible: false; + showTitle: false; +} + +Compartment[kind=structure]{ + showTitle: false; +} + +Package > Compartment[kind="packagedelements"], +Model > Compartment[kind="packagedelements"]{ + visible: true; + showTitle: false; +} + +/* + * @pap.req org.eclipse.papyrus.sysml#REQ_001 + */ +[deprecated=true] { + lineColor: orange; +} + +[appliedStereotypes~="FlowSpecification"]{ + elementIcon:false; + displayIcon:false; +} + +[appliedStereotypes~="FlowSpecification"] > Compartment[kind=flowproperties]{ + visible: true; +} + +[appliedStereotypes~="ValueType"] > Compartment[kind=attributes], +[appliedStereotypes~="ValueType"] > Compartment[kind=operations], +[appliedStereotypes~="ValueType"] > Compartment[type=StereotypeCompartment]{ + visible: true; + showTitle: true; +} + +/* + * Comment + */ +Class[appliedStereotypes~="Comment"]{ + visible:true; +} + +/* + * Stereotype ElementGroup + */ + +Class[appliedStereotypes~="ElementGroup"] { + visible:true; + showTitle:true; +} + +Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] { + visible:true; + showTitle:false; +} + +Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="name"] +Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="criterion"], +Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="size"], +Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="member"], +Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="orderedMember"]{ + visible:true; +} + +/* + * Stereotype FlowProperty + */ +Class[appliedStereotypes~="FlowProperty"] { + visible:true; + showTitle:true; +} + +/* + * Problem + */ +Class[appliedStereotypes~="Problem"]{ + visible:true; +} + +/* + * Rationale + */ +Class[appliedStereotypes~="Rational"]{ + visible:true; +} + +/* + * Stakeholder + */ +Class[appliedStereotypes~="Stakeholder"] > Compartment[type=StereotypeCompartment] { + visible:true; + showTitle:false; +} + +[appliedStereotypes~="Stakeholder"] > Compartment[kind=attributes], +[appliedStereotypes~="Stakeholder"] > Compartment[kind=operations], +[appliedStereotypes~="Stakeholder"] > Compartment[kind=constraints]{ + visible: true; +} + +Class[appliedStereotypes~="Stakeholder"] > Compartment[type=StereotypeCompartment] > [property="concernList"], +Class[appliedStereotypes~="Stakeholder"] > Compartment[type=StereotypeCompartment] > [property="concern"]{ + visible:true; +} + +/* + * Stereotype View + */ +Class[appliedStereotypes~="View"] > Compartment[kind=attributes], +Class[appliedStereotypes~="View"] > Compartment[kind=operations]{ + visible:true; + showTitle:false; +} + +Class[appliedStereotypes~="View"] > Compartment[kind="nestedclassifiers"]{ + visible:false; + showTitle:false; +} + +Class[appliedStereotypes~="View"] > Compartment[type=StereotypeCompartment] { + visible:true; + showTitle:true; +} + +Class[appliedStereotypes~="View"] > Compartment[type=StereotypeCompartment] > [property="stakeholder"], +Class[appliedStereotypes~="View"] > Compartment[type=StereotypeCompartment] > [property="viewpoint"]{ + visible:true; +} + +/* + * Stereotype Viewpoint + */ +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] { + visible:true; + showTitle:false; +} + +[appliedStereotypes~="Viewpoint"] > Compartment[kind=attributes], +[appliedStereotypes~="Viewpoint"] > Compartment[kind=operations]{ + visible:true; +} + +[appliedStereotypes~="Viewpoint"] > Compartment[kind="internal structure"], +[appliedStereotypes~="Viewpoint"] > Compartment[kind="symbol"]{ + visible:false; +} + +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="stakeholder"], +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="purpose"], +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="concernList"], +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="language"], +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="method"], +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="presentation"], +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="concern"]{ + visible:true; +} + +/* + * SPECIFIC ELEMENTS + */ +BlockDefinitionDiagram Compartment{ + visible: false; + showTitle: true; +} + +BlockDefinitionDiagram Property > Compartment[kind=structure]{ + visible: true; +} + +BlockDefinitionDiagram DataType > Compartment[kind=attributes], +BlockDefinitionDiagram Enumeration > Compartment[kind=EnumerationLiteralCompartment], +BlockDefinitionDiagram InstanceSpecification > Compartment[kind=slots], +BlockDefinitionDiagram Interface > Compartment[kind=attributes], +BlockDefinitionDiagram Interface > Compartment[kind=operations]{ + showTitle:true; + visible: true; +} + +/* + * Stereotype Block + */ +[appliedStereotypes~="Block"] > Compartment[kind=attributes], +[appliedStereotypes~="Block"] > Compartment[kind=operations], +[appliedStereotypes~="Block"] > Compartment[kind=constraints], +[appliedStereotypes~="Block"] > Compartment[kind="parts"]{ + visible: true; + showTitle:true; +} + +[appliedStereotypes~="Block"] > Compartment[kind=nestedclassifiers], +[appliedStereotypes~="Block"] > Compartment[kind=StereotypeCompartment], +[appliedStereotypes~="Block"] > Compartment[kind=FullPorts] { + visible:false; + showTitle:false; +} + +/* + * Stereotype ConstraintBlock + */ + +Class[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=attributes], +Class[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=nestedclassifiers], +Class[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=StereotypeCompartment], +Class[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=operations] { + visible:false; + showTitle:false; +} + +Class[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=structure], +Class[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=basiccompartment], +Class[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=Parameters], +Class[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=constraints]{ + visible: true; + showTitle:true; +} + + +/* + * Stereotype InterfaceBlock + */ +Class[appliedStereotypes~=InterfaceBlock] > Compartment[kind=operations] { + visible: true; + showTitle:true; +} + +/* + * Stereotype Requirement + */ +Class[appliedStereotypes~="Requirement"] > Compartment[kind=nestedclassifiers]{ + visible:false; + showTitle:false; +} + +Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] { + visible:true; + showTitle:false; +} + +Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="derived"], +Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="derivedFrom"], +Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="satisfiedBy"], +Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="refinedBy"], +Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="tracedTo"], +Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="verifiedBy"], +Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="master"]{ + visible:false; +} + +Class[appliedStereotypes~="Requirement"] > Compartment[kind="operations"] { + visible:false; +} + +/* + * Actor + */ +Actor +{ + displayBorder:false; + displayName:false; + diplayIcon:false; + displayTag:false; + followSVGSymbol:true; + maintainSymbolRatio:true; + transparency:100; + /*displayFloatingLabel:true;*/ + maxNumberOfSymbol:1; + useOriginalColors:false; + gradient:none; + fillColor:white; +} + +Actor > Compartment[kind="symbol"] +{ + visible:true; +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/Activator.java b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/Activator.java new file mode 100644 index 0000000..cf6c1b7 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/Activator.java
@@ -0,0 +1,36 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.blockdefinition; + +import org.eclipse.jface.resource.ImageDescriptor; +import org.eclipse.ui.plugin.AbstractUIPlugin; + +/** + * 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.sysml.diagram.blockdefinition"; //$NON-NLS-1$ + + /** + * Returns an image descriptor for the image file at the given + * plug-in relative path + * + * @param path the path + * @return the image descriptor + */ + public static ImageDescriptor getImageDescriptor(String path) { + return imageDescriptorFromPlugin(PLUGIN_ID, path); + } +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/internal/factory/BlockClassifierViewFactory.java b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/internal/factory/BlockClassifierViewFactory.java new file mode 100644 index 0000000..6eafb3b --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/internal/factory/BlockClassifierViewFactory.java
@@ -0,0 +1,69 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.blockdefinition.internal.factory; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint; +import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil; +import org.eclipse.gmf.runtime.notation.Location; +import org.eclipse.gmf.runtime.notation.Node; +import org.eclipse.gmf.runtime.notation.NotationFactory; +import org.eclipse.gmf.runtime.notation.Shape; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.jface.preference.IPreferenceStore; +import org.eclipse.papyrus.sysml.diagram.common.internal.factory.AbstractBasicViewFactory; +import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.ClassAttributeCompartmentEditPart; +import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.ClassFloatingNameEditPart; +import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.ClassNameEditPart; +import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.ClassNestedClassifierCompartmentEditPart; +import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.ClassOperationCompartmentEditPart; +import org.eclipse.papyrus.uml.diagram.clazz.part.UMLVisualIDRegistry; +import org.eclipse.papyrus.uml.diagram.common.helper.PreferenceInitializerForElementHelper; + +/** + * + * extraction from classdiagram UML view Provider + * + */ +public class BlockClassifierViewFactory extends AbstractBasicViewFactory { + + /** + * Base element of Block + */ + private static final String CLASS = "Class";//$NON-NLS-1$ + + @Override + public Node createElementView(EObject domainElement, View containerView, String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint) { + Shape node = NotationFactory.eINSTANCE.createShape(); + node.setLayoutConstraint(NotationFactory.eINSTANCE.createBounds()); + node.setType(semanticHint); + ViewUtil.insertChildView(containerView, node, index, persisted); + node.setElement(domainElement); + stampShortcut(containerView, node); + // initializeFromPreferences + final IPreferenceStore prefStore = (IPreferenceStore) preferencesHint.getPreferenceStore(); + + PreferenceInitializerForElementHelper.initFontStyleFromPrefs(node, prefStore, CLASS); + createLabel(node, UMLVisualIDRegistry.getType(ClassNameEditPart.VISUAL_ID)); + Node label8510 = createLabel(node, UMLVisualIDRegistry.getType(ClassFloatingNameEditPart.VISUAL_ID)); + label8510.setLayoutConstraint(NotationFactory.eINSTANCE.createLocation()); + Location location8510 = (Location) label8510.getLayoutConstraint(); + location8510.setX(0); + location8510.setY(5); + createCompartment(node, UMLVisualIDRegistry.getType(ClassAttributeCompartmentEditPart.VISUAL_ID), true, true, true, true); + createCompartment(node, UMLVisualIDRegistry.getType(ClassOperationCompartmentEditPart.VISUAL_ID), true, true, true, true); + createCompartment(node, UMLVisualIDRegistry.getType(ClassNestedClassifierCompartmentEditPart.VISUAL_ID), true, true, true, true); + PreferenceInitializerForElementHelper.initCompartmentsStatusFromPrefs(node, prefStore, CLASS); + return node; + } +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/internal/factory/FlowSpecificationClassifierViewFactory.java b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/internal/factory/FlowSpecificationClassifierViewFactory.java new file mode 100644 index 0000000..b9ee057 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/internal/factory/FlowSpecificationClassifierViewFactory.java
@@ -0,0 +1,71 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.blockdefinition.internal.factory; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint; +import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil; +import org.eclipse.gmf.runtime.notation.Location; +import org.eclipse.gmf.runtime.notation.Node; +import org.eclipse.gmf.runtime.notation.NotationFactory; +import org.eclipse.gmf.runtime.notation.Shape; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.jface.preference.IPreferenceStore; +import org.eclipse.papyrus.sysml.diagram.common.internal.factory.AbstractBasicViewFactory; +import org.eclipse.papyrus.sysml.diagram.common.internal.factory.util.ClassifierViewFactoryUtil; +import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.InterfaceAttributeCompartmentEditPart; +import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.InterfaceFloatingNameEditPart; +import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.InterfaceNameEditPart; +import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.InterfaceNestedClassifierCompartmentEditPart; +import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.InterfaceOperationCompartmentEditPart; +import org.eclipse.papyrus.uml.diagram.clazz.part.UMLVisualIDRegistry; +import org.eclipse.papyrus.uml.diagram.common.helper.PreferenceInitializerForElementHelper; + +/** + * + * Extraction from org.eclipse.papyrus/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz/src/org/eclipse/papyrus/uml/diagram/clazz/providers/UMLViewProvider.java + * + */ +public class FlowSpecificationClassifierViewFactory extends AbstractBasicViewFactory { + + /** + * Base element of FlowSpecification + */ + private static final String INTERFACE = "Interface";//$NON-NLS-1$ + + @Override + public Node createElementView(EObject domainElement, View containerView, String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint) { + Shape node = NotationFactory.eINSTANCE.createShape(); + node.setLayoutConstraint(NotationFactory.eINSTANCE.createBounds()); + node.setType(semanticHint); + ViewUtil.insertChildView(containerView, node, index, persisted); + node.setElement(domainElement); + ClassifierViewFactoryUtil.stampShortcut(containerView, node); + // initializeFromPreferences + final IPreferenceStore prefStore = (IPreferenceStore) preferencesHint.getPreferenceStore(); + + PreferenceInitializerForElementHelper.initFontStyleFromPrefs(node, prefStore, INTERFACE); + ClassifierViewFactoryUtil.createLabel(node, UMLVisualIDRegistry.getType(InterfaceNameEditPart.VISUAL_ID)); + Node label8507 = ClassifierViewFactoryUtil.createLabel(node, UMLVisualIDRegistry.getType(InterfaceFloatingNameEditPart.VISUAL_ID)); + label8507.setLayoutConstraint(NotationFactory.eINSTANCE.createLocation()); + Location location8507 = (Location) label8507.getLayoutConstraint(); + location8507.setX(0); + location8507.setY(5); + + ClassifierViewFactoryUtil.createCompartment(node, UMLVisualIDRegistry.getType(InterfaceAttributeCompartmentEditPart.VISUAL_ID), true, true, true, true); + ClassifierViewFactoryUtil.createCompartment(node, UMLVisualIDRegistry.getType(InterfaceOperationCompartmentEditPart.VISUAL_ID), true, true, true, true); + ClassifierViewFactoryUtil.createCompartment(node, UMLVisualIDRegistry.getType(InterfaceNestedClassifierCompartmentEditPart.VISUAL_ID), true, true, true, true); + PreferenceInitializerForElementHelper.initCompartmentsStatusFromPrefs(node, prefStore, INTERFACE); + return node; + } +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/internal/factory/OperationPortViewFactory.java b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/internal/factory/OperationPortViewFactory.java new file mode 100644 index 0000000..c963497 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/internal/factory/OperationPortViewFactory.java
@@ -0,0 +1,66 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.blockdefinition.internal.factory; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint; +import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil; +import org.eclipse.gmf.runtime.notation.Location; +import org.eclipse.gmf.runtime.notation.Node; +import org.eclipse.gmf.runtime.notation.NotationFactory; +import org.eclipse.gmf.runtime.notation.Shape; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.jface.preference.IPreferenceStore; +import org.eclipse.papyrus.sysml.diagram.common.internal.factory.AbstractBasicViewFactory; +import org.eclipse.papyrus.uml.diagram.common.helper.PreferenceInitializerForElementHelper; + +public class OperationPortViewFactory extends AbstractBasicViewFactory { + + /** + * Base element of OperationPort + */ + private static final String PORT = "Port";//$NON-NLS-1$ + /** + * visual ID for stereotype label of border item + */ + protected static final String OPERATION_BORDER_ITEM_STEREOTYPE_LABEL = "Operation_BorderItem_Stereotype_Label";//$NON-NLS-1$ + /** + * visual ID for name label of border item + */ + protected static final String OPERATION_BORDER_ITEM_LABEL = "Operation_BorderItem_Label";//$NON-NLS-1$ + + @Override + public Node createElementView(EObject domainElement, View containerView,String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint) { + Shape node = NotationFactory.eINSTANCE.createShape(); + node.setLayoutConstraint(NotationFactory.eINSTANCE.createBounds()); + node.setType(semanticHint); + ViewUtil.insertChildView(containerView, node, index, persisted); + node.setElement(domainElement); + // initializeFromPreferences + final IPreferenceStore prefStore = (IPreferenceStore)preferencesHint.getPreferenceStore(); + PreferenceInitializerForElementHelper.initFontStyleFromPrefs(node, prefStore, PORT); + Node label5125 = createLabel(node, OPERATION_BORDER_ITEM_LABEL); + label5125.setLayoutConstraint(NotationFactory.eINSTANCE.createLocation()); + Location location5125 = (Location)label5125.getLayoutConstraint(); + location5125.setX(25); + location5125.setY(3); + Node label6029 = createLabel(node, OPERATION_BORDER_ITEM_STEREOTYPE_LABEL); + label6029.setLayoutConstraint(NotationFactory.eINSTANCE.createLocation()); + Location location6029 = (Location)label6029.getLayoutConstraint(); + location6029.setX(25); + location6029.setY(-10); + return node; + } + + +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/internal/factory/PortViewFactory.java b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/internal/factory/PortViewFactory.java new file mode 100644 index 0000000..4debd5b --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/internal/factory/PortViewFactory.java
@@ -0,0 +1,55 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.blockdefinition.internal.factory; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint; +import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil; +import org.eclipse.gmf.runtime.notation.Location; +import org.eclipse.gmf.runtime.notation.Node; +import org.eclipse.gmf.runtime.notation.NotationFactory; +import org.eclipse.gmf.runtime.notation.Shape; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.jface.preference.IPreferenceStore; +import org.eclipse.papyrus.sysml.diagram.common.internal.factory.AbstractBasicViewFactory; +import org.eclipse.papyrus.uml.diagram.common.helper.PreferenceInitializerForElementHelper; + +public class PortViewFactory extends AbstractBasicViewFactory { + + /** + * Base element of SysML Port + */ + private static final String PORT = "Port";//$NON-NLS-1$ + /** + * visual ID for name label of border item + */ + protected static final String OPERATION_BORDER_ITEM_LABEL = "Operation_BorderItem_Label";//$NON-NLS-1$ + + @Override + public Node createElementView(EObject domainElement, View containerView,String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint) { + Shape node = NotationFactory.eINSTANCE.createShape(); + node.setLayoutConstraint(NotationFactory.eINSTANCE.createBounds()); + node.setType(semanticHint); + ViewUtil.insertChildView(containerView, node, index, persisted); + node.setElement(domainElement); + // initializeFromPreferences + final IPreferenceStore prefStore = (IPreferenceStore)preferencesHint.getPreferenceStore(); + PreferenceInitializerForElementHelper.initFontStyleFromPrefs(node, prefStore, PORT); + Node label5125 = createLabel(node, OPERATION_BORDER_ITEM_LABEL); + label5125.setLayoutConstraint(NotationFactory.eINSTANCE.createLocation()); + Location location5125 = (Location)label5125.getLayoutConstraint(); + location5125.setX(25); + location5125.setY(3); + return node; + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/provider/ParserProvider.java b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/provider/ParserProvider.java new file mode 100644 index 0000000..9440e37 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/provider/ParserProvider.java
@@ -0,0 +1,78 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.blockdefinition.provider; + +import java.util.HashMap; +import java.util.Map; + +import org.eclipse.core.runtime.IAdaptable; +import org.eclipse.gmf.runtime.common.core.service.AbstractProvider; +import org.eclipse.gmf.runtime.common.core.service.IOperation; +import org.eclipse.gmf.runtime.common.ui.services.parser.GetParserOperation; +import org.eclipse.gmf.runtime.common.ui.services.parser.IParser; +import org.eclipse.gmf.runtime.common.ui.services.parser.IParserProvider; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.papyrus.uml.diagram.common.parser.ConstraintLabelParser; + +/** + * Parser provider for labels used by this diagram. + */ +public class ParserProvider extends AbstractProvider implements IParserProvider { + + /** map from graphical hint to parsers */ + private static final Map<String, IParser> graphicalHintToParser = new HashMap<>(); + + static { + graphicalHintToParser.put("Constraint_Label", new ConstraintLabelParser()); + } + + /** + * {@inheritDoc} + */ + @Override + public boolean provides(IOperation operation) { + if (operation instanceof GetParserOperation) { + IAdaptable hint = ((GetParserOperation) operation).getHint(); + + + return getParser(hint) != null; + } + return false; + } + + /** + * {@inheritDoc} + */ + @Override + public IParser getParser(IAdaptable hint) { + String parserHint = hint.getAdapter(String.class); + if (parserHint != null) { + IParser parser = graphicalHintToParser.get(parserHint); + if (parser != null) { + return parser; + } + } + + View view = hint.getAdapter(View.class); + if (view != null) { + IParser parser = graphicalHintToParser.get(view.getType()); + if (parser != null) { + return parser; + } + } + + return null; + } + +} \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/.classpath b/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/.classpath similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/.classpath rename to diagram/org.eclipse.papyrus.sysml.diagram.common.tests/.classpath
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/.project b/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/.project new file mode 100644 index 0000000..75865fc --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/.project
@@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.diagram.common.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> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/.settings/org.eclipse.core.resources.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/.settings/org.eclipse.core.resources.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.common.tests/.settings/org.eclipse.core.resources.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/.settings/org.eclipse.jdt.core.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/.settings/org.eclipse.jdt.core.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.common.tests/.settings/org.eclipse.jdt.core.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/.settings/org.eclipse.jdt.ui.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/.settings/org.eclipse.jdt.ui.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/.settings/org.eclipse.jdt.ui.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.common.tests/.settings/org.eclipse.jdt.ui.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/.settings/org.eclipse.m2e.core.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/.settings/org.eclipse.m2e.core.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.common.tests/.settings/org.eclipse.m2e.core.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/META-INF/MANIFEST.MF b/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/META-INF/MANIFEST.MF new file mode 100644 index 0000000..45a7543 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/META-INF/MANIFEST.MF
@@ -0,0 +1,22 @@ +Manifest-Version: 1.0 +Bundle-Vendor: %Bundle-Vendor +Bundle-Version: 4.0.0.qualifier +Bundle-Name: %Bundle-Name +Bundle-Localization: plugin +Bundle-ManifestVersion: 2 +Fragment-Host: org.eclipse.papyrus.sysml.diagram.common;bundle-version="4.0.0" +Bundle-SymbolicName: org.eclipse.papyrus.sysml.diagram.common.tests +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Require-Bundle: org.junit;bundle-version="[4.11.0,5.0.0)", + org.eclipse.papyrus.uml.diagram.clazz;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.communication;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.component;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.composite;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.deployment;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.interactionoverview;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.profile;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.statemachine;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.timing;bundle-version="[1.2.0,2.0.0)", + org.eclipse.papyrus.uml.diagram.usecase;bundle-version="[3.0.0,4.0.0)" +Export-Package: org.eclipse.papyrus.sysml.diagram.common.tests.resources, + org.eclipse.papyrus.sysml.diagram.common.tests.util
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/about.html b/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/about.html similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/about.html rename to diagram/org.eclipse.papyrus.sysml.diagram.common.tests/about.html
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/build.properties b/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/build.properties similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/build.properties rename to diagram/org.eclipse.papyrus.sysml.diagram.common.tests/build.properties
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/plugin.properties b/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/plugin.properties new file mode 100644 index 0000000..979eda9 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/plugin.properties
@@ -0,0 +1,14 @@ +################################################################################# +# Copyright (c) 2011 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: +# +# CEA LIST - Initial API and Implementation. +# +################################################################################## +Bundle-Name=Papyrus SysML 1.5 Common Diagram Tests +Bundle-Vendor=Eclipse Modeling Project
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/pom.xml b/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/pom.xml new file mode 100644 index 0000000..2d3d28c --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/pom.xml
@@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" + xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.papyrus.sysml</groupId> + <artifactId>org.eclipse.papyrus.sysml.diagram</artifactId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.diagram.common.tests</artifactId> + <packaging>eclipse-test-plugin</packaging> + <name>org.eclipse.papyrus.sysml.diagram.common.tests</name> + <description>This plug-in contains the unit tests relatives to common part of all SysML diagrams.</description> +</project>
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/src/org/eclipse/papyrus/sysml/diagram/common/tests/resources/SysMLClassDiagramElementTypesExtensionTest.java b/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/src/org/eclipse/papyrus/sysml/diagram/common/tests/resources/SysMLClassDiagramElementTypesExtensionTest.java new file mode 100644 index 0000000..286cff6 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/src/org/eclipse/papyrus/sysml/diagram/common/tests/resources/SysMLClassDiagramElementTypesExtensionTest.java
@@ -0,0 +1,90 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.common.tests.resources; + +import java.util.Map; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.common.util.TreeIterator; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.ecore.util.Diagnostician; +import org.eclipse.papyrus.infra.types.AbstractMatcherConfiguration; +import org.eclipse.papyrus.infra.types.ElementTypeConfiguration; +import org.eclipse.papyrus.infra.types.ElementTypeSetConfiguration; +import org.eclipse.papyrus.infra.types.SpecializationTypeConfiguration; +import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.junit.Assert; +import org.junit.BeforeClass; +import org.junit.Test; + +/** + */ +@SuppressWarnings("nls") +public class SysMLClassDiagramElementTypesExtensionTest { + + public static final String CLASS_DIAGRAM_EXTENSION_ELEMENT_TYPE_PATH = "org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations"; //$NON-NLS-1$ + + @BeforeClass + public static void loadSysMLDefinition() { + ElementTypeSetConfigurationRegistry instance = ElementTypeSetConfigurationRegistry.getInstance(); + Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurations = instance.getElementTypeSetConfigurations(); + Map<String, ElementTypeSetConfiguration> map = elementTypeSetConfigurations.get(SysMLServiceTypeUtil.SYSML_CONTEXT_ID); + ElementTypeSetConfiguration elementTypeSetConfiguration = map.get("org.eclipse.papyrus.sysmldi.elementTypeSet.extension"); + Assert.assertNotNull("The SysML element type set definition is missing", elementTypeSetConfiguration); + } + + /** + * Validate the model with the rules defined in the meta-model tooling + */ + @Test + public void validateSysMLClassDiagramElementTypesExtensionModel() { + URI createPlatformPluginURI = URI.createPlatformPluginURI(CLASS_DIAGRAM_EXTENSION_ELEMENT_TYPE_PATH, true); + Resource resource = new ResourceSetImpl().getResource(createPlatformPluginURI, true); + Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); + Assert.assertEquals("The element type model is not valid ", Diagnostic.OK, diagnostic.getSeverity()); + } + + /** + * Check that all SpecializationTypeConfiguration have a matcher + * (This is no more required for avoiding to broke UML Diagrams since contextid but still a good idea) + */ + @Test + public void checkElementTypeMatcher() { + URI createPlatformPluginURI = URI.createPlatformPluginURI(CLASS_DIAGRAM_EXTENSION_ELEMENT_TYPE_PATH, true); + ResourceSetImpl resourceSetImpl = new ResourceSetImpl(); + Resource resource = resourceSetImpl.getResource(createPlatformPluginURI, true); + TreeIterator<EObject> allContents = resource.getAllContents(); + while (allContents.hasNext()) { + EObject eObject = (EObject) allContents.next(); + if (eObject instanceof ElementTypeSetConfiguration) { + ElementTypeSetConfiguration elementTypeSetConfiguration = (ElementTypeSetConfiguration) eObject; + EList<ElementTypeConfiguration> elementTypeConfigurations = elementTypeSetConfiguration.getElementTypeConfigurations(); + for (ElementTypeConfiguration elementTypeConfiguration : elementTypeConfigurations) { + if (elementTypeConfiguration instanceof SpecializationTypeConfiguration) { + SpecializationTypeConfiguration specializationTypeConfiguration = (SpecializationTypeConfiguration) elementTypeConfiguration; + AbstractMatcherConfiguration matcherConfiguration = specializationTypeConfiguration.getMatcherConfiguration(); + Assert.assertNotNull(specializationTypeConfiguration.getName() + + "is missing its matcher. All SysML SpecializationTypeConfiguration must have a matcher. By default, use org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher)", matcherConfiguration); + } + } + } + } + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/src/org/eclipse/papyrus/sysml/diagram/common/tests/resources/SysMLCompositeDiagramElementTypesExtensionTest.java b/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/src/org/eclipse/papyrus/sysml/diagram/common/tests/resources/SysMLCompositeDiagramElementTypesExtensionTest.java new file mode 100644 index 0000000..51d6802 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/src/org/eclipse/papyrus/sysml/diagram/common/tests/resources/SysMLCompositeDiagramElementTypesExtensionTest.java
@@ -0,0 +1,92 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.common.tests.resources; + +import java.util.Map; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.common.util.TreeIterator; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.ecore.util.Diagnostician; +import org.eclipse.papyrus.infra.types.AbstractMatcherConfiguration; +import org.eclipse.papyrus.infra.types.ElementTypeConfiguration; +import org.eclipse.papyrus.infra.types.ElementTypeSetConfiguration; +import org.eclipse.papyrus.infra.types.SpecializationTypeConfiguration; +import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.junit.Assert; +import org.junit.BeforeClass; +import org.junit.Test; + +/** + * This class is to check any change in the SysML Composite Structure Diagram element type id + * (since the ids can be used a specialization they are part of public API) + * + */ +@SuppressWarnings("nls") +public class SysMLCompositeDiagramElementTypesExtensionTest { + + public static final String COMPOSITE_DIAGRAM_EXTENSION_ELEMENT_TYPE_PATH = "org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations"; + + @BeforeClass + public static void loadSysMLDefinition() { + ElementTypeSetConfigurationRegistry instance = ElementTypeSetConfigurationRegistry.getInstance(); + Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurations = instance.getElementTypeSetConfigurations(); + Map<String, ElementTypeSetConfiguration> map = elementTypeSetConfigurations.get(SysMLServiceTypeUtil.SYSML_CONTEXT_ID); + ElementTypeSetConfiguration elementTypeSetConfiguration = map.get("org.eclipse.papyrus.sysmldi.elementTypeSet.extension"); + Assert.assertNotNull("The SysML element type set definition is missing", elementTypeSetConfiguration); + } + + /** + * Validate the model with the rules defined in the meta-model tooling + */ + @Test + public void validateSysMLClassDiagramElementTypesExtensionModel() { + URI createPlatformPluginURI = URI.createPlatformPluginURI(COMPOSITE_DIAGRAM_EXTENSION_ELEMENT_TYPE_PATH, true); + Resource resource = new ResourceSetImpl().getResource(createPlatformPluginURI, true); + Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); + Assert.assertEquals("The element type model is not valid ", Diagnostic.OK, diagnostic.getSeverity()); + } + + /** + * Check that all SpecializationTypeConfiguration have a matcher + * (This is no more required for avoiding to broke UML Diagrams since contextid but still a good idea) + */ + @Test + public void checkElementTypeMatcher() { + URI createPlatformPluginURI = URI.createPlatformPluginURI(COMPOSITE_DIAGRAM_EXTENSION_ELEMENT_TYPE_PATH, true); + ResourceSetImpl resourceSetImpl = new ResourceSetImpl(); + Resource resource = resourceSetImpl.getResource(createPlatformPluginURI, true); + TreeIterator<EObject> allContents = resource.getAllContents(); + while (allContents.hasNext()) { + EObject eObject = (EObject) allContents.next(); + if (eObject instanceof ElementTypeSetConfiguration) { + ElementTypeSetConfiguration elementTypeSetConfiguration = (ElementTypeSetConfiguration) eObject; + EList<ElementTypeConfiguration> elementTypeConfigurations = elementTypeSetConfiguration.getElementTypeConfigurations(); + for (ElementTypeConfiguration elementTypeConfiguration : elementTypeConfigurations) { + if (elementTypeConfiguration instanceof SpecializationTypeConfiguration) { + SpecializationTypeConfiguration specializationTypeConfiguration = (SpecializationTypeConfiguration) elementTypeConfiguration; + AbstractMatcherConfiguration matcherConfiguration = specializationTypeConfiguration.getMatcherConfiguration(); + Assert.assertNotNull(specializationTypeConfiguration.getName()+"is missing its matcher. All SysML SpecializationTypeConfiguration must have a matcher. By default, use org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher)", matcherConfiguration); + } + } + } + } + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/src/org/eclipse/papyrus/sysml/diagram/common/tests/resources/SysMLDiUMLTest.java b/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/src/org/eclipse/papyrus/sysml/diagram/common/tests/resources/SysMLDiUMLTest.java new file mode 100644 index 0000000..53b5880 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/src/org/eclipse/papyrus/sysml/diagram/common/tests/resources/SysMLDiUMLTest.java
@@ -0,0 +1,82 @@ +/***************************************************************************** + * Copyright (c) 2016 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.common.tests.resources; + +import java.util.ArrayList; +import java.util.List; +import java.util.Map; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.ecore.util.Diagnostician; +import org.eclipse.papyrus.infra.types.ElementTypeConfiguration; +import org.eclipse.papyrus.infra.types.ElementTypeSetConfiguration; +import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.junit.Assert; +import org.junit.BeforeClass; +import org.junit.Test; + +/** + * This class is to test the validity of sysmldi element types + */ +@SuppressWarnings("nls") +public class SysMLDiUMLTest { + + public static final String SYSMLDI_ELEMENT_TYPE_PATH = "org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations"; + + @BeforeClass + public static void loadSysMLDefinition() { + ElementTypeSetConfigurationRegistry instance = ElementTypeSetConfigurationRegistry.getInstance(); + Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurations = instance.getElementTypeSetConfigurations(); + Map<String, ElementTypeSetConfiguration> map = elementTypeSetConfigurations.get(SysMLServiceTypeUtil.SYSML_CONTEXT_ID); + ElementTypeSetConfiguration elementTypeSetConfiguration = map.get("org.eclipse.papyrus.sysmldi.elementTypes"); + Assert.assertNotNull("The SysML element type set definition is missing", elementTypeSetConfiguration); + } + + /** + * Validate the model with the rules defined in the meta-model tooling + */ + + @Test + public void validateSysMLElementTypesModel() { + URI createPlatformPluginURI = URI.createPlatformPluginURI(SYSMLDI_ELEMENT_TYPE_PATH, true); + Resource resource = new ResourceSetImpl().getResource(createPlatformPluginURI, true); + Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); + Assert.assertEquals("The element type model is not valid ", Diagnostic.OK, diagnostic.getSeverity()); + } + + /** + * Check if there is a duplicated identifier in all loaded element types + */ + @Test + public void checkAlreadyExistingId() { + ElementTypeSetConfigurationRegistry instance = ElementTypeSetConfigurationRegistry.getInstance(); + Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurations = instance.getElementTypeSetConfigurations(); + Map<String, ElementTypeSetConfiguration> map = elementTypeSetConfigurations.get(SysMLServiceTypeUtil.SYSML_CONTEXT_ID); + List<String> alreadyCheckedIds = new ArrayList<>(); + for (ElementTypeSetConfiguration elementTypeSetConfiguration : map.values()) { + EList<ElementTypeConfiguration> elementTypeConfigurations = elementTypeSetConfiguration.getElementTypeConfigurations(); + for (ElementTypeConfiguration elementTypeConfiguration : elementTypeConfigurations) { + String identifier = elementTypeConfiguration.getIdentifier(); + Assert.assertFalse("Duplicated elementtype identifer " + identifier, alreadyCheckedIds.contains(identifier)); + alreadyCheckedIds.add(identifier); + } + } + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/src/org/eclipse/papyrus/sysml/diagram/common/tests/util/GraphicalSysMLServiceTypeUtilTest.java b/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/src/org/eclipse/papyrus/sysml/diagram/common/tests/util/GraphicalSysMLServiceTypeUtilTest.java new file mode 100644 index 0000000..eeec709 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common.tests/src/org/eclipse/papyrus/sysml/diagram/common/tests/util/GraphicalSysMLServiceTypeUtilTest.java
@@ -0,0 +1,53 @@ +/***************************************************************************** + * Copyright (c) 2016 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.diagram.common.tests.util; + +import java.util.Map; + +import org.eclipse.papyrus.infra.types.ElementTypeSetConfiguration; +import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; +import org.eclipse.papyrus.sysml.diagram.common.util.GraphicalSysMLServiceTypeUtil; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.junit.Assert; +import org.junit.BeforeClass; +import org.junit.Test; + +/** + * Check constant of GraphicalSysMLServiceTypeUtil + */ +@SuppressWarnings("nls") +public class GraphicalSysMLServiceTypeUtilTest { + + @BeforeClass + public static void loadSysMLDefinition() { + ElementTypeSetConfigurationRegistry instance = ElementTypeSetConfigurationRegistry.getInstance(); + Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurations = instance.getElementTypeSetConfigurations(); + Map<String, ElementTypeSetConfiguration> map = elementTypeSetConfigurations.get(SysMLServiceTypeUtil.SYSML_CONTEXT_ID); + ElementTypeSetConfiguration elementTypeSetConfiguration = map.get("org.eclipse.papyrus.sysmldi.elementTypes"); + Assert.assertNotNull("The SysML element type set definition is missing", elementTypeSetConfiguration); + } + + + @Test + public void checkConstraintLabelElementTypeId() { + Assert.assertTrue("ORG_ECLIPSE_PAPYRUS_SYSML_CONSTRAINT_LABEL should have a valid element id : " , SysMLServiceTypeUtil.isKnown(GraphicalSysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_CONSTRAINT_LABEL)); + } + + @Test + public void checkParameterBorderItemLabelElementTypeId() { + Assert.assertTrue("ORG_ECLIPSE_PAPYRUS_SYSML_PARAMETER_BORDER_ITEM should have a valid element id : " , SysMLServiceTypeUtil.isKnown(GraphicalSysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_PARAMETER_BORDER_ITEM)); + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/.classpath b/diagram/org.eclipse.papyrus.sysml.diagram.common/.classpath similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common/.classpath rename to diagram/org.eclipse.papyrus.sysml.diagram.common/.classpath
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/.project b/diagram/org.eclipse.papyrus.sysml.diagram.common/.project new file mode 100644 index 0000000..03e6f78 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/.project
@@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.diagram.common</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> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/.settings/org.eclipse.core.resources.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.common/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common/.settings/org.eclipse.core.resources.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.common/.settings/org.eclipse.core.resources.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/.settings/org.eclipse.jdt.core.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.common/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common/.settings/org.eclipse.jdt.core.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.common/.settings/org.eclipse.jdt.core.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/.settings/org.eclipse.jdt.ui.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.common/.settings/org.eclipse.jdt.ui.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common/.settings/org.eclipse.jdt.ui.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.common/.settings/org.eclipse.jdt.ui.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/.settings/org.eclipse.m2e.core.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.common/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common/.settings/org.eclipse.m2e.core.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.common/.settings/org.eclipse.m2e.core.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/META-INF/MANIFEST.MF b/diagram/org.eclipse.papyrus.sysml.diagram.common/META-INF/MANIFEST.MF new file mode 100644 index 0000000..c6f4d79 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/META-INF/MANIFEST.MF
@@ -0,0 +1,68 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name +Bundle-SymbolicName: org.eclipse.papyrus.sysml.diagram.common;singleton:=true +Bundle-Version: 4.0.0.qualifier +Bundle-ClassPath: . +Bundle-Activator: org.eclipse.papyrus.sysml.diagram.common.Activator +Require-Bundle: org.eclipse.core.databinding;bundle-version="[1.5.0,2.0.0)", + org.eclipse.core.runtime;bundle-version="[3.6.0,4.0.0)", + org.eclipse.e4.ui.css.core;bundle-version="[0.11.0,1.0.0)", + org.eclipse.gmf.runtime.diagram.ui;bundle-version="[1.8.0,2.0.0)", + org.eclipse.gmf.runtime.emf.type.core;bundle-version="[1.9.0,2.0.0)", + org.eclipse.uml2.uml;bundle-version="[5.1.0,6.0.0)", + org.eclipse.ui;bundle-version="[3.107.0,4.0.0)", + org.eclipse.papyrus.infra.core;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.types.core;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.gmfdiag.css;bundle-version="[2.0.0,3.0.0)", + org.eclipse.papyrus.infra.gmfdiag.preferences;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.gmfdiag.expansion;bundle-version="[2.0.0,3.0.0)", + org.eclipse.papyrus.infra.services.edit;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.tools;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.clazz;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.common;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.composite;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.stereotype.edition;bundle-version="[2.0.0,3.0.0]", + org.eclipse.papyrus.uml.service.types;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.tools;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.tools.utils;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.types.core;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.sysml;bundle-version="1.0.0", + org.eclipse.papyrus.sysml.service.types;bundle-version="1.0.0" +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Export-Package: org.eclipse.papyrus.sysml.diagram.common;uses:="org.eclipse.ui.plugin,org.osgi.framework", + org.eclipse.papyrus.sysml.diagram.common.advices, + org.eclipse.papyrus.sysml.diagram.common.command, + org.eclipse.papyrus.sysml.diagram.common.css.dom, + org.eclipse.papyrus.sysml.diagram.common.css.helper, + org.eclipse.papyrus.sysml.diagram.common.dialog, + org.eclipse.papyrus.sysml.diagram.common.edit.parts, + org.eclipse.papyrus.sysml.diagram.common.figure, + org.eclipse.papyrus.sysml.diagram.common.internal.command; + x-friends:="org.eclipse.papyrus.sysml.diagram.blockdefinition, + org.eclipse.papyrus.sysml.diagram.parametric, + org.eclipse.papyrus.sysml.diagram.requirement, + org.eclipse.papyrus.sysml.diagram.internalblock", + org.eclipse.papyrus.sysml.diagram.common.internal.dialog; + x-friends:="org.eclipse.papyrus.sysml.diagram.blockdefinition, + org.eclipse.papyrus.sysml.diagram.parametric, + org.eclipse.papyrus.sysml.diagram.requirement, + org.eclipse.papyrus.sysml.diagram.internalblock", + org.eclipse.papyrus.sysml.diagram.common.internal.factory; + x-friends:="org.eclipse.papyrus.sysml.diagram.blockdefinition, + org.eclipse.papyrus.sysml.diagram.parametric, + org.eclipse.papyrus.sysml.diagram.requirement, + org.eclipse.papyrus.sysml.diagram.internalblock", + org.eclipse.papyrus.sysml.diagram.common.internal.factory.util; + x-friends:="org.eclipse.papyrus.sysml.diagram.blockdefinition, + org.eclipse.papyrus.sysml.diagram.parametric, + org.eclipse.papyrus.sysml.diagram.requirement, + org.eclipse.papyrus.sysml.diagram.internalblock", + org.eclipse.papyrus.sysml.diagram.common.internal.provider;x-internal:=true, + org.eclipse.papyrus.sysml.diagram.common.provider, + org.eclipse.papyrus.sysml.diagram.common.util +Bundle-ActivationPolicy: lazy +Bundle-Localization: plugin +Bundle-Description: %Bundle-Description +Bundle-Vendor: %Bundle-Vendor
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/about.html b/diagram/org.eclipse.papyrus.sysml.diagram.common/about.html similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common/about.html rename to diagram/org.eclipse.papyrus.sysml.diagram.common/about.html
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/build.properties b/diagram/org.eclipse.papyrus.sysml.diagram.common/build.properties similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common/build.properties rename to diagram/org.eclipse.papyrus.sysml.diagram.common/build.properties
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/plugin.properties b/diagram/org.eclipse.papyrus.sysml.diagram.common/plugin.properties new file mode 100644 index 0000000..1e91125 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/plugin.properties
@@ -0,0 +1,15 @@ +################################################################################# +# Copyright (c) 2015 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: +# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation +################################################################################## +Bundle-Name= Papyrus SysML 1.5 Diagram Common +Bundle-Description=This plug-in contains the common part of all SysML 1.5 diagram +Bundle-Vendor=Eclipse Modeling Project + +
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/plugin.xml b/diagram/org.eclipse.papyrus.sysml.diagram.common/plugin.xml new file mode 100644 index 0000000..cf54789 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/plugin.xml
@@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.0"?> + +<!-- + Copyright (c) 2015 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: + Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation +--> + +<plugin> + + <extension + point="org.eclipse.papyrus.infra.types.core.elementTypeSetConfiguration"> + <elementTypeSet + clientContextID="org.eclipse.papyrus.infra.services.edit.TypeContext" + path="resources/SysMLDi-extension.elementtypesconfigurations"> + </elementTypeSet> + + </extension> + <extension + point="org.eclipse.papyrus.infra.types.core.elementTypeSetConfiguration"> + <elementTypeSet + clientContextID="org.eclipse.papyrus.infra.services.edit.TypeContext" + path="resources/SysMLDiUML.elementtypesconfigurations"> + </elementTypeSet> + </extension> + + <!--CSS Theme --> + <extension + point="org.eclipse.papyrus.infra.gmfdiag.css.domElementAdapter"> + <factory + factory="org.eclipse.papyrus.sysml.diagram.common.css.dom.GMFSYSMLElementProviderFactory" + order="1"> + </factory> + </extension> + + <extension + point="org.eclipse.gmf.runtime.diagram.core.viewProviders"> + <viewProvider + class="org.eclipse.papyrus.sysml.diagram.common.internal.provider.SysMLExpandViewProvider"> + <Priority + name="Low"> + </Priority> + </viewProvider> + </extension> + +</plugin>
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/pom.xml b/diagram/org.eclipse.papyrus.sysml.diagram.common/pom.xml new file mode 100644 index 0000000..f2df2fb --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/pom.xml
@@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.papyrus.sysml</groupId> + <artifactId>org.eclipse.papyrus.sysml.diagram</artifactId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.diagram.common</artifactId> + <packaging>eclipse-plugin</packaging> + <name>org.eclipse.papyrus.sysml.diagram.common</name> + <description>This plug-in contains the common part of all SysML 1.5 diagrams.</description> +</project> \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations b/diagram/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations new file mode 100644 index 0000000..48496b7 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations
@@ -0,0 +1,454 @@ +<?xml version="1.0" encoding="ASCII"?> +<elementtypesconfigurations:ElementTypeSetConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:stereotypematcher="http://www.eclipse.org/papyrus/uml/types/stereotypematcher/1.1" xmi:id="org.eclipse.papyrus.sysmldi.elementTypeSet.extension" identifier="org.eclipse.papyrus.sysmldi.elementTypeSet.extension" name="SysML Extension" metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML"> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AbstractDefinition_NamedElement_Shape" identifier="org.eclipse.papyrus.sysmldi.AbstractDefinition_NamedElement_Shape" name="AbstractDefinition (Stakeholder_NamedElement_Shape)" hint="NamedElement_DefaultShape"> + <iconEntry xmi:id="_r8qY0Nx2EeWVxMf7SXAfhg" iconPath="/icons/full/obj16/Classifier.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_y-4fUIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.AbstractDefinitionClass"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.NamedElement_DefaultShape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ActorPart_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.ActorPart_Property_Shape" name="ActorPart (Property_Shape)" hint="Property_Shape"> + <iconEntry xmi:id="_elfcUE_tEeWS1Mofp4ST9Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_elfcUU_tEeWS1Mofp4ST9Q" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.ActorPartGraphicalEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_y-4fUIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.ActorPart"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ActorPart_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ActorPart_Property_AttributeLabel" name="ActorPart" hint="Property_AttributeLabel"> + <iconEntry xmi:id="_S5YwwR_5EeWp9rJ2gmw59A" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_5wiAgB_5EeWp9rJ2gmw59A" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.ActorPartGraphicalEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_k5pC8Ie8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.ActorPart"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConstraintProperty_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.ConstraintProperty_Property_Shape" name="ConstraintProperty (Property_Shape)" hint="Property_Shape"> + <iconEntry xmi:id="_NIBSUe5lEeSNB9Q0D5gJiA" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_8Yf_oPfpEeSxkueHcFw1lw" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.ConstraintPropertyGraphicalEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_yH1ikIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.ConstraintProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConstraintProperty_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ConstraintProperty_Property_AttributeLabel" name="ConstraintProperty (Property_AttributeLabel)" hint="Property_AttributeLabel"> + <iconEntry xmi:id="_NIBSU-5lEeSNB9Q0D5gJiA" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_JOurMPfqEeSxkueHcFw1lw" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.ConstraintPropertyGraphicalEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_yZR34Ie8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.ConstraintProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Part_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.Part_Property_Shape" name="Part (Property_Shape)" hint="Property_Shape"> + <iconEntry xmi:id="_VU6eQU_sEeWS1Mofp4ST9Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_VU6eQk_sEeWS1Mofp4ST9Q" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_ylyp4Ie8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Part"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Part_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Part_Property_AttributeLabel" name="Part (Property_AttributeLabel)" hint="Property_AttributeLabel"> + <iconEntry xmi:id="_VU6eRE_sEeWS1Mofp4ST9Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_VU6eRU_sEeWS1Mofp4ST9Q" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_yzWkwIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Part"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Reference_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.Reference_Property_Shape" name="Reference (Property_Shape)" hint="Property_Shape"> + <iconEntry xmi:id="_elfcUE_tEeWS1Mofp4ST9Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_elfcUU_tEeWS1Mofp4ST9Q" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_y-4fUIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Reference"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Reference_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Reference_Property_AttributeLabel" name="Reference (Property_AttributeLabel)" hint="Property_AttributeLabel"> + <iconEntry xmi:id="_elfcU0_tEeWS1Mofp4ST9Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_elfcVE_tEeWS1Mofp4ST9Q" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_zLVm8Ie8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Reference"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Value_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.Value_Property_Shape" name="Value (Property_Shape)" hint="Property_Shape"> + <iconEntry xmi:id="_rArxsU_tEeWS1Mofp4ST9Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_rArxsk_tEeWS1Mofp4ST9Q" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.ValueEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_zXt2EIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Value"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Value_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Value_Property_AttributeLabel" name="Value (Property_AttributeLabel)" hint="Property_AttributeLabel"> + <iconEntry xmi:id="_rArxtE_tEeWS1Mofp4ST9Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_rArxtU_tEeWS1Mofp4ST9Q" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_zl-UgIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Value"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.PropertySpecificType_Class_Shape_CN" description="Class_Shape_CN PropertySpecificType on" identifier="org.eclipse.papyrus.sysmldi.PropertySpecificType_Class_Shape_CN" name="PropertySpecificType(Class_Shape_CN)" hint="Class_Shape_CN"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_0ZtekIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.PropertySpecificType"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConstraintPropertyComposite" identifier="org.eclipse.papyrus.sysmldi.ConstraintPropertyComposite" name="ConstraintPropertyComposite" hint="ConstraintPropertyComposite"> + <iconEntry xmi:id="_nOKtsYMDEeW6xruev4cRfQ" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_nOKtsoMDEeW6xruev4cRfQ" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.ConstraintPropertyGraphicalEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_0zWtoIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.ConstraintProperty"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Parameter_BorderItem" description="Property value hat must displayed in constraint property" identifier="org.eclipse.papyrus.sysmldi.Parameter_BorderItem" name="Parameter_BorderItem" hint="Parameter_BorderItem"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_1CJ-oIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Constraint_Label" description="Used to display a constraint in the typed constraint property" identifier="org.eclipse.papyrus.sysmldi.Constraint_Label" name="Constraint_Label" hint="Constraint_Label"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_Hhhu4IosEeWtc9KcHKfIiw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Constraint"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Parameter_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.Parameter_Property_Shape" name="Parameter (Property_Shape)" hint="Property_Shape"> + <iconEntry xmi:id="_edrxAYlmEeaZOo7yAgA8OQ" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_edrxA4lmEeaZOo7yAgA8OQ" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Parameter"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Parameter_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Parameter_Property_AttributeLabel" name="Parameter (Property_AttributeLabel)" hint="Property_AttributeLabel"> + <iconEntry xmi:id="_edrxBYlmEeaZOo7yAgA8OQ" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_edrxB4lmEeaZOo7yAgA8OQ" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Parameter"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Parameter_BorderItemClassShape" description="Property value hat must displayed in constraint block" identifier="org.eclipse.papyrus.sysmldi.Parameter_BorderItemClassShape" name="Parameter_BorderItem (Class_Shape)" hint="Parameter_BorderItem"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_TzcwcfRlEeakH_jG3IBwLw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Parameter"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ContinuousControlFlow_Edge" description="" identifier="org.eclipse.papyrus.sysmldi.ContinuousControlFlow_Edge" name="ContinuousControlFlow_Edge" hint="ControlFlow_Edge"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_zRpmkW0gEeeeqo2x6wJ6iw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.ContinuousControlFlow"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ControlFlow_Edge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.RateControlFlow_Edge" description="" identifier="org.eclipse.papyrus.sysmldi.RateControlFlow_Edge" name="RateControlFlow_Edge" hint="ControlFlow_Edge"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_zRpmkW0gEeeeqo2x6wJ6iw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.RateControlFlow"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ControlFlow_Edge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DiscreteControlFlow_Edge" description="" identifier="org.eclipse.papyrus.sysmldi.DiscreteControlFlow_Edge" name="DiscreteControlFlow_Edge" hint="ControlFlow_Edge"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_zRpmkW0gEeeeqo2x6wJ6iw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.DiscreteControlFlow"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ControlFlow_Edge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Block_NestedBlock_Classifier" identifier="org.eclipse.papyrus.sysmldi.Block_NestedBlock_Classifier" name="Block (NestedBlock_Classifier)" hint="NestedBlock_Classifier"> + <iconEntry xmi:id="_n9BYgdFeEeSxf_hKmhrahA" iconPath="/icons/full/obj16/Class.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_n9BYgtFeEeSxf_hKmhrahA"> + <stereotypesQualifiedNames>SysML::Blocks::Block</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Block"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Label" description="" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Label" name="FlowPort (FlowPort_Label)" hint="FlowPort_Label"> + <iconEntry xmi:id="_tjVDYc1xEeSsRbN4ihgqDg" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_tjVDYs1xEeSsRbN4ihgqDg"> + <stereotypesQualifiedNames>SysML::DeprecatedElements::FlowPort</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowPort"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Property_SignalAttributeLabel" description="" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Property_SignalAttributeLabel" name="FlowPort (Property_SignalAttributeLabel)" hint="Property_SignalAttributeLabel"> + <iconEntry xmi:id="_39Sg0c1xEeSsRbN4ihgqDg" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_39Sg0s1xEeSsRbN4ihgqDg"> + <stereotypesQualifiedNames>SysML::DeprecatedElements::FlowPort</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_SignalAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Property_InterfaceAttributeLabel" description="" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Property_InterfaceAttributeLabel" name="FlowPort (Property_InterfaceAttributeLabel)" hint="Property_InterfaceAttributeLabel"> + <iconEntry xmi:id="_42Bfoc1xEeSsRbN4ihgqDg" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_42Bfos1xEeSsRbN4ihgqDg"> + <stereotypesQualifiedNames>SysML::DeprecatedElements::FlowPort</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_InterfaceAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Property_ClassAttributeLabel" description="" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Property_ClassAttributeLabel" name="FlowPort (Property_ClassAttributeLabel)" hint="Property_ClassAttributeLabel"> + <iconEntry xmi:id="_5h35Ac1xEeSsRbN4ihgqDg" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_5h35As1xEeSsRbN4ihgqDg"> + <stereotypesQualifiedNames>SysML::DeprecatedElements::FlowPort</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ClassAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Property_DataTypeAttributeLabel" description="" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Property_DataTypeAttributeLabel" name="FlowPort (Property_DataTypeAttributeLabel)" hint="Property_DataTypeAttributeLabel"> + <iconEntry xmi:id="_8e8HEc1xEeSsRbN4ihgqDg" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_8e8HEs1xEeSsRbN4ihgqDg"> + <stereotypesQualifiedNames>SysML::DeprecatedElements::FlowPort</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_DataTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Property_PrimitiveTypeAttributeLabel" description="" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Property_PrimitiveTypeAttributeLabel" name="FlowPort (Property_PrimitiveTypeAttributeLabel)" hint="Property_PrimitiveTypeAttributeLabel"> + <iconEntry xmi:id="_9Ecn4c1xEeSsRbN4ihgqDg" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_9Ecn4s1xEeSsRbN4ihgqDg"> + <stereotypesQualifiedNames>SysML::DeprecatedElements::FlowPort</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_PrimitiveTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi." identifier="org.eclipse.papyrus.sysmldi." name="ControlOperator (Operation_BorderItem)" hint="Operation_BorderItem"> + <iconEntry xmi:id="_R01uQdH_EeSxf_hKmhrahA" iconPath="/icons/full/obj16/Operation.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_R01uQtH_EeSxf_hKmhrahA"> + <stereotypesQualifiedNames>SysML::Activities::ControlOperator</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ControlOperator_Operation"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Verify_Abstraction_Verify_Link" identifier="org.eclipse.papyrus.sysmldi.Verify_Abstraction_Verify_Link" name="Verify_Link" hint="Verify_Link"> + <iconEntry xmi:id="_YjE7YNPBEeSRNI7img_HuA" iconPath="/icons/full/obj16/Operation.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_YjE7YdPBEeSRNI7img_HuA"> + <stereotypesQualifiedNames>SysML::Activities::ControlOperator</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Verify_Abstraction"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Actor_Class" description="Create an Actor in a UML Class Diagram" identifier="org.eclipse.papyrus.sysmldi.Actor_Class" name="Actor" hint="Class_Shape"> + <iconEntry xmi:id="_HQFw0eduEeSUQvXhEVQh8w" iconPath="/icons/full/obj16/Actor.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_DlNdMIxDEeWFTecuNLV29Q" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Actor"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Unit_InstanceSpecification_Shape" description="Create an Unit in a UML Class Diagram" identifier="org.eclipse.papyrus.sysmldi.Unit_InstanceSpecification_Shape" name="Unit_InstanceSpecification_Shape" hint="InstanceSpecification_Shape"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_oSLsEIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Unit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InstanceSpecification_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Unit_InstanceSpecification_Shape_CN" description="Create an Unit in a UML Class Diagram" identifier="org.eclipse.papyrus.sysmldi.Unit_InstanceSpecification_Shape_CN" name="Unit_InstanceSpecification_Shape_CN" hint="InstanceSpecification_Shape_CN"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_o7STcIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Unit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InstanceSpecification_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.QuantityKind_InstanceSpecification_Shape" description="Create an QuantityKind in a UML Class Diagram" identifier="org.eclipse.papyrus.sysmldi.QuantityKind_InstanceSpecification_Shape" name="QuantityKind_InstanceSpecification_Shape" hint="InstanceSpecification_Shape"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_pCPQAIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.QuantityKind"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InstanceSpecification_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.QuantityKind_InstanceSpecification_Shape_CN" description="Create an QuantityKind in a UML Class Diagram" identifier="org.eclipse.papyrus.sysmldi.QuantityKind_InstanceSpecification_Shape_CN" name="QuantityKind_InstanceSpecification_Shape_CN" hint="InstanceSpecification_Shape_CN"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_pM62AIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.QuantityKind"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InstanceSpecification_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Class_Port" description="Create an UML Port in an UML Class Diagram" identifier="org.eclipse.papyrus.sysmldi.Class_Port" name="Class_Port" hint="Class_Port"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_pxKLgIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Port"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Class_ProxyPort" description="Create an UML ProxyPort in an UML Class Diagram" identifier="org.eclipse.papyrus.sysmldi.Class_ProxyPort" name="Class_ProxyPort" hint="Class_ProxyPort"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_p7ucwIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ProxyPort"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Class_FullPort" description="Create an UML FullPort in an UML Class Diagram" identifier="org.eclipse.papyrus.sysmldi.Class_FullPort" name="Class_FullPort" hint="Class_FullPort"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_qF66kIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FullPort"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ProxyPort_Label" description="" identifier="org.eclipse.papyrus.sysmldi.ProxyPort_Label" name="ProxyPort (ProxyPort_Label)" hint="ProxyPort_Label"> + <iconEntry xmi:id="_0su20eyxEeSNB9Q0D5gJiA" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_0su20uyxEeSNB9Q0D5gJiA"> + <stereotypesQualifiedNames>SysML::DeprecatedElements::FlowPort</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ProxyPort"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FullPort_Label" description="" identifier="org.eclipse.papyrus.sysmldi.FullPort_Label" name="FullPort (FullPort_Label)" hint="FullPort_Label"> + <iconEntry xmi:id="_1HdD8eyxEeSNB9Q0D5gJiA" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_1HdD8uyxEeSNB9Q0D5gJiA"> + <stereotypesQualifiedNames>SysML::DeprecatedElements::FlowPort</stereotypesQualifiedNames> + </matcherConfiguration> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FullPort"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Value_Property_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Value_Property_ComponentAttributeLabel" name="Value (Property_ComponentAttributeLabel)" hint="Property_ComponentAttributeLabel"> + <iconEntry xmi:id="_6swwIScIEeWZS4hs8J1fNQ" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_6swwIicIEeWZS4hs8J1fNQ" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.ValueEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_rcBx4Ie8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Value"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ComponentAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Value_Property_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Value_Property_SignalAttributeLabel" name="Value (Property_SignalAttributeLabel)" hint="Property_SignalAttributeLabel"> + <iconEntry xmi:id="_TSDJVCCyEeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_I_GrICC4EeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.ValueEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_rt1TkIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Value"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_SignalAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Value_Property_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Value_Property_InterfaceAttributeLabel" name="Value (Property_InterfaceAttributeLabel)" hint="Property_InterfaceAttributeLabel"> + <iconEntry xmi:id="_TSDJVyCyEeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_JH1wYCC4EeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.ValueEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_sHB2sIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Value"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_InterfaceAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Value_Property_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Value_Property_ClassAttributeLabel" name="Value (Property_ClassAttributeLabel)" hint="Property_ClassAttributeLabel"> + <iconEntry xmi:id="_TSDJWiCyEeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_JSYMcCC4EeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.ValueEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_sTp9cIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Value"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ClassAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Value_Property_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Value_Property_DataTypeAttributeLabel" name="Value (Property_DataTypeAttributeLabel)" hint="Property_DataTypeAttributeLabel"> + <iconEntry xmi:id="_TSDJXSCyEeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_Jct0MCC4EeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.ValueEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_sepsgIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Value"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_DataTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Value_Property_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Value_Property_PrimitiveTypeAttributeLabel" name="Value (Property_PrimitiveTypeAttributeLabel)" hint="Property_PrimitiveTypeAttributeLabel"> + <iconEntry xmi:id="_TSDJYCCyEeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_Jn8MwCC4EeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.ValueEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_ss3usIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Value"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_PrimitiveTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Reference_label" description="Create a Block Reference" identifier="org.eclipse.papyrus.sysmldi.Reference_label" name="Reference" hint="SysML::Block::Reference_label"> + <iconEntry xmi:id="_UqzmgFL7EeWix4nZluIdNA" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_VWNT8FL7EeWix4nZluIdNA" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_s7NssIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Reference"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Reference_Property_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Reference_Property_ComponentAttributeLabel" name="Reference (Property_ComponentAttributeLabel)" hint="Property_ComponentAttributeLabel"> + <iconEntry xmi:id="_bobH8SC-EeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_bobH8iC-EeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_tF6g0Ie8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Reference"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ComponentAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Reference_Property_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Reference_Property_SignalAttributeLabel" name="Reference (Property_SignalAttributeLabel)" hint="Property_SignalAttributeLabel"> + <iconEntry xmi:id="_zsNRESC-EeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_zsNREiC-EeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_tQ628Ie8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Reference"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_SignalAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Reference_Property_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Reference_Property_InterfaceAttributeLabel" name="Reference (Property_InterfaceAttributeLabel)" hint="Property_InterfaceAttributeLabel"> + <iconEntry xmi:id="_zsNRFCC-EeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_zsNRFSC-EeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_th7ucIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Reference"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_InterfaceAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Reference_Property_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Reference_Property_ClassAttributeLabel" name="Reference (Property_ClassAttributeLabel)" hint="Property_ClassAttributeLabel"> + <iconEntry xmi:id="_zsNRFyC-EeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_zsNRGCC-EeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_ts8EkIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Reference"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ClassAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Reference_Property_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Reference_Property_DataTypeAttributeLabel" name="Reference (Property_DataTypeAttributeLabel)" hint="Property_DataTypeAttributeLabel"> + <iconEntry xmi:id="_zsNRGiC-EeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_zsNRGyC-EeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_t1_S4Ie8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Reference"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_DataTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Reference_Property_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Reference_Property_PrimitiveTypeAttributeLabel" name="Reference (Property_PrimitiveTypeAttributeLabel)" hint="Property_PrimitiveTypeAttributeLabel"> + <iconEntry xmi:id="_zsNRHSC-EeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_zsNRHiC-EeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_uIUZAIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Reference"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_PrimitiveTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Parameter_label" description="Create a ConstraintBlock Parameter" identifier="org.eclipse.papyrus.sysmldi.Parameter_label" name="Parameter" hint="SysML::ConstraintBlock::Parameter_label"> + <iconEntry xmi:id="_9vMgkAC4EeabH6-I0dvpUQ" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_L90icAC5EeabH6-I0dvpUQ" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Parameter"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Part_label" description="Create a Block Part" identifier="org.eclipse.papyrus.sysmldi.Part_label" name="Part" hint="SysML::Block::Part_label"> + <iconEntry xmi:id="_zFrY0FYBEeW77p7V_ZuW3Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_2qdHIFYBEeW77p7V_ZuW3Q" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_uWc7oIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Part"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Part_Property_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Part_Property_ComponentAttributeLabel" name="Part (Property_ComponentAttributeLabel)" hint="Property_ComponentAttributeLabel"> + <iconEntry xmi:id="_cCfUISDGEeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_fz9aoCDGEeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_uhUu4Ie8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Part"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ComponentAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Part_Property_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Part_Property_SignalAttributeLabel" name="Part (Property_SignalAttributeLabel)" hint="Property_SignalAttributeLabel"> + <iconEntry xmi:id="_cCfUJCDGEeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_gAyVsCDGEeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_usAU4Ie8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Part"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_SignalAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Part_Property_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Part_Property_InterfaceAttributeLabel" name="Part (Property_InterfaceAttributeLabel)" hint="Property_InterfaceAttributeLabel"> + <iconEntry xmi:id="_cCfUJyDGEeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_gLETECDGEeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_u6v7gIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Part"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_InterfaceAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Part_Property_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Part_Property_ClassAttributeLabel" name="Part (Property_ClassAttributeLabel)" hint="Property_ClassAttributeLabel"> + <iconEntry xmi:id="_cCfUKiDGEeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_gUWK4CDGEeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_vHpvEIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Part"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ClassAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Part_Property_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Part_Property_DataTypeAttributeLabel" name="Part (Property_DataTypeAttributeLabel)" hint="Property_DataTypeAttributeLabel"> + <iconEntry xmi:id="_cCfULSDGEeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_ghOwUCDGEeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_vUTD8Ie8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Part"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_DataTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Part_Property_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Part_Property_PrimitiveTypeAttributeLabel" name="Part (Property_PrimitiveTypeAttributeLabel)" hint="Property_PrimitiveTypeAttributeLabel"> + <iconEntry xmi:id="_cCfUMCDGEeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_gtaLICDGEeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_vf1lkIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Value"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_PrimitiveTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowProperty_label" description="Create a FlowProperty" identifier="org.eclipse.papyrus.sysmldi.FlowProperty_label" name="FlowProperty" hint="SysML::Block::FlowProperty_label"> + <iconEntry xmi:id="_OG0VQGHGEeWbSMDuSXx8SQ" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_vr2oUIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.ConfiguredFlowProperty"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TestCase_Activity_NamedElement_Shape" identifier="org.eclipse.papyrus.sysmldi.TestCase_Activity_NamedElement_Shape" name="Activity (NamedElement_Shape)" hint="NamedElement_DefaultShape"> + <iconEntry xmi:id="_AymtQGXkEeWv7P_h5u3SSw" iconPath="icons/full/obj16/Activity.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_v9OFIIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Activity"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.NamedElement_DefaultShape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TestCase_FunctionBehavior_NamedElement_Shape" identifier="org.eclipse.papyrus.sysmldi.TestCase_FunctionBehavior_NamedElement_Shape" name="TestCase FunctionBehavior (NamedElement_Shape)" hint="NamedElement_DefaultShape"> + <iconEntry xmi:id="_BUP4MGXYEeWv7P_h5u3SSw" iconPath="icons/full/obj16/FunctionBehavior.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_wJ4BEIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.FunctionBehavior"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.NamedElement_DefaultShape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TestCase_Interaction_NamedElement_Shape" identifier="org.eclipse.papyrus.sysmldi.TestCase_Interaction_NamedElement_Shape" name="TestCase Interaction (NamedElement_Shape)" hint="NamedElement_DefaultShape"> + <iconEntry xmi:id="_moMIcGXbEeWv7P_h5u3SSw" iconPath="icons/full/obj16/Interaction.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_wWrG8Ie8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Interaction"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.NamedElement_DefaultShape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TestCase_OpaqueBehavior_NamedElement_Shape" identifier="org.eclipse.papyrus.sysmldi.TestCase_OpaqueBehavior_NamedElement_Shape" name="TestCase OpaqueBehavior (NamedElement_Shape)" hint="NamedElement_DefaultShape"> + <iconEntry xmi:id="_nBxGEGXbEeWv7P_h5u3SSw" iconPath="icons/full/obj16/OpaqueBehavior.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_wjNHEIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.OpaqueBehavior"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.NamedElement_DefaultShape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TestCase_ProtocolStateMachine_NamedElement_Shape" identifier="org.eclipse.papyrus.sysmldi.TestCase_ProtocolStateMachine_NamedElement_Shape" name="TestCase ProtocolStateMachine (NamedElement_Shape)" hint="NamedElement_DefaultShape"> + <iconEntry xmi:id="_ni5dMGXbEeWv7P_h5u3SSw" iconPath="icons/full/obj16/ProtocolStateMachine.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_w0TeIIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.ProtocolStateMachine"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.NamedElement_DefaultShape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TestCase_StateMachine_NamedElement_Shape" identifier="org.eclipse.papyrus.sysmldi.TestCase_StateMachine_NamedElement_Shape" name="TestCase StateMachine (NamedElement_Shape)" hint="NamedElement_DefaultShape"> + <iconEntry xmi:id="_cUc84GXdEeWv7P_h5u3SSw" iconPath="icons/full/obj16/StateMachine.gif" bundleId="org.eclipse.uml2.uml.edit"/> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_xDDr0Ie8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.StateMachine"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.NamedElement_DefaultShape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.PrivatePackageImport_PackageImport_Edge" identifier="org.eclipse.papyrus.sysmldi.PrivatePackageImport_PackageImport_Edge" name="PrivatePackageImport (PackageImport_Edge)" hint="PackageImport_Edge"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_uowzsJzxEeWe1L0yBJDEDA" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.PrivatePackageImport"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.PackageImport_Edge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AssociationBlock_Shape" identifier="org.eclipse.papyrus.sysmldi.AssociationBlock_Shape" name="AssociationBlock" hint="AssociationClass_Shape"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_uowzTJzxEeWe1L0yBJDEDA" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.AssociationBlock"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.AssociationClass_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AssociationClass_Edge" identifier="org.eclipse.papyrus.sysmldi.AssociationClass_Edge" name="AssociationBlockEdge" hint="AssociationClass_Edge"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_uowzTJzxEeWe1L0yBJDEDA" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.AssociationBlock"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.AssociationClass_Edge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Stakeholder_NamedElement_Shape" identifier="org.eclipse.papyrus.sysmldi.Stakeholder_NamedElement_Shape" name="Stakeholder (NamedElement_Shape)" hint="NamedElement_DefaultShape"> + <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_uowzTJzxEeWe1L0yBJDEDA" matcherClassName="org.eclipse.papyrus.sysml.service.types.matcher.internal.SysML15ProfileMatcher"/> + <iconEntry xmi:id="_BFy7HTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Stakeholder.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.StakeholderClass"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.NamedElement_DefaultShape"/> + </elementTypeConfigurations> +</elementtypesconfigurations:ElementTypeSetConfiguration>
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations b/diagram/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations new file mode 100644 index 0000000..f3090bb --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations
@@ -0,0 +1,1208 @@ +<?xml version="1.0" encoding="ASCII"?> +<elementtypesconfigurations:ElementTypeSetConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmi:id="org.eclipse.papyrus.sysmldi.elementTypes" description="org.eclipse.papyrus.sysml14di.elementTypes" identifier="org.eclipse.papyrus.sysmldi.elementTypes" name="org.eclipse.papyrus.sysmldi.elementTypes" metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML"> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AcceptChangeStructuralFeatureEventAction_AcceptEventAction_Shape" identifier="org.eclipse.papyrus.sysmldi.AcceptChangeStructuralFeatureEventAction_AcceptEventAction_Shape" name="AcceptChangeStructuralFeatureEventAction" hint="AcceptEventAction_Shape"> + <iconEntry xmi:id="_BFqYMDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/AcceptChangeStructuralFeatureEventAction.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.AcceptChangeStructuralFeatureEventAction"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.AcceptEventAction_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_AttributeLabel" name="AdjunctProperty (Property_AttributeLabel)" hint="Property_AttributeLabel"> + <iconEntry xmi:id="_BFqYMjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/AdjunctProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.AdjunctProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_ClassAttributeLabel" name="AdjunctProperty (Property_ClassAttributeLabel)" hint="Property_ClassAttributeLabel"> + <iconEntry xmi:id="_BFqYNDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/AdjunctProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.AdjunctProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ClassAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_ComponentAttributeLabel" name="AdjunctProperty (Property_ComponentAttributeLabel)" hint="Property_ComponentAttributeLabel"> + <iconEntry xmi:id="_BFq_QDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/AdjunctProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.AdjunctProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ComponentAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_DataTypeAttributeLabel" name="AdjunctProperty (Property_DataTypeAttributeLabel)" hint="Property_DataTypeAttributeLabel"> + <iconEntry xmi:id="_BFq_QjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/AdjunctProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.AdjunctProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_DataTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_Edge" identifier="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_Edge" name="AdjunctProperty (Property_Edge)" hint="Property_Edge"> + <iconEntry xmi:id="_BFq_RDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/AdjunctProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.AdjunctProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Edge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_InterfaceAttributeLabel" name="AdjunctProperty (Property_InterfaceAttributeLabel)" hint="Property_InterfaceAttributeLabel"> + <iconEntry xmi:id="_BFq_RjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/AdjunctProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.AdjunctProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_InterfaceAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_PrimitiveTypeAttributeLabel" name="AdjunctProperty (Property_PrimitiveTypeAttributeLabel)" hint="Property_PrimitiveTypeAttributeLabel"> + <iconEntry xmi:id="_BFq_SDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/AdjunctProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.AdjunctProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_PrimitiveTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_Shape" name="AdjunctProperty (Property_Shape)" hint="Property_Shape"> + <iconEntry xmi:id="_BFq_SjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/AdjunctProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.AdjunctProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_Shape_CN" name="AdjunctProperty (Property_Shape_CN)" hint="Property_Shape_CN"> + <iconEntry xmi:id="_BFq_TDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/AdjunctProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.AdjunctProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_SignalAttributeLabel" name="AdjunctProperty (Property_SignalAttributeLabel)" hint="Property_SignalAttributeLabel"> + <iconEntry xmi:id="_BFq_TjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/AdjunctProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.AdjunctProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_SignalAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AllocateActivityPartition_ActivityPartition_Shape" identifier="org.eclipse.papyrus.sysmldi.AllocateActivityPartition_ActivityPartition_Shape" name="AllocateActivityPartition (ActivityPartition_Shape)" hint="ActivityPartition_Shape"> + <iconEntry xmi:id="_BFq_UDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/AllocateActivityPartition.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.AllocateActivityPartition"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActivityPartition_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AllocateActivityPartition_ActivityPartition_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.AllocateActivityPartition_ActivityPartition_Shape_CN" name="AllocateActivityPartition (ActivityPartition_Shape_CN)" hint="ActivityPartition_Shape_CN"> + <iconEntry xmi:id="_BFq_UjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/AllocateActivityPartition.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.AllocateActivityPartition"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActivityPartition_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Allocate_Abstraction_Abstraction_Edge" identifier="org.eclipse.papyrus.sysmldi.Allocate_Abstraction_Abstraction_Edge" name="Allocate (Abstraction_Edge)" hint="Abstraction_Edge"> + <iconEntry xmi:id="_BFq_VDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Allocate.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Allocate_Abstraction"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Edge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Allocate_Abstraction_Abstraction_Shape" identifier="org.eclipse.papyrus.sysmldi.Allocate_Abstraction_Abstraction_Shape" name="Allocate (Abstraction_Shape)" hint="Abstraction_Shape"> + <iconEntry xmi:id="_BFq_VjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Allocate.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Allocate_Abstraction"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Allocate_Abstraction_Abstraction_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.Allocate_Abstraction_Abstraction_Shape_CN" name="Allocate (Abstraction_Shape_CN)" hint="Abstraction_Shape_CN"> + <iconEntry xmi:id="_BFq_WDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Allocate.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Allocate_Abstraction"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.BindingConnector_Connector_Edge" identifier="org.eclipse.papyrus.sysmldi.BindingConnector_Connector_Edge" name="BindingConnector" hint="Connector_Edge"> + <iconEntry xmi:id="_BFq_WjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/BindingConnector.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.BindingConnector"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Connector_Edge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Block_Class_ClassNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.Block_Class_ClassNestedClassifierLabel" name="Block (Class_ClassNestedClassifierLabel)" hint="Class_ClassNestedClassifierLabel"> + <iconEntry xmi:id="_BFq_XDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Block.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Block"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_ClassNestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Block_Class_ComponentNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.Block_Class_ComponentNestedClassifierLabel" name="Block (Class_ComponentNestedClassifierLabel)" hint="Class_ComponentNestedClassifierLabel"> + <iconEntry xmi:id="_BFrmUTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Block.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Block"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_ComponentNestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Block_Class_InterfaceNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.Block_Class_InterfaceNestedClassifierLabel" name="Block (Class_InterfaceNestedClassifierLabel)" hint="Class_InterfaceNestedClassifierLabel"> + <iconEntry xmi:id="_BFrmUzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Block.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Block"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_InterfaceNestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Block_Class_MetaclassShape" identifier="org.eclipse.papyrus.sysmldi.Block_Class_MetaclassShape" name="Block (Class_MetaclassShape)" hint="Class_MetaclassShape"> + <iconEntry xmi:id="_BFrmVTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Block.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Block"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_MetaclassShape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Block_Class_MetaclassShape_CN" identifier="org.eclipse.papyrus.sysmldi.Block_Class_MetaclassShape_CN" name="Block (Class_MetaclassShape_CN)" hint="Class_MetaclassShape_CN"> + <iconEntry xmi:id="_BFrmVzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Block.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Block"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_MetaclassShape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Block_Class_NestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.Block_Class_NestedClassifierLabel" name="Block (Class_NestedClassifierLabel)" hint="Class_NestedClassifierLabel"> + <iconEntry xmi:id="_BFrmWTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Block.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Block"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_NestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Block_Class_Shape" identifier="org.eclipse.papyrus.sysmldi.Block_Class_Shape" name="Block (Class_Shape)" hint="Class_Shape"> + <iconEntry xmi:id="_BFrmWzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Block.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Block"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Block_Class_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.Block_Class_Shape_CN" name="Block (Class_Shape_CN)" hint="Class_Shape_CN"> + <iconEntry xmi:id="_BFrmXTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Block.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Block"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.BoundReference_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.BoundReference_Property_AttributeLabel" name="BoundReference (Property_AttributeLabel)" hint="Property_AttributeLabel"> + <iconEntry xmi:id="_BFrmXzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/BoundReference.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.BoundReference"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.BoundReference_Property_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.BoundReference_Property_ClassAttributeLabel" name="BoundReference (Property_ClassAttributeLabel)" hint="Property_ClassAttributeLabel"> + <iconEntry xmi:id="_BFsNYTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/BoundReference.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.BoundReference"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ClassAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.BoundReference_Property_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.BoundReference_Property_ComponentAttributeLabel" name="BoundReference (Property_ComponentAttributeLabel)" hint="Property_ComponentAttributeLabel"> + <iconEntry xmi:id="_BFsNYzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/BoundReference.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.BoundReference"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ComponentAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.BoundReference_Property_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.BoundReference_Property_DataTypeAttributeLabel" name="BoundReference (Property_DataTypeAttributeLabel)" hint="Property_DataTypeAttributeLabel"> + <iconEntry xmi:id="_BFsNZTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/BoundReference.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.BoundReference"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_DataTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.BoundReference_Property_Edge" identifier="org.eclipse.papyrus.sysmldi.BoundReference_Property_Edge" name="BoundReference (Property_Edge)" hint="Property_Edge"> + <iconEntry xmi:id="_BFsNZzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/BoundReference.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.BoundReference"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Edge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.BoundReference_Property_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.BoundReference_Property_InterfaceAttributeLabel" name="BoundReference (Property_InterfaceAttributeLabel)" hint="Property_InterfaceAttributeLabel"> + <iconEntry xmi:id="_BFsNaTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/BoundReference.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.BoundReference"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_InterfaceAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.BoundReference_Property_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.BoundReference_Property_PrimitiveTypeAttributeLabel" name="BoundReference (Property_PrimitiveTypeAttributeLabel)" hint="Property_PrimitiveTypeAttributeLabel"> + <iconEntry xmi:id="_BFsNazvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/BoundReference.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.BoundReference"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_PrimitiveTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.BoundReference_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.BoundReference_Property_Shape" name="BoundReference (Property_Shape)" hint="Property_Shape"> + <iconEntry xmi:id="_BFsNbTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/BoundReference.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.BoundReference"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.BoundReference_Property_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.BoundReference_Property_Shape_CN" name="BoundReference (Property_Shape_CN)" hint="Property_Shape_CN"> + <iconEntry xmi:id="_BFsNbzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/BoundReference.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.BoundReference"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.BoundReference_Property_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.BoundReference_Property_SignalAttributeLabel" name="BoundReference (Property_SignalAttributeLabel)" hint="Property_SignalAttributeLabel"> + <iconEntry xmi:id="_BFsNcTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/BoundReference.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.BoundReference"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_SignalAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ChangeStructuralFeatureEvent_ChangeEvent_Shape" identifier="org.eclipse.papyrus.sysmldi.ChangeStructuralFeatureEvent_ChangeEvent_Shape" name="ChangeStructuralFeatureEvent" hint="ChangeEvent_Shape"> + <iconEntry xmi:id="_BFs0cTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ChangeStructuralFeatureEvent.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ChangeStructuralFeatureEvent"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ChangeEvent_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_AttributeLabel" name="ClassifierBehaviorProperty (Property_AttributeLabel)" hint="Property_AttributeLabel"> + <iconEntry xmi:id="_BFs0czvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ClassifierBehaviorProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ClassifierBehaviorProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_ClassAttributeLabel" name="ClassifierBehaviorProperty (Property_ClassAttributeLabel)" hint="Property_ClassAttributeLabel"> + <iconEntry xmi:id="_BFs0dTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ClassifierBehaviorProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ClassifierBehaviorProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ClassAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_ComponentAttributeLabel" name="ClassifierBehaviorProperty (Property_ComponentAttributeLabel)" hint="Property_ComponentAttributeLabel"> + <iconEntry xmi:id="_BFs0dzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ClassifierBehaviorProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ClassifierBehaviorProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ComponentAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_DataTypeAttributeLabel" name="ClassifierBehaviorProperty (Property_DataTypeAttributeLabel)" hint="Property_DataTypeAttributeLabel"> + <iconEntry xmi:id="_BFs0eTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ClassifierBehaviorProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ClassifierBehaviorProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_DataTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_Edge" identifier="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_Edge" name="ClassifierBehaviorProperty (Property_Edge)" hint="Property_Edge"> + <iconEntry xmi:id="_BFs0ezvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ClassifierBehaviorProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ClassifierBehaviorProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Edge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_InterfaceAttributeLabel" name="ClassifierBehaviorProperty (Property_InterfaceAttributeLabel)" hint="Property_InterfaceAttributeLabel"> + <iconEntry xmi:id="_BFs0fTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ClassifierBehaviorProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ClassifierBehaviorProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_InterfaceAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_PrimitiveTypeAttributeLabel" name="ClassifierBehaviorProperty (Property_PrimitiveTypeAttributeLabel)" hint="Property_PrimitiveTypeAttributeLabel"> + <iconEntry xmi:id="_BFs0fzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ClassifierBehaviorProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ClassifierBehaviorProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_PrimitiveTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_Shape" name="ClassifierBehaviorProperty (Property_Shape)" hint="Property_Shape"> + <iconEntry xmi:id="_BFs0gTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ClassifierBehaviorProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ClassifierBehaviorProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_Shape_CN" name="ClassifierBehaviorProperty (Property_Shape_CN)" hint="Property_Shape_CN"> + <iconEntry xmi:id="_BFs0gzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ClassifierBehaviorProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ClassifierBehaviorProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_SignalAttributeLabel" name="ClassifierBehaviorProperty (Property_SignalAttributeLabel)" hint="Property_SignalAttributeLabel"> + <iconEntry xmi:id="_BFs0hTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ClassifierBehaviorProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ClassifierBehaviorProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_SignalAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Conform_Generalization_Edge" identifier="org.eclipse.papyrus.sysmldi.Conform_Generalization_Edge" name="Conform" hint="Generalization_Edge"> + <iconEntry xmi:id="_BFs0hzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Conform.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Conform"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Generalization_Edge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_AttributeLabel" name="ConnectorProperty (Property_AttributeLabel)" hint="Property_AttributeLabel"> + <iconEntry xmi:id="_BFtbgTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConnectorProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ConnectorProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_ClassAttributeLabel" name="ConnectorProperty (Property_ClassAttributeLabel)" hint="Property_ClassAttributeLabel"> + <iconEntry xmi:id="_BFtbgzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConnectorProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ConnectorProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ClassAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_ComponentAttributeLabel" name="ConnectorProperty (Property_ComponentAttributeLabel)" hint="Property_ComponentAttributeLabel"> + <iconEntry xmi:id="_BFtbhTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConnectorProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ConnectorProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ComponentAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_DataTypeAttributeLabel" name="ConnectorProperty (Property_DataTypeAttributeLabel)" hint="Property_DataTypeAttributeLabel"> + <iconEntry xmi:id="_BFtbhzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConnectorProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ConnectorProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_DataTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_Edge" identifier="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_Edge" name="ConnectorProperty (Property_Edge)" hint="Property_Edge"> + <iconEntry xmi:id="_BFtbiTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConnectorProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ConnectorProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Edge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_InterfaceAttributeLabel" name="ConnectorProperty (Property_InterfaceAttributeLabel)" hint="Property_InterfaceAttributeLabel"> + <iconEntry xmi:id="_BFtbizvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConnectorProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ConnectorProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_InterfaceAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_PrimitiveTypeAttributeLabel" name="ConnectorProperty (Property_PrimitiveTypeAttributeLabel)" hint="Property_PrimitiveTypeAttributeLabel"> + <iconEntry xmi:id="_BFtbjTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConnectorProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ConnectorProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_PrimitiveTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_Shape" name="ConnectorProperty (Property_Shape)" hint="Property_Shape"> + <iconEntry xmi:id="_BFtbjzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConnectorProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ConnectorProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_Shape_CN" name="ConnectorProperty (Property_Shape_CN)" hint="Property_Shape_CN"> + <iconEntry xmi:id="_BFtbkTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConnectorProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ConnectorProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_SignalAttributeLabel" name="ConnectorProperty (Property_SignalAttributeLabel)" hint="Property_SignalAttributeLabel"> + <iconEntry xmi:id="_BFtbkzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConnectorProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ConnectorProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_SignalAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_ClassNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_ClassNestedClassifierLabel" name="ConstraintBlock (Class_ClassNestedClassifierLabel)" hint="Class_ClassNestedClassifierLabel"> + <iconEntry xmi:id="_BFtblTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConstraintBlock.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ConstraintBlock"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_ClassNestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_ComponentNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_ComponentNestedClassifierLabel" name="ConstraintBlock (Class_ComponentNestedClassifierLabel)" hint="Class_ComponentNestedClassifierLabel"> + <iconEntry xmi:id="_BFtblzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConstraintBlock.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ConstraintBlock"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_ComponentNestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_InterfaceNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_InterfaceNestedClassifierLabel" name="ConstraintBlock (Class_InterfaceNestedClassifierLabel)" hint="Class_InterfaceNestedClassifierLabel"> + <iconEntry xmi:id="_BFtbmTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConstraintBlock.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ConstraintBlock"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_InterfaceNestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_MetaclassShape" identifier="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_MetaclassShape" name="ConstraintBlock (Class_MetaclassShape)" hint="Class_MetaclassShape"> + <iconEntry xmi:id="_BFuCkTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConstraintBlock.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ConstraintBlock"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_MetaclassShape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_MetaclassShape_CN" identifier="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_MetaclassShape_CN" name="ConstraintBlock (Class_MetaclassShape_CN)" hint="Class_MetaclassShape_CN"> + <iconEntry xmi:id="_BFuCkzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConstraintBlock.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ConstraintBlock"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_MetaclassShape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_NestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_NestedClassifierLabel" name="ConstraintBlock (Class_NestedClassifierLabel)" hint="Class_NestedClassifierLabel"> + <iconEntry xmi:id="_BFuClTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConstraintBlock.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ConstraintBlock"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_NestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_Shape" identifier="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_Shape" name="ConstraintBlock (Class_Shape)" hint="Class_Shape"> + <iconEntry xmi:id="_BFuClzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConstraintBlock.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ConstraintBlock"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_Shape_CN" name="ConstraintBlock (Class_Shape_CN)" hint="Class_Shape_CN"> + <iconEntry xmi:id="_BFuCmTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConstraintBlock.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ConstraintBlock"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Continuous_Parameter_Parameter_ParameterLabel" identifier="org.eclipse.papyrus.sysmldi.Continuous_Parameter_Parameter_ParameterLabel" name="Continuous (Parameter_ParameterLabel)" hint="Parameter_ParameterLabel"> + <iconEntry xmi:id="_BFuCmzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Continuous.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Continuous_Parameter"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Parameter_ParameterLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Continuous_Parameter_Parameter_Shape" identifier="org.eclipse.papyrus.sysmldi.Continuous_Parameter_Parameter_Shape" name="Continuous (Parameter_Shape)" hint="Parameter_Shape"> + <iconEntry xmi:id="_BFuCnTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Continuous.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Continuous_Parameter"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Parameter_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ControlOperator_Behavior_Behavior_InternalBehaviorLabel" identifier="org.eclipse.papyrus.sysmldi.ControlOperator_Behavior_Behavior_InternalBehaviorLabel" name="ControlOperator Behavior" hint="Behavior_InternalBehaviorLabel"> + <iconEntry xmi:id="_BFuCnzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ControlOperator.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ControlOperator_Behavior"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Behavior_InternalBehaviorLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ControlOperator_Operation_Operation_ClassOperationLabel" identifier="org.eclipse.papyrus.sysmldi.ControlOperator_Operation_Operation_ClassOperationLabel" name="ControlOperator (Operation_ClassOperationLabel)" hint="Operation_ClassOperationLabel"> + <iconEntry xmi:id="_BFuCoTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ControlOperator.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ControlOperator_Operation"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Operation_ClassOperationLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ControlOperator_Operation_Operation_ComponentOperationLabel" identifier="org.eclipse.papyrus.sysmldi.ControlOperator_Operation_Operation_ComponentOperationLabel" name="ControlOperator (Operation_ComponentOperationLabel)" hint="Operation_ComponentOperationLabel"> + <iconEntry xmi:id="_BFuCozvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ControlOperator.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ControlOperator_Operation"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Operation_ComponentOperationLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ControlOperator_Operation_Operation_DataTypeOperationLabel" identifier="org.eclipse.papyrus.sysmldi.ControlOperator_Operation_Operation_DataTypeOperationLabel" name="ControlOperator (Operation_DataTypeOperationLabel)" hint="Operation_DataTypeOperationLabel"> + <iconEntry xmi:id="_BFuCpTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ControlOperator.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ControlOperator_Operation"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Operation_DataTypeOperationLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ControlOperator_Operation_Operation_InterfaceOperationLabel" identifier="org.eclipse.papyrus.sysmldi.ControlOperator_Operation_Operation_InterfaceOperationLabel" name="ControlOperator (Operation_InterfaceOperationLabel)" hint="Operation_InterfaceOperationLabel"> + <iconEntry xmi:id="_BFuCpzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ControlOperator.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ControlOperator_Operation"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Operation_InterfaceOperationLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ControlOperator_Operation_Operation_OperationLabel" identifier="org.eclipse.papyrus.sysmldi.ControlOperator_Operation_Operation_OperationLabel" name="ControlOperator (Operation_OperationLabel)" hint="Operation_OperationLabel"> + <iconEntry xmi:id="_BFuCqTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ControlOperator.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ControlOperator_Operation"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Operation_OperationLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ControlOperator_Operation_Operation_PrimitiveTypeOperationLabel" identifier="org.eclipse.papyrus.sysmldi.ControlOperator_Operation_Operation_PrimitiveTypeOperationLabel" name="ControlOperator (Operation_PrimitiveTypeOperationLabel)" hint="Operation_PrimitiveTypeOperationLabel"> + <iconEntry xmi:id="_BFuCqzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ControlOperator.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ControlOperator_Operation"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Operation_PrimitiveTypeOperationLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Copy_Abstraction_Abstraction_Edge" identifier="org.eclipse.papyrus.sysmldi.Copy_Abstraction_Abstraction_Edge" name="Copy (Abstraction_Edge)" hint="Abstraction_Edge"> + <iconEntry xmi:id="_BFuCrTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Copy.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Copy_Abstraction"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Edge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Copy_Abstraction_Abstraction_Shape" identifier="org.eclipse.papyrus.sysmldi.Copy_Abstraction_Abstraction_Shape" name="Copy (Abstraction_Shape)" hint="Abstraction_Shape"> + <iconEntry xmi:id="_BFuCrzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Copy.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Copy_Abstraction"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Copy_Abstraction_Abstraction_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.Copy_Abstraction_Abstraction_Shape_CN" name="Copy (Abstraction_Shape_CN)" hint="Abstraction_Shape_CN"> + <iconEntry xmi:id="_BFuCsTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Copy.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Copy_Abstraction"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DeriveReqt_Abstraction_Abstraction_Edge" identifier="org.eclipse.papyrus.sysmldi.DeriveReqt_Abstraction_Abstraction_Edge" name="DeriveReqt (Abstraction_Edge)" hint="Abstraction_Edge"> + <iconEntry xmi:id="_BFuCszvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/DeriveReqt.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.DeriveReqt_Abstraction"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Edge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DeriveReqt_Abstraction_Abstraction_Shape" identifier="org.eclipse.papyrus.sysmldi.DeriveReqt_Abstraction_Abstraction_Shape" name="DeriveReqt (Abstraction_Shape)" hint="Abstraction_Shape"> + <iconEntry xmi:id="_BFuCtTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/DeriveReqt.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.DeriveReqt_Abstraction"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DeriveReqt_Abstraction_Abstraction_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.DeriveReqt_Abstraction_Abstraction_Shape_CN" name="DeriveReqt (Abstraction_Shape_CN)" hint="Abstraction_Shape_CN"> + <iconEntry xmi:id="_BFuCtzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/DeriveReqt.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.DeriveReqt_Abstraction"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Discrete_Parameter_Parameter_ParameterLabel" identifier="org.eclipse.papyrus.sysmldi.Discrete_Parameter_Parameter_ParameterLabel" name="Discrete (Parameter_ParameterLabel)" hint="Parameter_ParameterLabel"> + <iconEntry xmi:id="_BFupoTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Discrete.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Discrete_Parameter"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Parameter_ParameterLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Discrete_Parameter_Parameter_Shape" identifier="org.eclipse.papyrus.sysmldi.Discrete_Parameter_Parameter_Shape" name="Discrete (Parameter_Shape)" hint="Parameter_Shape"> + <iconEntry xmi:id="_BFupozvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Discrete.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Discrete_Parameter"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Parameter_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_AttributeLabel" name="DistributedProperty (Property_AttributeLabel)" hint="Property_AttributeLabel"> + <iconEntry xmi:id="_BFuppTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/DistributedProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.DistributedProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_ClassAttributeLabel" name="DistributedProperty (Property_ClassAttributeLabel)" hint="Property_ClassAttributeLabel"> + <iconEntry xmi:id="_BFuppzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/DistributedProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.DistributedProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ClassAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_ComponentAttributeLabel" name="DistributedProperty (Property_ComponentAttributeLabel)" hint="Property_ComponentAttributeLabel"> + <iconEntry xmi:id="_BFupqTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/DistributedProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.DistributedProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ComponentAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_DataTypeAttributeLabel" name="DistributedProperty (Property_DataTypeAttributeLabel)" hint="Property_DataTypeAttributeLabel"> + <iconEntry xmi:id="_BFupqzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/DistributedProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.DistributedProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_DataTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_Edge" identifier="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_Edge" name="DistributedProperty (Property_Edge)" hint="Property_Edge"> + <iconEntry xmi:id="_BFvQsTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/DistributedProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.DistributedProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Edge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_InterfaceAttributeLabel" name="DistributedProperty (Property_InterfaceAttributeLabel)" hint="Property_InterfaceAttributeLabel"> + <iconEntry xmi:id="_BFvQszvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/DistributedProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.DistributedProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_InterfaceAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_PrimitiveTypeAttributeLabel" name="DistributedProperty (Property_PrimitiveTypeAttributeLabel)" hint="Property_PrimitiveTypeAttributeLabel"> + <iconEntry xmi:id="_BFvQtTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/DistributedProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.DistributedProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_PrimitiveTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_Shape" name="DistributedProperty (Property_Shape)" hint="Property_Shape"> + <iconEntry xmi:id="_BFvQtzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/DistributedProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.DistributedProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_Shape_CN" name="DistributedProperty (Property_Shape_CN)" hint="Property_Shape_CN"> + <iconEntry xmi:id="_BFvQuTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/DistributedProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.DistributedProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_SignalAttributeLabel" name="DistributedProperty (Property_SignalAttributeLabel)" hint="Property_SignalAttributeLabel"> + <iconEntry xmi:id="_BFvQuzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/DistributedProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.DistributedProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_SignalAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ElementGroup_Comment_Shape" identifier="org.eclipse.papyrus.sysmldi.ElementGroup_Comment_Shape" name="ElementGroup (Comment_Shape)" hint="Comment_Shape"> + <iconEntry xmi:id="_BFvQvTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ElementGroup.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ElementGroup"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Comment_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ElementGroup_Comment_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.ElementGroup_Comment_Shape_CN" name="ElementGroup (Comment_Shape_CN)" hint="Comment_Shape_CN"> + <iconEntry xmi:id="_BFvQvzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ElementGroup.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ElementGroup"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Comment_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_AttributeLabel" name="EndPathMultiplicity (Property_AttributeLabel)" hint="Property_AttributeLabel"> + <iconEntry xmi:id="_BFvQwTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/EndPathMultiplicity.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.EndPathMultiplicity"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_ClassAttributeLabel" name="EndPathMultiplicity (Property_ClassAttributeLabel)" hint="Property_ClassAttributeLabel"> + <iconEntry xmi:id="_BFvQwzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/EndPathMultiplicity.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.EndPathMultiplicity"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ClassAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_ComponentAttributeLabel" name="EndPathMultiplicity (Property_ComponentAttributeLabel)" hint="Property_ComponentAttributeLabel"> + <iconEntry xmi:id="_BFvQxTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/EndPathMultiplicity.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.EndPathMultiplicity"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ComponentAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_DataTypeAttributeLabel" name="EndPathMultiplicity (Property_DataTypeAttributeLabel)" hint="Property_DataTypeAttributeLabel"> + <iconEntry xmi:id="_BFvQxzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/EndPathMultiplicity.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.EndPathMultiplicity"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_DataTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_Edge" identifier="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_Edge" name="EndPathMultiplicity (Property_Edge)" hint="Property_Edge"> + <iconEntry xmi:id="_BFvQyTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/EndPathMultiplicity.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.EndPathMultiplicity"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Edge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_InterfaceAttributeLabel" name="EndPathMultiplicity (Property_InterfaceAttributeLabel)" hint="Property_InterfaceAttributeLabel"> + <iconEntry xmi:id="_BFvQyzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/EndPathMultiplicity.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.EndPathMultiplicity"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_InterfaceAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_PrimitiveTypeAttributeLabel" name="EndPathMultiplicity (Property_PrimitiveTypeAttributeLabel)" hint="Property_PrimitiveTypeAttributeLabel"> + <iconEntry xmi:id="_BFvQzTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/EndPathMultiplicity.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.EndPathMultiplicity"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_PrimitiveTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_Shape" name="EndPathMultiplicity (Property_Shape)" hint="Property_Shape"> + <iconEntry xmi:id="_BFvQzzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/EndPathMultiplicity.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.EndPathMultiplicity"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_Shape_CN" name="EndPathMultiplicity (Property_Shape_CN)" hint="Property_Shape_CN"> + <iconEntry xmi:id="_BFvQ0TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/EndPathMultiplicity.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.EndPathMultiplicity"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_SignalAttributeLabel" name="EndPathMultiplicity (Property_SignalAttributeLabel)" hint="Property_SignalAttributeLabel"> + <iconEntry xmi:id="_BFvQ0zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/EndPathMultiplicity.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.EndPathMultiplicity"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_SignalAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Expose_Dependency_BranchEdge" identifier="org.eclipse.papyrus.sysmldi.Expose_Dependency_BranchEdge" name="Expose (Dependency_BranchEdge)" hint="Dependency_BranchEdge"> + <iconEntry xmi:id="_BFv3wDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Expose.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Expose"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Dependency_BranchEdge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Expose_Dependency_Edge" identifier="org.eclipse.papyrus.sysmldi.Expose_Dependency_Edge" name="Expose (Dependency_Edge)" hint="Dependency_Edge"> + <iconEntry xmi:id="_BFv3wjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Expose.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Expose"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Dependency_Edge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Expose_Dependency_Shape" identifier="org.eclipse.papyrus.sysmldi.Expose_Dependency_Shape" name="Expose (Dependency_Shape)" hint="Dependency_Shape"> + <iconEntry xmi:id="_BFv3xDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Expose.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Expose"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Dependency_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Expose_Dependency_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.Expose_Dependency_Shape_CN" name="Expose (Dependency_Shape_CN)" hint="Dependency_Shape_CN"> + <iconEntry xmi:id="_BFv3xjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Expose.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Expose"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Dependency_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Port_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Port_AttributeLabel" name="FlowPort (Port_AttributeLabel)" hint="Port_AttributeLabel"> + <iconEntry xmi:id="_BFv3yDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowPort_IN.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_AttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Port_BehaviorEdge" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Port_BehaviorEdge" name="FlowPort (Port_BehaviorEdge)" hint="Port_BehaviorEdge"> + <iconEntry xmi:id="_BFv3yjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowPort_IN.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_BehaviorEdge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Port_BehaviorShape" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Port_BehaviorShape" name="FlowPort (Port_BehaviorShape)" hint="Port_BehaviorShape"> + <iconEntry xmi:id="_BFv3zDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowPort_IN.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_BehaviorShape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Port_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Port_ClassAttributeLabel" name="FlowPort (Port_ClassAttributeLabel)" hint="Port_ClassAttributeLabel"> + <iconEntry xmi:id="_BFv3zjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowPort_IN.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_ClassAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Port_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Port_ComponentAttributeLabel" name="FlowPort (Port_ComponentAttributeLabel)" hint="Port_ComponentAttributeLabel"> + <iconEntry xmi:id="_BFv30DvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowPort_IN.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_ComponentAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Port_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Port_DataTypeAttributeLabel" name="FlowPort (Port_DataTypeAttributeLabel)" hint="Port_DataTypeAttributeLabel"> + <iconEntry xmi:id="_BFv30jvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowPort_IN.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_DataTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Port_Edge" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Port_Edge" name="FlowPort (Port_Edge)" hint="Port_Edge"> + <iconEntry xmi:id="_BFv31DvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowPort_IN.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_Edge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Port_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Port_InterfaceAttributeLabel" name="FlowPort (Port_InterfaceAttributeLabel)" hint="Port_InterfaceAttributeLabel"> + <iconEntry xmi:id="_BFv31jvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowPort_IN.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_InterfaceAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Port_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Port_PrimitiveTypeAttributeLabel" name="FlowPort (Port_PrimitiveTypeAttributeLabel)" hint="Port_PrimitiveTypeAttributeLabel"> + <iconEntry xmi:id="_BFv32DvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowPort_IN.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_PrimitiveTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Port_Shape" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Port_Shape" name="FlowPort (Port_Shape)" hint="Port_Shape"> + <iconEntry xmi:id="_BFv32jvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowPort_IN.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Port_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Port_Shape_CN" name="FlowPort (Port_Shape_CN)" hint="Port_Shape_CN"> + <iconEntry xmi:id="_BFv33DvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowPort_IN.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Port_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Port_SignalAttributeLabel" name="FlowPort (Port_SignalAttributeLabel)" hint="Port_SignalAttributeLabel"> + <iconEntry xmi:id="_BFv33jvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowPort_IN.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_SignalAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowProperty_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowProperty_Property_AttributeLabel" name="FlowProperty (Property_AttributeLabel)" hint="Property_AttributeLabel"> + <iconEntry xmi:id="_BFv34DvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowProperty_IN.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowProperty_Property_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowProperty_Property_ClassAttributeLabel" name="FlowProperty (Property_ClassAttributeLabel)" hint="Property_ClassAttributeLabel"> + <iconEntry xmi:id="_BFv34jvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowProperty_IN.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ClassAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowProperty_Property_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowProperty_Property_ComponentAttributeLabel" name="FlowProperty (Property_ComponentAttributeLabel)" hint="Property_ComponentAttributeLabel"> + <iconEntry xmi:id="_BFwe0TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowProperty_IN.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ComponentAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowProperty_Property_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowProperty_Property_DataTypeAttributeLabel" name="FlowProperty (Property_DataTypeAttributeLabel)" hint="Property_DataTypeAttributeLabel"> + <iconEntry xmi:id="_BFwe0zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowProperty_IN.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_DataTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowProperty_Property_Edge" identifier="org.eclipse.papyrus.sysmldi.FlowProperty_Property_Edge" name="FlowProperty (Property_Edge)" hint="Property_Edge"> + <iconEntry xmi:id="_BFwe1TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowProperty_IN.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Edge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowProperty_Property_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowProperty_Property_InterfaceAttributeLabel" name="FlowProperty (Property_InterfaceAttributeLabel)" hint="Property_InterfaceAttributeLabel"> + <iconEntry xmi:id="_BFwe1zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowProperty_IN.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_InterfaceAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowProperty_Property_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowProperty_Property_PrimitiveTypeAttributeLabel" name="FlowProperty (Property_PrimitiveTypeAttributeLabel)" hint="Property_PrimitiveTypeAttributeLabel"> + <iconEntry xmi:id="_BFwe2TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowProperty_IN.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_PrimitiveTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowProperty_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.FlowProperty_Property_Shape" name="FlowProperty (Property_Shape)" hint="Property_Shape"> + <iconEntry xmi:id="_BFwe2zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowProperty_IN.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowProperty_Property_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.FlowProperty_Property_Shape_CN" name="FlowProperty (Property_Shape_CN)" hint="Property_Shape_CN"> + <iconEntry xmi:id="_BFwe3TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowProperty_IN.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowProperty_Property_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowProperty_Property_SignalAttributeLabel" name="FlowProperty (Property_SignalAttributeLabel)" hint="Property_SignalAttributeLabel"> + <iconEntry xmi:id="_BFwe3zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowProperty_IN.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_SignalAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_ClassNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_ClassNestedClassifierLabel" name="FlowSpecification (Interface_ClassNestedClassifierLabel)" hint="Interface_ClassNestedClassifierLabel"> + <iconEntry xmi:id="_BFwe4TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowSpecification.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowSpecification"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Interface_ClassNestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_ClassifierShape" identifier="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_ClassifierShape" name="FlowSpecification (Interface_ClassifierShape)" hint="Interface_ClassifierShape"> + <iconEntry xmi:id="_BFwe4zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowSpecification.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowSpecification"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Interface_ClassifierShape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_ClassifierShape_CN" identifier="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_ClassifierShape_CN" name="FlowSpecification (Interface_ClassifierShape_CN)" hint="Interface_ClassifierShape_CN"> + <iconEntry xmi:id="_BFwe5TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowSpecification.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowSpecification"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Interface_ClassifierShape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_ComponentNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_ComponentNestedClassifierLabel" name="FlowSpecification (Interface_ComponentNestedClassifierLabel)" hint="Interface_ComponentNestedClassifierLabel"> + <iconEntry xmi:id="_BFwe5zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowSpecification.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowSpecification"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Interface_ComponentNestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_InterfaceNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_InterfaceNestedClassifierLabel" name="FlowSpecification (Interface_InterfaceNestedClassifierLabel)" hint="Interface_InterfaceNestedClassifierLabel"> + <iconEntry xmi:id="_BFwe6TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowSpecification.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowSpecification"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Interface_InterfaceNestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_NestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_NestedClassifierLabel" name="FlowSpecification (Interface_NestedClassifierLabel)" hint="Interface_NestedClassifierLabel"> + <iconEntry xmi:id="_BFwe6zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowSpecification.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowSpecification"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Interface_NestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_Shape" identifier="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_Shape" name="FlowSpecification (Interface_Shape)" hint="Interface_Shape"> + <iconEntry xmi:id="_BFwe7TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowSpecification.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowSpecification"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Interface_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_Shape_CN" name="FlowSpecification (Interface_Shape_CN)" hint="Interface_Shape_CN"> + <iconEntry xmi:id="_BFwe7zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowSpecification.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowSpecification"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Interface_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FullPort_Port_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FullPort_Port_AttributeLabel" name="FullPort (Port_AttributeLabel)" hint="Port_AttributeLabel"> + <iconEntry xmi:id="_BFwe8TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FullPort.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FullPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_AttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FullPort_Port_BehaviorEdge" identifier="org.eclipse.papyrus.sysmldi.FullPort_Port_BehaviorEdge" name="FullPort (Port_BehaviorEdge)" hint="Port_BehaviorEdge"> + <iconEntry xmi:id="_BFwe8zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FullPort.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FullPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_BehaviorEdge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FullPort_Port_BehaviorShape" identifier="org.eclipse.papyrus.sysmldi.FullPort_Port_BehaviorShape" name="FullPort (Port_BehaviorShape)" hint="Port_BehaviorShape"> + <iconEntry xmi:id="_BFwe9TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FullPort.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FullPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_BehaviorShape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FullPort_Port_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FullPort_Port_ClassAttributeLabel" name="FullPort (Port_ClassAttributeLabel)" hint="Port_ClassAttributeLabel"> + <iconEntry xmi:id="_BFxF4DvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FullPort.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FullPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_ClassAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FullPort_Port_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FullPort_Port_ComponentAttributeLabel" name="FullPort (Port_ComponentAttributeLabel)" hint="Port_ComponentAttributeLabel"> + <iconEntry xmi:id="_BFxF4jvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FullPort.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FullPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_ComponentAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FullPort_Port_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FullPort_Port_DataTypeAttributeLabel" name="FullPort (Port_DataTypeAttributeLabel)" hint="Port_DataTypeAttributeLabel"> + <iconEntry xmi:id="_BFxF5DvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FullPort.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FullPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_DataTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FullPort_Port_Edge" identifier="org.eclipse.papyrus.sysmldi.FullPort_Port_Edge" name="FullPort (Port_Edge)" hint="Port_Edge"> + <iconEntry xmi:id="_BFxF5jvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FullPort.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FullPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_Edge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FullPort_Port_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FullPort_Port_InterfaceAttributeLabel" name="FullPort (Port_InterfaceAttributeLabel)" hint="Port_InterfaceAttributeLabel"> + <iconEntry xmi:id="_BFxF6DvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FullPort.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FullPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_InterfaceAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FullPort_Port_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FullPort_Port_PrimitiveTypeAttributeLabel" name="FullPort (Port_PrimitiveTypeAttributeLabel)" hint="Port_PrimitiveTypeAttributeLabel"> + <iconEntry xmi:id="_BFxF6jvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FullPort.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FullPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_PrimitiveTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FullPort_Port_Shape" identifier="org.eclipse.papyrus.sysmldi.FullPort_Port_Shape" name="FullPort (Port_Shape)" hint="Port_Shape"> + <iconEntry xmi:id="_BFxF7DvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FullPort.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FullPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FullPort_Port_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.FullPort_Port_Shape_CN" name="FullPort (Port_Shape_CN)" hint="Port_Shape_CN"> + <iconEntry xmi:id="_BFxF7jvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FullPort.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FullPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FullPort_Port_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FullPort_Port_SignalAttributeLabel" name="FullPort (Port_SignalAttributeLabel)" hint="Port_SignalAttributeLabel"> + <iconEntry xmi:id="_BFxF8DvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FullPort.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FullPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_SignalAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_ClassNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_ClassNestedClassifierLabel" name="InterfaceBlock (Class_ClassNestedClassifierLabel)" hint="Class_ClassNestedClassifierLabel"> + <iconEntry xmi:id="_BFxF8jvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/InterfaceBlock.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.InterfaceBlock"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_ClassNestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_ComponentNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_ComponentNestedClassifierLabel" name="InterfaceBlock (Class_ComponentNestedClassifierLabel)" hint="Class_ComponentNestedClassifierLabel"> + <iconEntry xmi:id="_BFxF9DvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/InterfaceBlock.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.InterfaceBlock"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_ComponentNestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_InterfaceNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_InterfaceNestedClassifierLabel" name="InterfaceBlock (Class_InterfaceNestedClassifierLabel)" hint="Class_InterfaceNestedClassifierLabel"> + <iconEntry xmi:id="_BFxF9jvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/InterfaceBlock.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.InterfaceBlock"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_InterfaceNestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_MetaclassShape" identifier="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_MetaclassShape" name="InterfaceBlock (Class_MetaclassShape)" hint="Class_MetaclassShape"> + <iconEntry xmi:id="_BFxF-DvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/InterfaceBlock.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.InterfaceBlock"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_MetaclassShape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_MetaclassShape_CN" identifier="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_MetaclassShape_CN" name="InterfaceBlock (Class_MetaclassShape_CN)" hint="Class_MetaclassShape_CN"> + <iconEntry xmi:id="_BFxF-jvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/InterfaceBlock.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.InterfaceBlock"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_MetaclassShape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_NestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_NestedClassifierLabel" name="InterfaceBlock (Class_NestedClassifierLabel)" hint="Class_NestedClassifierLabel"> + <iconEntry xmi:id="_BFxF_DvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/InterfaceBlock.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.InterfaceBlock"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_NestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_Shape" identifier="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_Shape" name="InterfaceBlock (Class_Shape)" hint="Class_Shape"> + <iconEntry xmi:id="_BFxF_jvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/InterfaceBlock.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.InterfaceBlock"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_Shape_CN" name="InterfaceBlock (Class_Shape_CN)" hint="Class_Shape_CN"> + <iconEntry xmi:id="_BFxGADvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/InterfaceBlock.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.InterfaceBlock"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ItemFlow_InformationFlow_Edge" identifier="org.eclipse.papyrus.sysmldi.ItemFlow_InformationFlow_Edge" name="ItemFlow" hint="InformationFlow_Edge"> + <iconEntry xmi:id="_BFxGAjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ItemFlow.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ItemFlow"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InformationFlow_Edge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Optional_Parameter_ParameterLabel" identifier="org.eclipse.papyrus.sysmldi.Optional_Parameter_ParameterLabel" name="Optional (Parameter_ParameterLabel)" hint="Parameter_ParameterLabel"> + <iconEntry xmi:id="_BFxGBDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Optional.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Optional"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Parameter_ParameterLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Optional_Parameter_Shape" identifier="org.eclipse.papyrus.sysmldi.Optional_Parameter_Shape" name="Optional (Parameter_Shape)" hint="Parameter_Shape"> + <iconEntry xmi:id="_BFxGBjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Optional.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Optional"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Parameter_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_AttributeLabel" name="ParticipantProperty (Property_AttributeLabel)" hint="Property_AttributeLabel"> + <iconEntry xmi:id="_BFxs8TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ParticipantProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ParticipantProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_ClassAttributeLabel" name="ParticipantProperty (Property_ClassAttributeLabel)" hint="Property_ClassAttributeLabel"> + <iconEntry xmi:id="_BFxs8zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ParticipantProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ParticipantProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ClassAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_ComponentAttributeLabel" name="ParticipantProperty (Property_ComponentAttributeLabel)" hint="Property_ComponentAttributeLabel"> + <iconEntry xmi:id="_BFxs9TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ParticipantProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ParticipantProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ComponentAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_DataTypeAttributeLabel" name="ParticipantProperty (Property_DataTypeAttributeLabel)" hint="Property_DataTypeAttributeLabel"> + <iconEntry xmi:id="_BFxs9zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ParticipantProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ParticipantProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_DataTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_Edge" identifier="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_Edge" name="ParticipantProperty (Property_Edge)" hint="Property_Edge"> + <iconEntry xmi:id="_BFxs-TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ParticipantProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ParticipantProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Edge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_InterfaceAttributeLabel" name="ParticipantProperty (Property_InterfaceAttributeLabel)" hint="Property_InterfaceAttributeLabel"> + <iconEntry xmi:id="_BFxs-zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ParticipantProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ParticipantProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_InterfaceAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_PrimitiveTypeAttributeLabel" name="ParticipantProperty (Property_PrimitiveTypeAttributeLabel)" hint="Property_PrimitiveTypeAttributeLabel"> + <iconEntry xmi:id="_BFxs_TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ParticipantProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ParticipantProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_PrimitiveTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_Shape" name="ParticipantProperty (Property_Shape)" hint="Property_Shape"> + <iconEntry xmi:id="_BFxs_zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ParticipantProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ParticipantProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_Shape_CN" name="ParticipantProperty (Property_Shape_CN)" hint="Property_Shape_CN"> + <iconEntry xmi:id="_BFxtATvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ParticipantProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ParticipantProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_SignalAttributeLabel" name="ParticipantProperty (Property_SignalAttributeLabel)" hint="Property_SignalAttributeLabel"> + <iconEntry xmi:id="_BFxtAzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ParticipantProperty.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ParticipantProperty"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_SignalAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Problem_Comment_Shape" identifier="org.eclipse.papyrus.sysmldi.Problem_Comment_Shape" name="Problem (Comment_Shape)" hint="Comment_Shape"> + <iconEntry xmi:id="_BFxtBTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Problem.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Problem"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Comment_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Problem_Comment_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.Problem_Comment_Shape_CN" name="Problem (Comment_Shape_CN)" hint="Comment_Shape_CN"> + <iconEntry xmi:id="_BFxtBzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Problem.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Problem"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Comment_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.PropertySpecificType_Classifier_SubjectShape" identifier="org.eclipse.papyrus.sysmldi.PropertySpecificType_Classifier_SubjectShape" name="PropertySpecificType" hint="Classifier_SubjectShape"> + <iconEntry xmi:id="_BFxtCTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/PropertySpecificType.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.PropertySpecificType"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Classifier_SubjectShape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ProxyPort_Port_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ProxyPort_Port_AttributeLabel" name="ProxyPort (Port_AttributeLabel)" hint="Port_AttributeLabel"> + <iconEntry xmi:id="_BFxtCzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ProxyPort.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ProxyPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_AttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ProxyPort_Port_BehaviorEdge" identifier="org.eclipse.papyrus.sysmldi.ProxyPort_Port_BehaviorEdge" name="ProxyPort (Port_BehaviorEdge)" hint="Port_BehaviorEdge"> + <iconEntry xmi:id="_BFxtDTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ProxyPort.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ProxyPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_BehaviorEdge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ProxyPort_Port_BehaviorShape" identifier="org.eclipse.papyrus.sysmldi.ProxyPort_Port_BehaviorShape" name="ProxyPort (Port_BehaviorShape)" hint="Port_BehaviorShape"> + <iconEntry xmi:id="_BFxtDzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ProxyPort.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ProxyPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_BehaviorShape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ProxyPort_Port_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ProxyPort_Port_ClassAttributeLabel" name="ProxyPort (Port_ClassAttributeLabel)" hint="Port_ClassAttributeLabel"> + <iconEntry xmi:id="_BFxtETvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ProxyPort.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ProxyPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_ClassAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ProxyPort_Port_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ProxyPort_Port_ComponentAttributeLabel" name="ProxyPort (Port_ComponentAttributeLabel)" hint="Port_ComponentAttributeLabel"> + <iconEntry xmi:id="_BFyUADvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ProxyPort.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ProxyPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_ComponentAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ProxyPort_Port_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ProxyPort_Port_DataTypeAttributeLabel" name="ProxyPort (Port_DataTypeAttributeLabel)" hint="Port_DataTypeAttributeLabel"> + <iconEntry xmi:id="_BFyUAjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ProxyPort.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ProxyPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_DataTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ProxyPort_Port_Edge" identifier="org.eclipse.papyrus.sysmldi.ProxyPort_Port_Edge" name="ProxyPort (Port_Edge)" hint="Port_Edge"> + <iconEntry xmi:id="_BFyUBDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ProxyPort.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ProxyPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_Edge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ProxyPort_Port_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ProxyPort_Port_InterfaceAttributeLabel" name="ProxyPort (Port_InterfaceAttributeLabel)" hint="Port_InterfaceAttributeLabel"> + <iconEntry xmi:id="_BFyUBjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ProxyPort.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ProxyPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_InterfaceAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ProxyPort_Port_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ProxyPort_Port_PrimitiveTypeAttributeLabel" name="ProxyPort (Port_PrimitiveTypeAttributeLabel)" hint="Port_PrimitiveTypeAttributeLabel"> + <iconEntry xmi:id="_BFyUCDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ProxyPort.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ProxyPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_PrimitiveTypeAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ProxyPort_Port_Shape" identifier="org.eclipse.papyrus.sysmldi.ProxyPort_Port_Shape" name="ProxyPort (Port_Shape)" hint="Port_Shape"> + <iconEntry xmi:id="_BFyUCjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ProxyPort.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ProxyPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ProxyPort_Port_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.ProxyPort_Port_Shape_CN" name="ProxyPort (Port_Shape_CN)" hint="Port_Shape_CN"> + <iconEntry xmi:id="_BFyUDDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ProxyPort.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ProxyPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ProxyPort_Port_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ProxyPort_Port_SignalAttributeLabel" name="ProxyPort (Port_SignalAttributeLabel)" hint="Port_SignalAttributeLabel"> + <iconEntry xmi:id="_BFyUDjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ProxyPort.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ProxyPort"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_SignalAttributeLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Rate_Parameter_Parameter_ParameterLabel" identifier="org.eclipse.papyrus.sysmldi.Rate_Parameter_Parameter_ParameterLabel" name="Rate (Parameter_ParameterLabel)" hint="Parameter_ParameterLabel"> + <iconEntry xmi:id="_BFyUEDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Rate.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Rate_Parameter"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Parameter_ParameterLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Rate_Parameter_Parameter_Shape" identifier="org.eclipse.papyrus.sysmldi.Rate_Parameter_Parameter_Shape" name="Rate (Parameter_Shape)" hint="ActivityParameterNode_Shape"> + <iconEntry xmi:id="_BFyUEjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Rate.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Rate_Parameter"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActivityParameterNode_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Rationale_Comment_Shape" identifier="org.eclipse.papyrus.sysmldi.Rationale_Comment_Shape" name="Rationale (Comment_Shape)" hint="Comment_Shape"> + <iconEntry xmi:id="_BFyUFDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Rationale.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Rationale"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Comment_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Rationale_Comment_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.Rationale_Comment_Shape_CN" name="Rationale (Comment_Shape_CN)" hint="Comment_Shape_CN"> + <iconEntry xmi:id="_BFyUFjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Rationale.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Rationale"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Comment_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Refine_Abstraction_Abstraction_Edge" identifier="org.eclipse.papyrus.sysmldi.Refine_Abstraction_Abstraction_Edge" name="Refine (Abstraction_Edge)" hint="Abstraction_Edge"> + <iconEntry xmi:id="_BFyUGDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Refine.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Refine_Abstraction"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Edge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Refine_Abstraction_Abstraction_Shape" identifier="org.eclipse.papyrus.sysmldi.Refine_Abstraction_Abstraction_Shape" name="Refine (Abstraction_Shape)" hint="Abstraction_Shape"> + <iconEntry xmi:id="_BFyUGjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Refine.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Refine_Abstraction"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Refine_Abstraction_Abstraction_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.Refine_Abstraction_Abstraction_Shape_CN" name="Refine (Abstraction_Shape_CN)" hint="Abstraction_Shape_CN"> + <iconEntry xmi:id="_BFyUHDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Refine.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Refine_Abstraction"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Requirement_Class_ClassNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.Requirement_Class_ClassNestedClassifierLabel" name="Requirement (Class_ClassNestedClassifierLabel)" hint="Class_ClassNestedClassifierLabel"> + <iconEntry xmi:id="_BFyUHjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Requirement.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Requirement"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_ClassNestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Requirement_Class_ComponentNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.Requirement_Class_ComponentNestedClassifierLabel" name="Requirement (Class_ComponentNestedClassifierLabel)" hint="Class_ComponentNestedClassifierLabel"> + <iconEntry xmi:id="_BFyUIDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Requirement.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Requirement"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_ComponentNestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Requirement_Class_InterfaceNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.Requirement_Class_InterfaceNestedClassifierLabel" name="Requirement (Class_InterfaceNestedClassifierLabel)" hint="Class_InterfaceNestedClassifierLabel"> + <iconEntry xmi:id="_BFyUIjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Requirement.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Requirement"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_InterfaceNestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Requirement_Class_MetaclassShape" identifier="org.eclipse.papyrus.sysmldi.Requirement_Class_MetaclassShape" name="Requirement (Class_MetaclassShape)" hint="Class_MetaclassShape"> + <iconEntry xmi:id="_BFyUJDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Requirement.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Requirement"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_MetaclassShape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Requirement_Class_MetaclassShape_CN" identifier="org.eclipse.papyrus.sysmldi.Requirement_Class_MetaclassShape_CN" name="Requirement (Class_MetaclassShape_CN)" hint="Class_MetaclassShape_CN"> + <iconEntry xmi:id="_BFyUJjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Requirement.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Requirement"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_MetaclassShape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Requirement_Class_NestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.Requirement_Class_NestedClassifierLabel" name="Requirement (Class_NestedClassifierLabel)" hint="Class_NestedClassifierLabel"> + <iconEntry xmi:id="_BFy7ETvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Requirement.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Requirement"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_NestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Requirement_Class_Shape" identifier="org.eclipse.papyrus.sysmldi.Requirement_Class_Shape" name="Requirement (Class_Shape)" hint="Class_Shape"> + <iconEntry xmi:id="_BFy7EzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Requirement.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Requirement"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Requirement_Class_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.Requirement_Class_Shape_CN" name="Requirement (Class_Shape_CN)" hint="Class_Shape_CN"> + <iconEntry xmi:id="_BFy7FTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Requirement.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Requirement"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Satisfy_Abstraction_Abstraction_Edge" identifier="org.eclipse.papyrus.sysmldi.Satisfy_Abstraction_Abstraction_Edge" name="Satisfy (Abstraction_Edge)" hint="Abstraction_Edge"> + <iconEntry xmi:id="_BFy7FzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Satisfy.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Satisfy_Abstraction"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Edge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Satisfy_Abstraction_Abstraction_Shape" identifier="org.eclipse.papyrus.sysmldi.Satisfy_Abstraction_Abstraction_Shape" name="Satisfy (Abstraction_Shape)" hint="Abstraction_Shape"> + <iconEntry xmi:id="_BFy7GTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Satisfy.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Satisfy_Abstraction"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Satisfy_Abstraction_Abstraction_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.Satisfy_Abstraction_Abstraction_Shape_CN" name="Satisfy (Abstraction_Shape_CN)" hint="Abstraction_Shape_CN"> + <iconEntry xmi:id="_BFy7GzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Satisfy.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Satisfy_Abstraction"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Stakeholder_Classifier_SubjectShape" identifier="org.eclipse.papyrus.sysmldi.Stakeholder_Classifier_SubjectShape" name="Stakeholder" hint="Classifier_SubjectShape"> + <iconEntry xmi:id="_BFy7HTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Stakeholder.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Stakeholder"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Classifier_SubjectShape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TestCase_Behavior_Behavior_InternalBehaviorLabel" identifier="org.eclipse.papyrus.sysmldi.TestCase_Behavior_Behavior_InternalBehaviorLabel" name="TestCase Behavior" hint="Behavior_InternalBehaviorLabel"> + <iconEntry xmi:id="_BFy7HzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/TestCase.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.TestCase_Behavior"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Behavior_InternalBehaviorLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_ClassOperationLabel" identifier="org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_ClassOperationLabel" name="TestCase (Operation_ClassOperationLabel)" hint="Operation_ClassOperationLabel"> + <iconEntry xmi:id="_BFy7ITvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/TestCase.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.TestCase_Operation"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Operation_ClassOperationLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_ComponentOperationLabel" identifier="org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_ComponentOperationLabel" name="TestCase (Operation_ComponentOperationLabel)" hint="Operation_ComponentOperationLabel"> + <iconEntry xmi:id="_BFy7IzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/TestCase.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.TestCase_Operation"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Operation_ComponentOperationLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_DataTypeOperationLabel" identifier="org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_DataTypeOperationLabel" name="TestCase (Operation_DataTypeOperationLabel)" hint="Operation_DataTypeOperationLabel"> + <iconEntry xmi:id="_BFy7JTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/TestCase.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.TestCase_Operation"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Operation_DataTypeOperationLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_InterfaceOperationLabel" identifier="org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_InterfaceOperationLabel" name="TestCase (Operation_InterfaceOperationLabel)" hint="Operation_InterfaceOperationLabel"> + <iconEntry xmi:id="_BFy7JzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/TestCase.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.TestCase_Operation"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Operation_InterfaceOperationLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_OperationLabel" identifier="org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_OperationLabel" name="TestCase (Operation_OperationLabel)" hint="Operation_OperationLabel"> + <iconEntry xmi:id="_BFy7KTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/TestCase.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.TestCase_Operation"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Operation_OperationLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_PrimitiveTypeOperationLabel" identifier="org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_PrimitiveTypeOperationLabel" name="TestCase (Operation_PrimitiveTypeOperationLabel)" hint="Operation_PrimitiveTypeOperationLabel"> + <iconEntry xmi:id="_BFy7KzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/TestCase.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.TestCase_Operation"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Operation_PrimitiveTypeOperationLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Trace_Abstraction_Abstraction_Edge" identifier="org.eclipse.papyrus.sysmldi.Trace_Abstraction_Abstraction_Edge" name="Trace (Abstraction_Edge)" hint="Abstraction_Edge"> + <iconEntry xmi:id="_BFy7LTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Trace.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Trace_Abstraction"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Edge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Trace_Abstraction_Abstraction_Shape" identifier="org.eclipse.papyrus.sysmldi.Trace_Abstraction_Abstraction_Shape" name="Trace (Abstraction_Shape)" hint="Abstraction_Shape"> + <iconEntry xmi:id="_BFy7LzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Trace.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Trace_Abstraction"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Trace_Abstraction_Abstraction_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.Trace_Abstraction_Abstraction_Shape_CN" name="Trace (Abstraction_Shape_CN)" hint="Abstraction_Shape_CN"> + <iconEntry xmi:id="_BFy7MTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Trace.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Trace_Abstraction"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TriggerOnNestedPort_Trigger_Trigger_DeferrableTriggerLabel" identifier="org.eclipse.papyrus.sysmldi.TriggerOnNestedPort_Trigger_Trigger_DeferrableTriggerLabel" name="TriggerOnNestedPort Trigger" hint="Trigger_DeferrableTriggerLabel"> + <iconEntry xmi:id="_BF0JMTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/TriggerOnNestedPort.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.TriggerOnNestedPort_Trigger"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Trigger_DeferrableTriggerLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ValueType_DataType_ClassNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.ValueType_DataType_ClassNestedClassifierLabel" name="ValueType (DataType_ClassNestedClassifierLabel)" hint="DataType_ClassNestedClassifierLabel"> + <iconEntry xmi:id="_BF0JMzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ValueType.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ValueType"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.DataType_ClassNestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ValueType_DataType_ComponentNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.ValueType_DataType_ComponentNestedClassifierLabel" name="ValueType (DataType_ComponentNestedClassifierLabel)" hint="DataType_ComponentNestedClassifierLabel"> + <iconEntry xmi:id="_BF0JNTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ValueType.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ValueType"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.DataType_ComponentNestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ValueType_DataType_InterfaceNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.ValueType_DataType_InterfaceNestedClassifierLabel" name="ValueType (DataType_InterfaceNestedClassifierLabel)" hint="DataType_InterfaceNestedClassifierLabel"> + <iconEntry xmi:id="_BF0JNzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ValueType.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ValueType"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.DataType_InterfaceNestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ValueType_DataType_NestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.ValueType_DataType_NestedClassifierLabel" name="ValueType (DataType_NestedClassifierLabel)" hint="DataType_NestedClassifierLabel"> + <iconEntry xmi:id="_BF0JOTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ValueType.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ValueType"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.DataType_NestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ValueType_DataType_Shape" identifier="org.eclipse.papyrus.sysmldi.ValueType_DataType_Shape" name="ValueType (DataType_Shape)" hint="DataType_Shape"> + <iconEntry xmi:id="_BF0JOzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ValueType.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ValueType"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.DataType_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ValueType_DataType_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.ValueType_DataType_Shape_CN" name="ValueType (DataType_Shape_CN)" hint="DataType_Shape_CN"> + <iconEntry xmi:id="_BF0JPTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ValueType.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ValueType"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.DataType_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Verify_Abstraction_Abstraction_Edge" identifier="org.eclipse.papyrus.sysmldi.Verify_Abstraction_Abstraction_Edge" name="Verify (Abstraction_Edge)" hint="Abstraction_Edge"> + <iconEntry xmi:id="_BF0JPzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Verify.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Verify_Abstraction"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Edge"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Verify_Abstraction_Abstraction_Shape" identifier="org.eclipse.papyrus.sysmldi.Verify_Abstraction_Abstraction_Shape" name="Verify (Abstraction_Shape)" hint="Abstraction_Shape"> + <iconEntry xmi:id="_BF0wQTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Verify.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Verify_Abstraction"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Verify_Abstraction_Abstraction_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.Verify_Abstraction_Abstraction_Shape_CN" name="Verify (Abstraction_Shape_CN)" hint="Abstraction_Shape_CN"> + <iconEntry xmi:id="_BF0wQzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Verify.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Verify_Abstraction"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.View_Class_ClassNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.View_Class_ClassNestedClassifierLabel" name="View (Class_ClassNestedClassifierLabel)" hint="Class_ClassNestedClassifierLabel"> + <iconEntry xmi:id="_BF0wRTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/View.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.View"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_ClassNestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.View_Class_ComponentNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.View_Class_ComponentNestedClassifierLabel" name="View (Class_ComponentNestedClassifierLabel)" hint="Class_ComponentNestedClassifierLabel"> + <iconEntry xmi:id="_BF0wRzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/View.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.View"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_ComponentNestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.View_Class_InterfaceNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.View_Class_InterfaceNestedClassifierLabel" name="View (Class_InterfaceNestedClassifierLabel)" hint="Class_InterfaceNestedClassifierLabel"> + <iconEntry xmi:id="_BF0wSTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/View.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.View"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_InterfaceNestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.View_Class_MetaclassShape" identifier="org.eclipse.papyrus.sysmldi.View_Class_MetaclassShape" name="View (Class_MetaclassShape)" hint="Class_MetaclassShape"> + <iconEntry xmi:id="_BF0wSzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/View.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.View"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_MetaclassShape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.View_Class_MetaclassShape_CN" identifier="org.eclipse.papyrus.sysmldi.View_Class_MetaclassShape_CN" name="View (Class_MetaclassShape_CN)" hint="Class_MetaclassShape_CN"> + <iconEntry xmi:id="_BF0wTTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/View.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.View"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_MetaclassShape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.View_Class_NestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.View_Class_NestedClassifierLabel" name="View (Class_NestedClassifierLabel)" hint="Class_NestedClassifierLabel"> + <iconEntry xmi:id="_BF0wTzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/View.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.View"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_NestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.View_Class_Shape" identifier="org.eclipse.papyrus.sysmldi.View_Class_Shape" name="View (Class_Shape)" hint="Class_Shape"> + <iconEntry xmi:id="_BF0wUTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/View.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.View"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.View_Class_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.View_Class_Shape_CN" name="View (Class_Shape_CN)" hint="Class_Shape_CN"> + <iconEntry xmi:id="_BF0wUzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/View.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.View"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Viewpoint_Class_ClassNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.Viewpoint_Class_ClassNestedClassifierLabel" name="Viewpoint (Class_ClassNestedClassifierLabel)" hint="Class_ClassNestedClassifierLabel"> + <iconEntry xmi:id="_BF0wVTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Viewpoint.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Viewpoint"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_ClassNestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Viewpoint_Class_ComponentNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.Viewpoint_Class_ComponentNestedClassifierLabel" name="Viewpoint (Class_ComponentNestedClassifierLabel)" hint="Class_ComponentNestedClassifierLabel"> + <iconEntry xmi:id="_BF0wVzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Viewpoint.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Viewpoint"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_ComponentNestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Viewpoint_Class_InterfaceNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.Viewpoint_Class_InterfaceNestedClassifierLabel" name="Viewpoint (Class_InterfaceNestedClassifierLabel)" hint="Class_InterfaceNestedClassifierLabel"> + <iconEntry xmi:id="_BF0wWTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Viewpoint.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Viewpoint"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_InterfaceNestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Viewpoint_Class_MetaclassShape" identifier="org.eclipse.papyrus.sysmldi.Viewpoint_Class_MetaclassShape" name="Viewpoint (Class_MetaclassShape)" hint="Class_MetaclassShape"> + <iconEntry xmi:id="_BF0wWzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Viewpoint.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Viewpoint"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_MetaclassShape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Viewpoint_Class_MetaclassShape_CN" identifier="org.eclipse.papyrus.sysmldi.Viewpoint_Class_MetaclassShape_CN" name="Viewpoint (Class_MetaclassShape_CN)" hint="Class_MetaclassShape_CN"> + <iconEntry xmi:id="_BF0wXTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Viewpoint.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Viewpoint"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_MetaclassShape_CN"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Viewpoint_Class_NestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.Viewpoint_Class_NestedClassifierLabel" name="Viewpoint (Class_NestedClassifierLabel)" hint="Class_NestedClassifierLabel"> + <iconEntry xmi:id="_BF0wXzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Viewpoint.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Viewpoint"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_NestedClassifierLabel"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Viewpoint_Class_Shape" identifier="org.eclipse.papyrus.sysmldi.Viewpoint_Class_Shape" name="Viewpoint (Class_Shape)" hint="Class_Shape"> + <iconEntry xmi:id="_BF0wYTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Viewpoint.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Viewpoint"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape"/> + </elementTypeConfigurations> + <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Viewpoint_Class_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.Viewpoint_Class_Shape_CN" name="Viewpoint (Class_Shape_CN)" hint="Class_Shape_CN"> + <iconEntry xmi:id="_BF0wYzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Viewpoint.gif" bundleId="org.eclipse.papyrus.sysml.edit"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Viewpoint"/> + <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape_CN"/> + </elementTypeConfigurations> +</elementtypesconfigurations:ElementTypeSetConfiguration>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_IN/east.svg b/diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_IN/east.svg similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_IN/east.svg rename to diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_IN/east.svg
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_IN/north.svg b/diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_IN/north.svg similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_IN/north.svg rename to diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_IN/north.svg
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_IN/south.svg b/diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_IN/south.svg similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_IN/south.svg rename to diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_IN/south.svg
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_IN/west.svg b/diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_IN/west.svg similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_IN/west.svg rename to diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_IN/west.svg
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_INOUT/east.svg b/diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_INOUT/east.svg similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_INOUT/east.svg rename to diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_INOUT/east.svg
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_INOUT/north.svg b/diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_INOUT/north.svg similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_INOUT/north.svg rename to diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_INOUT/north.svg
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_INOUT/south.svg b/diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_INOUT/south.svg similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_INOUT/south.svg rename to diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_INOUT/south.svg
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_INOUT/west.svg b/diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_INOUT/west.svg similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_INOUT/west.svg rename to diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_INOUT/west.svg
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_NA/east.svg b/diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_NA/east.svg similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_NA/east.svg rename to diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_NA/east.svg
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_NA/north.svg b/diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_NA/north.svg similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_NA/north.svg rename to diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_NA/north.svg
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_NA/south.svg b/diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_NA/south.svg similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_NA/south.svg rename to diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_NA/south.svg
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_NA/west.svg b/diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_NA/west.svg similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_NA/west.svg rename to diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_NA/west.svg
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_OUT/east.svg b/diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_OUT/east.svg similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_OUT/east.svg rename to diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_OUT/east.svg
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_OUT/north.svg b/diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_OUT/north.svg similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_OUT/north.svg rename to diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_OUT/north.svg
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_OUT/south.svg b/diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_OUT/south.svg similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_OUT/south.svg rename to diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_OUT/south.svg
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_OUT/west.svg b/diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_OUT/west.svg similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_OUT/west.svg rename to diagram/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_OUT/west.svg
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/site/mediawiki/palette.mediawiki b/diagram/org.eclipse.papyrus.sysml.diagram.common/site/mediawiki/palette.mediawiki similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.common/site/mediawiki/palette.mediawiki rename to diagram/org.eclipse.papyrus.sysml.diagram.common/site/mediawiki/palette.mediawiki
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/site/xdoc/intro.xml b/diagram/org.eclipse.papyrus.sysml.diagram.common/site/xdoc/intro.xml new file mode 100644 index 0000000..e7cf2d7 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/site/xdoc/intro.xml
@@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="UTF-8"?> +<document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd"> + + <properties> + <title>SysML Intro</title> + </properties> + + <body> + + <section name="Introduction"> + <subsection name="Purpose"> + <p>In order to enhance the communauty and the diffusion of Papyrus, + new features and enhancements should be documented through a small + video uploaded to youtube channel. + </p> + </subsection> + </section> + <section name="Convention"> + <subsection name="Palette"> + <p>each palette should follow the convention: + </p> + <source> + <![CDATA[<?xml version="1.0" encoding="ASCII"?> +<paletteconfiguration:PaletteConfiguration + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:paletteconfiguration="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.7" + id="org.eclipse.papyrus.sysML.[bdd,ibd,par,req].palette.model" + label="SysML [BDD|IBD|PAR|REQ] Palette"> + <drawerConfigurations + id="org.eclipse.papyrus.sysML.[bdd|ibd|par|req].palette.[edge|node]" + label="SysML IBD [Edges|Nodes]" + description="Nodes"> + <ownedConfigurations + xsi:type="paletteconfiguration:ToolConfiguration" + id="org.eclipse.papyrus.sysML.[bdd|ibd|par|req].palette.[edge|node].XXXX" + label="Block" + description="Create a Block"> + <icon + pluginID="org.eclipse.papyrus.sysml" + iconPath="icons/blocks/Block.gif"/> + <elementDescriptors + elementTypeId="org.eclipse.papyrus.SysML.Block_3085"/> + <elementDescriptors + elementTypeId="org.eclipse.papyrus.SysML.Block_2073"/> + </ownedConfigurations> + </drawerConfigurations>]]> + </source> + </subsection> + </section> + <section name="References"> + <ul> + <li><a href="http://www.omg.org/spec/SysML/">OMG SysML</a></li> + </ul> + </section> + </body> +</document> \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/Activator.java b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/Activator.java new file mode 100644 index 0000000..5603cc9 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/Activator.java
@@ -0,0 +1,37 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.common; + +import org.eclipse.jface.resource.ImageDescriptor; +import org.eclipse.ui.plugin.AbstractUIPlugin; + +/** + * 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.sysml.diagram.common"; //$NON-NLS-1$ + + /** + * Returns an image descriptor for the image file at the given + * plug-in relative path + * + * @param path + * the path + * @return the image descriptor + */ + public static ImageDescriptor getImageDescriptor(String path) { + return imageDescriptorFromPlugin(PLUGIN_ID, path); + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/advices/ActorPartGraphicalEditHelperAdvice.java b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/advices/ActorPartGraphicalEditHelperAdvice.java new file mode 100644 index 0000000..51a8986 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/advices/ActorPartGraphicalEditHelperAdvice.java
@@ -0,0 +1,98 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.common.advices; + + + +import java.util.HashMap; +import java.util.Map; + +import org.eclipse.core.runtime.OperationCanceledException; +import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.common.core.command.UnexecutableCommand; +import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; +import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; +import org.eclipse.jface.window.Window; +import org.eclipse.papyrus.sysml.diagram.common.command.ConfigurePartCommand; +import org.eclipse.papyrus.sysml.diagram.common.dialog.CreateOrSelectActorPartTypeDialog; +import org.eclipse.papyrus.sysml.diagram.common.internal.command.RenamePostCreationCommand; +import org.eclipse.papyrus.sysml.service.types.advice.ActorPartEditHelperAdvice; +import org.eclipse.swt.widgets.Display; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.uml2.uml.Package; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; + + +/** + * The helperadvice class used for ActorPart + * + */ +public class ActorPartGraphicalEditHelperAdvice extends AbstractEditHelperAdvice { + + /** + * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getBeforeConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest) + * + * @param request + * @return + */ + @Override + protected ICommand getBeforeConfigureCommand(ConfigureRequest request) { + configureRequest(request); + return super.getBeforeConfigureCommand(request); + } + + /** + * @param request + */ + private void configureRequest(ConfigureRequest request) { + Map<String, Object> newParameters = new HashMap<String, Object>(); + + ICommand configureCommand = null; + + Shell shell = Display.getDefault().getActiveShell(); + // Start dialog to identify the new part type + Property part = (Property) request.getElementToConfigure(); + Package partPkg = part.getNearestPackage(); + + + CreateOrSelectActorPartTypeDialog dialog = new CreateOrSelectActorPartTypeDialog(shell, partPkg); + dialog.open(); + if (dialog.getReturnCode() == Window.OK) { + + final ICommand typeCreationCommand = dialog.getNewTypeCreateCommand(); + final String newTypeName = dialog.getSavedNewTypeName(); + final Type partType = (Type) dialog.getExistingType(); + + // Abort if type creation command exists but is not executable + if ((typeCreationCommand != null) && (!typeCreationCommand.canExecute())) { + configureCommand = UnexecutableCommand.INSTANCE; + } else { + configureCommand = CompositeCommand.compose(configureCommand, typeCreationCommand); + } + + // Create the configure command that will set the constraint property type + ICommand setTypeCommand = new ConfigurePartCommand(request,partType,typeCreationCommand) ; + configureCommand = CompositeCommand.compose(configureCommand, setTypeCommand); + if (typeCreationCommand != null && typeCreationCommand.canExecute()) { + RenamePostCreationCommand renamePostCreationCommand = new RenamePostCreationCommand(request, newTypeName, typeCreationCommand); + configureCommand = CompositeCommand.compose(configureCommand, renamePostCreationCommand); + } + } else { + throw new OperationCanceledException("Actor part creation cancelled by user"); //$NON-NLS-1$ + } + + newParameters.put(ActorPartEditHelperAdvice.SET_ACTOR_ICOMMAND, configureCommand); + request.addParameters(newParameters); + } +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/advices/ConstraintPropertyGraphicalEditHelperAdvice.java b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/advices/ConstraintPropertyGraphicalEditHelperAdvice.java new file mode 100644 index 0000000..49038c0 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/advices/ConstraintPropertyGraphicalEditHelperAdvice.java
@@ -0,0 +1,98 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.common.advices; + + + +import java.util.HashMap; +import java.util.Map; + +import org.eclipse.core.runtime.OperationCanceledException; +import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.common.core.command.UnexecutableCommand; +import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; +import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; +import org.eclipse.jface.window.Window; +import org.eclipse.papyrus.sysml.diagram.common.command.ConfigurePartCommand; +import org.eclipse.papyrus.sysml.diagram.common.dialog.CreateOrSelectConstraintPropertyTypeDialog; +import org.eclipse.papyrus.sysml.diagram.common.internal.command.RenamePostCreationCommand; +import org.eclipse.papyrus.sysml.service.types.advice.ConstraintPropertyEditHelperAdvice; +import org.eclipse.swt.widgets.Display; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.uml2.uml.Package; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; + + +/** + * The helperadvice class used for ConstraintPropertyGraphical + * + */ +public class ConstraintPropertyGraphicalEditHelperAdvice extends AbstractEditHelperAdvice { + + /** + * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getBeforeConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest) + * + * @param request + * @return + */ + @Override + protected ICommand getBeforeConfigureCommand(ConfigureRequest request) { + configureRequest(request); + return super.getBeforeConfigureCommand(request); + } + + /** + * @param request + */ + private void configureRequest(ConfigureRequest request) { + Map<String, Object> newParameters = new HashMap<String, Object>(); + + ICommand configureCommand = null; + + Shell shell = Display.getDefault().getActiveShell(); + // Start dialog to identify the new part type + Property part = (Property) request.getElementToConfigure(); + Package partPkg = part.getNearestPackage(); + + + CreateOrSelectConstraintPropertyTypeDialog dialog = new CreateOrSelectConstraintPropertyTypeDialog(shell, partPkg); + dialog.open(); + if (dialog.getReturnCode() == Window.OK) { + + final ICommand typeCreationCommand = dialog.getNewTypeCreateCommand(); + final String newTypeName = dialog.getSavedNewTypeName(); + final Type partType = (Type) dialog.getExistingType(); + + // Abort if type creation command exists but is not executable + if ((typeCreationCommand != null) && (!typeCreationCommand.canExecute())) { + configureCommand = UnexecutableCommand.INSTANCE; + } else { + configureCommand = CompositeCommand.compose(configureCommand, typeCreationCommand); + } + + // Create the configure command that will set the constraint property type + ICommand setTypeCommand = new ConfigurePartCommand(request,partType,typeCreationCommand) ; + configureCommand = CompositeCommand.compose(configureCommand, setTypeCommand); + if (typeCreationCommand != null && typeCreationCommand.canExecute()) { + RenamePostCreationCommand renamePostCreationCommand = new RenamePostCreationCommand(request, newTypeName, typeCreationCommand); + configureCommand = CompositeCommand.compose(configureCommand, renamePostCreationCommand); + } + } else { + throw new OperationCanceledException("Constraint Property creation cancelled by user"); //$NON-NLS-1$ + } + + newParameters.put(ConstraintPropertyEditHelperAdvice.SET_CONSTRAINT_ICOMMAND, configureCommand); + request.addParameters(newParameters); + } +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/advices/CreateOrSelectBlockPropertyTypeEditHelperAdvice.java b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/advices/CreateOrSelectBlockPropertyTypeEditHelperAdvice.java new file mode 100644 index 0000000..96d65dc --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/advices/CreateOrSelectBlockPropertyTypeEditHelperAdvice.java
@@ -0,0 +1,97 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.common.advices; + + + +import java.util.HashMap; +import java.util.Map; + +import org.eclipse.core.runtime.OperationCanceledException; +import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.common.core.command.UnexecutableCommand; +import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; +import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; +import org.eclipse.jface.window.Window; +import org.eclipse.papyrus.sysml.diagram.common.command.ConfigurePartCommand; +import org.eclipse.papyrus.sysml.diagram.common.dialog.CreateOrSelectBlockPropertyTypeDialog; +import org.eclipse.papyrus.sysml.diagram.common.internal.command.RenamePostCreationCommand; +import org.eclipse.papyrus.sysml.service.types.advice.AfterConfigureCommandEditHelperAdvice; +import org.eclipse.swt.widgets.Display; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.uml2.uml.Package; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; + + +/** + * Add a popup to create or select a Block for the property type of the element using this advice + */ +public class CreateOrSelectBlockPropertyTypeEditHelperAdvice extends AbstractEditHelperAdvice { + + /** + * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getBeforeConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest) + * + * @param request + * @return + */ + @Override + protected ICommand getBeforeConfigureCommand(ConfigureRequest request) { + configureRequest(request); + return super.getBeforeConfigureCommand(request); + } + + /** + * @param request + */ + protected void configureRequest(ConfigureRequest request) { + Map<String, Object> newParameters = new HashMap<String, Object>(); + + ICommand configureCommand = null; + + Shell shell = Display.getDefault().getActiveShell(); + Property property = (Property) request.getElementToConfigure(); + Package owner = property.getNearestPackage(); + + + CreateOrSelectBlockPropertyTypeDialog dialog = new CreateOrSelectBlockPropertyTypeDialog(shell, owner); + + dialog.open(); + if (dialog.getReturnCode() == Window.OK) { + + final ICommand typeCreationCommand = dialog.getNewTypeCreateCommand(); + final String newTypeName = dialog.getSavedNewTypeName(); + final Type partType = (Type) dialog.getExistingType(); + + // Abort if type creation command exists but is not executable + if ((typeCreationCommand != null) && (!typeCreationCommand.canExecute())) { + configureCommand = UnexecutableCommand.INSTANCE; + } else { + configureCommand = CompositeCommand.compose(configureCommand, typeCreationCommand); + } + + // Create the configure command that will set the constraint property type + ICommand setTypeCommand = new ConfigurePartCommand(request,partType,typeCreationCommand) ; + configureCommand = CompositeCommand.compose(configureCommand, setTypeCommand); + if (typeCreationCommand != null && typeCreationCommand.canExecute()) { + RenamePostCreationCommand renamePostCreationCommand = new RenamePostCreationCommand(request, newTypeName, typeCreationCommand); + configureCommand = CompositeCommand.compose(configureCommand, renamePostCreationCommand); + } + } else { + throw new OperationCanceledException("Creation cancelled by user"); //$NON-NLS-1$ + } + + newParameters.put(AfterConfigureCommandEditHelperAdvice.AFTER_CONFIGURE_COMMAND, configureCommand); + request.addParameters(newParameters); + } +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/advices/ValueEditHelperAdvice.java b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/advices/ValueEditHelperAdvice.java new file mode 100644 index 0000000..b8135ac --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/advices/ValueEditHelperAdvice.java
@@ -0,0 +1,98 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.common.advices; + + + +import java.util.HashMap; +import java.util.Map; + +import org.eclipse.core.runtime.OperationCanceledException; +import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.common.core.command.UnexecutableCommand; +import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; +import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; +import org.eclipse.jface.window.Window; +import org.eclipse.papyrus.sysml.diagram.common.command.ConfigurePartCommand; +import org.eclipse.papyrus.sysml.diagram.common.dialog.CreateOrSelectValuePropertyTypeDialog; +import org.eclipse.papyrus.sysml.diagram.common.internal.command.RenamePostCreationCommand; +import org.eclipse.papyrus.sysml.service.types.advice.AfterConfigureCommandEditHelperAdvice; +import org.eclipse.swt.widgets.Display; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.uml2.uml.Package; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; + + +/** + * The helperadvice class used for Value + * It creates the popup to help the value creation + * + */ +public class ValueEditHelperAdvice extends AbstractEditHelperAdvice { + + /** + * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getBeforeConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest) + * + * @param request + * @return + */ + @Override + protected ICommand getBeforeConfigureCommand(ConfigureRequest request) { + configureRequest(request); + return super.getBeforeConfigureCommand(request); + } + + /** + * @param request + */ + protected void configureRequest(ConfigureRequest request) { + Map<String, Object> newParameters = new HashMap<String, Object>(); + + ICommand configureCommand = null; + + Shell shell = Display.getDefault().getActiveShell(); + Property property = (Property) request.getElementToConfigure(); + Package owner = property.getNearestPackage(); + + CreateOrSelectValuePropertyTypeDialog dialog = new CreateOrSelectValuePropertyTypeDialog(shell, owner); + + dialog.open(); + if (dialog.getReturnCode() == Window.OK) { + + final ICommand typeCreationCommand = dialog.getNewTypeCreateCommand(); + final String newTypeName = dialog.getSavedNewTypeName(); + final Type partType = (Type) dialog.getExistingType(); + + // Abort if type creation command exists but is not executable + if ((typeCreationCommand != null) && (!typeCreationCommand.canExecute())) { + configureCommand = UnexecutableCommand.INSTANCE; + } else { + configureCommand = CompositeCommand.compose(configureCommand, typeCreationCommand); + } + + // Create the configure command that will set the constraint property type + ICommand setTypeCommand = new ConfigurePartCommand(request,partType,typeCreationCommand) ; + configureCommand = CompositeCommand.compose(configureCommand, setTypeCommand); + if (typeCreationCommand != null && typeCreationCommand.canExecute()) { + RenamePostCreationCommand renamePostCreationCommand = new RenamePostCreationCommand(request, newTypeName, typeCreationCommand); + configureCommand = CompositeCommand.compose(configureCommand, renamePostCreationCommand); + } + } else { + throw new OperationCanceledException("Value creation cancelled by user"); //$NON-NLS-1$ + } + + newParameters.put(AfterConfigureCommandEditHelperAdvice.AFTER_CONFIGURE_COMMAND, configureCommand); + request.addParameters(newParameters); + } +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/command/ConfigurePartCommand.java b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/command/ConfigurePartCommand.java new file mode 100644 index 0000000..b7edbab --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/command/ConfigurePartCommand.java
@@ -0,0 +1,62 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.diagram.common.command; + +import org.eclipse.core.commands.ExecutionException; +import org.eclipse.core.runtime.IAdaptable; +import org.eclipse.core.runtime.IProgressMonitor; +import org.eclipse.gmf.runtime.common.core.command.CommandResult; +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.emf.type.core.commands.ConfigureElementCommand; +import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; +import org.eclipse.papyrus.infra.services.edit.utils.GMFCommandUtils; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; + +/** + * Configure a part with the created/selected type + */ +public class ConfigurePartCommand extends ConfigureElementCommand { + + + private Type partType; + private ICommand typeCreationCommand; + + + /** + * Constructor. + * + * @param request configuration request + * @param partType the featuring type of the part + * @param typeCreationCommand if needed create the type + */ + public ConfigurePartCommand(ConfigureRequest request, Type partType, ICommand typeCreationCommand) { + super(request); + this.partType= partType; + this.typeCreationCommand = typeCreationCommand; + } + + @Override + protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info) throws ExecutionException { + + Property part = (Property) getElementToEdit(); + if (partType != null) { + part.setType(partType); + } else { + Type newType = (Type) GMFCommandUtils.getCommandEObjectResult(typeCreationCommand); + part.setType(newType); + } + return CommandResult.newOKCommandResult(part); + } +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/css/dom/GMFSYSMLElementAdapter.java b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/css/dom/GMFSYSMLElementAdapter.java new file mode 100644 index 0000000..177f102 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/css/dom/GMFSYSMLElementAdapter.java
@@ -0,0 +1,368 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Francois Le Fevre francois.le-fevre@cea.fr - Initial API and implementation + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Bug 498991 : Performances + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Bug 489997 : Unable to draw AcceptEventAction + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.common.css.dom; + + + +import java.util.LinkedList; +import java.util.List; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher; +import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; +import org.eclipse.gmf.runtime.notation.BasicCompartment; +import org.eclipse.gmf.runtime.notation.DecorationNode; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.papyrus.infra.gmfdiag.css.dom.GMFElementAdapter; +import org.eclipse.papyrus.infra.gmfdiag.css.engine.ExtendedCSSEngine; +import org.eclipse.papyrus.infra.tools.util.ListHelper; +import org.eclipse.papyrus.sysml.diagram.common.css.helper.CSSDOMSYSMLSemanticElementHelper; +import org.eclipse.papyrus.sysml.util.DeprecatedElementUtil; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.papyrus.uml.diagram.common.stereotype.display.helper.StereotypeDisplayConstant; +import org.eclipse.papyrus.uml.diagram.common.stereotype.display.helper.StereotypeDisplayUtil; +import org.eclipse.uml2.uml.AcceptEventAction; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.Event; +import org.eclipse.uml2.uml.NamedElement; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Stereotype; +import org.eclipse.uml2.uml.TimeEvent; +import org.eclipse.uml2.uml.Trigger; +import org.eclipse.uml2.uml.Type; +import org.eclipse.uml2.uml.TypedElement; + +/** + * DOM Element Adapter for SYSML Elements + * + * Supports applied stereotypes and stereotype properties + * + */ +public class GMFSYSMLElementAdapter extends GMFElementAdapter { + + + /** + * Name of the CSS Simple Selector to match on the Stereotype Compartment Shape + */ + private static final String STEREOTYPE_COMMENT = "StereotypeComment"; //$NON-NLS-1$ + + /** The stereotype helper. */ + public final StereotypeDisplayUtil stereotypeHelper = StereotypeDisplayUtil.getInstance(); + + /** The Constant IS_CONSTRAINT. */ + private static final String IS_CONSTRAINT = "isConstraint"; //$NON-NLS-1$ + + /** The Constant IS_PART. */ + private static final String IS_PART = "isPart"; //$NON-NLS-1$ + + /** The Constant IS_REFERENCE. */ + private static final String IS_REFERENCE = "isReference"; //$NON-NLS-1$ + + /** The Constant APPLIED_STEREOTYPES_PROPERTY. */ + public static final String APPLIED_STEREOTYPES_PROPERTY = "appliedStereotypes"; //$NON-NLS-1$ + + /** The Constant TYPE_APPLIED_STEREOTYPES_PROPERTY */ + private static final String TYPE_APPLIED_STEREOTYPES_PROPERTY = "typeAppliedStereotypes"; //$NON-NLS-1$ + + /** The Constant DEPRECATED. */ + public static final String DEPRECATED = "deprecated"; //$NON-NLS-1$ + + /** The Constant IS_ABSTRACT. */ + private static final String IS_ABSTRACT = "isAbstract"; //$NON-NLS-1$ + + /** The Constant IS_TIME_EVENT_ACTION. */ + private static final String IS_TIME_EVENT_ACTION_PROPERTY = "isTimeEventAction"; //$NON-NLS-1$ + + /** The Constant IS_FRAMEZABLE. */ + public static final String IS_FRAME = "isFrame"; //$NON-NLS-1$ + + /** + * The CSS Separator for qualifiers, when we must use CSS ID + * When we can use CSS String, we use the standard UML "::" qualifier separator + * + * NOTE: Separator "__" does not work + */ + public static final String QUALIFIER_SEPARATOR = "--"; //$NON-NLS-1$ + + public GMFSYSMLElementAdapter(View view, ExtendedCSSEngine engine) { + super(view, engine); + helper = CSSDOMSYSMLSemanticElementHelper.getInstance(); + } + + /** + * {@inheritDoc} + * + * Applied Stereotypes are manipulated as DOM Attributes + */ + @Override + protected String doGetAttribute(String attr) { + String parentValue = super.doGetAttribute(attr); + if (parentValue != null) { + return parentValue; + } + + // This is present only for performance issues + // isAbstract isn't a SysML feature but will be called many time for UML + // and is very slow to answer (Check : L172) + if (IS_ABSTRACT.equals(attr)) { + return null; + } + + // get stereotype Label attribute + if (stereotypeHelper.isStereotypeLabel(semanticElement)) { + String value = getStereotypeLabelAttribute(attr); + if (value != null && !value.isEmpty()) { + return value; + } + } + + // get stereotype Compartment attribute + if (stereotypeHelper.isStereotypeCompartment(semanticElement) || stereotypeHelper.isStereotypeBrace(semanticElement)) { + String value = getStereotypeCompartmentAttribute(attr); + if (value != null && !value.isEmpty()) { + return value; + } + } + + // get stereotype Property attribute + if (stereotypeHelper.isStereotypeProperty(semanticElement) || stereotypeHelper.isStereotypeBraceProperty(semanticElement)) { + String value = getStereotypePropertyAttribute(attr); + if (value != null && !value.isEmpty()) { + return value; + } + } + + if (semanticElement instanceof Element) { + // Applied stereotypes + Element currentElement = (Element) semanticElement; + + // IMPORTANT set the faster test first + if(DEPRECATED.equals(attr)){ + return String.valueOf(DeprecatedElementUtil.isDeprecatedElement(semanticElement)); + } + boolean isProperty = semanticElement instanceof Property; + // manage of isConstraint=true attribute for Property + if (IS_CONSTRAINT.equals(attr) && isProperty) { + IElementMatcher constraint = ((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_CONSTRAINTPROPERTY)).getMatcher(); + return String.valueOf(constraint.matches((Property) semanticElement)); + } + // manage of isPart=true attribute for Property + if (IS_PART.equals(attr) && isProperty) { + IElementMatcher part = ((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_PART)).getMatcher(); + return String.valueOf(part.matches((Property) semanticElement)); + } + // manage of isReference=true attribute for Property + if (IS_REFERENCE.equals(attr) && isProperty) { + IElementMatcher reference = ((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_REFERENCE)).getMatcher(); + return String.valueOf(reference.matches((Property) semanticElement)); + } + + + // Get applied STereotypes Attributes + if (APPLIED_STEREOTYPES_PROPERTY.equals(attr)) { + List<String> appliedStereotypes = new LinkedList<String>(); + for (Stereotype stereotype : currentElement.getAppliedStereotypes()) { + appliedStereotypes.add(stereotype.getName()); + appliedStereotypes.add(stereotype.getQualifiedName()); + } + if (!appliedStereotypes.isEmpty()) { + return ListHelper.deepToString(appliedStereotypes, CSS_VALUES_SEPARATOR); + } + return null; + } + + if (TYPE_APPLIED_STEREOTYPES_PROPERTY.equals(attr) && semanticElement instanceof TypedElement) { + Type type = ((TypedElement) semanticElement).getType(); + if (type != null) { + List<String> appliedStereotypes = new LinkedList<>(); + for (Stereotype stereotype : type.getAppliedStereotypes()) { + appliedStereotypes.add(stereotype.getName()); + appliedStereotypes.add(stereotype.getQualifiedName()); + } + + if (!appliedStereotypes.isEmpty()) { + return ListHelper.deepToString(appliedStereotypes, CSS_VALUES_SEPARATOR); + } + } + } + + for (EObject stereotypeApplication : currentElement.getStereotypeApplications()) { + EStructuralFeature feature = stereotypeApplication.eClass().getEStructuralFeature(attr); + if (feature != null) { + if (feature.isMany()) { + List<?> values = (List<?>) stereotypeApplication.eGet(feature); + List<String> cssValues = new LinkedList<String>(); + for (Object value : values) { + cssValues.add(getCSSValue(feature, value)); + } + return ListHelper.deepToString(cssValues, CSS_VALUES_SEPARATOR); + } else { + Object value = stereotypeApplication.eGet(feature); + return getCSSValue(feature, value); + } + } + return null; + } + + if (attr.contains(QUALIFIER_SEPARATOR)) { + List<String> qualifiers = ListHelper.asList(attr.split(QUALIFIER_SEPARATOR)); // Writable list + String propertyName = qualifiers.remove(qualifiers.size() - 1); // Last element is the property name + // Remaining strings can be used to build the Stereotype's qualified name + String stereotypeName = ListHelper.deepToString(qualifiers, "::"); //$NON-NLS-1$ + Stereotype appliedStereotype = currentElement.getAppliedStereotype(stereotypeName); + if (appliedStereotype != null) { + EObject stereotypeApplication = currentElement.getStereotypeApplication(appliedStereotype); + EStructuralFeature feature = stereotypeApplication.eClass().getEStructuralFeature(propertyName); + if (feature != null) { + Object value = stereotypeApplication.eGet(feature); + return getCSSValue(feature, value); + } + } + } + // manage of isTimeEventAction=true attribute for AcceptEventAction + if (IS_TIME_EVENT_ACTION_PROPERTY.equals(attr)) { + if (semanticElement instanceof AcceptEventAction) { + return String.valueOf(isAcceptTimeEventAction((AcceptEventAction) semanticElement)); + } + } + // manage of isFraezable=true attribute for displaying header/frame + if(IS_FRAME.equals(attr)){ + if(notationElement.eContainer()==notationElement.getDiagram()){ + return String.valueOf(true); + } + else{ + return String.valueOf(false); + } + } + } + return null; + } + + + /** + * Retrieve the Matching String Value for the StereotypeCompartment Element + * + * @param attr + * Attribute of the String to match with + * @return The matching value for this Attribute + */ + protected String getStereotypeCompartmentAttribute(String attr) { + if (StereotypeDisplayConstant.STEREOTYPE_COMPARTMENT_NAME.equals(attr)) { + BasicCompartment propertyCompartment = (BasicCompartment) semanticElement; + return stereotypeHelper.getName(propertyCompartment); + } + return "";//$NON-NLS-1$ + } + + /** + * Retrieve the Matching String Value for the StereotypeCompartment Element + * + * @param attr + * Attribute of the String to match with + * @return The matching value for this Attribute + */ + protected String getStereotypePropertyAttribute(String attr) { + // CSS can match property level + if (StereotypeDisplayConstant.STEREOTYPE_PROPERTY_NAME.equals(attr)) { + DecorationNode propertyLabel = (DecorationNode) semanticElement; + if (propertyLabel.getElement() instanceof Property) { + Property prop = (Property) propertyLabel.getElement(); + return prop.getName(); + } + // CSS can match Container Name + } else if (StereotypeDisplayConstant.STEREOTYPE_COMPARTMENT_NAME.equals(attr)) { + EObject propertyCompartment = ((DecorationNode) semanticElement).eContainer(); + if (stereotypeHelper.isStereotypeCompartment(propertyCompartment)) { + + return stereotypeHelper.getName((DecorationNode) propertyCompartment); + } + + } + return "";//$NON-NLS-1$ + } + + /** + * Get the matching Value of the Attribute + * + * @param attr + * Attribute of the String to match with + * @return The matching value for this Attribute + */ + protected String getStereotypeLabelAttribute(String attr) { + if (StereotypeDisplayConstant.STEREOTYPE_LABEL_NAME.equals(attr)) { + DecorationNode label = (DecorationNode) semanticElement; + return stereotypeHelper.getName(label); + } + + if (KIND.equals(attr) && stereotypeHelper.isStereotypeLabel(semanticElement)) { + return StereotypeDisplayConstant.STEREOTYPE_LABEL_TYPE; + } + return null; + } + + @Override + protected String getCSSValue(EStructuralFeature feature, Object value) { + if (feature instanceof EReference && value instanceof NamedElement) { + String name = ((NamedElement) value).getName(); + return name == null || name.isEmpty() ? EMPTY_VALUE : name; // Bug 467716: Never return null or empty string if the value is not null + } + return super.getCSSValue(feature, value); + } + + /** + * @see org.eclipse.papyrus.infra.gmfdiag.css.dom.GMFElementAdapter#getLocalName() + * + * @return The Local name for the CSS matching. + */ + @Override + public String getLocalName() { + // In case of StereotypeComment type, the selector should match on the Stereotype Comment. + if (localName == null && stereotypeHelper.isStereotypeComment(getNotationElement())) { + return STEREOTYPE_COMMENT; + } + return super.getLocalName(); + } + + /** + * Checks if is accept time event action. + * + * @param action + * the action + * @return true, if is accept time event action + */ + public boolean isAcceptTimeEventAction(AcceptEventAction action) { + boolean hasTimeEvent = false; + boolean hasOthersTriggers = false; + // Get triggers + if (action.getTriggers() != null) { + for (Trigger trigger : action.getTriggers()) { + if (trigger != null) { + Event event = trigger.getEvent(); + if (event instanceof TimeEvent) { + hasTimeEvent = true; + } else { + hasOthersTriggers = true; + } + } + } + } + // only time events have been encountered. + return hasTimeEvent && !hasOthersTriggers; + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/css/dom/GMFSYSMLElementProvider.java b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/css/dom/GMFSYSMLElementProvider.java new file mode 100644 index 0000000..20cfbd0 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/css/dom/GMFSYSMLElementProvider.java
@@ -0,0 +1,56 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Francois Le Fevre francois.le-fevre@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.common.css.dom; + +import org.eclipse.e4.ui.css.core.engine.CSSEngine; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.papyrus.infra.gmfdiag.css.engine.ExtendedCSSEngine; +import org.eclipse.papyrus.infra.gmfdiag.css.provider.IPapyrusElementProvider; +import org.eclipse.papyrus.sysml.diagram.common.css.helper.CSSDOMSYSMLSemanticElementHelper; +import org.w3c.dom.Element; + +/** + * An IElementProvider for SysML-specific CSS concepts + * + * Provides a specialization of GMFElementAdapter for SysML Elements + * + */ +public class GMFSYSMLElementProvider implements IPapyrusElementProvider { + + @Override + public Element getElement(Object element, CSSEngine engine) { + + if (!(element instanceof View)) { + throw new IllegalArgumentException("Unknown element : " + element);//$NON-NLS-1$ + } + + if (!(engine instanceof ExtendedCSSEngine)) { + throw new IllegalArgumentException("Invalid CSS Engine : " + engine);//$NON-NLS-1$ + } + + return new GMFSYSMLElementAdapter((View) element, (ExtendedCSSEngine) engine); + } + + /** + * @see org.eclipse.papyrus.infra.gmfdiag.css.provider.IPapyrusElementProvider#getPrimaryView(org.eclipse.emf.ecore.EObject) + * + * @param notationElement + * @return + */ + @Override + public View getPrimaryView(EObject notationElement) { + return CSSDOMSYSMLSemanticElementHelper.getInstance().findPrimaryView(notationElement); + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/css/dom/GMFSYSMLElementProviderFactory.java b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/css/dom/GMFSYSMLElementProviderFactory.java new file mode 100644 index 0000000..82beb60 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/css/dom/GMFSYSMLElementProviderFactory.java
@@ -0,0 +1,47 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Francois Le Fevre francois.le-fevre@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.common.css.dom; + +import org.eclipse.papyrus.infra.gmfdiag.css.engine.ICSSElementProviderFactory; +import org.eclipse.papyrus.infra.gmfdiag.css.notation.CSSDiagram; +import org.eclipse.papyrus.infra.gmfdiag.css.provider.IPapyrusElementProvider; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.uml2.uml.Element; + + +/** + * IElementProvider Factory for Diagrams related to SysML Elements + * + */ +public class GMFSYSMLElementProviderFactory implements ICSSElementProviderFactory { + + @Override + public boolean isProviderFor(CSSDiagram diagram) { + if(diagram.getElement() instanceof Element){ + //Retrieve the UML2 element + Element element = (Element)diagram.getElement(); + + //Introspect its packages to check if SysML profile is applied + return SysMLResource.isSysMLProfileApplied(element); + } + return false; + } + + @Override + public IPapyrusElementProvider createProvider(CSSDiagram diagram) { + return new GMFSYSMLElementProvider(); + } + + + +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/css/helper/CSSDOMSYSMLSemanticElementHelper.java b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/css/helper/CSSDOMSYSMLSemanticElementHelper.java new file mode 100644 index 0000000..cbc6319 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/css/helper/CSSDOMSYSMLSemanticElementHelper.java
@@ -0,0 +1,79 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Francois Le Fevre francois.le-fevre@cea.fr - Initial API and implementation + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.diagram.common.css.helper; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.notation.DecorationNode; +import org.eclipse.gmf.runtime.notation.Shape; +import org.eclipse.papyrus.infra.gmfdiag.css.helper.CSSDOMSemanticElementHelper; +import org.eclipse.papyrus.uml.diagram.common.stereotype.display.helper.StereotypeDisplayUtil; + +/** + * This class is a helper for retrieving view and semantic element from a compatible object related to UML. + * + */ +public class CSSDOMSYSMLSemanticElementHelper extends CSSDOMSemanticElementHelper { + + + /** + * singleton instance + */ + private static CSSDOMSYSMLSemanticElementHelper elementHelper; + + /** Private Constructor. */ + protected CSSDOMSYSMLSemanticElementHelper() { + super(); + } + + /** + * Returns the singleton instance of this class + * + * @return the singleton instance. + */ + public static CSSDOMSYSMLSemanticElementHelper getInstance() { + if (elementHelper == null) { + elementHelper = new CSSDOMSYSMLSemanticElementHelper(); + } + return elementHelper; + } + + + + /** + * @see org.eclipse.papyrus.infra.gmfdiag.css.helper.CSSDOMSemanticElementHelper#findSemanticElement(org.eclipse.emf.ecore.EObject) + * + * @param notationElement + * @return + */ + @Override + public EObject findSemanticElement(EObject notationElement) { + StereotypeDisplayUtil stereotypeHelper = StereotypeDisplayUtil.getInstance(); + // Add Stereotype Comment + if (notationElement instanceof Shape && stereotypeHelper.isStereotypeComment(notationElement)) { + return notationElement; + } + + // Add Stereotype Label + if (notationElement instanceof DecorationNode && stereotypeHelper.isStereotypeLabel(notationElement)) { + return notationElement; + } + + // Add StereotypeProperty to the DOM model + if (notationElement instanceof DecorationNode && (stereotypeHelper.isStereotypeProperty(notationElement) || stereotypeHelper.isStereotypeBraceProperty(notationElement))) { + return notationElement; + } + return super.findSemanticElement(notationElement); + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/dialog/CreateOrSelectActorPartTypeDialog.java b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/dialog/CreateOrSelectActorPartTypeDialog.java new file mode 100644 index 0000000..766795e --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/dialog/CreateOrSelectActorPartTypeDialog.java
@@ -0,0 +1,34 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.common.dialog; + +import org.eclipse.papyrus.sysml.diagram.common.internal.dialog.CreateOrSelectTypeWithNameDialog; +import org.eclipse.papyrus.uml.service.types.element.UMLElementTypes; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.uml2.uml.NamedElement; +import org.eclipse.uml2.uml.UMLPackage; + +/** + * Dialog for initialization of Part (Property) type (the type is either selected or created). + */ +public class CreateOrSelectActorPartTypeDialog extends CreateOrSelectTypeWithNameDialog { + + /** Constructor */ + public CreateOrSelectActorPartTypeDialog(Shell shell, NamedElement owner) { + super(shell, owner, UMLElementTypes.ACTOR, + UMLPackage.eINSTANCE.getTypedElement_Type(), + UMLPackage.eINSTANCE.getActor(), + UMLElementTypes.PACKAGE, + UMLPackage.eINSTANCE.getPackage_PackagedElement(), null); + } +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/dialog/CreateOrSelectBlockPropertyTypeDialog.java b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/dialog/CreateOrSelectBlockPropertyTypeDialog.java new file mode 100644 index 0000000..cbfa72f --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/dialog/CreateOrSelectBlockPropertyTypeDialog.java
@@ -0,0 +1,53 @@ +/***************************************************************************** + * Copyright (c) 2011 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: + * + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.common.dialog; + +import java.util.Arrays; +import java.util.List; + +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.diagram.common.internal.dialog.CreateOrSelectTypeWithNameDialog; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.papyrus.uml.service.types.element.UMLElementTypes; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.uml2.uml.NamedElement; +import org.eclipse.uml2.uml.Stereotype; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.UMLPackage; + +/** + * Dialog for initialization of Part (Property) type (the type is either selected or created). + */ +public class CreateOrSelectBlockPropertyTypeDialog extends CreateOrSelectTypeWithNameDialog { + + public CreateOrSelectBlockPropertyTypeDialog(Shell shell, NamedElement owner) { + super(shell, owner, ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_BLOCK), UMLPackage.eINSTANCE.getTypedElement_Type(), BlocksPackage.eINSTANCE.getBlock(), UMLElementTypes.PACKAGE, UMLPackage.eINSTANCE.getPackage_PackagedElement(), null, getConstraintBlockAsStereotype()); + } + + /** + * If we create a Part type by a ConstraintBlock, thisPart will become a ConstraintProperty and representation will immediately disappear. + * So we filter ConstraintBlock type => Only strict Block are allowed + * + * @return + */ + private static List<?> getConstraintBlockAsStereotype() { + // We create a mock Stereotype to pass in the good code section of SemanticUMLContentProvider.isCompatibleMetaclass (bad gestion of static stereotypes) + Stereotype mockStereotype = UMLFactory.eINSTANCE.createStereotype(); + // We use this stereotype with namespace instead of ConstraintsPackage.eINSTANCE.getConstraintBlock() + mockStereotype.setName("SysML::Constraints::ConstraintBlock"); + return Arrays.asList(mockStereotype); + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/dialog/CreateOrSelectConstraintPropertyTypeDialog.java b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/dialog/CreateOrSelectConstraintPropertyTypeDialog.java new file mode 100644 index 0000000..6657407 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/dialog/CreateOrSelectConstraintPropertyTypeDialog.java
@@ -0,0 +1,39 @@ +/***************************************************************************** + * Copyright (c) 2011 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: + * + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.common.dialog; + +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.papyrus.sysml.constraintblocks.ConstraintblocksPackage; +import org.eclipse.papyrus.sysml.diagram.common.internal.dialog.CreateOrSelectTypeWithNameDialog; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.papyrus.uml.service.types.element.UMLElementTypes; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.uml2.uml.NamedElement; +import org.eclipse.uml2.uml.UMLPackage; + +/** + * Dialog for initialization of Part (Property) type (the type is either selected or created). + */ +public class CreateOrSelectConstraintPropertyTypeDialog extends CreateOrSelectTypeWithNameDialog { + + /** Constructor */ + public CreateOrSelectConstraintPropertyTypeDialog(Shell shell, NamedElement owner) { + super(shell, owner, ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_CONSTRAINTBLOCK), + UMLPackage.eINSTANCE.getTypedElement_Type(), + ConstraintblocksPackage.eINSTANCE.getConstraintBlock(), + UMLElementTypes.PACKAGE, + UMLPackage.eINSTANCE.getPackage_PackagedElement(), null); + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/dialog/CreateOrSelectValuePropertyTypeDialog.java b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/dialog/CreateOrSelectValuePropertyTypeDialog.java new file mode 100644 index 0000000..5e865ba --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/dialog/CreateOrSelectValuePropertyTypeDialog.java
@@ -0,0 +1,185 @@ +/***************************************************************************** + * Copyright (c) 2011 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: + * + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.common.dialog; + +import org.eclipse.gmf.runtime.diagram.ui.internal.commands.ElementTypeLabelProvider; +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest; +import org.eclipse.jface.viewers.ComboViewer; +import org.eclipse.jface.viewers.ISelection; +import org.eclipse.jface.viewers.StructuredSelection; +import org.eclipse.papyrus.infra.services.edit.commands.ConfigureFeatureCommandFactory; +import org.eclipse.papyrus.infra.services.edit.commands.IConfigureCommandFactory; +import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils; +import org.eclipse.papyrus.infra.services.edit.service.IElementEditService; +import org.eclipse.papyrus.sysml.blocks.BlocksPackage; +import org.eclipse.papyrus.sysml.diagram.common.internal.dialog.CreateOrSelectTypeWithNameDialog; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.papyrus.uml.service.types.element.UMLElementTypes; +import org.eclipse.papyrus.uml.tools.utils.NamedElementUtil; +import org.eclipse.swt.SWT; +import org.eclipse.swt.events.ModifyEvent; +import org.eclipse.swt.events.ModifyListener; +import org.eclipse.swt.layout.GridData; +import org.eclipse.swt.layout.GridLayout; +import org.eclipse.swt.widgets.Combo; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.ui.forms.widgets.ExpandableComposite; +import org.eclipse.ui.forms.widgets.FormToolkit; +import org.eclipse.ui.forms.widgets.ScrolledForm; +import org.eclipse.ui.forms.widgets.Section; +import org.eclipse.uml2.uml.NamedElement; +import org.eclipse.uml2.uml.UMLPackage; + +/** + * Dialog for initialization of Value (Property) type (the type is either selected or created). + */ +public class CreateOrSelectValuePropertyTypeDialog extends CreateOrSelectTypeWithNameDialog { + + protected ComboViewer newTypeKindComboViewer = null; + + protected Combo newTypeKindCombo = null; + + protected IElementType[] valueTypeKind = { UMLElementTypes.DATA_TYPE, + ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_VALUETYPE), + UMLElementTypes.PRIMITIVE_TYPE, UMLElementTypes.ENUMERATION }; + + protected IElementType newTypeKind = UMLElementTypes.DATA_TYPE; + + /** Constructor */ + public CreateOrSelectValuePropertyTypeDialog(Shell shell, NamedElement owner) { + super(shell, owner, UMLElementTypes.DATA_TYPE, UMLPackage.eINSTANCE.getTypedElement_Type(), null, UMLElementTypes.PACKAGE, UMLPackage.eINSTANCE.getPackage_PackagedElement(), null); + } + + /** + * {@inheritDoc} + */ + @Override + protected void createFormCreationSection(Composite pParent, FormToolkit pToolkit) { + // create the section + String lSectionTitle = getCreationSectionTitle(); + Section lSection = pToolkit.createSection(pParent, ExpandableComposite.EXPANDED | ExpandableComposite.TITLE_BAR); + lSection.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); + if (lSectionTitle != null) { + lSection.setText(lSectionTitle); + } + + ScrolledForm lInsideScrolledForm = pToolkit.createScrolledForm(lSection); + lInsideScrolledForm.setExpandHorizontal(true); + lInsideScrolledForm.setExpandVertical(true); + Composite lBody = lInsideScrolledForm.getBody(); + + GridLayout lLayout = new GridLayout(3,false); + lBody.setLayout(lLayout); + + // content of the section + creationRadio = pToolkit.createButton(lBody, getCreationSectionRadioLabel(), SWT.RADIO); + creationRadio.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 3, 1)); + + pToolkit.createLabel(lBody, getNewTypeNameLabel(), SWT.NONE); + newTypeNameText = pToolkit.createText(lBody, "", SWT.BORDER);//$NON-NLS-1$ + newTypeNameText.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 2, 1)); + newTypeNameText.setFocus(); + + // manage type selection + pToolkit.createLabel(lBody, getNewTypeContainerNameLabel(), SWT.NONE); + newTypeContainerNameText = pToolkit.createText(lBody, labelProvider.getText(newTypeContainer), SWT.BORDER | SWT.READ_ONLY); + newTypeContainerNameText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); + newTypeContainerButton = pToolkit.createButton(lBody, "...", SWT.FLAT);//$NON-NLS-1$ + newTypeContainerButton.setLayoutData(new GridData(SWT.NONE)); + + pToolkit.createLabel(lBody, "New Label", SWT.NONE); + newTypeKindCombo = new Combo(lBody, SWT.DROP_DOWN | SWT.READ_ONLY); + newTypeKindComboViewer = new ComboViewer(newTypeKindCombo); + pToolkit.adapt(newTypeKindCombo); + newTypeKindCombo.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 2, 1)); + newTypeKindComboViewer.setLabelProvider(new ElementTypeLabelProvider()); + newTypeKindComboViewer.add(valueTypeKind); + newTypeKindComboViewer.setSelection(new StructuredSelection(valueTypeKind[0])); + + lInsideScrolledForm.reflow(true); + lSection.setClient(lInsideScrolledForm); + } + + /** + * {@inheritDoc} + */ + @Override + protected void buildNewTypeCreateCommand() { + // The new element is expected to be a NamedElement. + IElementEditService commandService = ElementEditServiceUtils.getCommandProvider(newTypeContainer); + if (commandService != null) { + CreateElementRequest createTypeRequest = new CreateElementRequest(newTypeContainer, newTypeKind); + createTypeRequest.setParameter(IConfigureCommandFactory.CONFIGURE_COMMAND_FACTORY_ID, new ConfigureFeatureCommandFactory(UMLPackage.eINSTANCE.getNamedElement_Name(), newTypeNameText.getText())); + newTypeCreateCommand = commandService.getEditCommand(createTypeRequest); + } + setSavedNewTypeNameText(newTypeNameText.getText()); + } + + /** + * {@inheritDoc} + */ + @Override + protected void hookListeners() { + super.hookListeners(); + + // listener to select invocation type + ModifyListener newTypeKindListener = new ModifyListener() { + + /** + * @see org.eclipse.swt.events.ModifyListener#modifyText(org.eclipse.swt.events.ModifyEvent) + */ + @Override + public void modifyText(ModifyEvent e) { + ISelection sel = newTypeKindComboViewer.getSelection(); + if (sel instanceof StructuredSelection) { + Object type = ((StructuredSelection) sel).getFirstElement(); + if (type instanceof IElementType) { + newTypeKind = (IElementType) type; + } else { + newTypeKind = null; + } + + // reset name + setNewTypeName(null); + } + } + }; + newTypeKindCombo.addModifyListener(newTypeKindListener); + } + + /** + * {@inheritDoc} + */ + @Override + protected void setNewTypeName(String text) { + String name = text; + if (text == null) { + name = NamedElementUtil.getDefaultNameWithIncrementFromBase(newTypeKind.getEClass().getName(), newTypeContainer.eContents()); + if (newTypeKind == ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_VALUETYPE)) { + name = NamedElementUtil.getDefaultNameWithIncrementFromBase(BlocksPackage.eINSTANCE.getValueType().getName(), newTypeContainer.eContents()); + } + newTypeNameText.setText(name); + + } else { + newTypeNameText.setText(name); + newTypeName = name; + } + + validateNewTypeName(); + refreshOkButton(); + } +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/edit/parts/LabelInListEditpart.java b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/edit/parts/LabelInListEditpart.java new file mode 100644 index 0000000..bedf4ce --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/edit/parts/LabelInListEditpart.java
@@ -0,0 +1,46 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.common.edit.parts; + +import org.eclipse.gmf.runtime.diagram.ui.editparts.IPrimaryEditPart; +import org.eclipse.gmf.runtime.diagram.ui.editparts.ITextAwareEditPart; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.papyrus.infra.gmfdiag.common.editpart.IControlParserForDirectEdit; +import org.eclipse.papyrus.uml.diagram.common.editparts.EditableLabelForNodeEditPart; + +/** + * to be given into papyrus. + * This is a generic editpart that can be used to represent a element that is displayed in a list. + * This editpart allow selection and the edition by an xtext technology + * + * @deprecated + * + */ +@Deprecated +public class LabelInListEditpart extends EditableLabelForNodeEditPart implements ITextAwareEditPart, IPrimaryEditPart, IControlParserForDirectEdit { + + /** + * Constructor. + * + * @param view + */ + public LabelInListEditpart(View view) { + super(view); + } + + @Override + public boolean isSelectable() { + return getFigure().isShowing(); + } +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/edit/parts/SysMLConnectorAppliedStereotypeEditPart.java b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/edit/parts/SysMLConnectorAppliedStereotypeEditPart.java new file mode 100644 index 0000000..791a41f --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/edit/parts/SysMLConnectorAppliedStereotypeEditPart.java
@@ -0,0 +1,54 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.diagram.common.edit.parts; + +import org.eclipse.draw2d.IFigure; +import org.eclipse.gmf.runtime.notation.View; + +/** + * This editPart is a specialization of a connectorEeditpart that overload the setText about the label of AppliedStereotype + * This class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml.diagram.internalblock#Req_004} + */ +public class SysMLConnectorAppliedStereotypeEditPart extends org.eclipse.papyrus.uml.diagram.composite.edit.parts.ConnectorAppliedStereotypeEditPart { + + /** + * The String that must display a bindingConnector + */ + protected static final String STEREOTYPE_LABEL_BINDINGCONNECTOR = "equal"; + /** + * String that replace the name of the stereotype BindingConnector + */ + protected static final String BINDING_CONNECTOR = "BindingConnector"; + + /** + * Constructor. + * + * @param view + */ + public SysMLConnectorAppliedStereotypeEditPart(View view) { + super(view); + } + + /** + * @see org.eclipse.papyrus.uml.diagram.composite.edit.parts.ConnectorAppliedStereotypeEditPart#setLabelTextHelper(org.eclipse.draw2d.IFigure, java.lang.String) + * + * @param figure + * @param text + */ + @Override + protected void setLabelTextHelper(IFigure figure, String text) { + String newtext = text.replaceAll(BINDING_CONNECTOR, STEREOTYPE_LABEL_BINDINGCONNECTOR); + super.setLabelTextHelper(figure, newtext); + } +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/edit/parts/SysMLConnectorEditPart.java b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/edit/parts/SysMLConnectorEditPart.java new file mode 100644 index 0000000..562681b --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/edit/parts/SysMLConnectorEditPart.java
@@ -0,0 +1,40 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.diagram.common.edit.parts; + +import org.eclipse.draw2d.Connection; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.papyrus.sysml.diagram.common.figure.SysMLConnectorFigure; + +/** + * This editpart has been specialized in order to replace default figure by a custom figure to change display of stereotype application. + * This class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml.diagram.internalblock#Req_004} + */ +public class SysMLConnectorEditPart extends org.eclipse.papyrus.uml.diagram.composite.edit.parts.ConnectorEditPart { + + /** + * Constructor. + * + * @param view + */ + public SysMLConnectorEditPart(View view) { + super(view); + } + + @Override + protected Connection createConnectionFigure() { + return new SysMLConnectorFigure(); + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/figure/SysMLConnectorFigure.java b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/figure/SysMLConnectorFigure.java new file mode 100644 index 0000000..eed264b --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/figure/SysMLConnectorFigure.java
@@ -0,0 +1,46 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.diagram.common.figure; + +import org.eclipse.swt.graphics.Image; + +/** + * This figure is a specialization of a connector in order to overload the display of the BindingConnector display + * This class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml.diagram.internalblock#Req_004} + * + */ +public class SysMLConnectorFigure extends org.eclipse.papyrus.uml.diagram.composite.custom.figures.ConnectorFigure { + + /** + * The String that must display a bindingConnector + */ + protected static final String STEREOTYPE_LABEL_BINDINGCONNECTOR = "equal"; + /** + * String that replace the name of the stereotype BindingConnector + */ + protected static final String BINDING_CONNECTOR = "BindingConnector"; + + /** + * @see org.eclipse.papyrus.uml.diagram.common.figure.edge.UMLEdgeFigure#setStereotypeDisplay(java.lang.String, org.eclipse.swt.graphics.Image) + * + * @param stereotypes + * @param image + */ + @Override + public void setStereotypeDisplay(String stereotypes, Image image) { + String newStereotypeString = stereotypes.replaceAll(BINDING_CONNECTOR, STEREOTYPE_LABEL_BINDINGCONNECTOR); + super.setStereotypeDisplay(newStereotypeString, image); + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/internal/command/RenamePostCreationCommand.java b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/internal/command/RenamePostCreationCommand.java new file mode 100644 index 0000000..c4a75da --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/internal/command/RenamePostCreationCommand.java
@@ -0,0 +1,60 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.diagram.common.internal.command; + +import org.eclipse.core.commands.ExecutionException; +import org.eclipse.core.runtime.IAdaptable; +import org.eclipse.core.runtime.IProgressMonitor; +import org.eclipse.gmf.runtime.common.core.command.CommandResult; +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.emf.type.core.commands.ConfigureElementCommand; +import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; +import org.eclipse.papyrus.infra.services.edit.utils.GMFCommandUtils; +import org.eclipse.uml2.uml.NamedElement; + +/** + * Name an element after a creation command + * This class is internal since the element should be created with the correct name in the first place + * Currently the is a lack of naming strategy in Papyrus core framework + * (update name in applystereotypehelper, see Bug 497306) + */ +public class RenamePostCreationCommand extends ConfigureElementCommand { + + private ICommand creationCommand; + + private String newName; + + /** + * Constructor. + * + * @param request + * configuration request + * @param partType + * the featuring type of the part + * @param typeCreationCommand + * if needed create the type + */ + public RenamePostCreationCommand(ConfigureRequest request, String newName, ICommand creationCommand) { + super(request); + this.newName = newName; + this.creationCommand = creationCommand; + } + + @Override + protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info) throws ExecutionException { + NamedElement newNamedElement = (NamedElement) GMFCommandUtils.getCommandEObjectResult(creationCommand); + newNamedElement.setName(newName); + return CommandResult.newOKCommandResult(getElementToEdit()); + } +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/internal/dialog/CreateOrSelectTypeWithNameDialog.java b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/internal/dialog/CreateOrSelectTypeWithNameDialog.java new file mode 100644 index 0000000..d57e7ac --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/internal/dialog/CreateOrSelectTypeWithNameDialog.java
@@ -0,0 +1,99 @@ +/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.diagram.common.internal.dialog; + +import java.util.List; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.papyrus.uml.diagram.common.dialogs.CreateOrSelectTypeDialog; +import org.eclipse.swt.widgets.Shell; + +/** + * This class is used to keep the typed new name even after the widget is disposed + * It's internal since the capability should be moved to papyrus core in CreateOrSelectTypeDialog + * + */ +// TODO :Bug 497304 move all the code/feature/open api in CreateOrSelectTypeDialog +public class CreateOrSelectTypeWithNameDialog extends CreateOrSelectTypeDialog { + + private String savedNewTypeNameText; + + /** + * Constructor. + * + * @param shell + * @param defaultContainer + * @param elementType + * @param editedFeature + * @param elementEClass + * @param containerType + * @param containerFeature + * @param containerEClass + */ + public CreateOrSelectTypeWithNameDialog(Shell shell, EObject defaultContainer, IElementType elementType, EStructuralFeature editedFeature, EClass elementEClass, IElementType containerType, EStructuralFeature containerFeature, EClass containerEClass) { + super(shell, defaultContainer, elementType, editedFeature, elementEClass, containerType, containerFeature, containerEClass); + } + + /** + * Constructor. + * + * @param shell + * @param defaultContainer + * @param elementType + * @param editedFeature + * @param elementEClass + * @param containerType + * @param containerFeature + * @param containerEClass + * @param notWantedMetaclasses + */ + public CreateOrSelectTypeWithNameDialog(Shell shell, EObject defaultContainer, IElementType elementType, EStructuralFeature editedFeature, EClass elementEClass, IElementType containerType, EStructuralFeature containerFeature, EClass containerEClass, + List<?> notWantedMetaclasses) { + super(shell, defaultContainer, elementType, editedFeature, elementEClass, containerType, containerFeature, containerEClass, notWantedMetaclasses); + } + + + /** + * @return the savedNewTypeNameText + */ + public String getSavedNewTypeNameText() { + return savedNewTypeNameText; + } + + /** + * @param savedNewTypeNameText the savedNewTypeNameText to set + */ + public void setSavedNewTypeNameText(String savedNewTypeNameText) { + this.savedNewTypeNameText = savedNewTypeNameText; + } + + /** + * @see org.eclipse.papyrus.uml.diagram.common.dialogs.CreateOrSelectTypeDialog#buildNewTypeCreateCommand() + * + */ + @Override + protected void buildNewTypeCreateCommand() { + super.buildNewTypeCreateCommand(); + savedNewTypeNameText = newTypeNameText.getText(); + } + + + public String getSavedNewTypeName() { + return savedNewTypeNameText; + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/internal/factory/AbstractBasicViewFactory.java b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/internal/factory/AbstractBasicViewFactory.java new file mode 100644 index 0000000..836f41c --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/internal/factory/AbstractBasicViewFactory.java
@@ -0,0 +1,114 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.common.internal.factory; + +import org.eclipse.core.runtime.IAdaptable; +import org.eclipse.emf.ecore.EAnnotation; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EcoreFactory; +import org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint; +import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil; +import org.eclipse.gmf.runtime.notation.DecorationNode; +import org.eclipse.gmf.runtime.notation.Node; +import org.eclipse.gmf.runtime.notation.NotationFactory; +import org.eclipse.gmf.runtime.notation.TitleStyle; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.ModelEditPart; +import org.eclipse.papyrus.uml.diagram.clazz.part.UMLVisualIDRegistry; + +/** + * This abstract view factory is used to allow reuse code from GMF generated diagram + * + */ +public abstract class AbstractBasicViewFactory implements IBasicViewFactory { + + @Override + public View createView(IAdaptable semanticAdapter, View containerView, String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint) { + return createElementView(semanticAdapter.getAdapter(EObject.class), containerView, semanticHint, index, persisted, preferencesHint); + } + + /** + * This method is used to create a label in the context of based GMF diagram + * + * @param owner + * the container of the new view + * @param hint + * the number that is associated to the created view + * @return the decoration node that is the serialization of the label + */ + protected Node createLabel(View owner, String hint) { + DecorationNode rv = NotationFactory.eINSTANCE.createDecorationNode(); + rv.setType(hint); + ViewUtil.insertChildView(owner, rv, ViewUtil.APPEND, true); + return rv; + } + + /** + * this method is used to add a version number in the serialization of a diagram + * + * @param containerView + * @param target + */ + protected void stampShortcut(View containerView, Node target) { + if (!ModelEditPart.MODEL_ID.equals(UMLVisualIDRegistry.getModelID(containerView))) { + EAnnotation shortcutAnnotation = EcoreFactory.eINSTANCE.createEAnnotation(); + shortcutAnnotation.setSource("Shortcut"); //$NON-NLS-1$ + shortcutAnnotation.getDetails().put("modelID", ModelEditPart.MODEL_ID); //$NON-NLS-1$ + target.getEAnnotations().add(shortcutAnnotation); + } + } + + /** + * This method comes from GMF based generation diagram + * it is sued to create compartment. + * + * @param owner + * the container of the compartment + * @param hint + * the number that will be associated to the node + * @param canCollapse + * true if the compartment can be collapse + * @param hasTitle + * true if the compartment can have a title + * @param canSort + * true if the compartment can be sorted + * @param canFilter + * true if the compartment can be filtered + * @return the created compartment + */ + protected Node createCompartment(View owner, String hint, boolean canCollapse, boolean hasTitle, boolean canSort, boolean canFilter) { + Node rv; + if (canCollapse) { + rv = NotationFactory.eINSTANCE.createBasicCompartment(); + } else { + rv = NotationFactory.eINSTANCE.createDecorationNode(); + } + + rv.setLayoutConstraint(NotationFactory.eINSTANCE.createBounds()); + + if (hasTitle) { + TitleStyle ts = NotationFactory.eINSTANCE.createTitleStyle(); + rv.getStyles().add(ts); + } + if (canSort) { + rv.getStyles().add(NotationFactory.eINSTANCE.createSortingStyle()); + } + if (canFilter) { + rv.getStyles().add(NotationFactory.eINSTANCE.createFilteringStyle()); + } + rv.setType(hint); + ViewUtil.insertChildView(owner, rv, ViewUtil.APPEND, true); + return rv; + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/internal/factory/IBasicViewFactory.java b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/internal/factory/IBasicViewFactory.java new file mode 100644 index 0000000..1e383ec --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/internal/factory/IBasicViewFactory.java
@@ -0,0 +1,45 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.common.internal.factory; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint; +import org.eclipse.gmf.runtime.diagram.core.view.factories.ViewFactory; +import org.eclipse.gmf.runtime.notation.View; + +/** + * it define the the contract in order to be able to create a serialization of a figure in the diagram + * it is used to allowing reuse code from GMF generated diagram + * + */ +public interface IBasicViewFactory extends ViewFactory { + + /** + * Create the the view, a element that represents the serialization of a figure inside the GMF framework + * + * @param domainElement + * in our case this a SysML element + * @param containerView + * the container of the created view + * @param semanticHint + * the identifier that will associated to the created view + * @param index + * the index where will be created the view ( if you don't know -1) + * @param persisted + * true means that the node will be serialized in the file + * @param preferencesHint + * a constant that is specific to a diagram + * @return the created view + */ + View createElementView(EObject domainElement, View containerView, String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint); +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/internal/factory/SysMLConnectorViewFactory.java b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/internal/factory/SysMLConnectorViewFactory.java new file mode 100644 index 0000000..628326e --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/internal/factory/SysMLConnectorViewFactory.java
@@ -0,0 +1,96 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.diagram.common.internal.factory; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint; +import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil; +import org.eclipse.gmf.runtime.notation.Connector; +import org.eclipse.gmf.runtime.notation.Location; +import org.eclipse.gmf.runtime.notation.Node; +import org.eclipse.gmf.runtime.notation.NotationFactory; +import org.eclipse.gmf.runtime.notation.RelativeBendpoints; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.gmf.runtime.notation.datatype.RelativeBendpoint; +import org.eclipse.jface.preference.IPreferenceStore; +import org.eclipse.papyrus.uml.diagram.common.helper.PreferenceInitializerForElementHelper; +import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ConnectorAppliedStereotypeEditPart; +import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ConnectorEditPart; +import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ConnectorMultiplicitySourceEditPart; +import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ConnectorMultiplicityTargetEditPart; +import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ConnectorNameEditPart; +import org.eclipse.papyrus.uml.diagram.composite.part.UMLVisualIDRegistry; + +/** + * this class is an extraction of the generated class to serialize the appearance of a connector in SysML + * This class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml.diagram.internalblock#Req_004} + */ +public class SysMLConnectorViewFactory extends AbstractBasicViewFactory { + + + /** + * @see org.eclipse.papyrus.sysml.diagram.common.internal.factory.IBasicViewFactory#createElementView(org.eclipse.emf.ecore.EObject, org.eclipse.gmf.runtime.notation.View, java.lang.String, int, boolean, + * org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint) + * + * @param domainElement + * @param containerView + * @param semanticHint + * @param index + * @param persisted + * @param preferencesHint + * @return + */ + @Override + public View createElementView(EObject domainElement, View containerView, String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint) { + Connector edge = NotationFactory.eINSTANCE.createConnector(); + edge.getStyles().add(NotationFactory.eINSTANCE.createFontStyle()); + RelativeBendpoints bendpoints = NotationFactory.eINSTANCE.createRelativeBendpoints(); + List<RelativeBendpoint> points = new ArrayList<>(2); + points.add(new RelativeBendpoint()); + points.add(new RelativeBendpoint()); + bendpoints.setPoints(points); + edge.setBendpoints(bendpoints); + ViewUtil.insertChildView(containerView, edge, index, persisted); + edge.setType(UMLVisualIDRegistry.getType(ConnectorEditPart.VISUAL_ID)); + edge.setElement(domainElement); + // initializePreferences + final IPreferenceStore prefStore = (IPreferenceStore) preferencesHint.getPreferenceStore(); + PreferenceInitializerForElementHelper.initFontStyleFromPrefs(edge, prefStore, "Connector"); + Node label6025 = createLabel(edge, UMLVisualIDRegistry.getType(ConnectorAppliedStereotypeEditPart.VISUAL_ID)); + label6025.setLayoutConstraint(NotationFactory.eINSTANCE.createLocation()); + Location location6025 = (Location) label6025.getLayoutConstraint(); + location6025.setX(0); + location6025.setY(60); + Node label6050 = createLabel(edge, UMLVisualIDRegistry.getType(ConnectorNameEditPart.VISUAL_ID)); + label6050.setLayoutConstraint(NotationFactory.eINSTANCE.createLocation()); + Location location6050 = (Location) label6050.getLayoutConstraint(); + location6050.setX(0); + location6050.setY(-20); + Node label6051 = createLabel(edge, UMLVisualIDRegistry.getType(ConnectorMultiplicitySourceEditPart.VISUAL_ID)); + label6051.setLayoutConstraint(NotationFactory.eINSTANCE.createLocation()); + Location location6051 = (Location) label6051.getLayoutConstraint(); + location6051.setX(0); + location6051.setY(20); + Node label6052 = createLabel(edge, UMLVisualIDRegistry.getType(ConnectorMultiplicityTargetEditPart.VISUAL_ID)); + label6052.setLayoutConstraint(NotationFactory.eINSTANCE.createLocation()); + Location location6052 = (Location) label6052.getLayoutConstraint(); + location6052.setX(0); + location6052.setY(20); + return edge; + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/internal/factory/util/ClassifierViewFactoryUtil.java b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/internal/factory/util/ClassifierViewFactoryUtil.java new file mode 100644 index 0000000..b2b20eb --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/internal/factory/util/ClassifierViewFactoryUtil.java
@@ -0,0 +1,80 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.diagram.common.internal.factory.util; + +import org.eclipse.emf.ecore.EAnnotation; +import org.eclipse.emf.ecore.EcoreFactory; +import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil; +import org.eclipse.gmf.runtime.notation.DecorationNode; +import org.eclipse.gmf.runtime.notation.Node; +import org.eclipse.gmf.runtime.notation.NotationFactory; +import org.eclipse.gmf.runtime.notation.TitleStyle; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.ModelEditPart; +import org.eclipse.papyrus.uml.diagram.clazz.part.UMLVisualIDRegistry; + +/** + */ +public final class ClassifierViewFactoryUtil { + + + /** + * Constructor. Avoid Utility class instantiation + * + */ + private ClassifierViewFactoryUtil() { + } + + public static Node createLabel(View owner, String hint) { + DecorationNode rv = NotationFactory.eINSTANCE.createDecorationNode(); + rv.setType(hint); + ViewUtil.insertChildView(owner, rv, ViewUtil.APPEND, true); + return rv; + } + + public static void stampShortcut(View containerView, Node target) { + if (!ModelEditPart.MODEL_ID.equals(UMLVisualIDRegistry.getModelID(containerView))) { + EAnnotation shortcutAnnotation = EcoreFactory.eINSTANCE.createEAnnotation(); + shortcutAnnotation.setSource("Shortcut"); //$NON-NLS-1$ + shortcutAnnotation.getDetails().put("modelID", ModelEditPart.MODEL_ID); //$NON-NLS-1$ + target.getEAnnotations().add(shortcutAnnotation); + } + } + + public static Node createCompartment(View owner, String hint, boolean canCollapse, boolean hasTitle, boolean canSort, boolean canFilter) { + Node rv; + if (canCollapse) { + rv = NotationFactory.eINSTANCE.createBasicCompartment(); + } else { + rv = NotationFactory.eINSTANCE.createDecorationNode(); + } + + rv.setLayoutConstraint(NotationFactory.eINSTANCE.createBounds()); + + if (hasTitle) { + TitleStyle ts = NotationFactory.eINSTANCE.createTitleStyle(); + rv.getStyles().add(ts); + } + if (canSort) { + rv.getStyles().add(NotationFactory.eINSTANCE.createSortingStyle()); + } + if (canFilter) { + rv.getStyles().add(NotationFactory.eINSTANCE.createFilteringStyle()); + } + rv.setType(hint); + ViewUtil.insertChildView(owner, rv, ViewUtil.APPEND, true); + return rv; + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/internal/provider/SysMLExpandViewProvider.java b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/internal/provider/SysMLExpandViewProvider.java new file mode 100755 index 0000000..fdf30f9 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/internal/provider/SysMLExpandViewProvider.java
@@ -0,0 +1,172 @@ +/***************************************************************************** + * Copyright (c) 2017 CEA LIST and others. + * + * 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: + * Vincent Lorenzo (CEA LIST) - vincent.lorenzo@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.diagram.common.internal.provider; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.core.runtime.IAdaptable; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.diagram.core.services.view.CreateChildViewOperation; +import org.eclipse.gmf.runtime.diagram.ui.requests.CreateViewRequest.ViewDescriptor; +import org.eclipse.gmf.runtime.notation.Diagram; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.papyrus.infra.architecture.representation.PapyrusRepresentationKind; +import org.eclipse.papyrus.infra.core.architecture.ArchitectureDescriptionLanguage; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.providers.ExpandViewProvider; +import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.ChildrenListRepresentation; +import org.eclipse.papyrus.infra.types.ElementTypeConfiguration; +import org.eclipse.papyrus.infra.types.MetamodelTypeConfiguration; +import org.eclipse.papyrus.infra.types.SpecializationTypeConfiguration; +import org.eclipse.papyrus.infra.viewpoints.policy.ViewPrototype; +import org.eclipse.papyrus.uml.diagram.common.actions.ShowHideContentsAction; + +/** + * Class created for bug 528773. This ViewProvider works only on diagrams described in the sysml.architecture file + * (see method {@link #isAllowedLanguage(CreateChildViewOperation)}) . + * + * This View Provider has been defined to find the view to create by the {@link ShowHideContentsAction}. + * This action has a generic behavior, creating {@link ViewDescriptor} with a semanticHint=null. Its work fine with generated diagram, + * but not compartment defined by the expansion model. + * + * So This ViewProvider cross the expansion model to be able to find the semanticHint of the view to create according to the compartment, when the semanticHint exists. + */ +public class SysMLExpandViewProvider extends ExpandViewProvider { + + /** + * The name of the language on which works this ViewProvider + */ + private static final String SYSML_LANGUAGE = "SysML 1.5"; //$NON-NLS-1$ + + /** + * + * @param operation + * a create child view operation + * @return + * <code>true</code> if the current diagram comes from the description language dedicated to SysML 1.5 + */ + private boolean isAllowedLanguage(final CreateChildViewOperation operation) { + final View currentView = operation.getContainerView(); + if (null != currentView) { + final Diagram diagram = currentView.getDiagram(); + final ViewPrototype viewPrototype = org.eclipse.papyrus.infra.gmfdiag.common.utils.DiagramUtils.getPrototype(diagram); + if (null != viewPrototype) { + final PapyrusRepresentationKind kind = viewPrototype.getRepresentationKind(); + if (null != kind && null != kind.getLanguage()) { + final ArchitectureDescriptionLanguage language = kind.getLanguage(); + return isAllowedLanguage(language.getName()); + } + } + } + return false; + } + + /** + * + * @param language + * a language + * @return + * <code>true</code> if the current language is allowed + */ + protected boolean isAllowedLanguage(final String language) { + return SYSML_LANGUAGE.equals(language); + } + + /** + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.providers.ExpandViewProvider#getNodeGraphicalType(org.eclipse.core.runtime.IAdaptable, org.eclipse.gmf.runtime.notation.View, java.lang.String) + * + * @param semanticAdapter + * @param containerView + * @param semanticHint + * @return + */ + @Override + protected String getNodeGraphicalType(final IAdaptable semanticAdapter, final View containerView, final String semanticHint) { + if (null == semanticHint) { + final String currentDiagramType = getDiagramType(containerView); + final String containerType = containerView.getType(); + final List<String> possibleChildrenIDs = this.diagramExpansionRegistry.mapChildreen.get(currentDiagramType).parentChildrenRelation.get(containerType); + + final List<String> supportedChildrenIDs = new ArrayList<>(); + for (final String currentChildId : possibleChildrenIDs) { + final ChildrenListRepresentation childrenListRepresentation = this.diagramExpansionRegistry.mapChildreen.get(currentDiagramType); + final AbstractRepresentation answer = childrenListRepresentation.IDMap.get(currentChildId); + if (answer instanceof Representation) { + ElementTypeConfiguration elementTypeConfiguration = ((Representation) answer).getGraphicalElementTypeRef(); + List<MetamodelTypeConfiguration> res = getSupportedMetamodelTypeConfiguration(semanticAdapter, elementTypeConfiguration); + if (!res.isEmpty()) { + supportedChildrenIDs.add(currentChildId); + } + } + } + + if (supportedChildrenIDs.size() == 1) {// other case not yet supported, we are waiting concrete case to continue implementationS + return supportedChildrenIDs.get(0); + } + } + return null;// not super because the super return a value !=null even when the element is not supported for the compartment + } + + /** + * + * @param semanticAdapter + * the semantic adapter for the element we would like to be able to create in a compartment + * @param elementTypeConfiguration + * an element type configuration + * @return + * <code>true</code> if the elementTypeConfiguration is defined on a type (or a subtype) of the current element we are trying to create. + */ + private List<MetamodelTypeConfiguration> getSupportedMetamodelTypeConfiguration(final IAdaptable semanticAdapter, final ElementTypeConfiguration elementTypeConfiguration) { + final List<MetamodelTypeConfiguration> metamodelTypeConfiguration = new ArrayList<>(); + if (elementTypeConfiguration instanceof MetamodelTypeConfiguration) { + final MetamodelTypeConfiguration mtc = (MetamodelTypeConfiguration) elementTypeConfiguration; + final EClass metamodelEClass = mtc.getEClass(); + if (null != metamodelEClass) { + final EObject currentEObject = semanticAdapter.getAdapter(EObject.class); + if (metamodelEClass.isInstance(currentEObject)) { + metamodelTypeConfiguration.add((MetamodelTypeConfiguration) elementTypeConfiguration); + } + } + } else if (elementTypeConfiguration instanceof SpecializationTypeConfiguration) { + final SpecializationTypeConfiguration stc = (SpecializationTypeConfiguration) elementTypeConfiguration; + final List<ElementTypeConfiguration> specialiedTypes = stc.getSpecializedTypes(); + for (final ElementTypeConfiguration current : specialiedTypes) { + final List<MetamodelTypeConfiguration> result = getSupportedMetamodelTypeConfiguration(semanticAdapter, current); + metamodelTypeConfiguration.addAll(result); + } + } + return metamodelTypeConfiguration; + } + + /** + * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.providers.ExpandViewProvider#providesFromExpansionModel(org.eclipse.gmf.runtime.diagram.core.services.view.CreateChildViewOperation) + * + * @param operation + * @return + */ + @Override + protected boolean providesFromExpansionModel(final CreateChildViewOperation operation) { + boolean result = false; + final String semanticHint = operation.getSemanticHint(); + if (isAllowedLanguage(operation) && (null == semanticHint || semanticHint.isEmpty())) { + result = null != getNodeGraphicalType(operation.getSemanticAdapter(), operation.getContainerView(), semanticHint); + } + return result; + } + + +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/provider/AbstractParserProvider.java b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/provider/AbstractParserProvider.java new file mode 100644 index 0000000..a2ae893 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/provider/AbstractParserProvider.java
@@ -0,0 +1,74 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * + * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.common.provider; + +import java.util.HashMap; +import java.util.Map; + +import org.eclipse.core.runtime.IAdaptable; +import org.eclipse.gmf.runtime.common.core.service.AbstractProvider; +import org.eclipse.gmf.runtime.common.core.service.IOperation; +import org.eclipse.gmf.runtime.common.ui.services.parser.GetParserOperation; +import org.eclipse.gmf.runtime.common.ui.services.parser.IParser; +import org.eclipse.gmf.runtime.common.ui.services.parser.IParserProvider; +import org.eclipse.gmf.runtime.notation.View; + +/** + * Parser provider for labels used by diagrams. + */ +public abstract class AbstractParserProvider extends AbstractProvider implements IParserProvider { + + /** map from graphical hint to parsers */ + protected Map<String, IParser> graphicalHintToParser = new HashMap<>(); + + + /** + * {@inheritDoc} + */ + @Override + public boolean provides(IOperation operation) { + if (operation instanceof GetParserOperation) { + IAdaptable hint = ((GetParserOperation) operation).getHint(); + + + return getParser(hint) != null; + } + return false; + } + + /** + * {@inheritDoc} + */ + @Override + public IParser getParser(IAdaptable hint) { + String parserHint = hint.getAdapter(String.class); + if (parserHint != null) { + IParser parser = graphicalHintToParser.get(parserHint); + if (parser != null) { + return parser; + } + } + + View view = hint.getAdapter(View.class); + if (view != null) { + IParser parser = graphicalHintToParser.get(view.getType()); + if (parser != null) { + return parser; + } + } + + return null; + } + +} \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/util/GraphicalSysMLServiceTypeUtil.java b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/util/GraphicalSysMLServiceTypeUtil.java new file mode 100644 index 0000000..709fa9f --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/util/GraphicalSysMLServiceTypeUtil.java
@@ -0,0 +1,31 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.diagram.common.util; + +/** + * List SysML 1.5 graphical element type ids + * + */ +public final class GraphicalSysMLServiceTypeUtil { + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_PARAMETER_BORDER_ITEM = "org.eclipse.papyrus.sysmldi.Parameter_BorderItem"; //$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_CONSTRAINT_LABEL = "org.eclipse.papyrus.sysmldi.Constraint_Label";//$NON-NLS-1$ + + public static final String ORG_ECLIPSE_PAPYRUS_SYSML_CONSTRAINT_PROPERTY_COMPOSITE = "org.eclipse.papyrus.sysmldi.ConstraintPropertyComposite"; //$NON-NLS-1$ + + private GraphicalSysMLServiceTypeUtil() { + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/.classpath b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/.classpath similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/.classpath rename to diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/.classpath
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/.project b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/.project new file mode 100644 index 0000000..ca25d06 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/.project
@@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.diagram.internalblock.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> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/.settings/org.eclipse.core.resources.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/.settings/org.eclipse.core.resources.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/.settings/org.eclipse.core.resources.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/.settings/org.eclipse.jdt.core.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/.settings/org.eclipse.jdt.core.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/.settings/org.eclipse.jdt.core.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/.settings/org.eclipse.jdt.ui.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/.settings/org.eclipse.jdt.ui.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/.settings/org.eclipse.jdt.ui.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/.settings/org.eclipse.jdt.ui.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/.settings/org.eclipse.m2e.core.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/.settings/org.eclipse.m2e.core.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/.settings/org.eclipse.m2e.core.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/META-INF/MANIFEST.MF b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/META-INF/MANIFEST.MF new file mode 100644 index 0000000..7d719a2 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/META-INF/MANIFEST.MF
@@ -0,0 +1,15 @@ +Manifest-Version: 1.0 +Bundle-Vendor: %Bundle-Vendor +Bundle-Version: 4.0.0.qualifier +Bundle-Name: %Bundle-Name +Bundle-Localization: plugin +Bundle-ManifestVersion: 2 +Fragment-Host: org.eclipse.papyrus.sysml.diagram.internalblock;bundle-version="4.0.0" +Bundle-SymbolicName: org.eclipse.papyrus.sysml.diagram.internalblock.tests +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Require-Bundle: org.junit;bundle-version="[4.11.0,5.0.0)", + org.eclipse.papyrus.uml.diagram.clazz;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.composite;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.interactionoverview;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.profile;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.statemachine;bundle-version="[3.0.0,4.0.0)"
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/about.html b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/about.html similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/about.html rename to diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/about.html
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/build.properties b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/build.properties similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/build.properties rename to diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/build.properties
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/plugin.properties b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/plugin.properties new file mode 100644 index 0000000..66c0003 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/plugin.properties
@@ -0,0 +1,14 @@ +################################################################################# +# Copyright (c) 2011 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: +# +# CEA LIST - Initial API and Implementation. +# +################################################################################## +Bundle-Name=Papyrus SysML 1.5 Internal Block Diagram Tests +Bundle-Vendor=Eclipse Modeling Project
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/pom.xml b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/pom.xml new file mode 100644 index 0000000..4357fc1 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/pom.xml
@@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" + xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.papyrus.sysml</groupId> + <artifactId>org.eclipse.papyrus.sysml.diagram</artifactId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.diagram.internalblock.tests</artifactId> + <packaging>eclipse-test-plugin</packaging> + <description>This plug-in contains the unit tests relatives to internalblock diagram.</description> +</project>
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/src/org/eclipse/papyrus/sysml/diagram/internalblock/tests/resources/ModelValidationTest.java b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/src/org/eclipse/papyrus/sysml/diagram/internalblock/tests/resources/ModelValidationTest.java new file mode 100644 index 0000000..298b3a6 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock.tests/src/org/eclipse/papyrus/sysml/diagram/internalblock/tests/resources/ModelValidationTest.java
@@ -0,0 +1,87 @@ +/***************************************************************************** + * Copyright (c) 2017 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.diagram.internalblock.tests.resources; + +import java.util.Arrays; +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.ecore.util.Diagnostician; +import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; +import org.eclipse.papyrus.sysml.diagram.internalblock.Activator; +import org.junit.Assert; +import org.junit.BeforeClass; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.Parameterized; +import org.junit.runners.Parameterized.Parameters; + +/** + * This is a parameterized test to validate all model in the plugin + * + */ +@SuppressWarnings("nls") +@RunWith(Parameterized.class) +public class ModelValidationTest { + + @Parameters + public static Collection<Object[]> data() { + return Arrays.asList(new Object[][] { + // FIXME css invalid {"/resources/style/internalBlockDiagram.css"}, + {"/resources/configuration/internaBlockDiagramConfig.expansionmodel"}, + // FIXME still invalid {"/resources/doc/org.eclipse.papyrus.sysml.diagram.internalblock.uml"}, + //TODO: code a utility migration script {"/resources/doc/org.eclipse.papyrus.sysml.diagram.internalblock.notation"}, + {"/resources/palette/internalBlockDiagram.paletteconfiguration"}, + }); + } + + private String modelPath; + + public ModelValidationTest(String modelPath) { + this.modelPath = modelPath; + } + + @BeforeClass + public static void loadSysMLDefinition() { + ElementTypeSetConfigurationRegistry.getInstance(); + } + + /** + * Validate the model with the rules defined in the meta-model tooling + */ + @Test + public void validateModel() { + String fullPath = Activator.PLUGIN_ID + this.modelPath; + URI modelPlatformURI = URI.createPlatformPluginURI(fullPath, true); + Resource resource = new ResourceSetImpl().getResource(modelPlatformURI, true); + Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); + Assert.assertEquals("The "+modelPath+" model is invalid "+print(diagnostic), Diagnostic.OK, diagnostic.getSeverity()); + } + + // FIXME : Something should exist in API to do that + private String print(Diagnostic diagnostic) { + List<Diagnostic> children = diagnostic.getChildren(); + StringBuilder stringBuilder = new StringBuilder(diagnostic.getMessage()); + for (Diagnostic diagnosticChildren : children) { + stringBuilder.append("\n"); //$NON-NLS-1$ + stringBuilder.append(diagnosticChildren.getMessage()); + } + return stringBuilder.toString(); + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/.classpath b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/.classpath similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/.classpath rename to diagram/org.eclipse.papyrus.sysml.diagram.internalblock/.classpath
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/.project b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/.project new file mode 100644 index 0000000..52db4e3 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/.project
@@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.diagram.internalblock</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> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/.settings/org.eclipse.core.resources.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/.settings/org.eclipse.core.resources.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.internalblock/.settings/org.eclipse.core.resources.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/.settings/org.eclipse.jdt.core.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/.settings/org.eclipse.jdt.core.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.internalblock/.settings/org.eclipse.jdt.core.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/.settings/org.eclipse.jdt.ui.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/.settings/org.eclipse.jdt.ui.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/.settings/org.eclipse.jdt.ui.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.internalblock/.settings/org.eclipse.jdt.ui.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/.settings/org.eclipse.m2e.core.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/.settings/org.eclipse.m2e.core.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.internalblock/.settings/org.eclipse.m2e.core.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/META-INF/MANIFEST.MF b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/META-INF/MANIFEST.MF new file mode 100644 index 0000000..25e64b1 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/META-INF/MANIFEST.MF
@@ -0,0 +1,22 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name +Bundle-Localization: plugin +Bundle-SymbolicName: org.eclipse.papyrus.sysml.diagram.internalblock;singleton:=true +Bundle-Version: 4.0.0.qualifier +Bundle-Activator: org.eclipse.papyrus.sysml.diagram.internalblock.Activator +Bundle-Vendor: %Bundle-Vendor +Require-Bundle: org.eclipse.ui;bundle-version="[3.107.0,4.0.0)", + org.eclipse.core.runtime;bundle-version="[3.11.1,4.0.0)", + org.eclipse.uml2.uml;bundle-version="[5.1.0,6.0.0)", + org.eclipse.gmf.runtime.diagram.core;bundle-version="[1.7.0,2.0.0)", + org.eclipse.papyrus.infra.viewpoints.policy;bundle-version="[2.0.0,3.0.0)", + org.eclipse.papyrus.infra.emf;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.types.core;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.common;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.composite;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.sysml.diagram.common;bundle-version="4.0.0" +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Bundle-ActivationPolicy: lazy +Export-Package: org.eclipse.papyrus.sysml.diagram.internalblock, + org.eclipse.papyrus.sysml.diagram.internalblock.internal.factory;x-internal:=true
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/about.html b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/about.html similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/about.html rename to diagram/org.eclipse.papyrus.sysml.diagram.internalblock/about.html
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/build.properties b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/build.properties similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/build.properties rename to diagram/org.eclipse.papyrus.sysml.diagram.internalblock/build.properties
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/plugin.properties b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/plugin.properties new file mode 100644 index 0000000..cc18133 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/plugin.properties
@@ -0,0 +1,15 @@ +################################################################################# +# Copyright (c) 2015 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: +# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation +################################################################################## +Bundle-Name= Papyrus SysML 1.5 Internal Block Diagram +Bundle-Description=This plug-in contains the internal block diagram of SysML 1.5 +Bundle-Vendor=Eclipse Modeling Project + +
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/plugin.xml b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/plugin.xml similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/plugin.xml rename to diagram/org.eclipse.papyrus.sysml.diagram.internalblock/plugin.xml
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/pom.xml b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/pom.xml new file mode 100644 index 0000000..e6eea82 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/pom.xml
@@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.papyrus.sysml</groupId> + <artifactId>org.eclipse.papyrus.sysml.diagram</artifactId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.diagram.internalblock</artifactId> + <packaging>eclipse-plugin</packaging> + <name>org.eclipse.papyrus.sysml.diagram.internalblock</name> + <description>This plugin is in charge of defining the SysML Internal Block Diagram using the following frameworks: viewpoint, expansion model, palette and css.</description> +</project> \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/resources/configuration/internaBlockDiagramConfig.expansionmodel b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/resources/configuration/internaBlockDiagramConfig.expansionmodel new file mode 100644 index 0000000..62f25c4 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/resources/configuration/internaBlockDiagramConfig.expansionmodel
@@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<expansionmodel:DiagramExpansion xmlns:expansionmodel="http:///expansionmodel.ecore" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="SysML 1.5 IBD" xmi:id="org.eclipse.papyrus.sysml.ibd.expansionmodel" xmi:version="2.0"> + <usages diagramType="SysML 1.5 Internal Block Diagram" name="SysML 1.5 IBD Context" representations="_x0QaAFLcEeWce8tK71CTcg _j7dP0HytEeWustL01XNGSA" xmi:id="_rC19oNnoEeSqwOe5_frWm1"> + <gmftRepresentations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.composite.edit.parts.ClassCompositeEditPart" name="Block based on Class representation of composite diagram" reusedID="Class_Shape" subRepresentations="" viewFactory="org.eclipse.papyrus.sysml.diagram.internalblock.internal.factory.BlockCompositeViewFactory" xmi:id="_x0QaAFLcEeWce8tK71CTcg"/> + <gmftRepresentations editPartQualifiedName="org.eclipse.papyrus.sysml.diagram.common.edit.parts.SysMLConnectorEditPart" name="SysmlConnector based on Composite Connector @papyrus.req org.eclipse.papyrus.sysml.diagram.internalblock#Req_004" reusedID="Connector_Edge" subRepresentations="_EDXlcHzEEeWVMv-LGO6tZw" viewFactory="org.eclipse.papyrus.sysml.diagram.common.internal.factory.SysMLConnectorViewFactory" xmi:id="_j7dP0HytEeWustL01XNGSA"/> + <gmftRepresentations editPartQualifiedName="org.eclipse.papyrus.sysml.diagram.common.edit.parts.SysMLConnectorAppliedStereotypeEditPart" name="Applied Stereotype label for a connector @papyrus.req org.eclipse.papyrus.sysml.diagram.internalblock#Req_004" reusedID="6025" viewFactory="org.eclipse.gmf.runtime.diagram.ui.view.factories.optimal.DecorationNodeViewFactory" xmi:id="_EDXlcHzEEeWVMv-LGO6tZw"/> + </usages> + <libraries name="Independent Representations" xmi:id="_rC19oNnoEeSqwOe5_frWm3"> + </libraries> +</expansionmodel:DiagramExpansion>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/resources/doc/org.eclipse.papyrus.sysml14.diagram.internalblock.di b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/resources/doc/org.eclipse.papyrus.sysml.diagram.internalblock.di similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/resources/doc/org.eclipse.papyrus.sysml14.diagram.internalblock.di rename to diagram/org.eclipse.papyrus.sysml.diagram.internalblock/resources/doc/org.eclipse.papyrus.sysml.diagram.internalblock.di
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/resources/doc/org.eclipse.papyrus.sysml.diagram.internalblock.notation b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/resources/doc/org.eclipse.papyrus.sysml.diagram.internalblock.notation new file mode 100644 index 0000000..c0a47fb --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/resources/doc/org.eclipse.papyrus.sysml.diagram.internalblock.notation
@@ -0,0 +1,325 @@ +<?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:configuration="http://www.eclipse.org/papyrus/infra/viewpoints/configuration" xmlns:css="http://www.eclipse.org/papyrus/infra/gmfdiag/css" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:nattable="http://www.eclipse.org/papyrus/nattable/model" xmlns:nattableaxis="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis" xmlns:nattableaxisconfiguration="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration" xmlns:nattableaxisprovider="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider" xmlns:nattableconfiguration="http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration" xmlns:nattablestyle="http://www.eclipse.org/papyrus/nattable/model/table/nattablestyle" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:style_1="http://www.eclipse.org/papyrus/infra/gmfdiag/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis http://www.eclipse.org/papyrus/nattable/model#//nattableaxis http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration http://www.eclipse.org/papyrus/nattable/model#//nattableaxisconfiguration http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider http://www.eclipse.org/papyrus/nattable/model#//nattableaxisprovider http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration http://www.eclipse.org/papyrus/nattable/model#//nattableconfiguration http://www.eclipse.org/papyrus/nattable/model/table/nattablestyle http://www.eclipse.org/papyrus/nattable/model#//nattablestyle"> + <notation:Diagram xmi:id="_OF23gOLIEeSv5dwvZ9NSDw" type="PapyrusUMLClassDiagram" name="Overview" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_OF3ekOLIEeSv5dwvZ9NSDw" type="2005"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3ekeLIEeSv5dwvZ9NSDw" type="5020"/> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3ekuLIEeSv5dwvZ9NSDw" type="7009"> + <styles xmi:type="notation:TitleStyle" xmi:id="_OF3ek-LIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3elOLIEeSv5dwvZ9NSDw"/> + </children> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.internalblock.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eleLIEeSv5dwvZ9NSDw" x="201" y="38"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_OF3eluLIEeSv5dwvZ9NSDw" type="2005"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3el-LIEeSv5dwvZ9NSDw" type="5020"/> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3emOLIEeSv5dwvZ9NSDw" type="7009"> + <styles xmi:type="notation:TitleStyle" xmi:id="_OF3emeLIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3emuLIEeSv5dwvZ9NSDw"/> + </children> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.internalblock.uml#_OFsfc-LIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3em-LIEeSv5dwvZ9NSDw" x="204" y="173"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_OF3enOLIEeSv5dwvZ9NSDw" type="2005"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3eneLIEeSv5dwvZ9NSDw" type="5020"/> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3enuLIEeSv5dwvZ9NSDw" type="7009"> + <styles xmi:type="notation:TitleStyle" xmi:id="_OF3en-LIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eoOLIEeSv5dwvZ9NSDw"/> + </children> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.internalblock.uml#_OFsfduLIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eoeLIEeSv5dwvZ9NSDw" x="206" y="329"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_OF3eouLIEeSv5dwvZ9NSDw" type="2005"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3eo-LIEeSv5dwvZ9NSDw" type="5020"/> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3epOLIEeSv5dwvZ9NSDw" type="7009"> + <styles xmi:type="notation:TitleStyle" xmi:id="_OF3epeLIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3epuLIEeSv5dwvZ9NSDw"/> + </children> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.internalblock.uml#_OFsfeOLIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3ep-LIEeSv5dwvZ9NSDw" x="635" y="324"/> + </children> + <styles xmi:type="notation:DiagramStyle" xmi:id="_OF3eqOLIEeSv5dwvZ9NSDw"/> + <styles xmi:type="style:PapyrusViewStyle" xmi:id="_OF3eqeLIEeSv5dwvZ9NSDw"> + <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.internalblock.uml#_OFsfcOLIEeSv5dwvZ9NSDw"/> + <configuration xmi:type="configuration:PapyrusDiagram" href="platform:/plugin/org.eclipse.papyrus.infra.viewpoints.policy/builtin/default.configuration#_7wLmpNxhEeOqHvRyiN87hA"/> + </styles> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.internalblock.uml#_OFsfcOLIEeSv5dwvZ9NSDw"/> + <edges xmi:type="notation:Connector" xmi:id="_OF3equLIEeSv5dwvZ9NSDw" type="4006" source="_OF3eluLIEeSv5dwvZ9NSDw" target="_OF3ekOLIEeSv5dwvZ9NSDw"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3eq-LIEeSv5dwvZ9NSDw" visible="false" type="6014"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3erOLIEeSv5dwvZ9NSDw" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3ereLIEeSv5dwvZ9NSDw" visible="false" type="6015"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3eruLIEeSv5dwvZ9NSDw" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_OF3er-LIEeSv5dwvZ9NSDw"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.diagram.internalblock.uml#_OFsfdOLIEeSv5dwvZ9NSDw"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OF3esOLIEeSv5dwvZ9NSDw" points="[-2, -10, 8, 48]$[-27, -45, -17, 13]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3eseLIEeSv5dwvZ9NSDw" id="(0.305,0.1)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3esuLIEeSv5dwvZ9NSDw" id="(0.27,0.87)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_OF3es-LIEeSv5dwvZ9NSDw" type="4006" source="_OF3enOLIEeSv5dwvZ9NSDw" target="_OF3eluLIEeSv5dwvZ9NSDw"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3etOLIEeSv5dwvZ9NSDw" visible="false" type="6014"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3eteLIEeSv5dwvZ9NSDw" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3etuLIEeSv5dwvZ9NSDw" visible="false" type="6015"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3et-LIEeSv5dwvZ9NSDw" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_OF3euOLIEeSv5dwvZ9NSDw"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.diagram.internalblock.uml#_OFsfd-LIEeSv5dwvZ9NSDw"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OF3eueLIEeSv5dwvZ9NSDw" points="[-9, -16, 0, 67]$[-24, -72, -15, 11]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3euuLIEeSv5dwvZ9NSDw" id="(0.27,0.16)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3eu-LIEeSv5dwvZ9NSDw" id="(0.235,0.89)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_OF3evOLIEeSv5dwvZ9NSDw" type="4008" source="_OF3eouLIEeSv5dwvZ9NSDw" target="_OF3eluLIEeSv5dwvZ9NSDw"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3eveLIEeSv5dwvZ9NSDw" visible="false" type="6026"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3evuLIEeSv5dwvZ9NSDw" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3ev-LIEeSv5dwvZ9NSDw" visible="false" type="6027"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3ewOLIEeSv5dwvZ9NSDw" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_OF3eweLIEeSv5dwvZ9NSDw"/> + <element xmi:type="uml:Dependency" href="org.eclipse.papyrus.sysml.diagram.internalblock.uml#_OFsfeeLIEeSv5dwvZ9NSDw"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OF3ewuLIEeSv5dwvZ9NSDw" points="[-46, -20, 265, 113]$[-275, -135, 36, -2]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3ew-LIEeSv5dwvZ9NSDw" id="(0.0,0.24)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3exOLIEeSv5dwvZ9NSDw" id="(1.0,0.65)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_OF3exeLIEeSv5dwvZ9NSDw" type="4008" source="_OF3eouLIEeSv5dwvZ9NSDw" target="_OF3enOLIEeSv5dwvZ9NSDw"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3exuLIEeSv5dwvZ9NSDw" visible="false" type="6026"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3ex-LIEeSv5dwvZ9NSDw" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3eyOLIEeSv5dwvZ9NSDw" visible="false" type="6027"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3eyeLIEeSv5dwvZ9NSDw" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_OF3eyuLIEeSv5dwvZ9NSDw"/> + <element xmi:type="uml:Dependency" href="org.eclipse.papyrus.sysml.diagram.internalblock.uml#_OFsfeuLIEeSv5dwvZ9NSDw"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OF3ey-LIEeSv5dwvZ9NSDw" points="[-40, 1, 262, -12]$[-267, 20, 35, 7]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3ezOLIEeSv5dwvZ9NSDw" id="(0.0,0.69)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3ezeLIEeSv5dwvZ9NSDw" id="(1.0,0.64)"/> + </edges> + </notation:Diagram> + <css:ModelStyleSheets xmi:id="_MXBlUOc1EeSLdPGe2q9R0g"/> + <nattable:Table xmi:id="_FB4isOgEEeSUQvXhEVQh8w" name="Palette Requirement Table" currentRowAxisProvider="_FB4itegEEeSUQvXhEVQh8w" currentColumnAxisProvider="_FB4isegEEeSUQvXhEVQh8w"> + <context xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.internalblock.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> + <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.internalblock.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> + <prototype xmi:type="configuration:PapyrusSyncTable" href="platform:/plugin/org.eclipse.papyrus.infra.viewpoints.policy/builtin/default.configuration#_7wNb3txhEeOqHvRyiN87hA"/> + <tableConfiguration xmi:type="nattableconfiguration:TableConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.nattable.requirement.config/configs/requirement.nattableconfiguration#/"/> + <columnAxisProvidersHistory xmi:type="nattableaxisprovider:SlaveObjectAxisProvider" xmi:id="_FB4isegEEeSUQvXhEVQh8w" description="Provides the columns of the tables with a default configuration" name="Requirements Feature Columns Provider"> + <axis xmi:type="nattableaxis:FeatureIdAxis" xmi:id="_FB4isugEEeSUQvXhEVQh8w" element="property_of_stereotype:/SysML::Requirements::Requirement::id"> + <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_0CX7UOgIEeSUQvXhEVQh8w" name="axisWidth" intValue="320"/> + <manager xmi:type="nattableaxisconfiguration:AxisManagerRepresentation" href="platform:/plugin/org.eclipse.papyrus.sysml.nattable.requirement.config/configs/requirement.nattableconfiguration#//@columnHeaderAxisConfiguration/@axisManagers.1"/> + </axis> + <axis xmi:type="nattableaxis:EStructuralFeatureAxis" xmi:id="_FB4is-gEEeSUQvXhEVQh8w"> + <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_0C78AOgIEeSUQvXhEVQh8w" name="axisWidth" intValue="220"/> + <manager xmi:type="nattableaxisconfiguration:AxisManagerRepresentation" href="platform:/plugin/org.eclipse.papyrus.sysml.nattable.requirement.config/configs/requirement.nattableconfiguration#//@columnHeaderAxisConfiguration/@axisManagers.0"/> + <element xmi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> + </axis> + <axis xmi:type="nattableaxis:FeatureIdAxis" xmi:id="_FB4itOgEEeSUQvXhEVQh8w" element="property_of_stereotype:/SysML::Requirements::Requirement::text"> + <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_0C9KIOgIEeSUQvXhEVQh8w" name="axisWidth" intValue="220"/> + <manager xmi:type="nattableaxisconfiguration:AxisManagerRepresentation" href="platform:/plugin/org.eclipse.papyrus.sysml.nattable.requirement.config/configs/requirement.nattableconfiguration#//@columnHeaderAxisConfiguration/@axisManagers.1"/> + </axis> + </columnAxisProvidersHistory> + <rowAxisProvidersHistory xmi:type="nattableaxisprovider:MasterObjectAxisProvider" xmi:id="_FB4itegEEeSUQvXhEVQh8w" description="Provides the requirements directly owned by the context of the table" name="Requirement Axis Provider" disconnectSlave="true"/> + <localRowHeaderAxisConfiguration xmi:type="nattableaxisconfiguration:LocalTableHeaderAxisConfiguration" xmi:id="_9enkgBTEEeWVdLvX1TqBVg" indexStyle="NUMERIC"> + <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_9etrIBTEEeWVdLvX1TqBVg" name="rowLabelWidth" intValue="345"/> + <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_9gBSsBTEEeWVdLvX1TqBVg" name="rowIndexWidth" intValue="165"/> + </localRowHeaderAxisConfiguration> + <localColumnHeaderAxisConfiguration xmi:type="nattableaxisconfiguration:LocalTableHeaderAxisConfiguration" xmi:id="_9f-PYBTEEeWVdLvX1TqBVg"> + <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_9f-2cBTEEeWVdLvX1TqBVg" name="columnIndexHeight" intValue="25"/> + <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_9f_dgBTEEeWVdLvX1TqBVg" name="columnLabelHeight" intValue="25"/> + </localColumnHeaderAxisConfiguration> + </nattable:Table> + <notation:Diagram xmi:id="_OB1JsH10EeWj1JisGMPNPg" type="PapyrusUMLClassDiagram" name="Connector in SysML" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_eEl7UH13EeWj1JisGMPNPg" type="Package_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_eEl7Un13EeWj1JisGMPNPg" type="Package_NameLabel"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_eEl7U313EeWj1JisGMPNPg" type="Package_PackagedElementCompartment"> + <children xmi:type="notation:Shape" xmi:id="_6VjW4H10EeWj1JisGMPNPg" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_6Vj98H10EeWj1JisGMPNPg" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_6Vj98X10EeWj1JisGMPNPg" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_6Vj98n10EeWj1JisGMPNPg" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_6Vj98310EeWj1JisGMPNPg" visible="false" type="Class_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_6Vj99H10EeWj1JisGMPNPg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_6Vj99X10EeWj1JisGMPNPg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_6Vj99n10EeWj1JisGMPNPg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6Vj99310EeWj1JisGMPNPg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_6Vj9-H10EeWj1JisGMPNPg" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_6Vj9-X10EeWj1JisGMPNPg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_6Vj9-n10EeWj1JisGMPNPg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_6Vj9-310EeWj1JisGMPNPg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6Vj9_H10EeWj1JisGMPNPg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_6VklAH10EeWj1JisGMPNPg" visible="false" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_6VklAX10EeWj1JisGMPNPg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_6VklAn10EeWj1JisGMPNPg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_6VklA310EeWj1JisGMPNPg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6VklBH10EeWj1JisGMPNPg"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_3ZLXkJoNEeeXz9m6CNxSgg" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_3ZNMwJoNEeeXz9m6CNxSgg" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_3ZOa4JoNEeeXz9m6CNxSgg" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_3ZQQEJoNEeeXz9m6CNxSgg" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_3ZReMJoNEeeXz9m6CNxSgg" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_3ZSsUJoNEeeXz9m6CNxSgg" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_3ZUhgJoNEeeXz9m6CNxSgg" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_3ZWWsJoNEeeXz9m6CNxSgg" type="Parameters"/> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.diagram.internalblock.uml#_eRWsUH10EeWj1JisGMPNPg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6VjW4X10EeWj1JisGMPNPg" x="26" y="18" width="253" height="47"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_21284H10EeWj1JisGMPNPg" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_218ccH10EeWj1JisGMPNPg" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_218ccX10EeWj1JisGMPNPg" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_218ccn10EeWj1JisGMPNPg" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_219DgH10EeWj1JisGMPNPg" visible="false" type="Class_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_219DgX10EeWj1JisGMPNPg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_219Dgn10EeWj1JisGMPNPg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_219Dg310EeWj1JisGMPNPg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_219DhH10EeWj1JisGMPNPg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_219qkH10EeWj1JisGMPNPg" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_219qkX10EeWj1JisGMPNPg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_219qkn10EeWj1JisGMPNPg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_219qk310EeWj1JisGMPNPg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_219qlH10EeWj1JisGMPNPg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_219qlX10EeWj1JisGMPNPg" visible="false" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_219qln10EeWj1JisGMPNPg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_219ql310EeWj1JisGMPNPg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_219qmH10EeWj1JisGMPNPg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_219qmX10EeWj1JisGMPNPg"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_3Zb2QJoNEeeXz9m6CNxSgg" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_3ZcdUJoNEeeXz9m6CNxSgg" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_3ZeSgJoNEeeXz9m6CNxSgg" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_3ZfgoJoNEeeXz9m6CNxSgg" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_3ZgHsJoNEeeXz9m6CNxSgg" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_3ZhV0JoNEeeXz9m6CNxSgg" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_3ZjLAJoNEeeXz9m6CNxSgg" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_3ZlnQJoNEeeXz9m6CNxSgg" type="Parameters"/> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.diagram.internalblock.uml#_dZIq4H10EeWj1JisGMPNPg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_21284X10EeWj1JisGMPNPg" x="109" y="88" width="157" height="42"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_CY8lkH11EeWj1JisGMPNPg" type="Comment_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_CY9MoH11EeWj1JisGMPNPg" type="Comment_BodyLabel"/> + <element xmi:type="uml:Comment" href="org.eclipse.papyrus.sysml.diagram.internalblock.uml#_-Ov2AH10EeWj1JisGMPNPg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CY8lkX11EeWj1JisGMPNPg" x="293" y="17" width="322" height="43"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_akvbMH11EeWj1JisGMPNPg" type="Comment_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_akwpUH11EeWj1JisGMPNPg" type="Comment_BodyLabel"/> + <element xmi:type="uml:Comment" href="org.eclipse.papyrus.sysml.diagram.internalblock.uml#_Y8IeoH11EeWj1JisGMPNPg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_akwCQH11EeWj1JisGMPNPg" x="302" y="97" width="358"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_eEl7VH13EeWj1JisGMPNPg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_eEl7VX13EeWj1JisGMPNPg"/> + </children> + <element xmi:type="uml:Package" href="org.eclipse.papyrus.sysml.diagram.internalblock.uml#_EUKKgH10EeWj1JisGMPNPg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_eEl7UX13EeWj1JisGMPNPg" x="504" y="138" width="685" height="231"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_jOud4H13EeWj1JisGMPNPg" type="Package_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_jOvE8H13EeWj1JisGMPNPg" type="Package_NameLabel"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_jOvE8X13EeWj1JisGMPNPg" type="Package_PackagedElementCompartment"> + <children xmi:type="notation:Shape" xmi:id="_IEKxEH13EeWj1JisGMPNPg" type="Class_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_IELYIH13EeWj1JisGMPNPg" type="Class_NameLabel"/> + <children xmi:type="notation:DecorationNode" xmi:id="_IELYIX13EeWj1JisGMPNPg" type="Class_FloatingNameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_IELYIn13EeWj1JisGMPNPg" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_IEL_MH13EeWj1JisGMPNPg" visible="false" type="Class_AttributeCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_IEL_MX13EeWj1JisGMPNPg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_IEL_Mn13EeWj1JisGMPNPg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_IEL_M313EeWj1JisGMPNPg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_IEL_NH13EeWj1JisGMPNPg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_IEL_NX13EeWj1JisGMPNPg" visible="false" type="Class_OperationCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_IEL_Nn13EeWj1JisGMPNPg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_IEL_N313EeWj1JisGMPNPg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_IEL_OH13EeWj1JisGMPNPg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_IEL_OX13EeWj1JisGMPNPg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_IEL_On13EeWj1JisGMPNPg" visible="false" type="Class_NestedClassifierCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_IEL_O313EeWj1JisGMPNPg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_IEL_PH13EeWj1JisGMPNPg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_IEL_PX13EeWj1JisGMPNPg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_IEL_Pn13EeWj1JisGMPNPg"/> + </children> + <children xmi:type="notation:Compartment" xmi:id="_3Zx0gJoNEeeXz9m6CNxSgg" type="Flow Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_3ZzCoJoNEeeXz9m6CNxSgg" type="constraints"/> + <children xmi:type="notation:Compartment" xmi:id="_3Z0QwJoNEeeXz9m6CNxSgg" type="Parts"/> + <children xmi:type="notation:Compartment" xmi:id="_3Z1e4JoNEeeXz9m6CNxSgg" type="Proxy Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_3Z3UEJoNEeeXz9m6CNxSgg" type="Full Ports"/> + <children xmi:type="notation:Compartment" xmi:id="_3Z4iMJoNEeeXz9m6CNxSgg" type="References"/> + <children xmi:type="notation:Compartment" xmi:id="_3Z6XYJoNEeeXz9m6CNxSgg" type="Flow Properties"/> + <children xmi:type="notation:Compartment" xmi:id="_3Z8zoJoNEeeXz9m6CNxSgg" type="Parameters"/> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.diagram.internalblock.uml#_FkRAIH13EeWj1JisGMPNPg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_IEKxEX13EeWj1JisGMPNPg" x="30" y="39" width="144" height="42"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_jOvE8n13EeWj1JisGMPNPg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jOvE8313EeWj1JisGMPNPg"/> + </children> + <element xmi:type="uml:Package" href="org.eclipse.papyrus.sysml.diagram.internalblock.uml#_gLav0H11EeWj1JisGMPNPg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jOud4X13EeWj1JisGMPNPg" x="251" y="195" height="128"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_kHWvAH13EeWj1JisGMPNPg" type="Package_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_kHXWEH13EeWj1JisGMPNPg" type="Package_NameLabel"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_kHXWEX13EeWj1JisGMPNPg" type="Package_PackagedElementCompartment"> + <children xmi:type="notation:Shape" xmi:id="_ksUdQH13EeWj1JisGMPNPg" type="Class_Shape_CN"> + <children xmi:type="notation:DecorationNode" xmi:id="_ksVEUH13EeWj1JisGMPNPg" type="Class_NameLabel_CN"/> + <children xmi:type="notation:DecorationNode" xmi:id="_ksVEUX13EeWj1JisGMPNPg" type="Class_FloatingNameLabel_CN"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_ksVEUn13EeWj1JisGMPNPg" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_ksVEU313EeWj1JisGMPNPg" visible="false" type="Class_AttributeCompartment_CN"> + <styles xmi:type="notation:TitleStyle" xmi:id="_ksVEVH13EeWj1JisGMPNPg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_ksVEVX13EeWj1JisGMPNPg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_ksVEVn13EeWj1JisGMPNPg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ksVEV313EeWj1JisGMPNPg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_ksVEWH13EeWj1JisGMPNPg" visible="false" type="Class_OperationCompartment_CN"> + <styles xmi:type="notation:TitleStyle" xmi:id="_ksVEWX13EeWj1JisGMPNPg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_ksVEWn13EeWj1JisGMPNPg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_ksVEW313EeWj1JisGMPNPg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ksVEXH13EeWj1JisGMPNPg"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_ksVrYH13EeWj1JisGMPNPg" visible="false" type="Class_NestedClassifierCompartment_CN"> + <styles xmi:type="notation:TitleStyle" xmi:id="_ksVrYX13EeWj1JisGMPNPg"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_ksVrYn13EeWj1JisGMPNPg"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_ksVrY313EeWj1JisGMPNPg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ksVrZH13EeWj1JisGMPNPg"/> + </children> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.diagram.internalblock.uml#_XCNdsH13EeWj1JisGMPNPg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ksUdQX13EeWj1JisGMPNPg" x="12" y="18" width="182" height="55"/> + </children> + <styles xmi:type="notation:TitleStyle" xmi:id="_kHXWEn13EeWj1JisGMPNPg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kHXWE313EeWj1JisGMPNPg"/> + </children> + <element xmi:type="uml:Package" href="org.eclipse.papyrus.sysml.diagram.internalblock.uml#_SaK7kH13EeWj1JisGMPNPg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kHWvAX13EeWj1JisGMPNPg" x="28" y="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_DF7gAH14EeWj1JisGMPNPg" type="Model_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_DF8HEH14EeWj1JisGMPNPg" type="Model_NameLabel"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_DF8HEX14EeWj1JisGMPNPg" type="Model_PackagedElementCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_DF8HEn14EeWj1JisGMPNPg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_DF8HE314EeWj1JisGMPNPg"/> + </children> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.internalblock.uml#_-O-_MH13EeWj1JisGMPNPg"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_DF7gAX14EeWj1JisGMPNPg" x="33" y="70" width="1106" height="44"/> + </children> + <styles xmi:type="notation:StringValueStyle" xmi:id="_OB1JsX10EeWj1JisGMPNPg" name="diagram_compatibility_version" stringValue="1.3.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_OB1wwH10EeWj1JisGMPNPg"/> + <styles xmi:type="style_1:PapyrusDiagramStyle" xmi:id="_3VEToJoNEeeXz9m6CNxSgg" diagramKindId="org.eclipse.papyrus.uml.diagram.class"> + <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.internalblock.uml#_OFsfduLIEeSv5dwvZ9NSDw"/> + </styles> + <element xmi:type="uml:Package" href="org.eclipse.papyrus.sysml.diagram.internalblock.uml#_EUKKgH10EeWj1JisGMPNPg"/> + <edges xmi:type="notation:Connector" xmi:id="_LHyTEH13EeWj1JisGMPNPg" type="Dependency_Edge" source="_21284H10EeWj1JisGMPNPg" target="_IEKxEH13EeWj1JisGMPNPg"> + <children xmi:type="notation:DecorationNode" xmi:id="_LHy6IH13EeWj1JisGMPNPg" type="Dependency_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_LHy6IX13EeWj1JisGMPNPg" x="143" y="-59"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_LHy6In13EeWj1JisGMPNPg" type="Dependency_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_LHy6I313EeWj1JisGMPNPg" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_LHyTEX13EeWj1JisGMPNPg"/> + <element xmi:type="uml:Dependency" href="org.eclipse.papyrus.sysml.diagram.internalblock.uml#_LHszgH13EeWj1JisGMPNPg"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_LHyTEn13EeWj1JisGMPNPg" points="[-12, 2, 124, 0]$[-111, 0, 25, -2]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_LJC3UH13EeWj1JisGMPNPg" id="(0.0,0.6190476190476191)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_LJDeYH13EeWj1JisGMPNPg" id="(1.0,0.42857142857142855)"/> + </edges> + </notation:Diagram> +</xmi:XMI>
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/resources/doc/org.eclipse.papyrus.sysml.diagram.internalblock.uml b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/resources/doc/org.eclipse.papyrus.sysml.diagram.internalblock.uml new file mode 100644 index 0000000..9843979 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/resources/doc/org.eclipse.papyrus.sysml.diagram.internalblock.uml
@@ -0,0 +1,138 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Requirements="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements http://www.eclipse.org/papyrus/sysml/1.4/SysML"> + <uml:Model xmi:id="_OFsfcOLIEeSv5dwvZ9NSDw" name="org.eclipse.papyrus.sysml.diagram.internalblock"> + <packageImport xmi:type="uml:PackageImport" xmi:id="_OFsfceLIEeSv5dwvZ9NSDw"> + <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/> + </packageImport> + <packageImport xmi:type="uml:PackageImport" xmi:id="_-AmzcFcAEeW35uAYw-w4dQ"> + <importedPackage xmi:type="uml:Model" href="../../../org.eclipse.papyrus.sysml/resources/doc/org.eclipse.papyrus.sysml14.uml#_Py6ZoJsTEeSu6pfLknKE4A"/> + </packageImport> + <packagedElement xmi:type="uml:Model" xmi:id="_OFsfcuLIEeSv5dwvZ9NSDw" name="Requirements"> + <packagedElement xmi:type="uml:Class" xmi:id="_WPCg0CZCEeWtn6hjmtufug" name="Elements in the palette"> + <nestedClassifier xmi:type="uml:Class" xmi:id="_IaVsQOgEEeSUQvXhEVQh8w" name="Actor part in IBD Palette"/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_bRGvEGEzEeWJB_ZnIjFyvQ" name=" InformationItem in IBD palette"/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_f4TYAGLFEeWTdanjqJgfhg" name="InformationFlow in IBD palette"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_GZ8DsCCMEeWp9rJ2gmw59A" name="Actor part creation"/> + <packagedElement xmi:type="uml:Class" xmi:id="_vRLKkFcAEeW35uAYw-w4dQ" name="Req_003: display references with dashed"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_Q_iioFcBEeW35uAYw-w4dQ" client="_vRLKkFcAEeW35uAYw-w4dQ"> + <supplier xmi:type="uml:Class" href="../../../org.eclipse.papyrus.sysml/resources/doc/omg.sysml.uml#_66IZyTq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_yIAjIH1zEeWj1JisGMPNPg" name="BindingConnectorDisplay"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_yMXesH1zEeWj1JisGMPNPg" name="DeriveFrom_REQ-OMG-SYSML14-8.3.2.2 Binding Connector" client="_yIAjIH1zEeWj1JisGMPNPg"> + <supplier xmi:type="uml:Class" href="../../../org.eclipse.papyrus.sysml/resources/doc/omg.sysml.uml#_66Jn5zq8EeW79ofuztDyTA"/> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Model" xmi:id="_OFsfc-LIEeSv5dwvZ9NSDw" name="UseCases"> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_OFsfdOLIEeSv5dwvZ9NSDw" name="useCasesAbstraction" client="_OFsfc-LIEeSv5dwvZ9NSDw" supplier="_OFsfcuLIEeSv5dwvZ9NSDw"/> + <packagedElement xmi:type="uml:Component" xmi:id="_OFsfdeLIEeSv5dwvZ9NSDw" name="MySystem"/> + </packagedElement> + <packagedElement xmi:type="uml:Model" xmi:id="_OFsfduLIEeSv5dwvZ9NSDw" name="Design"> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_OFsfd-LIEeSv5dwvZ9NSDw" name="DesignAbstraction" client="_OFsfduLIEeSv5dwvZ9NSDw" supplier="_OFsfc-LIEeSv5dwvZ9NSDw"/> + <packagedElement xmi:type="uml:Component" xmi:id="_WfoccH10EeWj1JisGMPNPg" name="org.eclipse.papyrus.sysml14.diagram.common"> + <packagedElement xmi:type="uml:Package" xmi:id="_EUKKgH10EeWj1JisGMPNPg" name="edit.parts"> + <packagedElement xmi:type="uml:Class" xmi:id="_dZIq4H10EeWj1JisGMPNPg" name="ConnectorEditPart"> + <ownedComment xmi:type="uml:Comment" xmi:id="_-Ov2AH10EeWj1JisGMPNPg" annotatedElement="_eRWsUH10EeWj1JisGMPNPg"> + <body>This editPart is a specialization of a connectorEeditpart that overload the setText about the label of AppliedStereotype</body> + </ownedComment> + </packagedElement> + <packagedElement xmi:type="uml:Class" xmi:id="_eRWsUH10EeWj1JisGMPNPg" name="ConnectorAppliedStereotypeEditPart"> + <ownedComment xmi:type="uml:Comment" xmi:id="_Y8IeoH11EeWj1JisGMPNPg" annotatedElement="_dZIq4H10EeWj1JisGMPNPg"> + <body>This editpart has been specialized in order to replace default figure by a custom figure to change display of stereotype application.</body> + </ownedComment> + </packagedElement> + <packagedElement xmi:type="uml:Dependency" xmi:id="_LHszgH13EeWj1JisGMPNPg" client="_dZIq4H10EeWj1JisGMPNPg" supplier="_FkRAIH13EeWj1JisGMPNPg"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_0CadgH13EeWj1JisGMPNPg" name="Satisfies_BindingConnector display 1" client="_dZIq4H10EeWj1JisGMPNPg" supplier="_yIAjIH1zEeWj1JisGMPNPg"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_0CeH4H13EeWj1JisGMPNPg" name="Satisfies_BindingConnector display 2" client="_eRWsUH10EeWj1JisGMPNPg" supplier="_yIAjIH1zEeWj1JisGMPNPg"/> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="_gLav0H11EeWj1JisGMPNPg" name="figure"> + <packagedElement xmi:type="uml:Class" xmi:id="_FkRAIH13EeWj1JisGMPNPg" name="ConnectorFigure"> + <ownedComment xmi:type="uml:Comment" xmi:id="_6uxn0H13EeWj1JisGMPNPg"> + <body>This figure is a specialization of a connector in order to overload the display of the BindingConnector display</body> + </ownedComment> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_0Cf9EH13EeWj1JisGMPNPg" name="Satisfies_BindingConnector display" client="_FkRAIH13EeWj1JisGMPNPg" supplier="_yIAjIH1zEeWj1JisGMPNPg"/> + </packagedElement> + <packagedElement xmi:type="uml:Package" xmi:id="_SaK7kH13EeWj1JisGMPNPg" name="internal.factory"> + <packagedElement xmi:type="uml:Class" xmi:id="_XCNdsH13EeWj1JisGMPNPg" name="ConnectorViewFactory"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_0ChyQH13EeWj1JisGMPNPg" name="Satisfies_BindingConnector display" client="_XCNdsH13EeWj1JisGMPNPg" supplier="_yIAjIH1zEeWj1JisGMPNPg"/> + </packagedElement> + <packagedElement xmi:type="uml:Model" xmi:id="_-O-_MH13EeWj1JisGMPNPg" name="internalblockConfig.expansionmodel"> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_ICQ3IH14EeWj1JisGMPNPg" name="Satisfies_BindingConnector display" client="_-O-_MH13EeWj1JisGMPNPg" supplier="_yIAjIH1zEeWj1JisGMPNPg"/> + </packagedElement> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Model" xmi:id="_OFsfeOLIEeSv5dwvZ9NSDw" name="Test"> + <packagedElement xmi:type="uml:Dependency" xmi:id="_OFsfeeLIEeSv5dwvZ9NSDw" name="Dependency1" client="_OFsfeOLIEeSv5dwvZ9NSDw" supplier="_OFsfc-LIEeSv5dwvZ9NSDw"/> + <packagedElement xmi:type="uml:Dependency" xmi:id="_OFsfeuLIEeSv5dwvZ9NSDw" name="Dependency2" client="_OFsfeOLIEeSv5dwvZ9NSDw" supplier="_OFsfduLIEeSv5dwvZ9NSDw"/> + </packagedElement> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_8XIXADyREeehi70ty50hrw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_8XKMMDyREeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#/"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_8XLaUDyREeehi70ty50hrw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_8XMBYDyREeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//activities"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Activities"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_8XNPgDyREeehi70ty50hrw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_8XN2kDyREeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//allocations"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Allocations"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_8XOdoDyREeehi70ty50hrw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_8XOdoTyREeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//blocks"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_8XPEsDyREeehi70ty50hrw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_8XPEsTyREeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//constraintblocks"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ConstraintBlocks"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_8XPrwDyREeehi70ty50hrw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_8XQS0DyREeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//deprecatedelements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_DeprecatedElements"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_8XQS0TyREeehi70ty50hrw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_8XQ54DyREeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//modelelements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ModelElements"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_8XQ54TyREeehi70ty50hrw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_8XRg8DyREeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//portsandflows"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_8XRg8TyREeehi70ty50hrw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_8XSIADyREeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements"/> + </profileApplication> + </uml:Model> + <Requirements:Requirement xmi:id="_IaYIgOgEEeSUQvXhEVQh8w" text="8.2.2 Internal Block Diagram
Table 8.3 - Graphical nodes defined in Internal Block diagrams" id="Req_001.001" base_Class="_IaVsQOgEEeSUQvXhEVQh8w"/> + <Requirements:Requirement xmi:id="_GZ8qwCCMEeWp9rJ2gmw59A" text="The creation of an actor part should be done by a popup with 2 choices : 
 - creation of an Actor
 - selection of an Actor" id="Req_002" base_Class="_GZ8DsCCMEeWp9rJ2gmw59A"/> + <Requirements:Requirement xmi:id="_WPDH4CZCEeWtn6hjmtufug" text="The IBD must have a palette with specific elements" id="Req_001" base_Class="_WPCg0CZCEeWtn6hjmtufug"/> + <Requirements:Requirement xmi:id="_vRU7kFcAEeW35uAYw-w4dQ" text="A reference property is shown by a dashed-outline box, consistent with UML.
" id="Req_003" base_Class="_vRLKkFcAEeW35uAYw-w4dQ"/> + <Requirements:DeriveReqt xmi:id="_SO-KMFcBEeW35uAYw-w4dQ" base_Abstraction="_Q_iioFcBEeW35uAYw-w4dQ"/> + <Requirements:Requirement xmi:id="_bRH9MGEzEeWJB_ZnIjFyvQ" text="InformationItem must be added
see Figure 9.5 – ItemFlow Stereotype p81 of SysML norm
see section 20.1.5 Examples of UML norm" id="Req_001.002" base_Class="_bRGvEGEzEeWJB_ZnIjFyvQ"/> + <Requirements:Requirement xmi:id="_f4aswGLFEeWTdanjqJgfhg" text="Information Flow must be added
see Figure 9.5 - ItemFlow Stereotype p81 of SysML norm" id="Req_001.003" base_Class="_f4TYAGLFEeWTdanjqJgfhg"/> + <Requirements:Requirement xmi:id="_yMSmMH1zEeWj1JisGMPNPg" text="The binding connector must be displayed with "equals" and not binding connector
Binding Connector details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=75" id="Req_004" base_Class="_yIAjIH1zEeWj1JisGMPNPg"/> + <Requirements:DeriveReqt xmi:id="_yMYs0H1zEeWj1JisGMPNPg" base_Abstraction="_yMXesH1zEeWj1JisGMPNPg"/> + <Requirements:Satisfy xmi:id="_0CcSsH13EeWj1JisGMPNPg" base_Abstraction="_0CadgH13EeWj1JisGMPNPg"/> + <Requirements:Satisfy xmi:id="_0CfWAH13EeWj1JisGMPNPg" base_Abstraction="_0CeH4H13EeWj1JisGMPNPg"/> + <Requirements:Satisfy xmi:id="_0ChLMH13EeWj1JisGMPNPg" base_Abstraction="_0Cf9EH13EeWj1JisGMPNPg"/> + <Requirements:Satisfy xmi:id="_0CiZUH13EeWj1JisGMPNPg" base_Abstraction="_0ChyQH13EeWj1JisGMPNPg"/> + <Requirements:Satisfy xmi:id="_ICSFQH14EeWj1JisGMPNPg" base_Abstraction="_ICQ3IH14EeWj1JisGMPNPg"/> +</xmi:XMI>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/resources/icons/obj16/Diagram_InternalBlock.gif b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/resources/icons/obj16/Diagram_InternalBlock.gif similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/resources/icons/obj16/Diagram_InternalBlock.gif rename to diagram/org.eclipse.papyrus.sysml.diagram.internalblock/resources/icons/obj16/Diagram_InternalBlock.gif Binary files differ
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/resources/palette/internalBlockDiagram.paletteconfiguration b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/resources/palette/internalBlockDiagram.paletteconfiguration new file mode 100644 index 0000000..f6e3d8c --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/resources/palette/internalBlockDiagram.paletteconfiguration
@@ -0,0 +1,204 @@ +<?xml version="1.0" encoding="UTF-8"?> +<paletteconfiguration:PaletteConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:paletteconfiguration="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.8" id="org.eclipse.papyrus.sysML.ibd.palette.model" label="SysML IBD Palette"> + <drawerConfigurations id="org.eclipse.papyrus.sysML.ibd.palette.node" label="Blocks" description="Element listed in 8.2.2 Internal Block Diagram"> + <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.ibd.palette.node.ActorPart" label="ActorPart" description="An Actor Part is a property typed by an Actor"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Property.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ActorPart_Property_AttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ActorPart_Property_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.ibd.palette.edge.BindingConnector" label="Binding Connector" description="A Binding Connector is a connector which specifies that the properties at both ends of the connector have equal values." kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Connector.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BindingConnector_Connector_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.ibd.palette.node.BoundReference" label="BoundReference" description="The BoundReference stereotype can be applied to properties that have binding connectors, to highlight their usage as"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Property.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_AttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_ClassAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_ComponentAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_DataTypeAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_Edge"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_InterfaceAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_PrimitiveTypeAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_Shape_CN"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_SignalAttributeLabel"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.ibd.palette.edge.Connector" label="Connector" description="A Connector specifies links that enables communication between two or more instances." kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Connector.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Connector_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.ibd.palette.edge.Dependency" label="Dependency" description="A Dependency is a Relationship that signifies that a single model Element or a set of model Elements requires other model Elements for their specification or implementation." kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Dependency.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Dependency_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.ibd.palette.node.Part" label="Part" description="Create a Part"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Property.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Part_Property_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Part_Property_AttributeLabel"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.ibd.palette.node.PropertySpecificType" label="PropertySpecificType" description="The PropertySpecificType stereotype is automatically applied to the classifier that types a property with a propertyspecific type."> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="icons/full/obj16/PropertySpecificType.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.PropertySpecificType_Class_Shape_CN"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.ibd.palette.node.Reference" label="Reference" description="Create a Reference"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Property.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Reference_Property_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Reference_Property_AttributeLabel"/> + </elementDescriptors> + </ownedConfigurations> + </drawerConfigurations> + <drawerConfigurations id="org.eclipse.papyrus.sysML.ibd.palette.edge" label="Ports and Flow" description="Element listed in 9.2.2 Internal Block Diagram"> + <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.ibd.palette.node.FlowPort" label="FlowPort" description="A FlowPorts is an interaction point through which input and/or output of items such as data, material, or energy may flow. (Deprecated)"> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="icons/full/obj16/FlowPort.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowPort_Port_AttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowPort_Port_ClassAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowPort_Port_ComponentAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowPort_Port_DataTypeAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowPort_Port_Edge"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowPort_Port_InterfaceAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowPort_Port_PrimitiveTypeAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowPort_Port_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowPort_Port_Shape_CN"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowPort_Port_SignalAttributeLabel"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.ibd.palette.node.FullPort" label="Full Port" description="Full ports specify a separate element of the system from the owning block or its internal parts."> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="icons/full/obj16/FullPort.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FullPort_Port_AttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FullPort_Port_ClassAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FullPort_Port_ComponentAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FullPort_Port_DataTypeAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FullPort_Port_Edge"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FullPort_Port_InterfaceAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FullPort_Port_PrimitiveTypeAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FullPort_Port_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FullPort_Port_Shape_CN"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FullPort_Port_SignalAttributeLabel"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.ibd.palette.edge.ItemFlow" label="Item Flow" description="An ItemFlow describes the flow of items across a connector or an association." kind="ConnectionTool"> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="icons/full/obj16/ItemFlow.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ItemFlow_InformationFlow_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.ibd.palette.node.Port" label="Port" description="A Port is a property of an EncapsulatedClassifier that specifies a distinct interaction point between that EncapsulatedClassifier and its environment or between the (behavior of the) EncapsulatedClassifier and its internal parts."> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Port.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.ibd.palette.node.ProxyPort" label="Proxy Port" description="Proxy ports identify features of the owning block or its internal parts that are available to external blocks through external connectors to the ports."> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="icons/full/obj16/ProxyPort.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ProxyPort_Port_AttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ProxyPort_Port_ClassAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ProxyPort_Port_ComponentAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ProxyPort_Port_DataTypeAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ProxyPort_Port_Edge"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ProxyPort_Port_InterfaceAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ProxyPort_Port_PrimitiveTypeAttributeLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ProxyPort_Port_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ProxyPort_Port_Shape_CN"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ProxyPort_Port_SignalAttributeLabel"/> + </elementDescriptors> + </ownedConfigurations> + </drawerConfigurations> +</paletteconfiguration:PaletteConfiguration>
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/resources/style/internalBlockDiagram.css b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/resources/style/internalBlockDiagram.css new file mode 100644 index 0000000..d854a1b --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/resources/style/internalBlockDiagram.css
@@ -0,0 +1,293 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Francois Le Fevre (CEA LIST) francois.le-fevre@cea.fr + *****************************************************************************/ +/* + * SHARED ELEMENTS + */ + +Compartment{ + visible: false; + showTitle: false; +} + +Compartment[kind=structure]{ + showTitle: false; +} + +Package > Compartment[kind="packagedelements"], +Model > Compartment[kind="packagedelements"]{ + visible: true; + showTitle: false; +} + +/* + * @pap.req org.eclipse.papyrus.sysml#REQ_001 + */ +[deprecated=true] { + lineColor: orange; +} + +[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=parameters], +[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=constraints]{ + visible: true; +} + +[appliedStereotypes~="FlowSpecification"]{ + elementIcon:false; + displayIcon:false; +} + +[appliedStereotypes~="FlowSpecification"] > Compartment[kind=flowproperties]{ + visible: true; +} + +[appliedStereotypes~="ValueType"] > Compartment[kind=attributes], +[appliedStereotypes~="ValueType"] > Compartment[kind=operations]{ + visible: true; +} + +/* + * Comment + */ +Class[appliedStereotypes~="Comment"]{ + visible:true; +} + +/* + * Stereotype ElementGroup + */ + +Class[appliedStereotypes~="ElementGroup"] { + visible:true; + showTitle:true; +} + +Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] { + visible:true; + showTitle:false; +} + +Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="name"]{ + visible:true; +} +Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="criterion"]{ + visible:true; +} +Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="size"]{ + visible:true; +} +Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="member"]{ + visible:true; +} + +Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="orderedMember"]{ + visible:true; +} + +/* + * Problem + */ +Class[appliedStereotypes~="Problem"]{ + visible:true; +} + +/* + * Rationale + */ +Class[appliedStereotypes~="Rational"]{ + visible:true; +} + +/* + * Stakeholder + */ +Class[appliedStereotypes~="Stakeholder"] > Compartment[type=StereotypeCompartment] { + visible:true; + showTitle:false; +} + +[appliedStereotypes~="Stakeholder"] > Compartment[kind=attributes], +[appliedStereotypes~="Stakeholder"] > Compartment[kind=operations], +[appliedStereotypes~="Stakeholder"] > Compartment[kind=constraints]{ + visible: true; +} + +Class[appliedStereotypes~="Stakeholder"] > Compartment[type=StereotypeCompartment] > [property="concernList"]{ + visible:true; +} +Class[appliedStereotypes~="Stakeholder"] > Compartment[type=StereotypeCompartment] > [property="concern"]{ + visible:true; +} + +/* + * Stereotype View + */ +Class[appliedStereotypes~="View"] > Compartment[kind=attributes], +Class[appliedStereotypes~="View"] > Compartment[kind=operations]{ + visible:true; + showTitle:false; +} + +Class[appliedStereotypes~="View"] > Compartment[kind="nestedclassifiers"]{ + visible:false; + showTitle:false; +} + +Class[appliedStereotypes~="View"] > Compartment[type=StereotypeCompartment] { + visible:true; + showTitle:true; +} + +Class[appliedStereotypes~="View"] > Compartment[type=StereotypeCompartment] > [property="stakeholder"]{ + visible:true; +} + +Class[appliedStereotypes~="View"] > Compartment[type=StereotypeCompartment] > [property="viewpoint"]{ + visible:true; +} + +/* + * Stereotype Viewpoint + */ +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] { + visible:true; + showTitle:false; +} + +[appliedStereotypes~="Viewpoint"] > Compartment[kind=attributes], +[appliedStereotypes~="Viewpoint"] > Compartment[kind=operations]{ + visible:true; +} + +[appliedStereotypes~="Viewpoint"] > Compartment[kind="internal structure"], +[appliedStereotypes~="Viewpoint"] > Compartment[kind="symbol"] +{ + visible:false; +} + +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="stakeholder"]{ + visible:true; +} + +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="purpose"]{ + visible:true; +} + +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="concernList"]{ + visible:true; +} + +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="language"]{ + visible:true; +} +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="method"]{ + visible:true; +} + +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="presentation"]{ + visible:true; +} +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="concern"]{ + visible:true; +} + +/* + * SPECIFIC ELEMENTS + */ + +Port > Compartment[kind="symbol"]{ + visible: true; +} + + +InternalBlockDiagram Compartment{ + visible: false; + showTitle: true; +} + + + +Port[appliedStereotypes~="FlowPort"][isAtomic=true][direction=in] { + svgFile: "platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_IN/position.svg"; +} + +Port[appliedStereotypes~="FlowPort"][isAtomic=true][direction=out] { + svgFile: "platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_OUT/position.svg"; +} + +Port[appliedStereotypes~="FlowPort"][isAtomic=true][direction=inout] { + svgFile: "platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_INOUT/position.svg"; +} + +Port[appliedStereotypes~="FlowPort"][isAtomic=false] { + svgFile: "platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_NA/position.svg"; +} + +InternalBlockDiagram [appliedStereotypes~="Block"] > Compartment[kind=structure], +InternalBlockDiagram Property > Compartment[kind=structure]{ + visible: true; +} + +/* + * Stereotype Block + */ +Class[appliedStereotypes~="Block"] > Compartment[kind=internalstructure]{ + visible: true; + showTitle:false; +} + +/* + * A property typed by a Block that does not have composite aggregation is classified as a reference property. + * A reference property is shown by a dashed-outline box, consistent with UML. + * They are shown with dashed rectangles because they are reference properties. + */ +Property[isReference=true] { + borderStyle:dash; /*dashDot; dashDotDot; dot; */ + lineWidth:2; +} + + +/* + * Stereotype Requirement + */ +Class[appliedStereotypes~="Requirement"] > Compartment[kind=nestedclassifiers]{ + visible:false; + showTitle:false; +} + +Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] { + visible:true; + showTitle:false; +} + +Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="derived"],[property="derivedFrom"],[property="satisfiedBy"],[property="refinedBy"],[property="tracedTo"],[property="verifiedBy"],[property="master"]{ + visible:false; +} + +Class[appliedStereotypes~="Requirement"] > Compartment[kind="operations"] { + visible:false; +} + +/* + * No use to show multiplicities, stereotypeLabel <<BindingConnector>> and connector name for bindingConnectors in parametric diagram + */ +Connector > Label:targetMultiplicity { + visible:false; +} +Connector > Label:sourceMultiplicity { + visible:false; +} +Connector > Label:name { + visible:false; +} +Connector > Label:stereotype { + visible:false; +} \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/src/org/eclipse/papyrus/sysml/diagram/internalblock/Activator.java b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/src/org/eclipse/papyrus/sysml/diagram/internalblock/Activator.java new file mode 100644 index 0000000..5a57cb4 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/src/org/eclipse/papyrus/sysml/diagram/internalblock/Activator.java
@@ -0,0 +1,36 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.internalblock; + +import org.eclipse.jface.resource.ImageDescriptor; +import org.eclipse.ui.plugin.AbstractUIPlugin; + +/** + * 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.sysml.diagram.internalblock"; //$NON-NLS-1$ + + /** + * Returns an image descriptor for the image file at the given + * plug-in relative path + * + * @param path the path + * @return the image descriptor + */ + public static ImageDescriptor getImageDescriptor(String path) { + return imageDescriptorFromPlugin(PLUGIN_ID, path); + } +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/src/org/eclipse/papyrus/sysml/diagram/internalblock/internal/factory/BlockCompositeViewFactory.java b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/src/org/eclipse/papyrus/sysml/diagram/internalblock/internal/factory/BlockCompositeViewFactory.java new file mode 100644 index 0000000..b90d05c --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/src/org/eclipse/papyrus/sysml/diagram/internalblock/internal/factory/BlockCompositeViewFactory.java
@@ -0,0 +1,60 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.internalblock.internal.factory; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint; +import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil; +import org.eclipse.gmf.runtime.notation.Location; +import org.eclipse.gmf.runtime.notation.Node; +import org.eclipse.gmf.runtime.notation.NotationFactory; +import org.eclipse.gmf.runtime.notation.Shape; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.jface.preference.IPreferenceStore; +import org.eclipse.papyrus.sysml.diagram.common.internal.factory.AbstractBasicViewFactory; +import org.eclipse.papyrus.uml.diagram.common.helper.PreferenceInitializerForElementHelper; +import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ClassCompositeCompartmentEditPart; +import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ClassCompositeEditPart; +import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ClassCompositeFloatingLabelEditPart; +import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ClassCompositeNameEditPart; +import org.eclipse.papyrus.uml.diagram.composite.part.UMLVisualIDRegistry; + +/** + * + * extraction from classdiagram UML view Provider + * + */ +public class BlockCompositeViewFactory extends AbstractBasicViewFactory { + + @Override + public Node createElementView(EObject domainElement, View containerView, String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint) { + Shape node = NotationFactory.eINSTANCE.createShape(); + node.setLayoutConstraint(NotationFactory.eINSTANCE.createBounds()); + node.setType(UMLVisualIDRegistry.getType(ClassCompositeEditPart.VISUAL_ID)); + ViewUtil.insertChildView(containerView, node, index, persisted); + node.setElement(domainElement); + // initializeFromPreferences + final IPreferenceStore prefStore = (IPreferenceStore)preferencesHint.getPreferenceStore(); + PreferenceInitializerForElementHelper.initFontStyleFromPrefs(node, prefStore, "Class"); + createLabel(node, UMLVisualIDRegistry.getType(ClassCompositeNameEditPart.VISUAL_ID)); + Node label6089 = createLabel(node, UMLVisualIDRegistry.getType(ClassCompositeFloatingLabelEditPart.VISUAL_ID)); + label6089.setLayoutConstraint(NotationFactory.eINSTANCE.createLocation()); + Location location6089 = (Location)label6089.getLayoutConstraint(); + location6089.setX(0); + location6089.setY(5); + createCompartment(node, UMLVisualIDRegistry.getType(ClassCompositeCompartmentEditPart.VISUAL_ID), true, true, false, false); + PreferenceInitializerForElementHelper.initCompartmentsStatusFromPrefs(node, prefStore, "Class"); + return node; + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/.classpath b/diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/.classpath similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/.classpath rename to diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/.classpath
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/.project b/diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/.project new file mode 100644 index 0000000..ac97ada --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/.project
@@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.diagram.parametric.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> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/.settings/org.eclipse.core.resources.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/.settings/org.eclipse.core.resources.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/.settings/org.eclipse.core.resources.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/.settings/org.eclipse.jdt.core.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/.settings/org.eclipse.jdt.core.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/.settings/org.eclipse.jdt.core.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/.settings/org.eclipse.jdt.ui.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/.settings/org.eclipse.jdt.ui.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/.settings/org.eclipse.jdt.ui.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/.settings/org.eclipse.jdt.ui.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/.settings/org.eclipse.m2e.core.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/.settings/org.eclipse.m2e.core.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/.settings/org.eclipse.m2e.core.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/META-INF/MANIFEST.MF b/diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/META-INF/MANIFEST.MF new file mode 100644 index 0000000..46289f2 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/META-INF/MANIFEST.MF
@@ -0,0 +1,16 @@ +Manifest-Version: 1.0 +Bundle-Vendor: %Bundle-Vendor +Bundle-Version: 4.0.0.qualifier +Bundle-Name: %Bundle-Name +Bundle-Localization: plugin +Bundle-ManifestVersion: 2 +Fragment-Host: org.eclipse.papyrus.sysml.diagram.parametric;bundle-version="1.0.0" +Bundle-SymbolicName: org.eclipse.papyrus.sysml.diagram.parametric.tests +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Require-Bundle: org.junit;bundle-version="[4.11.0,5.0.0)", + org.eclipse.papyrus.uml.diagram.clazz;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.composite;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.interactionoverview;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.profile;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.statemachine;bundle-version="[3.0.0,4.0.0)" +
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/about.html b/diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/about.html similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/about.html rename to diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/about.html
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/build.properties b/diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/build.properties similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/build.properties rename to diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/build.properties
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/plugin.properties b/diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/plugin.properties new file mode 100644 index 0000000..e42fd12 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/plugin.properties
@@ -0,0 +1,14 @@ +################################################################################# +# Copyright (c) 2015 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: +# +# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation +# +################################################################################## +Bundle-Name=Papyrus SysML 1.5 Parametric Diagram Tests +Bundle-Vendor=Eclipse Modeling Project
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/pom.xml b/diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/pom.xml new file mode 100644 index 0000000..d15697f --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/pom.xml
@@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" + xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.papyrus.sysml</groupId> + <artifactId>org.eclipse.papyrus.sysml.diagram</artifactId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.diagram.parametric.tests</artifactId> + <packaging>eclipse-test-plugin</packaging> + <description>This plug-in contains the unit tests relatives to parametric diagram.</description> +</project>
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/src/org/eclipse/papyrus/sysml/diagram/parametric/tests/resources/ModelValidationTest.java b/diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/src/org/eclipse/papyrus/sysml/diagram/parametric/tests/resources/ModelValidationTest.java new file mode 100644 index 0000000..c9bd4ef --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric.tests/src/org/eclipse/papyrus/sysml/diagram/parametric/tests/resources/ModelValidationTest.java
@@ -0,0 +1,87 @@ +/***************************************************************************** + * Copyright (c) 2017 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.diagram.parametric.tests.resources; + +import java.util.Arrays; +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.ecore.util.Diagnostician; +import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; +import org.eclipse.papyrus.sysml.diagram.parametric.Activator; +import org.junit.Assert; +import org.junit.BeforeClass; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.Parameterized; +import org.junit.runners.Parameterized.Parameters; + +/** + * This is a parameterized test to validate all model in the plugin + * + */ +@SuppressWarnings("nls") +@RunWith(Parameterized.class) +public class ModelValidationTest { + + @Parameters + public static Collection<Object[]> data() { + return Arrays.asList(new Object[][] { + //FIXME should be valid{"/resources/style/parametricDiagram.css"}, + {"/resources/configuration/ParametricDiagramConfig.expansionmodel"}, + //FIXME should be valid {"/resources/doc/org.eclipse.papyrus.sysml.diagram.parametric.uml"}, + //TODO: code a utility migration script {"/resources/doc/org.eclipse.papyrus.sysml.diagram.parametric.notation"}, + {"/resources/Parametric.paletteconfiguration"}, + }); + } + + private String modelPath; + + public ModelValidationTest(String modelPath) { + this.modelPath = modelPath; + } + + @BeforeClass + public static void loadSysMLDefinition() { + ElementTypeSetConfigurationRegistry.getInstance(); + } + + /** + * Validate the model with the rules defined in the meta-model tooling + */ + @Test + public void validateModel() { + String fullPath = Activator.PLUGIN_ID + this.modelPath; + URI modelPlatformURI = URI.createPlatformPluginURI(fullPath, true); + Resource resource = new ResourceSetImpl().getResource(modelPlatformURI, true); + Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); + Assert.assertEquals("The "+modelPath+" model is invalid "+print(diagnostic), Diagnostic.OK, diagnostic.getSeverity()); + } + + // FIXME : Something should exist in API to do that + private String print(Diagnostic diagnostic) { + List<Diagnostic> children = diagnostic.getChildren(); + StringBuilder stringBuilder = new StringBuilder(diagnostic.getMessage()); + for (Diagnostic diagnosticChildren : children) { + stringBuilder.append("\n"); //$NON-NLS-1$ + stringBuilder.append(diagnosticChildren.getMessage()); + } + return stringBuilder.toString(); + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/.classpath b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/.classpath similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.parametric/.classpath rename to diagram/org.eclipse.papyrus.sysml.diagram.parametric/.classpath
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric/.project b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/.project new file mode 100644 index 0000000..60262e3 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/.project
@@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.diagram.parametric</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> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/.settings/org.eclipse.core.resources.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.parametric/.settings/org.eclipse.core.resources.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.parametric/.settings/org.eclipse.core.resources.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/.settings/org.eclipse.jdt.core.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.parametric/.settings/org.eclipse.jdt.core.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.parametric/.settings/org.eclipse.jdt.core.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/.settings/org.eclipse.jdt.ui.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/.settings/org.eclipse.jdt.ui.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.parametric/.settings/org.eclipse.jdt.ui.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.parametric/.settings/org.eclipse.jdt.ui.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/.settings/org.eclipse.m2e.core.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.parametric/.settings/org.eclipse.m2e.core.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.parametric/.settings/org.eclipse.m2e.core.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric/META-INF/MANIFEST.MF b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/META-INF/MANIFEST.MF new file mode 100644 index 0000000..0e8d696 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/META-INF/MANIFEST.MF
@@ -0,0 +1,32 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name +Bundle-Localization: plugin +Bundle-SymbolicName: org.eclipse.papyrus.sysml.diagram.parametric;singleton:=true +Bundle-Version: 4.0.0.qualifier +Bundle-Activator: org.eclipse.papyrus.sysml.diagram.parametric.Activator +Bundle-Vendor: %Bundle-Vendor +Require-Bundle: org.eclipse.ui;bundle-version="[3.107.0,4.0.0)", + org.eclipse.core.runtime;bundle-version="[3.11.1,4.0.0)", + org.eclipse.uml2.uml;bundle-version="[5.1.0,6.0.0)", + org.eclipse.gmf.runtime.diagram.core;bundle-version="[1.7.0,2.0.0)", + org.eclipse.papyrus.infra.viewpoints.policy;bundle-version="[2.0.0,3.0.0)", + org.eclipse.papyrus.infra.emf;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.types.core;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.common;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.composite;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.service.types;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.gmfdiag.dnd;bundle-version="[1.1.0,2.0.0)", + org.eclipse.papyrus.infra.core;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.sysml.diagram.common;bundle-version="4.0.0", + org.eclipse.papyrus.sysml.service.types;bundle-version="1.0.0" +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Bundle-ActivationPolicy: lazy +Export-Package: org.eclipse.papyrus.sysml.diagram.parametric, + org.eclipse.papyrus.sysml.diagram.parametric.command, + org.eclipse.papyrus.sysml.diagram.parametric.dnd, + org.eclipse.papyrus.sysml.diagram.parametric.edit.part, + org.eclipse.papyrus.sysml.diagram.parametric.internal.factory, + org.eclipse.papyrus.sysml.diagram.parametric.locator, + org.eclipse.papyrus.sysml.diagram.parametric.provider
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/about.html b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/about.html similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.parametric/about.html rename to diagram/org.eclipse.papyrus.sysml.diagram.parametric/about.html
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/build.properties b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/build.properties similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.parametric/build.properties rename to diagram/org.eclipse.papyrus.sysml.diagram.parametric/build.properties
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric/plugin.properties b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/plugin.properties new file mode 100644 index 0000000..310ad2a --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/plugin.properties
@@ -0,0 +1,15 @@ +################################################################################# +# Copyright (c) 2015 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: +# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation +################################################################################## +Bundle-Name= Papyrus SysML 1.5 Parametric Diagram +Bundle-Description=This plug-in contains the parametric diagram of SysML 1.5 +Bundle-Vendor=Eclipse Modeling Project + +
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric/plugin.xml b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/plugin.xml new file mode 100644 index 0000000..af3b263 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/plugin.xml
@@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.4"?> +<!-- + Copyright (c) 2015 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: + Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation +--> + +<plugin> + + <!-- Expansion --> + <extension + point="org.eclipse.papyrus.infra.gmfdiag.common.diagramExpansion"> + <diagramexpansion + model="resources/configuration/ParametricDiagramConfig.expansionmodel"> + </diagramexpansion> + </extension> + <!-- Parser provider declaration --> +<extension point="org.eclipse.gmf.runtime.common.ui.services.parserProviders"> + <ParserProvider class="org.eclipse.papyrus.sysml.diagram.parametric.provider.ParserProvider"> + <Priority name="Low"/> + </ParserProvider> +</extension> +<extension point="org.eclipse.papyrus.infra.gmfdiag.dnd.dropStrategy"> + <strategy strategy="org.eclipse.papyrus.sysml.diagram.parametric.dnd.ParameterDropStrategy"></strategy> + <strategy strategy="org.eclipse.papyrus.sysml.diagram.parametric.dnd.ConstraintDropStrategy"></strategy> + <strategy strategy="org.eclipse.papyrus.sysml.diagram.parametric.dnd.ConstraintPropertyDropStrategy"></strategy> + <strategy strategy="org.eclipse.papyrus.sysml.diagram.parametric.dnd.ConstraintBlockDropStrategy"></strategy> +</extension> + +</plugin>
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric/pom.xml b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/pom.xml new file mode 100644 index 0000000..fe3cab4 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/pom.xml
@@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.papyrus.sysml</groupId> + <artifactId>org.eclipse.papyrus.sysml.diagram</artifactId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.diagram.parametric</artifactId> + <packaging>eclipse-plugin</packaging> + <name>org.eclipse.papyrus.sysml.diagram.parametric</name> + <description>This plugin is in charge of defining the SysML Parametric Diagram using the following frameworks: viewpoint, expansion model, palette and css.</description> +</project> \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric/resources/Parametric.paletteconfiguration b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/resources/Parametric.paletteconfiguration new file mode 100644 index 0000000..f9ef5a9 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/resources/Parametric.paletteconfiguration
@@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="ASCII"?> +<paletteconfiguration:PaletteConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:paletteconfiguration="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.8" id="org.eclipse.papyrus.sysML.par.palette.model" label="SysML PAR Palette"> + <drawerConfigurations id="org.eclipse.papyrus.sysML.par.palette" label="Constraints" description="Element listed in 10.2.2 Parametric Diagram"> + <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.par.palette.node.ConstraintProperty" label="ConstraintProperty" description="A constraint property is a property of any block that is typed by a constraint block."> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Property.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConstraintPropertyComposite"/> + </elementDescriptors> + </ownedConfigurations> + </drawerConfigurations> +</paletteconfiguration:PaletteConfiguration>
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric/resources/configuration/ParametricDiagramConfig.expansionmodel b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/resources/configuration/ParametricDiagramConfig.expansionmodel new file mode 100644 index 0000000..c977251 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/resources/configuration/ParametricDiagramConfig.expansionmodel
@@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<expansionmodel:DiagramExpansion xmlns:expansionmodel="http:///expansionmodel.ecore" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="SysML 1.5 Parametric" xmi:id="org.eclipse.papyrus.sysml.parametric.expansionmodel" xmi:version="2.0"> + <usages diagramType="SysML 1.5 Parametric Diagram" name="SysML 1.5 Parametric Context" representations="_mUSiYILiEeW6xruev4cRfQ" xmi:id="_rC19oNnoEeSqwOe5_frWm1"> + <gmftRepresentations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.composite.edit.parts.ClassCompositeEditPart" inducedRepresentations="_U9-hYILjEeW6xruev4cRfQ _ZMHeQPRlEeakH_jG3IBwLw" name="Block based on Class representation of composite diagram" reusedID="Class_Shape" subRepresentations="_Zs7FQPRlEeakH_jG3IBwLw" viewFactory="org.eclipse.papyrus.sysml.diagram.parametric.internal.factory.BlockCompositeViewFactory" xmi:id="_mUSiYILiEeW6xruev4cRfQ"/> + </usages> + <libraries name="Overload existing compartment of the composite diagram" xmi:id="_T4rGMILjEeW6xruev4cRfQ"> + <representations children="_CKVjwIMFEeW6xruev4cRfQ" hint="Class_StructureCompartment" name="Reuse compartment of internal structure of the Composite class" xmi:id="_U9-hYILjEeW6xruev4cRfQ" xsi:type="expansionmodel:InducedRepresentation"> + <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_1uXq8N0DEeS-X4lB2Ut-YA"/> + </representations> + </libraries> + <libraries name="Sub representations" xmi:id="_9nQaIIMEEeW6xruev4cRfQ"> + <representations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.composite.edit.parts.PropertyPartEditPartCN" inducedRepresentations="_-La5QIPXEeWhLaOZG6fRyw" name="ConstraintBlockProperty" subRepresentations="_meiusIOfEeWhLaOZG6fRyw" viewFactory="org.eclipse.papyrus.sysml.diagram.parametric.internal.factory.ConstraintPropertyViewFactory" xmi:id="_CKVjwIMFEeW6xruev4cRfQ" xsi:type="expansionmodel:Representation"> + <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConstraintPropertyComposite" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> + </representations> + <representations editPartQualifiedName="org.eclipse.papyrus.sysml.diagram.parametric.edit.part.ParameterBorderItermEditPart" inducedRepresentations="_uamt4IPBEeWhLaOZG6fRyw" name="Border item that represents PropertyValue of SysML" viewFactory="org.eclipse.papyrus.sysml.diagram.parametric.internal.factory.BorderItemViewFactory" xmi:id="_meiusIOfEeWhLaOZG6fRyw" xsi:type="expansionmodel:Representation"> + <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_EoAOIN0DEeSiOexlyH3Ifw"/> + <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Parameter_BorderItem" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> + </representations> + <representations editPartQualifiedName="org.eclipse.papyrus.sysml.diagram.common.edit.parts.LabelInListEditpart" name="Constraint As Label" viewFactory="org.eclipse.gmf.runtime.diagram.ui.view.factories.optimal.ShapeViewFactory" xmi:id="_CvOcoFVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:Representation"> + <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Constraint_Label" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> + </representations> + <representations children="_Zs7FQPRlEeakH_jG3IBwLw" description="Add border item children in Class_Shape" hint="Class_Shape" name="BorderItemClassShapeInducedRepresentation" xmi:id="_ZMHeQPRlEeakH_jG3IBwLw" xsi:type="expansionmodel:InducedRepresentation"> + <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_EoAOIN0DEeSiOexlyH3Ifw"/> + </representations> + <representations description="Border item that represents PropertyValue of SysML on Class_Shape" editPartQualifiedName="org.eclipse.papyrus.sysml.diagram.parametric.edit.part.ParameterBorderItermEditPart" inducedRepresentations="_uamt4IPBEeWhLaOZG6fRyw" name="BorderItemClassShapeRepresentation" viewFactory="org.eclipse.papyrus.sysml.diagram.parametric.internal.factory.BorderItemViewFactory" xmi:id="_Zs7FQPRlEeakH_jG3IBwLw" xsi:type="expansionmodel:Representation"> + <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_EoAOIN0DEeSiOexlyH3Ifw"/> + <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Parameter_BorderItemClassShape" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> + </representations> + </libraries> + <libraries name="inducedRepresentation" xmi:id="_sYz1QIPBEeWhLaOZG6fRyw"> + <representations editPartQualifiedName="org.eclipse.papyrus.sysml.diagram.parametric.edit.part.ParameterBorderItemNameEditPart" hint="ParameterLabel" name="a parameterLabel" xmi:id="_uamt4IPBEeWhLaOZG6fRyw" xsi:type="expansionmodel:InducedRepresentation"> + <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_dG-hoN0HEeSfTfTnKh2G1Q"/> + </representations> + <representations children="_CvOcoFVqEeW77p7V_ZuW3Q" hint="constraints" name="Compartment constraint" xmi:id="_-La5QIPXEeWhLaOZG6fRyw" xsi:type="expansionmodel:InducedRepresentation"> + <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_vbTKYN0DEeS-X4lB2Ut-YA"/> + </representations> + </libraries> +</expansionmodel:DiagramExpansion>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/resources/doc/org.eclipse.papyrus.sysml14.diagram.parametric.di b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/resources/doc/org.eclipse.papyrus.sysml.diagram.parametric.di similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.parametric/resources/doc/org.eclipse.papyrus.sysml14.diagram.parametric.di rename to diagram/org.eclipse.papyrus.sysml.diagram.parametric/resources/doc/org.eclipse.papyrus.sysml.diagram.parametric.di
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric/resources/doc/org.eclipse.papyrus.sysml.diagram.parametric.notation b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/resources/doc/org.eclipse.papyrus.sysml.diagram.parametric.notation new file mode 100644 index 0000000..4f57294 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/resources/doc/org.eclipse.papyrus.sysml.diagram.parametric.notation
@@ -0,0 +1,188 @@ +<?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:configuration="http://www.eclipse.org/papyrus/infra/viewpoints/configuration" xmlns:css="http://www.eclipse.org/papyrus/infra/gmfdiag/css" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"> + <notation:Diagram xmi:id="_OF23gOLIEeSv5dwvZ9NSDw" type="PapyrusUMLClassDiagram" name="Overview" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_OF3ekOLIEeSv5dwvZ9NSDw" type="2005"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3ekeLIEeSv5dwvZ9NSDw" type="5020"/> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3ekuLIEeSv5dwvZ9NSDw" type="7009"> + <styles xmi:type="notation:TitleStyle" xmi:id="_OF3ek-LIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3elOLIEeSv5dwvZ9NSDw"/> + </children> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.parametric.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eleLIEeSv5dwvZ9NSDw" x="201" y="38"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_OF3eluLIEeSv5dwvZ9NSDw" type="2005"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3el-LIEeSv5dwvZ9NSDw" type="5020"/> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3emOLIEeSv5dwvZ9NSDw" type="7009"> + <styles xmi:type="notation:TitleStyle" xmi:id="_OF3emeLIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3emuLIEeSv5dwvZ9NSDw"/> + </children> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.parametric.uml#_OFsfc-LIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3em-LIEeSv5dwvZ9NSDw" x="204" y="173"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_OF3enOLIEeSv5dwvZ9NSDw" type="2005"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3eneLIEeSv5dwvZ9NSDw" type="5020"/> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3enuLIEeSv5dwvZ9NSDw" type="7009"> + <styles xmi:type="notation:TitleStyle" xmi:id="_OF3en-LIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eoOLIEeSv5dwvZ9NSDw"/> + </children> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.parametric.uml#_OFsfduLIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eoeLIEeSv5dwvZ9NSDw" x="206" y="329"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_OF3eouLIEeSv5dwvZ9NSDw" type="2005"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3eo-LIEeSv5dwvZ9NSDw" type="5020"/> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3epOLIEeSv5dwvZ9NSDw" type="7009"> + <styles xmi:type="notation:TitleStyle" xmi:id="_OF3epeLIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3epuLIEeSv5dwvZ9NSDw"/> + </children> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.parametric.uml#_OFsfeOLIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3ep-LIEeSv5dwvZ9NSDw" x="635" y="324"/> + </children> + <styles xmi:type="notation:DiagramStyle" xmi:id="_OF3eqOLIEeSv5dwvZ9NSDw"/> + <styles xmi:type="style:PapyrusViewStyle" xmi:id="_OF3eqeLIEeSv5dwvZ9NSDw"> + <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.parametric.uml#_OFsfcOLIEeSv5dwvZ9NSDw"/> + <configuration xmi:type="configuration:PapyrusDiagram" href="platform:/plugin/org.eclipse.papyrus.infra.viewpoints.policy/builtin/default.configuration#_7wLmpNxhEeOqHvRyiN87hA"/> + </styles> + <styles xmi:type="notation:StringValueStyle" xmi:id="_ffusMFCLEeWVDv-g61eepg" name="diagram_compatibility_version" stringValue="1.1.0"/> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.parametric.uml#_OFsfcOLIEeSv5dwvZ9NSDw"/> + </notation:Diagram> + <css:ModelStyleSheets xmi:id="_MXBlUOc1EeSLdPGe2q9R0g"/> + <notation:Diagram xmi:id="_uc4A8FCLEeWVDv-g61eepg" type="PapyrusUMLClassDiagram" name="Requirement Tracability" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_vbHx4FCLEeWVDv-g61eepg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_vbHx4VCLEeWVDv-g61eepg" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_vbIY8FCLEeWVDv-g61eepg" name="BASE_ELEMENT"/> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vbHx4lCLEeWVDv-g61eepg" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="__C9CY1CLEeWVDv-g61eepg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="__C9CZFCLEeWVDv-g61eepg" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="__C9CZlCLEeWVDv-g61eepg" name="BASE_ELEMENT"/> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="__C9CZVCLEeWVDv-g61eepg" x="481" y="260"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_Ld9zoFcFEeW35uAYw-w4dQ" type="2008"> + <children xmi:type="notation:DecorationNode" xmi:id="_Ld9zolcFEeW35uAYw-w4dQ" type="5029"/> + <children xmi:type="notation:DecorationNode" xmi:id="_Ld9zo1cFEeW35uAYw-w4dQ" type="8510"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_Ld9zpFcFEeW35uAYw-w4dQ" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_Ld9zpVcFEeW35uAYw-w4dQ" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_Ld9zplcFEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_Ld9zp1cFEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_Ld9zqFcFEeW35uAYw-w4dQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ld9zqVcFEeW35uAYw-w4dQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_Ld9zqlcFEeW35uAYw-w4dQ" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_Ld9zq1cFEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_Ld9zrFcFEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_Ld9zrVcFEeW35uAYw-w4dQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ld9zrlcFEeW35uAYw-w4dQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_Ld9zr1cFEeW35uAYw-w4dQ" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_Ld9zsFcFEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_Ld9zsVcFEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_Ld9zslcFEeW35uAYw-w4dQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ld9zs1cFEeW35uAYw-w4dQ"/> + </children> + <element xmi:type="uml:Class" href="platform:/resource/org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml/doc/omg.sysml.uml#_66Puizq8EeW79ofuztDyTA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ld9zoVcFEeW35uAYw-w4dQ" x="160" y="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_LeO5Y1cFEeW35uAYw-w4dQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_LeO5ZFcFEeW35uAYw-w4dQ" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_LeO5ZlcFEeW35uAYw-w4dQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="platform:/resource/org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml/doc/omg.sysml.uml#_66Puizq8EeW79ofuztDyTA"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LeO5ZVcFEeW35uAYw-w4dQ" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_MdYpQFcFEeW35uAYw-w4dQ" type="2008"> + <children xmi:type="notation:DecorationNode" xmi:id="_MdYpQlcFEeW35uAYw-w4dQ" type="5029"/> + <children xmi:type="notation:DecorationNode" xmi:id="_MdYpQ1cFEeW35uAYw-w4dQ" type="8510"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_MdYpRFcFEeW35uAYw-w4dQ" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_MdZQUFcFEeW35uAYw-w4dQ" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_MdZQUVcFEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_MdZQUlcFEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_MdZQU1cFEeW35uAYw-w4dQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MdZQVFcFEeW35uAYw-w4dQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_MdZQVVcFEeW35uAYw-w4dQ" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_MdZQVlcFEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_MdZQV1cFEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_MdZQWFcFEeW35uAYw-w4dQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MdZQWVcFEeW35uAYw-w4dQ"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_MdZQWlcFEeW35uAYw-w4dQ" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_MdZQW1cFEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_MdZQXFcFEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_MdZQXVcFEeW35uAYw-w4dQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MdZQXlcFEeW35uAYw-w4dQ"/> + </children> + <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.diagram.parametric.uml#_7muOIFcEEeW35uAYw-w4dQ"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MdYpQVcFEeW35uAYw-w4dQ" x="120" y="240"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_MdfW8FcFEeW35uAYw-w4dQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_MdfW8VcFEeW35uAYw-w4dQ" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_MdfW81cFEeW35uAYw-w4dQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.diagram.parametric.uml#_7muOIFcEEeW35uAYw-w4dQ"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MdfW8lcFEeW35uAYw-w4dQ" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_f8lz8FcFEeW35uAYw-w4dQ" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_f8lz8VcFEeW35uAYw-w4dQ" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_f8lz81cFEeW35uAYw-w4dQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.diagram.parametric.uml#_fDPxIFcFEeW35uAYw-w4dQ"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_f8lz8lcFEeW35uAYw-w4dQ" x="320" y="140"/> + </children> + <styles xmi:type="notation:StringValueStyle" xmi:id="_uc4A8VCLEeWVDv-g61eepg" name="diagram_compatibility_version" stringValue="1.1.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_uc4A8lCLEeWVDv-g61eepg"/> + <styles xmi:type="style:PapyrusViewStyle" xmi:id="_uc4A81CLEeWVDv-g61eepg"> + <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.parametric.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> + </styles> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.parametric.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> + <edges xmi:type="notation:Connector" xmi:id="_LePgcFcFEeW35uAYw-w4dQ" type="StereotypeCommentLink" source="_Ld9zoFcFEeW35uAYw-w4dQ" target="_LeO5Y1cFEeW35uAYw-w4dQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_LePgcVcFEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_LePgdVcFEeW35uAYw-w4dQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="platform:/resource/org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml/doc/omg.sysml.uml#_66Puizq8EeW79ofuztDyTA"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_LePgclcFEeW35uAYw-w4dQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_LePgc1cFEeW35uAYw-w4dQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_LePgdFcFEeW35uAYw-w4dQ"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_MdfW9FcFEeW35uAYw-w4dQ" type="StereotypeCommentLink" source="_MdYpQFcFEeW35uAYw-w4dQ" target="_MdfW8FcFEeW35uAYw-w4dQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_MdfW9VcFEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_MdfW-VcFEeW35uAYw-w4dQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml.diagram.parametric.uml#_7muOIFcEEeW35uAYw-w4dQ"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_MdfW9lcFEeW35uAYw-w4dQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_MdfW91cFEeW35uAYw-w4dQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_MdfW-FcFEeW35uAYw-w4dQ"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_fDXs8FcFEeW35uAYw-w4dQ" type="4006" source="_MdYpQFcFEeW35uAYw-w4dQ" target="_Ld9zoFcFEeW35uAYw-w4dQ"> + <children xmi:type="notation:DecorationNode" xmi:id="_fDXs81cFEeW35uAYw-w4dQ" type="6014"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_fDXs9FcFEeW35uAYw-w4dQ" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_fDXs9VcFEeW35uAYw-w4dQ" type="6015"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_fDXs9lcFEeW35uAYw-w4dQ" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_fDXs8VcFEeW35uAYw-w4dQ"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.diagram.parametric.uml#_fDPxIFcFEeW35uAYw-w4dQ"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_fDXs8lcFEeW35uAYw-w4dQ" points="[-23, -34, 141, 214]$[-155, -254, 9, -6]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_fDuSQFcFEeW35uAYw-w4dQ" id="(0.5068807339449541,0.0)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_fDu5UFcFEeW35uAYw-w4dQ" id="(0.5047318611987381,1.0)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_f8lz9FcFEeW35uAYw-w4dQ" type="StereotypeCommentLink" source="_fDXs8FcFEeW35uAYw-w4dQ" target="_f8lz8FcFEeW35uAYw-w4dQ"> + <styles xmi:type="notation:FontStyle" xmi:id="_f8lz9VcFEeW35uAYw-w4dQ"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_f8lz-VcFEeW35uAYw-w4dQ" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.diagram.parametric.uml#_fDPxIFcFEeW35uAYw-w4dQ"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_f8lz9lcFEeW35uAYw-w4dQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_f8lz91cFEeW35uAYw-w4dQ"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_f8lz-FcFEeW35uAYw-w4dQ"/> + </edges> + </notation:Diagram> +</xmi:XMI>
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric/resources/doc/org.eclipse.papyrus.sysml.diagram.parametric.uml b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/resources/doc/org.eclipse.papyrus.sysml.diagram.parametric.uml new file mode 100644 index 0000000..0c27304 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/resources/doc/org.eclipse.papyrus.sysml.diagram.parametric.uml
@@ -0,0 +1,86 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Requirements="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements http://www.eclipse.org/papyrus/sysml/1.4/SysML"> + <uml:Model xmi:id="_OFsfcOLIEeSv5dwvZ9NSDw" name="org.eclipse.papyrus.sysml.diagram.parametric"> + <packageImport xmi:type="uml:PackageImport" xmi:id="_OFsfceLIEeSv5dwvZ9NSDw"> + <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/> + </packageImport> + <packagedElement xmi:type="uml:Model" xmi:id="_OFsfcuLIEeSv5dwvZ9NSDw" name="Requirements"> + <ownedComment xmi:type="uml:Comment" xmi:id="_dICO8Oc2EeSLdPGe2q9R0g"> + <body>This package will contains all graphical requirements for Sysml elements contained in the Parametric diagram</body> + </ownedComment> + <packagedElement xmi:type="uml:Class" xmi:id="_TEBTICY-EeWtn6hjmtufug" name="Elements in the Parametric palette"/> + <packagedElement xmi:type="uml:Class" xmi:id="_7muOIFcEEeW35uAYw-w4dQ" name="REQ_001: Round-cornered rectangle notation for constraint property
"/> + <packagedElement xmi:type="uml:Class" xmi:id="_bTtxcHmNEeW3Oe7H2lzIHQ" name="REQ_003 Port in Par palette"/> + <packagedElement xmi:type="uml:Class" xmi:id="_2AmncHlkEeWbcoRwJ0bATQ" name="REQ_002: InformationItem in Par palette"/> + <packagedElement xmi:type="uml:Class" xmi:id="_bWfmIHyiEeWNSOD5jNDSnA" name="REQ_005 : InformationFlow in Par palette"/> + </packagedElement> + <packagedElement xmi:type="uml:Model" xmi:id="_OFsfc-LIEeSv5dwvZ9NSDw" name="UseCases"/> + <packagedElement xmi:type="uml:Model" xmi:id="_OFsfduLIEeSv5dwvZ9NSDw" name="Design"/> + <packagedElement xmi:type="uml:Model" xmi:id="_OFsfeOLIEeSv5dwvZ9NSDw" name="Test"/> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_WZRqQDySEeehi70ty50hrw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_WZV7sDySEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#/"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_WZXJ0DySEeehi70ty50hrw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_WZXw4DySEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//activities"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Activities"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_WZY_ADySEeehi70ty50hrw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_WZZmEDySEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//allocations"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Allocations"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_WZaNIDySEeehi70ty50hrw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_WZa0MDySEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//blocks"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_WZbbQDySEeehi70ty50hrw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_WZbbQTySEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//constraintblocks"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ConstraintBlocks"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_WZcCUDySEeehi70ty50hrw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_WZcCUTySEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//deprecatedelements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_DeprecatedElements"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_WZcpYDySEeehi70ty50hrw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_WZcpYTySEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//modelelements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ModelElements"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_WZcpYjySEeehi70ty50hrw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_WZdQcDySEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//portsandflows"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_WZdQcTySEeehi70ty50hrw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_WZdQcjySEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements"/> + </profileApplication> + </uml:Model> + <Requirements:Requirement xmi:id="_TEE9gCY-EeWtn6hjmtufug" base_Class="_TEBTICY-EeWtn6hjmtufug" id="Req004"/> + <Requirements:Requirement xmi:id="_7mu1MFcEEeW35uAYw-w4dQ" base_Class="_7muOIFcEEeW35uAYw-w4dQ" id="REQ_001" text="A constraint property may be shown on a parametric diagram using a rectangle with rounded corners. This graphical
shape distinguishes a constraint property from all other properties and avoids the need to show an explicit «constraint»
keyword. Otherwise, this notation is equivalent to the standard form of an internal property with a «constraint» keyword
shown. Compartments and internal properties may be shown within the shape just as for other types of internal properties."/> + <Requirements:DeriveReqt xmi:id="_f8g7cFcFEeW35uAYw-w4dQ"/> + <Requirements:Requirement xmi:id="_2A_pAHlkEeWbcoRwJ0bATQ" base_Class="_2AmncHlkEeWbcoRwJ0bATQ" id="REQ_002" text="InformationItem must be added
see Figure 9.5 – ItemFlow Stereotype p81 of SysML norm
see section 20.1.5 Examples of UML norm"/> + <Requirements:Requirement xmi:id="_bTu_kHmNEeW3Oe7H2lzIHQ" base_Class="_bTtxcHmNEeW3Oe7H2lzIHQ" id="REQ_003" text="
"/> + <Requirements:DeriveReqt xmi:id="_bTw0wHmNEeW3Oe7H2lzIHQ"/> + <Requirements:Requirement xmi:id="_bWlswHyiEeWNSOD5jNDSnA" base_Class="_bWfmIHyiEeWNSOD5jNDSnA" id="REQ_005" text="Information Flow must be added, see Figure 9.5 - ItemFlow Stereotype p81 of SysML norm"/> + <Requirements:Requirement xmi:id="_P_QmMD0sEeeHj_oxd-HpJg" base_Class="_bTtxcHmNEeW3Oe7H2lzIHQ"/> + <Requirements:Requirement xmi:id="_RQm5UD0sEeeHj_oxd-HpJg" base_Class="_bWfmIHyiEeWNSOD5jNDSnA"/> + <Requirements:Requirement xmi:id="_SbfYED0sEeeHj_oxd-HpJg" base_Class="_2AmncHlkEeWbcoRwJ0bATQ"/> + <Requirements:Requirement xmi:id="_TT6N0D0sEeeHj_oxd-HpJg" base_Class="_7muOIFcEEeW35uAYw-w4dQ"/> +</xmi:XMI>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/resources/icons/obj16/Diagram_Parametric.png b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/resources/icons/obj16/Diagram_Parametric.png similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.parametric/resources/icons/obj16/Diagram_Parametric.png rename to diagram/org.eclipse.papyrus.sysml.diagram.parametric/resources/icons/obj16/Diagram_Parametric.png Binary files differ
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric/resources/style/parametricDiagram.css b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/resources/style/parametricDiagram.css new file mode 100644 index 0000000..0bc963e --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/resources/style/parametricDiagram.css
@@ -0,0 +1,273 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr + *****************************************************************************/ +/* + * SHARED ELEMENTS + */ + +Compartment{ + visible: false; + showTitle: false; +} + +Compartment[kind=structure]{ + showTitle: false; +} + +Package > Compartment[kind="packagedelements"], +Model > Compartment[kind="packagedelements"]{ + visible: true; + showTitle: false; +} + +/* + * @pap.req org.eclipse.papyrus.sysml#REQ_001 + */ +[deprecated=true] { + lineColor: orange; +} + +[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=parameters], +[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=constraints]{ + visible: true; +} + +[appliedStereotypes~="FlowSpecification"]{ + elementIcon:false; + displayIcon:false; +} + +[appliedStereotypes~="FlowSpecification"] > Compartment[kind=flowproperties]{ + visible: true; +} + +[appliedStereotypes~="ValueType"] > Compartment[kind=attributes], +[appliedStereotypes~="ValueType"] > Compartment[kind=operations]{ + visible: true; +} + +/* + * Comment + */ +Class[appliedStereotypes~="Comment"]{ + visible:true; +} + +/* + * Stereotype ElementGroup + */ + +Class[appliedStereotypes~="ElementGroup"] { + visible:true; + showTitle:true; +} + +Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] { + visible:true; + showTitle:false; +} + +Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="name"]{ + visible:true; +} + +Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="criterion"]{ + visible:true; +} + +Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="size"]{ + visible:true; +} +Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="member"]{ + visible:true; +} + +Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="orderedMember"]{ + visible:true; +} + +/* + * Problem + */ +Class[appliedStereotypes~="Problem"]{ + visible:true; +} + +/* + * Rationale + */ +Class[appliedStereotypes~="Rational"]{ + visible:true; +} + +/* + * Stakeholder + */ +Class[appliedStereotypes~="Stakeholder"] > Compartment[type=StereotypeCompartment] { + visible:true; + showTitle:false; +} + +[appliedStereotypes~="Stakeholder"] > Compartment[kind=attributes], +[appliedStereotypes~="Stakeholder"] > Compartment[kind=operations], +[appliedStereotypes~="Stakeholder"] > Compartment[kind=constraints]{ + visible: true; +} + +Class[appliedStereotypes~="Stakeholder"] > Compartment[type=StereotypeCompartment] > [property="concernList"]{ + visible:true; +} +Class[appliedStereotypes~="Stakeholder"] > Compartment[type=StereotypeCompartment] > [property="concern"]{ + visible:true; +} + +/* + * Stereotype View + */ +Class[appliedStereotypes~="View"] > Compartment[kind=attributes], +Class[appliedStereotypes~="View"] > Compartment[kind=operations]{ + visible:true; + showTitle:false; +} + +Class[appliedStereotypes~="View"] > Compartment[kind="nestedclassifiers"]{ + visible:false; + showTitle:false; +} + +Class[appliedStereotypes~="View"] > Compartment[type=StereotypeCompartment] { + visible:true; + showTitle:true; +} + +Class[appliedStereotypes~="View"] > Compartment[type=StereotypeCompartment] > [property="stakeholder"]{ + visible:true; +} + +Class[appliedStereotypes~="View"] > Compartment[type=StereotypeCompartment] > [property="viewpoint"]{ + visible:true; +} + +/* + * Stereotype Viewpoint + */ +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] { + visible:true; + showTitle:false; +} + +[appliedStereotypes~="Viewpoint"] > Compartment[kind=attributes], +[appliedStereotypes~="Viewpoint"] > Compartment[kind=operations]{ + visible:true; +} + +[appliedStereotypes~="Viewpoint"] > Compartment[kind="internal structure"], +[appliedStereotypes~="Viewpoint"] > Compartment[kind="symbol"] +{ + visible:false; +} + +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="stakeholder"]{ + visible:true; +} + +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="purpose"]{ + visible:true; +} + +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="concernList"]{ + visible:true; +} + +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="language"]{ + visible:true; +} +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="method"]{ + visible:true; +} + +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="presentation"]{ + visible:true; +} +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="concern"]{ + visible:true; +} + +/* + * SPECIFIC ELEMENTS + */ + +Attribute[appliedStereotypes~="Block"] > Compartment { + visible:false; +} + +Port > Compartment[kind="symbol"]{ + visible: true; +} + +ParametricDiagram Compartment{ + visible: false; + showTitle: true; +} + +Class[appliedStereotypes~="Block"] > Compartment[kind=internalstructure], +Class[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=internalstructure]{ + visible: true; +} + + +/* + * @pap.req org.eclipse.papyrus.sysml.14.diagram.parametric#REQ_001 + */ +CompositeStructureDiagram Property[isConstraint=true] +{ + radiusWidth:30; + radiusHeight:30; +} + +/* + * No use to show multiplicities, stereotypeLabel <<BindingConnector>> and connector name for bindingConnectors in parametric diagram + */ +Connector > Label:targetMultiplicity { + visible:false; +} +Connector > Label:sourceMultiplicity { + visible:false; +} +Connector > Label:name { + visible:false; +} +Connector > Label:stereotype { + visible:false; +} +/* + * In general, showing multiplicities is not useful for properties (they will be [1] anyway) + */ +Property { + maskLabel: name type; +} + +Port[appliedStereotypes~="FlowPort"][isAtomic=true][direction=in] { + svgFile: "platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_IN/position.svg"; +} + +Port[appliedStereotypes~="FlowPort"][isAtomic=true][direction=out] { + svgFile: "platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_OUT/position.svg"; +} + +Port[appliedStereotypes~="FlowPort"][isAtomic=true][direction=inout] { + svgFile: "platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_INOUT/position.svg"; +} + +Port[appliedStereotypes~="FlowPort"][isAtomic=false] { + svgFile: "platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/icons/FlowPort_NA/position.svg"; +} + \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/Activator.java b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/Activator.java new file mode 100644 index 0000000..76803ae --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/Activator.java
@@ -0,0 +1,95 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.parametric; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Status; +import org.eclipse.core.runtime.preferences.IEclipsePreferences; +import org.eclipse.core.runtime.preferences.InstanceScope; +import org.eclipse.jface.resource.ImageDescriptor; +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.sysml.diagram.parametric"; //$NON-NLS-1$ + + // The shared instance + private static Activator plugin; + + /** + * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) + * + * @param context + * @throws Exception + */ + @Override //FIXME : remove the code after Papyrus Core Oxygen.2 (See Bug 522295) + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + IEclipsePreferences node = InstanceScope.INSTANCE.getNode("org.eclipse.papyrus.infra.gmfdiag.dnd"); //$NON-NLS-1$ + node.put("org.eclipse.papyrus.infra.gmfdiag.dnd.expansiondropsteategy.isActive", "false"); //$NON-NLS-1$ //$NON-NLS-2$ + } + + /* + * (non-Javadoc) + * + * @see + * org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) + */ + @Override + public void stop(BundleContext context) throws Exception { + plugin = null; + super.stop(context); + } + + + /** + * Returns an image descriptor for the image file at the given + * plug-in relative path + * + * @param path + * the path + * @return the image descriptor + */ + public static ImageDescriptor getImageDescriptor(String path) { + return imageDescriptorFromPlugin(PLUGIN_ID, path); + } + + public static Activator getDefault() { + return plugin; + } + + /** + * Log the status + * @param status + */ + public static void log(IStatus status) { + Activator.getDefault().getLog().log(status); + } + + /** + * Log the message + * @param severity + * @param message + */ + public static void log(int severity, String message) { + log(new Status(severity, PLUGIN_ID, message)); + } + + +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/command/ConstraintBlockParameterCreationCommand.java b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/command/ConstraintBlockParameterCreationCommand.java new file mode 100644 index 0000000..9171592 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/command/ConstraintBlockParameterCreationCommand.java
@@ -0,0 +1,161 @@ +/***************************************************************************** + * Copyright (c) 2017 CEA LIST and others. + * + * 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: + * Nicolas FAUVERGUE (CEA LIST) nicolas.fauvergue@cea.fr - Initial API and implementation + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr- Bug 528694 + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.diagram.parametric.command; + +import org.eclipse.core.commands.ExecutionException; +import org.eclipse.core.runtime.IAdaptable; +import org.eclipse.core.runtime.IProgressMonitor; +import org.eclipse.core.runtime.IStatus; +import org.eclipse.draw2d.IFigure; +import org.eclipse.draw2d.geometry.Point; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.common.core.command.AbstractCommand; +import org.eclipse.gmf.runtime.common.core.command.CommandResult; +import org.eclipse.gmf.runtime.diagram.core.services.ViewService; +import org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart; +import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart; +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IHintedType; +import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; +import org.eclipse.gmf.runtime.emf.type.core.commands.CreateElementCommand; +import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest; +import org.eclipse.gmf.runtime.notation.Bounds; +import org.eclipse.gmf.runtime.notation.Node; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.papyrus.sysml.diagram.parametric.Activator; +import org.eclipse.papyrus.sysml.diagram.common.util.GraphicalSysMLServiceTypeUtil; +import org.eclipse.papyrus.uml.service.types.element.UMLElementTypes; +import org.eclipse.uml2.uml.UMLPackage; + +/** + * The command which allow to create a constraint block parameter. + */ +public class ConstraintBlockParameterCreationCommand extends AbstractCommand { + + /** + * The graphical target edit part where add the created constraint block parameter. + */ + protected IGraphicalEditPart targetEditPart; + + /** + * The container of the constraint block parameter to create. + */ + protected EObject targetElement; + + /** + * The type element of the constraint block parameter to create. + */ + protected EObject typeElement; + + /** + * The location point where add the block constraint parameter. + */ + protected Point point; + + /** + * The property creation command. + */ + protected CreateElementCommand propertyCreationCommand; + + /** + * Constructor. + * + * @param label + * The operation label, should never be <code>null</code>. + * @param typeElement + * The type element of the constraint block parameter to create. + * @param targetEditPart + * The graphical target edit part where add the created constraint block parameter. + * @param targetElement + * The container of the constraint block parameter to create. + * @param point + * The location point where add the block constraint parameter. + */ + public ConstraintBlockParameterCreationCommand(final String label, final IGraphicalEditPart targetEditPart, final EObject targetElement, final EObject typeElement, final Point point) { + super(label); + this.targetEditPart = targetEditPart; + this.targetElement = targetElement; + this.typeElement = typeElement; + this.point = point; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.gmf.runtime.common.core.command.AbstractCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable) + */ + @Override + protected CommandResult doExecuteWithResult(final IProgressMonitor progressMonitor, final IAdaptable info) throws ExecutionException { + // Create the parameter corresponding to the ConstraintBlock + final CreateElementRequest createPropertyCommand = new CreateElementRequest(targetElement, UMLElementTypes.PROPERTY); + propertyCreationCommand = new CreateElementCommand(createPropertyCommand); + propertyCreationCommand.execute(progressMonitor, info); + + CommandResult commandResult = propertyCreationCommand.getCommandResult(); + if (commandResult != null && commandResult.getStatus().isOK()) { + // Set the parameter type with ConstraintBlock + final EObject createdProperty = propertyCreationCommand.getNewElement(); + createdProperty.eSet(UMLPackage.eINSTANCE.getTypedElement_Type(), typeElement); + + final ISpecializationType type = (ISpecializationType) ElementTypeRegistry.getInstance().getType(GraphicalSysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_CONSTRAINT_PROPERTY_COMPOSITE); + + // Create the node corresponding to the parameter + final View notationView = targetEditPart.getNotationView(); + String semanticHint = ((IHintedType) type).getSemanticHint(); + Node node = ViewService.createNode(notationView, createdProperty, semanticHint, ((GraphicalEditPart) targetEditPart).getDiagramPreferencesHint()); + + if (node == null) { + Activator.log(IStatus.WARNING,"Impossible to create the view "+semanticHint);//$NON-NLS-1$ + } else { + if (point != null && node.getLayoutConstraint() instanceof Bounds) { + IFigure parentFigure = targetEditPart.getFigure().getParent(); + while (null != parentFigure) { + point.translate(-(parentFigure.getBounds().x + parentFigure.getInsets().left), -(parentFigure.getBounds().y + parentFigure.getInsets().top)); + parentFigure = parentFigure.getParent(); + } + ((Bounds) node.getLayoutConstraint()).setX(point.x); + ((Bounds) node.getLayoutConstraint()).setY(point.y); + } + } + } + return commandResult; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.gmf.runtime.common.core.command.AbstractCommand#doRedoWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable) + */ + @Override + protected CommandResult doRedoWithResult(final IProgressMonitor progressMonitor, final IAdaptable info) throws ExecutionException { + if (propertyCreationCommand != null && propertyCreationCommand.canRedo()) { + propertyCreationCommand.redo(progressMonitor, info); + } + return CommandResult.newOKCommandResult(); + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.gmf.runtime.common.core.command.AbstractCommand#doUndoWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable) + */ + @Override + protected CommandResult doUndoWithResult(final IProgressMonitor progressMonitor, final IAdaptable info) throws ExecutionException { + if (propertyCreationCommand != null && propertyCreationCommand.canUndo()) { + propertyCreationCommand.undo(progressMonitor, info); + } + return CommandResult.newOKCommandResult(); + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/dnd/ConstraintBlockDropStrategy.java b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/dnd/ConstraintBlockDropStrategy.java new file mode 100644 index 0000000..7b884a2 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/dnd/ConstraintBlockDropStrategy.java
@@ -0,0 +1,122 @@ +/***************************************************************************** + * Copyright (c) 2017 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: + * Benoit Maggi benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.parametric.dnd; + +import java.util.List; + +import org.eclipse.draw2d.geometry.Point; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gef.EditPart; +import org.eclipse.gef.Request; +import org.eclipse.gef.commands.Command; +import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; +import org.eclipse.gmf.runtime.diagram.ui.commands.ICommandProxy; +import org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart; +import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart; +import org.eclipse.gmf.runtime.diagram.ui.requests.DropObjectsRequest; +import org.eclipse.gmf.runtime.diagram.ui.requests.RequestConstants; +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; +import org.eclipse.papyrus.infra.gmfdiag.dnd.strategy.ExpansionElementDropStrategy; +import org.eclipse.papyrus.sysml.diagram.parametric.command.ConstraintBlockParameterCreationCommand; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ClassCompositeCompartmentEditPart; + +/** + * This strategy is a specialization in order to be able to drop Constraint inside constraint Property + * + */ +public class ConstraintBlockDropStrategy extends ExpansionElementDropStrategy implements IParametricDropStrategy { + + private static final int LOWEST_PRIORITY = -1000; + /** + * ID tje internal Structure of a block + */ + private static final String INTERNAL_STRUCTURE_ID = ClassCompositeCompartmentEditPart.VISUAL_ID; + + @Override + public String getCategoryID() { + return PARAMETRIC_DROP_CATEGORY_ID; + } + + @Override + public String getCategoryLabel() { + return PARAMETRIC_DROP_CATEGORY_LABEL; + } + + @Override + public String getID() { + return "org.eclipse.papyrus.sysml.diagram.parametric.dnd.ConstraintBlockDropStrategy"; //$NON-NLS-1$ + } + + @Override + public String getLabel() { + return "Constraint Block drag and drop inside parametric diagram"; + } + + @Override + public String getDescription() { + return "This strategy is is a specialization in order to be able to drop a Constraint Block inside Parametric diagram."; + } + + /** + * @see org.eclipse.papyrus.infra.gmfdiag.dnd.strategy.ExpansionElementDropStrategy#getPriority() + * + * @return + */ + @Override + public int getPriority() { + return LOWEST_PRIORITY; + } + + @Override + public Command doGetCommand(Request request, final EditPart targetEditPart) { + if (RequestConstants.REQ_MOVE_CHILDREN.equals(request.getType())) { + return null; + } + + final CompositeCommand cc = new CompositeCommand(getLabel()); + if (targetEditPart instanceof GraphicalEditPart) { + IGraphicalEditPart graphicalEditPart = (IGraphicalEditPart) targetEditPart; + List<EObject> sourceElements = getSourceEObjects(request); + if (sourceElements.isEmpty()) { + return null; + } + + final ISpecializationType constraintPropertyElementType = (ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_CONSTRAINTBLOCK); + if (INTERNAL_STRUCTURE_ID.equals(graphicalEditPart.getNotationView().getType())) { + + + final EObject targetElement = getTargetSemanticElement(targetEditPart); + for (EObject sourceElement : sourceElements) { + if (constraintPropertyElementType.getMatcher().matches(sourceElement)) { + + Point dropedPoint = null; + if(request instanceof DropObjectsRequest){ + dropedPoint = ((DropObjectsRequest)request).getLocation(); + } + + cc.add(new ConstraintBlockParameterCreationCommand("Create the corresponding constraint block parameter.", graphicalEditPart, targetElement, sourceElement, dropedPoint)); + } + + } + } + } + return cc.canExecute() ? new ICommandProxy(cc.reduce()) : null; + } + + + + + +} \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/dnd/ConstraintDropStrategy.java b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/dnd/ConstraintDropStrategy.java new file mode 100644 index 0000000..17c9f01 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/dnd/ConstraintDropStrategy.java
@@ -0,0 +1,104 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Bug 510842 - ClassCastException + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.parametric.dnd; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gef.EditPart; +import org.eclipse.gef.Request; +import org.eclipse.gef.commands.Command; +import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; +import org.eclipse.gmf.runtime.diagram.ui.commands.ICommandProxy; +import org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart; +import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart; +import org.eclipse.gmf.runtime.diagram.ui.requests.RequestConstants; +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; +import org.eclipse.papyrus.infra.gmfdiag.dnd.strategy.ExpansionElementDropStrategy; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.papyrus.sysml.diagram.common.util.GraphicalSysMLServiceTypeUtil; +import org.eclipse.uml2.uml.Constraint; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; + +/** + * This strategy is a specialization in order to be able to drop Constraint inside constraint Property + * + */ +public class ConstraintDropStrategy extends ExpansionElementDropStrategy implements IParametricDropStrategy { + + + @Override + public String getCategoryID() { + return PARAMETRIC_DROP_CATEGORY_ID; + } + + @Override + public String getCategoryLabel() { + return PARAMETRIC_DROP_CATEGORY_LABEL; + } + + @Override + public String getLabel() { + return "Constraint drag and drop inside Constraint Property"; + } + + @Override + public String getID() { + return "org.eclipse.papyrus.sysml.diagram.parametric.dnd.ConstraintDropStrategy"; //$NON-NLS-1$ + } + + @Override + public String getDescription() { + return "This strategy is is a specialization in order to be able to drop a Constraint inside constraint Property."; + } + + + + @Override + public Command doGetCommand(Request request, final EditPart targetEditPart) { + if (RequestConstants.REQ_MOVE_CHILDREN.equals(request.getType())) { + return null; + } + + CompositeCommand cc = new CompositeCommand(getLabel()); + if (targetEditPart instanceof GraphicalEditPart) { + IGraphicalEditPart graphicalEditPart = (IGraphicalEditPart) targetEditPart; + List<EObject> sourceElements = getSourceEObjects(request); + if (sourceElements.isEmpty()) { + return null; + } + + final List<EObject> valuesToAdd = new ArrayList<>(sourceElements.size()); + final ISpecializationType constraintPropertyElementType = (ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_CONSTRAINTPROPERTY); + // the target must me a constraint property + EObject target = graphicalEditPart.resolveSemanticElement(); + if (constraintPropertyElementType.getMatcher().matches(target) && target instanceof Property && ((Property) target).getType() != null) { + Type targetType = ((Property) target).getType(); + for (EObject sourceElement : sourceElements) { + if ((sourceElement instanceof Constraint) && sourceElement.eContainer().equals(targetType)) { + addCommandDrop(targetEditPart, cc, valuesToAdd, sourceElement, (ISpecializationType) ElementTypeRegistry.getInstance().getType(GraphicalSysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_CONSTRAINT_LABEL)); + } + } + } + } + return cc.canExecute() ? new ICommandProxy(cc.reduce()) : null; + } + + + + + +} \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/dnd/ConstraintPropertyDropStrategy.java b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/dnd/ConstraintPropertyDropStrategy.java new file mode 100644 index 0000000..30cf9be --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/dnd/ConstraintPropertyDropStrategy.java
@@ -0,0 +1,114 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.parametric.dnd; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gef.EditPart; +import org.eclipse.gef.Request; +import org.eclipse.gef.commands.Command; +import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; +import org.eclipse.gmf.runtime.diagram.ui.commands.ICommandProxy; +import org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart; +import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart; +import org.eclipse.gmf.runtime.diagram.ui.requests.RequestConstants; +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; +import org.eclipse.papyrus.infra.gmfdiag.dnd.strategy.ExpansionElementDropStrategy; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.papyrus.sysml.diagram.common.util.GraphicalSysMLServiceTypeUtil; +import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ClassCompositeCompartmentEditPart; + +/** + * This strategy is a specialization in order to be able to drop Constraint inside constraint Property + * + */ +public class ConstraintPropertyDropStrategy extends ExpansionElementDropStrategy implements IParametricDropStrategy { + + private static final int LOWEST_PRIORITY = -1000; + /** + * ID tje internal Structure of a block + */ + private static final String INTERNAL_STRUCTURE_ID = ClassCompositeCompartmentEditPart.VISUAL_ID; + + @Override + public String getCategoryID() { + return PARAMETRIC_DROP_CATEGORY_ID; + } + + @Override + public String getCategoryLabel() { + return PARAMETRIC_DROP_CATEGORY_LABEL; + } + + @Override + public String getID() { + return "org.eclipse.papyrus.sysml.diagram.parametric.dnd.ConstraintPropertyDropStrategy"; + } + + @Override + public String getLabel() { + return "Constraint Property drag and drop inside parametric diagram"; + } + + @Override + public String getDescription() { + return "This strategy is is a specialization in order to be able to drop a Constraint Property inside Parametric diagram."; + } + + /** + * @see org.eclipse.papyrus.infra.gmfdiag.dnd.strategy.ExpansionElementDropStrategy#getPriority() + * + * @return + */ + @Override + public int getPriority() { + return LOWEST_PRIORITY; + } + + @Override + public Command doGetCommand(Request request, final EditPart targetEditPart) { + if (RequestConstants.REQ_MOVE_CHILDREN.equals(request.getType())) { + return null; + } + + CompositeCommand cc = new CompositeCommand(getLabel()); + if (targetEditPart instanceof GraphicalEditPart) { + IGraphicalEditPart graphicalEditPart = (IGraphicalEditPart) targetEditPart; + List<EObject> sourceElements = getSourceEObjects(request); + if (sourceElements.isEmpty()) { + return null; + } + + final List<EObject> valuesToAdd = new ArrayList<>(sourceElements.size()); + final ISpecializationType constraintPropertyElementType = (ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_CONSTRAINTPROPERTY); + // the target must me a constraint property + if (INTERNAL_STRUCTURE_ID.equals(graphicalEditPart.getNotationView().getType())) { + for (EObject sourceElement : sourceElements) { + if (constraintPropertyElementType.getMatcher().matches(sourceElement)) { + final ISpecializationType type = (ISpecializationType) ElementTypeRegistry.getInstance().getType(GraphicalSysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_CONSTRAINT_PROPERTY_COMPOSITE); + addCommandDrop(targetEditPart, cc, valuesToAdd, sourceElement, type); + } + + } + } + } + return cc.canExecute() ? new ICommandProxy(cc.reduce()) : null; + } + + + + + +} \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/dnd/IParametricDropStrategy.java b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/dnd/IParametricDropStrategy.java new file mode 100644 index 0000000..39480bc --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/dnd/IParametricDropStrategy.java
@@ -0,0 +1,25 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.diagram.parametric.dnd; + +/** + * This interface is used to capitalize constant about Drop strategy of the parametric diagram + * + */ +public interface IParametricDropStrategy { + + String PARAMETRIC_DROP_CATEGORY_ID = "org.eclipse.papyrus.sysml.diagram.parametric"; //$NON-NLS-1$ + + String PARAMETRIC_DROP_CATEGORY_LABEL = "Parameter drag and drop"; //$NON-NLS-1$ +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/dnd/ParameterDropStrategy.java b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/dnd/ParameterDropStrategy.java new file mode 100644 index 0000000..0c0b23b --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/dnd/ParameterDropStrategy.java
@@ -0,0 +1,113 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Bug 510842 - ClassCastException + * Nicolas FAUVERGUE (CEA LIST) nicolas.fauvergue@cea.fr - Bug 512306 - Drop of parameter in Class_Shape + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.parametric.dnd; + +import java.util.ArrayList; +import java.util.List; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gef.EditPart; +import org.eclipse.gef.Request; +import org.eclipse.gef.commands.Command; +import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; +import org.eclipse.gmf.runtime.diagram.ui.commands.ICommandProxy; +import org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart; +import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart; +import org.eclipse.gmf.runtime.diagram.ui.requests.RequestConstants; +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; +import org.eclipse.papyrus.infra.gmfdiag.dnd.strategy.ExpansionElementDropStrategy; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.papyrus.sysml.diagram.common.util.GraphicalSysMLServiceTypeUtil; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.Type; + +/** + * This strategy is a specialization in order to be able to drop Parameter inside Parameter Property + * this code is link to the parametric because the parameter as border item is only display in the parametric Diagram + */ +public class ParameterDropStrategy extends ExpansionElementDropStrategy implements IParametricDropStrategy { + + @Override + public String getCategoryID() { + return PARAMETRIC_DROP_CATEGORY_ID; + } + + @Override + public String getCategoryLabel() { + return PARAMETRIC_DROP_CATEGORY_LABEL; + } + + @Override + public String getLabel() { + return "Parameter drag and drop"; + } + + @Override + public String getID() { + return "org.eclipse.papyrus.sysml.diagram.parametric.dnd.ParameterDropStrategy"; //$NON-NLS-1$ + } + + @Override + public String getDescription() { + return "This strategy is is a specialization in order to be able to drop a Parameter."; + } + + + @Override + public Command doGetCommand(Request request, final EditPart targetEditPart) { + if (RequestConstants.REQ_MOVE_CHILDREN.equals(request.getType())) { + return null; + } + + CompositeCommand cc = new CompositeCommand(getLabel()); + if (targetEditPart instanceof GraphicalEditPart) { + IGraphicalEditPart graphicalEditPart = (IGraphicalEditPart) targetEditPart; + List<EObject> sourceElements = getSourceEObjects(request); + if (sourceElements.isEmpty()) { + return null; + } + + final List<EObject> valuesToAdd = new ArrayList<>(sourceElements.size()); + final ISpecializationType parameterPropertyElementType = (ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_CONSTRAINTPROPERTY); + if (null == parameterPropertyElementType) { + return null; + } + // the target must be a Parameter property + EObject target = graphicalEditPart.resolveSemanticElement(); + if (parameterPropertyElementType.getMatcher().matches(target) && target instanceof Property && ((Property) target).getType() != null) { + Type targetType = ((Property) target).getType(); + for (EObject sourceElement : sourceElements) { + if ((sourceElement instanceof Property) && sourceElement.eContainer().equals(targetType)) { + addCommandDrop(targetEditPart, cc, valuesToAdd, sourceElement, (ISpecializationType) ElementTypeRegistry.getInstance().getType(GraphicalSysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_PARAMETER_BORDER_ITEM)); + } + } + // + } else { + final ISpecializationType constraintBlockElementType = (ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_CONSTRAINTBLOCK); + if (null == constraintBlockElementType) { + return null; + } + + if (constraintBlockElementType.getMatcher().matches(target) && targetEditPart.getParent() instanceof GraphicalEditPart) { + for (final EObject sourceElement : sourceElements) { + addCommandDrop(targetEditPart.getParent(), cc, valuesToAdd, sourceElement, (ISpecializationType) ElementTypeRegistry.getInstance().getType(GraphicalSysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_PARAMETER_BORDER_ITEM)); + } + } + } + } + return cc.canExecute() ? new ICommandProxy(cc.reduce()) : null; + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/edit/part/ParameterBorderItemNameEditPart.java b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/edit/part/ParameterBorderItemNameEditPart.java new file mode 100644 index 0000000..44a81c9 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/edit/part/ParameterBorderItemNameEditPart.java
@@ -0,0 +1,34 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.diagram.parametric.edit.part; + +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.papyrus.infra.gmfdiag.common.editpart.IControlParserForDirectEdit; +import org.eclipse.papyrus.uml.diagram.common.editparts.BorderItemNameEditPart; + +/** + * This class is fix in order to let the xtext parser to change the parser of the editpart. + * + */ +public class ParameterBorderItemNameEditPart extends BorderItemNameEditPart implements IControlParserForDirectEdit { + + /** + * Constructor. + * + * @param view + */ + public ParameterBorderItemNameEditPart(View view) { + super(view); + } +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/edit/part/ParameterBorderItermEditPart.java b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/edit/part/ParameterBorderItermEditPart.java new file mode 100644 index 0000000..392247f --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/edit/part/ParameterBorderItermEditPart.java
@@ -0,0 +1,68 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.diagram.parametric.edit.part; + +import org.eclipse.draw2d.IFigure; +import org.eclipse.gef.EditPolicy; +import org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles; +import org.eclipse.gmf.runtime.diagram.ui.figures.IBorderItemLocator; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.DefaultGraphicalNodeEditPolicy; +import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.DefaultSemanticEditPolicy; +import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.GetChildLayoutEditPolicy; +import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.IMaskManagedLabelEditPolicy; +import org.eclipse.papyrus.sysml.diagram.parametric.locator.ParameterPositionLocator; +import org.eclipse.papyrus.uml.diagram.common.editparts.AroundBorderItemEditPart; +import org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeIconlDisplayEditPolicy; +import org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy; +import org.eclipse.papyrus.uml.diagram.common.editpolicies.MaskManagedNodeEditPolicy; +import org.eclipse.papyrus.uml.diagram.composite.custom.edit.policies.BehaviorPortEditPolicy; +import org.eclipse.papyrus.uml.diagram.composite.custom.edit.policies.CustomDiagramDragDropEditPolicy; +import org.eclipse.papyrus.uml.diagram.composite.custom.edit.policies.PortLayoutEditPolicy; + + +/** + * this a the editpart for Parameter that constraints the path of the border item to be internal. + */ +public class ParameterBorderItermEditPart extends AroundBorderItemEditPart { + + /** + * Constructor. + * + * @param view + */ + public ParameterBorderItermEditPart(View view) { + super(view); + } + + @Override + public IBorderItemLocator getNewBorderItemLocator(IFigure mainFigure) { + return new ParameterPositionLocator(mainFigure); + } + + @Override + protected void createDefaultEditPolicies() { + super.createDefaultEditPolicies(); + installEditPolicy(EditPolicy.PRIMARY_DRAG_ROLE, getPrimaryDragEditPolicy()); + installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE, new DefaultSemanticEditPolicy()); + installEditPolicy(EditPolicy.GRAPHICAL_NODE_ROLE, new DefaultGraphicalNodeEditPolicy()); + installEditPolicy(EditPolicy.LAYOUT_ROLE, createLayoutEditPolicy()); + installEditPolicy(AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY,new AppliedStereotypeIconlDisplayEditPolicy()); + installEditPolicy(EditPolicy.LAYOUT_ROLE, new PortLayoutEditPolicy()); + installEditPolicy(EditPolicyRoles.DRAG_DROP_ROLE, new CustomDiagramDragDropEditPolicy()); + installEditPolicy(BehaviorPortEditPolicy.BEHAVIOR_PORT, new BehaviorPortEditPolicy()); + installEditPolicy(IMaskManagedLabelEditPolicy.MASK_MANAGED_LABEL_EDIT_POLICY, new MaskManagedNodeEditPolicy()); + installEditPolicy(EditPolicy.LAYOUT_ROLE, new GetChildLayoutEditPolicy()); + } +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/internal/factory/BlockCompositeViewFactory.java b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/internal/factory/BlockCompositeViewFactory.java new file mode 100644 index 0000000..957a894 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/internal/factory/BlockCompositeViewFactory.java
@@ -0,0 +1,63 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.parametric.internal.factory; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint; +import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil; +import org.eclipse.gmf.runtime.notation.Location; +import org.eclipse.gmf.runtime.notation.Node; +import org.eclipse.gmf.runtime.notation.NotationFactory; +import org.eclipse.gmf.runtime.notation.Shape; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.jface.preference.IPreferenceStore; +import org.eclipse.papyrus.sysml.diagram.common.internal.factory.AbstractBasicViewFactory; +import org.eclipse.papyrus.uml.diagram.common.helper.PreferenceInitializerForElementHelper; +import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ClassCompositeEditPart; +import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ClassCompositeFloatingLabelEditPart; +import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ClassCompositeNameEditPart; +import org.eclipse.papyrus.uml.diagram.composite.part.UMLVisualIDRegistry; + +/** + * + * extraction from Composite UML view Provider + * + */ +public class BlockCompositeViewFactory extends AbstractBasicViewFactory { + + /** + * Base element of Block + */ + private static final String CLASS = "Class";//$NON-NLS-1$ + + @Override + public View createElementView(EObject domainElement, View containerView, String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint) { + Shape node = NotationFactory.eINSTANCE.createShape(); + node.setLayoutConstraint(NotationFactory.eINSTANCE.createBounds()); + node.setType(UMLVisualIDRegistry.getType(ClassCompositeEditPart.VISUAL_ID)); + ViewUtil.insertChildView(containerView, node, index, persisted); + node.setElement(domainElement); + // initializeFromPreferences + final IPreferenceStore prefStore = (IPreferenceStore) preferencesHint.getPreferenceStore(); + PreferenceInitializerForElementHelper.initFontStyleFromPrefs(node, prefStore, CLASS); + createLabel(node, UMLVisualIDRegistry.getType(ClassCompositeNameEditPart.VISUAL_ID)); + Node floatinglLabel = createLabel(node, UMLVisualIDRegistry.getType(ClassCompositeFloatingLabelEditPart.VISUAL_ID)); + floatinglLabel.setLayoutConstraint(NotationFactory.eINSTANCE.createLocation()); + Location location6089 = (Location) floatinglLabel.getLayoutConstraint(); + location6089.setX(0); + location6089.setY(5); + PreferenceInitializerForElementHelper.initCompartmentsStatusFromPrefs(node, prefStore, CLASS); + return node; + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/internal/factory/BorderItemViewFactory.java b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/internal/factory/BorderItemViewFactory.java new file mode 100644 index 0000000..fb2d244 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/internal/factory/BorderItemViewFactory.java
@@ -0,0 +1,50 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.diagram.parametric.internal.factory; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint; +import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil; +import org.eclipse.gmf.runtime.notation.NotationFactory; +import org.eclipse.gmf.runtime.notation.Shape; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.papyrus.sysml.diagram.common.internal.factory.AbstractBasicViewFactory; + +/** + * this specific view factory for parameter element of the constraint block + * + */ +public class BorderItemViewFactory extends AbstractBasicViewFactory { + + /** + * @see org.eclipse.papyrus.sysml.diagram.common.internal.factory.IBasicViewFactory#createElementView(org.eclipse.emf.ecore.EObject, org.eclipse.gmf.runtime.notation.View, java.lang.String, int, boolean, org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint) + * + * @param domainElement + * @param containerView + * @param semanticHint + * @param index + * @param persisted + * @param preferencesHint + * @return + */ + @Override + public View createElementView(EObject domainElement, View containerView, String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint) { + Shape node = NotationFactory.eINSTANCE.createShape(); + node.setLayoutConstraint(NotationFactory.eINSTANCE.createBounds()); + node.setType(semanticHint); + ViewUtil.insertChildView(containerView, node, index, persisted); + node.setElement(domainElement); + return node; + } +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/internal/factory/ConstraintPropertyViewFactory.java b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/internal/factory/ConstraintPropertyViewFactory.java new file mode 100644 index 0000000..81b5403 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/internal/factory/ConstraintPropertyViewFactory.java
@@ -0,0 +1,64 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.diagram.parametric.internal.factory; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint; +import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil; +import org.eclipse.gmf.runtime.notation.Location; +import org.eclipse.gmf.runtime.notation.Node; +import org.eclipse.gmf.runtime.notation.NotationFactory; +import org.eclipse.gmf.runtime.notation.Shape; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.jface.preference.IPreferenceStore; +import org.eclipse.papyrus.sysml.diagram.common.internal.factory.AbstractBasicViewFactory; +import org.eclipse.papyrus.uml.diagram.common.helper.PreferenceInitializerForElementHelper; +import org.eclipse.papyrus.uml.diagram.composite.edit.parts.PropertyPartCompartmentEditPartCN; +import org.eclipse.papyrus.uml.diagram.composite.edit.parts.PropertyPartFloatingLabelEditPartCN; +import org.eclipse.papyrus.uml.diagram.composite.edit.parts.PropertyPartNameEditPartCN; +import org.eclipse.papyrus.uml.diagram.composite.part.UMLVisualIDRegistry; + +/** + * extraction from Composite View Provider UML view Provider + * + */ +public class ConstraintPropertyViewFactory extends AbstractBasicViewFactory { + + /** + * Base element of ConstraintProperty + */ + private static final String PROPERTY = "Property";//$NON-NLS-1$ + + @Override + public View createElementView(EObject domainElement, View containerView, String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint) { + Shape node = NotationFactory.eINSTANCE.createShape(); + node.setLayoutConstraint(NotationFactory.eINSTANCE.createBounds()); + node.setType(semanticHint); + ViewUtil.insertChildView(containerView, node, index, persisted); + node.setElement(domainElement); + // initializeFromPreferences + final IPreferenceStore prefStore = (IPreferenceStore) preferencesHint.getPreferenceStore(); + PreferenceInitializerForElementHelper.initFontStyleFromPrefs(node, prefStore, PROPERTY); + createLabel(node, UMLVisualIDRegistry.getType(PropertyPartNameEditPartCN.VISUAL_ID)); + Node floatingLabel = createLabel(node, UMLVisualIDRegistry.getType(PropertyPartFloatingLabelEditPartCN.VISUAL_ID)); + floatingLabel.setLayoutConstraint(NotationFactory.eINSTANCE.createLocation()); + Location location6054 = (Location) floatingLabel.getLayoutConstraint(); + location6054.setX(0); + location6054.setY(5); + createCompartment(node, UMLVisualIDRegistry.getType(PropertyPartCompartmentEditPartCN.VISUAL_ID), true, true, false, false); + PreferenceInitializerForElementHelper.initCompartmentsStatusFromPrefs(node, prefStore, PROPERTY); + return node; + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/locator/ParameterPositionLocator.java b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/locator/ParameterPositionLocator.java new file mode 100644 index 0000000..e9ac4e9 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/locator/ParameterPositionLocator.java
@@ -0,0 +1,60 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.diagram.parametric.locator; + +import org.eclipse.draw2d.IFigure; +import org.eclipse.papyrus.infra.gmfdiag.common.utils.PortPositionEnum; +import org.eclipse.papyrus.uml.diagram.common.locator.PortPositionLocator; + + +/** + * This border locator do not take in account CSS, its always internal. + * So For this reason SertPortPosition() has been overloaded. + * + */ +public class ParameterPositionLocator extends PortPositionLocator { + + + /** + * Constructor. + * @param parentFigure + */ + public ParameterPositionLocator(IFigure parentFigure) { + super(parentFigure); + } + + /** + * @see org.eclipse.papyrus.uml.diagram.common.locator.PortPositionLocator#setPortPosition(java.lang.String) + * + * @param position + * @deprecated (to be removed only when the deprecated parent is removed) + */ + @Override + @Deprecated + public void setPortPosition(String position) { + // Always internal + super.setPortPosition(PortPositionEnum.INSIDE.toString()); + } + + /** + * @see org.eclipse.papyrus.uml.diagram.common.locator.PortPositionLocator#setPosition(org.eclipse.papyrus.infra.gmfdiag.common.utils.PortPositionEnum) + * + * @param position + */ + @Override + public void setPosition(PortPositionEnum position) { + super.setPosition(PortPositionEnum.INSIDE); + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/provider/ParserProvider.java b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/provider/ParserProvider.java new file mode 100644 index 0000000..551eeca --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.parametric/src/org/eclipse/papyrus/sysml/diagram/parametric/provider/ParserProvider.java
@@ -0,0 +1,35 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * + * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.parametric.provider; + +import org.eclipse.gmf.runtime.common.ui.services.parser.IParserProvider; +import org.eclipse.papyrus.sysml.diagram.common.provider.AbstractParserProvider; +import org.eclipse.papyrus.uml.diagram.common.parser.PropertyLabelParser; + +/** + * Parser provider for labels used by the parametric diagram. + */ +public class ParserProvider extends AbstractParserProvider implements IParserProvider { + + private static final String PARAMETER_LABEL = "ParameterLabel"; //$NON-NLS-1$ + + /** + * Constructor. + * + */ + public ParserProvider() { + graphicalHintToParser.put(PARAMETER_LABEL, new PropertyLabelParser()); + } + +} \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/.classpath b/diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/.classpath similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/.classpath rename to diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/.classpath
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/.project b/diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/.project new file mode 100644 index 0000000..a0a033b --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/.project
@@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.diagram.requirement.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> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/.settings/org.eclipse.core.resources.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/.settings/org.eclipse.core.resources.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/.settings/org.eclipse.core.resources.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/.settings/org.eclipse.jdt.core.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/.settings/org.eclipse.jdt.core.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/.settings/org.eclipse.jdt.core.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/.settings/org.eclipse.jdt.ui.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/.settings/org.eclipse.jdt.ui.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/.settings/org.eclipse.jdt.ui.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/.settings/org.eclipse.jdt.ui.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/.settings/org.eclipse.m2e.core.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/.settings/org.eclipse.m2e.core.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/.settings/org.eclipse.m2e.core.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/META-INF/MANIFEST.MF b/diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/META-INF/MANIFEST.MF new file mode 100644 index 0000000..c3a789b --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/META-INF/MANIFEST.MF
@@ -0,0 +1,11 @@ +Manifest-Version: 1.0 +Require-Bundle: org.junit;bundle-version="[4.11.0,5.0.0)" +Bundle-Vendor: %Bundle-Vendor +Bundle-Version: 4.0.0.qualifier +Bundle-Name: %Bundle-Name +Bundle-Localization: plugin +Bundle-ManifestVersion: 2 +Fragment-Host: org.eclipse.papyrus.sysml.diagram.requirement;bundle-version="1.0.0" +Bundle-SymbolicName: org.eclipse.papyrus.sysml.diagram.requirement.tests +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/about.html b/diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/about.html similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/about.html rename to diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/about.html
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/build.properties b/diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/build.properties similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/build.properties rename to diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/build.properties
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/plugin.properties b/diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/plugin.properties new file mode 100644 index 0000000..6001b56 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/plugin.properties
@@ -0,0 +1,14 @@ +################################################################################# +# Copyright (c) 2015 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: +# +# Francois Le Fevre (CEA LIST) francois.le-fevre@cea.fr - Initial API and implementation +# +################################################################################## +Bundle-Name=Papyrus SysML 1.5 Requirement Diagram Tests +Bundle-Vendor=Eclipse Modeling Project
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/pom.xml b/diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/pom.xml new file mode 100644 index 0000000..6ecf1ef --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/pom.xml
@@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" + xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.papyrus.sysml</groupId> + <artifactId>org.eclipse.papyrus.sysml.diagram</artifactId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.diagram.requirement.tests</artifactId> + <packaging>eclipse-test-plugin</packaging> + <name>org.eclipse.papyrus.sysml.diagram.requirement.tests</name> + <description>This plug-in contains the unit tests relatives to requirement diagram.</description> +</project>
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/src/org/eclipse/papyrus/sysml/diagram/requirement/tests/resources/ModelValidationTest.java b/diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/src/org/eclipse/papyrus/sysml/diagram/requirement/tests/resources/ModelValidationTest.java new file mode 100644 index 0000000..39992ef --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.requirement.tests/src/org/eclipse/papyrus/sysml/diagram/requirement/tests/resources/ModelValidationTest.java
@@ -0,0 +1,79 @@ +/***************************************************************************** + * Copyright (c) 2017 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.diagram.requirement.tests.resources; + +import java.util.Arrays; +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.ecore.util.Diagnostician; +import org.eclipse.papyrus.sysml.diagram.requirement.Activator; +import org.junit.Assert; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.Parameterized; +import org.junit.runners.Parameterized.Parameters; + +/** + * This is a parameterized test to validate all model in the plugin + * + */ +@SuppressWarnings("nls") +@RunWith(Parameterized.class) +public class ModelValidationTest { + + @Parameters + public static Collection<Object[]> data() { + return Arrays.asList(new Object[][] { + // TODO: should be valid {"/resources/style/requirementDiagram.css"}, + // FIXME should be valid {"/resources/doc/org.eclipse.papyrus.sysml.diagram.requirement.uml"}, + //TODO: code a utility migration script {"/resources/doc/org.eclipse.papyrus.sysml.diagram.requirement.notation"}, + {"/resources/palette/requirementDiagram.paletteconfiguration"}, + }); + } + + private String modelPath; + + public ModelValidationTest(String modelPath) { + this.modelPath = modelPath; + } + + /** + * Validate the model with the rules defined in the meta-model tooling + */ + @Test + public void validateModel() { + String fullPath = Activator.PLUGIN_ID + this.modelPath; + URI modelPlatformURI = URI.createPlatformPluginURI(fullPath, true); + Resource resource = new ResourceSetImpl().getResource(modelPlatformURI, true); + Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); + Assert.assertEquals("The "+modelPath+" model is invalid "+print(diagnostic), Diagnostic.OK, diagnostic.getSeverity()); + } + + // FIXME : Something should exist in API to do that + private String print(Diagnostic diagnostic) { + List<Diagnostic> children = diagnostic.getChildren(); + StringBuilder stringBuilder = new StringBuilder(diagnostic.getMessage()); + for (Diagnostic diagnosticChildren : children) { + stringBuilder.append("\n"); //$NON-NLS-1$ + stringBuilder.append(diagnosticChildren.getMessage()); + } + return stringBuilder.toString(); + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/.classpath b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/.classpath similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.requirement/.classpath rename to diagram/org.eclipse.papyrus.sysml.diagram.requirement/.classpath
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.requirement/.project b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/.project new file mode 100644 index 0000000..ed8168d --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/.project
@@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.diagram.requirement</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> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/.settings/org.eclipse.core.resources.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.requirement/.settings/org.eclipse.core.resources.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.requirement/.settings/org.eclipse.core.resources.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/.settings/org.eclipse.jdt.core.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.requirement/.settings/org.eclipse.jdt.core.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.requirement/.settings/org.eclipse.jdt.core.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/.settings/org.eclipse.jdt.ui.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/.settings/org.eclipse.jdt.ui.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.requirement/.settings/org.eclipse.jdt.ui.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.requirement/.settings/org.eclipse.jdt.ui.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/.settings/org.eclipse.m2e.core.prefs b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.requirement/.settings/org.eclipse.m2e.core.prefs rename to diagram/org.eclipse.papyrus.sysml.diagram.requirement/.settings/org.eclipse.m2e.core.prefs
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.requirement/META-INF/MANIFEST.MF b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/META-INF/MANIFEST.MF new file mode 100644 index 0000000..4c45e43 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/META-INF/MANIFEST.MF
@@ -0,0 +1,16 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name +Bundle-Localization: plugin +Bundle-SymbolicName: org.eclipse.papyrus.sysml.diagram.requirement;singleton:=true +Bundle-Version: 4.0.0.qualifier +Bundle-Activator: org.eclipse.papyrus.sysml.diagram.requirement.Activator +Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.11.1,4.0.0)", + org.eclipse.gmf.runtime.diagram.core;bundle-version="[1.7.0,2.0.0)", + org.eclipse.ui.workbench;bundle-version="[3.107.0,4.0.0)", + org.eclipse.jface;bundle-version="[3.11.0,4.0.0)", + org.eclipse.papyrus.infra.viewpoints.policy;bundle-version="[2.0.0,3.0.0)", + org.eclipse.papyrus.sysml.diagram.common;bundle-version="4.0.0" +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Bundle-ActivationPolicy: lazy +Bundle-Vendor: %Bundle-Vendor
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/about.html b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/about.html similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.requirement/about.html rename to diagram/org.eclipse.papyrus.sysml.diagram.requirement/about.html
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.requirement/build.properties b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/build.properties new file mode 100644 index 0000000..d93da03 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/build.properties
@@ -0,0 +1,8 @@ +source.. = src/ +output.. = target/classes/ +bin.includes = META-INF/,\ + .,\ + about.html,\ + resources/,\ + plugin.properties +src.includes = about.html
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.requirement/plugin.properties b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/plugin.properties new file mode 100644 index 0000000..e62951f --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/plugin.properties
@@ -0,0 +1,15 @@ +################################################################################# +# Copyright (c) 2015 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: +# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation +################################################################################## +Bundle-Name= Papyrus SysML 1.5 Requirement Diagram +Bundle-Description=This plug-in contains the requirement diagram of SysML 1.5 +Bundle-Vendor=Eclipse Modeling Project + +
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.requirement/pom.xml b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/pom.xml new file mode 100644 index 0000000..a79f862 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/pom.xml
@@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.papyrus.sysml</groupId> + <artifactId>org.eclipse.papyrus.sysml.diagram</artifactId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.diagram.requirement</artifactId> + <packaging>eclipse-plugin</packaging> + <name>org.eclipse.papyrus.sysml.diagram.requirement</name> + <description>This plugin is in charge of defining the Requirement Diagram using the following frameworks: viewpoint, expansion model, palette and css.</description> +</project> \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/resources/doc/org.eclipse.papyrus.sysml14.diagram.requirement.di b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/resources/doc/org.eclipse.papyrus.sysml.diagram.requirement.di similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.requirement/resources/doc/org.eclipse.papyrus.sysml14.diagram.requirement.di rename to diagram/org.eclipse.papyrus.sysml.diagram.requirement/resources/doc/org.eclipse.papyrus.sysml.diagram.requirement.di
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.requirement/resources/doc/org.eclipse.papyrus.sysml.diagram.requirement.notation b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/resources/doc/org.eclipse.papyrus.sysml.diagram.requirement.notation new file mode 100644 index 0000000..500e98c --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/resources/doc/org.eclipse.papyrus.sysml.diagram.requirement.notation
@@ -0,0 +1,132 @@ +<?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:configuration="http://www.eclipse.org/papyrus/infra/viewpoints/configuration" xmlns:css="http://www.eclipse.org/papyrus/infra/gmfdiag/css" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:nattable="http://www.eclipse.org/papyrus/nattable/model" xmlns:nattableaxis="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis" xmlns:nattableaxisconfiguration="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration" xmlns:nattableaxisprovider="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider" xmlns:nattableconfiguration="http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration" xmlns:nattablestyle="http://www.eclipse.org/papyrus/nattable/model/table/nattablestyle" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis http://www.eclipse.org/papyrus/nattable/model#//nattableaxis http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration http://www.eclipse.org/papyrus/nattable/model#//nattableaxisconfiguration http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider http://www.eclipse.org/papyrus/nattable/model#//nattableaxisprovider http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration http://www.eclipse.org/papyrus/nattable/model#//nattableconfiguration http://www.eclipse.org/papyrus/nattable/model/table/nattablestyle http://www.eclipse.org/papyrus/nattable/model#//nattablestyle"> + <notation:Diagram xmi:id="_OF23gOLIEeSv5dwvZ9NSDw" type="PapyrusUMLClassDiagram" name="Overview" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_OF3ekOLIEeSv5dwvZ9NSDw" type="Model_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3ekeLIEeSv5dwvZ9NSDw" type="Model_NameLabel"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_CFPU0JoSEeeOUvsiG0ZmwQ" type="Model_PackagedElementCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_OF3ek-LIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3elOLIEeSv5dwvZ9NSDw"/> + </children> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.requirement.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eleLIEeSv5dwvZ9NSDw" x="201" y="38"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_OF3eluLIEeSv5dwvZ9NSDw" type="Model_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3el-LIEeSv5dwvZ9NSDw" type="Model_NameLabel"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_CFP74JoSEeeOUvsiG0ZmwQ" type="Model_PackagedElementCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_OF3emeLIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3emuLIEeSv5dwvZ9NSDw"/> + </children> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.requirement.uml#_OFsfc-LIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3em-LIEeSv5dwvZ9NSDw" x="204" y="173"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_OF3enOLIEeSv5dwvZ9NSDw" type="Model_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3eneLIEeSv5dwvZ9NSDw" type="Model_NameLabel"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_CFQi8JoSEeeOUvsiG0ZmwQ" type="Model_PackagedElementCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_OF3en-LIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eoOLIEeSv5dwvZ9NSDw"/> + </children> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.requirement.uml#_OFsfduLIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eoeLIEeSv5dwvZ9NSDw" x="206" y="329"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_OF3eouLIEeSv5dwvZ9NSDw" type="Model_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3eo-LIEeSv5dwvZ9NSDw" type="Model_NameLabel"/> + <children xmi:type="notation:BasicCompartment" xmi:id="_CFRKAJoSEeeOUvsiG0ZmwQ" type="Model_PackagedElementCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_OF3epeLIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3epuLIEeSv5dwvZ9NSDw"/> + </children> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.requirement.uml#_OFsfeOLIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3ep-LIEeSv5dwvZ9NSDw" x="635" y="324"/> + </children> + <styles xmi:type="notation:DiagramStyle" xmi:id="_OF3eqOLIEeSv5dwvZ9NSDw"/> + <styles xmi:type="style:PapyrusViewStyle" xmi:id="_OF3eqeLIEeSv5dwvZ9NSDw"> + <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.requirement.uml#_OFsfcOLIEeSv5dwvZ9NSDw"/> + <configuration xmi:type="configuration:PapyrusDiagram" href="platform:/plugin/org.eclipse.papyrus.infra.viewpoints.policy/builtin/default.configuration#_7wLmpNxhEeOqHvRyiN87hA"/> + </styles> + <styles xmi:type="notation:StringValueStyle" xmi:id="_ffusMFCLEeWVDv-g61eepg" name="diagram_compatibility_version" stringValue="1.3.0"/> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.requirement.uml#_OFsfcOLIEeSv5dwvZ9NSDw"/> + </notation:Diagram> + <css:ModelStyleSheets xmi:id="_MXBlUOc1EeSLdPGe2q9R0g"/> + <notation:Diagram xmi:id="_uc4A8FCLEeWVDv-g61eepg" type="PapyrusUMLClassDiagram" name="Requirement Tracability" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_vbHx4FCLEeWVDv-g61eepg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_vbHx4VCLEeWVDv-g61eepg" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_vbIY8FCLEeWVDv-g61eepg" name="BASE_ELEMENT"/> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vbHx4lCLEeWVDv-g61eepg" x="200"/> + </children> + <children xmi:type="notation:Shape" xmi:id="__C9CY1CLEeWVDv-g61eepg" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="__C9CZFCLEeWVDv-g61eepg" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="__C9CZlCLEeWVDv-g61eepg" name="BASE_ELEMENT"/> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="__C9CZVCLEeWVDv-g61eepg" x="481" y="260"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_5w2pYGBfEeWhfPUqbhxdNA" type="2008"> + <children xmi:type="notation:DecorationNode" xmi:id="_5w5ssGBfEeWhfPUqbhxdNA" type="5029"/> + <children xmi:type="notation:DecorationNode" xmi:id="_5w5ssWBfEeWhfPUqbhxdNA" type="8510"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_5w5ssmBfEeWhfPUqbhxdNA" y="5"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_5w6TwGBfEeWhfPUqbhxdNA" type="7017"> + <styles xmi:type="notation:TitleStyle" xmi:id="_5w6TwWBfEeWhfPUqbhxdNA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_5w6TwmBfEeWhfPUqbhxdNA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_5w6Tw2BfEeWhfPUqbhxdNA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5w6TxGBfEeWhfPUqbhxdNA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_5w660GBfEeWhfPUqbhxdNA" type="7018"> + <styles xmi:type="notation:TitleStyle" xmi:id="_5w660WBfEeWhfPUqbhxdNA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_5w660mBfEeWhfPUqbhxdNA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_5w6602BfEeWhfPUqbhxdNA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5w661GBfEeWhfPUqbhxdNA"/> + </children> + <children xmi:type="notation:BasicCompartment" xmi:id="_5w661WBfEeWhfPUqbhxdNA" type="7019"> + <styles xmi:type="notation:TitleStyle" xmi:id="_5w661mBfEeWhfPUqbhxdNA"/> + <styles xmi:type="notation:SortingStyle" xmi:id="_5w6612BfEeWhfPUqbhxdNA"/> + <styles xmi:type="notation:FilteringStyle" xmi:id="_5w662GBfEeWhfPUqbhxdNA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5w662WBfEeWhfPUqbhxdNA"/> + </children> + <element xmi:type="uml:Class" href="platform:/resource/org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml/doc/omg.sysml.uml#_66WcNjq8EeW79ofuztDyTA"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5w2pYWBfEeWhfPUqbhxdNA" x="120" y="20"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_5xN1wGBfEeWhfPUqbhxdNA" type="StereotypeComment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_5xN1wWBfEeWhfPUqbhxdNA" showTitle="true"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_5xN1w2BfEeWhfPUqbhxdNA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="platform:/resource/org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml/doc/omg.sysml.uml#_66WcNjq8EeW79ofuztDyTA"/> + </styles> + <element xsi:nil="true"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5xN1wmBfEeWhfPUqbhxdNA" x="200"/> + </children> + <styles xmi:type="notation:StringValueStyle" xmi:id="_uc4A8VCLEeWVDv-g61eepg" name="diagram_compatibility_version" stringValue="1.1.0"/> + <styles xmi:type="notation:DiagramStyle" xmi:id="_uc4A8lCLEeWVDv-g61eepg"/> + <styles xmi:type="style:PapyrusViewStyle" xmi:id="_uc4A81CLEeWVDv-g61eepg"> + <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.requirement.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> + </styles> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.requirement.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> + <edges xmi:type="notation:Connector" xmi:id="_5xOc0GBfEeWhfPUqbhxdNA" type="StereotypeCommentLink" source="_5w2pYGBfEeWhfPUqbhxdNA" target="_5xN1wGBfEeWhfPUqbhxdNA"> + <styles xmi:type="notation:FontStyle" xmi:id="_5xOc0WBfEeWhfPUqbhxdNA"/> + <styles xmi:type="notation:EObjectValueStyle" xmi:id="_5xOc1WBfEeWhfPUqbhxdNA" name="BASE_ELEMENT"> + <eObjectValue xmi:type="uml:Class" href="platform:/resource/org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml/doc/omg.sysml.uml#_66WcNjq8EeW79ofuztDyTA"/> + </styles> + <element xsi:nil="true"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_5xOc0mBfEeWhfPUqbhxdNA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_5xOc02BfEeWhfPUqbhxdNA"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_5xOc1GBfEeWhfPUqbhxdNA"/> + </edges> + </notation:Diagram> + <nattable:Table xmi:id="_IpIfoJoSEeeOUvsiG0ZmwQ" name="Requirements" currentRowAxisProvider="_IpIfpJoSEeeOUvsiG0ZmwQ" currentColumnAxisProvider="_IpIfoZoSEeeOUvsiG0ZmwQ" tableKindId="org.eclipse.papyrus.sysml14.table.requirement"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_IpK74JoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/papyrus/infra/nattable/version"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_IpK74ZoSEeeOUvsiG0ZmwQ" key="version" value="1.3.0"/> + </eAnnotations> + <context xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.requirement.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> + <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.diagram.requirement.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> + <tableConfiguration xmi:type="nattableconfiguration:TableConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/resources/requirement.nattableconfiguration#/"/> + <columnAxisProvidersHistory xmi:type="nattableaxisprovider:SlaveObjectAxisProvider" xmi:id="_IpIfoZoSEeeOUvsiG0ZmwQ" description="Provides the columns of the tables with a default configuration" name="Requirements Feature Columns Provider"> + <axis xmi:type="nattableaxis:FeatureIdAxis" xmi:id="_IpIfopoSEeeOUvsiG0ZmwQ" element="property_of_stereotype:/SysML::Requirements::Requirement::id"> + <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_KhqHgJoSEeeOUvsiG0ZmwQ" name="axisWidth" intValue="447263319"/> + <manager xmi:type="nattableaxisconfiguration:AxisManagerRepresentation" href="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/resources/requirement.nattableconfiguration#//@columnHeaderAxisConfiguration/@axisManagers.1"/> + </axis> + <axis xmi:type="nattableaxis:FeatureIdAxis" xmi:id="_IpIfo5oSEeeOUvsiG0ZmwQ" element="property_of_stereotype:/SysML::Requirements::Requirement::text"> + <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_Kg9j8JoSEeeOUvsiG0ZmwQ" name="axisWidth" intValue="-1695573661"/> + <manager xmi:type="nattableaxisconfiguration:AxisManagerRepresentation" href="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/resources/requirement.nattableconfiguration#//@columnHeaderAxisConfiguration/@axisManagers.1"/> + </axis> + </columnAxisProvidersHistory> + <rowAxisProvidersHistory xmi:type="nattableaxisprovider:MasterObjectAxisProvider" xmi:id="_IpIfpJoSEeeOUvsiG0ZmwQ" description="Provides the requirements directly owned by the context of the table" name="Requirement Axis Provider" disconnectSlave="true"/> + </nattable:Table> +</xmi:XMI>
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.requirement/resources/doc/org.eclipse.papyrus.sysml.diagram.requirement.uml b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/resources/doc/org.eclipse.papyrus.sysml.diagram.requirement.uml new file mode 100644 index 0000000..8133ec5 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/resources/doc/org.eclipse.papyrus.sysml.diagram.requirement.uml
@@ -0,0 +1,122 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Requirements="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements http://www.eclipse.org/papyrus/sysml/1.4/SysML"> + <uml:Model xmi:id="_OFsfcOLIEeSv5dwvZ9NSDw" name="org.eclipse.papyrus.sysml.diagram.requirement"> + <packageImport xmi:type="uml:PackageImport" xmi:id="_OFsfceLIEeSv5dwvZ9NSDw"> + <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/> + </packageImport> + <packageImport xmi:type="uml:PackageImport" xmi:id="_qUP-sFCLEeWVDv-g61eepg"> + <importedPackage xmi:type="uml:Model" href="../../org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml/resources/doc/omg.sysml.uml#_d7ALQDqsEeWNg8WvR7UDoQ"/> + </packageImport> + <packagedElement xmi:type="uml:Model" xmi:id="_OFsfcuLIEeSv5dwvZ9NSDw" name="Requirements"> + <ownedComment xmi:type="uml:Comment" xmi:id="_dICO8Oc2EeSLdPGe2q9R0g"> + <body>This package will contains all graphical requirements for Sysml elements contained in the Requirement diagram</body> + </ownedComment> + <packagedElement xmi:type="uml:Class" xmi:id="_OiRpkGalEeWv7P_h5u3SSw" name="REQ_007 Elements for the requirement palette."> + <nestedClassifier xmi:type="uml:Class" xmi:id="_0hlkUGajEeWv7P_h5u3SSw" name="REQ_001 palette for Activity with TestCase stereotype."/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_B_D2EGakEeWv7P_h5u3SSw" name="REQ_002 palette for FunctionBehavior with TestCase stereotype"/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_DbohwGakEeWv7P_h5u3SSw" name="REQ_003 palette for Interaction with TestCase stereotype"/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_EWSzMGakEeWv7P_h5u3SSw" name="REQ_004 palette for OpaqueBehavior with TestCase stereotype"/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_FHHzMGakEeWv7P_h5u3SSw" name="REQ_005 palette for ProtocolStateMachine with TestCase stereotype"/> + <nestedClassifier xmi:type="uml:Class" xmi:id="_GEJcIGakEeWv7P_h5u3SSw" name="REQ_006 palette for StateMachine with TestCase stereotype"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_0lCg8GajEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-16.3.2.5 TestCase" client="_0hlkUGajEeWv7P_h5u3SSw"> + <supplier xmi:type="uml:Class" href="../../../org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml/resources/doc/omg.sysml.uml#_66XDTzq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_B_FrQGakEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-16.3.2.5 TestCase" client="_B_D2EGakEeWv7P_h5u3SSw"> + <supplier xmi:type="uml:Class" href="../../../org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml/resources/doc/omg.sysml.uml#_66XDTzq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_Dbpv4GakEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-16.3.2.5 TestCase" client="_DbohwGakEeWv7P_h5u3SSw"> + <supplier xmi:type="uml:Class" href="../../../org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml/resources/doc/omg.sysml.uml#_66XDTzq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_EWUBUGakEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-16.3.2.5 TestCase" client="_EWSzMGakEeWv7P_h5u3SSw"> + <supplier xmi:type="uml:Class" href="../../../org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml/resources/doc/omg.sysml.uml#_66XDTzq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_FHIaQWakEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-16.3.2.5 TestCase" client="_FHHzMGakEeWv7P_h5u3SSw"> + <supplier xmi:type="uml:Class" href="../../../org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml/resources/doc/omg.sysml.uml#_66XDTzq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_GEKqQGakEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-16.3.2.5 TestCase" client="_GEJcIGakEeWv7P_h5u3SSw"> + <supplier xmi:type="uml:Class" href="../../../org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml/resources/doc/omg.sysml.uml#_66XDTzq8EeW79ofuztDyTA"/> + </packagedElement> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_OiS3sGalEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-16.3.2.5 TestCase" client="_OiRpkGalEeWv7P_h5u3SSw"> + <supplier xmi:type="uml:Class" href="../../../org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml/resources/doc/omg.sysml.uml#_66XDTzq8EeW79ofuztDyTA"/> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Model" xmi:id="_OFsfc-LIEeSv5dwvZ9NSDw" name="UseCases"/> + <packagedElement xmi:type="uml:Model" xmi:id="_OFsfduLIEeSv5dwvZ9NSDw" name="Design"/> + <packagedElement xmi:type="uml:Model" xmi:id="_OFsfeOLIEeSv5dwvZ9NSDw" name="Test"/> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_OFsfgeLIEeSv5dwvZ9NSDw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_OFsfguLIEeSv5dwvZ9NSDw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_OOJC4LX8EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_kwfoYJoREeeOUvsiG0ZmwQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kwlvAJoREeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#/"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_kwxVMJoREeeOUvsiG0ZmwQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kwx8QJoREeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//activities"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Activities"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_kw1moJoREeeOUvsiG0ZmwQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kw2NsJoREeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//allocations"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Allocations"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_kw20wJoREeeOUvsiG0ZmwQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kw20wZoREeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//blocks"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_kw4C4JoREeeOUvsiG0ZmwQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kw4C4ZoREeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//constraintblocks"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ConstraintBlocks"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_kw5RAJoREeeOUvsiG0ZmwQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kw5RAZoREeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//deprecatedelements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_DeprecatedElements"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_kw54EJoREeeOUvsiG0ZmwQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kw6fIJoREeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//modelelements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ModelElements"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_kw7GMJoREeeOUvsiG0ZmwQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kw7tQJoREeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//portsandflows"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_kw8UUJoREeeOUvsiG0ZmwQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kw8UUZoREeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements"/> + </profileApplication> + </uml:Model> + <Requirements:Requirement xmi:id="_0k9ocGajEeWv7P_h5u3SSw" text="Requirement Diagram should have a palette element to create Activity with TestCase stereotype.
TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=186" id="REQ_001" base_Class="_0hlkUGajEeWv7P_h5u3SSw"/> + <Requirements:DeriveReqt xmi:id="_0lE9MGajEeWv7P_h5u3SSw" base_Abstraction="_0lCg8GajEeWv7P_h5u3SSw"/> + <Requirements:Requirement xmi:id="_B_FEMGakEeWv7P_h5u3SSw" text="Requirement Diagram should have a palette element to create FunctionBehavior with TestCase stereotype.
TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=186" id="REQ_002" base_Class="_B_D2EGakEeWv7P_h5u3SSw"/> + <Requirements:DeriveReqt xmi:id="_B_G5YGakEeWv7P_h5u3SSw" base_Abstraction="_B_FrQGakEeWv7P_h5u3SSw"/> + <Requirements:Requirement xmi:id="_DbpI0GakEeWv7P_h5u3SSw" text="Requirement Diagram should have a palette element to create Interaction with TestCase stereotype.
TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=186" id="REQ_003" base_Class="_DbohwGakEeWv7P_h5u3SSw"/> + <Requirements:DeriveReqt xmi:id="_DbqW8GakEeWv7P_h5u3SSw" base_Abstraction="_Dbpv4GakEeWv7P_h5u3SSw"/> + <Requirements:Requirement xmi:id="_EWTaQGakEeWv7P_h5u3SSw" text="Requirement Diagram should have a palette element to create OpaqueBehavior with TestCase stereotype.
TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=186" id="REQ_004" base_Class="_EWSzMGakEeWv7P_h5u3SSw"/> + <Requirements:DeriveReqt xmi:id="_EWVPcGakEeWv7P_h5u3SSw" base_Abstraction="_EWUBUGakEeWv7P_h5u3SSw"/> + <Requirements:Requirement xmi:id="_FHIaQGakEeWv7P_h5u3SSw" text="Requirement Diagram should have a palette element to create ProtocolStateMachine with TestCase stereotype.
TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=186" id="REQ_005" base_Class="_FHHzMGakEeWv7P_h5u3SSw"/> + <Requirements:DeriveReqt xmi:id="_FHJBUGakEeWv7P_h5u3SSw" base_Abstraction="_FHIaQWakEeWv7P_h5u3SSw"/> + <Requirements:Requirement xmi:id="_GEKDMGakEeWv7P_h5u3SSw" text="Requirement Diagram should have a palette element to create StateMachine with TestCase stereotype.
TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=186" id="REQ_006" base_Class="_GEJcIGakEeWv7P_h5u3SSw"/> + <Requirements:DeriveReqt xmi:id="_GELRUGakEeWv7P_h5u3SSw" base_Abstraction="_GEKqQGakEeWv7P_h5u3SSw"/> + <Requirements:Requirement xmi:id="_OiSQoGalEeWv7P_h5u3SSw" text="
TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=186" id="REQ_007" base_Class="_OiRpkGalEeWv7P_h5u3SSw"/> + <Requirements:DeriveReqt xmi:id="_OiTewGalEeWv7P_h5u3SSw" base_Abstraction="_OiS3sGalEeWv7P_h5u3SSw"/> +</xmi:XMI>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/resources/icons/obj16/Diagram_Requirement.gif b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/resources/icons/obj16/Diagram_Requirement.gif similarity index 100% rename from diagram/org.eclipse.papyrus.sysml14.diagram.requirement/resources/icons/obj16/Diagram_Requirement.gif rename to diagram/org.eclipse.papyrus.sysml.diagram.requirement/resources/icons/obj16/Diagram_Requirement.gif Binary files differ
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.requirement/resources/palette/requirementDiagram.paletteconfiguration b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/resources/palette/requirementDiagram.paletteconfiguration new file mode 100644 index 0000000..6ae3e3c --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/resources/palette/requirementDiagram.paletteconfiguration
@@ -0,0 +1,134 @@ +<?xml version="1.0" encoding="UTF-8"?> +<paletteconfiguration:PaletteConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:paletteconfiguration="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.8" id="org.eclipse.papyrus.sysML.req.palette.model" label="SysML REQ Palette"> + <drawerConfigurations id="org.eclipse.papyrus.sysML.req.palette.node" label="Requirement" description="Nodes listed in 16.2.1 Requirement Diagram"> + <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.edge.ContainmentLink" label="Containment Link" description="A Containment Link indicate that a element is owned by an other element" kind="ConnectionTool"> + <icon pluginID="org.eclipse.papyrus.uml.diagram.clazz" iconPath="/icons/obj16/ContainmentConnection.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Element_ContainmentEdge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.edge.Copy_Abstraction" label="Copy" description="A Copy relationship is a dependency between a supplier requirement and a client requirement that specifies that the text of the client requirement is a read-only copy of the text of the supplier requirement." kind="ConnectionTool"> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="icons/full/obj16/Copy.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Copy_Abstraction_Abstraction_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.edge.DeriveReqt_Abstraction" label="DeriveReqt" description="A DeriveReqt relationship is a dependency between two requirements in which a client requirement can be derived from the supplier requirement." kind="ConnectionTool"> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="icons/full/obj16/DeriveReqt.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.DeriveReqt_Abstraction_Abstraction_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.node.Package" label="Package" description="A package is used to group elements, and provides a namespace for the grouped elements"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Package.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Package_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Package_Shape_CN"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.edge.Refine_Abstraction" label="Refine" description="The Refine stereotype specializes UML4SysML Refine and DirectedRelationshipPropertyPath to enable refinements to identify their sources and targets by a multi-level path of accessible properties from context blocks for the sources and targets." kind="ConnectionTool"> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="icons/full/obj16/Refine.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Refine_Abstraction_Abstraction_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.node.Requirement" label="Requirement" description="A requirement specifies a capability or condition that must (or should) be satisfied."> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="icons/full/obj16/Requirement.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Requirement_Class_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Requirement_Class_ComponentNestedClassifierLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Requirement_Class_InterfaceNestedClassifierLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Requirement_Class_Shape_CN"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Requirement_Class_ClassNestedClassifierLabel"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.edge.Satisfy_Abstraction" label="Satisfy" description="A Satisfy relationship is a dependency between a requirement and a model element that fulfills the requirement." kind="ConnectionTool"> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="icons/full/obj16/Satisfy.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Satisfy_Abstraction_Abstraction_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:StackConfiguration" id="org.eclipse.papyrus.sysML.req.palette.node.stack.TestCase" label="TestCase" description="Behavior for TestCase creation"> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.node.TestCase_Behavior_Activity" label="TestCase Activity" description="A test case is a method for verifying a requirement is satisfied."> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Activity.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.TestCase_Activity_NamedElement_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.node.TestCase_Behavior_FunctionBehavior" label="TestCase FunctionBehavior" description="A test case is a method for verifying a requirement is satisfied."> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/FunctionBehavior.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.TestCase_FunctionBehavior_NamedElement_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.node.TestCase_Behavior_Interaction" label="TestCase Interaction" description="A test case is a method for verifying a requirement is satisfied."> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Interaction.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.TestCase_Interaction_NamedElement_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.node.TestCase_Behavior_OpaqueBehavior" label="TestCase OpaqueBehavior" description="A test case is a method for verifying a requirement is satisfied."> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/OpaqueBehavior.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.TestCase_OpaqueBehavior_NamedElement_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.node.TestCase_Operation" label="TestCase Operation" description="A test case is a method for verifying a requirement is satisfied."> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Operation.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_ClassOperationLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_ComponentOperationLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_DataTypeOperationLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_InterfaceOperationLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_OperationLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_PrimitiveTypeOperationLabel"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.node.TestCase_Behavior_ProtocolStateMachine" label="TestCase ProtocolStateMachine" description="A test case is a method for verifying a requirement is satisfied."> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/ProtocolStateMachine.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.TestCase_ProtocolStateMachine_NamedElement_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.node.TestCase_Behavior_StateMachine" label="TestCase StateMachine" description="A test case is a method for verifying a requirement is satisfied."> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/StateMachine.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.TestCase_StateMachine_NamedElement_Shape"/> + </elementDescriptors> + </ownedConfigurations> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.edge.Trace_Abstraction" label="Trace" description="The Trace stereotype specializes UML4SysML Trace and DirectedRelationshipPropertyPath to enable traces to identify their sources and targets by a multi-level path of accessible properties from context blocks for the sources and targets." kind="ConnectionTool"> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="icons/full/obj16/Trace.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Trace_Abstraction_Abstraction_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.edge.Verify_Abstraction" label="Verify" description="A Verify relationship is a dependency between a requirement and a test case or other model element that can determine whether a system fulfills the requirement." kind="ConnectionTool"> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="icons/full/obj16/Verify.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Verify_Abstraction_Abstraction_Edge"/> + </elementDescriptors> + </ownedConfigurations> + </drawerConfigurations> +</paletteconfiguration:PaletteConfiguration>
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.requirement/resources/style/requirementDiagram.css b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/resources/style/requirementDiagram.css new file mode 100644 index 0000000..2ec345b --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/resources/style/requirementDiagram.css
@@ -0,0 +1,263 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr + *****************************************************************************/ +/* + * SHARED ELEMENTS + */ + +Compartment{ + visible: false; + showTitle: false; +} + +Compartment[kind=structure]{ + showTitle: false; +} + +Package > Compartment[kind="packagedelements"], +Model > Compartment[kind="packagedelements"]{ + visible: true; + showTitle: false; +} + +/* + * @pap.req org.eclipse.papyrus.sysml#REQ_001 + */ +[deprecated=true] { + lineColor: orange; +} + +[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=parameters], +[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=constraints]{ + visible: true; +} + +[appliedStereotypes~="FlowSpecification"]{ + elementIcon:false; + displayIcon:false; +} + +[appliedStereotypes~="FlowSpecification"] > Compartment[kind=flowproperties]{ + visible: true; +} + +[appliedStereotypes~="ValueType"] > Compartment[kind=attributes], +[appliedStereotypes~="ValueType"] > Compartment[kind=operations]{ + visible: true; +} + +/* + * Comment + */ +Class[appliedStereotypes~="Comment"]{ + visible:true; +} + +/* + * Stereotype ElementGroup + */ + +Class[appliedStereotypes~="ElementGroup"] { + visible:true; + showTitle:true; +} + +Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] { + visible:true; + showTitle:false; +} + +Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="name"]{ + visible:true; +} + +Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="criterion"]{ + visible:true; +} + +Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="size"]{ + visible:true; +} + +Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="member"]{ + visible:true; +} + +Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="orderedMember"]{ + visible:true; +} + +/* + * Problem + */ +Class[appliedStereotypes~="Problem"]{ + visible:true; +} + +/* + * Rationale + */ +Class[appliedStereotypes~="Rational"]{ + visible:true; +} + +/* + * Stakeholder + */ +Class[appliedStereotypes~="Stakeholder"] > Compartment[type=StereotypeCompartment] { + visible:true; + showTitle:false; +} + +[appliedStereotypes~="Stakeholder"] > Compartment[kind=attributes], +[appliedStereotypes~="Stakeholder"] > Compartment[kind=operations], +[appliedStereotypes~="Stakeholder"] > Compartment[kind=constraints]{ + visible: true; +} + +Class[appliedStereotypes~="Stakeholder"] > Compartment[type=StereotypeCompartment] > [property="concernList"]{ + visible:true; +} +Class[appliedStereotypes~="Stakeholder"] > Compartment[type=StereotypeCompartment] > [property="concern"]{ + visible:true; +} + +/* + * Stereotype View + */ +Class[appliedStereotypes~="View"] > Compartment[kind=attributes], +Class[appliedStereotypes~="View"] > Compartment[kind=operations]{ + visible:true; + showTitle:false; +} + +Class[appliedStereotypes~="View"] > Compartment[kind="nestedclassifiers"]{ + visible:false; + showTitle:false; +} + +Class[appliedStereotypes~="View"] > Compartment[type=StereotypeCompartment] { + visible:true; + showTitle:true; +} + +Class[appliedStereotypes~="View"] > Compartment[type=StereotypeCompartment] > [property="stakeholder"]{ + visible:true; +} + +Class[appliedStereotypes~="View"] > Compartment[type=StereotypeCompartment] > [property="viewpoint"]{ + visible:true; +} + +/* + * Stereotype Viewpoint + */ +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] { + visible:true; + showTitle:false; +} + +[appliedStereotypes~="Viewpoint"] > Compartment[kind=attributes], +[appliedStereotypes~="Viewpoint"] > Compartment[kind=operations]{ + visible:true; +} + +[appliedStereotypes~="Viewpoint"] > Compartment[kind="internal structure"], +[appliedStereotypes~="Viewpoint"] > Compartment[kind="symbol"] +{ + visible:false; +} + +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="stakeholder"]{ + visible:true; +} + +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="purpose"]{ + visible:true; +} + +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="concernList"]{ + visible:true; +} + +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="language"]{ + visible:true; +} + +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="method"]{ + visible:true; +} + +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="presentation"]{ + visible:true; +} + +Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="concern"]{ + visible:true; +} + +/* + * SPECIFIC ELEMENTS + */ + +RequirementDiagram Compartment{ + visible: false; + showTitle: true; +} + +RequirementDiagram Property > Compartment[kind=structure]{ + visible: true; +} + +/* + * Stereotype Requirement + */ +Class[appliedStereotypes~="Requirement"] > Compartment[kind=nestedclassifiers]{ + visible:false; + showTitle:false; +} + +Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] { + visible:true; + showTitle:false; +} + +Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="derived"]{ + visible:false; +} + +Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="derivedFrom"]{ + visible:false; +} + +Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="satisfiedBy"]{ + visible:false; +} + +Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="refinedBy"]{ + visible:false; +} + +Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="tracedTo"]{ + visible:false; +} + +Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="verifiedBy"]{ + visible:false; +} + +Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="master"]{ + visible:false; +} + +Class[appliedStereotypes~="Requirement"] > Compartment[kind="operations"] { + visible:false; +}
diff --git a/diagram/org.eclipse.papyrus.sysml.diagram.requirement/src/org/eclipse/papyrus/sysml/diagram/requirement/Activator.java b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/src/org/eclipse/papyrus/sysml/diagram/requirement/Activator.java new file mode 100644 index 0000000..4540426 --- /dev/null +++ b/diagram/org.eclipse.papyrus.sysml.diagram.requirement/src/org/eclipse/papyrus/sysml/diagram/requirement/Activator.java
@@ -0,0 +1,34 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.diagram.requirement; + +import org.eclipse.jface.resource.ImageDescriptor; +import org.eclipse.ui.plugin.AbstractUIPlugin; + +public class Activator extends AbstractUIPlugin { + + // The plug-in ID + public static final String PLUGIN_ID = "org.eclipse.papyrus.sysml.diagram.requirement"; //$NON-NLS-1$ + + /** + * Returns an image descriptor for the image file at the given + * plug-in relative path + * + * @param path + * the path + * @return the image descriptor + */ + public static ImageDescriptor getImageDescriptor(String path) { + return imageDescriptorFromPlugin(PLUGIN_ID, path); + } + +}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/.project b/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/.project deleted file mode 100644 index aef1b73..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/.project +++ /dev/null
@@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.diagram.blockdefinition.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> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/META-INF/MANIFEST.MF b/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/META-INF/MANIFEST.MF deleted file mode 100644 index d5019f8..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,15 +0,0 @@ -Manifest-Version: 1.0 -Bundle-Vendor: %Bundle-Vendor -Bundle-Version: 1.2.0.qualifier -Bundle-Name: %Bundle-Name -Bundle-Localization: plugin -Bundle-ManifestVersion: 2 -Fragment-Host: org.eclipse.papyrus.sysml14.diagram.blockdefinition;bundle-version="1.0.0" -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Require-Bundle: org.junit;bundle-version="[4.11.0,5.0.0)", - org.eclipse.papyrus.uml.diagram.clazz;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.composite;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.interactionoverview;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.profile;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.statemachine;bundle-version="[3.0.0,4.0.0)"
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/plugin.properties b/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/plugin.properties deleted file mode 100644 index 9e40db8..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/plugin.properties +++ /dev/null
@@ -1,14 +0,0 @@ -################################################################################# -# Copyright (c) 2011 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: -# -# CEA LIST - Initial API and Implementation. -# -################################################################################## -Bundle-Name=Papyrus SysML 1.4 Block Definition Diagram Tests -Bundle-Vendor=Eclipse Modeling Project
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/pom.xml b/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/pom.xml deleted file mode 100644 index ef672f3..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/pom.xml +++ /dev/null
@@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" - xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.eclipse.papyrus.sysml</groupId> - <artifactId>org.eclipse.papyrus.sysml14.diagram</artifactId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests</artifactId> - <packaging>eclipse-test-plugin</packaging> - <name>org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests</name> - <description>This plug-in contains the unit tests relatives to blockdefinition part of SysML 1.4 diagram.</description> -</project>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/src/org/eclipse/papyrus/sysml14/diagram/blockdefinition/tests/resources/ModelValidationTest.java b/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/src/org/eclipse/papyrus/sysml14/diagram/blockdefinition/tests/resources/ModelValidationTest.java deleted file mode 100644 index 2944994..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests/src/org/eclipse/papyrus/sysml14/diagram/blockdefinition/tests/resources/ModelValidationTest.java +++ /dev/null
@@ -1,88 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests.resources; - -import java.util.Arrays; -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.ecore.util.Diagnostician; -import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; -import org.eclipse.papyrus.sysml14.diagram.blockdefinition.Activator; -import org.junit.Assert; -import org.junit.BeforeClass; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.Parameterized; -import org.junit.runners.Parameterized.Parameters; - -/** - * This is a parameterized test to validate all model in the plugin - * - * @author Benoit Maggi - */ -@SuppressWarnings("nls") -@RunWith(Parameterized.class) -public class ModelValidationTest { - - @Parameters - public static Collection<Object[]> data() { - return Arrays.asList(new Object[][] { - // FIXME still invalid {"/resources/style/blockDefinitionDiagram.css"}, - {"/resources/configuration/blockDefinitionDiagramConfig.expansionmodel"}, - {"/resources/doc/org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml"}, - //TODO: code a utility migration script {"/resources/doc/org.eclipse.papyrus.sysml14.diagram.blockdefinition.notation"}, - {"/resources/palette/blockDefinitionDiagram.paletteconfiguration"}, - }); - } - - private String modelPath; - - public ModelValidationTest(String modelPath) { - this.modelPath = modelPath; - } - - @BeforeClass - public static void forceElementTypeLoads() { - ElementTypeSetConfigurationRegistry.getInstance(); - } - - /** - * Validate the model with the rules defined in the meta-model tooling - */ - @Test - public void validateModel() { - String fullPath = Activator.PLUGIN_ID + this.modelPath; - URI modelPlatformURI = URI.createPlatformPluginURI(fullPath, true); - Resource resource = new ResourceSetImpl().getResource(modelPlatformURI, true); - Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); - Assert.assertEquals("The "+modelPath+" model is invalid "+print(diagnostic), Diagnostic.OK, diagnostic.getSeverity()); - } - - // FIXME : Something should exist in API to do that - private String print(Diagnostic diagnostic) { - List<Diagnostic> children = diagnostic.getChildren(); - StringBuilder stringBuilder = new StringBuilder(diagnostic.getMessage()); - for (Diagnostic diagnosticChildren : children) { - stringBuilder.append("\n"); //$NON-NLS-1$ - stringBuilder.append(diagnosticChildren.getMessage()); - } - return stringBuilder.toString(); - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/.project b/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/.project deleted file mode 100644 index 0b134e9..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/.project +++ /dev/null
@@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.diagram.blockdefinition</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> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/META-INF/MANIFEST.MF b/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/META-INF/MANIFEST.MF deleted file mode 100644 index 5fdebd3..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,27 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %Bundle-Name -Bundle-Localization: plugin -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.diagram.blockdefinition;singleton:=true -Bundle-Version: 1.2.0.qualifier -Bundle-Activator: org.eclipse.papyrus.sysml14.diagram.blockdefinition.Activator -Bundle-Vendor: %Bundle-Vendor -Require-Bundle: org.eclipse.ui;bundle-version="[3.107.0,4.0.0)", - org.eclipse.core.runtime;bundle-version="[3.11.1,4.0.0)", - org.eclipse.uml2.uml;bundle-version="[5.1.0,6.0.0)", - org.eclipse.papyrus.infra.core;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.emf;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.types.core;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.viewpoints.policy;bundle-version="[2.0.0,3.0.0)", - org.eclipse.papyrus.uml.diagram.common;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.clazz;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.sysml14.diagram.common;bundle-version="1.0.0" -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Eclipse-BuddyPolicy: dependent -Bundle-ActivationPolicy: lazy -Export-Package: org.eclipse.papyrus.sysml14.diagram.blockdefinition, - org.eclipse.papyrus.sysml14.diagram.blockdefinition.internal.factory;x-internal:=true, - org.eclipse.papyrus.sysml14.diagram.blockdefinition.internal.factory;x-internal:=true, - org.eclipse.papyrus.sysml14.diagram.blockdefinition.provider -
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/plugin.properties b/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/plugin.properties deleted file mode 100644 index 868bf31..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/plugin.properties +++ /dev/null
@@ -1,15 +0,0 @@ -################################################################################# -# Copyright (c) 2015 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: -# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation -################################################################################## -Bundle-Name= Papyrus SysML 1.4 Block Definition Diagram -Bundle-Description=This plug-in contains the block definition diagram -Bundle-Vendor=Eclipse Modeling Project - -
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/plugin.xml b/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/plugin.xml deleted file mode 100644 index 7255136..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/plugin.xml +++ /dev/null
@@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?eclipse version="3.4"?> -<!-- - Copyright (c) 2015 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: - Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation ---> - -<plugin> - - <extension - point="org.eclipse.papyrus.infra.gmfdiag.common.diagramExpansion"> - <diagramexpansion - model="resources/configuration/blockDefinitionDiagramConfig.expansionmodel"> - </diagramexpansion> - </extension> - - <!-- Parser provider declaration --> -<extension point="org.eclipse.gmf.runtime.common.ui.services.parserProviders"> - <ParserProvider class="org.eclipse.papyrus.sysml14.diagram.blockdefinition.provider.ParserProvider"> - <Priority name="Low"/> - </ParserProvider> -</extension> - -</plugin>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/pom.xml b/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/pom.xml deleted file mode 100644 index efdc8ba..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/pom.xml +++ /dev/null
@@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" -xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.eclipse.papyrus.sysml</groupId> - <artifactId>org.eclipse.papyrus.sysml14.diagram</artifactId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.diagram.blockdefinition</artifactId> - <packaging>eclipse-plugin</packaging> - <name>org.eclipse.papyrus.sysml14.diagram.blockdefinition</name> - <description>This plugin is in charge of defining the SysML 1.4 Block Definition Diagram using the following frameworks: viewpoint, expansion model, palette and css.</description> -</project> \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/resources/configuration/blockDefinitionDiagramConfig.expansionmodel b/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/resources/configuration/blockDefinitionDiagramConfig.expansionmodel deleted file mode 100644 index b78fe67..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/resources/configuration/blockDefinitionDiagramConfig.expansionmodel +++ /dev/null
@@ -1,84 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<expansionmodel:DiagramExpansion xmlns:expansionmodel="http:///expansionmodel.ecore" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="SysML 1.4 BDD" xmi:id="org.eclipse.papyrus.sysml14.bbd.expansionmodel" xmi:version="2.0"> - <usages diagramType="SysML 1.4 Block Definition Diagram" name="SysML 1.4 BDD Context" representations="_rC19oNnoEeSqwOe5_frWm2 _CvN1kFVqEeW77p7V_ZuW3Q _dq31kGdDEeW5JrLha2pcnA" xmi:id="_rC19oNnoEeSqwOe5_frWm1"> - <gmftRepresentations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.clazz.edit.parts.ClassEditPart" inducedRepresentations="_rC19oNnoEeSqwOe5_frWm6 _CvPDslVqEeW77p7V_ZuW3Q _rC19oNnoEeSqwOe5_frWm7 _CvPDs1VqEeW77p7V_ZuW3Q _CvPDtFVqEeW77p7V_ZuW3Q _CvPDtVVqEeW77p7V_ZuW3Q _CSMSEGFBEeWbSMDuSXx8SQ _59LCcACiEeabH6-I0dvpUQ" name="Block based on Class representation of class diagram" reusedID="Class_Shape" subRepresentations="_CvN1kVVqEeW77p7V_ZuW3Q _CvOcoVVqEeW77p7V_ZuW3Q _CvOcolVqEeW77p7V_ZuW3Q _CvOco1VqEeW77p7V_ZuW3Q" viewFactory="org.eclipse.papyrus.sysml14.diagram.blockdefinition.internal.factory.BlockClassifierViewFactory" xmi:id="_rC19oNnoEeSqwOe5_frWm2"/> - <gmftRepresentations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.clazz.edit.parts.InterfaceEditPart" inducedRepresentations="_CSMSEGFBEeWbSMDuSXx8SQ" name="FlowSpecification based on Interface representation of class diagram" reusedID="Interface_Shape" subRepresentations="_CvN1kVVqEeW77p7V_ZuW3Q" viewFactory="org.eclipse.papyrus.sysml14.diagram.blockdefinition.internal.factory.FlowSpecificationClassifierViewFactory" xmi:id="_dq31kGdDEeW5JrLha2pcnA"/> - </usages> - <libraries name="Independent Representations" xmi:id="_rC19oNnoEeSqwOe5_frWm3"> - <representations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.clazz.edit.parts.PropertyForClassEditPart" name="Flow Port As Label" viewFactory="org.eclipse.gmf.runtime.diagram.ui.view.factories.optimal.ShapeViewFactory" xmi:id="_rC19oNnoEeSqwOe5_frWm4" xsi:type="expansionmodel:Representation"> - <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowPort_Label" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> - </representations> - <representations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.clazz.edit.parts.DependencyEditPart" name="Verify Link" viewFactory="org.eclipse.gmf.runtime.diagram.ui.view.factories.optimal.ConnectorViewFactory" xmi:id="_CvN1kFVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:Representation"> - <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Verify_Abstraction_Verify_Link" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> - </representations> - <representations inducedRepresentations="_CvPDsVVqEeW77p7V_ZuW3Q _CvPDsFVqEeW77p7V_ZuW3Q" name="Operation Border Item" viewFactory="org.eclipse.papyrus.sysml14.diagram.blockdefinition.internal.factory.OperationPortViewFactory" xmi:id="_CvN1kVVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:Representation"> - <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_EoAOIN0DEeSiOexlyH3Ifw"/> - <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi." xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> - </representations> - <representations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.common.editparts.EditableLabelForNodeEditPart" name="Constraint As Label" viewFactory="org.eclipse.gmf.runtime.diagram.ui.view.factories.optimal.ShapeViewFactory" xmi:id="_CvOcoFVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:Representation"> - <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Constraint_Label" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> - </representations> - <representations inducedRepresentations="_CvPDsVVqEeW77p7V_ZuW3Q" name="Class Port" viewFactory="org.eclipse.papyrus.sysml14.diagram.blockdefinition.internal.factory.PortViewFactory" xmi:id="_CvOcoVVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:Representation"> - <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_EoAOIN0DEeSiOexlyH3Ifw"/> - <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Class_Port" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> - </representations> - <representations inducedRepresentations="_CvPDsVVqEeW77p7V_ZuW3Q" name="Class ProxyPort" viewFactory="org.eclipse.papyrus.sysml14.diagram.blockdefinition.internal.factory.PortViewFactory" xmi:id="_CvOcolVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:Representation"> - <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_EoAOIN0DEeSiOexlyH3Ifw"/> - <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Class_ProxyPort" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> - </representations> - <representations inducedRepresentations="_CvPDsVVqEeW77p7V_ZuW3Q" name="Class FullPort" viewFactory="org.eclipse.papyrus.sysml14.diagram.blockdefinition.internal.factory.PortViewFactory" xmi:id="_CvOco1VqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:Representation"> - <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_EoAOIN0DEeSiOexlyH3Ifw"/> - <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Class_FullPort" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> - </representations> - <representations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.clazz.edit.parts.PropertyForClassEditPart" name="ProxyPort As Label" viewFactory="org.eclipse.gmf.runtime.diagram.ui.view.factories.optimal.ShapeViewFactory" xmi:id="_CvOcpFVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:Representation"> - <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ProxyPort_Label" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> - </representations> - <representations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.clazz.edit.parts.PropertyForClassEditPart" name="FullPort As Label" viewFactory="org.eclipse.gmf.runtime.diagram.ui.view.factories.optimal.ShapeViewFactory" xmi:id="_CvOcpVVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:Representation"> - <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FullPort_Label" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> - </representations> - <representations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.clazz.edit.parts.PropertyForClassEditPart" name="References As Label" viewFactory="org.eclipse.gmf.runtime.diagram.ui.view.factories.optimal.ShapeViewFactory" xmi:id="_CvOcplVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:Representation"> - <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Reference_label" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> - </representations> - <representations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.clazz.edit.parts.PropertyForClassEditPart" name="Parts As Label" viewFactory="org.eclipse.gmf.runtime.diagram.ui.view.factories.optimal.ShapeViewFactory" xmi:id="_SZt_kFVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:Representation"> - <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Part_label" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> - </representations> - <representations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.clazz.edit.parts.PropertyForClassEditPart" name="FlowProperty As Label" viewFactory="org.eclipse.gmf.runtime.diagram.ui.view.factories.optimal.ShapeViewFactory" xmi:id="_y-W7oGFAEeWbSMDuSXx8SQ" xsi:type="expansionmodel:Representation"> - <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowProperty_label" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> - </representations> - <representations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.clazz.edit.parts.PropertyForClassEditPart" name="Parameters As Label" viewFactory="org.eclipse.gmf.runtime.diagram.ui.view.factories.optimal.ShapeViewFactory" xmi:id="_vBCFAACiEeabH6-I0dvpUQ" xsi:type="expansionmodel:Representation"> - <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Parameter_label" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> - </representations> - </libraries> - <libraries name="Independant Compartments" xmi:id="_rC19oNnoEeSqwOe5_frWm5"> - <representations children="_rC19oNnoEeSqwOe5_frWm4" hint="Flow Ports" name="FlowPort Compartment" xmi:id="_rC19oNnoEeSqwOe5_frWm6" xsi:type="expansionmodel:InducedRepresentation"> - <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_vbTKYN0DEeS-X4lB2Ut-YA"/> - </representations> - <representations children="_SZt_kFVqEeW77p7V_ZuW3Q" editPartQualifiedName="" hint="Parts" name="Parts Compartment" xmi:id="_rC19oNnoEeSqwOe5_frWm7" xsi:type="expansionmodel:InducedRepresentation"> - <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_vbTKYN0DEeS-X4lB2Ut-YA"/> - </representations> - <representations children="_vBCFAACiEeabH6-I0dvpUQ" hint="Parameters" name="Parameters Compartment" xmi:id="_59LCcACiEeabH6-I0dvpUQ" xsi:type="expansionmodel:InducedRepresentation"> - <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_vbTKYN0DEeS-X4lB2Ut-YA"/> - </representations> - <representations editPartQualifiedName="" hint="Operation_BorderItem_Stereotype_Label" name="Stereotype Label representation for BorderItem" xmi:id="_CvPDsFVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:InducedRepresentation"> - <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_dG-hoN0HEeSfTfTnKh2G1Q"/> - </representations> - <representations editPartQualifiedName="" hint="Operation_BorderItem_Label" name=" Name Label representation for BorderItem" xmi:id="_CvPDsVVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:InducedRepresentation"> - <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_dG-hoN0HEeSfTfTnKh2G1Q"/> - </representations> - <representations children="_CvOcoFVqEeW77p7V_ZuW3Q" hint="constraints" name="Constraint Compartment" xmi:id="_CvPDslVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:InducedRepresentation"> - <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_vbTKYN0DEeS-X4lB2Ut-YA"/> - </representations> - <representations children="_CvOcpFVqEeW77p7V_ZuW3Q" hint="Proxy Ports" name="ProxyPort Compartment" xmi:id="_CvPDs1VqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:InducedRepresentation"> - <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_vbTKYN0DEeS-X4lB2Ut-YA"/> - </representations> - <representations children="_CvOcpVVqEeW77p7V_ZuW3Q" hint="Full Ports" name="FullPort Compartment" xmi:id="_CvPDtFVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:InducedRepresentation"> - <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_vbTKYN0DEeS-X4lB2Ut-YA"/> - </representations> - <representations children="_CvOcplVqEeW77p7V_ZuW3Q" hint="References" name="References Compartment" xmi:id="_CvPDtVVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:InducedRepresentation"> - <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_vbTKYN0DEeS-X4lB2Ut-YA"/> - </representations> - <representations children="_y-W7oGFAEeWbSMDuSXx8SQ" hint="Flow Properties" name="FlowProperties Compartment" xmi:id="_CSMSEGFBEeWbSMDuSXx8SQ" xsi:type="expansionmodel:InducedRepresentation"> - <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_vbTKYN0DEeS-X4lB2Ut-YA"/> - </representations> - </libraries> -</expansionmodel:DiagramExpansion>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/resources/doc/org.eclipse.papyrus.sysml14.diagram.blockdefinition.notation b/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/resources/doc/org.eclipse.papyrus.sysml14.diagram.blockdefinition.notation deleted file mode 100644 index 84c702f..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/resources/doc/org.eclipse.papyrus.sysml14.diagram.blockdefinition.notation +++ /dev/null
@@ -1,452 +0,0 @@ -<?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:configuration="http://www.eclipse.org/papyrus/infra/viewpoints/configuration" xmlns:css="http://www.eclipse.org/papyrus/infra/gmfdiag/css" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:nattable="http://www.eclipse.org/papyrus/nattable/model" xmlns:nattableaxis="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis" xmlns:nattableaxisconfiguration="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration" xmlns:nattableaxisprovider="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider" xmlns:nattableconfiguration="http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration" xmlns:nattablestyle="http://www.eclipse.org/papyrus/nattable/model/table/nattablestyle" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis http://www.eclipse.org/papyrus/nattable/model#//nattableaxis http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration http://www.eclipse.org/papyrus/nattable/model#//nattableaxisconfiguration http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider http://www.eclipse.org/papyrus/nattable/model#//nattableaxisprovider http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration http://www.eclipse.org/papyrus/nattable/model#//nattableconfiguration http://www.eclipse.org/papyrus/nattable/model/table/nattablestyle http://www.eclipse.org/papyrus/nattable/model#//nattablestyle"> - <notation:Diagram xmi:id="_OF23gOLIEeSv5dwvZ9NSDw" type="PapyrusUMLClassDiagram" name="Overview" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_OF3ekOLIEeSv5dwvZ9NSDw" type="2005"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3ekeLIEeSv5dwvZ9NSDw" type="5020"/> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3ekuLIEeSv5dwvZ9NSDw" type="7009"> - <styles xmi:type="notation:TitleStyle" xmi:id="_OF3ek-LIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3elOLIEeSv5dwvZ9NSDw"/> - </children> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eleLIEeSv5dwvZ9NSDw" x="201" y="38"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_OF3eluLIEeSv5dwvZ9NSDw" type="2005"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3el-LIEeSv5dwvZ9NSDw" type="5020"/> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3emOLIEeSv5dwvZ9NSDw" type="7009"> - <styles xmi:type="notation:TitleStyle" xmi:id="_OF3emeLIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3emuLIEeSv5dwvZ9NSDw"/> - </children> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_OFsfc-LIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3em-LIEeSv5dwvZ9NSDw" x="204" y="173"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_OF3enOLIEeSv5dwvZ9NSDw" type="2005"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3eneLIEeSv5dwvZ9NSDw" type="5020"/> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3enuLIEeSv5dwvZ9NSDw" type="7009"> - <styles xmi:type="notation:TitleStyle" xmi:id="_OF3en-LIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eoOLIEeSv5dwvZ9NSDw"/> - </children> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_OFsfduLIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eoeLIEeSv5dwvZ9NSDw" x="206" y="329"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_OF3eouLIEeSv5dwvZ9NSDw" type="2005"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3eo-LIEeSv5dwvZ9NSDw" type="5020"/> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3epOLIEeSv5dwvZ9NSDw" type="7009"> - <styles xmi:type="notation:TitleStyle" xmi:id="_OF3epeLIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3epuLIEeSv5dwvZ9NSDw"/> - </children> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_OFsfeOLIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3ep-LIEeSv5dwvZ9NSDw" x="635" y="324"/> - </children> - <styles xmi:type="notation:DiagramStyle" xmi:id="_OF3eqOLIEeSv5dwvZ9NSDw"/> - <styles xmi:type="style:PapyrusViewStyle" xmi:id="_OF3eqeLIEeSv5dwvZ9NSDw"> - <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_OFsfcOLIEeSv5dwvZ9NSDw"/> - <configuration xmi:type="configuration:PapyrusDiagram" href="platform:/plugin/org.eclipse.papyrus.infra.viewpoints.policy/builtin/default.configuration#_7wLmpNxhEeOqHvRyiN87hA"/> - </styles> - <styles xmi:type="notation:StringValueStyle" xmi:id="_ffusMFCLEeWVDv-g61eepg" name="diagram_compatibility_version" stringValue="1.1.0"/> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_OFsfcOLIEeSv5dwvZ9NSDw"/> - <edges xmi:type="notation:Connector" xmi:id="_OF3equLIEeSv5dwvZ9NSDw" type="4006" source="_OF3eluLIEeSv5dwvZ9NSDw" target="_OF3ekOLIEeSv5dwvZ9NSDw"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3eq-LIEeSv5dwvZ9NSDw" visible="false" type="6014"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3erOLIEeSv5dwvZ9NSDw" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3ereLIEeSv5dwvZ9NSDw" visible="false" type="6015"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3eruLIEeSv5dwvZ9NSDw" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_OF3er-LIEeSv5dwvZ9NSDw"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_OFsfdOLIEeSv5dwvZ9NSDw"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OF3esOLIEeSv5dwvZ9NSDw" points="[-2, -10, 8, 48]$[-27, -45, -17, 13]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3eseLIEeSv5dwvZ9NSDw" id="(0.305,0.1)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3esuLIEeSv5dwvZ9NSDw" id="(0.27,0.87)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_OF3es-LIEeSv5dwvZ9NSDw" type="4006" source="_OF3enOLIEeSv5dwvZ9NSDw" target="_OF3eluLIEeSv5dwvZ9NSDw"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3etOLIEeSv5dwvZ9NSDw" visible="false" type="6014"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3eteLIEeSv5dwvZ9NSDw" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3etuLIEeSv5dwvZ9NSDw" visible="false" type="6015"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3et-LIEeSv5dwvZ9NSDw" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_OF3euOLIEeSv5dwvZ9NSDw"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_OFsfd-LIEeSv5dwvZ9NSDw"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OF3eueLIEeSv5dwvZ9NSDw" points="[-9, -16, 0, 67]$[-24, -72, -15, 11]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3euuLIEeSv5dwvZ9NSDw" id="(0.27,0.16)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3eu-LIEeSv5dwvZ9NSDw" id="(0.235,0.89)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_OF3evOLIEeSv5dwvZ9NSDw" type="4008" source="_OF3eouLIEeSv5dwvZ9NSDw" target="_OF3eluLIEeSv5dwvZ9NSDw"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3eveLIEeSv5dwvZ9NSDw" visible="false" type="6026"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3evuLIEeSv5dwvZ9NSDw" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3ev-LIEeSv5dwvZ9NSDw" visible="false" type="6027"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3ewOLIEeSv5dwvZ9NSDw" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_OF3eweLIEeSv5dwvZ9NSDw"/> - <element xmi:type="uml:Dependency" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_OFsfeeLIEeSv5dwvZ9NSDw"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OF3ewuLIEeSv5dwvZ9NSDw" points="[-46, -20, 265, 113]$[-275, -135, 36, -2]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3ew-LIEeSv5dwvZ9NSDw" id="(0.0,0.24)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3exOLIEeSv5dwvZ9NSDw" id="(1.0,0.65)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_OF3exeLIEeSv5dwvZ9NSDw" type="4008" source="_OF3eouLIEeSv5dwvZ9NSDw" target="_OF3enOLIEeSv5dwvZ9NSDw"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3exuLIEeSv5dwvZ9NSDw" visible="false" type="6026"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3ex-LIEeSv5dwvZ9NSDw" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3eyOLIEeSv5dwvZ9NSDw" visible="false" type="6027"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3eyeLIEeSv5dwvZ9NSDw" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_OF3eyuLIEeSv5dwvZ9NSDw"/> - <element xmi:type="uml:Dependency" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_OFsfeuLIEeSv5dwvZ9NSDw"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OF3ey-LIEeSv5dwvZ9NSDw" points="[-40, 1, 262, -12]$[-267, 20, 35, 7]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3ezOLIEeSv5dwvZ9NSDw" id="(0.0,0.69)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3ezeLIEeSv5dwvZ9NSDw" id="(1.0,0.64)"/> - </edges> - </notation:Diagram> - <css:ModelStyleSheets xmi:id="_MXBlUOc1EeSLdPGe2q9R0g"/> - <nattable:Table xmi:id="_FB4isOgEEeSUQvXhEVQh8w" name="Palette Requirement Table" currentRowAxisProvider="_FB4itegEEeSUQvXhEVQh8w" currentColumnAxisProvider="_FB4isegEEeSUQvXhEVQh8w"> - <context xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> - <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> - <prototype xmi:type="configuration:PapyrusSyncTable" href="platform:/plugin/org.eclipse.papyrus.infra.viewpoints.policy/builtin/default.configuration#_7wNb3txhEeOqHvRyiN87hA"/> - <tableConfiguration xmi:type="nattableconfiguration:TableConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.nattable.requirement.config/configs/requirement.nattableconfiguration#/"/> - <columnAxisProvidersHistory xmi:type="nattableaxisprovider:SlaveObjectAxisProvider" xmi:id="_FB4isegEEeSUQvXhEVQh8w" description="Provides the columns of the tables with a default configuration" name="Requirements Feature Columns Provider"> - <axis xmi:type="nattableaxis:FeatureIdAxis" xmi:id="_FB4isugEEeSUQvXhEVQh8w" element="property_of_stereotype:/SysML::Requirements::Requirement::id"> - <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_0CX7UOgIEeSUQvXhEVQh8w" name="axisWidth" intValue="320"/> - <manager xmi:type="nattableaxisconfiguration:AxisManagerRepresentation" href="platform:/plugin/org.eclipse.papyrus.sysml.nattable.requirement.config/configs/requirement.nattableconfiguration#//@columnHeaderAxisConfiguration/@axisManagers.1"/> - </axis> - <axis xmi:type="nattableaxis:EStructuralFeatureAxis" xmi:id="_FB4is-gEEeSUQvXhEVQh8w"> - <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_0C78AOgIEeSUQvXhEVQh8w" name="axisWidth" intValue="260"/> - <manager xmi:type="nattableaxisconfiguration:AxisManagerRepresentation" href="platform:/plugin/org.eclipse.papyrus.sysml.nattable.requirement.config/configs/requirement.nattableconfiguration#//@columnHeaderAxisConfiguration/@axisManagers.0"/> - <element xmi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </axis> - <axis xmi:type="nattableaxis:FeatureIdAxis" xmi:id="_FB4itOgEEeSUQvXhEVQh8w" element="property_of_stereotype:/SysML::Requirements::Requirement::text"> - <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_0C9KIOgIEeSUQvXhEVQh8w" name="axisWidth" intValue="220"/> - <manager xmi:type="nattableaxisconfiguration:AxisManagerRepresentation" href="platform:/plugin/org.eclipse.papyrus.sysml.nattable.requirement.config/configs/requirement.nattableconfiguration#//@columnHeaderAxisConfiguration/@axisManagers.1"/> - </axis> - </columnAxisProvidersHistory> - <rowAxisProvidersHistory xmi:type="nattableaxisprovider:MasterObjectAxisProvider" xmi:id="_FB4itegEEeSUQvXhEVQh8w" description="Provides the requirements directly owned by the context of the table" name="Requirement Axis Provider" disconnectSlave="true"/> - <localRowHeaderAxisConfiguration xmi:type="nattableaxisconfiguration:LocalTableHeaderAxisConfiguration" xmi:id="_9enkgBTEEeWVdLvX1TqBVg" indexStyle="NUMERIC"> - <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_9etrIBTEEeWVdLvX1TqBVg" name="rowLabelWidth" intValue="345"/> - <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_9gBSsBTEEeWVdLvX1TqBVg" name="rowIndexWidth" intValue="165"/> - </localRowHeaderAxisConfiguration> - <localColumnHeaderAxisConfiguration xmi:type="nattableaxisconfiguration:LocalTableHeaderAxisConfiguration" xmi:id="_9f-PYBTEEeWVdLvX1TqBVg"> - <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_9f-2cBTEEeWVdLvX1TqBVg" name="columnIndexHeight" intValue="25"/> - <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_9f_dgBTEEeWVdLvX1TqBVg" name="columnLabelHeight" intValue="25"/> - </localColumnHeaderAxisConfiguration> - </nattable:Table> - <notation:Diagram xmi:id="_uc4A8FCLEeWVDv-g61eepg" type="PapyrusUMLClassDiagram" name="Requirement Tracability" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_vahU8FCLEeWVDv-g61eepg" type="2008"> - <children xmi:type="notation:DecorationNode" xmi:id="_vajxMFCLEeWVDv-g61eepg" type="5029"/> - <children xmi:type="notation:DecorationNode" xmi:id="_vajxMVCLEeWVDv-g61eepg" type="8510"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_vajxMlCLEeWVDv-g61eepg" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_vakYQFCLEeWVDv-g61eepg" visible="false" type="7017"> - <styles xmi:type="notation:TitleStyle" xmi:id="_vakYQVCLEeWVDv-g61eepg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_vakYQlCLEeWVDv-g61eepg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_vakYQ1CLEeWVDv-g61eepg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vakYRFCLEeWVDv-g61eepg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_vak_UFCLEeWVDv-g61eepg" visible="false" type="7018"> - <styles xmi:type="notation:TitleStyle" xmi:id="_vak_UVCLEeWVDv-g61eepg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_vak_UlCLEeWVDv-g61eepg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_vak_U1CLEeWVDv-g61eepg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vak_VFCLEeWVDv-g61eepg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_vak_VVCLEeWVDv-g61eepg" visible="false" type="7019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_vak_VlCLEeWVDv-g61eepg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_vak_V1CLEeWVDv-g61eepg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_vak_WFCLEeWVDv-g61eepg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vak_WVCLEeWVDv-g61eepg"/> - </children> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_a0GrwOLIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vahU8VCLEeWVDv-g61eepg" x="60" y="160" width="321" height="41"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_vbHx4FCLEeWVDv-g61eepg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_vbHx4VCLEeWVDv-g61eepg" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_vbIY8FCLEeWVDv-g61eepg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_a0GrwOLIEeSv5dwvZ9NSDw"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vbHx4lCLEeWVDv-g61eepg" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_zPEkoFCLEeWVDv-g61eepg" type="2008"> - <children xmi:type="notation:DecorationNode" xmi:id="_zPEkolCLEeWVDv-g61eepg" type="5029"/> - <children xmi:type="notation:DecorationNode" xmi:id="_zPEko1CLEeWVDv-g61eepg" type="8510"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_zPFLsFCLEeWVDv-g61eepg" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_zPFLsVCLEeWVDv-g61eepg" visible="false" type="7017"> - <styles xmi:type="notation:TitleStyle" xmi:id="_zPFLslCLEeWVDv-g61eepg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_zPFLs1CLEeWVDv-g61eepg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_zPFLtFCLEeWVDv-g61eepg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zPFLtVCLEeWVDv-g61eepg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_zPFLtlCLEeWVDv-g61eepg" visible="false" type="7018"> - <styles xmi:type="notation:TitleStyle" xmi:id="_zPFLt1CLEeWVDv-g61eepg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_zPFLuFCLEeWVDv-g61eepg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_zPFLuVCLEeWVDv-g61eepg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zPFLulCLEeWVDv-g61eepg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_zPFLu1CLEeWVDv-g61eepg" visible="false" type="7019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_zPFLvFCLEeWVDv-g61eepg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_zPFLvVCLEeWVDv-g61eepg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_zPFLvlCLEeWVDv-g61eepg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zPFLv1CLEeWVDv-g61eepg"/> - </children> - <element xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66Gknzq8EeW79ofuztDyTA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zPEkoVCLEeWVDv-g61eepg" x="60" y="20" height="61"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_zPai4FCLEeWVDv-g61eepg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_zPai4VCLEeWVDv-g61eepg" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_zPai41CLEeWVDv-g61eepg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66Gknzq8EeW79ofuztDyTA"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zPai4lCLEeWVDv-g61eepg" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="__C9CY1CLEeWVDv-g61eepg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="__C9CZFCLEeWVDv-g61eepg" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="__C9CZlCLEeWVDv-g61eepg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_3etN0FCLEeWVDv-g61eepg"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="__C9CZVCLEeWVDv-g61eepg" x="481" y="260"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_zP-nIAChEeabH6-I0dvpUQ" type="2008"> - <children xmi:type="notation:DecorationNode" xmi:id="_zQC4kAChEeabH6-I0dvpUQ" type="5029"/> - <children xmi:type="notation:DecorationNode" xmi:id="_zQC4kQChEeabH6-I0dvpUQ" type="8510"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_zQDfoAChEeabH6-I0dvpUQ" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_zQEGsAChEeabH6-I0dvpUQ" visible="false" type="7017"> - <styles xmi:type="notation:TitleStyle" xmi:id="_zQEGsQChEeabH6-I0dvpUQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_zQEGsgChEeabH6-I0dvpUQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_zQEGswChEeabH6-I0dvpUQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zQEGtAChEeabH6-I0dvpUQ"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_zQEGtQChEeabH6-I0dvpUQ" visible="false" type="7018"> - <styles xmi:type="notation:TitleStyle" xmi:id="_zQEGtgChEeabH6-I0dvpUQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_zQEGtwChEeabH6-I0dvpUQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_zQEGuAChEeabH6-I0dvpUQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zQEGuQChEeabH6-I0dvpUQ"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_zQEGugChEeabH6-I0dvpUQ" visible="false" type="7019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_zQEGuwChEeabH6-I0dvpUQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_zQEGvAChEeabH6-I0dvpUQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_zQEGvQChEeabH6-I0dvpUQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zQEGvgChEeabH6-I0dvpUQ"/> - </children> - <element xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66Puhzq8EeW79ofuztDyTA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zP-nIQChEeabH6-I0dvpUQ" x="458" y="23" height="50"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_zQ07sAChEeabH6-I0dvpUQ" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_zQ07sQChEeabH6-I0dvpUQ" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_zQ07swChEeabH6-I0dvpUQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66Puhzq8EeW79ofuztDyTA"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zQ07sgChEeabH6-I0dvpUQ" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_zxZ5MAChEeabH6-I0dvpUQ" type="2008"> - <children xmi:type="notation:DecorationNode" xmi:id="_zxZ5MgChEeabH6-I0dvpUQ" type="5029"/> - <children xmi:type="notation:DecorationNode" xmi:id="_zxZ5MwChEeabH6-I0dvpUQ" type="8510"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_zxZ5NAChEeabH6-I0dvpUQ" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_zxZ5NQChEeabH6-I0dvpUQ" visible="false" type="7017"> - <styles xmi:type="notation:TitleStyle" xmi:id="_zxZ5NgChEeabH6-I0dvpUQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_zxZ5NwChEeabH6-I0dvpUQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_zxZ5OAChEeabH6-I0dvpUQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zxZ5OQChEeabH6-I0dvpUQ"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_zxagQAChEeabH6-I0dvpUQ" visible="false" type="7018"> - <styles xmi:type="notation:TitleStyle" xmi:id="_zxagQQChEeabH6-I0dvpUQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_zxagQgChEeabH6-I0dvpUQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_zxagQwChEeabH6-I0dvpUQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zxagRAChEeabH6-I0dvpUQ"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_zxagRQChEeabH6-I0dvpUQ" visible="false" type="7019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_zxagRgChEeabH6-I0dvpUQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_zxagRwChEeabH6-I0dvpUQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_zxagSAChEeabH6-I0dvpUQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zxagSQChEeabH6-I0dvpUQ"/> - </children> - <element xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66PuiTq8EeW79ofuztDyTA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zxZ5MQChEeabH6-I0dvpUQ" x="832" y="22" height="50"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_zyCyYwChEeabH6-I0dvpUQ" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_zyCyZAChEeabH6-I0dvpUQ" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_zyCyZgChEeabH6-I0dvpUQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66PuiTq8EeW79ofuztDyTA"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_zyCyZQChEeabH6-I0dvpUQ" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_InXbcACiEeabH6-I0dvpUQ" type="2008"> - <children xmi:type="notation:DecorationNode" xmi:id="_InYCgACiEeabH6-I0dvpUQ" type="5029"/> - <children xmi:type="notation:DecorationNode" xmi:id="_InYCgQCiEeabH6-I0dvpUQ" type="8510"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_InYCggCiEeabH6-I0dvpUQ" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_InYCgwCiEeabH6-I0dvpUQ" visible="false" type="7017"> - <styles xmi:type="notation:TitleStyle" xmi:id="_InYChACiEeabH6-I0dvpUQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_InYChQCiEeabH6-I0dvpUQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_InYChgCiEeabH6-I0dvpUQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_InYChwCiEeabH6-I0dvpUQ"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_InYCiACiEeabH6-I0dvpUQ" visible="false" type="7018"> - <styles xmi:type="notation:TitleStyle" xmi:id="_InYCiQCiEeabH6-I0dvpUQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_InYCigCiEeabH6-I0dvpUQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_InYCiwCiEeabH6-I0dvpUQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_InYCjACiEeabH6-I0dvpUQ"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_InYCjQCiEeabH6-I0dvpUQ" visible="false" type="7019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_InYCjgCiEeabH6-I0dvpUQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_InYCjwCiEeabH6-I0dvpUQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_InYCkACiEeabH6-I0dvpUQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_InYCkQCiEeabH6-I0dvpUQ"/> - </children> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_7zbO4AChEeabH6-I0dvpUQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_InXbcQCiEeabH6-I0dvpUQ" x="775" y="181" height="38"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_Inf-UwCiEeabH6-I0dvpUQ" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Inf-VACiEeabH6-I0dvpUQ" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Inf-VgCiEeabH6-I0dvpUQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_7zbO4AChEeabH6-I0dvpUQ"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Inf-VQCiEeabH6-I0dvpUQ" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_L_MS4ACiEeabH6-I0dvpUQ" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_L_MS4QCiEeabH6-I0dvpUQ" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_L_MS4wCiEeabH6-I0dvpUQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_K1HFYACiEeabH6-I0dvpUQ"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_L_MS4gCiEeabH6-I0dvpUQ" x="1016" y="104"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_Mt5zAwCiEeabH6-I0dvpUQ" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Mt5zBACiEeabH6-I0dvpUQ" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Mt6aEACiEeabH6-I0dvpUQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_KLUhgACiEeabH6-I0dvpUQ"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Mt5zBQCiEeabH6-I0dvpUQ" x="1016" y="104"/> - </children> - <styles xmi:type="notation:StringValueStyle" xmi:id="_uc4A8VCLEeWVDv-g61eepg" name="diagram_compatibility_version" stringValue="1.1.0"/> - <styles xmi:type="notation:DiagramStyle" xmi:id="_uc4A8lCLEeWVDv-g61eepg"/> - <styles xmi:type="style:PapyrusViewStyle" xmi:id="_uc4A81CLEeWVDv-g61eepg"> - <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> - </styles> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> - <edges xmi:type="notation:Connector" xmi:id="_vbJnEFCLEeWVDv-g61eepg" type="StereotypeCommentLink" source="_vahU8FCLEeWVDv-g61eepg" target="_vbHx4FCLEeWVDv-g61eepg"> - <styles xmi:type="notation:FontStyle" xmi:id="_vbJnEVCLEeWVDv-g61eepg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_vbJnFVCLEeWVDv-g61eepg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_a0GrwOLIEeSv5dwvZ9NSDw"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_vbJnElCLEeWVDv-g61eepg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_vbJnE1CLEeWVDv-g61eepg"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_vbJnFFCLEeWVDv-g61eepg"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_zPai5FCLEeWVDv-g61eepg" type="StereotypeCommentLink" source="_zPEkoFCLEeWVDv-g61eepg" target="_zPai4FCLEeWVDv-g61eepg"> - <styles xmi:type="notation:FontStyle" xmi:id="_zPai5VCLEeWVDv-g61eepg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_zPbJ8FCLEeWVDv-g61eepg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66Gknzq8EeW79ofuztDyTA"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_zPai5lCLEeWVDv-g61eepg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zPai51CLEeWVDv-g61eepg"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zPai6FCLEeWVDv-g61eepg"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_3fDzIFCLEeWVDv-g61eepg" type="4006" source="_vahU8FCLEeWVDv-g61eepg" target="_zPEkoFCLEeWVDv-g61eepg"> - <children xmi:type="notation:DecorationNode" xmi:id="_3fEaMFCLEeWVDv-g61eepg" type="6014"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_3fEaMVCLEeWVDv-g61eepg" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_3fEaMlCLEeWVDv-g61eepg" type="6015"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_3fEaM1CLEeWVDv-g61eepg" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_3fDzIVCLEeWVDv-g61eepg"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_3etN0FCLEeWVDv-g61eepg"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_3fDzIlCLEeWVDv-g61eepg" points="[9, -17, -107, 191]$[98, -218, -18, -10]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GAli4FCMEeWVDv-g61eepg" id="(0.4984423676012461,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Fpss4FCMEeWVDv-g61eepg" id="(0.4892966360856269,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="__C9pcFCLEeWVDv-g61eepg" type="StereotypeCommentLink" source="_3fDzIFCLEeWVDv-g61eepg" target="__C9CY1CLEeWVDv-g61eepg"> - <styles xmi:type="notation:FontStyle" xmi:id="__C9pcVCLEeWVDv-g61eepg"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="__C9pdVCLEeWVDv-g61eepg" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_3etN0FCLEeWVDv-g61eepg"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="__C9pclCLEeWVDv-g61eepg" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="__C9pc1CLEeWVDv-g61eepg"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="__C9pdFCLEeWVDv-g61eepg"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_zQ1iwAChEeabH6-I0dvpUQ" type="StereotypeCommentLink" source="_zP-nIAChEeabH6-I0dvpUQ" target="_zQ07sAChEeabH6-I0dvpUQ"> - <styles xmi:type="notation:FontStyle" xmi:id="_zQ1iwQChEeabH6-I0dvpUQ"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_zQ1ixQChEeabH6-I0dvpUQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66Puhzq8EeW79ofuztDyTA"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_zQ1iwgChEeabH6-I0dvpUQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zQ1iwwChEeabH6-I0dvpUQ"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zQ1ixAChEeabH6-I0dvpUQ"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_zyCyZwChEeabH6-I0dvpUQ" type="StereotypeCommentLink" source="_zxZ5MAChEeabH6-I0dvpUQ" target="_zyCyYwChEeabH6-I0dvpUQ"> - <styles xmi:type="notation:FontStyle" xmi:id="_zyCyaAChEeabH6-I0dvpUQ"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_zyDZcgChEeabH6-I0dvpUQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66PuiTq8EeW79ofuztDyTA"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_zyCyaQChEeabH6-I0dvpUQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zyDZcAChEeabH6-I0dvpUQ"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_zyDZcQChEeabH6-I0dvpUQ"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_Inf-VwCiEeabH6-I0dvpUQ" type="StereotypeCommentLink" source="_InXbcACiEeabH6-I0dvpUQ" target="_Inf-UwCiEeabH6-I0dvpUQ"> - <styles xmi:type="notation:FontStyle" xmi:id="_Inf-WACiEeabH6-I0dvpUQ"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_InglYgCiEeabH6-I0dvpUQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_7zbO4AChEeabH6-I0dvpUQ"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Inf-WQCiEeabH6-I0dvpUQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_InglYACiEeabH6-I0dvpUQ"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_InglYQCiEeabH6-I0dvpUQ"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_KLb2QACiEeabH6-I0dvpUQ" type="4006" source="_InXbcACiEeabH6-I0dvpUQ" target="_zxZ5MAChEeabH6-I0dvpUQ"> - <children xmi:type="notation:DecorationNode" xmi:id="_KLcdUACiEeabH6-I0dvpUQ" type="6014"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_KLcdUQCiEeabH6-I0dvpUQ" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_KLcdUgCiEeabH6-I0dvpUQ" type="6015"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_KLcdUwCiEeabH6-I0dvpUQ" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_KLb2QQCiEeabH6-I0dvpUQ"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_KLUhgACiEeabH6-I0dvpUQ"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_KLb2QgCiEeabH6-I0dvpUQ" points="[1, -9, -32, 180]$[1, -202, -32, -13]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KMBFEACiEeabH6-I0dvpUQ" id="(0.5652173913043478,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_KMBFEQCiEeabH6-I0dvpUQ" id="(0.21153846153846154,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_K1OaIACiEeabH6-I0dvpUQ" type="4006" source="_InXbcACiEeabH6-I0dvpUQ" target="_zP-nIAChEeabH6-I0dvpUQ"> - <children xmi:type="notation:DecorationNode" xmi:id="_K1PBMACiEeabH6-I0dvpUQ" type="6014"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_K1PBMQCiEeabH6-I0dvpUQ" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_K1PBMgCiEeabH6-I0dvpUQ" type="6015"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_K1PBMwCiEeabH6-I0dvpUQ" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_K1OaIQCiEeabH6-I0dvpUQ"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_K1HFYACiEeabH6-I0dvpUQ"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_K1OaIgCiEeabH6-I0dvpUQ" points="[-6, -11, 357, 192]$[6, -165, 369, 38]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_K1uJYACiEeabH6-I0dvpUQ" id="(0.08074534161490683,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_K1uJYQCiEeabH6-I0dvpUQ" id="(0.8319783197831978,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_L_MS5ACiEeabH6-I0dvpUQ" type="StereotypeCommentLink" source="_K1OaIACiEeabH6-I0dvpUQ" target="_L_MS4ACiEeabH6-I0dvpUQ"> - <styles xmi:type="notation:FontStyle" xmi:id="_L_MS5QCiEeabH6-I0dvpUQ"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_L_MS6QCiEeabH6-I0dvpUQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_K1HFYACiEeabH6-I0dvpUQ"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_L_MS5gCiEeabH6-I0dvpUQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_L_MS5wCiEeabH6-I0dvpUQ"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_L_MS6ACiEeabH6-I0dvpUQ"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_Mt6aEQCiEeabH6-I0dvpUQ" type="StereotypeCommentLink" source="_KLb2QACiEeabH6-I0dvpUQ" target="_Mt5zAwCiEeabH6-I0dvpUQ"> - <styles xmi:type="notation:FontStyle" xmi:id="_Mt6aEgCiEeabH6-I0dvpUQ"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_Mt6aFgCiEeabH6-I0dvpUQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml#_KLUhgACiEeabH6-I0dvpUQ"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_Mt6aEwCiEeabH6-I0dvpUQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Mt6aFACiEeabH6-I0dvpUQ"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Mt6aFQCiEeabH6-I0dvpUQ"/> - </edges> - </notation:Diagram> -</xmi:XMI>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/resources/doc/org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml b/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/resources/doc/org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml deleted file mode 100644 index ed8c4e0..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/resources/doc/org.eclipse.papyrus.sysml14.diagram.blockdefinition.uml +++ /dev/null
@@ -1,203 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Requirements="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <uml:Model xmi:id="_OFsfcOLIEeSv5dwvZ9NSDw" name="org.eclipse.papyrus.sysml14.diagram.blockdefinition"> - <packageImport xmi:type="uml:PackageImport" xmi:id="_OFsfceLIEeSv5dwvZ9NSDw"> - <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/> - </packageImport> - <packagedElement xmi:type="uml:Model" xmi:id="_OFsfcuLIEeSv5dwvZ9NSDw" name="Requirements"> - <ownedComment xmi:type="uml:Comment" xmi:id="_dICO8Oc2EeSLdPGe2q9R0g"> - <body>This package will contains all graphical requirements for Sysml elements contained int he Block package and displayed in the BDD diagram</body> - </ownedComment> - <packagedElement xmi:type="uml:Class" xmi:id="_a0GrwOLIEeSv5dwvZ9NSDw" name="Block display"/> - <packagedElement xmi:type="uml:Class" xmi:id="_lLZBYOc2EeSLdPGe2q9R0g" name="The block can display constraints "/> - <packagedElement xmi:type="uml:Class" xmi:id="_SnnPoB_KEeWp9rJ2gmw59A" name="FlowPortCompartment"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_3etN0FCLEeWVDv-g61eepg" client="_a0GrwOLIEeSv5dwvZ9NSDw"> - <supplier xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66Gknzq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_13F9sGauEeWv7P_h5u3SSw" name="FlowSpecification"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_14bacGauEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-C.3.1.2 FlowSpecification" client="_13F9sGauEeWv7P_h5u3SSw"> - <supplier xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66bUujq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_rHmEMGalEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-16.3.2.5 TestCase 1" client="_rFDGgGalEeWv7P_h5u3SSw"> - <supplier xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66XDTzq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_2AL-YGalEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-16.3.2.5 TestCase 2" client="_2AKJMGalEeWv7P_h5u3SSw"> - <supplier xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66XDTzq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_26IeIGalEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-16.3.2.5 TestCase 3" client="_26HQAGalEeWv7P_h5u3SSw"> - <supplier xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66XDTzq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_3n9NcGalEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-16.3.2.5 TestCase 4" client="_3n7_UGalEeWv7P_h5u3SSw"> - <supplier xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66XDTzq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_4VvggGalEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-16.3.2.5 TestCase 5" client="_4VuSYGalEeWv7P_h5u3SSw"> - <supplier xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66XDTzq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_5JBXkGalEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-16.3.2.5 TestCase 6" client="_5JAJcGalEeWv7P_h5u3SSw"> - <supplier xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66XDTzq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_9sBksI3hEeWA_aqQQ02JeA" name="Allocate"/> - <packagedElement xmi:type="uml:Class" xmi:id="_9sBksY3hEeWA_aqQQ02JeA" name="Allocated"/> - <packagedElement xmi:type="uml:Class" xmi:id="_9sBkso3hEeWA_aqQQ02JeA" name="Conform"/> - <packagedElement xmi:type="uml:Class" xmi:id="_9sBks43hEeWA_aqQQ02JeA" name="Problem"/> - <packagedElement xmi:type="uml:Class" xmi:id="_9sBktI3hEeWA_aqQQ02JeA" name="Rationale"/> - <packagedElement xmi:type="uml:Class" xmi:id="_9sBktY3hEeWA_aqQQ02JeA" name="View"/> - <packagedElement xmi:type="uml:Class" xmi:id="_9sBkto3hEeWA_aqQQ02JeA" name="Viewpoint"/> - <packagedElement xmi:type="uml:Class" xmi:id="_9sBkuI3hEeWA_aqQQ02JeA" name="ConnectorProperty"/> - <packagedElement xmi:type="uml:Class" xmi:id="_9sBkuY3hEeWA_aqQQ02JeA" name="DistributedProperty"/> - <packagedElement xmi:type="uml:Class" xmi:id="_9sBkuo3hEeWA_aqQQ02JeA" name="ParticipantProperty"/> - <packagedElement xmi:type="uml:Class" xmi:id="_9sBku43hEeWA_aqQQ02JeA" name="PropertySpecificType"/> - <packagedElement xmi:type="uml:Class" xmi:id="_9sBkvI3hEeWA_aqQQ02JeA" name="QuantityKind"/> - <packagedElement xmi:type="uml:Class" xmi:id="_9sBkvY3hEeWA_aqQQ02JeA" name="Unit"/> - <packagedElement xmi:type="uml:Class" xmi:id="_9sBkvo3hEeWA_aqQQ02JeA" name="ValueType"/> - <packagedElement xmi:type="uml:Class" xmi:id="_9sBkv43hEeWA_aqQQ02JeA" name="ItemFlow"/> - <packagedElement xmi:type="uml:Class" xmi:id="_9sCLwY3hEeWA_aqQQ02JeA" name="InformationFlow"/> - <packagedElement xmi:type="uml:Class" xmi:id="_9sCLwo3hEeWA_aqQQ02JeA" name="InformationItem"/> - <packagedElement xmi:type="uml:Class" xmi:id="_9sCLw43hEeWA_aqQQ02JeA" name="Requirement"/> - <packagedElement xmi:type="uml:Class" xmi:id="_9sCLxI3hEeWA_aqQQ02JeA" name="RequirementRelated"/> - <packagedElement xmi:type="uml:Class" xmi:id="_9sCLxY3hEeWA_aqQQ02JeA" name="TestCase"> - <nestedClassifier xmi:type="uml:Class" xmi:id="_rFDGgGalEeWv7P_h5u3SSw" name="palette for Activity with TestCase stereotype"/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_2AKJMGalEeWv7P_h5u3SSw" name="palette for FunctionBehavior with TestCase stereotype"/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_26HQAGalEeWv7P_h5u3SSw" name="palette for OpaqueBehavior with TestCase stereotype"/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_3n7_UGalEeWv7P_h5u3SSw" name="palette for ProtocolStateMachine with TestCase stereotype"/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_4VuSYGalEeWv7P_h5u3SSw" name="palette for StateMachine with TestCase stereotype"/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_5JAJcGalEeWv7P_h5u3SSw" name="palette for Interaction with TestCase stereotype"/> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_9sCLxo3hEeWA_aqQQ02JeA" name="Satisfy"/> - <packagedElement xmi:type="uml:Class" xmi:id="_9sCLx43hEeWA_aqQQ02JeA" name="Verify"/> - <packagedElement xmi:type="uml:Class" xmi:id="_9sCLyI3hEeWA_aqQQ02JeA" name="DirectedFeature"/> - <packagedElement xmi:type="uml:Class" xmi:id="_9sCLyY3hEeWA_aqQQ02JeA" name="FlowProperty"/> - <packagedElement xmi:type="uml:Class" xmi:id="_9sCLyo3hEeWA_aqQQ02JeA" name="InterfaceBlock"/> - <packagedElement xmi:type="uml:Class" xmi:id="_9sCLy43hEeWA_aqQQ02JeA" name="AssociationBlock"/> - <packagedElement xmi:type="uml:Class" xmi:id="_aMTSAOgEEeSUQvXhEVQh8w" name="Actor in BDD"/> - <packagedElement xmi:type="uml:Class" xmi:id="_axoMoOgEEeSUQvXhEVQh8w" name="Enumeration in BDD "/> - <packagedElement xmi:type="uml:Class" xmi:id="_CFE94OgFEeSUQvXhEVQh8w" name="InstanceSpecification in BDD "/> - <packagedElement xmi:type="uml:Class" xmi:id="_CM0koOgFEeSUQvXhEVQh8w" name="Dependency in BDD "/> - <packagedElement xmi:type="uml:Class" xmi:id="_V_dWwOgHEeSUQvXhEVQh8w" name="Generalization in BDD "/> - <packagedElement xmi:type="uml:Class" xmi:id="_7zbO4AChEeabH6-I0dvpUQ" name="ConstraintBlock display"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_KLUhgACiEeabH6-I0dvpUQ" client="_7zbO4AChEeabH6-I0dvpUQ"> - <supplier xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66PuiTq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_K1HFYACiEeabH6-I0dvpUQ" client="_7zbO4AChEeabH6-I0dvpUQ"> - <supplier xmi:type="uml:Class" href="pathmap://SysML14_OMG/omg.sysml.uml#_66Puhzq8EeW79ofuztDyTA"/> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Model" xmi:id="_OFsfc-LIEeSv5dwvZ9NSDw" name="UseCases"> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_OFsfdOLIEeSv5dwvZ9NSDw" name="useCasesAbstraction" client="_OFsfc-LIEeSv5dwvZ9NSDw" supplier="_OFsfcuLIEeSv5dwvZ9NSDw"/> - <packagedElement xmi:type="uml:Component" xmi:id="_OFsfdeLIEeSv5dwvZ9NSDw" name="MySystem"/> - </packagedElement> - <packagedElement xmi:type="uml:Model" xmi:id="_OFsfduLIEeSv5dwvZ9NSDw" name="Design"> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_OFsfd-LIEeSv5dwvZ9NSDw" name="DesignAbstraction" client="_OFsfduLIEeSv5dwvZ9NSDw" supplier="_OFsfc-LIEeSv5dwvZ9NSDw"/> - </packagedElement> - <packagedElement xmi:type="uml:Model" xmi:id="_OFsfeOLIEeSv5dwvZ9NSDw" name="Test"> - <packagedElement xmi:type="uml:Dependency" xmi:id="_OFsfeeLIEeSv5dwvZ9NSDw" name="Dependency1" client="_OFsfeOLIEeSv5dwvZ9NSDw" supplier="_OFsfc-LIEeSv5dwvZ9NSDw"/> - <packagedElement xmi:type="uml:Dependency" xmi:id="_OFsfeuLIEeSv5dwvZ9NSDw" name="Dependency2" client="_OFsfeOLIEeSv5dwvZ9NSDw" supplier="_OFsfduLIEeSv5dwvZ9NSDw"/> - </packagedElement> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4IY7IDyQEeehi70ty50hrw"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4IrPADyQEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#/"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4IsdIDyQEeehi70ty50hrw"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4ItEMDyQEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//activities"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Activities"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4IwukDyQEeehi70ty50hrw"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4IwukTyQEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//allocations"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Allocations"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4Ix8sDyQEeehi70ty50hrw"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4IyjwDyQEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//blocks"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4Izx4DyQEeehi70ty50hrw"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4I0Y8DyQEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//constraintblocks"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ConstraintBlocks"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4I1nEDyQEeehi70ty50hrw"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4I2OIDyQEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//deprecatedelements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_DeprecatedElements"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4I21MDyQEeehi70ty50hrw"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4I3cQDyQEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//modelelements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ModelElements"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4I4qYDyQEeehi70ty50hrw"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4I4qYTyQEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//portsandflows"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4I54gDyQEeehi70ty50hrw"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4I6fkDyQEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements"/> - </profileApplication> - </uml:Model> - <Requirements:Requirement xmi:id="_a0OAgOLIEeSv5dwvZ9NSDw" text="The block can display constraints, operations, parts, references, values, properties compartments" id="req001" base_Class="_a0GrwOLIEeSv5dwvZ9NSDw"/> - <Requirements:Requirement xmi:id="_lLa2kOc2EeSLdPGe2q9R0g" text="The block can display a constraint compartment : 
 - this compartment is present by default in palette creation and drop
 - the compartment is named "constraints"
 - each constraint should take a line and display by default : 
 - the constraint icon
 - the constraint specification value " id="req002" base_Class="_lLZBYOc2EeSLdPGe2q9R0g"/> - <Requirements:Requirement xmi:id="_aMT5EOgEEeSUQvXhEVQh8w" text="Actor should be present as a stick man figure or as a rectangle" id="req035" base_Class="_aMTSAOgEEeSUQvXhEVQh8w"/> - <Requirements:Requirement xmi:id="_axpawOgEEeSUQvXhEVQh8w" text="Enumeration in BDD " id="req036" base_Class="_axoMoOgEEeSUQvXhEVQh8w"/> - <Requirements:Requirement xmi:id="_CFFk8OgFEeSUQvXhEVQh8w" text="Create an UML instance specification" id="req037" base_Class="_CFE94OgFEeSUQvXhEVQh8w"/> - <Requirements:Requirement xmi:id="_CM2Z0OgFEeSUQvXhEVQh8w" text="Create an UML dependency" id="req038" base_Class="_CM0koOgFEeSUQvXhEVQh8w"/> - <Requirements:Requirement xmi:id="_V_ek4OgHEeSUQvXhEVQh8w" text="Table 8.2 - Graphical paths defined by in Block Definition diagrams" id="req039" base_Class="_V_dWwOgHEeSUQvXhEVQh8w"/> - <Requirements:Requirement xmi:id="_Snq6AB_KEeWp9rJ2gmw59A" text="The FlowPortCompartment should'nt be prenset by default since FlowPorts arer Deprecated" id="req003" base_Class="_SnnPoB_KEeWp9rJ2gmw59A"/> - <Requirements:DeriveReqt xmi:id="__CrVkFCLEeWVDv-g61eepg" base_Abstraction="_3etN0FCLEeWVDv-g61eepg"/> - <Requirements:Requirement xmi:id="_rHkPAGalEeWv7P_h5u3SSw" text="Block Definition Diagram should have a palette element to create Activity with TestCase stereotype.
TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=186" id="req028.001" base_Class="_rFDGgGalEeWv7P_h5u3SSw"/> - <Requirements:DeriveReqt xmi:id="_rHmrQGalEeWv7P_h5u3SSw" base_Abstraction="_rHmEMGalEeWv7P_h5u3SSw"/> - <Requirements:Requirement xmi:id="_2ALXUGalEeWv7P_h5u3SSw" text="Block Definition Diagram should have a palette element to create Functionbehavior with TestCase stereotype.
TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=186" id="req028.002" base_Class="_2AKJMGalEeWv7P_h5u3SSw"/> - <Requirements:DeriveReqt xmi:id="_2AMlcGalEeWv7P_h5u3SSw" base_Abstraction="_2AL-YGalEeWv7P_h5u3SSw"/> - <Requirements:Requirement xmi:id="_26H3EGalEeWv7P_h5u3SSw" text="Block Definition Diagram should have a palette element to create OpaqueBehavior with TestCase stereotype.
TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=186" id="req028.003" base_Class="_26HQAGalEeWv7P_h5u3SSw"/> - <Requirements:DeriveReqt xmi:id="_26JFMGalEeWv7P_h5u3SSw" base_Abstraction="_26IeIGalEeWv7P_h5u3SSw"/> - <Requirements:Requirement xmi:id="_3n8mYGalEeWv7P_h5u3SSw" text="Block Definition Diagram should have a palette element to create ProtocolStateMachine with TestCase stereotype.
TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=186" id="req028.004" base_Class="_3n7_UGalEeWv7P_h5u3SSw"/> - <Requirements:DeriveReqt xmi:id="_3n90gGalEeWv7P_h5u3SSw" base_Abstraction="_3n9NcGalEeWv7P_h5u3SSw"/> - <Requirements:Requirement xmi:id="_4Vu5cGalEeWv7P_h5u3SSw" text="Block Definition Diagram should have a palette element to create StateMachine with TestCase stereotype.
TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=186" id="req028.005" base_Class="_4VuSYGalEeWv7P_h5u3SSw"/> - <Requirements:DeriveReqt xmi:id="_4VwHkGalEeWv7P_h5u3SSw" base_Abstraction="_4VvggGalEeWv7P_h5u3SSw"/> - <Requirements:Requirement xmi:id="_5JAwgGalEeWv7P_h5u3SSw" text="Block Definition Diagram should have a palette element to create Interaction with TestCase stereotype.
TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=186" id="req028.007" base_Class="_5JAJcGalEeWv7P_h5u3SSw"/> - <Requirements:DeriveReqt xmi:id="_5JB-oGalEeWv7P_h5u3SSw" base_Abstraction="_5JBXkGalEeWv7P_h5u3SSw"/> - <Requirements:Requirement xmi:id="_14azYGauEeWv7P_h5u3SSw" text="A FlowSpecification has a “flowProperties” compartment that lists the flow properties.
FlowSpecification details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=224" id="req005" base_Class="_13F9sGauEeWv7P_h5u3SSw"/> - <Requirements:DeriveReqt xmi:id="_14bacWauEeWv7P_h5u3SSw" base_Abstraction="_14bacGauEeWv7P_h5u3SSw"/> - <Requirements:Requirement xmi:id="_9sI5cY3hEeWA_aqQQ02JeA" text="BDD must display Allocate" id="req006" base_Class="_9sBksI3hEeWA_aqQQ02JeA"/> - <Requirements:Requirement xmi:id="_9sI5co3hEeWA_aqQQ02JeA" text="BDD must display Allocated" id="req008" base_Class="_9sBksY3hEeWA_aqQQ02JeA"/> - <Requirements:Requirement xmi:id="_9sI5c43hEeWA_aqQQ02JeA" text="BDD must display Conform" id="req009" base_Class="_9sBkso3hEeWA_aqQQ02JeA"/> - <Requirements:Requirement xmi:id="_9sI5dI3hEeWA_aqQQ02JeA" text="BDD must display Problem" id="req010" base_Class="_9sBks43hEeWA_aqQQ02JeA"/> - <Requirements:Requirement xmi:id="_9sI5dY3hEeWA_aqQQ02JeA" text="BDD must display Rationale" id="req011" base_Class="_9sBktI3hEeWA_aqQQ02JeA"/> - <Requirements:Requirement xmi:id="_9sI5do3hEeWA_aqQQ02JeA" text="BDD must display View" id="req012" base_Class="_9sBktY3hEeWA_aqQQ02JeA"/> - <Requirements:Requirement xmi:id="_9sI5d43hEeWA_aqQQ02JeA" text="BDD must display Viewpoint" id="req013" base_Class="_9sBkto3hEeWA_aqQQ02JeA"/> - <Requirements:Requirement xmi:id="_9sI5eY3hEeWA_aqQQ02JeA" text="BDD must display ConnectorProperty" id="req015" base_Class="_9sBkuI3hEeWA_aqQQ02JeA"/> - <Requirements:Requirement xmi:id="_9sI5eo3hEeWA_aqQQ02JeA" text="BDD must display DistributedProperty" id="req016" base_Class="_9sBkuY3hEeWA_aqQQ02JeA"/> - <Requirements:Requirement xmi:id="_9sI5e43hEeWA_aqQQ02JeA" text="BDD must display ParticipantProperty" id="req017" base_Class="_9sBkuo3hEeWA_aqQQ02JeA"/> - <Requirements:Requirement xmi:id="_9sI5fI3hEeWA_aqQQ02JeA" text="BDD must display PropertySpecificType" id="req018" base_Class="_9sBku43hEeWA_aqQQ02JeA"/> - <Requirements:Requirement xmi:id="_9sI5fY3hEeWA_aqQQ02JeA" text="BDD must display QuantityKind" id="req019" base_Class="_9sBkvI3hEeWA_aqQQ02JeA"/> - <Requirements:Requirement xmi:id="_9sI5fo3hEeWA_aqQQ02JeA" text="BDD must display Unit" id="req020" base_Class="_9sBkvY3hEeWA_aqQQ02JeA"/> - <Requirements:Requirement xmi:id="_9sI5f43hEeWA_aqQQ02JeA" text="BDD must display ValueType" id="req021" base_Class="_9sBkvo3hEeWA_aqQQ02JeA"/> - <Requirements:Requirement xmi:id="_9sI5gI3hEeWA_aqQQ02JeA" text="BDD must display ItemFlow" id="req022" base_Class="_9sBkv43hEeWA_aqQQ02JeA"/> - <Requirements:Requirement xmi:id="_9sI5go3hEeWA_aqQQ02JeA" text="BDD must display InformationFlow" id="req024" base_Class="_9sCLwY3hEeWA_aqQQ02JeA"/> - <Requirements:Requirement xmi:id="_9sI5g43hEeWA_aqQQ02JeA" text="BDD must display InformationItem" id="req025" base_Class="_9sCLwo3hEeWA_aqQQ02JeA"/> - <Requirements:Requirement xmi:id="_9sI5hI3hEeWA_aqQQ02JeA" text="BDD must display Requirement" id="req026" base_Class="_9sCLw43hEeWA_aqQQ02JeA"/> - <Requirements:Requirement xmi:id="_9sI5hY3hEeWA_aqQQ02JeA" text="BDD must display RequirementRelated" id="req027" base_Class="_9sCLxI3hEeWA_aqQQ02JeA"/> - <Requirements:Requirement xmi:id="_9sI5ho3hEeWA_aqQQ02JeA" text="BDD must display TestCase" id="req028" base_Class="_9sCLxY3hEeWA_aqQQ02JeA"/> - <Requirements:Requirement xmi:id="_9sI5h43hEeWA_aqQQ02JeA" text="BDD must display Satisfy" id="req029" base_Class="_9sCLxo3hEeWA_aqQQ02JeA"/> - <Requirements:Requirement xmi:id="_9sI5iI3hEeWA_aqQQ02JeA" text="BDD must display Verify" id="req030" base_Class="_9sCLx43hEeWA_aqQQ02JeA"/> - <Requirements:Requirement xmi:id="_9sI5iY3hEeWA_aqQQ02JeA" text="BDD must display DirectedFeature" id="req031" base_Class="_9sCLyI3hEeWA_aqQQ02JeA"/> - <Requirements:Requirement xmi:id="_9sI5io3hEeWA_aqQQ02JeA" text="BDD must display FlowProperty" id="req032" base_Class="_9sCLyY3hEeWA_aqQQ02JeA"/> - <Requirements:Requirement xmi:id="_9sI5i43hEeWA_aqQQ02JeA" text="BDD must display InterfaceBlock" id="req033" base_Class="_9sCLyo3hEeWA_aqQQ02JeA"/> - <Requirements:Requirement xmi:id="_9sI5jI3hEeWA_aqQQ02JeA" text="BDD must display AssociationBlock" id="req034" base_Class="_9sCLy43hEeWA_aqQQ02JeA"/> - <Requirements:Requirement xmi:id="_7zdEEAChEeabH6-I0dvpUQ" text="ConstraintBlock should display a parameter compartment (in place of a attributes compartment).
ConstraintBlock should not display an operation compartment." id="req035" base_Class="_7zbO4AChEeabH6-I0dvpUQ"/> - <Requirements:DeriveReqt xmi:id="_L_GMQACiEeabH6-I0dvpUQ" base_Abstraction="_K1HFYACiEeabH6-I0dvpUQ"/> - <Requirements:DeriveReqt xmi:id="_Mt2IoACiEeabH6-I0dvpUQ" base_Abstraction="_KLUhgACiEeabH6-I0dvpUQ"/> -</xmi:XMI>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/resources/palette/blockDefinitionDiagram.paletteconfiguration b/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/resources/palette/blockDefinitionDiagram.paletteconfiguration deleted file mode 100644 index 5cef537..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/resources/palette/blockDefinitionDiagram.paletteconfiguration +++ /dev/null
@@ -1,452 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<paletteconfiguration:PaletteConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:paletteconfiguration="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.8" id="org.eclipse.papyrus.sysML.bdd.palette.model" label="SysML BDD Palette"> - <drawerConfigurations id="org.eclipse.papyrus.sysML.palette.bdd.blocks" label="Blocks" description="Elements from SysML 1.4 chapter 8.2.1 Block Definition Diagram"> - <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.AbstractDefinition" label="AbstractDefinition" description="An AbstractDefinition represents an abstract classification of instances according to their Features."> - <icon pluginID="org.eclipse.papyrus.uml.service.types" iconPath="icons/Classifier.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.AbstractDefinition_NamedElement_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.Actor" label="Actor" description="An Actor specifies a role played by a user or any other system that interacts with the subject."> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Actor.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Actor_Class"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:StackConfiguration" id="org.eclipse.papyrus.sysML.bdd.palette.stack.associations" label="Associations"> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.associationdirected" label="Association (Directed)" description="Create a Directed Association" kind="ConnectionTool" toolClassName=""> - <icon pluginID="org.eclipse.papyrus.uml.service.types" iconPath="/icons/Association_none_directed.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.AssociationDirected_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.association" label="Association" description="Create an Association" kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Association.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.AssociationNonDirected_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.associationcompositedirected" label="Composite Association (Directed)" description="Create a Directed composite Association" kind="ConnectionTool" toolClassName=""> - <icon pluginID="org.eclipse.papyrus.uml.service.types" iconPath="/icons/Association_composite_directed.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.AssociationCompositeDirected_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.associationshareddirected" label="Shared Association (Directed)" description="Create a Directed Shared Association" kind="ConnectionTool" toolClassName=""> - <icon pluginID="org.eclipse.papyrus.uml.service.types" iconPath="/icons/Association_shared_directed.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.AssociationSharedDirected_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.SharedAssociation" label="SharedAssociation" description="Create a SharedAssociation" kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Association_shared.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.AssociationShared_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.PartAssociation" label="PartAssociation" description="Create a Part Association" kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Association_composite.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.AssociationComposite_Edge"/> - </elementDescriptors> - </ownedConfigurations> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.Block" label="Block" description="A Block is a modular unit that describes the structure of a system or element."> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="icons/full/obj16/Block.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Block_Class_MetaclassShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Block_Class_MetaclassShape_CN"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Block_Class_NestedClassifierLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Block_Class_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Block_Class_Shape_CN"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.BoundReference" label="BoundReference" description="The BoundReference stereotype can be applied to properties that have binding connectors, to highlight their usage as"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Property.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_AttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_ClassAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_ComponentAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_DataTypeAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_Edge"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_InterfaceAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_PrimitiveTypeAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_Shape_CN"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_SignalAttributeLabel"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.ConnectorProperty" label="ConnectorProperty" description="The values of a connector property are instances of the association block created due to the connector"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Property.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_AttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_ClassAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_ComponentAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_DataTypeAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_Edge"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_InterfaceAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_PrimitiveTypeAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_Shape_CN"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_SignalAttributeLabel"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.ContainmentLink" label="Containment Link" description="A Containment Link indicate that a element is owned by an other element" kind="ConnectionTool"> - <icon pluginID="org.eclipse.papyrus.uml.diagram.clazz" iconPath="/icons/obj16/ContainmentConnection.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Element_ContainmentEdge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.Dependency" label="Dependency" description="A Dependency is a Relationship that signifies that a single model Element or a set of model Elements requires other model Elements for their specification or implementation." kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Dependency.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Dependency_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.EndPathMultiplicity" label="EndPathMultiplicity" description="The EndPathMultiplicity stereotype can be applied to properties that are related by redefinition to properties that have"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Property.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_AttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_ClassAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_ComponentAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_DataTypeAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_Edge"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_InterfaceAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_PrimitiveTypeAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_Shape_CN"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_SignalAttributeLabel"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.Enumeration" label="Enumeration" description="An Enumeration is a DataType whose values are enumerated in the model as EnumerationLiterals."> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Enumeration.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Enumeration_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Enumeration_Shape_CN"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Enumeration_ClassNestedClassifierLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Enumeration_InterfaceNestedClassifierLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Enumeration_ComponentNestedClassifierLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Enumeration_NestedClassifierLabel"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.Generalization" label="Generalization" description="A Generalization is a taxonomic relationship between a more general Classifier and a more specific Classifier." kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Generalization.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Generalization_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.InstanceSpecification" label="Instance Specification" description="An InstanceSpecification is a model element that represents an instance in a modeled system."> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/InstanceSpecification.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InstanceSpecification_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InstanceSpecification_Shape_CN"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.ParticipantProperty" label="ParticipantProperty" description="The value of a participant property on an instance (link) of the association block is the value or object at the end of the link corresponding to this end of the association."> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Property.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_AttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_ClassAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_ComponentAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_DataTypeAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_Edge"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_InterfaceAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_PrimitiveTypeAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_Shape_CN"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_SignalAttributeLabel"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.Stereotype" label="Stereotype" description="A stereotype defines how an existing metaclass may be extended, and enables the use of platform or domain specific terminology or notation in place of, or in addition to, the ones used for the extended metaclass."> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Stereotype.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Stereotype_Shape_CN"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Stereotype_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.ValueType" label="ValueType" description="A ValueType defines types of values that may be used to express information about a system, but cannot be identified as the target of any reference."> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="icons/full/obj16/ValueType.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ValueType_DataType_NestedClassifierLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ValueType_DataType_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ValueType_DataType_Shape_CN"/> - </elementDescriptors> - </ownedConfigurations> - </drawerConfigurations> - <drawerConfigurations id="org.eclipse.papyrus.sysML.palette.bdd.ports" label="Ports and Flows" description="Elements from SysML 1.4 chapter 9.2.1 Block Definition Diagram"> - <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.FlowPort" label="FlowPort" description="A FlowPorts is an interaction point through which input and/or output of items such as data, material, or energy may flow. (Deprecated)"> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="icons/full/obj16/FlowProperty.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowPort_Label"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.FlowProperty" label="FlowProperty" description="A FlowProperty signifies a single flow element to/from a block."> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="icons/full/obj16/FlowProperty.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowProperty_Property_AttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowProperty_Property_ClassAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowProperty_Property_ComponentAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowProperty_Property_DataTypeAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowProperty_Property_Edge"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowProperty_Property_InterfaceAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowProperty_Property_PrimitiveTypeAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowProperty_Property_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowProperty_Property_Shape_CN"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowProperty_Property_SignalAttributeLabel"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.Class_FullPort" label="FullPort" description="Full ports specify a separate element of the system from the owning block or its internal parts."> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="icons/full/obj16/FullPort.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Class_FullPort"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FullPort_Label"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.Interface" label="Interface" description="Interfaces declare coherent services that are implemented by BehavioredClassifiers that implement the Interfaces via InterfaceRealizations."> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Interface.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Interface_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Interface_Shape_CN"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Interface_ClassNestedClassifierLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Interface_NestedClassifierLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Interface_ClassifierShape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.InterfaceBlock" label="InterfaceBlock" description="Interface blocks cannot have behaviors, including classifier behaviors or methods, or internal parts."> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Class.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_MetaclassShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_MetaclassShape_CN"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_NestedClassifierLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_Shape_CN"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.ItemFlow" label="ItemFlow" description="An ItemFlow describes the flow of items across a connector or an association." kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/InformationFlow.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ItemFlow_InformationFlow_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.Class_Port" label="Port" description="A Port is a property of an EncapsulatedClassifier that specifies a distinct interaction point between that EncapsulatedClassifier and its environment or between the (behavior of the) EncapsulatedClassifier and its internal parts."> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Port.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Class_Port"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.Class_ProxyPort" label="ProxyPort" description="Proxy ports identify features of the owning block or its internal parts that are available to external blocks through external connectors to the ports."> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="icons/full/obj16/ProxyPort.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Class_ProxyPort"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ProxyPort_Label"/> - </elementDescriptors> - </ownedConfigurations> - </drawerConfigurations> - <drawerConfigurations id="org.eclipse.papyrus.sysML.palette.bdd.contraints" label="Constraints" description="Elements from SysML 1.4 chapter 10.2.1 Block Definition Diagram"> - <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.Constraints.Constraint" label="Constraint" description="A Constraint is a condition or restriction expressed in natural language text or in a machine readable language."> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Constraint.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_Shape_CN"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_Shape_CCN"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_PackagedElementShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_PackagedElementShape_CN"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Constraint_Label"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.ConstraintBlock" label="ConstraintBlock" description="A constraint block is a block that packages the statement of a constraint so it may be applied in a reusable way to contrain properties of other blocks."> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="/icons/full/obj16/ConstraintBlock.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_ClassNestedClassifierLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_ComponentNestedClassifierLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_InterfaceNestedClassifierLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_MetaclassShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_MetaclassShape_CN"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_NestedClassifierLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_Shape_CN"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.bdd.Parameter" label="Parameter" description="A parameter is a property of a ConstraintBlock."> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Property.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Parameter_BorderItem"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Parameter_Property_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Parameter_Property_AttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Parameter_BorderItemClassShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Parameter_label"/> - </elementDescriptors> - </ownedConfigurations> - </drawerConfigurations> -</paletteconfiguration:PaletteConfiguration>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/resources/style/blockDefinitionDiagram.css b/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/resources/style/blockDefinitionDiagram.css deleted file mode 100644 index ee3f5d3..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/resources/style/blockDefinitionDiagram.css +++ /dev/null
@@ -1,294 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr : #521319 - *****************************************************************************/ -/* - * SHARED ELEMENTS - */ - -Compartment{ - visible: false; - showTitle: false; -} - -Compartment[kind=structure]{ - showTitle: false; -} - -Package > Compartment[kind="packagedelements"], -Model > Compartment[kind="packagedelements"]{ - visible: true; - showTitle: false; -} - -/* - * @pap.req org.eclipse.papyrus.sysml14#REQ_001 - */ -[deprecated=true] { - lineColor: orange; -} - -[appliedStereotypes~="FlowSpecification"]{ - elementIcon:false; - displayIcon:false; -} - -[appliedStereotypes~="FlowSpecification"] > Compartment[kind=flowproperties]{ - visible: true; -} - -[appliedStereotypes~="ValueType"] > Compartment[kind=attributes], -[appliedStereotypes~="ValueType"] > Compartment[kind=operations], -[appliedStereotypes~="ValueType"] > Compartment[type=StereotypeCompartment]{ - visible: true; - showTitle: true; -} - -/* - * Comment - */ -Class[appliedStereotypes~="Comment"]{ - visible:true; -} - -/* - * Stereotype ElementGroup - */ - -Class[appliedStereotypes~="ElementGroup"] { - visible:true; - showTitle:true; -} - -Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] { - visible:true; - showTitle:false; -} - -Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="name"] -Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="criterion"], -Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="size"], -Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="member"], -Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="orderedMember"]{ - visible:true; -} - -/* - * Stereotype FlowProperty - */ -Class[appliedStereotypes~="FlowProperty"] { - visible:true; - showTitle:true; -} - -/* - * Problem - */ -Class[appliedStereotypes~="Problem"]{ - visible:true; -} - -/* - * Rationale - */ -Class[appliedStereotypes~="Rational"]{ - visible:true; -} - -/* - * Stakeholder - */ -Class[appliedStereotypes~="Stakeholder"] > Compartment[type=StereotypeCompartment] { - visible:true; - showTitle:false; -} - -[appliedStereotypes~="Stakeholder"] > Compartment[kind=attributes], -[appliedStereotypes~="Stakeholder"] > Compartment[kind=operations], -[appliedStereotypes~="Stakeholder"] > Compartment[kind=constraints]{ - visible: true; -} - -Class[appliedStereotypes~="Stakeholder"] > Compartment[type=StereotypeCompartment] > [property="concernList"], -Class[appliedStereotypes~="Stakeholder"] > Compartment[type=StereotypeCompartment] > [property="concern"]{ - visible:true; -} - -/* - * Stereotype View - */ -Class[appliedStereotypes~="View"] > Compartment[kind=attributes], -Class[appliedStereotypes~="View"] > Compartment[kind=operations]{ - visible:true; - showTitle:false; -} - -Class[appliedStereotypes~="View"] > Compartment[kind="nestedclassifiers"]{ - visible:false; - showTitle:false; -} - -Class[appliedStereotypes~="View"] > Compartment[type=StereotypeCompartment] { - visible:true; - showTitle:true; -} - -Class[appliedStereotypes~="View"] > Compartment[type=StereotypeCompartment] > [property="stakeholder"], -Class[appliedStereotypes~="View"] > Compartment[type=StereotypeCompartment] > [property="viewpoint"]{ - visible:true; -} - -/* - * Stereotype Viewpoint - */ -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] { - visible:true; - showTitle:false; -} - -[appliedStereotypes~="Viewpoint"] > Compartment[kind=attributes], -[appliedStereotypes~="Viewpoint"] > Compartment[kind=operations]{ - visible:true; -} - -[appliedStereotypes~="Viewpoint"] > Compartment[kind="internal structure"], -[appliedStereotypes~="Viewpoint"] > Compartment[kind="symbol"]{ - visible:false; -} - -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="stakeholder"], -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="purpose"], -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="concernList"], -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="language"], -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="method"], -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="presentation"], -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="concern"]{ - visible:true; -} - -/* - * SPECIFIC ELEMENTS - */ -BlockDefinitionDiagram Compartment{ - visible: false; - showTitle: true; -} - -BlockDefinitionDiagram Property > Compartment[kind=structure]{ - visible: true; -} - -BlockDefinitionDiagram DataType > Compartment[kind=attributes], -BlockDefinitionDiagram Enumeration > Compartment[kind=EnumerationLiteralCompartment], -BlockDefinitionDiagram InstanceSpecification > Compartment[kind=slots], -BlockDefinitionDiagram Interface > Compartment[kind=attributes], -BlockDefinitionDiagram Interface > Compartment[kind=operations]{ - showTitle:true; - visible: true; -} - -/* - * Stereotype Block - */ -[appliedStereotypes~="Block"] > Compartment[kind=attributes], -[appliedStereotypes~="Block"] > Compartment[kind=operations], -[appliedStereotypes~="Block"] > Compartment[kind=constraints], -[appliedStereotypes~="Block"] > Compartment[kind="parts"]{ - visible: true; - showTitle:true; -} - -[appliedStereotypes~="Block"] > Compartment[kind=nestedclassifiers], -[appliedStereotypes~="Block"] > Compartment[kind=StereotypeCompartment], -[appliedStereotypes~="Block"] > Compartment[kind=FullPorts] { - visible:false; - showTitle:false; -} - -/* - * Stereotype ConstraintBlock - */ - -Class[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=attributes], -Class[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=nestedclassifiers], -Class[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=StereotypeCompartment], -Class[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=operations] { - visible:false; - showTitle:false; -} - -Class[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=structure], -Class[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=basiccompartment], -Class[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=Parameters], -Class[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=constraints]{ - visible: true; - showTitle:true; -} - - -/* - * Stereotype InterfaceBlock - */ -Class[appliedStereotypes~=InterfaceBlock] > Compartment[kind=operations] { - visible: true; - showTitle:true; -} - -/* - * Stereotype Requirement - */ -Class[appliedStereotypes~="Requirement"] > Compartment[kind=nestedclassifiers]{ - visible:false; - showTitle:false; -} - -Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] { - visible:true; - showTitle:false; -} - -Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="derived"], -Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="derivedFrom"], -Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="satisfiedBy"], -Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="refinedBy"], -Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="tracedTo"], -Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="verifiedBy"], -Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="master"]{ - visible:false; -} - -Class[appliedStereotypes~="Requirement"] > Compartment[kind="operations"] { - visible:false; -} - -/* - * Actor - */ -Actor -{ - displayBorder:false; - displayName:false; - diplayIcon:false; - displayTag:false; - followSVGSymbol:true; - maintainSymbolRatio:true; - transparency:100; - /*displayFloatingLabel:true;*/ - maxNumberOfSymbol:1; - useOriginalColors:false; - gradient:none; - fillColor:white; -} - -Actor > Compartment[kind="symbol"] -{ - visible:true; -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/src/org/eclipse/papyrus/sysml14/diagram/blockdefinition/Activator.java b/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/src/org/eclipse/papyrus/sysml14/diagram/blockdefinition/Activator.java deleted file mode 100644 index 73bfe04..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/src/org/eclipse/papyrus/sysml14/diagram/blockdefinition/Activator.java +++ /dev/null
@@ -1,36 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.blockdefinition; - -import org.eclipse.jface.resource.ImageDescriptor; -import org.eclipse.ui.plugin.AbstractUIPlugin; - -/** - * 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.sysml14.diagram.blockdefinition"; //$NON-NLS-1$ - - /** - * Returns an image descriptor for the image file at the given - * plug-in relative path - * - * @param path the path - * @return the image descriptor - */ - public static ImageDescriptor getImageDescriptor(String path) { - return imageDescriptorFromPlugin(PLUGIN_ID, path); - } -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/src/org/eclipse/papyrus/sysml14/diagram/blockdefinition/internal/factory/BlockClassifierViewFactory.java b/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/src/org/eclipse/papyrus/sysml14/diagram/blockdefinition/internal/factory/BlockClassifierViewFactory.java deleted file mode 100644 index 15b7cd4..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/src/org/eclipse/papyrus/sysml14/diagram/blockdefinition/internal/factory/BlockClassifierViewFactory.java +++ /dev/null
@@ -1,69 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.blockdefinition.internal.factory; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint; -import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil; -import org.eclipse.gmf.runtime.notation.Location; -import org.eclipse.gmf.runtime.notation.Node; -import org.eclipse.gmf.runtime.notation.NotationFactory; -import org.eclipse.gmf.runtime.notation.Shape; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.jface.preference.IPreferenceStore; -import org.eclipse.papyrus.sysml14.diagram.common.internal.factory.AbstractBasicViewFactory; -import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.ClassAttributeCompartmentEditPart; -import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.ClassFloatingNameEditPart; -import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.ClassNameEditPart; -import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.ClassNestedClassifierCompartmentEditPart; -import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.ClassOperationCompartmentEditPart; -import org.eclipse.papyrus.uml.diagram.clazz.part.UMLVisualIDRegistry; -import org.eclipse.papyrus.uml.diagram.common.helper.PreferenceInitializerForElementHelper; - -/** - * - * extraction from classdiagram UML view Provider - * - */ -public class BlockClassifierViewFactory extends AbstractBasicViewFactory { - - /** - * Base element of Block - */ - private static final String CLASS = "Class";//$NON-NLS-1$ - - @Override - public Node createElementView(EObject domainElement, View containerView, String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint) { - Shape node = NotationFactory.eINSTANCE.createShape(); - node.setLayoutConstraint(NotationFactory.eINSTANCE.createBounds()); - node.setType(semanticHint); - ViewUtil.insertChildView(containerView, node, index, persisted); - node.setElement(domainElement); - stampShortcut(containerView, node); - // initializeFromPreferences - final IPreferenceStore prefStore = (IPreferenceStore) preferencesHint.getPreferenceStore(); - - PreferenceInitializerForElementHelper.initFontStyleFromPrefs(node, prefStore, CLASS); - createLabel(node, UMLVisualIDRegistry.getType(ClassNameEditPart.VISUAL_ID)); - Node label8510 = createLabel(node, UMLVisualIDRegistry.getType(ClassFloatingNameEditPart.VISUAL_ID)); - label8510.setLayoutConstraint(NotationFactory.eINSTANCE.createLocation()); - Location location8510 = (Location) label8510.getLayoutConstraint(); - location8510.setX(0); - location8510.setY(5); - createCompartment(node, UMLVisualIDRegistry.getType(ClassAttributeCompartmentEditPart.VISUAL_ID), true, true, true, true); - createCompartment(node, UMLVisualIDRegistry.getType(ClassOperationCompartmentEditPart.VISUAL_ID), true, true, true, true); - createCompartment(node, UMLVisualIDRegistry.getType(ClassNestedClassifierCompartmentEditPart.VISUAL_ID), true, true, true, true); - PreferenceInitializerForElementHelper.initCompartmentsStatusFromPrefs(node, prefStore, CLASS); - return node; - } -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/src/org/eclipse/papyrus/sysml14/diagram/blockdefinition/internal/factory/FlowSpecificationClassifierViewFactory.java b/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/src/org/eclipse/papyrus/sysml14/diagram/blockdefinition/internal/factory/FlowSpecificationClassifierViewFactory.java deleted file mode 100644 index 4cc4645..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/src/org/eclipse/papyrus/sysml14/diagram/blockdefinition/internal/factory/FlowSpecificationClassifierViewFactory.java +++ /dev/null
@@ -1,71 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.blockdefinition.internal.factory; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint; -import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil; -import org.eclipse.gmf.runtime.notation.Location; -import org.eclipse.gmf.runtime.notation.Node; -import org.eclipse.gmf.runtime.notation.NotationFactory; -import org.eclipse.gmf.runtime.notation.Shape; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.jface.preference.IPreferenceStore; -import org.eclipse.papyrus.sysml14.diagram.common.internal.factory.AbstractBasicViewFactory; -import org.eclipse.papyrus.sysml14.diagram.common.internal.factory.util.ClassifierViewFactoryUtil; -import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.InterfaceAttributeCompartmentEditPart; -import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.InterfaceFloatingNameEditPart; -import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.InterfaceNameEditPart; -import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.InterfaceNestedClassifierCompartmentEditPart; -import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.InterfaceOperationCompartmentEditPart; -import org.eclipse.papyrus.uml.diagram.clazz.part.UMLVisualIDRegistry; -import org.eclipse.papyrus.uml.diagram.common.helper.PreferenceInitializerForElementHelper; - -/** - * - * Extraction from org.eclipse.papyrus/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz/src/org/eclipse/papyrus/uml/diagram/clazz/providers/UMLViewProvider.java - * - */ -public class FlowSpecificationClassifierViewFactory extends AbstractBasicViewFactory { - - /** - * Base element of FlowSpecification - */ - private static final String INTERFACE = "Interface";//$NON-NLS-1$ - - @Override - public Node createElementView(EObject domainElement, View containerView, String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint) { - Shape node = NotationFactory.eINSTANCE.createShape(); - node.setLayoutConstraint(NotationFactory.eINSTANCE.createBounds()); - node.setType(semanticHint); - ViewUtil.insertChildView(containerView, node, index, persisted); - node.setElement(domainElement); - ClassifierViewFactoryUtil.stampShortcut(containerView, node); - // initializeFromPreferences - final IPreferenceStore prefStore = (IPreferenceStore) preferencesHint.getPreferenceStore(); - - PreferenceInitializerForElementHelper.initFontStyleFromPrefs(node, prefStore, INTERFACE); - ClassifierViewFactoryUtil.createLabel(node, UMLVisualIDRegistry.getType(InterfaceNameEditPart.VISUAL_ID)); - Node label8507 = ClassifierViewFactoryUtil.createLabel(node, UMLVisualIDRegistry.getType(InterfaceFloatingNameEditPart.VISUAL_ID)); - label8507.setLayoutConstraint(NotationFactory.eINSTANCE.createLocation()); - Location location8507 = (Location) label8507.getLayoutConstraint(); - location8507.setX(0); - location8507.setY(5); - - ClassifierViewFactoryUtil.createCompartment(node, UMLVisualIDRegistry.getType(InterfaceAttributeCompartmentEditPart.VISUAL_ID), true, true, true, true); - ClassifierViewFactoryUtil.createCompartment(node, UMLVisualIDRegistry.getType(InterfaceOperationCompartmentEditPart.VISUAL_ID), true, true, true, true); - ClassifierViewFactoryUtil.createCompartment(node, UMLVisualIDRegistry.getType(InterfaceNestedClassifierCompartmentEditPart.VISUAL_ID), true, true, true, true); - PreferenceInitializerForElementHelper.initCompartmentsStatusFromPrefs(node, prefStore, INTERFACE); - return node; - } -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/src/org/eclipse/papyrus/sysml14/diagram/blockdefinition/internal/factory/OperationPortViewFactory.java b/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/src/org/eclipse/papyrus/sysml14/diagram/blockdefinition/internal/factory/OperationPortViewFactory.java deleted file mode 100644 index 3404770..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/src/org/eclipse/papyrus/sysml14/diagram/blockdefinition/internal/factory/OperationPortViewFactory.java +++ /dev/null
@@ -1,66 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.blockdefinition.internal.factory; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint; -import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil; -import org.eclipse.gmf.runtime.notation.Location; -import org.eclipse.gmf.runtime.notation.Node; -import org.eclipse.gmf.runtime.notation.NotationFactory; -import org.eclipse.gmf.runtime.notation.Shape; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.jface.preference.IPreferenceStore; -import org.eclipse.papyrus.sysml14.diagram.common.internal.factory.AbstractBasicViewFactory; -import org.eclipse.papyrus.uml.diagram.common.helper.PreferenceInitializerForElementHelper; - -public class OperationPortViewFactory extends AbstractBasicViewFactory { - - /** - * Base element of OperationPort - */ - private static final String PORT = "Port";//$NON-NLS-1$ - /** - * visual ID for stereotype label of border item - */ - protected static final String OPERATION_BORDER_ITEM_STEREOTYPE_LABEL = "Operation_BorderItem_Stereotype_Label";//$NON-NLS-1$ - /** - * visual ID for name label of border item - */ - protected static final String OPERATION_BORDER_ITEM_LABEL = "Operation_BorderItem_Label";//$NON-NLS-1$ - - @Override - public Node createElementView(EObject domainElement, View containerView,String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint) { - Shape node = NotationFactory.eINSTANCE.createShape(); - node.setLayoutConstraint(NotationFactory.eINSTANCE.createBounds()); - node.setType(semanticHint); - ViewUtil.insertChildView(containerView, node, index, persisted); - node.setElement(domainElement); - // initializeFromPreferences - final IPreferenceStore prefStore = (IPreferenceStore)preferencesHint.getPreferenceStore(); - PreferenceInitializerForElementHelper.initFontStyleFromPrefs(node, prefStore, PORT); - Node label5125 = createLabel(node, OPERATION_BORDER_ITEM_LABEL); - label5125.setLayoutConstraint(NotationFactory.eINSTANCE.createLocation()); - Location location5125 = (Location)label5125.getLayoutConstraint(); - location5125.setX(25); - location5125.setY(3); - Node label6029 = createLabel(node, OPERATION_BORDER_ITEM_STEREOTYPE_LABEL); - label6029.setLayoutConstraint(NotationFactory.eINSTANCE.createLocation()); - Location location6029 = (Location)label6029.getLayoutConstraint(); - location6029.setX(25); - location6029.setY(-10); - return node; - } - - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/src/org/eclipse/papyrus/sysml14/diagram/blockdefinition/internal/factory/PortViewFactory.java b/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/src/org/eclipse/papyrus/sysml14/diagram/blockdefinition/internal/factory/PortViewFactory.java deleted file mode 100644 index 1d63bda..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/src/org/eclipse/papyrus/sysml14/diagram/blockdefinition/internal/factory/PortViewFactory.java +++ /dev/null
@@ -1,55 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.blockdefinition.internal.factory; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint; -import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil; -import org.eclipse.gmf.runtime.notation.Location; -import org.eclipse.gmf.runtime.notation.Node; -import org.eclipse.gmf.runtime.notation.NotationFactory; -import org.eclipse.gmf.runtime.notation.Shape; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.jface.preference.IPreferenceStore; -import org.eclipse.papyrus.sysml14.diagram.common.internal.factory.AbstractBasicViewFactory; -import org.eclipse.papyrus.uml.diagram.common.helper.PreferenceInitializerForElementHelper; - -public class PortViewFactory extends AbstractBasicViewFactory { - - /** - * Base element of SysML Port - */ - private static final String PORT = "Port";//$NON-NLS-1$ - /** - * visual ID for name label of border item - */ - protected static final String OPERATION_BORDER_ITEM_LABEL = "Operation_BorderItem_Label";//$NON-NLS-1$ - - @Override - public Node createElementView(EObject domainElement, View containerView,String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint) { - Shape node = NotationFactory.eINSTANCE.createShape(); - node.setLayoutConstraint(NotationFactory.eINSTANCE.createBounds()); - node.setType(semanticHint); - ViewUtil.insertChildView(containerView, node, index, persisted); - node.setElement(domainElement); - // initializeFromPreferences - final IPreferenceStore prefStore = (IPreferenceStore)preferencesHint.getPreferenceStore(); - PreferenceInitializerForElementHelper.initFontStyleFromPrefs(node, prefStore, PORT); - Node label5125 = createLabel(node, OPERATION_BORDER_ITEM_LABEL); - label5125.setLayoutConstraint(NotationFactory.eINSTANCE.createLocation()); - Location location5125 = (Location)label5125.getLayoutConstraint(); - location5125.setX(25); - location5125.setY(3); - return node; - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/src/org/eclipse/papyrus/sysml14/diagram/blockdefinition/provider/ParserProvider.java b/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/src/org/eclipse/papyrus/sysml14/diagram/blockdefinition/provider/ParserProvider.java deleted file mode 100644 index 4a345d9..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/src/org/eclipse/papyrus/sysml14/diagram/blockdefinition/provider/ParserProvider.java +++ /dev/null
@@ -1,78 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.blockdefinition.provider; - -import java.util.HashMap; -import java.util.Map; - -import org.eclipse.core.runtime.IAdaptable; -import org.eclipse.gmf.runtime.common.core.service.AbstractProvider; -import org.eclipse.gmf.runtime.common.core.service.IOperation; -import org.eclipse.gmf.runtime.common.ui.services.parser.GetParserOperation; -import org.eclipse.gmf.runtime.common.ui.services.parser.IParser; -import org.eclipse.gmf.runtime.common.ui.services.parser.IParserProvider; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.papyrus.uml.diagram.common.parser.ConstraintLabelParser; - -/** - * Parser provider for labels used by this diagram. - */ -public class ParserProvider extends AbstractProvider implements IParserProvider { - - /** map from graphical hint to parsers */ - private static final Map<String, IParser> graphicalHintToParser = new HashMap<>(); - - static { - graphicalHintToParser.put("Constraint_Label", new ConstraintLabelParser()); - } - - /** - * {@inheritDoc} - */ - @Override - public boolean provides(IOperation operation) { - if (operation instanceof GetParserOperation) { - IAdaptable hint = ((GetParserOperation) operation).getHint(); - - - return getParser(hint) != null; - } - return false; - } - - /** - * {@inheritDoc} - */ - @Override - public IParser getParser(IAdaptable hint) { - String parserHint = hint.getAdapter(String.class); - if (parserHint != null) { - IParser parser = graphicalHintToParser.get(parserHint); - if (parser != null) { - return parser; - } - } - - View view = hint.getAdapter(View.class); - if (view != null) { - IParser parser = graphicalHintToParser.get(view.getType()); - if (parser != null) { - return parser; - } - } - - return null; - } - -} \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/.project b/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/.project deleted file mode 100644 index 8954e97..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/.project +++ /dev/null
@@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.diagram.common.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> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/META-INF/MANIFEST.MF b/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/META-INF/MANIFEST.MF deleted file mode 100644 index 5096706..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,22 +0,0 @@ -Manifest-Version: 1.0 -Bundle-Vendor: %Bundle-Vendor -Bundle-Version: 1.2.0.qualifier -Bundle-Name: %Bundle-Name -Bundle-Localization: plugin -Bundle-ManifestVersion: 2 -Fragment-Host: org.eclipse.papyrus.sysml14.diagram.common;bundle-version="1.0.0" -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.diagram.common.tests -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Require-Bundle: org.junit;bundle-version="[4.11.0,5.0.0)", - org.eclipse.papyrus.uml.diagram.clazz;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.communication;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.component;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.composite;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.deployment;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.interactionoverview;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.profile;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.statemachine;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.timing;bundle-version="[1.2.0,2.0.0)", - org.eclipse.papyrus.uml.diagram.usecase;bundle-version="[3.0.0,4.0.0)" -Export-Package: org.eclipse.papyrus.sysml14.diagram.common.tests.resources, - org.eclipse.papyrus.sysml14.diagram.common.tests.util
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/plugin.properties b/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/plugin.properties deleted file mode 100644 index 6debf29..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/plugin.properties +++ /dev/null
@@ -1,14 +0,0 @@ -################################################################################# -# Copyright (c) 2011 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: -# -# CEA LIST - Initial API and Implementation. -# -################################################################################## -Bundle-Name=Papyrus SysML 1.4 Common Diagram Tests -Bundle-Vendor=Eclipse Modeling Project
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/pom.xml b/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/pom.xml deleted file mode 100644 index bf3fc2e..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/pom.xml +++ /dev/null
@@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" - xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.eclipse.papyrus.sysml</groupId> - <artifactId>org.eclipse.papyrus.sysml14.diagram</artifactId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.diagram.common.tests</artifactId> - <packaging>eclipse-test-plugin</packaging> - <name>org.eclipse.papyrus.sysml14.diagram.common.tests</name> - <description>This plug-in contains the unit tests relatives to common part of all SysML 1.4 diagrams.</description> -</project>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/src/org/eclipse/papyrus/sysml14/diagram/common/tests/resources/SysML14ClassDiagramElementTypesExtensionTest.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/src/org/eclipse/papyrus/sysml14/diagram/common/tests/resources/SysML14ClassDiagramElementTypesExtensionTest.java deleted file mode 100644 index 7e54a9d..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/src/org/eclipse/papyrus/sysml14/diagram/common/tests/resources/SysML14ClassDiagramElementTypesExtensionTest.java +++ /dev/null
@@ -1,90 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.common.tests.resources; - -import java.util.Map; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.common.util.TreeIterator; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.ecore.util.Diagnostician; -import org.eclipse.papyrus.infra.types.AbstractMatcherConfiguration; -import org.eclipse.papyrus.infra.types.ElementTypeConfiguration; -import org.eclipse.papyrus.infra.types.ElementTypeSetConfiguration; -import org.eclipse.papyrus.infra.types.SpecializationTypeConfiguration; -import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.junit.Assert; -import org.junit.BeforeClass; -import org.junit.Test; - -/** - */ -@SuppressWarnings("nls") -public class SysML14ClassDiagramElementTypesExtensionTest { - - public static final String CLASS_DIAGRAM_EXTENSION_ELEMENT_TYPE_PATH = "org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations"; //$NON-NLS-1$ - - @BeforeClass - public static void loadSysMLDefinition() { - ElementTypeSetConfigurationRegistry instance = ElementTypeSetConfigurationRegistry.getInstance(); - Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurations = instance.getElementTypeSetConfigurations(); - Map<String, ElementTypeSetConfiguration> map = elementTypeSetConfigurations.get(SysMLServiceTypeUtil.SYSML14_CONTEXT_ID); - ElementTypeSetConfiguration elementTypeSetConfiguration = map.get("org.eclipse.papyrus.sysml14di.elementTypeSet.extension"); - Assert.assertNotNull("The SysML element type set definition is missing", elementTypeSetConfiguration); - } - - /** - * Validate the model with the rules defined in the meta-model tooling - */ - @Test - public void validateSysML14ClassDiagramElementTypesExtensionModel() { - URI createPlatformPluginURI = URI.createPlatformPluginURI(CLASS_DIAGRAM_EXTENSION_ELEMENT_TYPE_PATH, true); - Resource resource = new ResourceSetImpl().getResource(createPlatformPluginURI, true); - Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); - Assert.assertEquals("The element type model is not valid ", Diagnostic.OK, diagnostic.getSeverity()); - } - - /** - * Check that all SpecializationTypeConfiguration have a matcher - * (This is no more required for avoiding to broke UML Diagrams since contextid but still a good idea) - */ - @Test - public void checkElementTypeMatcher() { - URI createPlatformPluginURI = URI.createPlatformPluginURI(CLASS_DIAGRAM_EXTENSION_ELEMENT_TYPE_PATH, true); - ResourceSetImpl resourceSetImpl = new ResourceSetImpl(); - Resource resource = resourceSetImpl.getResource(createPlatformPluginURI, true); - TreeIterator<EObject> allContents = resource.getAllContents(); - while (allContents.hasNext()) { - EObject eObject = (EObject) allContents.next(); - if (eObject instanceof ElementTypeSetConfiguration) { - ElementTypeSetConfiguration elementTypeSetConfiguration = (ElementTypeSetConfiguration) eObject; - EList<ElementTypeConfiguration> elementTypeConfigurations = elementTypeSetConfiguration.getElementTypeConfigurations(); - for (ElementTypeConfiguration elementTypeConfiguration : elementTypeConfigurations) { - if (elementTypeConfiguration instanceof SpecializationTypeConfiguration) { - SpecializationTypeConfiguration specializationTypeConfiguration = (SpecializationTypeConfiguration) elementTypeConfiguration; - AbstractMatcherConfiguration matcherConfiguration = specializationTypeConfiguration.getMatcherConfiguration(); - Assert.assertNotNull(specializationTypeConfiguration.getName() - + "is missing its matcher. All SysML 1.4 SpecializationTypeConfiguration must have a matcher. By default, use org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher)", matcherConfiguration); - } - } - } - } - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/src/org/eclipse/papyrus/sysml14/diagram/common/tests/resources/SysML14CompositeDiagramElementTypesExtensionTest.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/src/org/eclipse/papyrus/sysml14/diagram/common/tests/resources/SysML14CompositeDiagramElementTypesExtensionTest.java deleted file mode 100644 index c57180b..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/src/org/eclipse/papyrus/sysml14/diagram/common/tests/resources/SysML14CompositeDiagramElementTypesExtensionTest.java +++ /dev/null
@@ -1,92 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.common.tests.resources; - -import java.util.Map; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.common.util.TreeIterator; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.ecore.util.Diagnostician; -import org.eclipse.papyrus.infra.types.AbstractMatcherConfiguration; -import org.eclipse.papyrus.infra.types.ElementTypeConfiguration; -import org.eclipse.papyrus.infra.types.ElementTypeSetConfiguration; -import org.eclipse.papyrus.infra.types.SpecializationTypeConfiguration; -import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.junit.Assert; -import org.junit.BeforeClass; -import org.junit.Test; - -/** - * This class is to check any change in the SysML 1.4 Composite Structure Diagram element type id - * (since the ids can be used a specialization they are part of public API) - * - */ -@SuppressWarnings("nls") -public class SysML14CompositeDiagramElementTypesExtensionTest { - - public static final String COMPOSITE_DIAGRAM_EXTENSION_ELEMENT_TYPE_PATH = "org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations"; - - @BeforeClass - public static void loadSysMLDefinition() { - ElementTypeSetConfigurationRegistry instance = ElementTypeSetConfigurationRegistry.getInstance(); - Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurations = instance.getElementTypeSetConfigurations(); - Map<String, ElementTypeSetConfiguration> map = elementTypeSetConfigurations.get(SysMLServiceTypeUtil.SYSML14_CONTEXT_ID); - ElementTypeSetConfiguration elementTypeSetConfiguration = map.get("org.eclipse.papyrus.sysml14di.elementTypeSet.extension"); - Assert.assertNotNull("The SysML element type set definition is missing", elementTypeSetConfiguration); - } - - /** - * Validate the model with the rules defined in the meta-model tooling - */ - @Test - public void validateSysML14ClassDiagramElementTypesExtensionModel() { - URI createPlatformPluginURI = URI.createPlatformPluginURI(COMPOSITE_DIAGRAM_EXTENSION_ELEMENT_TYPE_PATH, true); - Resource resource = new ResourceSetImpl().getResource(createPlatformPluginURI, true); - Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); - Assert.assertEquals("The element type model is not valid ", Diagnostic.OK, diagnostic.getSeverity()); - } - - /** - * Check that all SpecializationTypeConfiguration have a matcher - * (This is no more required for avoiding to broke UML Diagrams since contextid but still a good idea) - */ - @Test - public void checkElementTypeMatcher() { - URI createPlatformPluginURI = URI.createPlatformPluginURI(COMPOSITE_DIAGRAM_EXTENSION_ELEMENT_TYPE_PATH, true); - ResourceSetImpl resourceSetImpl = new ResourceSetImpl(); - Resource resource = resourceSetImpl.getResource(createPlatformPluginURI, true); - TreeIterator<EObject> allContents = resource.getAllContents(); - while (allContents.hasNext()) { - EObject eObject = (EObject) allContents.next(); - if (eObject instanceof ElementTypeSetConfiguration) { - ElementTypeSetConfiguration elementTypeSetConfiguration = (ElementTypeSetConfiguration) eObject; - EList<ElementTypeConfiguration> elementTypeConfigurations = elementTypeSetConfiguration.getElementTypeConfigurations(); - for (ElementTypeConfiguration elementTypeConfiguration : elementTypeConfigurations) { - if (elementTypeConfiguration instanceof SpecializationTypeConfiguration) { - SpecializationTypeConfiguration specializationTypeConfiguration = (SpecializationTypeConfiguration) elementTypeConfiguration; - AbstractMatcherConfiguration matcherConfiguration = specializationTypeConfiguration.getMatcherConfiguration(); - Assert.assertNotNull(specializationTypeConfiguration.getName()+"is missing its matcher. All SysML 1.4 SpecializationTypeConfiguration must have a matcher. By default, use org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher)", matcherConfiguration); - } - } - } - } - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/src/org/eclipse/papyrus/sysml14/diagram/common/tests/resources/SysMLDiUMLTest.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/src/org/eclipse/papyrus/sysml14/diagram/common/tests/resources/SysMLDiUMLTest.java deleted file mode 100644 index 9587536..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/src/org/eclipse/papyrus/sysml14/diagram/common/tests/resources/SysMLDiUMLTest.java +++ /dev/null
@@ -1,82 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.common.tests.resources; - -import java.util.ArrayList; -import java.util.List; -import java.util.Map; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.ecore.util.Diagnostician; -import org.eclipse.papyrus.infra.types.ElementTypeConfiguration; -import org.eclipse.papyrus.infra.types.ElementTypeSetConfiguration; -import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.junit.Assert; -import org.junit.BeforeClass; -import org.junit.Test; - -/** - * This class is to test the validity of sysmldi element types - */ -@SuppressWarnings("nls") -public class SysMLDiUMLTest { - - public static final String SYSMLDI_ELEMENT_TYPE_PATH = "org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations"; - - @BeforeClass - public static void loadSysMLDefinition() { - ElementTypeSetConfigurationRegistry instance = ElementTypeSetConfigurationRegistry.getInstance(); - Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurations = instance.getElementTypeSetConfigurations(); - Map<String, ElementTypeSetConfiguration> map = elementTypeSetConfigurations.get(SysMLServiceTypeUtil.SYSML14_CONTEXT_ID); - ElementTypeSetConfiguration elementTypeSetConfiguration = map.get("org.eclipse.papyrus.sysml14di.elementTypes"); - Assert.assertNotNull("The SysML element type set definition is missing", elementTypeSetConfiguration); - } - - /** - * Validate the model with the rules defined in the meta-model tooling - */ - - @Test - public void validateSysML14ElementTypesModel() { - URI createPlatformPluginURI = URI.createPlatformPluginURI(SYSMLDI_ELEMENT_TYPE_PATH, true); - Resource resource = new ResourceSetImpl().getResource(createPlatformPluginURI, true); - Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); - Assert.assertEquals("The element type model is not valid ", Diagnostic.OK, diagnostic.getSeverity()); - } - - /** - * Check if there is a duplicated identifier in all loaded element types - */ - @Test - public void checkAlreadyExistingId() { - ElementTypeSetConfigurationRegistry instance = ElementTypeSetConfigurationRegistry.getInstance(); - Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurations = instance.getElementTypeSetConfigurations(); - Map<String, ElementTypeSetConfiguration> map = elementTypeSetConfigurations.get(SysMLServiceTypeUtil.SYSML14_CONTEXT_ID); - List<String> alreadyCheckedIds = new ArrayList<>(); - for (ElementTypeSetConfiguration elementTypeSetConfiguration : map.values()) { - EList<ElementTypeConfiguration> elementTypeConfigurations = elementTypeSetConfiguration.getElementTypeConfigurations(); - for (ElementTypeConfiguration elementTypeConfiguration : elementTypeConfigurations) { - String identifier = elementTypeConfiguration.getIdentifier(); - Assert.assertFalse("Duplicated elementtype identifer " + identifier, alreadyCheckedIds.contains(identifier)); - alreadyCheckedIds.add(identifier); - } - } - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/src/org/eclipse/papyrus/sysml14/diagram/common/tests/util/GraphicalSysMLServiceTypeUtilTest.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/src/org/eclipse/papyrus/sysml14/diagram/common/tests/util/GraphicalSysMLServiceTypeUtilTest.java deleted file mode 100644 index 2ac23f7..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common.tests/src/org/eclipse/papyrus/sysml14/diagram/common/tests/util/GraphicalSysMLServiceTypeUtilTest.java +++ /dev/null
@@ -1,53 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.diagram.common.tests.util; - -import java.util.Map; - -import org.eclipse.papyrus.infra.types.ElementTypeSetConfiguration; -import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; -import org.eclipse.papyrus.sysml14.diagram.common.util.GraphicalSysMLServiceTypeUtil; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.junit.Assert; -import org.junit.BeforeClass; -import org.junit.Test; - -/** - * Check constant of GraphicalSysMLServiceTypeUtil - */ -@SuppressWarnings("nls") -public class GraphicalSysMLServiceTypeUtilTest { - - @BeforeClass - public static void loadSysMLDefinition() { - ElementTypeSetConfigurationRegistry instance = ElementTypeSetConfigurationRegistry.getInstance(); - Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurations = instance.getElementTypeSetConfigurations(); - Map<String, ElementTypeSetConfiguration> map = elementTypeSetConfigurations.get(SysMLServiceTypeUtil.SYSML14_CONTEXT_ID); - ElementTypeSetConfiguration elementTypeSetConfiguration = map.get("org.eclipse.papyrus.sysml14di.elementTypes"); - Assert.assertNotNull("The SysML element type set definition is missing", elementTypeSetConfiguration); - } - - - @Test - public void checkConstraintLabelElementTypeId() { - Assert.assertTrue("ORG_ECLIPSE_PAPYRUS_SYSML14_CONSTRAINT_LABEL should have a valid element id : " , SysMLServiceTypeUtil.isKnown(GraphicalSysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_CONSTRAINT_LABEL)); - } - - @Test - public void checkParameterBorderItemLabelElementTypeId() { - Assert.assertTrue("ORG_ECLIPSE_PAPYRUS_SYSML14_PARAMETER_BORDER_ITEM should have a valid element id : " , SysMLServiceTypeUtil.isKnown(GraphicalSysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_PARAMETER_BORDER_ITEM)); - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/.project b/diagram/org.eclipse.papyrus.sysml14.diagram.common/.project deleted file mode 100644 index b24d46b..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/.project +++ /dev/null
@@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.diagram.common</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> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/META-INF/MANIFEST.MF b/diagram/org.eclipse.papyrus.sysml14.diagram.common/META-INF/MANIFEST.MF deleted file mode 100644 index f31cdb9..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,68 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %Bundle-Name -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.diagram.common;singleton:=true -Bundle-Version: 1.2.0.qualifier -Bundle-ClassPath: . -Bundle-Activator: org.eclipse.papyrus.sysml14.diagram.common.Activator -Require-Bundle: org.eclipse.core.databinding;bundle-version="[1.5.0,2.0.0)", - org.eclipse.core.runtime;bundle-version="[3.6.0,4.0.0)", - org.eclipse.e4.ui.css.core;bundle-version="[0.11.0,1.0.0)", - org.eclipse.gmf.runtime.diagram.ui;bundle-version="[1.8.0,2.0.0)", - org.eclipse.gmf.runtime.emf.type.core;bundle-version="[1.9.0,2.0.0)", - org.eclipse.uml2.uml;bundle-version="[5.1.0,6.0.0)", - org.eclipse.ui;bundle-version="[3.107.0,4.0.0)", - org.eclipse.papyrus.infra.core;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.types.core;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.gmfdiag.css;bundle-version="[2.0.0,3.0.0)", - org.eclipse.papyrus.infra.gmfdiag.preferences;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.gmfdiag.expansion;bundle-version="[2.0.0,3.0.0)", - org.eclipse.papyrus.infra.services.edit;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.tools;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.clazz;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.common;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.composite;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.stereotype.edition;bundle-version="[2.0.0,3.0.0]", - org.eclipse.papyrus.uml.service.types;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.tools;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.tools.utils;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.types.core;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.sysml14;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.service.types;bundle-version="1.0.0" -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Export-Package: org.eclipse.papyrus.sysml14.diagram.common;uses:="org.eclipse.ui.plugin,org.osgi.framework", - org.eclipse.papyrus.sysml14.diagram.common.advices, - org.eclipse.papyrus.sysml14.diagram.common.command, - org.eclipse.papyrus.sysml14.diagram.common.css.dom, - org.eclipse.papyrus.sysml14.diagram.common.css.helper, - org.eclipse.papyrus.sysml14.diagram.common.dialog, - org.eclipse.papyrus.sysml14.diagram.common.edit.parts, - org.eclipse.papyrus.sysml14.diagram.common.figure, - org.eclipse.papyrus.sysml14.diagram.common.internal.command; - x-friends:="org.eclipse.papyrus.sysml14.diagram.internalblock, - org.eclipse.papyrus.sysml14.diagram.blockdefinition, - org.eclipse.papyrus.sysml14.diagram.parametric, - org.eclipse.papyrus.sysml14.diagram.requirement", - org.eclipse.papyrus.sysml14.diagram.common.internal.dialog; - x-friends:="org.eclipse.papyrus.sysml14.diagram.internalblock, - org.eclipse.papyrus.sysml14.diagram.blockdefinition, - org.eclipse.papyrus.sysml14.diagram.parametric, - org.eclipse.papyrus.sysml14.diagram.requirement", - org.eclipse.papyrus.sysml14.diagram.common.internal.factory; - x-friends:="org.eclipse.papyrus.sysml14.diagram.internalblock, - org.eclipse.papyrus.sysml14.diagram.blockdefinition, - org.eclipse.papyrus.sysml14.diagram.parametric, - org.eclipse.papyrus.sysml14.diagram.requirement", - org.eclipse.papyrus.sysml14.diagram.common.internal.factory.util; - x-friends:="org.eclipse.papyrus.sysml14.diagram.blockdefinition, - org.eclipse.papyrus.sysml14.diagram.internalblock, - org.eclipse.papyrus.sysml14.diagram.parametric, - org.eclipse.papyrus.sysml14.diagram.requirement", - org.eclipse.papyrus.sysml14.diagram.common.internal.provider;x-internal:=true, - org.eclipse.papyrus.sysml14.diagram.common.provider, - org.eclipse.papyrus.sysml14.diagram.common.util -Bundle-ActivationPolicy: lazy -Bundle-Localization: plugin -Bundle-Description: %Bundle-Description -Bundle-Vendor: %Bundle-Vendor
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/plugin.properties b/diagram/org.eclipse.papyrus.sysml14.diagram.common/plugin.properties deleted file mode 100644 index 15a8cc3..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/plugin.properties +++ /dev/null
@@ -1,15 +0,0 @@ -################################################################################# -# Copyright (c) 2015 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: -# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation -################################################################################## -Bundle-Name= Papyrus SysML 1.4 Diagram Common -Bundle-Description=This plug-in contains the common part of all SysML 1.4 diagram -Bundle-Vendor=Eclipse Modeling Project - -
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/plugin.xml b/diagram/org.eclipse.papyrus.sysml14.diagram.common/plugin.xml deleted file mode 100644 index 5f6c904..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/plugin.xml +++ /dev/null
@@ -1,62 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?eclipse version="3.0"?> - -<!-- - Copyright (c) 2015 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: - Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation ---> - -<plugin> - - <extension - point="org.eclipse.papyrus.infra.types.core.elementTypeSetConfiguration"> - <elementTypeSet - clientContextID="org.eclipse.papyrus.infra.services.edit.TypeContext" - path="resources/SysML14Di-extension.elementtypesconfigurations"> - </elementTypeSet> - - </extension> - <extension - point="org.eclipse.papyrus.infra.types.core.elementTypeSetConfiguration"> - <elementTypeSet - clientContextID="org.eclipse.papyrus.infra.services.edit.TypeContext" - path="resources/SysMLDiUML.elementtypesconfigurations"> - </elementTypeSet> - </extension> - - <!--CSS Theme --> - <extension - point="org.eclipse.papyrus.infra.gmfdiag.css.domElementAdapter"> - <factory - factory="org.eclipse.papyrus.sysml14.diagram.common.css.dom.GMFSYSMLElementProviderFactory" - order="1"> - </factory> - </extension> - - <extension - point="org.eclipse.papyrus.uml.extensionpoints.UMLLibrary"> - <library - description="SysML 1.4 OMG Library" - name="SysML 1.4 OMG" - path="pathmap://SysML14_OMG/omg.sysml.uml"> - </library> - </extension> - - <extension - point="org.eclipse.gmf.runtime.diagram.core.viewProviders"> - <viewProvider - class="org.eclipse.papyrus.sysml14.diagram.common.internal.provider.SysML14ExpandViewProvider"> - <Priority - name="Low"> - </Priority> - </viewProvider> - </extension> - -</plugin>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/pom.xml b/diagram/org.eclipse.papyrus.sysml14.diagram.common/pom.xml deleted file mode 100644 index f77f4eb..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/pom.xml +++ /dev/null
@@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.eclipse.papyrus.sysml</groupId> - <artifactId>org.eclipse.papyrus.sysml14.diagram</artifactId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.diagram.common</artifactId> - <packaging>eclipse-plugin</packaging> - <name>org.eclipse.papyrus.sysml14.diagram.common</name> - <description>This plug-in contains the common part of all SysML 1.4 diagrams.</description> -</project> \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations b/diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations deleted file mode 100644 index e81a179..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations +++ /dev/null
@@ -1,454 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<elementtypesconfigurations:ElementTypeSetConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:stereotypematcher="http://www.eclipse.org/papyrus/uml/types/stereotypematcher/1.1" xmi:id="org.eclipse.papyrus.sysml14di.elementTypeSet.extension" identifier="org.eclipse.papyrus.sysml14di.elementTypeSet.extension" name="SysML Extension" metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML"> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AbstractDefinition_NamedElement_Shape" identifier="org.eclipse.papyrus.sysmldi.AbstractDefinition_NamedElement_Shape" name="AbstractDefinition (Stakeholder_NamedElement_Shape)" hint="NamedElement_DefaultShape"> - <iconEntry xmi:id="_r8qY0Nx2EeWVxMf7SXAfhg" iconPath="/icons/full/obj16/Classifier.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_y-4fUIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.AbstractDefinitionClass"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.NamedElement_DefaultShape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ActorPart_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.ActorPart_Property_Shape" name="ActorPart (Property_Shape)" hint="Property_Shape"> - <iconEntry xmi:id="_elfcUE_tEeWS1Mofp4ST9Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_elfcUU_tEeWS1Mofp4ST9Q" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.ActorPartGraphicalEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_y-4fUIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ActorPart"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ActorPart_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ActorPart_Property_AttributeLabel" name="ActorPart" hint="Property_AttributeLabel"> - <iconEntry xmi:id="_S5YwwR_5EeWp9rJ2gmw59A" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_5wiAgB_5EeWp9rJ2gmw59A" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.ActorPartGraphicalEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_k5pC8Ie8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ActorPart"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConstraintProperty_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.ConstraintProperty_Property_Shape" name="ConstraintProperty (Property_Shape)" hint="Property_Shape"> - <iconEntry xmi:id="_NIBSUe5lEeSNB9Q0D5gJiA" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_8Yf_oPfpEeSxkueHcFw1lw" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.ConstraintPropertyGraphicalEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_yH1ikIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ConstraintProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConstraintProperty_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ConstraintProperty_Property_AttributeLabel" name="ConstraintProperty (Property_AttributeLabel)" hint="Property_AttributeLabel"> - <iconEntry xmi:id="_NIBSU-5lEeSNB9Q0D5gJiA" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_JOurMPfqEeSxkueHcFw1lw" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.ConstraintPropertyGraphicalEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_yZR34Ie8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ConstraintProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Part_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.Part_Property_Shape" name="Part (Property_Shape)" hint="Property_Shape"> - <iconEntry xmi:id="_VU6eQU_sEeWS1Mofp4ST9Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_VU6eQk_sEeWS1Mofp4ST9Q" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_ylyp4Ie8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Part"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Part_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Part_Property_AttributeLabel" name="Part (Property_AttributeLabel)" hint="Property_AttributeLabel"> - <iconEntry xmi:id="_VU6eRE_sEeWS1Mofp4ST9Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_VU6eRU_sEeWS1Mofp4ST9Q" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_yzWkwIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Part"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Reference_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.Reference_Property_Shape" name="Reference (Property_Shape)" hint="Property_Shape"> - <iconEntry xmi:id="_elfcUE_tEeWS1Mofp4ST9Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_elfcUU_tEeWS1Mofp4ST9Q" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_y-4fUIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Reference"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Reference_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Reference_Property_AttributeLabel" name="Reference (Property_AttributeLabel)" hint="Property_AttributeLabel"> - <iconEntry xmi:id="_elfcU0_tEeWS1Mofp4ST9Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_elfcVE_tEeWS1Mofp4ST9Q" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_zLVm8Ie8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Reference"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Value_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.Value_Property_Shape" name="Value (Property_Shape)" hint="Property_Shape"> - <iconEntry xmi:id="_rArxsU_tEeWS1Mofp4ST9Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_rArxsk_tEeWS1Mofp4ST9Q" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.ValueEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_zXt2EIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Value"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Value_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Value_Property_AttributeLabel" name="Value (Property_AttributeLabel)" hint="Property_AttributeLabel"> - <iconEntry xmi:id="_rArxtE_tEeWS1Mofp4ST9Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_rArxtU_tEeWS1Mofp4ST9Q" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_zl-UgIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Value"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.PropertySpecificType_Class_Shape_CN" description="Class_Shape_CN PropertySpecificType on" identifier="org.eclipse.papyrus.sysmldi.PropertySpecificType_Class_Shape_CN" name="PropertySpecificType(Class_Shape_CN)" hint="Class_Shape_CN"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_0ZtekIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.PropertySpecificType"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConstraintPropertyComposite" identifier="org.eclipse.papyrus.sysmldi.ConstraintPropertyComposite" name="ConstraintPropertyComposite" hint="ConstraintPropertyComposite"> - <iconEntry xmi:id="_nOKtsYMDEeW6xruev4cRfQ" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_nOKtsoMDEeW6xruev4cRfQ" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.ConstraintPropertyGraphicalEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_0zWtoIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ConstraintProperty"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Parameter_BorderItem" description="Property value hat must displayed in constraint property" identifier="org.eclipse.papyrus.sysmldi.Parameter_BorderItem" name="Parameter_BorderItem" hint="Parameter_BorderItem"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_1CJ-oIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Constraint_Label" description="Used to display a constraint in the typed constraint property" identifier="org.eclipse.papyrus.sysmldi.Constraint_Label" name="Constraint_Label" hint="Constraint_Label"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_Hhhu4IosEeWtc9KcHKfIiw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Constraint"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Parameter_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.Parameter_Property_Shape" name="Parameter (Property_Shape)" hint="Property_Shape"> - <iconEntry xmi:id="_edrxAYlmEeaZOo7yAgA8OQ" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_edrxA4lmEeaZOo7yAgA8OQ" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Parameter"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Parameter_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Parameter_Property_AttributeLabel" name="Parameter (Property_AttributeLabel)" hint="Property_AttributeLabel"> - <iconEntry xmi:id="_edrxBYlmEeaZOo7yAgA8OQ" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_edrxB4lmEeaZOo7yAgA8OQ" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Parameter"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Parameter_BorderItemClassShape" description="Property value hat must displayed in constraint block" identifier="org.eclipse.papyrus.sysmldi.Parameter_BorderItemClassShape" name="Parameter_BorderItem (Class_Shape)" hint="Parameter_BorderItem"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_TzcwcfRlEeakH_jG3IBwLw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Parameter"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ContinuousControlFlow_Edge" description="" identifier="org.eclipse.papyrus.sysmldi.ContinuousControlFlow_Edge" name="ContinuousControlFlow_Edge" hint="ControlFlow_Edge"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_zRpmkW0gEeeeqo2x6wJ6iw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ContinuousControlFlow"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ControlFlow_Edge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.RateControlFlow_Edge" description="" identifier="org.eclipse.papyrus.sysmldi.RateControlFlow_Edge" name="RateControlFlow_Edge" hint="ControlFlow_Edge"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_zRpmkW0gEeeeqo2x6wJ6iw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.RateControlFlow"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ControlFlow_Edge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DiscreteControlFlow_Edge" description="" identifier="org.eclipse.papyrus.sysmldi.DiscreteControlFlow_Edge" name="DiscreteControlFlow_Edge" hint="ControlFlow_Edge"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_zRpmkW0gEeeeqo2x6wJ6iw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.DiscreteControlFlow"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ControlFlow_Edge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Block_NestedBlock_Classifier" identifier="org.eclipse.papyrus.sysmldi.Block_NestedBlock_Classifier" name="Block (NestedBlock_Classifier)" hint="NestedBlock_Classifier"> - <iconEntry xmi:id="_n9BYgdFeEeSxf_hKmhrahA" iconPath="/icons/full/obj16/Class.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_n9BYgtFeEeSxf_hKmhrahA"> - <stereotypesQualifiedNames>SysML::Blocks::Block</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Block"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Label" description="" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Label" name="FlowPort (FlowPort_Label)" hint="FlowPort_Label"> - <iconEntry xmi:id="_tjVDYc1xEeSsRbN4ihgqDg" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_tjVDYs1xEeSsRbN4ihgqDg"> - <stereotypesQualifiedNames>SysML::DeprecatedElements::FlowPort</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowPort"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Property_SignalAttributeLabel" description="" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Property_SignalAttributeLabel" name="FlowPort (Property_SignalAttributeLabel)" hint="Property_SignalAttributeLabel"> - <iconEntry xmi:id="_39Sg0c1xEeSsRbN4ihgqDg" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_39Sg0s1xEeSsRbN4ihgqDg"> - <stereotypesQualifiedNames>SysML::DeprecatedElements::FlowPort</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_SignalAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Property_InterfaceAttributeLabel" description="" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Property_InterfaceAttributeLabel" name="FlowPort (Property_InterfaceAttributeLabel)" hint="Property_InterfaceAttributeLabel"> - <iconEntry xmi:id="_42Bfoc1xEeSsRbN4ihgqDg" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_42Bfos1xEeSsRbN4ihgqDg"> - <stereotypesQualifiedNames>SysML::DeprecatedElements::FlowPort</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_InterfaceAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Property_ClassAttributeLabel" description="" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Property_ClassAttributeLabel" name="FlowPort (Property_ClassAttributeLabel)" hint="Property_ClassAttributeLabel"> - <iconEntry xmi:id="_5h35Ac1xEeSsRbN4ihgqDg" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_5h35As1xEeSsRbN4ihgqDg"> - <stereotypesQualifiedNames>SysML::DeprecatedElements::FlowPort</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ClassAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Property_DataTypeAttributeLabel" description="" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Property_DataTypeAttributeLabel" name="FlowPort (Property_DataTypeAttributeLabel)" hint="Property_DataTypeAttributeLabel"> - <iconEntry xmi:id="_8e8HEc1xEeSsRbN4ihgqDg" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_8e8HEs1xEeSsRbN4ihgqDg"> - <stereotypesQualifiedNames>SysML::DeprecatedElements::FlowPort</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_DataTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Property_PrimitiveTypeAttributeLabel" description="" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Property_PrimitiveTypeAttributeLabel" name="FlowPort (Property_PrimitiveTypeAttributeLabel)" hint="Property_PrimitiveTypeAttributeLabel"> - <iconEntry xmi:id="_9Ecn4c1xEeSsRbN4ihgqDg" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_9Ecn4s1xEeSsRbN4ihgqDg"> - <stereotypesQualifiedNames>SysML::DeprecatedElements::FlowPort</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_PrimitiveTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi." identifier="org.eclipse.papyrus.sysmldi." name="ControlOperator (Operation_BorderItem)" hint="Operation_BorderItem"> - <iconEntry xmi:id="_R01uQdH_EeSxf_hKmhrahA" iconPath="/icons/full/obj16/Operation.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_R01uQtH_EeSxf_hKmhrahA"> - <stereotypesQualifiedNames>SysML::Activities::ControlOperator</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ControlOperator_Operation"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Verify_Abstraction_Verify_Link" identifier="org.eclipse.papyrus.sysmldi.Verify_Abstraction_Verify_Link" name="Verify_Link" hint="Verify_Link"> - <iconEntry xmi:id="_YjE7YNPBEeSRNI7img_HuA" iconPath="/icons/full/obj16/Operation.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_YjE7YdPBEeSRNI7img_HuA"> - <stereotypesQualifiedNames>SysML::Activities::ControlOperator</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Verify_Abstraction"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Actor_Class" description="Create an Actor in a UML Class Diagram" identifier="org.eclipse.papyrus.sysmldi.Actor_Class" name="Actor" hint="Class_Shape"> - <iconEntry xmi:id="_HQFw0eduEeSUQvXhEVQh8w" iconPath="/icons/full/obj16/Actor.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_DlNdMIxDEeWFTecuNLV29Q" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Actor"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Unit_InstanceSpecification_Shape" description="Create an Unit in a UML Class Diagram" identifier="org.eclipse.papyrus.sysmldi.Unit_InstanceSpecification_Shape" name="Unit_InstanceSpecification_Shape" hint="InstanceSpecification_Shape"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_oSLsEIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Unit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InstanceSpecification_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Unit_InstanceSpecification_Shape_CN" description="Create an Unit in a UML Class Diagram" identifier="org.eclipse.papyrus.sysmldi.Unit_InstanceSpecification_Shape_CN" name="Unit_InstanceSpecification_Shape_CN" hint="InstanceSpecification_Shape_CN"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_o7STcIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Unit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InstanceSpecification_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.QuantityKind_InstanceSpecification_Shape" description="Create an QuantityKind in a UML Class Diagram" identifier="org.eclipse.papyrus.sysmldi.QuantityKind_InstanceSpecification_Shape" name="QuantityKind_InstanceSpecification_Shape" hint="InstanceSpecification_Shape"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_pCPQAIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.QuantityKind"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InstanceSpecification_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.QuantityKind_InstanceSpecification_Shape_CN" description="Create an QuantityKind in a UML Class Diagram" identifier="org.eclipse.papyrus.sysmldi.QuantityKind_InstanceSpecification_Shape_CN" name="QuantityKind_InstanceSpecification_Shape_CN" hint="InstanceSpecification_Shape_CN"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_pM62AIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.QuantityKind"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InstanceSpecification_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Class_Port" description="Create an UML Port in an UML Class Diagram" identifier="org.eclipse.papyrus.sysmldi.Class_Port" name="Class_Port" hint="Class_Port"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_pxKLgIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Port"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Class_ProxyPort" description="Create an UML ProxyPort in an UML Class Diagram" identifier="org.eclipse.papyrus.sysmldi.Class_ProxyPort" name="Class_ProxyPort" hint="Class_ProxyPort"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_p7ucwIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ProxyPort"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Class_FullPort" description="Create an UML FullPort in an UML Class Diagram" identifier="org.eclipse.papyrus.sysmldi.Class_FullPort" name="Class_FullPort" hint="Class_FullPort"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_qF66kIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FullPort"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ProxyPort_Label" description="" identifier="org.eclipse.papyrus.sysmldi.ProxyPort_Label" name="ProxyPort (ProxyPort_Label)" hint="ProxyPort_Label"> - <iconEntry xmi:id="_0su20eyxEeSNB9Q0D5gJiA" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_0su20uyxEeSNB9Q0D5gJiA"> - <stereotypesQualifiedNames>SysML::DeprecatedElements::FlowPort</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ProxyPort"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FullPort_Label" description="" identifier="org.eclipse.papyrus.sysmldi.FullPort_Label" name="FullPort (FullPort_Label)" hint="FullPort_Label"> - <iconEntry xmi:id="_1HdD8eyxEeSNB9Q0D5gJiA" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="stereotypematcher:StereotypeApplicationMatcherConfiguration" xmi:id="_1HdD8uyxEeSNB9Q0D5gJiA"> - <stereotypesQualifiedNames>SysML::DeprecatedElements::FlowPort</stereotypesQualifiedNames> - </matcherConfiguration> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FullPort"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Value_Property_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Value_Property_ComponentAttributeLabel" name="Value (Property_ComponentAttributeLabel)" hint="Property_ComponentAttributeLabel"> - <iconEntry xmi:id="_6swwIScIEeWZS4hs8J1fNQ" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_6swwIicIEeWZS4hs8J1fNQ" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.ValueEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_rcBx4Ie8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Value"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ComponentAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Value_Property_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Value_Property_SignalAttributeLabel" name="Value (Property_SignalAttributeLabel)" hint="Property_SignalAttributeLabel"> - <iconEntry xmi:id="_TSDJVCCyEeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_I_GrICC4EeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.ValueEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_rt1TkIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Value"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_SignalAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Value_Property_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Value_Property_InterfaceAttributeLabel" name="Value (Property_InterfaceAttributeLabel)" hint="Property_InterfaceAttributeLabel"> - <iconEntry xmi:id="_TSDJVyCyEeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_JH1wYCC4EeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.ValueEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_sHB2sIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Value"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_InterfaceAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Value_Property_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Value_Property_ClassAttributeLabel" name="Value (Property_ClassAttributeLabel)" hint="Property_ClassAttributeLabel"> - <iconEntry xmi:id="_TSDJWiCyEeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_JSYMcCC4EeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.ValueEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_sTp9cIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Value"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ClassAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Value_Property_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Value_Property_DataTypeAttributeLabel" name="Value (Property_DataTypeAttributeLabel)" hint="Property_DataTypeAttributeLabel"> - <iconEntry xmi:id="_TSDJXSCyEeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_Jct0MCC4EeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.ValueEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_sepsgIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Value"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_DataTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Value_Property_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Value_Property_PrimitiveTypeAttributeLabel" name="Value (Property_PrimitiveTypeAttributeLabel)" hint="Property_PrimitiveTypeAttributeLabel"> - <iconEntry xmi:id="_TSDJYCCyEeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_Jn8MwCC4EeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.ValueEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_ss3usIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Value"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_PrimitiveTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Reference_label" description="Create a Block Reference" identifier="org.eclipse.papyrus.sysmldi.Reference_label" name="Reference" hint="SysML::Block::Reference_label"> - <iconEntry xmi:id="_UqzmgFL7EeWix4nZluIdNA" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_VWNT8FL7EeWix4nZluIdNA" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_s7NssIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Reference"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Reference_Property_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Reference_Property_ComponentAttributeLabel" name="Reference (Property_ComponentAttributeLabel)" hint="Property_ComponentAttributeLabel"> - <iconEntry xmi:id="_bobH8SC-EeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_bobH8iC-EeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_tF6g0Ie8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Reference"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ComponentAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Reference_Property_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Reference_Property_SignalAttributeLabel" name="Reference (Property_SignalAttributeLabel)" hint="Property_SignalAttributeLabel"> - <iconEntry xmi:id="_zsNRESC-EeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_zsNREiC-EeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_tQ628Ie8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Reference"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_SignalAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Reference_Property_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Reference_Property_InterfaceAttributeLabel" name="Reference (Property_InterfaceAttributeLabel)" hint="Property_InterfaceAttributeLabel"> - <iconEntry xmi:id="_zsNRFCC-EeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_zsNRFSC-EeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_th7ucIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Reference"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_InterfaceAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Reference_Property_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Reference_Property_ClassAttributeLabel" name="Reference (Property_ClassAttributeLabel)" hint="Property_ClassAttributeLabel"> - <iconEntry xmi:id="_zsNRFyC-EeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_zsNRGCC-EeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_ts8EkIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Reference"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ClassAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Reference_Property_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Reference_Property_DataTypeAttributeLabel" name="Reference (Property_DataTypeAttributeLabel)" hint="Property_DataTypeAttributeLabel"> - <iconEntry xmi:id="_zsNRGiC-EeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_zsNRGyC-EeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_t1_S4Ie8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Reference"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_DataTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Reference_Property_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Reference_Property_PrimitiveTypeAttributeLabel" name="Reference (Property_PrimitiveTypeAttributeLabel)" hint="Property_PrimitiveTypeAttributeLabel"> - <iconEntry xmi:id="_zsNRHSC-EeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_zsNRHiC-EeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_uIUZAIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Reference"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_PrimitiveTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Parameter_label" description="Create a ConstraintBlock Parameter" identifier="org.eclipse.papyrus.sysmldi.Parameter_label" name="Parameter" hint="SysML::ConstraintBlock::Parameter_label"> - <iconEntry xmi:id="_9vMgkAC4EeabH6-I0dvpUQ" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_L90icAC5EeabH6-I0dvpUQ" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Parameter"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Part_label" description="Create a Block Part" identifier="org.eclipse.papyrus.sysmldi.Part_label" name="Part" hint="SysML::Block::Part_label"> - <iconEntry xmi:id="_zFrY0FYBEeW77p7V_ZuW3Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_2qdHIFYBEeW77p7V_ZuW3Q" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_uWc7oIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Part"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Part_Property_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Part_Property_ComponentAttributeLabel" name="Part (Property_ComponentAttributeLabel)" hint="Property_ComponentAttributeLabel"> - <iconEntry xmi:id="_cCfUISDGEeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_fz9aoCDGEeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_uhUu4Ie8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Part"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ComponentAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Part_Property_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Part_Property_SignalAttributeLabel" name="Part (Property_SignalAttributeLabel)" hint="Property_SignalAttributeLabel"> - <iconEntry xmi:id="_cCfUJCDGEeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_gAyVsCDGEeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_usAU4Ie8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Part"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_SignalAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Part_Property_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Part_Property_InterfaceAttributeLabel" name="Part (Property_InterfaceAttributeLabel)" hint="Property_InterfaceAttributeLabel"> - <iconEntry xmi:id="_cCfUJyDGEeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_gLETECDGEeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_u6v7gIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Part"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_InterfaceAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Part_Property_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Part_Property_ClassAttributeLabel" name="Part (Property_ClassAttributeLabel)" hint="Property_ClassAttributeLabel"> - <iconEntry xmi:id="_cCfUKiDGEeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_gUWK4CDGEeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_vHpvEIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Part"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ClassAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Part_Property_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Part_Property_DataTypeAttributeLabel" name="Part (Property_DataTypeAttributeLabel)" hint="Property_DataTypeAttributeLabel"> - <iconEntry xmi:id="_cCfULSDGEeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_ghOwUCDGEeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_vUTD8Ie8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Part"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_DataTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Part_Property_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.Part_Property_PrimitiveTypeAttributeLabel" name="Part (Property_PrimitiveTypeAttributeLabel)" hint="Property_PrimitiveTypeAttributeLabel"> - <iconEntry xmi:id="_cCfUMCDGEeWj-IGNWcNL0Q" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <editHelperAdviceConfiguration xsi:type="elementtypesconfigurations:EditHelperAdviceConfiguration" xmi:id="_gtaLICDGEeWj-IGNWcNL0Q" description="" editHelperAdviceClassName="org.eclipse.papyrus.sysml14.diagram.common.advices.CreateOrSelectBlockPropertyTypeEditHelperAdvice"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_vf1lkIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Value"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_PrimitiveTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowProperty_label" description="Create a FlowProperty" identifier="org.eclipse.papyrus.sysmldi.FlowProperty_label" name="FlowProperty" hint="SysML::Block::FlowProperty_label"> - <iconEntry xmi:id="_OG0VQGHGEeWbSMDuSXx8SQ" iconPath="/icons/full/obj16/Property.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_vr2oUIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ConfiguredFlowProperty"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TestCase_Activity_NamedElement_Shape" identifier="org.eclipse.papyrus.sysmldi.TestCase_Activity_NamedElement_Shape" name="Activity (NamedElement_Shape)" hint="NamedElement_DefaultShape"> - <iconEntry xmi:id="_AymtQGXkEeWv7P_h5u3SSw" iconPath="icons/full/obj16/Activity.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_v9OFIIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Activity"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.NamedElement_DefaultShape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TestCase_FunctionBehavior_NamedElement_Shape" identifier="org.eclipse.papyrus.sysmldi.TestCase_FunctionBehavior_NamedElement_Shape" name="TestCase FunctionBehavior (NamedElement_Shape)" hint="NamedElement_DefaultShape"> - <iconEntry xmi:id="_BUP4MGXYEeWv7P_h5u3SSw" iconPath="icons/full/obj16/FunctionBehavior.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_wJ4BEIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FunctionBehavior"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.NamedElement_DefaultShape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TestCase_Interaction_NamedElement_Shape" identifier="org.eclipse.papyrus.sysmldi.TestCase_Interaction_NamedElement_Shape" name="TestCase Interaction (NamedElement_Shape)" hint="NamedElement_DefaultShape"> - <iconEntry xmi:id="_moMIcGXbEeWv7P_h5u3SSw" iconPath="icons/full/obj16/Interaction.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_wWrG8Ie8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Interaction"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.NamedElement_DefaultShape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TestCase_OpaqueBehavior_NamedElement_Shape" identifier="org.eclipse.papyrus.sysmldi.TestCase_OpaqueBehavior_NamedElement_Shape" name="TestCase OpaqueBehavior (NamedElement_Shape)" hint="NamedElement_DefaultShape"> - <iconEntry xmi:id="_nBxGEGXbEeWv7P_h5u3SSw" iconPath="icons/full/obj16/OpaqueBehavior.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_wjNHEIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.OpaqueBehavior"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.NamedElement_DefaultShape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TestCase_ProtocolStateMachine_NamedElement_Shape" identifier="org.eclipse.papyrus.sysmldi.TestCase_ProtocolStateMachine_NamedElement_Shape" name="TestCase ProtocolStateMachine (NamedElement_Shape)" hint="NamedElement_DefaultShape"> - <iconEntry xmi:id="_ni5dMGXbEeWv7P_h5u3SSw" iconPath="icons/full/obj16/ProtocolStateMachine.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_w0TeIIe8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ProtocolStateMachine"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.NamedElement_DefaultShape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TestCase_StateMachine_NamedElement_Shape" identifier="org.eclipse.papyrus.sysmldi.TestCase_StateMachine_NamedElement_Shape" name="TestCase StateMachine (NamedElement_Shape)" hint="NamedElement_DefaultShape"> - <iconEntry xmi:id="_cUc84GXdEeWv7P_h5u3SSw" iconPath="icons/full/obj16/StateMachine.gif" bundleId="org.eclipse.uml2.uml.edit"/> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_xDDr0Ie8EeW05oI_3tpDGw" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.StateMachine"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.NamedElement_DefaultShape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.PrivatePackageImport_PackageImport_Edge" identifier="org.eclipse.papyrus.sysmldi.PrivatePackageImport_PackageImport_Edge" name="PrivatePackageImport (PackageImport_Edge)" hint="PackageImport_Edge"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_uowzsJzxEeWe1L0yBJDEDA" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.PrivatePackageImport"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.PackageImport_Edge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AssociationBlock_Shape" identifier="org.eclipse.papyrus.sysmldi.AssociationBlock_Shape" name="AssociationBlock" hint="AssociationClass_Shape"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_uowzTJzxEeWe1L0yBJDEDA" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.AssociationBlock"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.AssociationClass_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AssociationClass_Edge" identifier="org.eclipse.papyrus.sysmldi.AssociationClass_Edge" name="AssociationBlockEdge" hint="AssociationClass_Edge"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_uowzTJzxEeWe1L0yBJDEDA" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.AssociationBlock"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.AssociationClass_Edge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Stakeholder_NamedElement_Shape" identifier="org.eclipse.papyrus.sysmldi.Stakeholder_NamedElement_Shape" name="Stakeholder (NamedElement_Shape)" hint="NamedElement_DefaultShape"> - <matcherConfiguration xsi:type="elementtypesconfigurations:MatcherConfiguration" xmi:id="_uowzTJzxEeWe1L0yBJDEDA" matcherClassName="org.eclipse.papyrus.sysml14.service.types.matcher.internal.SysML14ProfileMatcher"/> - <iconEntry xmi:id="_BFy7HTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Stakeholder.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.StakeholderClass"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.NamedElement_DefaultShape"/> - </elementTypeConfigurations> -</elementtypesconfigurations:ElementTypeSetConfiguration>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations b/diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations deleted file mode 100644 index c4fb1aa..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations +++ /dev/null
@@ -1,1208 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<elementtypesconfigurations:ElementTypeSetConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmi:id="org.eclipse.papyrus.sysml14di.elementTypes" description="org.eclipse.papyrus.sysml14di.elementTypes" identifier="org.eclipse.papyrus.sysml14di.elementTypes" name="org.eclipse.papyrus.sysmldi.elementTypes" metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML"> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AcceptChangeStructuralFeatureEventAction_AcceptEventAction_Shape" identifier="org.eclipse.papyrus.sysmldi.AcceptChangeStructuralFeatureEventAction_AcceptEventAction_Shape" name="AcceptChangeStructuralFeatureEventAction" hint="AcceptEventAction_Shape"> - <iconEntry xmi:id="_BFqYMDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/AcceptChangeStructuralFeatureEventAction.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.AcceptChangeStructuralFeatureEventAction"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.AcceptEventAction_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_AttributeLabel" name="AdjunctProperty (Property_AttributeLabel)" hint="Property_AttributeLabel"> - <iconEntry xmi:id="_BFqYMjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/AdjunctProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.AdjunctProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_ClassAttributeLabel" name="AdjunctProperty (Property_ClassAttributeLabel)" hint="Property_ClassAttributeLabel"> - <iconEntry xmi:id="_BFqYNDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/AdjunctProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.AdjunctProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ClassAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_ComponentAttributeLabel" name="AdjunctProperty (Property_ComponentAttributeLabel)" hint="Property_ComponentAttributeLabel"> - <iconEntry xmi:id="_BFq_QDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/AdjunctProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.AdjunctProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ComponentAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_DataTypeAttributeLabel" name="AdjunctProperty (Property_DataTypeAttributeLabel)" hint="Property_DataTypeAttributeLabel"> - <iconEntry xmi:id="_BFq_QjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/AdjunctProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.AdjunctProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_DataTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_Edge" identifier="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_Edge" name="AdjunctProperty (Property_Edge)" hint="Property_Edge"> - <iconEntry xmi:id="_BFq_RDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/AdjunctProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.AdjunctProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Edge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_InterfaceAttributeLabel" name="AdjunctProperty (Property_InterfaceAttributeLabel)" hint="Property_InterfaceAttributeLabel"> - <iconEntry xmi:id="_BFq_RjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/AdjunctProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.AdjunctProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_InterfaceAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_PrimitiveTypeAttributeLabel" name="AdjunctProperty (Property_PrimitiveTypeAttributeLabel)" hint="Property_PrimitiveTypeAttributeLabel"> - <iconEntry xmi:id="_BFq_SDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/AdjunctProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.AdjunctProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_PrimitiveTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_Shape" name="AdjunctProperty (Property_Shape)" hint="Property_Shape"> - <iconEntry xmi:id="_BFq_SjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/AdjunctProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.AdjunctProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_Shape_CN" name="AdjunctProperty (Property_Shape_CN)" hint="Property_Shape_CN"> - <iconEntry xmi:id="_BFq_TDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/AdjunctProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.AdjunctProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.AdjunctProperty_Property_SignalAttributeLabel" name="AdjunctProperty (Property_SignalAttributeLabel)" hint="Property_SignalAttributeLabel"> - <iconEntry xmi:id="_BFq_TjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/AdjunctProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.AdjunctProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_SignalAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AllocateActivityPartition_ActivityPartition_Shape" identifier="org.eclipse.papyrus.sysmldi.AllocateActivityPartition_ActivityPartition_Shape" name="AllocateActivityPartition (ActivityPartition_Shape)" hint="ActivityPartition_Shape"> - <iconEntry xmi:id="_BFq_UDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/AllocateActivityPartition.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.AllocateActivityPartition"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActivityPartition_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.AllocateActivityPartition_ActivityPartition_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.AllocateActivityPartition_ActivityPartition_Shape_CN" name="AllocateActivityPartition (ActivityPartition_Shape_CN)" hint="ActivityPartition_Shape_CN"> - <iconEntry xmi:id="_BFq_UjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/AllocateActivityPartition.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.AllocateActivityPartition"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActivityPartition_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Allocate_Abstraction_Abstraction_Edge" identifier="org.eclipse.papyrus.sysmldi.Allocate_Abstraction_Abstraction_Edge" name="Allocate (Abstraction_Edge)" hint="Abstraction_Edge"> - <iconEntry xmi:id="_BFq_VDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Allocate.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Allocate_Abstraction"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Edge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Allocate_Abstraction_Abstraction_Shape" identifier="org.eclipse.papyrus.sysmldi.Allocate_Abstraction_Abstraction_Shape" name="Allocate (Abstraction_Shape)" hint="Abstraction_Shape"> - <iconEntry xmi:id="_BFq_VjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Allocate.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Allocate_Abstraction"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Allocate_Abstraction_Abstraction_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.Allocate_Abstraction_Abstraction_Shape_CN" name="Allocate (Abstraction_Shape_CN)" hint="Abstraction_Shape_CN"> - <iconEntry xmi:id="_BFq_WDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Allocate.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Allocate_Abstraction"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.BindingConnector_Connector_Edge" identifier="org.eclipse.papyrus.sysmldi.BindingConnector_Connector_Edge" name="BindingConnector" hint="Connector_Edge"> - <iconEntry xmi:id="_BFq_WjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/BindingConnector.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.BindingConnector"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Connector_Edge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Block_Class_ClassNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.Block_Class_ClassNestedClassifierLabel" name="Block (Class_ClassNestedClassifierLabel)" hint="Class_ClassNestedClassifierLabel"> - <iconEntry xmi:id="_BFq_XDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Block.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Block"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_ClassNestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Block_Class_ComponentNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.Block_Class_ComponentNestedClassifierLabel" name="Block (Class_ComponentNestedClassifierLabel)" hint="Class_ComponentNestedClassifierLabel"> - <iconEntry xmi:id="_BFrmUTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Block.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Block"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_ComponentNestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Block_Class_InterfaceNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.Block_Class_InterfaceNestedClassifierLabel" name="Block (Class_InterfaceNestedClassifierLabel)" hint="Class_InterfaceNestedClassifierLabel"> - <iconEntry xmi:id="_BFrmUzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Block.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Block"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_InterfaceNestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Block_Class_MetaclassShape" identifier="org.eclipse.papyrus.sysmldi.Block_Class_MetaclassShape" name="Block (Class_MetaclassShape)" hint="Class_MetaclassShape"> - <iconEntry xmi:id="_BFrmVTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Block.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Block"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_MetaclassShape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Block_Class_MetaclassShape_CN" identifier="org.eclipse.papyrus.sysmldi.Block_Class_MetaclassShape_CN" name="Block (Class_MetaclassShape_CN)" hint="Class_MetaclassShape_CN"> - <iconEntry xmi:id="_BFrmVzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Block.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Block"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_MetaclassShape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Block_Class_NestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.Block_Class_NestedClassifierLabel" name="Block (Class_NestedClassifierLabel)" hint="Class_NestedClassifierLabel"> - <iconEntry xmi:id="_BFrmWTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Block.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Block"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_NestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Block_Class_Shape" identifier="org.eclipse.papyrus.sysmldi.Block_Class_Shape" name="Block (Class_Shape)" hint="Class_Shape"> - <iconEntry xmi:id="_BFrmWzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Block.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Block"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Block_Class_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.Block_Class_Shape_CN" name="Block (Class_Shape_CN)" hint="Class_Shape_CN"> - <iconEntry xmi:id="_BFrmXTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Block.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Block"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.BoundReference_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.BoundReference_Property_AttributeLabel" name="BoundReference (Property_AttributeLabel)" hint="Property_AttributeLabel"> - <iconEntry xmi:id="_BFrmXzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/BoundReference.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.BoundReference"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.BoundReference_Property_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.BoundReference_Property_ClassAttributeLabel" name="BoundReference (Property_ClassAttributeLabel)" hint="Property_ClassAttributeLabel"> - <iconEntry xmi:id="_BFsNYTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/BoundReference.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.BoundReference"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ClassAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.BoundReference_Property_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.BoundReference_Property_ComponentAttributeLabel" name="BoundReference (Property_ComponentAttributeLabel)" hint="Property_ComponentAttributeLabel"> - <iconEntry xmi:id="_BFsNYzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/BoundReference.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.BoundReference"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ComponentAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.BoundReference_Property_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.BoundReference_Property_DataTypeAttributeLabel" name="BoundReference (Property_DataTypeAttributeLabel)" hint="Property_DataTypeAttributeLabel"> - <iconEntry xmi:id="_BFsNZTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/BoundReference.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.BoundReference"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_DataTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.BoundReference_Property_Edge" identifier="org.eclipse.papyrus.sysmldi.BoundReference_Property_Edge" name="BoundReference (Property_Edge)" hint="Property_Edge"> - <iconEntry xmi:id="_BFsNZzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/BoundReference.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.BoundReference"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Edge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.BoundReference_Property_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.BoundReference_Property_InterfaceAttributeLabel" name="BoundReference (Property_InterfaceAttributeLabel)" hint="Property_InterfaceAttributeLabel"> - <iconEntry xmi:id="_BFsNaTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/BoundReference.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.BoundReference"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_InterfaceAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.BoundReference_Property_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.BoundReference_Property_PrimitiveTypeAttributeLabel" name="BoundReference (Property_PrimitiveTypeAttributeLabel)" hint="Property_PrimitiveTypeAttributeLabel"> - <iconEntry xmi:id="_BFsNazvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/BoundReference.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.BoundReference"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_PrimitiveTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.BoundReference_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.BoundReference_Property_Shape" name="BoundReference (Property_Shape)" hint="Property_Shape"> - <iconEntry xmi:id="_BFsNbTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/BoundReference.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.BoundReference"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.BoundReference_Property_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.BoundReference_Property_Shape_CN" name="BoundReference (Property_Shape_CN)" hint="Property_Shape_CN"> - <iconEntry xmi:id="_BFsNbzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/BoundReference.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.BoundReference"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.BoundReference_Property_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.BoundReference_Property_SignalAttributeLabel" name="BoundReference (Property_SignalAttributeLabel)" hint="Property_SignalAttributeLabel"> - <iconEntry xmi:id="_BFsNcTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/BoundReference.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.BoundReference"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_SignalAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ChangeStructuralFeatureEvent_ChangeEvent_Shape" identifier="org.eclipse.papyrus.sysmldi.ChangeStructuralFeatureEvent_ChangeEvent_Shape" name="ChangeStructuralFeatureEvent" hint="ChangeEvent_Shape"> - <iconEntry xmi:id="_BFs0cTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ChangeStructuralFeatureEvent.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ChangeStructuralFeatureEvent"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ChangeEvent_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_AttributeLabel" name="ClassifierBehaviorProperty (Property_AttributeLabel)" hint="Property_AttributeLabel"> - <iconEntry xmi:id="_BFs0czvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ClassifierBehaviorProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ClassifierBehaviorProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_ClassAttributeLabel" name="ClassifierBehaviorProperty (Property_ClassAttributeLabel)" hint="Property_ClassAttributeLabel"> - <iconEntry xmi:id="_BFs0dTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ClassifierBehaviorProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ClassifierBehaviorProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ClassAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_ComponentAttributeLabel" name="ClassifierBehaviorProperty (Property_ComponentAttributeLabel)" hint="Property_ComponentAttributeLabel"> - <iconEntry xmi:id="_BFs0dzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ClassifierBehaviorProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ClassifierBehaviorProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ComponentAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_DataTypeAttributeLabel" name="ClassifierBehaviorProperty (Property_DataTypeAttributeLabel)" hint="Property_DataTypeAttributeLabel"> - <iconEntry xmi:id="_BFs0eTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ClassifierBehaviorProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ClassifierBehaviorProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_DataTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_Edge" identifier="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_Edge" name="ClassifierBehaviorProperty (Property_Edge)" hint="Property_Edge"> - <iconEntry xmi:id="_BFs0ezvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ClassifierBehaviorProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ClassifierBehaviorProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Edge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_InterfaceAttributeLabel" name="ClassifierBehaviorProperty (Property_InterfaceAttributeLabel)" hint="Property_InterfaceAttributeLabel"> - <iconEntry xmi:id="_BFs0fTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ClassifierBehaviorProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ClassifierBehaviorProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_InterfaceAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_PrimitiveTypeAttributeLabel" name="ClassifierBehaviorProperty (Property_PrimitiveTypeAttributeLabel)" hint="Property_PrimitiveTypeAttributeLabel"> - <iconEntry xmi:id="_BFs0fzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ClassifierBehaviorProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ClassifierBehaviorProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_PrimitiveTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_Shape" name="ClassifierBehaviorProperty (Property_Shape)" hint="Property_Shape"> - <iconEntry xmi:id="_BFs0gTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ClassifierBehaviorProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ClassifierBehaviorProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_Shape_CN" name="ClassifierBehaviorProperty (Property_Shape_CN)" hint="Property_Shape_CN"> - <iconEntry xmi:id="_BFs0gzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ClassifierBehaviorProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ClassifierBehaviorProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ClassifierBehaviorProperty_Property_SignalAttributeLabel" name="ClassifierBehaviorProperty (Property_SignalAttributeLabel)" hint="Property_SignalAttributeLabel"> - <iconEntry xmi:id="_BFs0hTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ClassifierBehaviorProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ClassifierBehaviorProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_SignalAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Conform_Generalization_Edge" identifier="org.eclipse.papyrus.sysmldi.Conform_Generalization_Edge" name="Conform" hint="Generalization_Edge"> - <iconEntry xmi:id="_BFs0hzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Conform.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Conform"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Generalization_Edge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_AttributeLabel" name="ConnectorProperty (Property_AttributeLabel)" hint="Property_AttributeLabel"> - <iconEntry xmi:id="_BFtbgTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConnectorProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ConnectorProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_ClassAttributeLabel" name="ConnectorProperty (Property_ClassAttributeLabel)" hint="Property_ClassAttributeLabel"> - <iconEntry xmi:id="_BFtbgzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConnectorProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ConnectorProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ClassAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_ComponentAttributeLabel" name="ConnectorProperty (Property_ComponentAttributeLabel)" hint="Property_ComponentAttributeLabel"> - <iconEntry xmi:id="_BFtbhTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConnectorProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ConnectorProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ComponentAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_DataTypeAttributeLabel" name="ConnectorProperty (Property_DataTypeAttributeLabel)" hint="Property_DataTypeAttributeLabel"> - <iconEntry xmi:id="_BFtbhzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConnectorProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ConnectorProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_DataTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_Edge" identifier="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_Edge" name="ConnectorProperty (Property_Edge)" hint="Property_Edge"> - <iconEntry xmi:id="_BFtbiTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConnectorProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ConnectorProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Edge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_InterfaceAttributeLabel" name="ConnectorProperty (Property_InterfaceAttributeLabel)" hint="Property_InterfaceAttributeLabel"> - <iconEntry xmi:id="_BFtbizvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConnectorProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ConnectorProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_InterfaceAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_PrimitiveTypeAttributeLabel" name="ConnectorProperty (Property_PrimitiveTypeAttributeLabel)" hint="Property_PrimitiveTypeAttributeLabel"> - <iconEntry xmi:id="_BFtbjTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConnectorProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ConnectorProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_PrimitiveTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_Shape" name="ConnectorProperty (Property_Shape)" hint="Property_Shape"> - <iconEntry xmi:id="_BFtbjzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConnectorProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ConnectorProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_Shape_CN" name="ConnectorProperty (Property_Shape_CN)" hint="Property_Shape_CN"> - <iconEntry xmi:id="_BFtbkTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConnectorProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ConnectorProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ConnectorProperty_Property_SignalAttributeLabel" name="ConnectorProperty (Property_SignalAttributeLabel)" hint="Property_SignalAttributeLabel"> - <iconEntry xmi:id="_BFtbkzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConnectorProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ConnectorProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_SignalAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_ClassNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_ClassNestedClassifierLabel" name="ConstraintBlock (Class_ClassNestedClassifierLabel)" hint="Class_ClassNestedClassifierLabel"> - <iconEntry xmi:id="_BFtblTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConstraintBlock.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ConstraintBlock"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_ClassNestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_ComponentNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_ComponentNestedClassifierLabel" name="ConstraintBlock (Class_ComponentNestedClassifierLabel)" hint="Class_ComponentNestedClassifierLabel"> - <iconEntry xmi:id="_BFtblzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConstraintBlock.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ConstraintBlock"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_ComponentNestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_InterfaceNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_InterfaceNestedClassifierLabel" name="ConstraintBlock (Class_InterfaceNestedClassifierLabel)" hint="Class_InterfaceNestedClassifierLabel"> - <iconEntry xmi:id="_BFtbmTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConstraintBlock.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ConstraintBlock"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_InterfaceNestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_MetaclassShape" identifier="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_MetaclassShape" name="ConstraintBlock (Class_MetaclassShape)" hint="Class_MetaclassShape"> - <iconEntry xmi:id="_BFuCkTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConstraintBlock.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ConstraintBlock"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_MetaclassShape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_MetaclassShape_CN" identifier="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_MetaclassShape_CN" name="ConstraintBlock (Class_MetaclassShape_CN)" hint="Class_MetaclassShape_CN"> - <iconEntry xmi:id="_BFuCkzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConstraintBlock.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ConstraintBlock"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_MetaclassShape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_NestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_NestedClassifierLabel" name="ConstraintBlock (Class_NestedClassifierLabel)" hint="Class_NestedClassifierLabel"> - <iconEntry xmi:id="_BFuClTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConstraintBlock.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ConstraintBlock"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_NestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_Shape" identifier="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_Shape" name="ConstraintBlock (Class_Shape)" hint="Class_Shape"> - <iconEntry xmi:id="_BFuClzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConstraintBlock.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ConstraintBlock"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.ConstraintBlock_Class_Shape_CN" name="ConstraintBlock (Class_Shape_CN)" hint="Class_Shape_CN"> - <iconEntry xmi:id="_BFuCmTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ConstraintBlock.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ConstraintBlock"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Continuous_Parameter_Parameter_ParameterLabel" identifier="org.eclipse.papyrus.sysmldi.Continuous_Parameter_Parameter_ParameterLabel" name="Continuous (Parameter_ParameterLabel)" hint="Parameter_ParameterLabel"> - <iconEntry xmi:id="_BFuCmzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Continuous.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Continuous_Parameter"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Parameter_ParameterLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Continuous_Parameter_Parameter_Shape" identifier="org.eclipse.papyrus.sysmldi.Continuous_Parameter_Parameter_Shape" name="Continuous (Parameter_Shape)" hint="Parameter_Shape"> - <iconEntry xmi:id="_BFuCnTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Continuous.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Continuous_Parameter"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Parameter_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ControlOperator_Behavior_Behavior_InternalBehaviorLabel" identifier="org.eclipse.papyrus.sysmldi.ControlOperator_Behavior_Behavior_InternalBehaviorLabel" name="ControlOperator Behavior" hint="Behavior_InternalBehaviorLabel"> - <iconEntry xmi:id="_BFuCnzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ControlOperator.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ControlOperator_Behavior"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Behavior_InternalBehaviorLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ControlOperator_Operation_Operation_ClassOperationLabel" identifier="org.eclipse.papyrus.sysmldi.ControlOperator_Operation_Operation_ClassOperationLabel" name="ControlOperator (Operation_ClassOperationLabel)" hint="Operation_ClassOperationLabel"> - <iconEntry xmi:id="_BFuCoTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ControlOperator.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ControlOperator_Operation"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Operation_ClassOperationLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ControlOperator_Operation_Operation_ComponentOperationLabel" identifier="org.eclipse.papyrus.sysmldi.ControlOperator_Operation_Operation_ComponentOperationLabel" name="ControlOperator (Operation_ComponentOperationLabel)" hint="Operation_ComponentOperationLabel"> - <iconEntry xmi:id="_BFuCozvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ControlOperator.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ControlOperator_Operation"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Operation_ComponentOperationLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ControlOperator_Operation_Operation_DataTypeOperationLabel" identifier="org.eclipse.papyrus.sysmldi.ControlOperator_Operation_Operation_DataTypeOperationLabel" name="ControlOperator (Operation_DataTypeOperationLabel)" hint="Operation_DataTypeOperationLabel"> - <iconEntry xmi:id="_BFuCpTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ControlOperator.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ControlOperator_Operation"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Operation_DataTypeOperationLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ControlOperator_Operation_Operation_InterfaceOperationLabel" identifier="org.eclipse.papyrus.sysmldi.ControlOperator_Operation_Operation_InterfaceOperationLabel" name="ControlOperator (Operation_InterfaceOperationLabel)" hint="Operation_InterfaceOperationLabel"> - <iconEntry xmi:id="_BFuCpzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ControlOperator.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ControlOperator_Operation"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Operation_InterfaceOperationLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ControlOperator_Operation_Operation_OperationLabel" identifier="org.eclipse.papyrus.sysmldi.ControlOperator_Operation_Operation_OperationLabel" name="ControlOperator (Operation_OperationLabel)" hint="Operation_OperationLabel"> - <iconEntry xmi:id="_BFuCqTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ControlOperator.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ControlOperator_Operation"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Operation_OperationLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ControlOperator_Operation_Operation_PrimitiveTypeOperationLabel" identifier="org.eclipse.papyrus.sysmldi.ControlOperator_Operation_Operation_PrimitiveTypeOperationLabel" name="ControlOperator (Operation_PrimitiveTypeOperationLabel)" hint="Operation_PrimitiveTypeOperationLabel"> - <iconEntry xmi:id="_BFuCqzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ControlOperator.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ControlOperator_Operation"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Operation_PrimitiveTypeOperationLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Copy_Abstraction_Abstraction_Edge" identifier="org.eclipse.papyrus.sysmldi.Copy_Abstraction_Abstraction_Edge" name="Copy (Abstraction_Edge)" hint="Abstraction_Edge"> - <iconEntry xmi:id="_BFuCrTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Copy.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Copy_Abstraction"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Edge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Copy_Abstraction_Abstraction_Shape" identifier="org.eclipse.papyrus.sysmldi.Copy_Abstraction_Abstraction_Shape" name="Copy (Abstraction_Shape)" hint="Abstraction_Shape"> - <iconEntry xmi:id="_BFuCrzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Copy.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Copy_Abstraction"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Copy_Abstraction_Abstraction_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.Copy_Abstraction_Abstraction_Shape_CN" name="Copy (Abstraction_Shape_CN)" hint="Abstraction_Shape_CN"> - <iconEntry xmi:id="_BFuCsTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Copy.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Copy_Abstraction"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DeriveReqt_Abstraction_Abstraction_Edge" identifier="org.eclipse.papyrus.sysmldi.DeriveReqt_Abstraction_Abstraction_Edge" name="DeriveReqt (Abstraction_Edge)" hint="Abstraction_Edge"> - <iconEntry xmi:id="_BFuCszvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/DeriveReqt.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.DeriveReqt_Abstraction"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Edge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DeriveReqt_Abstraction_Abstraction_Shape" identifier="org.eclipse.papyrus.sysmldi.DeriveReqt_Abstraction_Abstraction_Shape" name="DeriveReqt (Abstraction_Shape)" hint="Abstraction_Shape"> - <iconEntry xmi:id="_BFuCtTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/DeriveReqt.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.DeriveReqt_Abstraction"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DeriveReqt_Abstraction_Abstraction_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.DeriveReqt_Abstraction_Abstraction_Shape_CN" name="DeriveReqt (Abstraction_Shape_CN)" hint="Abstraction_Shape_CN"> - <iconEntry xmi:id="_BFuCtzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/DeriveReqt.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.DeriveReqt_Abstraction"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Discrete_Parameter_Parameter_ParameterLabel" identifier="org.eclipse.papyrus.sysmldi.Discrete_Parameter_Parameter_ParameterLabel" name="Discrete (Parameter_ParameterLabel)" hint="Parameter_ParameterLabel"> - <iconEntry xmi:id="_BFupoTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Discrete.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Discrete_Parameter"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Parameter_ParameterLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Discrete_Parameter_Parameter_Shape" identifier="org.eclipse.papyrus.sysmldi.Discrete_Parameter_Parameter_Shape" name="Discrete (Parameter_Shape)" hint="Parameter_Shape"> - <iconEntry xmi:id="_BFupozvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Discrete.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Discrete_Parameter"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Parameter_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_AttributeLabel" name="DistributedProperty (Property_AttributeLabel)" hint="Property_AttributeLabel"> - <iconEntry xmi:id="_BFuppTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/DistributedProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.DistributedProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_ClassAttributeLabel" name="DistributedProperty (Property_ClassAttributeLabel)" hint="Property_ClassAttributeLabel"> - <iconEntry xmi:id="_BFuppzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/DistributedProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.DistributedProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ClassAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_ComponentAttributeLabel" name="DistributedProperty (Property_ComponentAttributeLabel)" hint="Property_ComponentAttributeLabel"> - <iconEntry xmi:id="_BFupqTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/DistributedProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.DistributedProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ComponentAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_DataTypeAttributeLabel" name="DistributedProperty (Property_DataTypeAttributeLabel)" hint="Property_DataTypeAttributeLabel"> - <iconEntry xmi:id="_BFupqzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/DistributedProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.DistributedProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_DataTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_Edge" identifier="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_Edge" name="DistributedProperty (Property_Edge)" hint="Property_Edge"> - <iconEntry xmi:id="_BFvQsTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/DistributedProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.DistributedProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Edge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_InterfaceAttributeLabel" name="DistributedProperty (Property_InterfaceAttributeLabel)" hint="Property_InterfaceAttributeLabel"> - <iconEntry xmi:id="_BFvQszvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/DistributedProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.DistributedProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_InterfaceAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_PrimitiveTypeAttributeLabel" name="DistributedProperty (Property_PrimitiveTypeAttributeLabel)" hint="Property_PrimitiveTypeAttributeLabel"> - <iconEntry xmi:id="_BFvQtTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/DistributedProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.DistributedProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_PrimitiveTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_Shape" name="DistributedProperty (Property_Shape)" hint="Property_Shape"> - <iconEntry xmi:id="_BFvQtzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/DistributedProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.DistributedProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_Shape_CN" name="DistributedProperty (Property_Shape_CN)" hint="Property_Shape_CN"> - <iconEntry xmi:id="_BFvQuTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/DistributedProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.DistributedProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.DistributedProperty_Property_SignalAttributeLabel" name="DistributedProperty (Property_SignalAttributeLabel)" hint="Property_SignalAttributeLabel"> - <iconEntry xmi:id="_BFvQuzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/DistributedProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.DistributedProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_SignalAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ElementGroup_Comment_Shape" identifier="org.eclipse.papyrus.sysmldi.ElementGroup_Comment_Shape" name="ElementGroup (Comment_Shape)" hint="Comment_Shape"> - <iconEntry xmi:id="_BFvQvTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ElementGroup.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ElementGroup"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Comment_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ElementGroup_Comment_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.ElementGroup_Comment_Shape_CN" name="ElementGroup (Comment_Shape_CN)" hint="Comment_Shape_CN"> - <iconEntry xmi:id="_BFvQvzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ElementGroup.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ElementGroup"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Comment_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_AttributeLabel" name="EndPathMultiplicity (Property_AttributeLabel)" hint="Property_AttributeLabel"> - <iconEntry xmi:id="_BFvQwTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/EndPathMultiplicity.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.EndPathMultiplicity"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_ClassAttributeLabel" name="EndPathMultiplicity (Property_ClassAttributeLabel)" hint="Property_ClassAttributeLabel"> - <iconEntry xmi:id="_BFvQwzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/EndPathMultiplicity.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.EndPathMultiplicity"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ClassAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_ComponentAttributeLabel" name="EndPathMultiplicity (Property_ComponentAttributeLabel)" hint="Property_ComponentAttributeLabel"> - <iconEntry xmi:id="_BFvQxTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/EndPathMultiplicity.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.EndPathMultiplicity"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ComponentAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_DataTypeAttributeLabel" name="EndPathMultiplicity (Property_DataTypeAttributeLabel)" hint="Property_DataTypeAttributeLabel"> - <iconEntry xmi:id="_BFvQxzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/EndPathMultiplicity.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.EndPathMultiplicity"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_DataTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_Edge" identifier="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_Edge" name="EndPathMultiplicity (Property_Edge)" hint="Property_Edge"> - <iconEntry xmi:id="_BFvQyTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/EndPathMultiplicity.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.EndPathMultiplicity"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Edge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_InterfaceAttributeLabel" name="EndPathMultiplicity (Property_InterfaceAttributeLabel)" hint="Property_InterfaceAttributeLabel"> - <iconEntry xmi:id="_BFvQyzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/EndPathMultiplicity.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.EndPathMultiplicity"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_InterfaceAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_PrimitiveTypeAttributeLabel" name="EndPathMultiplicity (Property_PrimitiveTypeAttributeLabel)" hint="Property_PrimitiveTypeAttributeLabel"> - <iconEntry xmi:id="_BFvQzTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/EndPathMultiplicity.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.EndPathMultiplicity"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_PrimitiveTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_Shape" name="EndPathMultiplicity (Property_Shape)" hint="Property_Shape"> - <iconEntry xmi:id="_BFvQzzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/EndPathMultiplicity.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.EndPathMultiplicity"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_Shape_CN" name="EndPathMultiplicity (Property_Shape_CN)" hint="Property_Shape_CN"> - <iconEntry xmi:id="_BFvQ0TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/EndPathMultiplicity.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.EndPathMultiplicity"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.EndPathMultiplicity_Property_SignalAttributeLabel" name="EndPathMultiplicity (Property_SignalAttributeLabel)" hint="Property_SignalAttributeLabel"> - <iconEntry xmi:id="_BFvQ0zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/EndPathMultiplicity.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.EndPathMultiplicity"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_SignalAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Expose_Dependency_BranchEdge" identifier="org.eclipse.papyrus.sysmldi.Expose_Dependency_BranchEdge" name="Expose (Dependency_BranchEdge)" hint="Dependency_BranchEdge"> - <iconEntry xmi:id="_BFv3wDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Expose.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Expose"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Dependency_BranchEdge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Expose_Dependency_Edge" identifier="org.eclipse.papyrus.sysmldi.Expose_Dependency_Edge" name="Expose (Dependency_Edge)" hint="Dependency_Edge"> - <iconEntry xmi:id="_BFv3wjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Expose.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Expose"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Dependency_Edge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Expose_Dependency_Shape" identifier="org.eclipse.papyrus.sysmldi.Expose_Dependency_Shape" name="Expose (Dependency_Shape)" hint="Dependency_Shape"> - <iconEntry xmi:id="_BFv3xDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Expose.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Expose"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Dependency_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Expose_Dependency_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.Expose_Dependency_Shape_CN" name="Expose (Dependency_Shape_CN)" hint="Dependency_Shape_CN"> - <iconEntry xmi:id="_BFv3xjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Expose.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Expose"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Dependency_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Port_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Port_AttributeLabel" name="FlowPort (Port_AttributeLabel)" hint="Port_AttributeLabel"> - <iconEntry xmi:id="_BFv3yDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowPort_IN.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_AttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Port_BehaviorEdge" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Port_BehaviorEdge" name="FlowPort (Port_BehaviorEdge)" hint="Port_BehaviorEdge"> - <iconEntry xmi:id="_BFv3yjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowPort_IN.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_BehaviorEdge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Port_BehaviorShape" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Port_BehaviorShape" name="FlowPort (Port_BehaviorShape)" hint="Port_BehaviorShape"> - <iconEntry xmi:id="_BFv3zDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowPort_IN.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_BehaviorShape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Port_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Port_ClassAttributeLabel" name="FlowPort (Port_ClassAttributeLabel)" hint="Port_ClassAttributeLabel"> - <iconEntry xmi:id="_BFv3zjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowPort_IN.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_ClassAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Port_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Port_ComponentAttributeLabel" name="FlowPort (Port_ComponentAttributeLabel)" hint="Port_ComponentAttributeLabel"> - <iconEntry xmi:id="_BFv30DvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowPort_IN.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_ComponentAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Port_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Port_DataTypeAttributeLabel" name="FlowPort (Port_DataTypeAttributeLabel)" hint="Port_DataTypeAttributeLabel"> - <iconEntry xmi:id="_BFv30jvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowPort_IN.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_DataTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Port_Edge" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Port_Edge" name="FlowPort (Port_Edge)" hint="Port_Edge"> - <iconEntry xmi:id="_BFv31DvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowPort_IN.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_Edge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Port_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Port_InterfaceAttributeLabel" name="FlowPort (Port_InterfaceAttributeLabel)" hint="Port_InterfaceAttributeLabel"> - <iconEntry xmi:id="_BFv31jvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowPort_IN.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_InterfaceAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Port_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Port_PrimitiveTypeAttributeLabel" name="FlowPort (Port_PrimitiveTypeAttributeLabel)" hint="Port_PrimitiveTypeAttributeLabel"> - <iconEntry xmi:id="_BFv32DvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowPort_IN.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_PrimitiveTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Port_Shape" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Port_Shape" name="FlowPort (Port_Shape)" hint="Port_Shape"> - <iconEntry xmi:id="_BFv32jvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowPort_IN.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Port_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Port_Shape_CN" name="FlowPort (Port_Shape_CN)" hint="Port_Shape_CN"> - <iconEntry xmi:id="_BFv33DvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowPort_IN.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowPort_Port_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowPort_Port_SignalAttributeLabel" name="FlowPort (Port_SignalAttributeLabel)" hint="Port_SignalAttributeLabel"> - <iconEntry xmi:id="_BFv33jvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowPort_IN.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_SignalAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowProperty_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowProperty_Property_AttributeLabel" name="FlowProperty (Property_AttributeLabel)" hint="Property_AttributeLabel"> - <iconEntry xmi:id="_BFv34DvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowProperty_IN.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowProperty_Property_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowProperty_Property_ClassAttributeLabel" name="FlowProperty (Property_ClassAttributeLabel)" hint="Property_ClassAttributeLabel"> - <iconEntry xmi:id="_BFv34jvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowProperty_IN.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ClassAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowProperty_Property_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowProperty_Property_ComponentAttributeLabel" name="FlowProperty (Property_ComponentAttributeLabel)" hint="Property_ComponentAttributeLabel"> - <iconEntry xmi:id="_BFwe0TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowProperty_IN.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ComponentAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowProperty_Property_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowProperty_Property_DataTypeAttributeLabel" name="FlowProperty (Property_DataTypeAttributeLabel)" hint="Property_DataTypeAttributeLabel"> - <iconEntry xmi:id="_BFwe0zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowProperty_IN.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_DataTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowProperty_Property_Edge" identifier="org.eclipse.papyrus.sysmldi.FlowProperty_Property_Edge" name="FlowProperty (Property_Edge)" hint="Property_Edge"> - <iconEntry xmi:id="_BFwe1TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowProperty_IN.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Edge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowProperty_Property_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowProperty_Property_InterfaceAttributeLabel" name="FlowProperty (Property_InterfaceAttributeLabel)" hint="Property_InterfaceAttributeLabel"> - <iconEntry xmi:id="_BFwe1zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowProperty_IN.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_InterfaceAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowProperty_Property_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowProperty_Property_PrimitiveTypeAttributeLabel" name="FlowProperty (Property_PrimitiveTypeAttributeLabel)" hint="Property_PrimitiveTypeAttributeLabel"> - <iconEntry xmi:id="_BFwe2TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowProperty_IN.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_PrimitiveTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowProperty_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.FlowProperty_Property_Shape" name="FlowProperty (Property_Shape)" hint="Property_Shape"> - <iconEntry xmi:id="_BFwe2zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowProperty_IN.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowProperty_Property_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.FlowProperty_Property_Shape_CN" name="FlowProperty (Property_Shape_CN)" hint="Property_Shape_CN"> - <iconEntry xmi:id="_BFwe3TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowProperty_IN.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowProperty_Property_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FlowProperty_Property_SignalAttributeLabel" name="FlowProperty (Property_SignalAttributeLabel)" hint="Property_SignalAttributeLabel"> - <iconEntry xmi:id="_BFwe3zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowProperty_IN.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_SignalAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_ClassNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_ClassNestedClassifierLabel" name="FlowSpecification (Interface_ClassNestedClassifierLabel)" hint="Interface_ClassNestedClassifierLabel"> - <iconEntry xmi:id="_BFwe4TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowSpecification.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowSpecification"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Interface_ClassNestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_ClassifierShape" identifier="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_ClassifierShape" name="FlowSpecification (Interface_ClassifierShape)" hint="Interface_ClassifierShape"> - <iconEntry xmi:id="_BFwe4zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowSpecification.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowSpecification"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Interface_ClassifierShape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_ClassifierShape_CN" identifier="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_ClassifierShape_CN" name="FlowSpecification (Interface_ClassifierShape_CN)" hint="Interface_ClassifierShape_CN"> - <iconEntry xmi:id="_BFwe5TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowSpecification.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowSpecification"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Interface_ClassifierShape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_ComponentNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_ComponentNestedClassifierLabel" name="FlowSpecification (Interface_ComponentNestedClassifierLabel)" hint="Interface_ComponentNestedClassifierLabel"> - <iconEntry xmi:id="_BFwe5zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowSpecification.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowSpecification"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Interface_ComponentNestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_InterfaceNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_InterfaceNestedClassifierLabel" name="FlowSpecification (Interface_InterfaceNestedClassifierLabel)" hint="Interface_InterfaceNestedClassifierLabel"> - <iconEntry xmi:id="_BFwe6TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowSpecification.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowSpecification"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Interface_InterfaceNestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_NestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_NestedClassifierLabel" name="FlowSpecification (Interface_NestedClassifierLabel)" hint="Interface_NestedClassifierLabel"> - <iconEntry xmi:id="_BFwe6zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowSpecification.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowSpecification"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Interface_NestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_Shape" identifier="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_Shape" name="FlowSpecification (Interface_Shape)" hint="Interface_Shape"> - <iconEntry xmi:id="_BFwe7TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowSpecification.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowSpecification"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Interface_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.FlowSpecification_Interface_Shape_CN" name="FlowSpecification (Interface_Shape_CN)" hint="Interface_Shape_CN"> - <iconEntry xmi:id="_BFwe7zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FlowSpecification.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowSpecification"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Interface_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FullPort_Port_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FullPort_Port_AttributeLabel" name="FullPort (Port_AttributeLabel)" hint="Port_AttributeLabel"> - <iconEntry xmi:id="_BFwe8TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FullPort.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FullPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_AttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FullPort_Port_BehaviorEdge" identifier="org.eclipse.papyrus.sysmldi.FullPort_Port_BehaviorEdge" name="FullPort (Port_BehaviorEdge)" hint="Port_BehaviorEdge"> - <iconEntry xmi:id="_BFwe8zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FullPort.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FullPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_BehaviorEdge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FullPort_Port_BehaviorShape" identifier="org.eclipse.papyrus.sysmldi.FullPort_Port_BehaviorShape" name="FullPort (Port_BehaviorShape)" hint="Port_BehaviorShape"> - <iconEntry xmi:id="_BFwe9TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FullPort.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FullPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_BehaviorShape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FullPort_Port_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FullPort_Port_ClassAttributeLabel" name="FullPort (Port_ClassAttributeLabel)" hint="Port_ClassAttributeLabel"> - <iconEntry xmi:id="_BFxF4DvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FullPort.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FullPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_ClassAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FullPort_Port_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FullPort_Port_ComponentAttributeLabel" name="FullPort (Port_ComponentAttributeLabel)" hint="Port_ComponentAttributeLabel"> - <iconEntry xmi:id="_BFxF4jvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FullPort.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FullPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_ComponentAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FullPort_Port_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FullPort_Port_DataTypeAttributeLabel" name="FullPort (Port_DataTypeAttributeLabel)" hint="Port_DataTypeAttributeLabel"> - <iconEntry xmi:id="_BFxF5DvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FullPort.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FullPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_DataTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FullPort_Port_Edge" identifier="org.eclipse.papyrus.sysmldi.FullPort_Port_Edge" name="FullPort (Port_Edge)" hint="Port_Edge"> - <iconEntry xmi:id="_BFxF5jvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FullPort.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FullPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_Edge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FullPort_Port_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FullPort_Port_InterfaceAttributeLabel" name="FullPort (Port_InterfaceAttributeLabel)" hint="Port_InterfaceAttributeLabel"> - <iconEntry xmi:id="_BFxF6DvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FullPort.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FullPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_InterfaceAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FullPort_Port_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FullPort_Port_PrimitiveTypeAttributeLabel" name="FullPort (Port_PrimitiveTypeAttributeLabel)" hint="Port_PrimitiveTypeAttributeLabel"> - <iconEntry xmi:id="_BFxF6jvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FullPort.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FullPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_PrimitiveTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FullPort_Port_Shape" identifier="org.eclipse.papyrus.sysmldi.FullPort_Port_Shape" name="FullPort (Port_Shape)" hint="Port_Shape"> - <iconEntry xmi:id="_BFxF7DvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FullPort.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FullPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FullPort_Port_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.FullPort_Port_Shape_CN" name="FullPort (Port_Shape_CN)" hint="Port_Shape_CN"> - <iconEntry xmi:id="_BFxF7jvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FullPort.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FullPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.FullPort_Port_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.FullPort_Port_SignalAttributeLabel" name="FullPort (Port_SignalAttributeLabel)" hint="Port_SignalAttributeLabel"> - <iconEntry xmi:id="_BFxF8DvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/FullPort.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FullPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_SignalAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_ClassNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_ClassNestedClassifierLabel" name="InterfaceBlock (Class_ClassNestedClassifierLabel)" hint="Class_ClassNestedClassifierLabel"> - <iconEntry xmi:id="_BFxF8jvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/InterfaceBlock.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.InterfaceBlock"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_ClassNestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_ComponentNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_ComponentNestedClassifierLabel" name="InterfaceBlock (Class_ComponentNestedClassifierLabel)" hint="Class_ComponentNestedClassifierLabel"> - <iconEntry xmi:id="_BFxF9DvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/InterfaceBlock.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.InterfaceBlock"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_ComponentNestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_InterfaceNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_InterfaceNestedClassifierLabel" name="InterfaceBlock (Class_InterfaceNestedClassifierLabel)" hint="Class_InterfaceNestedClassifierLabel"> - <iconEntry xmi:id="_BFxF9jvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/InterfaceBlock.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.InterfaceBlock"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_InterfaceNestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_MetaclassShape" identifier="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_MetaclassShape" name="InterfaceBlock (Class_MetaclassShape)" hint="Class_MetaclassShape"> - <iconEntry xmi:id="_BFxF-DvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/InterfaceBlock.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.InterfaceBlock"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_MetaclassShape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_MetaclassShape_CN" identifier="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_MetaclassShape_CN" name="InterfaceBlock (Class_MetaclassShape_CN)" hint="Class_MetaclassShape_CN"> - <iconEntry xmi:id="_BFxF-jvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/InterfaceBlock.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.InterfaceBlock"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_MetaclassShape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_NestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_NestedClassifierLabel" name="InterfaceBlock (Class_NestedClassifierLabel)" hint="Class_NestedClassifierLabel"> - <iconEntry xmi:id="_BFxF_DvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/InterfaceBlock.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.InterfaceBlock"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_NestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_Shape" identifier="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_Shape" name="InterfaceBlock (Class_Shape)" hint="Class_Shape"> - <iconEntry xmi:id="_BFxF_jvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/InterfaceBlock.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.InterfaceBlock"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.InterfaceBlock_Class_Shape_CN" name="InterfaceBlock (Class_Shape_CN)" hint="Class_Shape_CN"> - <iconEntry xmi:id="_BFxGADvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/InterfaceBlock.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.InterfaceBlock"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ItemFlow_InformationFlow_Edge" identifier="org.eclipse.papyrus.sysmldi.ItemFlow_InformationFlow_Edge" name="ItemFlow" hint="InformationFlow_Edge"> - <iconEntry xmi:id="_BFxGAjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ItemFlow.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ItemFlow"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InformationFlow_Edge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Optional_Parameter_ParameterLabel" identifier="org.eclipse.papyrus.sysmldi.Optional_Parameter_ParameterLabel" name="Optional (Parameter_ParameterLabel)" hint="Parameter_ParameterLabel"> - <iconEntry xmi:id="_BFxGBDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Optional.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Optional"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Parameter_ParameterLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Optional_Parameter_Shape" identifier="org.eclipse.papyrus.sysmldi.Optional_Parameter_Shape" name="Optional (Parameter_Shape)" hint="Parameter_Shape"> - <iconEntry xmi:id="_BFxGBjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Optional.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Optional"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Parameter_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_AttributeLabel" name="ParticipantProperty (Property_AttributeLabel)" hint="Property_AttributeLabel"> - <iconEntry xmi:id="_BFxs8TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ParticipantProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ParticipantProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_AttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_ClassAttributeLabel" name="ParticipantProperty (Property_ClassAttributeLabel)" hint="Property_ClassAttributeLabel"> - <iconEntry xmi:id="_BFxs8zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ParticipantProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ParticipantProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ClassAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_ComponentAttributeLabel" name="ParticipantProperty (Property_ComponentAttributeLabel)" hint="Property_ComponentAttributeLabel"> - <iconEntry xmi:id="_BFxs9TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ParticipantProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ParticipantProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_ComponentAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_DataTypeAttributeLabel" name="ParticipantProperty (Property_DataTypeAttributeLabel)" hint="Property_DataTypeAttributeLabel"> - <iconEntry xmi:id="_BFxs9zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ParticipantProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ParticipantProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_DataTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_Edge" identifier="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_Edge" name="ParticipantProperty (Property_Edge)" hint="Property_Edge"> - <iconEntry xmi:id="_BFxs-TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ParticipantProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ParticipantProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Edge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_InterfaceAttributeLabel" name="ParticipantProperty (Property_InterfaceAttributeLabel)" hint="Property_InterfaceAttributeLabel"> - <iconEntry xmi:id="_BFxs-zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ParticipantProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ParticipantProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_InterfaceAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_PrimitiveTypeAttributeLabel" name="ParticipantProperty (Property_PrimitiveTypeAttributeLabel)" hint="Property_PrimitiveTypeAttributeLabel"> - <iconEntry xmi:id="_BFxs_TvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ParticipantProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ParticipantProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_PrimitiveTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_Shape" identifier="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_Shape" name="ParticipantProperty (Property_Shape)" hint="Property_Shape"> - <iconEntry xmi:id="_BFxs_zvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ParticipantProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ParticipantProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_Shape_CN" name="ParticipantProperty (Property_Shape_CN)" hint="Property_Shape_CN"> - <iconEntry xmi:id="_BFxtATvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ParticipantProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ParticipantProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ParticipantProperty_Property_SignalAttributeLabel" name="ParticipantProperty (Property_SignalAttributeLabel)" hint="Property_SignalAttributeLabel"> - <iconEntry xmi:id="_BFxtAzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ParticipantProperty.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ParticipantProperty"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Property_SignalAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Problem_Comment_Shape" identifier="org.eclipse.papyrus.sysmldi.Problem_Comment_Shape" name="Problem (Comment_Shape)" hint="Comment_Shape"> - <iconEntry xmi:id="_BFxtBTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Problem.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Problem"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Comment_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Problem_Comment_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.Problem_Comment_Shape_CN" name="Problem (Comment_Shape_CN)" hint="Comment_Shape_CN"> - <iconEntry xmi:id="_BFxtBzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Problem.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Problem"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Comment_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.PropertySpecificType_Classifier_SubjectShape" identifier="org.eclipse.papyrus.sysmldi.PropertySpecificType_Classifier_SubjectShape" name="PropertySpecificType" hint="Classifier_SubjectShape"> - <iconEntry xmi:id="_BFxtCTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/PropertySpecificType.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.PropertySpecificType"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Classifier_SubjectShape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ProxyPort_Port_AttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ProxyPort_Port_AttributeLabel" name="ProxyPort (Port_AttributeLabel)" hint="Port_AttributeLabel"> - <iconEntry xmi:id="_BFxtCzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ProxyPort.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ProxyPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_AttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ProxyPort_Port_BehaviorEdge" identifier="org.eclipse.papyrus.sysmldi.ProxyPort_Port_BehaviorEdge" name="ProxyPort (Port_BehaviorEdge)" hint="Port_BehaviorEdge"> - <iconEntry xmi:id="_BFxtDTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ProxyPort.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ProxyPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_BehaviorEdge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ProxyPort_Port_BehaviorShape" identifier="org.eclipse.papyrus.sysmldi.ProxyPort_Port_BehaviorShape" name="ProxyPort (Port_BehaviorShape)" hint="Port_BehaviorShape"> - <iconEntry xmi:id="_BFxtDzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ProxyPort.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ProxyPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_BehaviorShape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ProxyPort_Port_ClassAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ProxyPort_Port_ClassAttributeLabel" name="ProxyPort (Port_ClassAttributeLabel)" hint="Port_ClassAttributeLabel"> - <iconEntry xmi:id="_BFxtETvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ProxyPort.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ProxyPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_ClassAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ProxyPort_Port_ComponentAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ProxyPort_Port_ComponentAttributeLabel" name="ProxyPort (Port_ComponentAttributeLabel)" hint="Port_ComponentAttributeLabel"> - <iconEntry xmi:id="_BFyUADvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ProxyPort.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ProxyPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_ComponentAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ProxyPort_Port_DataTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ProxyPort_Port_DataTypeAttributeLabel" name="ProxyPort (Port_DataTypeAttributeLabel)" hint="Port_DataTypeAttributeLabel"> - <iconEntry xmi:id="_BFyUAjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ProxyPort.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ProxyPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_DataTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ProxyPort_Port_Edge" identifier="org.eclipse.papyrus.sysmldi.ProxyPort_Port_Edge" name="ProxyPort (Port_Edge)" hint="Port_Edge"> - <iconEntry xmi:id="_BFyUBDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ProxyPort.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ProxyPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_Edge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ProxyPort_Port_InterfaceAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ProxyPort_Port_InterfaceAttributeLabel" name="ProxyPort (Port_InterfaceAttributeLabel)" hint="Port_InterfaceAttributeLabel"> - <iconEntry xmi:id="_BFyUBjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ProxyPort.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ProxyPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_InterfaceAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ProxyPort_Port_PrimitiveTypeAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ProxyPort_Port_PrimitiveTypeAttributeLabel" name="ProxyPort (Port_PrimitiveTypeAttributeLabel)" hint="Port_PrimitiveTypeAttributeLabel"> - <iconEntry xmi:id="_BFyUCDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ProxyPort.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ProxyPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_PrimitiveTypeAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ProxyPort_Port_Shape" identifier="org.eclipse.papyrus.sysmldi.ProxyPort_Port_Shape" name="ProxyPort (Port_Shape)" hint="Port_Shape"> - <iconEntry xmi:id="_BFyUCjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ProxyPort.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ProxyPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ProxyPort_Port_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.ProxyPort_Port_Shape_CN" name="ProxyPort (Port_Shape_CN)" hint="Port_Shape_CN"> - <iconEntry xmi:id="_BFyUDDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ProxyPort.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ProxyPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ProxyPort_Port_SignalAttributeLabel" identifier="org.eclipse.papyrus.sysmldi.ProxyPort_Port_SignalAttributeLabel" name="ProxyPort (Port_SignalAttributeLabel)" hint="Port_SignalAttributeLabel"> - <iconEntry xmi:id="_BFyUDjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ProxyPort.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ProxyPort"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_SignalAttributeLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Rate_Parameter_Parameter_ParameterLabel" identifier="org.eclipse.papyrus.sysmldi.Rate_Parameter_Parameter_ParameterLabel" name="Rate (Parameter_ParameterLabel)" hint="Parameter_ParameterLabel"> - <iconEntry xmi:id="_BFyUEDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Rate.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Rate_Parameter"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Parameter_ParameterLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Rate_Parameter_Parameter_Shape" identifier="org.eclipse.papyrus.sysmldi.Rate_Parameter_Parameter_Shape" name="Rate (Parameter_Shape)" hint="ActivityParameterNode_Shape"> - <iconEntry xmi:id="_BFyUEjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Rate.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Rate_Parameter"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActivityParameterNode_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Rationale_Comment_Shape" identifier="org.eclipse.papyrus.sysmldi.Rationale_Comment_Shape" name="Rationale (Comment_Shape)" hint="Comment_Shape"> - <iconEntry xmi:id="_BFyUFDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Rationale.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Rationale"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Comment_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Rationale_Comment_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.Rationale_Comment_Shape_CN" name="Rationale (Comment_Shape_CN)" hint="Comment_Shape_CN"> - <iconEntry xmi:id="_BFyUFjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Rationale.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Rationale"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Comment_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Refine_Abstraction_Abstraction_Edge" identifier="org.eclipse.papyrus.sysmldi.Refine_Abstraction_Abstraction_Edge" name="Refine (Abstraction_Edge)" hint="Abstraction_Edge"> - <iconEntry xmi:id="_BFyUGDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Refine.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Refine_Abstraction"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Edge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Refine_Abstraction_Abstraction_Shape" identifier="org.eclipse.papyrus.sysmldi.Refine_Abstraction_Abstraction_Shape" name="Refine (Abstraction_Shape)" hint="Abstraction_Shape"> - <iconEntry xmi:id="_BFyUGjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Refine.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Refine_Abstraction"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Refine_Abstraction_Abstraction_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.Refine_Abstraction_Abstraction_Shape_CN" name="Refine (Abstraction_Shape_CN)" hint="Abstraction_Shape_CN"> - <iconEntry xmi:id="_BFyUHDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Refine.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Refine_Abstraction"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Requirement_Class_ClassNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.Requirement_Class_ClassNestedClassifierLabel" name="Requirement (Class_ClassNestedClassifierLabel)" hint="Class_ClassNestedClassifierLabel"> - <iconEntry xmi:id="_BFyUHjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Requirement.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Requirement"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_ClassNestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Requirement_Class_ComponentNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.Requirement_Class_ComponentNestedClassifierLabel" name="Requirement (Class_ComponentNestedClassifierLabel)" hint="Class_ComponentNestedClassifierLabel"> - <iconEntry xmi:id="_BFyUIDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Requirement.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Requirement"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_ComponentNestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Requirement_Class_InterfaceNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.Requirement_Class_InterfaceNestedClassifierLabel" name="Requirement (Class_InterfaceNestedClassifierLabel)" hint="Class_InterfaceNestedClassifierLabel"> - <iconEntry xmi:id="_BFyUIjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Requirement.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Requirement"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_InterfaceNestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Requirement_Class_MetaclassShape" identifier="org.eclipse.papyrus.sysmldi.Requirement_Class_MetaclassShape" name="Requirement (Class_MetaclassShape)" hint="Class_MetaclassShape"> - <iconEntry xmi:id="_BFyUJDvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Requirement.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Requirement"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_MetaclassShape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Requirement_Class_MetaclassShape_CN" identifier="org.eclipse.papyrus.sysmldi.Requirement_Class_MetaclassShape_CN" name="Requirement (Class_MetaclassShape_CN)" hint="Class_MetaclassShape_CN"> - <iconEntry xmi:id="_BFyUJjvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Requirement.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Requirement"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_MetaclassShape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Requirement_Class_NestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.Requirement_Class_NestedClassifierLabel" name="Requirement (Class_NestedClassifierLabel)" hint="Class_NestedClassifierLabel"> - <iconEntry xmi:id="_BFy7ETvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Requirement.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Requirement"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_NestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Requirement_Class_Shape" identifier="org.eclipse.papyrus.sysmldi.Requirement_Class_Shape" name="Requirement (Class_Shape)" hint="Class_Shape"> - <iconEntry xmi:id="_BFy7EzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Requirement.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Requirement"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Requirement_Class_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.Requirement_Class_Shape_CN" name="Requirement (Class_Shape_CN)" hint="Class_Shape_CN"> - <iconEntry xmi:id="_BFy7FTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Requirement.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Requirement"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Satisfy_Abstraction_Abstraction_Edge" identifier="org.eclipse.papyrus.sysmldi.Satisfy_Abstraction_Abstraction_Edge" name="Satisfy (Abstraction_Edge)" hint="Abstraction_Edge"> - <iconEntry xmi:id="_BFy7FzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Satisfy.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Satisfy_Abstraction"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Edge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Satisfy_Abstraction_Abstraction_Shape" identifier="org.eclipse.papyrus.sysmldi.Satisfy_Abstraction_Abstraction_Shape" name="Satisfy (Abstraction_Shape)" hint="Abstraction_Shape"> - <iconEntry xmi:id="_BFy7GTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Satisfy.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Satisfy_Abstraction"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Satisfy_Abstraction_Abstraction_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.Satisfy_Abstraction_Abstraction_Shape_CN" name="Satisfy (Abstraction_Shape_CN)" hint="Abstraction_Shape_CN"> - <iconEntry xmi:id="_BFy7GzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Satisfy.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Satisfy_Abstraction"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Stakeholder_Classifier_SubjectShape" identifier="org.eclipse.papyrus.sysmldi.Stakeholder_Classifier_SubjectShape" name="Stakeholder" hint="Classifier_SubjectShape"> - <iconEntry xmi:id="_BFy7HTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Stakeholder.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Stakeholder"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Classifier_SubjectShape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TestCase_Behavior_Behavior_InternalBehaviorLabel" identifier="org.eclipse.papyrus.sysmldi.TestCase_Behavior_Behavior_InternalBehaviorLabel" name="TestCase Behavior" hint="Behavior_InternalBehaviorLabel"> - <iconEntry xmi:id="_BFy7HzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/TestCase.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.TestCase_Behavior"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Behavior_InternalBehaviorLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_ClassOperationLabel" identifier="org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_ClassOperationLabel" name="TestCase (Operation_ClassOperationLabel)" hint="Operation_ClassOperationLabel"> - <iconEntry xmi:id="_BFy7ITvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/TestCase.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.TestCase_Operation"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Operation_ClassOperationLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_ComponentOperationLabel" identifier="org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_ComponentOperationLabel" name="TestCase (Operation_ComponentOperationLabel)" hint="Operation_ComponentOperationLabel"> - <iconEntry xmi:id="_BFy7IzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/TestCase.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.TestCase_Operation"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Operation_ComponentOperationLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_DataTypeOperationLabel" identifier="org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_DataTypeOperationLabel" name="TestCase (Operation_DataTypeOperationLabel)" hint="Operation_DataTypeOperationLabel"> - <iconEntry xmi:id="_BFy7JTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/TestCase.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.TestCase_Operation"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Operation_DataTypeOperationLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_InterfaceOperationLabel" identifier="org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_InterfaceOperationLabel" name="TestCase (Operation_InterfaceOperationLabel)" hint="Operation_InterfaceOperationLabel"> - <iconEntry xmi:id="_BFy7JzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/TestCase.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.TestCase_Operation"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Operation_InterfaceOperationLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_OperationLabel" identifier="org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_OperationLabel" name="TestCase (Operation_OperationLabel)" hint="Operation_OperationLabel"> - <iconEntry xmi:id="_BFy7KTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/TestCase.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.TestCase_Operation"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Operation_OperationLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_PrimitiveTypeOperationLabel" identifier="org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_PrimitiveTypeOperationLabel" name="TestCase (Operation_PrimitiveTypeOperationLabel)" hint="Operation_PrimitiveTypeOperationLabel"> - <iconEntry xmi:id="_BFy7KzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/TestCase.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.TestCase_Operation"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Operation_PrimitiveTypeOperationLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Trace_Abstraction_Abstraction_Edge" identifier="org.eclipse.papyrus.sysmldi.Trace_Abstraction_Abstraction_Edge" name="Trace (Abstraction_Edge)" hint="Abstraction_Edge"> - <iconEntry xmi:id="_BFy7LTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Trace.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Trace_Abstraction"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Edge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Trace_Abstraction_Abstraction_Shape" identifier="org.eclipse.papyrus.sysmldi.Trace_Abstraction_Abstraction_Shape" name="Trace (Abstraction_Shape)" hint="Abstraction_Shape"> - <iconEntry xmi:id="_BFy7LzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Trace.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Trace_Abstraction"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Trace_Abstraction_Abstraction_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.Trace_Abstraction_Abstraction_Shape_CN" name="Trace (Abstraction_Shape_CN)" hint="Abstraction_Shape_CN"> - <iconEntry xmi:id="_BFy7MTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Trace.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Trace_Abstraction"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.TriggerOnNestedPort_Trigger_Trigger_DeferrableTriggerLabel" identifier="org.eclipse.papyrus.sysmldi.TriggerOnNestedPort_Trigger_Trigger_DeferrableTriggerLabel" name="TriggerOnNestedPort Trigger" hint="Trigger_DeferrableTriggerLabel"> - <iconEntry xmi:id="_BF0JMTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/TriggerOnNestedPort.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.TriggerOnNestedPort_Trigger"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Trigger_DeferrableTriggerLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ValueType_DataType_ClassNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.ValueType_DataType_ClassNestedClassifierLabel" name="ValueType (DataType_ClassNestedClassifierLabel)" hint="DataType_ClassNestedClassifierLabel"> - <iconEntry xmi:id="_BF0JMzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ValueType.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ValueType"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.DataType_ClassNestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ValueType_DataType_ComponentNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.ValueType_DataType_ComponentNestedClassifierLabel" name="ValueType (DataType_ComponentNestedClassifierLabel)" hint="DataType_ComponentNestedClassifierLabel"> - <iconEntry xmi:id="_BF0JNTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ValueType.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ValueType"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.DataType_ComponentNestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ValueType_DataType_InterfaceNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.ValueType_DataType_InterfaceNestedClassifierLabel" name="ValueType (DataType_InterfaceNestedClassifierLabel)" hint="DataType_InterfaceNestedClassifierLabel"> - <iconEntry xmi:id="_BF0JNzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ValueType.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ValueType"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.DataType_InterfaceNestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ValueType_DataType_NestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.ValueType_DataType_NestedClassifierLabel" name="ValueType (DataType_NestedClassifierLabel)" hint="DataType_NestedClassifierLabel"> - <iconEntry xmi:id="_BF0JOTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ValueType.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ValueType"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.DataType_NestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ValueType_DataType_Shape" identifier="org.eclipse.papyrus.sysmldi.ValueType_DataType_Shape" name="ValueType (DataType_Shape)" hint="DataType_Shape"> - <iconEntry xmi:id="_BF0JOzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ValueType.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ValueType"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.DataType_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.ValueType_DataType_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.ValueType_DataType_Shape_CN" name="ValueType (DataType_Shape_CN)" hint="DataType_Shape_CN"> - <iconEntry xmi:id="_BF0JPTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/ValueType.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ValueType"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.DataType_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Verify_Abstraction_Abstraction_Edge" identifier="org.eclipse.papyrus.sysmldi.Verify_Abstraction_Abstraction_Edge" name="Verify (Abstraction_Edge)" hint="Abstraction_Edge"> - <iconEntry xmi:id="_BF0JPzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Verify.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Verify_Abstraction"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Edge"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Verify_Abstraction_Abstraction_Shape" identifier="org.eclipse.papyrus.sysmldi.Verify_Abstraction_Abstraction_Shape" name="Verify (Abstraction_Shape)" hint="Abstraction_Shape"> - <iconEntry xmi:id="_BF0wQTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Verify.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Verify_Abstraction"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Verify_Abstraction_Abstraction_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.Verify_Abstraction_Abstraction_Shape_CN" name="Verify (Abstraction_Shape_CN)" hint="Abstraction_Shape_CN"> - <iconEntry xmi:id="_BF0wQzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Verify.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Verify_Abstraction"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.View_Class_ClassNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.View_Class_ClassNestedClassifierLabel" name="View (Class_ClassNestedClassifierLabel)" hint="Class_ClassNestedClassifierLabel"> - <iconEntry xmi:id="_BF0wRTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/View.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.View"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_ClassNestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.View_Class_ComponentNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.View_Class_ComponentNestedClassifierLabel" name="View (Class_ComponentNestedClassifierLabel)" hint="Class_ComponentNestedClassifierLabel"> - <iconEntry xmi:id="_BF0wRzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/View.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.View"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_ComponentNestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.View_Class_InterfaceNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.View_Class_InterfaceNestedClassifierLabel" name="View (Class_InterfaceNestedClassifierLabel)" hint="Class_InterfaceNestedClassifierLabel"> - <iconEntry xmi:id="_BF0wSTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/View.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.View"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_InterfaceNestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.View_Class_MetaclassShape" identifier="org.eclipse.papyrus.sysmldi.View_Class_MetaclassShape" name="View (Class_MetaclassShape)" hint="Class_MetaclassShape"> - <iconEntry xmi:id="_BF0wSzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/View.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.View"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_MetaclassShape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.View_Class_MetaclassShape_CN" identifier="org.eclipse.papyrus.sysmldi.View_Class_MetaclassShape_CN" name="View (Class_MetaclassShape_CN)" hint="Class_MetaclassShape_CN"> - <iconEntry xmi:id="_BF0wTTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/View.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.View"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_MetaclassShape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.View_Class_NestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.View_Class_NestedClassifierLabel" name="View (Class_NestedClassifierLabel)" hint="Class_NestedClassifierLabel"> - <iconEntry xmi:id="_BF0wTzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/View.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.View"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_NestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.View_Class_Shape" identifier="org.eclipse.papyrus.sysmldi.View_Class_Shape" name="View (Class_Shape)" hint="Class_Shape"> - <iconEntry xmi:id="_BF0wUTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/View.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.View"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.View_Class_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.View_Class_Shape_CN" name="View (Class_Shape_CN)" hint="Class_Shape_CN"> - <iconEntry xmi:id="_BF0wUzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/View.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.View"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Viewpoint_Class_ClassNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.Viewpoint_Class_ClassNestedClassifierLabel" name="Viewpoint (Class_ClassNestedClassifierLabel)" hint="Class_ClassNestedClassifierLabel"> - <iconEntry xmi:id="_BF0wVTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Viewpoint.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Viewpoint"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_ClassNestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Viewpoint_Class_ComponentNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.Viewpoint_Class_ComponentNestedClassifierLabel" name="Viewpoint (Class_ComponentNestedClassifierLabel)" hint="Class_ComponentNestedClassifierLabel"> - <iconEntry xmi:id="_BF0wVzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Viewpoint.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Viewpoint"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_ComponentNestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Viewpoint_Class_InterfaceNestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.Viewpoint_Class_InterfaceNestedClassifierLabel" name="Viewpoint (Class_InterfaceNestedClassifierLabel)" hint="Class_InterfaceNestedClassifierLabel"> - <iconEntry xmi:id="_BF0wWTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Viewpoint.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Viewpoint"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_InterfaceNestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Viewpoint_Class_MetaclassShape" identifier="org.eclipse.papyrus.sysmldi.Viewpoint_Class_MetaclassShape" name="Viewpoint (Class_MetaclassShape)" hint="Class_MetaclassShape"> - <iconEntry xmi:id="_BF0wWzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Viewpoint.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Viewpoint"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_MetaclassShape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Viewpoint_Class_MetaclassShape_CN" identifier="org.eclipse.papyrus.sysmldi.Viewpoint_Class_MetaclassShape_CN" name="Viewpoint (Class_MetaclassShape_CN)" hint="Class_MetaclassShape_CN"> - <iconEntry xmi:id="_BF0wXTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Viewpoint.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Viewpoint"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_MetaclassShape_CN"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Viewpoint_Class_NestedClassifierLabel" identifier="org.eclipse.papyrus.sysmldi.Viewpoint_Class_NestedClassifierLabel" name="Viewpoint (Class_NestedClassifierLabel)" hint="Class_NestedClassifierLabel"> - <iconEntry xmi:id="_BF0wXzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Viewpoint.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Viewpoint"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_NestedClassifierLabel"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Viewpoint_Class_Shape" identifier="org.eclipse.papyrus.sysmldi.Viewpoint_Class_Shape" name="Viewpoint (Class_Shape)" hint="Class_Shape"> - <iconEntry xmi:id="_BF0wYTvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Viewpoint.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Viewpoint"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape"/> - </elementTypeConfigurations> - <elementTypeConfigurations xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" xmi:id="org.eclipse.papyrus.sysmldi.Viewpoint_Class_Shape_CN" identifier="org.eclipse.papyrus.sysmldi.Viewpoint_Class_Shape_CN" name="Viewpoint (Class_Shape_CN)" hint="Class_Shape_CN"> - <iconEntry xmi:id="_BF0wYzvNEeeIn_UJiGU5aQ" iconPath="/resources/icons/full/obj16/Viewpoint.gif" bundleId="org.eclipse.papyrus.sysml14.edit"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Viewpoint"/> - <specializedTypes xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Class_Shape_CN"/> - </elementTypeConfigurations> -</elementtypesconfigurations:ElementTypeSetConfiguration>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/site/xdoc/intro.xml b/diagram/org.eclipse.papyrus.sysml14.diagram.common/site/xdoc/intro.xml deleted file mode 100644 index 91f3536..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/site/xdoc/intro.xml +++ /dev/null
@@ -1,57 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd"> - - <properties> - <title>SysML Intro</title> - </properties> - - <body> - - <section name="Introduction"> - <subsection name="Purpose"> - <p>In order to enhance the communauty and the diffusion of Papyrus, - new features and enhancements should be documented through a small - video uploaded to youtube channel. - </p> - </subsection> - </section> - <section name="Convention"> - <subsection name="Palette"> - <p>each palette should follow the convention: - </p> - <source> - <![CDATA[<?xml version="1.0" encoding="ASCII"?> -<paletteconfiguration:PaletteConfiguration - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:paletteconfiguration="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.7" - id="org.eclipse.papyrus.sysML.[bdd,ibd,par,req].palette.model" - label="SysML [BDD|IBD|PAR|REQ] Palette"> - <drawerConfigurations - id="org.eclipse.papyrus.sysML.[bdd|ibd|par|req].palette.[edge|node]" - label="SysML IBD [Edges|Nodes]" - description="Nodes"> - <ownedConfigurations - xsi:type="paletteconfiguration:ToolConfiguration" - id="org.eclipse.papyrus.sysML.[bdd|ibd|par|req].palette.[edge|node].XXXX" - label="Block" - description="Create a Block"> - <icon - pluginID="org.eclipse.papyrus.sysml" - iconPath="icons/blocks/Block.gif"/> - <elementDescriptors - elementTypeId="org.eclipse.papyrus.SysML14.Block_3085"/> - <elementDescriptors - elementTypeId="org.eclipse.papyrus.SysML14.Block_2073"/> - </ownedConfigurations> - </drawerConfigurations>]]> - </source> - </subsection> - </section> - <section name="References"> - <ul> - <li><a href="http://www.omg.org/spec/SysML/">OMG SysML</a></li> - </ul> - </section> - </body> -</document> \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/Activator.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/Activator.java deleted file mode 100644 index 7a9a8c9..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/Activator.java +++ /dev/null
@@ -1,37 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.common; - -import org.eclipse.jface.resource.ImageDescriptor; -import org.eclipse.ui.plugin.AbstractUIPlugin; - -/** - * 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.sysml14.diagram.common"; //$NON-NLS-1$ - - /** - * Returns an image descriptor for the image file at the given - * plug-in relative path - * - * @param path - * the path - * @return the image descriptor - */ - public static ImageDescriptor getImageDescriptor(String path) { - return imageDescriptorFromPlugin(PLUGIN_ID, path); - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/advices/ActorPartGraphicalEditHelperAdvice.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/advices/ActorPartGraphicalEditHelperAdvice.java deleted file mode 100644 index 31b8ec1..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/advices/ActorPartGraphicalEditHelperAdvice.java +++ /dev/null
@@ -1,98 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.common.advices; - - - -import java.util.HashMap; -import java.util.Map; - -import org.eclipse.core.runtime.OperationCanceledException; -import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.common.core.command.UnexecutableCommand; -import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; -import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; -import org.eclipse.jface.window.Window; -import org.eclipse.papyrus.sysml14.diagram.common.command.ConfigurePartCommand; -import org.eclipse.papyrus.sysml14.diagram.common.dialog.CreateOrSelectActorPartTypeDialog; -import org.eclipse.papyrus.sysml14.diagram.common.internal.command.RenamePostCreationCommand; -import org.eclipse.papyrus.sysml14.service.types.advice.ActorPartEditHelperAdvice; -import org.eclipse.swt.widgets.Display; -import org.eclipse.swt.widgets.Shell; -import org.eclipse.uml2.uml.Package; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; - - -/** - * The helperadvice class used for ActorPart - * - */ -public class ActorPartGraphicalEditHelperAdvice extends AbstractEditHelperAdvice { - - /** - * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getBeforeConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest) - * - * @param request - * @return - */ - @Override - protected ICommand getBeforeConfigureCommand(ConfigureRequest request) { - configureRequest(request); - return super.getBeforeConfigureCommand(request); - } - - /** - * @param request - */ - private void configureRequest(ConfigureRequest request) { - Map<String, Object> newParameters = new HashMap<String, Object>(); - - ICommand configureCommand = null; - - Shell shell = Display.getDefault().getActiveShell(); - // Start dialog to identify the new part type - Property part = (Property) request.getElementToConfigure(); - Package partPkg = part.getNearestPackage(); - - - CreateOrSelectActorPartTypeDialog dialog = new CreateOrSelectActorPartTypeDialog(shell, partPkg); - dialog.open(); - if (dialog.getReturnCode() == Window.OK) { - - final ICommand typeCreationCommand = dialog.getNewTypeCreateCommand(); - final String newTypeName = dialog.getSavedNewTypeName(); - final Type partType = (Type) dialog.getExistingType(); - - // Abort if type creation command exists but is not executable - if ((typeCreationCommand != null) && (!typeCreationCommand.canExecute())) { - configureCommand = UnexecutableCommand.INSTANCE; - } else { - configureCommand = CompositeCommand.compose(configureCommand, typeCreationCommand); - } - - // Create the configure command that will set the constraint property type - ICommand setTypeCommand = new ConfigurePartCommand(request,partType,typeCreationCommand) ; - configureCommand = CompositeCommand.compose(configureCommand, setTypeCommand); - if (typeCreationCommand != null && typeCreationCommand.canExecute()) { - RenamePostCreationCommand renamePostCreationCommand = new RenamePostCreationCommand(request, newTypeName, typeCreationCommand); - configureCommand = CompositeCommand.compose(configureCommand, renamePostCreationCommand); - } - } else { - throw new OperationCanceledException("Actor part creation cancelled by user"); //$NON-NLS-1$ - } - - newParameters.put(ActorPartEditHelperAdvice.SET_ACTOR_ICOMMAND, configureCommand); - request.addParameters(newParameters); - } -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/advices/ConstraintPropertyGraphicalEditHelperAdvice.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/advices/ConstraintPropertyGraphicalEditHelperAdvice.java deleted file mode 100644 index 0e1a6ce..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/advices/ConstraintPropertyGraphicalEditHelperAdvice.java +++ /dev/null
@@ -1,98 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.common.advices; - - - -import java.util.HashMap; -import java.util.Map; - -import org.eclipse.core.runtime.OperationCanceledException; -import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.common.core.command.UnexecutableCommand; -import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; -import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; -import org.eclipse.jface.window.Window; -import org.eclipse.papyrus.sysml14.diagram.common.command.ConfigurePartCommand; -import org.eclipse.papyrus.sysml14.diagram.common.dialog.CreateOrSelectConstraintPropertyTypeDialog; -import org.eclipse.papyrus.sysml14.diagram.common.internal.command.RenamePostCreationCommand; -import org.eclipse.papyrus.sysml14.service.types.advice.ConstraintPropertyEditHelperAdvice; -import org.eclipse.swt.widgets.Display; -import org.eclipse.swt.widgets.Shell; -import org.eclipse.uml2.uml.Package; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; - - -/** - * The helperadvice class used for ConstraintPropertyGraphical - * - */ -public class ConstraintPropertyGraphicalEditHelperAdvice extends AbstractEditHelperAdvice { - - /** - * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getBeforeConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest) - * - * @param request - * @return - */ - @Override - protected ICommand getBeforeConfigureCommand(ConfigureRequest request) { - configureRequest(request); - return super.getBeforeConfigureCommand(request); - } - - /** - * @param request - */ - private void configureRequest(ConfigureRequest request) { - Map<String, Object> newParameters = new HashMap<String, Object>(); - - ICommand configureCommand = null; - - Shell shell = Display.getDefault().getActiveShell(); - // Start dialog to identify the new part type - Property part = (Property) request.getElementToConfigure(); - Package partPkg = part.getNearestPackage(); - - - CreateOrSelectConstraintPropertyTypeDialog dialog = new CreateOrSelectConstraintPropertyTypeDialog(shell, partPkg); - dialog.open(); - if (dialog.getReturnCode() == Window.OK) { - - final ICommand typeCreationCommand = dialog.getNewTypeCreateCommand(); - final String newTypeName = dialog.getSavedNewTypeName(); - final Type partType = (Type) dialog.getExistingType(); - - // Abort if type creation command exists but is not executable - if ((typeCreationCommand != null) && (!typeCreationCommand.canExecute())) { - configureCommand = UnexecutableCommand.INSTANCE; - } else { - configureCommand = CompositeCommand.compose(configureCommand, typeCreationCommand); - } - - // Create the configure command that will set the constraint property type - ICommand setTypeCommand = new ConfigurePartCommand(request,partType,typeCreationCommand) ; - configureCommand = CompositeCommand.compose(configureCommand, setTypeCommand); - if (typeCreationCommand != null && typeCreationCommand.canExecute()) { - RenamePostCreationCommand renamePostCreationCommand = new RenamePostCreationCommand(request, newTypeName, typeCreationCommand); - configureCommand = CompositeCommand.compose(configureCommand, renamePostCreationCommand); - } - } else { - throw new OperationCanceledException("Constraint Property creation cancelled by user"); //$NON-NLS-1$ - } - - newParameters.put(ConstraintPropertyEditHelperAdvice.SET_CONSTRAINT_ICOMMAND, configureCommand); - request.addParameters(newParameters); - } -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/advices/CreateOrSelectBlockPropertyTypeEditHelperAdvice.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/advices/CreateOrSelectBlockPropertyTypeEditHelperAdvice.java deleted file mode 100644 index 843c623..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/advices/CreateOrSelectBlockPropertyTypeEditHelperAdvice.java +++ /dev/null
@@ -1,97 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.common.advices; - - - -import java.util.HashMap; -import java.util.Map; - -import org.eclipse.core.runtime.OperationCanceledException; -import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.common.core.command.UnexecutableCommand; -import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; -import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; -import org.eclipse.jface.window.Window; -import org.eclipse.papyrus.sysml14.diagram.common.command.ConfigurePartCommand; -import org.eclipse.papyrus.sysml14.diagram.common.dialog.CreateOrSelectBlockPropertyTypeDialog; -import org.eclipse.papyrus.sysml14.diagram.common.internal.command.RenamePostCreationCommand; -import org.eclipse.papyrus.sysml14.service.types.advice.AfterConfigureCommandEditHelperAdvice; -import org.eclipse.swt.widgets.Display; -import org.eclipse.swt.widgets.Shell; -import org.eclipse.uml2.uml.Package; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; - - -/** - * Add a popup to create or select a Block for the property type of the element using this advice - */ -public class CreateOrSelectBlockPropertyTypeEditHelperAdvice extends AbstractEditHelperAdvice { - - /** - * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getBeforeConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest) - * - * @param request - * @return - */ - @Override - protected ICommand getBeforeConfigureCommand(ConfigureRequest request) { - configureRequest(request); - return super.getBeforeConfigureCommand(request); - } - - /** - * @param request - */ - protected void configureRequest(ConfigureRequest request) { - Map<String, Object> newParameters = new HashMap<String, Object>(); - - ICommand configureCommand = null; - - Shell shell = Display.getDefault().getActiveShell(); - Property property = (Property) request.getElementToConfigure(); - Package owner = property.getNearestPackage(); - - - CreateOrSelectBlockPropertyTypeDialog dialog = new CreateOrSelectBlockPropertyTypeDialog(shell, owner); - - dialog.open(); - if (dialog.getReturnCode() == Window.OK) { - - final ICommand typeCreationCommand = dialog.getNewTypeCreateCommand(); - final String newTypeName = dialog.getSavedNewTypeName(); - final Type partType = (Type) dialog.getExistingType(); - - // Abort if type creation command exists but is not executable - if ((typeCreationCommand != null) && (!typeCreationCommand.canExecute())) { - configureCommand = UnexecutableCommand.INSTANCE; - } else { - configureCommand = CompositeCommand.compose(configureCommand, typeCreationCommand); - } - - // Create the configure command that will set the constraint property type - ICommand setTypeCommand = new ConfigurePartCommand(request,partType,typeCreationCommand) ; - configureCommand = CompositeCommand.compose(configureCommand, setTypeCommand); - if (typeCreationCommand != null && typeCreationCommand.canExecute()) { - RenamePostCreationCommand renamePostCreationCommand = new RenamePostCreationCommand(request, newTypeName, typeCreationCommand); - configureCommand = CompositeCommand.compose(configureCommand, renamePostCreationCommand); - } - } else { - throw new OperationCanceledException("Creation cancelled by user"); //$NON-NLS-1$ - } - - newParameters.put(AfterConfigureCommandEditHelperAdvice.AFTER_CONFIGURE_COMMAND, configureCommand); - request.addParameters(newParameters); - } -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/advices/ValueEditHelperAdvice.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/advices/ValueEditHelperAdvice.java deleted file mode 100644 index 0e0a441..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/advices/ValueEditHelperAdvice.java +++ /dev/null
@@ -1,98 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.common.advices; - - - -import java.util.HashMap; -import java.util.Map; - -import org.eclipse.core.runtime.OperationCanceledException; -import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.common.core.command.UnexecutableCommand; -import org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice; -import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; -import org.eclipse.jface.window.Window; -import org.eclipse.papyrus.sysml14.diagram.common.command.ConfigurePartCommand; -import org.eclipse.papyrus.sysml14.diagram.common.dialog.CreateOrSelectValuePropertyTypeDialog; -import org.eclipse.papyrus.sysml14.diagram.common.internal.command.RenamePostCreationCommand; -import org.eclipse.papyrus.sysml14.service.types.advice.AfterConfigureCommandEditHelperAdvice; -import org.eclipse.swt.widgets.Display; -import org.eclipse.swt.widgets.Shell; -import org.eclipse.uml2.uml.Package; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; - - -/** - * The helperadvice class used for Value - * It creates the popup to help the value creation - * - */ -public class ValueEditHelperAdvice extends AbstractEditHelperAdvice { - - /** - * @see org.eclipse.gmf.runtime.emf.type.core.edithelper.AbstractEditHelperAdvice#getBeforeConfigureCommand(org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest) - * - * @param request - * @return - */ - @Override - protected ICommand getBeforeConfigureCommand(ConfigureRequest request) { - configureRequest(request); - return super.getBeforeConfigureCommand(request); - } - - /** - * @param request - */ - protected void configureRequest(ConfigureRequest request) { - Map<String, Object> newParameters = new HashMap<String, Object>(); - - ICommand configureCommand = null; - - Shell shell = Display.getDefault().getActiveShell(); - Property property = (Property) request.getElementToConfigure(); - Package owner = property.getNearestPackage(); - - CreateOrSelectValuePropertyTypeDialog dialog = new CreateOrSelectValuePropertyTypeDialog(shell, owner); - - dialog.open(); - if (dialog.getReturnCode() == Window.OK) { - - final ICommand typeCreationCommand = dialog.getNewTypeCreateCommand(); - final String newTypeName = dialog.getSavedNewTypeName(); - final Type partType = (Type) dialog.getExistingType(); - - // Abort if type creation command exists but is not executable - if ((typeCreationCommand != null) && (!typeCreationCommand.canExecute())) { - configureCommand = UnexecutableCommand.INSTANCE; - } else { - configureCommand = CompositeCommand.compose(configureCommand, typeCreationCommand); - } - - // Create the configure command that will set the constraint property type - ICommand setTypeCommand = new ConfigurePartCommand(request,partType,typeCreationCommand) ; - configureCommand = CompositeCommand.compose(configureCommand, setTypeCommand); - if (typeCreationCommand != null && typeCreationCommand.canExecute()) { - RenamePostCreationCommand renamePostCreationCommand = new RenamePostCreationCommand(request, newTypeName, typeCreationCommand); - configureCommand = CompositeCommand.compose(configureCommand, renamePostCreationCommand); - } - } else { - throw new OperationCanceledException("Value creation cancelled by user"); //$NON-NLS-1$ - } - - newParameters.put(AfterConfigureCommandEditHelperAdvice.AFTER_CONFIGURE_COMMAND, configureCommand); - request.addParameters(newParameters); - } -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/command/ConfigurePartCommand.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/command/ConfigurePartCommand.java deleted file mode 100644 index ebd0727..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/command/ConfigurePartCommand.java +++ /dev/null
@@ -1,62 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.diagram.common.command; - -import org.eclipse.core.commands.ExecutionException; -import org.eclipse.core.runtime.IAdaptable; -import org.eclipse.core.runtime.IProgressMonitor; -import org.eclipse.gmf.runtime.common.core.command.CommandResult; -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.emf.type.core.commands.ConfigureElementCommand; -import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; -import org.eclipse.papyrus.infra.services.edit.utils.GMFCommandUtils; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; - -/** - * Configure a part with the created/selected type - */ -public class ConfigurePartCommand extends ConfigureElementCommand { - - - private Type partType; - private ICommand typeCreationCommand; - - - /** - * Constructor. - * - * @param request configuration request - * @param partType the featuring type of the part - * @param typeCreationCommand if needed create the type - */ - public ConfigurePartCommand(ConfigureRequest request, Type partType, ICommand typeCreationCommand) { - super(request); - this.partType= partType; - this.typeCreationCommand = typeCreationCommand; - } - - @Override - protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info) throws ExecutionException { - - Property part = (Property) getElementToEdit(); - if (partType != null) { - part.setType(partType); - } else { - Type newType = (Type) GMFCommandUtils.getCommandEObjectResult(typeCreationCommand); - part.setType(newType); - } - return CommandResult.newOKCommandResult(part); - } -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/css/dom/GMFSYSMLElementAdapter.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/css/dom/GMFSYSMLElementAdapter.java deleted file mode 100644 index 417b4f1..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/css/dom/GMFSYSMLElementAdapter.java +++ /dev/null
@@ -1,370 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Francois Le Fevre francois.le-fevre@cea.fr - Initial API and implementation - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Bug 498991 : Performances - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Bug 489997 : Unable to draw AcceptEventAction - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.common.css.dom; - - - -import java.util.LinkedList; -import java.util.List; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher; -import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; -import org.eclipse.gmf.runtime.notation.BasicCompartment; -import org.eclipse.gmf.runtime.notation.DecorationNode; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.papyrus.infra.gmfdiag.css.dom.GMFElementAdapter; -import org.eclipse.papyrus.infra.gmfdiag.css.engine.ExtendedCSSEngine; -import org.eclipse.papyrus.infra.tools.util.ListHelper; -import org.eclipse.papyrus.sysml14.diagram.common.css.helper.CSSDOMSYSMLSemanticElementHelper; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.papyrus.sysml14.util.DeprecatedElementUtil; -import org.eclipse.papyrus.uml.diagram.common.stereotype.display.helper.StereotypeDisplayConstant; -import org.eclipse.papyrus.uml.diagram.common.stereotype.display.helper.StereotypeDisplayUtil; -import org.eclipse.uml2.uml.AcceptEventAction; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.Event; -import org.eclipse.uml2.uml.NamedElement; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Stereotype; -import org.eclipse.uml2.uml.TimeEvent; -import org.eclipse.uml2.uml.Trigger; -import org.eclipse.uml2.uml.Type; -import org.eclipse.uml2.uml.TypedElement; - -/** - * DOM Element Adapter for SYSML Elements - * - * Supports applied stereotypes and stereotype properties - * - * @author Francois Le Fevre - * - */ -public class GMFSYSMLElementAdapter extends GMFElementAdapter { - - - /** - * Name of the CSS Simple Selector to match on the Stereotype Compartment Shape - */ - private static final String STEREOTYPE_COMMENT = "StereotypeComment"; //$NON-NLS-1$ - - /** The stereotype helper. */ - public final StereotypeDisplayUtil stereotypeHelper = StereotypeDisplayUtil.getInstance(); - - /** The Constant IS_CONSTRAINT. */ - private static final String IS_CONSTRAINT = "isConstraint"; //$NON-NLS-1$ - - /** The Constant IS_PART. */ - private static final String IS_PART = "isPart"; //$NON-NLS-1$ - - /** The Constant IS_REFERENCE. */ - private static final String IS_REFERENCE = "isReference"; //$NON-NLS-1$ - - /** The Constant APPLIED_STEREOTYPES_PROPERTY. */ - public static final String APPLIED_STEREOTYPES_PROPERTY = "appliedStereotypes"; //$NON-NLS-1$ - - /** The Constant TYPE_APPLIED_STEREOTYPES_PROPERTY */ - private static final String TYPE_APPLIED_STEREOTYPES_PROPERTY = "typeAppliedStereotypes"; //$NON-NLS-1$ - - /** The Constant DEPRECATED. */ - public static final String DEPRECATED = "deprecated"; //$NON-NLS-1$ - - /** The Constant IS_ABSTRACT. */ - private static final String IS_ABSTRACT = "isAbstract"; //$NON-NLS-1$ - - /** The Constant IS_TIME_EVENT_ACTION. */ - private static final String IS_TIME_EVENT_ACTION_PROPERTY = "isTimeEventAction"; //$NON-NLS-1$ - - /** The Constant IS_FRAMEZABLE. */ - public static final String IS_FRAME = "isFrame"; //$NON-NLS-1$ - - /** - * The CSS Separator for qualifiers, when we must use CSS ID - * When we can use CSS String, we use the standard UML "::" qualifier separator - * - * NOTE: Separator "__" does not work - */ - public static final String QUALIFIER_SEPARATOR = "--"; //$NON-NLS-1$ - - public GMFSYSMLElementAdapter(View view, ExtendedCSSEngine engine) { - super(view, engine); - helper = CSSDOMSYSMLSemanticElementHelper.getInstance(); - } - - /** - * {@inheritDoc} - * - * Applied Stereotypes are manipulated as DOM Attributes - */ - @Override - protected String doGetAttribute(String attr) { - String parentValue = super.doGetAttribute(attr); - if (parentValue != null) { - return parentValue; - } - - // This is present only for performance issues - // isAbstract isn't a SysML feature but will be called many time for UML - // and is very slow to answer (Check : L172) - if (IS_ABSTRACT.equals(attr)) { - return null; - } - - // get stereotype Label attribute - if (stereotypeHelper.isStereotypeLabel(semanticElement)) { - String value = getStereotypeLabelAttribute(attr); - if (value != null && !value.isEmpty()) { - return value; - } - } - - // get stereotype Compartment attribute - if (stereotypeHelper.isStereotypeCompartment(semanticElement) || stereotypeHelper.isStereotypeBrace(semanticElement)) { - String value = getStereotypeCompartmentAttribute(attr); - if (value != null && !value.isEmpty()) { - return value; - } - } - - // get stereotype Property attribute - if (stereotypeHelper.isStereotypeProperty(semanticElement) || stereotypeHelper.isStereotypeBraceProperty(semanticElement)) { - String value = getStereotypePropertyAttribute(attr); - if (value != null && !value.isEmpty()) { - return value; - } - } - - if (semanticElement instanceof Element) { - // Applied stereotypes - Element currentElement = (Element) semanticElement; - - // IMPORTANT set the faster test first - if(DEPRECATED.equals(attr)){ - return String.valueOf(DeprecatedElementUtil.isDeprecatedElement(semanticElement)); - } - boolean isProperty = semanticElement instanceof Property; - // manage of isConstraint=true attribute for Property - if (IS_CONSTRAINT.equals(attr) && isProperty) { - IElementMatcher constraint = ((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_CONSTRAINTPROPERTY)).getMatcher(); - return String.valueOf(constraint.matches((Property) semanticElement)); - } - // manage of isPart=true attribute for Property - if (IS_PART.equals(attr) && isProperty) { - IElementMatcher part = ((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_PART)).getMatcher(); - return String.valueOf(part.matches((Property) semanticElement)); - } - // manage of isReference=true attribute for Property - if (IS_REFERENCE.equals(attr) && isProperty) { - IElementMatcher reference = ((ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_REFERENCE)).getMatcher(); - return String.valueOf(reference.matches((Property) semanticElement)); - } - - - // Get applied STereotypes Attributes - if (APPLIED_STEREOTYPES_PROPERTY.equals(attr)) { - List<String> appliedStereotypes = new LinkedList<String>(); - for (Stereotype stereotype : currentElement.getAppliedStereotypes()) { - appliedStereotypes.add(stereotype.getName()); - appliedStereotypes.add(stereotype.getQualifiedName()); - } - if (!appliedStereotypes.isEmpty()) { - return ListHelper.deepToString(appliedStereotypes, CSS_VALUES_SEPARATOR); - } - return null; - } - - if (TYPE_APPLIED_STEREOTYPES_PROPERTY.equals(attr) && semanticElement instanceof TypedElement) { - Type type = ((TypedElement) semanticElement).getType(); - if (type != null) { - List<String> appliedStereotypes = new LinkedList<>(); - for (Stereotype stereotype : type.getAppliedStereotypes()) { - appliedStereotypes.add(stereotype.getName()); - appliedStereotypes.add(stereotype.getQualifiedName()); - } - - if (!appliedStereotypes.isEmpty()) { - return ListHelper.deepToString(appliedStereotypes, CSS_VALUES_SEPARATOR); - } - } - } - - for (EObject stereotypeApplication : currentElement.getStereotypeApplications()) { - EStructuralFeature feature = stereotypeApplication.eClass().getEStructuralFeature(attr); - if (feature != null) { - if (feature.isMany()) { - List<?> values = (List<?>) stereotypeApplication.eGet(feature); - List<String> cssValues = new LinkedList<String>(); - for (Object value : values) { - cssValues.add(getCSSValue(feature, value)); - } - return ListHelper.deepToString(cssValues, CSS_VALUES_SEPARATOR); - } else { - Object value = stereotypeApplication.eGet(feature); - return getCSSValue(feature, value); - } - } - return null; - } - - if (attr.contains(QUALIFIER_SEPARATOR)) { - List<String> qualifiers = ListHelper.asList(attr.split(QUALIFIER_SEPARATOR)); // Writable list - String propertyName = qualifiers.remove(qualifiers.size() - 1); // Last element is the property name - // Remaining strings can be used to build the Stereotype's qualified name - String stereotypeName = ListHelper.deepToString(qualifiers, "::"); //$NON-NLS-1$ - Stereotype appliedStereotype = currentElement.getAppliedStereotype(stereotypeName); - if (appliedStereotype != null) { - EObject stereotypeApplication = currentElement.getStereotypeApplication(appliedStereotype); - EStructuralFeature feature = stereotypeApplication.eClass().getEStructuralFeature(propertyName); - if (feature != null) { - Object value = stereotypeApplication.eGet(feature); - return getCSSValue(feature, value); - } - } - } - // manage of isTimeEventAction=true attribute for AcceptEventAction - if (IS_TIME_EVENT_ACTION_PROPERTY.equals(attr)) { - if (semanticElement instanceof AcceptEventAction) { - return String.valueOf(isAcceptTimeEventAction((AcceptEventAction) semanticElement)); - } - } - // manage of isFraezable=true attribute for displaying header/frame - if(IS_FRAME.equals(attr)){ - if(notationElement.eContainer()==notationElement.getDiagram()){ - return String.valueOf(true); - } - else{ - return String.valueOf(false); - } - } - } - return null; - } - - - /** - * Retrieve the Matching String Value for the StereotypeCompartment Element - * - * @param attr - * Attribute of the String to match with - * @return The matching value for this Attribute - */ - protected String getStereotypeCompartmentAttribute(String attr) { - if (StereotypeDisplayConstant.STEREOTYPE_COMPARTMENT_NAME.equals(attr)) { - BasicCompartment propertyCompartment = (BasicCompartment) semanticElement; - return stereotypeHelper.getName(propertyCompartment); - } - return "";//$NON-NLS-1$ - } - - /** - * Retrieve the Matching String Value for the StereotypeCompartment Element - * - * @param attr - * Attribute of the String to match with - * @return The matching value for this Attribute - */ - protected String getStereotypePropertyAttribute(String attr) { - // CSS can match property level - if (StereotypeDisplayConstant.STEREOTYPE_PROPERTY_NAME.equals(attr)) { - DecorationNode propertyLabel = (DecorationNode) semanticElement; - if (propertyLabel.getElement() instanceof Property) { - Property prop = (Property) propertyLabel.getElement(); - return prop.getName(); - } - // CSS can match Container Name - } else if (StereotypeDisplayConstant.STEREOTYPE_COMPARTMENT_NAME.equals(attr)) { - EObject propertyCompartment = ((DecorationNode) semanticElement).eContainer(); - if (stereotypeHelper.isStereotypeCompartment(propertyCompartment)) { - - return stereotypeHelper.getName((DecorationNode) propertyCompartment); - } - - } - return "";//$NON-NLS-1$ - } - - /** - * Get the matching Value of the Attribute - * - * @param attr - * Attribute of the String to match with - * @return The matching value for this Attribute - */ - protected String getStereotypeLabelAttribute(String attr) { - if (StereotypeDisplayConstant.STEREOTYPE_LABEL_NAME.equals(attr)) { - DecorationNode label = (DecorationNode) semanticElement; - return stereotypeHelper.getName(label); - } - - if (KIND.equals(attr) && stereotypeHelper.isStereotypeLabel(semanticElement)) { - return StereotypeDisplayConstant.STEREOTYPE_LABEL_TYPE; - } - return null; - } - - @Override - protected String getCSSValue(EStructuralFeature feature, Object value) { - if (feature instanceof EReference && value instanceof NamedElement) { - String name = ((NamedElement) value).getName(); - return name == null || name.isEmpty() ? EMPTY_VALUE : name; // Bug 467716: Never return null or empty string if the value is not null - } - return super.getCSSValue(feature, value); - } - - /** - * @see org.eclipse.papyrus.infra.gmfdiag.css.dom.GMFElementAdapter#getLocalName() - * - * @return The Local name for the CSS matching. - */ - @Override - public String getLocalName() { - // In case of StereotypeComment type, the selector should match on the Stereotype Comment. - if (localName == null && stereotypeHelper.isStereotypeComment(getNotationElement())) { - return STEREOTYPE_COMMENT; - } - return super.getLocalName(); - } - - /** - * Checks if is accept time event action. - * - * @param action - * the action - * @return true, if is accept time event action - */ - public boolean isAcceptTimeEventAction(AcceptEventAction action) { - boolean hasTimeEvent = false; - boolean hasOthersTriggers = false; - // Get triggers - if (action.getTriggers() != null) { - for (Trigger trigger : action.getTriggers()) { - if (trigger != null) { - Event event = trigger.getEvent(); - if (event instanceof TimeEvent) { - hasTimeEvent = true; - } else { - hasOthersTriggers = true; - } - } - } - } - // only time events have been encountered. - return hasTimeEvent && !hasOthersTriggers; - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/css/dom/GMFSYSMLElementProvider.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/css/dom/GMFSYSMLElementProvider.java deleted file mode 100644 index 280ad51..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/css/dom/GMFSYSMLElementProvider.java +++ /dev/null
@@ -1,57 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Francois Le Fevre francois.le-fevre@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.common.css.dom; - -import org.eclipse.e4.ui.css.core.engine.CSSEngine; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.papyrus.infra.gmfdiag.css.engine.ExtendedCSSEngine; -import org.eclipse.papyrus.infra.gmfdiag.css.provider.IPapyrusElementProvider; -import org.eclipse.papyrus.sysml14.diagram.common.css.helper.CSSDOMSYSMLSemanticElementHelper; -import org.w3c.dom.Element; - -/** - * An IElementProvider for SysML-specific CSS concepts - * - * Provides a specialization of GMFElementAdapter for SysML Elements - * - * @author Francois Le Fevre - */ -public class GMFSYSMLElementProvider implements IPapyrusElementProvider { - - @Override - public Element getElement(Object element, CSSEngine engine) { - - if (!(element instanceof View)) { - throw new IllegalArgumentException("Unknown element : " + element);//$NON-NLS-1$ - } - - if (!(engine instanceof ExtendedCSSEngine)) { - throw new IllegalArgumentException("Invalid CSS Engine : " + engine);//$NON-NLS-1$ - } - - return new GMFSYSMLElementAdapter((View) element, (ExtendedCSSEngine) engine); - } - - /** - * @see org.eclipse.papyrus.infra.gmfdiag.css.provider.IPapyrusElementProvider#getPrimaryView(org.eclipse.emf.ecore.EObject) - * - * @param notationElement - * @return - */ - @Override - public View getPrimaryView(EObject notationElement) { - return CSSDOMSYSMLSemanticElementHelper.getInstance().findPrimaryView(notationElement); - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/css/dom/GMFSYSMLElementProviderFactory.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/css/dom/GMFSYSMLElementProviderFactory.java deleted file mode 100644 index a3b911a..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/css/dom/GMFSYSMLElementProviderFactory.java +++ /dev/null
@@ -1,49 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Francois Le Fevre francois.le-fevre@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.common.css.dom; - -import org.eclipse.papyrus.infra.gmfdiag.css.engine.ICSSElementProviderFactory; -import org.eclipse.papyrus.infra.gmfdiag.css.notation.CSSDiagram; -import org.eclipse.papyrus.infra.gmfdiag.css.provider.IPapyrusElementProvider; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.uml2.uml.Element; - - -/** - * IElementProvider Factory for Diagrams related to SysML Elements - * - * @author Francois Le Fevre - * - */ -public class GMFSYSMLElementProviderFactory implements ICSSElementProviderFactory { - - @Override - public boolean isProviderFor(CSSDiagram diagram) { - if(diagram.getElement() instanceof Element){ - //Retrieve the UML2 element - Element element = (Element)diagram.getElement(); - - //Introspect its packages to check if SysML profile is applied - return SysMLResource.isSysMLProfileApplied(element); - } - return false; - } - - @Override - public IPapyrusElementProvider createProvider(CSSDiagram diagram) { - return new GMFSYSMLElementProvider(); - } - - - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/css/helper/CSSDOMSYSMLSemanticElementHelper.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/css/helper/CSSDOMSYSMLSemanticElementHelper.java deleted file mode 100644 index e100a6b..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/css/helper/CSSDOMSYSMLSemanticElementHelper.java +++ /dev/null
@@ -1,81 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Francois Le Fevre francois.le-fevre@cea.fr - Initial API and implementation - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.diagram.common.css.helper; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.notation.DecorationNode; -import org.eclipse.gmf.runtime.notation.Shape; -import org.eclipse.papyrus.infra.gmfdiag.css.helper.CSSDOMSemanticElementHelper; -import org.eclipse.papyrus.uml.diagram.common.stereotype.display.helper.StereotypeDisplayUtil; - -/** - * This class is a helper for retrieving view and semantic element from a compatible object related to UML. - * - * @author Francois Le Fevre - * - */ -public class CSSDOMSYSMLSemanticElementHelper extends CSSDOMSemanticElementHelper { - - - /** - * singleton instance - */ - private static CSSDOMSYSMLSemanticElementHelper elementHelper; - - /** Private Constructor. */ - protected CSSDOMSYSMLSemanticElementHelper() { - super(); - } - - /** - * Returns the singleton instance of this class - * - * @return the singleton instance. - */ - public static CSSDOMSYSMLSemanticElementHelper getInstance() { - if (elementHelper == null) { - elementHelper = new CSSDOMSYSMLSemanticElementHelper(); - } - return elementHelper; - } - - - - /** - * @see org.eclipse.papyrus.infra.gmfdiag.css.helper.CSSDOMSemanticElementHelper#findSemanticElement(org.eclipse.emf.ecore.EObject) - * - * @param notationElement - * @return - */ - @Override - public EObject findSemanticElement(EObject notationElement) { - StereotypeDisplayUtil stereotypeHelper = StereotypeDisplayUtil.getInstance(); - // Add Stereotype Comment - if (notationElement instanceof Shape && stereotypeHelper.isStereotypeComment(notationElement)) { - return notationElement; - } - - // Add Stereotype Label - if (notationElement instanceof DecorationNode && stereotypeHelper.isStereotypeLabel(notationElement)) { - return notationElement; - } - - // Add StereotypeProperty to the DOM model - if (notationElement instanceof DecorationNode && (stereotypeHelper.isStereotypeProperty(notationElement) || stereotypeHelper.isStereotypeBraceProperty(notationElement))) { - return notationElement; - } - return super.findSemanticElement(notationElement); - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/dialog/CreateOrSelectActorPartTypeDialog.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/dialog/CreateOrSelectActorPartTypeDialog.java deleted file mode 100644 index ab3010d..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/dialog/CreateOrSelectActorPartTypeDialog.java +++ /dev/null
@@ -1,34 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.common.dialog; - -import org.eclipse.papyrus.sysml14.diagram.common.internal.dialog.CreateOrSelectTypeWithNameDialog; -import org.eclipse.papyrus.uml.service.types.element.UMLElementTypes; -import org.eclipse.swt.widgets.Shell; -import org.eclipse.uml2.uml.NamedElement; -import org.eclipse.uml2.uml.UMLPackage; - -/** - * Dialog for initialization of Part (Property) type (the type is either selected or created). - */ -public class CreateOrSelectActorPartTypeDialog extends CreateOrSelectTypeWithNameDialog { - - /** Constructor */ - public CreateOrSelectActorPartTypeDialog(Shell shell, NamedElement owner) { - super(shell, owner, UMLElementTypes.ACTOR, - UMLPackage.eINSTANCE.getTypedElement_Type(), - UMLPackage.eINSTANCE.getActor(), - UMLElementTypes.PACKAGE, - UMLPackage.eINSTANCE.getPackage_PackagedElement(), null); - } -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/dialog/CreateOrSelectBlockPropertyTypeDialog.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/dialog/CreateOrSelectBlockPropertyTypeDialog.java deleted file mode 100644 index e012fbc..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/dialog/CreateOrSelectBlockPropertyTypeDialog.java +++ /dev/null
@@ -1,53 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2011 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: - * - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.common.dialog; - -import java.util.Arrays; -import java.util.List; - -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.diagram.common.internal.dialog.CreateOrSelectTypeWithNameDialog; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.papyrus.uml.service.types.element.UMLElementTypes; -import org.eclipse.swt.widgets.Shell; -import org.eclipse.uml2.uml.NamedElement; -import org.eclipse.uml2.uml.Stereotype; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.UMLPackage; - -/** - * Dialog for initialization of Part (Property) type (the type is either selected or created). - */ -public class CreateOrSelectBlockPropertyTypeDialog extends CreateOrSelectTypeWithNameDialog { - - public CreateOrSelectBlockPropertyTypeDialog(Shell shell, NamedElement owner) { - super(shell, owner, ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_BLOCK), UMLPackage.eINSTANCE.getTypedElement_Type(), BlocksPackage.eINSTANCE.getBlock(), UMLElementTypes.PACKAGE, UMLPackage.eINSTANCE.getPackage_PackagedElement(), null, getConstraintBlockAsStereotype()); - } - - /** - * If we create a Part type by a ConstraintBlock, thisPart will become a ConstraintProperty and representation will immediately disappear. - * So we filter ConstraintBlock type => Only strict Block are allowed - * - * @return - */ - private static List<?> getConstraintBlockAsStereotype() { - // We create a mock Stereotype to pass in the good code section of SemanticUMLContentProvider.isCompatibleMetaclass (bad gestion of static stereotypes) - Stereotype mockStereotype = UMLFactory.eINSTANCE.createStereotype(); - // We use this stereotype with namespace instead of ConstraintsPackage.eINSTANCE.getConstraintBlock() - mockStereotype.setName("SysML::Constraints::ConstraintBlock"); - return Arrays.asList(mockStereotype); - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/dialog/CreateOrSelectConstraintPropertyTypeDialog.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/dialog/CreateOrSelectConstraintPropertyTypeDialog.java deleted file mode 100644 index c891ae6..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/dialog/CreateOrSelectConstraintPropertyTypeDialog.java +++ /dev/null
@@ -1,39 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2011 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: - * - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.common.dialog; - -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.papyrus.sysml14.constraintblocks.ConstraintblocksPackage; -import org.eclipse.papyrus.sysml14.diagram.common.internal.dialog.CreateOrSelectTypeWithNameDialog; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.papyrus.uml.service.types.element.UMLElementTypes; -import org.eclipse.swt.widgets.Shell; -import org.eclipse.uml2.uml.NamedElement; -import org.eclipse.uml2.uml.UMLPackage; - -/** - * Dialog for initialization of Part (Property) type (the type is either selected or created). - */ -public class CreateOrSelectConstraintPropertyTypeDialog extends CreateOrSelectTypeWithNameDialog { - - /** Constructor */ - public CreateOrSelectConstraintPropertyTypeDialog(Shell shell, NamedElement owner) { - super(shell, owner, ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_CONSTRAINTBLOCK), - UMLPackage.eINSTANCE.getTypedElement_Type(), - ConstraintblocksPackage.eINSTANCE.getConstraintBlock(), - UMLElementTypes.PACKAGE, - UMLPackage.eINSTANCE.getPackage_PackagedElement(), null); - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/dialog/CreateOrSelectValuePropertyTypeDialog.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/dialog/CreateOrSelectValuePropertyTypeDialog.java deleted file mode 100644 index 2a72126..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/dialog/CreateOrSelectValuePropertyTypeDialog.java +++ /dev/null
@@ -1,185 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2011 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: - * - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.common.dialog; - -import org.eclipse.gmf.runtime.diagram.ui.internal.commands.ElementTypeLabelProvider; -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest; -import org.eclipse.jface.viewers.ComboViewer; -import org.eclipse.jface.viewers.ISelection; -import org.eclipse.jface.viewers.StructuredSelection; -import org.eclipse.papyrus.infra.services.edit.commands.ConfigureFeatureCommandFactory; -import org.eclipse.papyrus.infra.services.edit.commands.IConfigureCommandFactory; -import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils; -import org.eclipse.papyrus.infra.services.edit.service.IElementEditService; -import org.eclipse.papyrus.sysml14.blocks.BlocksPackage; -import org.eclipse.papyrus.sysml14.diagram.common.internal.dialog.CreateOrSelectTypeWithNameDialog; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.papyrus.uml.service.types.element.UMLElementTypes; -import org.eclipse.papyrus.uml.tools.utils.NamedElementUtil; -import org.eclipse.swt.SWT; -import org.eclipse.swt.events.ModifyEvent; -import org.eclipse.swt.events.ModifyListener; -import org.eclipse.swt.layout.GridData; -import org.eclipse.swt.layout.GridLayout; -import org.eclipse.swt.widgets.Combo; -import org.eclipse.swt.widgets.Composite; -import org.eclipse.swt.widgets.Shell; -import org.eclipse.ui.forms.widgets.ExpandableComposite; -import org.eclipse.ui.forms.widgets.FormToolkit; -import org.eclipse.ui.forms.widgets.ScrolledForm; -import org.eclipse.ui.forms.widgets.Section; -import org.eclipse.uml2.uml.NamedElement; -import org.eclipse.uml2.uml.UMLPackage; - -/** - * Dialog for initialization of Value (Property) type (the type is either selected or created). - */ -public class CreateOrSelectValuePropertyTypeDialog extends CreateOrSelectTypeWithNameDialog { - - protected ComboViewer newTypeKindComboViewer = null; - - protected Combo newTypeKindCombo = null; - - protected IElementType[] valueTypeKind = { UMLElementTypes.DATA_TYPE, - ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_VALUETYPE), - UMLElementTypes.PRIMITIVE_TYPE, UMLElementTypes.ENUMERATION }; - - protected IElementType newTypeKind = UMLElementTypes.DATA_TYPE; - - /** Constructor */ - public CreateOrSelectValuePropertyTypeDialog(Shell shell, NamedElement owner) { - super(shell, owner, UMLElementTypes.DATA_TYPE, UMLPackage.eINSTANCE.getTypedElement_Type(), null, UMLElementTypes.PACKAGE, UMLPackage.eINSTANCE.getPackage_PackagedElement(), null); - } - - /** - * {@inheritDoc} - */ - @Override - protected void createFormCreationSection(Composite pParent, FormToolkit pToolkit) { - // create the section - String lSectionTitle = getCreationSectionTitle(); - Section lSection = pToolkit.createSection(pParent, ExpandableComposite.EXPANDED | ExpandableComposite.TITLE_BAR); - lSection.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); - if (lSectionTitle != null) { - lSection.setText(lSectionTitle); - } - - ScrolledForm lInsideScrolledForm = pToolkit.createScrolledForm(lSection); - lInsideScrolledForm.setExpandHorizontal(true); - lInsideScrolledForm.setExpandVertical(true); - Composite lBody = lInsideScrolledForm.getBody(); - - GridLayout lLayout = new GridLayout(3,false); - lBody.setLayout(lLayout); - - // content of the section - creationRadio = pToolkit.createButton(lBody, getCreationSectionRadioLabel(), SWT.RADIO); - creationRadio.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 3, 1)); - - pToolkit.createLabel(lBody, getNewTypeNameLabel(), SWT.NONE); - newTypeNameText = pToolkit.createText(lBody, "", SWT.BORDER);//$NON-NLS-1$ - newTypeNameText.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 2, 1)); - newTypeNameText.setFocus(); - - // manage type selection - pToolkit.createLabel(lBody, getNewTypeContainerNameLabel(), SWT.NONE); - newTypeContainerNameText = pToolkit.createText(lBody, labelProvider.getText(newTypeContainer), SWT.BORDER | SWT.READ_ONLY); - newTypeContainerNameText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); - newTypeContainerButton = pToolkit.createButton(lBody, "...", SWT.FLAT);//$NON-NLS-1$ - newTypeContainerButton.setLayoutData(new GridData(SWT.NONE)); - - pToolkit.createLabel(lBody, "New Label", SWT.NONE); - newTypeKindCombo = new Combo(lBody, SWT.DROP_DOWN | SWT.READ_ONLY); - newTypeKindComboViewer = new ComboViewer(newTypeKindCombo); - pToolkit.adapt(newTypeKindCombo); - newTypeKindCombo.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 2, 1)); - newTypeKindComboViewer.setLabelProvider(new ElementTypeLabelProvider()); - newTypeKindComboViewer.add(valueTypeKind); - newTypeKindComboViewer.setSelection(new StructuredSelection(valueTypeKind[0])); - - lInsideScrolledForm.reflow(true); - lSection.setClient(lInsideScrolledForm); - } - - /** - * {@inheritDoc} - */ - @Override - protected void buildNewTypeCreateCommand() { - // The new element is expected to be a NamedElement. - IElementEditService commandService = ElementEditServiceUtils.getCommandProvider(newTypeContainer); - if (commandService != null) { - CreateElementRequest createTypeRequest = new CreateElementRequest(newTypeContainer, newTypeKind); - createTypeRequest.setParameter(IConfigureCommandFactory.CONFIGURE_COMMAND_FACTORY_ID, new ConfigureFeatureCommandFactory(UMLPackage.eINSTANCE.getNamedElement_Name(), newTypeNameText.getText())); - newTypeCreateCommand = commandService.getEditCommand(createTypeRequest); - } - setSavedNewTypeNameText(newTypeNameText.getText()); - } - - /** - * {@inheritDoc} - */ - @Override - protected void hookListeners() { - super.hookListeners(); - - // listener to select invocation type - ModifyListener newTypeKindListener = new ModifyListener() { - - /** - * @see org.eclipse.swt.events.ModifyListener#modifyText(org.eclipse.swt.events.ModifyEvent) - */ - @Override - public void modifyText(ModifyEvent e) { - ISelection sel = newTypeKindComboViewer.getSelection(); - if (sel instanceof StructuredSelection) { - Object type = ((StructuredSelection) sel).getFirstElement(); - if (type instanceof IElementType) { - newTypeKind = (IElementType) type; - } else { - newTypeKind = null; - } - - // reset name - setNewTypeName(null); - } - } - }; - newTypeKindCombo.addModifyListener(newTypeKindListener); - } - - /** - * {@inheritDoc} - */ - @Override - protected void setNewTypeName(String text) { - String name = text; - if (text == null) { - name = NamedElementUtil.getDefaultNameWithIncrementFromBase(newTypeKind.getEClass().getName(), newTypeContainer.eContents()); - if (newTypeKind == ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_VALUETYPE)) { - name = NamedElementUtil.getDefaultNameWithIncrementFromBase(BlocksPackage.eINSTANCE.getValueType().getName(), newTypeContainer.eContents()); - } - newTypeNameText.setText(name); - - } else { - newTypeNameText.setText(name); - newTypeName = name; - } - - validateNewTypeName(); - refreshOkButton(); - } -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/edit/parts/LabelInListEditpart.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/edit/parts/LabelInListEditpart.java deleted file mode 100644 index 0199809..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/edit/parts/LabelInListEditpart.java +++ /dev/null
@@ -1,46 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.common.edit.parts; - -import org.eclipse.gmf.runtime.diagram.ui.editparts.IPrimaryEditPart; -import org.eclipse.gmf.runtime.diagram.ui.editparts.ITextAwareEditPart; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.papyrus.infra.gmfdiag.common.editpart.IControlParserForDirectEdit; -import org.eclipse.papyrus.uml.diagram.common.editparts.EditableLabelForNodeEditPart; - -/** - * to be given into papyrus. - * This is a generic editpart that can be used to represent a element that is displayed in a list. - * This editpart allow selection and the edition by an xtext technology - * - * @deprecated - * - */ -@Deprecated -public class LabelInListEditpart extends EditableLabelForNodeEditPart implements ITextAwareEditPart, IPrimaryEditPart, IControlParserForDirectEdit { - - /** - * Constructor. - * - * @param view - */ - public LabelInListEditpart(View view) { - super(view); - } - - @Override - public boolean isSelectable() { - return getFigure().isShowing(); - } -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/edit/parts/SysMLConnectorAppliedStereotypeEditPart.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/edit/parts/SysMLConnectorAppliedStereotypeEditPart.java deleted file mode 100644 index 4b492e7..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/edit/parts/SysMLConnectorAppliedStereotypeEditPart.java +++ /dev/null
@@ -1,54 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.diagram.common.edit.parts; - -import org.eclipse.draw2d.IFigure; -import org.eclipse.gmf.runtime.notation.View; - -/** - * This editPart is a specialization of a connectorEeditpart that overload the setText about the label of AppliedStereotype - * This class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml14.diagram.internalblock#Req_004} - */ -public class SysMLConnectorAppliedStereotypeEditPart extends org.eclipse.papyrus.uml.diagram.composite.edit.parts.ConnectorAppliedStereotypeEditPart { - - /** - * The String that must display a bindingConnector - */ - protected static final String STEREOTYPE_LABEL_BINDINGCONNECTOR = "equal"; - /** - * String that replace the name of the stereotype BindingConnector - */ - protected static final String BINDING_CONNECTOR = "BindingConnector"; - - /** - * Constructor. - * - * @param view - */ - public SysMLConnectorAppliedStereotypeEditPart(View view) { - super(view); - } - - /** - * @see org.eclipse.papyrus.uml.diagram.composite.edit.parts.ConnectorAppliedStereotypeEditPart#setLabelTextHelper(org.eclipse.draw2d.IFigure, java.lang.String) - * - * @param figure - * @param text - */ - @Override - protected void setLabelTextHelper(IFigure figure, String text) { - String newtext = text.replaceAll(BINDING_CONNECTOR, STEREOTYPE_LABEL_BINDINGCONNECTOR); - super.setLabelTextHelper(figure, newtext); - } -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/edit/parts/SysMLConnectorEditPart.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/edit/parts/SysMLConnectorEditPart.java deleted file mode 100644 index 7e6564f..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/edit/parts/SysMLConnectorEditPart.java +++ /dev/null
@@ -1,40 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.diagram.common.edit.parts; - -import org.eclipse.draw2d.Connection; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.papyrus.sysml14.diagram.common.figure.SysMLConnectorFigure; - -/** - * This editpart has been specialized in order to replace default figure by a custom figure to change display of stereotype application. - * This class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml14.diagram.internalblock#Req_004} - */ -public class SysMLConnectorEditPart extends org.eclipse.papyrus.uml.diagram.composite.edit.parts.ConnectorEditPart { - - /** - * Constructor. - * - * @param view - */ - public SysMLConnectorEditPart(View view) { - super(view); - } - - @Override - protected Connection createConnectionFigure() { - return new SysMLConnectorFigure(); - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/figure/SysMLConnectorFigure.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/figure/SysMLConnectorFigure.java deleted file mode 100644 index 84c73af..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/figure/SysMLConnectorFigure.java +++ /dev/null
@@ -1,46 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.diagram.common.figure; - -import org.eclipse.swt.graphics.Image; - -/** - * This figure is a specialization of a connector in order to overload the display of the BindingConnector display - * This class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml14.diagram.internalblock#Req_004} - * - */ -public class SysMLConnectorFigure extends org.eclipse.papyrus.uml.diagram.composite.custom.figures.ConnectorFigure { - - /** - * The String that must display a bindingConnector - */ - protected static final String STEREOTYPE_LABEL_BINDINGCONNECTOR = "equal"; - /** - * String that replace the name of the stereotype BindingConnector - */ - protected static final String BINDING_CONNECTOR = "BindingConnector"; - - /** - * @see org.eclipse.papyrus.uml.diagram.common.figure.edge.UMLEdgeFigure#setStereotypeDisplay(java.lang.String, org.eclipse.swt.graphics.Image) - * - * @param stereotypes - * @param image - */ - @Override - public void setStereotypeDisplay(String stereotypes, Image image) { - String newStereotypeString = stereotypes.replaceAll(BINDING_CONNECTOR, STEREOTYPE_LABEL_BINDINGCONNECTOR); - super.setStereotypeDisplay(newStereotypeString, image); - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/internal/command/RenamePostCreationCommand.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/internal/command/RenamePostCreationCommand.java deleted file mode 100644 index de5198b..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/internal/command/RenamePostCreationCommand.java +++ /dev/null
@@ -1,60 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.diagram.common.internal.command; - -import org.eclipse.core.commands.ExecutionException; -import org.eclipse.core.runtime.IAdaptable; -import org.eclipse.core.runtime.IProgressMonitor; -import org.eclipse.gmf.runtime.common.core.command.CommandResult; -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.emf.type.core.commands.ConfigureElementCommand; -import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest; -import org.eclipse.papyrus.infra.services.edit.utils.GMFCommandUtils; -import org.eclipse.uml2.uml.NamedElement; - -/** - * Name an element after a creation command - * This class is internal since the element should be created with the correct name in the first place - * Currently the is a lack of naming strategy in Papyrus core framework - * (update name in applystereotypehelper, see Bug 497306) - */ -public class RenamePostCreationCommand extends ConfigureElementCommand { - - private ICommand creationCommand; - - private String newName; - - /** - * Constructor. - * - * @param request - * configuration request - * @param partType - * the featuring type of the part - * @param typeCreationCommand - * if needed create the type - */ - public RenamePostCreationCommand(ConfigureRequest request, String newName, ICommand creationCommand) { - super(request); - this.newName = newName; - this.creationCommand = creationCommand; - } - - @Override - protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info) throws ExecutionException { - NamedElement newNamedElement = (NamedElement) GMFCommandUtils.getCommandEObjectResult(creationCommand); - newNamedElement.setName(newName); - return CommandResult.newOKCommandResult(getElementToEdit()); - } -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/internal/dialog/CreateOrSelectTypeWithNameDialog.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/internal/dialog/CreateOrSelectTypeWithNameDialog.java deleted file mode 100644 index 275c8f9..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/internal/dialog/CreateOrSelectTypeWithNameDialog.java +++ /dev/null
@@ -1,99 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.diagram.common.internal.dialog; - -import java.util.List; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EStructuralFeature; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.papyrus.uml.diagram.common.dialogs.CreateOrSelectTypeDialog; -import org.eclipse.swt.widgets.Shell; - -/** - * This class is used to keep the typed new name even after the widget is disposed - * It's internal since the capability should be moved to papyrus core in CreateOrSelectTypeDialog - * - */ -// TODO :Bug 497304 move all the code/feature/open api in CreateOrSelectTypeDialog -public class CreateOrSelectTypeWithNameDialog extends CreateOrSelectTypeDialog { - - private String savedNewTypeNameText; - - /** - * Constructor. - * - * @param shell - * @param defaultContainer - * @param elementType - * @param editedFeature - * @param elementEClass - * @param containerType - * @param containerFeature - * @param containerEClass - */ - public CreateOrSelectTypeWithNameDialog(Shell shell, EObject defaultContainer, IElementType elementType, EStructuralFeature editedFeature, EClass elementEClass, IElementType containerType, EStructuralFeature containerFeature, EClass containerEClass) { - super(shell, defaultContainer, elementType, editedFeature, elementEClass, containerType, containerFeature, containerEClass); - } - - /** - * Constructor. - * - * @param shell - * @param defaultContainer - * @param elementType - * @param editedFeature - * @param elementEClass - * @param containerType - * @param containerFeature - * @param containerEClass - * @param notWantedMetaclasses - */ - public CreateOrSelectTypeWithNameDialog(Shell shell, EObject defaultContainer, IElementType elementType, EStructuralFeature editedFeature, EClass elementEClass, IElementType containerType, EStructuralFeature containerFeature, EClass containerEClass, - List<?> notWantedMetaclasses) { - super(shell, defaultContainer, elementType, editedFeature, elementEClass, containerType, containerFeature, containerEClass, notWantedMetaclasses); - } - - - /** - * @return the savedNewTypeNameText - */ - public String getSavedNewTypeNameText() { - return savedNewTypeNameText; - } - - /** - * @param savedNewTypeNameText the savedNewTypeNameText to set - */ - public void setSavedNewTypeNameText(String savedNewTypeNameText) { - this.savedNewTypeNameText = savedNewTypeNameText; - } - - /** - * @see org.eclipse.papyrus.uml.diagram.common.dialogs.CreateOrSelectTypeDialog#buildNewTypeCreateCommand() - * - */ - @Override - protected void buildNewTypeCreateCommand() { - super.buildNewTypeCreateCommand(); - savedNewTypeNameText = newTypeNameText.getText(); - } - - - public String getSavedNewTypeName() { - return savedNewTypeNameText; - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/internal/factory/AbstractBasicViewFactory.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/internal/factory/AbstractBasicViewFactory.java deleted file mode 100644 index 78124d3..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/internal/factory/AbstractBasicViewFactory.java +++ /dev/null
@@ -1,114 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.common.internal.factory; - -import org.eclipse.core.runtime.IAdaptable; -import org.eclipse.emf.ecore.EAnnotation; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EcoreFactory; -import org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint; -import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil; -import org.eclipse.gmf.runtime.notation.DecorationNode; -import org.eclipse.gmf.runtime.notation.Node; -import org.eclipse.gmf.runtime.notation.NotationFactory; -import org.eclipse.gmf.runtime.notation.TitleStyle; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.ModelEditPart; -import org.eclipse.papyrus.uml.diagram.clazz.part.UMLVisualIDRegistry; - -/** - * This abstract view factory is used to allow reuse code from GMF generated diagram - * - */ -public abstract class AbstractBasicViewFactory implements IBasicViewFactory { - - @Override - public View createView(IAdaptable semanticAdapter, View containerView, String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint) { - return createElementView(semanticAdapter.getAdapter(EObject.class), containerView, semanticHint, index, persisted, preferencesHint); - } - - /** - * This method is used to create a label in the context of based GMF diagram - * - * @param owner - * the container of the new view - * @param hint - * the number that is associated to the created view - * @return the decoration node that is the serialization of the label - */ - protected Node createLabel(View owner, String hint) { - DecorationNode rv = NotationFactory.eINSTANCE.createDecorationNode(); - rv.setType(hint); - ViewUtil.insertChildView(owner, rv, ViewUtil.APPEND, true); - return rv; - } - - /** - * this method is used to add a version number in the serialization of a diagram - * - * @param containerView - * @param target - */ - protected void stampShortcut(View containerView, Node target) { - if (!ModelEditPart.MODEL_ID.equals(UMLVisualIDRegistry.getModelID(containerView))) { - EAnnotation shortcutAnnotation = EcoreFactory.eINSTANCE.createEAnnotation(); - shortcutAnnotation.setSource("Shortcut"); //$NON-NLS-1$ - shortcutAnnotation.getDetails().put("modelID", ModelEditPart.MODEL_ID); //$NON-NLS-1$ - target.getEAnnotations().add(shortcutAnnotation); - } - } - - /** - * This method comes from GMF based generation diagram - * it is sued to create compartment. - * - * @param owner - * the container of the compartment - * @param hint - * the number that will be associated to the node - * @param canCollapse - * true if the compartment can be collapse - * @param hasTitle - * true if the compartment can have a title - * @param canSort - * true if the compartment can be sorted - * @param canFilter - * true if the compartment can be filtered - * @return the created compartment - */ - protected Node createCompartment(View owner, String hint, boolean canCollapse, boolean hasTitle, boolean canSort, boolean canFilter) { - Node rv; - if (canCollapse) { - rv = NotationFactory.eINSTANCE.createBasicCompartment(); - } else { - rv = NotationFactory.eINSTANCE.createDecorationNode(); - } - - rv.setLayoutConstraint(NotationFactory.eINSTANCE.createBounds()); - - if (hasTitle) { - TitleStyle ts = NotationFactory.eINSTANCE.createTitleStyle(); - rv.getStyles().add(ts); - } - if (canSort) { - rv.getStyles().add(NotationFactory.eINSTANCE.createSortingStyle()); - } - if (canFilter) { - rv.getStyles().add(NotationFactory.eINSTANCE.createFilteringStyle()); - } - rv.setType(hint); - ViewUtil.insertChildView(owner, rv, ViewUtil.APPEND, true); - return rv; - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/internal/factory/IBasicViewFactory.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/internal/factory/IBasicViewFactory.java deleted file mode 100644 index 2df97dd..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/internal/factory/IBasicViewFactory.java +++ /dev/null
@@ -1,45 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.common.internal.factory; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint; -import org.eclipse.gmf.runtime.diagram.core.view.factories.ViewFactory; -import org.eclipse.gmf.runtime.notation.View; - -/** - * it define the the contract in order to be able to create a serialization of a figure in the diagram - * it is used to allowing reuse code from GMF generated diagram - * - */ -public interface IBasicViewFactory extends ViewFactory { - - /** - * Create the the view, a element that represents the serialization of a figure inside the GMF framework - * - * @param domainElement - * in our case this a SysML element - * @param containerView - * the container of the created view - * @param semanticHint - * the identifier that will associated to the created view - * @param index - * the index where will be created the view ( if you don't know -1) - * @param persisted - * true means that the node will be serialized in the file - * @param preferencesHint - * a constant that is specific to a diagram - * @return the created view - */ - View createElementView(EObject domainElement, View containerView, String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint); -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/internal/factory/SysMLConnectorViewFactory.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/internal/factory/SysMLConnectorViewFactory.java deleted file mode 100644 index 9fc2f4f..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/internal/factory/SysMLConnectorViewFactory.java +++ /dev/null
@@ -1,96 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.diagram.common.internal.factory; - -import java.util.ArrayList; -import java.util.List; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint; -import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil; -import org.eclipse.gmf.runtime.notation.Connector; -import org.eclipse.gmf.runtime.notation.Location; -import org.eclipse.gmf.runtime.notation.Node; -import org.eclipse.gmf.runtime.notation.NotationFactory; -import org.eclipse.gmf.runtime.notation.RelativeBendpoints; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.gmf.runtime.notation.datatype.RelativeBendpoint; -import org.eclipse.jface.preference.IPreferenceStore; -import org.eclipse.papyrus.uml.diagram.common.helper.PreferenceInitializerForElementHelper; -import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ConnectorAppliedStereotypeEditPart; -import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ConnectorEditPart; -import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ConnectorMultiplicitySourceEditPart; -import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ConnectorMultiplicityTargetEditPart; -import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ConnectorNameEditPart; -import org.eclipse.papyrus.uml.diagram.composite.part.UMLVisualIDRegistry; - -/** - * this class is an extraction of the generated class to serialize the appearance of a connector in SysML - * This class satisfies the requirement{@papyrus.req org.eclipse.papyrus.sysml14.diagram.internalblock#Req_004} - */ -public class SysMLConnectorViewFactory extends AbstractBasicViewFactory { - - - /** - * @see org.eclipse.papyrus.sysml14.diagram.common.internal.factory.IBasicViewFactory#createElementView(org.eclipse.emf.ecore.EObject, org.eclipse.gmf.runtime.notation.View, java.lang.String, int, boolean, - * org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint) - * - * @param domainElement - * @param containerView - * @param semanticHint - * @param index - * @param persisted - * @param preferencesHint - * @return - */ - @Override - public View createElementView(EObject domainElement, View containerView, String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint) { - Connector edge = NotationFactory.eINSTANCE.createConnector(); - edge.getStyles().add(NotationFactory.eINSTANCE.createFontStyle()); - RelativeBendpoints bendpoints = NotationFactory.eINSTANCE.createRelativeBendpoints(); - List<RelativeBendpoint> points = new ArrayList<>(2); - points.add(new RelativeBendpoint()); - points.add(new RelativeBendpoint()); - bendpoints.setPoints(points); - edge.setBendpoints(bendpoints); - ViewUtil.insertChildView(containerView, edge, index, persisted); - edge.setType(UMLVisualIDRegistry.getType(ConnectorEditPart.VISUAL_ID)); - edge.setElement(domainElement); - // initializePreferences - final IPreferenceStore prefStore = (IPreferenceStore) preferencesHint.getPreferenceStore(); - PreferenceInitializerForElementHelper.initFontStyleFromPrefs(edge, prefStore, "Connector"); - Node label6025 = createLabel(edge, UMLVisualIDRegistry.getType(ConnectorAppliedStereotypeEditPart.VISUAL_ID)); - label6025.setLayoutConstraint(NotationFactory.eINSTANCE.createLocation()); - Location location6025 = (Location) label6025.getLayoutConstraint(); - location6025.setX(0); - location6025.setY(60); - Node label6050 = createLabel(edge, UMLVisualIDRegistry.getType(ConnectorNameEditPart.VISUAL_ID)); - label6050.setLayoutConstraint(NotationFactory.eINSTANCE.createLocation()); - Location location6050 = (Location) label6050.getLayoutConstraint(); - location6050.setX(0); - location6050.setY(-20); - Node label6051 = createLabel(edge, UMLVisualIDRegistry.getType(ConnectorMultiplicitySourceEditPart.VISUAL_ID)); - label6051.setLayoutConstraint(NotationFactory.eINSTANCE.createLocation()); - Location location6051 = (Location) label6051.getLayoutConstraint(); - location6051.setX(0); - location6051.setY(20); - Node label6052 = createLabel(edge, UMLVisualIDRegistry.getType(ConnectorMultiplicityTargetEditPart.VISUAL_ID)); - label6052.setLayoutConstraint(NotationFactory.eINSTANCE.createLocation()); - Location location6052 = (Location) label6052.getLayoutConstraint(); - location6052.setX(0); - location6052.setY(20); - return edge; - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/internal/factory/util/ClassifierViewFactoryUtil.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/internal/factory/util/ClassifierViewFactoryUtil.java deleted file mode 100644 index 6cae852..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/internal/factory/util/ClassifierViewFactoryUtil.java +++ /dev/null
@@ -1,82 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.diagram.common.internal.factory.util; - -import org.eclipse.emf.ecore.EAnnotation; -import org.eclipse.emf.ecore.EcoreFactory; -import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil; -import org.eclipse.gmf.runtime.notation.DecorationNode; -import org.eclipse.gmf.runtime.notation.Node; -import org.eclipse.gmf.runtime.notation.NotationFactory; -import org.eclipse.gmf.runtime.notation.TitleStyle; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.papyrus.uml.diagram.clazz.edit.parts.ModelEditPart; -import org.eclipse.papyrus.uml.diagram.clazz.part.UMLVisualIDRegistry; - -/** - * @author Francois Le Fevre - * - */ -public final class ClassifierViewFactoryUtil { - - - /** - * Constructor. Avoid Utility class instantiation - * - */ - private ClassifierViewFactoryUtil() { - } - - public static Node createLabel(View owner, String hint) { - DecorationNode rv = NotationFactory.eINSTANCE.createDecorationNode(); - rv.setType(hint); - ViewUtil.insertChildView(owner, rv, ViewUtil.APPEND, true); - return rv; - } - - public static void stampShortcut(View containerView, Node target) { - if (!ModelEditPart.MODEL_ID.equals(UMLVisualIDRegistry.getModelID(containerView))) { - EAnnotation shortcutAnnotation = EcoreFactory.eINSTANCE.createEAnnotation(); - shortcutAnnotation.setSource("Shortcut"); //$NON-NLS-1$ - shortcutAnnotation.getDetails().put("modelID", ModelEditPart.MODEL_ID); //$NON-NLS-1$ - target.getEAnnotations().add(shortcutAnnotation); - } - } - - public static Node createCompartment(View owner, String hint, boolean canCollapse, boolean hasTitle, boolean canSort, boolean canFilter) { - Node rv; - if (canCollapse) { - rv = NotationFactory.eINSTANCE.createBasicCompartment(); - } else { - rv = NotationFactory.eINSTANCE.createDecorationNode(); - } - - rv.setLayoutConstraint(NotationFactory.eINSTANCE.createBounds()); - - if (hasTitle) { - TitleStyle ts = NotationFactory.eINSTANCE.createTitleStyle(); - rv.getStyles().add(ts); - } - if (canSort) { - rv.getStyles().add(NotationFactory.eINSTANCE.createSortingStyle()); - } - if (canFilter) { - rv.getStyles().add(NotationFactory.eINSTANCE.createFilteringStyle()); - } - rv.setType(hint); - ViewUtil.insertChildView(owner, rv, ViewUtil.APPEND, true); - return rv; - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/internal/provider/SysML14ExpandViewProvider.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/internal/provider/SysML14ExpandViewProvider.java deleted file mode 100755 index d770d5a..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/internal/provider/SysML14ExpandViewProvider.java +++ /dev/null
@@ -1,172 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 CEA LIST and others. - * - * 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: - * Vincent Lorenzo (CEA LIST) - vincent.lorenzo@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.diagram.common.internal.provider; - -import java.util.ArrayList; -import java.util.List; - -import org.eclipse.core.runtime.IAdaptable; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.diagram.core.services.view.CreateChildViewOperation; -import org.eclipse.gmf.runtime.diagram.ui.requests.CreateViewRequest.ViewDescriptor; -import org.eclipse.gmf.runtime.notation.Diagram; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.papyrus.infra.architecture.representation.PapyrusRepresentationKind; -import org.eclipse.papyrus.infra.core.architecture.ArchitectureDescriptionLanguage; -import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.AbstractRepresentation; -import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.Representation; -import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.providers.ExpandViewProvider; -import org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.rendering.ChildrenListRepresentation; -import org.eclipse.papyrus.infra.types.ElementTypeConfiguration; -import org.eclipse.papyrus.infra.types.MetamodelTypeConfiguration; -import org.eclipse.papyrus.infra.types.SpecializationTypeConfiguration; -import org.eclipse.papyrus.infra.viewpoints.policy.ViewPrototype; -import org.eclipse.papyrus.uml.diagram.common.actions.ShowHideContentsAction; - -/** - * Class created for bug 528773. This ViewProvider works only on diagrams described in the sysml14.architecture file - * (see method {@link #isAllowedLanguage(CreateChildViewOperation)}) . - * - * This View Provider has been defined to find the view to create by the {@link ShowHideContentsAction}. - * This action has a generic behavior, creating {@link ViewDescriptor} with a semanticHint=null. Its work fine with generated diagram, - * but not compartment defined by the expansion model. - * - * So This ViewProvider cross the expansion model to be able to find the semanticHint of the view to create according to the compartment, when the semanticHint exists. - */ -public class SysML14ExpandViewProvider extends ExpandViewProvider { - - /** - * The name of the language on which works this ViewProvider - */ - private static final String SYSML_14 = "SysML 1.4"; //$NON-NLS-1$ - - /** - * - * @param operation - * a create child view operation - * @return - * <code>true</code> if the current diagram comes from the description language dedicated to SysML 1.4 - */ - private boolean isAllowedLanguage(final CreateChildViewOperation operation) { - final View currentView = operation.getContainerView(); - if (null != currentView) { - final Diagram diagram = currentView.getDiagram(); - final ViewPrototype viewPrototype = org.eclipse.papyrus.infra.gmfdiag.common.utils.DiagramUtils.getPrototype(diagram); - if (null != viewPrototype) { - final PapyrusRepresentationKind kind = viewPrototype.getRepresentationKind(); - if (null != kind && null != kind.getLanguage()) { - final ArchitectureDescriptionLanguage language = kind.getLanguage(); - return isAllowedLanguage(language.getName()); - } - } - } - return false; - } - - /** - * - * @param language - * a language - * @return - * <code>true</code> if the current language is allowed - */ - protected boolean isAllowedLanguage(final String language) { - return SYSML_14.equals(language); - } - - /** - * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.providers.ExpandViewProvider#getNodeGraphicalType(org.eclipse.core.runtime.IAdaptable, org.eclipse.gmf.runtime.notation.View, java.lang.String) - * - * @param semanticAdapter - * @param containerView - * @param semanticHint - * @return - */ - @Override - protected String getNodeGraphicalType(final IAdaptable semanticAdapter, final View containerView, final String semanticHint) { - if (null == semanticHint) { - final String currentDiagramType = getDiagramType(containerView); - final String containerType = containerView.getType(); - final List<String> possibleChildrenIDs = this.diagramExpansionRegistry.mapChildreen.get(currentDiagramType).parentChildrenRelation.get(containerType); - - final List<String> supportedChildrenIDs = new ArrayList<String>(); - for (final String currentChildId : possibleChildrenIDs) { - final ChildrenListRepresentation childrenListRepresentation = this.diagramExpansionRegistry.mapChildreen.get(currentDiagramType); - final AbstractRepresentation answer = childrenListRepresentation.IDMap.get(currentChildId); - if (answer instanceof Representation) { - ElementTypeConfiguration elementTypeConfiguration = ((Representation) answer).getGraphicalElementTypeRef(); - List<MetamodelTypeConfiguration> res = getSupportedMetamodelTypeConfiguration(semanticAdapter, elementTypeConfiguration); - if (res.size() > 0) { - supportedChildrenIDs.add(currentChildId); - } - } - } - - if (supportedChildrenIDs.size() == 1) {// other case not yet supported, we are waiting concrete case to continue implementationS - return supportedChildrenIDs.get(0); - } - } - return null;// not super because the super return a value !=null even when the element is not supported for the compartment - } - - /** - * - * @param semanticAdapter - * the semantic adapter for the element we would like to be able to create in a compartment - * @param elementTypeConfiguration - * an element type configuration - * @return - * <code>true</code> if the elementTypeConfiguration is defined on a type (or a subtype) of the current element we are trying to create. - */ - private List<MetamodelTypeConfiguration> getSupportedMetamodelTypeConfiguration(final IAdaptable semanticAdapter, final ElementTypeConfiguration elementTypeConfiguration) { - final List<MetamodelTypeConfiguration> metamodelTypeConfiguration = new ArrayList<MetamodelTypeConfiguration>(); - if (elementTypeConfiguration instanceof MetamodelTypeConfiguration) { - final MetamodelTypeConfiguration mtc = (MetamodelTypeConfiguration) elementTypeConfiguration; - final EClass metamodelEClass = mtc.getEClass(); - if (null != metamodelEClass) { - final EObject currentEObject = semanticAdapter.getAdapter(EObject.class); - if (metamodelEClass.isInstance(currentEObject)) { - metamodelTypeConfiguration.add((MetamodelTypeConfiguration) elementTypeConfiguration); - } - } - } else if (elementTypeConfiguration instanceof SpecializationTypeConfiguration) { - final SpecializationTypeConfiguration stc = (SpecializationTypeConfiguration) elementTypeConfiguration; - final List<ElementTypeConfiguration> specialiedTypes = stc.getSpecializedTypes(); - for (final ElementTypeConfiguration current : specialiedTypes) { - final List<MetamodelTypeConfiguration> result = getSupportedMetamodelTypeConfiguration(semanticAdapter, current); - metamodelTypeConfiguration.addAll(result); - } - } - return metamodelTypeConfiguration; - } - - /** - * @see org.eclipse.papyrus.infra.gmfdiag.expansion.expansionmodel.providers.ExpandViewProvider#providesFromExpansionModel(org.eclipse.gmf.runtime.diagram.core.services.view.CreateChildViewOperation) - * - * @param operation - * @return - */ - @Override - protected boolean providesFromExpansionModel(final CreateChildViewOperation operation) { - boolean result = false; - final String semanticHint = operation.getSemanticHint(); - if (isAllowedLanguage(operation) && (null == semanticHint || semanticHint.isEmpty())) { - result = null != getNodeGraphicalType(operation.getSemanticAdapter(), operation.getContainerView(), semanticHint); - } - return result; - } - - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/provider/AbstractParserProvider.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/provider/AbstractParserProvider.java deleted file mode 100644 index fabbd76..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/provider/AbstractParserProvider.java +++ /dev/null
@@ -1,74 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * - * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.common.provider; - -import java.util.HashMap; -import java.util.Map; - -import org.eclipse.core.runtime.IAdaptable; -import org.eclipse.gmf.runtime.common.core.service.AbstractProvider; -import org.eclipse.gmf.runtime.common.core.service.IOperation; -import org.eclipse.gmf.runtime.common.ui.services.parser.GetParserOperation; -import org.eclipse.gmf.runtime.common.ui.services.parser.IParser; -import org.eclipse.gmf.runtime.common.ui.services.parser.IParserProvider; -import org.eclipse.gmf.runtime.notation.View; - -/** - * Parser provider for labels used by diagrams. - */ -public abstract class AbstractParserProvider extends AbstractProvider implements IParserProvider { - - /** map from graphical hint to parsers */ - protected Map<String, IParser> graphicalHintToParser = new HashMap<>(); - - - /** - * {@inheritDoc} - */ - @Override - public boolean provides(IOperation operation) { - if (operation instanceof GetParserOperation) { - IAdaptable hint = ((GetParserOperation) operation).getHint(); - - - return getParser(hint) != null; - } - return false; - } - - /** - * {@inheritDoc} - */ - @Override - public IParser getParser(IAdaptable hint) { - String parserHint = hint.getAdapter(String.class); - if (parserHint != null) { - IParser parser = graphicalHintToParser.get(parserHint); - if (parser != null) { - return parser; - } - } - - View view = hint.getAdapter(View.class); - if (view != null) { - IParser parser = graphicalHintToParser.get(view.getType()); - if (parser != null) { - return parser; - } - } - - return null; - } - -} \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/util/GraphicalSysMLServiceTypeUtil.java b/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/util/GraphicalSysMLServiceTypeUtil.java deleted file mode 100644 index b6dd199..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.common/src/org/eclipse/papyrus/sysml14/diagram/common/util/GraphicalSysMLServiceTypeUtil.java +++ /dev/null
@@ -1,31 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.diagram.common.util; - -/** - * List SysML 1.4 graphical element type ids - * - */ -public final class GraphicalSysMLServiceTypeUtil { - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_PARAMETER_BORDER_ITEM = "org.eclipse.papyrus.sysmldi.Parameter_BorderItem"; //$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_CONSTRAINT_LABEL = "org.eclipse.papyrus.sysmldi.Constraint_Label";//$NON-NLS-1$ - - public static final String ORG_ECLIPSE_PAPYRUS_SYSML14_CONSTRAINT_PROPERTY_COMPOSITE = "org.eclipse.papyrus.sysmldi.ConstraintPropertyComposite"; //$NON-NLS-1$ - - private GraphicalSysMLServiceTypeUtil() { - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/.project b/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/.project deleted file mode 100644 index 1bb6a53..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/.project +++ /dev/null
@@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.diagram.internalblock.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> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/META-INF/MANIFEST.MF b/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/META-INF/MANIFEST.MF deleted file mode 100644 index 3754e17..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,15 +0,0 @@ -Manifest-Version: 1.0 -Bundle-Vendor: %Bundle-Vendor -Bundle-Version: 1.2.0.qualifier -Bundle-Name: %Bundle-Name -Bundle-Localization: plugin -Bundle-ManifestVersion: 2 -Fragment-Host: org.eclipse.papyrus.sysml14.diagram.internalblock;bundle-version="1.0.0" -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.diagram.internalblock.tests -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Require-Bundle: org.junit;bundle-version="[4.11.0,5.0.0)", - org.eclipse.papyrus.uml.diagram.clazz;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.composite;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.interactionoverview;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.profile;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.statemachine;bundle-version="[3.0.0,4.0.0)"
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/plugin.properties b/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/plugin.properties deleted file mode 100644 index c57dd2d..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/plugin.properties +++ /dev/null
@@ -1,14 +0,0 @@ -################################################################################# -# Copyright (c) 2011 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: -# -# CEA LIST - Initial API and Implementation. -# -################################################################################## -Bundle-Name=Papyrus SysML 1.4 Internal Block Diagram Tests -Bundle-Vendor=Eclipse Modeling Project
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/pom.xml b/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/pom.xml deleted file mode 100644 index e7ab808..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/pom.xml +++ /dev/null
@@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" - xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.eclipse.papyrus.sysml</groupId> - <artifactId>org.eclipse.papyrus.sysml14.diagram</artifactId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.diagram.internalblock.tests</artifactId> - <packaging>eclipse-test-plugin</packaging> - <name>org.eclipse.papyrus.sysml14.diagram.internalblock.tests</name> - <description>This plug-in contains the unit tests relatives to internalblock part of SysML 1.4 diagram.</description> -</project>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/src/org/eclipse/papyrus/sysml14/diagram/internalblock/tests/resources/ModelValidationTest.java b/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/src/org/eclipse/papyrus/sysml14/diagram/internalblock/tests/resources/ModelValidationTest.java deleted file mode 100644 index a2cfb4e..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock.tests/src/org/eclipse/papyrus/sysml14/diagram/internalblock/tests/resources/ModelValidationTest.java +++ /dev/null
@@ -1,88 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.diagram.internalblock.tests.resources; - -import java.util.Arrays; -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.ecore.util.Diagnostician; -import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; -import org.eclipse.papyrus.sysml14.diagram.internalblock.Activator; -import org.junit.Assert; -import org.junit.BeforeClass; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.Parameterized; -import org.junit.runners.Parameterized.Parameters; - -/** - * This is a parameterized test to validate all model in the plugin - * - * @author Benoit Maggi - */ -@SuppressWarnings("nls") -@RunWith(Parameterized.class) -public class ModelValidationTest { - - @Parameters - public static Collection<Object[]> data() { - return Arrays.asList(new Object[][] { - // FIXME css invalid {"/resources/style/internalBlockDiagram.css"}, - {"/resources/configuration/internaBlockDiagramConfig.expansionmodel"}, - {"/resources/doc/org.eclipse.papyrus.sysml14.diagram.internalblock.uml"}, - //TODO: code a utility migration script {"/resources/doc/org.eclipse.papyrus.sysml14.diagram.internalblock.notation"}, - {"/resources/palette/internalBlockDiagram.paletteconfiguration"}, - }); - } - - private String modelPath; - - public ModelValidationTest(String modelPath) { - this.modelPath = modelPath; - } - - @BeforeClass - public static void loadSysml14Definition() { - ElementTypeSetConfigurationRegistry.getInstance(); - } - - /** - * Validate the model with the rules defined in the meta-model tooling - */ - @Test - public void validateModel() { - String fullPath = Activator.PLUGIN_ID + this.modelPath; - URI modelPlatformURI = URI.createPlatformPluginURI(fullPath, true); - Resource resource = new ResourceSetImpl().getResource(modelPlatformURI, true); - Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); - Assert.assertEquals("The "+modelPath+" model is invalid "+print(diagnostic), Diagnostic.OK, diagnostic.getSeverity()); - } - - // FIXME : Something should exist in API to do that - private String print(Diagnostic diagnostic) { - List<Diagnostic> children = diagnostic.getChildren(); - StringBuilder stringBuilder = new StringBuilder(diagnostic.getMessage()); - for (Diagnostic diagnosticChildren : children) { - stringBuilder.append("\n"); //$NON-NLS-1$ - stringBuilder.append(diagnosticChildren.getMessage()); - } - return stringBuilder.toString(); - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/.project b/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/.project deleted file mode 100644 index 8b6b6a3..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/.project +++ /dev/null
@@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.diagram.internalblock</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> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/META-INF/MANIFEST.MF b/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/META-INF/MANIFEST.MF deleted file mode 100644 index 1106637..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,22 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %Bundle-Name -Bundle-Localization: plugin -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.diagram.internalblock;singleton:=true -Bundle-Version: 1.2.0.qualifier -Bundle-Activator: org.eclipse.papyrus.sysml14.diagram.internalblock.Activator -Bundle-Vendor: %Bundle-Vendor -Require-Bundle: org.eclipse.ui;bundle-version="[3.107.0,4.0.0)", - org.eclipse.core.runtime;bundle-version="[3.11.1,4.0.0)", - org.eclipse.uml2.uml;bundle-version="[5.1.0,6.0.0)", - org.eclipse.gmf.runtime.diagram.core;bundle-version="[1.7.0,2.0.0)", - org.eclipse.papyrus.infra.viewpoints.policy;bundle-version="[2.0.0,3.0.0)", - org.eclipse.papyrus.infra.emf;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.types.core;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.common;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.composite;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.sysml14.diagram.common;bundle-version="1.0.0" -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Bundle-ActivationPolicy: lazy -Export-Package: org.eclipse.papyrus.sysml14.diagram.internalblock, - org.eclipse.papyrus.sysml14.diagram.internalblock.internal.factory;x-internal:=true
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/plugin.properties b/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/plugin.properties deleted file mode 100644 index 0a3f71a..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/plugin.properties +++ /dev/null
@@ -1,15 +0,0 @@ -################################################################################# -# Copyright (c) 2015 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: -# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation -################################################################################## -Bundle-Name= Papyrus SysML 1.4 Internal Block Diagram -Bundle-Description=This plug-in contains the internal block diagram of SysML 1.4 -Bundle-Vendor=Eclipse Modeling Project - -
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/pom.xml b/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/pom.xml deleted file mode 100644 index 64df667..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/pom.xml +++ /dev/null
@@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" -xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.eclipse.papyrus.sysml</groupId> - <artifactId>org.eclipse.papyrus.sysml14.diagram</artifactId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.diagram.internalblock</artifactId> - <packaging>eclipse-plugin</packaging> - <name>org.eclipse.papyrus.sysml14.diagram.internalblock</name> - <description>This plugin is in charge of defining the SysML 1.4 Internal Block Diagram using the following frameworks: viewpoint, expansion model, palette and css.</description> -</project> \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/resources/configuration/internaBlockDiagramConfig.expansionmodel b/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/resources/configuration/internaBlockDiagramConfig.expansionmodel deleted file mode 100644 index 5eab4c5..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/resources/configuration/internaBlockDiagramConfig.expansionmodel +++ /dev/null
@@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<expansionmodel:DiagramExpansion xmlns:expansionmodel="http:///expansionmodel.ecore" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="SysML 1.4 IBD" xmi:id="org.eclipse.papyrus.sysml14.ibd.expansionmodel" xmi:version="2.0"> - <usages diagramType="SysML 1.4 Internal Block Diagram" name="SysML 1.4 IBD Context" representations="_x0QaAFLcEeWce8tK71CTcg _j7dP0HytEeWustL01XNGSA" xmi:id="_rC19oNnoEeSqwOe5_frWm1"> - <gmftRepresentations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.composite.edit.parts.ClassCompositeEditPart" name="Block based on Class representation of composite diagram" reusedID="Class_Shape" subRepresentations="" viewFactory="org.eclipse.papyrus.sysml14.diagram.internalblock.internal.factory.BlockCompositeViewFactory" xmi:id="_x0QaAFLcEeWce8tK71CTcg"/> - <gmftRepresentations editPartQualifiedName="org.eclipse.papyrus.sysml14.diagram.common.edit.parts.SysMLConnectorEditPart" name="SysmlConnector based on Composite Connector @papyrus.req org.eclipse.papyrus.sysml14.diagram.internalblock#Req_004" reusedID="Connector_Edge" subRepresentations="_EDXlcHzEEeWVMv-LGO6tZw" viewFactory="org.eclipse.papyrus.sysml14.diagram.common.internal.factory.SysMLConnectorViewFactory" xmi:id="_j7dP0HytEeWustL01XNGSA"/> - <gmftRepresentations editPartQualifiedName="org.eclipse.papyrus.sysml14.diagram.common.edit.parts.SysMLConnectorAppliedStereotypeEditPart" name="Applied Stereotype label for a connector @papyrus.req org.eclipse.papyrus.sysml14.diagram.internalblock#Req_004" reusedID="6025" viewFactory="org.eclipse.gmf.runtime.diagram.ui.view.factories.optimal.DecorationNodeViewFactory" xmi:id="_EDXlcHzEEeWVMv-LGO6tZw"/> - </usages> - <libraries name="Independent Representations" xmi:id="_rC19oNnoEeSqwOe5_frWm3"> - </libraries> -</expansionmodel:DiagramExpansion>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/resources/doc/org.eclipse.papyrus.sysml14.diagram.internalblock.notation b/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/resources/doc/org.eclipse.papyrus.sysml14.diagram.internalblock.notation deleted file mode 100644 index d579f90..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/resources/doc/org.eclipse.papyrus.sysml14.diagram.internalblock.notation +++ /dev/null
@@ -1,325 +0,0 @@ -<?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:configuration="http://www.eclipse.org/papyrus/infra/viewpoints/configuration" xmlns:css="http://www.eclipse.org/papyrus/infra/gmfdiag/css" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:nattable="http://www.eclipse.org/papyrus/nattable/model" xmlns:nattableaxis="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis" xmlns:nattableaxisconfiguration="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration" xmlns:nattableaxisprovider="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider" xmlns:nattableconfiguration="http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration" xmlns:nattablestyle="http://www.eclipse.org/papyrus/nattable/model/table/nattablestyle" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:style_1="http://www.eclipse.org/papyrus/infra/gmfdiag/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis http://www.eclipse.org/papyrus/nattable/model#//nattableaxis http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration http://www.eclipse.org/papyrus/nattable/model#//nattableaxisconfiguration http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider http://www.eclipse.org/papyrus/nattable/model#//nattableaxisprovider http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration http://www.eclipse.org/papyrus/nattable/model#//nattableconfiguration http://www.eclipse.org/papyrus/nattable/model/table/nattablestyle http://www.eclipse.org/papyrus/nattable/model#//nattablestyle"> - <notation:Diagram xmi:id="_OF23gOLIEeSv5dwvZ9NSDw" type="PapyrusUMLClassDiagram" name="Overview" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_OF3ekOLIEeSv5dwvZ9NSDw" type="2005"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3ekeLIEeSv5dwvZ9NSDw" type="5020"/> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3ekuLIEeSv5dwvZ9NSDw" type="7009"> - <styles xmi:type="notation:TitleStyle" xmi:id="_OF3ek-LIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3elOLIEeSv5dwvZ9NSDw"/> - </children> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.internalblock.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eleLIEeSv5dwvZ9NSDw" x="201" y="38"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_OF3eluLIEeSv5dwvZ9NSDw" type="2005"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3el-LIEeSv5dwvZ9NSDw" type="5020"/> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3emOLIEeSv5dwvZ9NSDw" type="7009"> - <styles xmi:type="notation:TitleStyle" xmi:id="_OF3emeLIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3emuLIEeSv5dwvZ9NSDw"/> - </children> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.internalblock.uml#_OFsfc-LIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3em-LIEeSv5dwvZ9NSDw" x="204" y="173"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_OF3enOLIEeSv5dwvZ9NSDw" type="2005"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3eneLIEeSv5dwvZ9NSDw" type="5020"/> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3enuLIEeSv5dwvZ9NSDw" type="7009"> - <styles xmi:type="notation:TitleStyle" xmi:id="_OF3en-LIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eoOLIEeSv5dwvZ9NSDw"/> - </children> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.internalblock.uml#_OFsfduLIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eoeLIEeSv5dwvZ9NSDw" x="206" y="329"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_OF3eouLIEeSv5dwvZ9NSDw" type="2005"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3eo-LIEeSv5dwvZ9NSDw" type="5020"/> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3epOLIEeSv5dwvZ9NSDw" type="7009"> - <styles xmi:type="notation:TitleStyle" xmi:id="_OF3epeLIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3epuLIEeSv5dwvZ9NSDw"/> - </children> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.internalblock.uml#_OFsfeOLIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3ep-LIEeSv5dwvZ9NSDw" x="635" y="324"/> - </children> - <styles xmi:type="notation:DiagramStyle" xmi:id="_OF3eqOLIEeSv5dwvZ9NSDw"/> - <styles xmi:type="style:PapyrusViewStyle" xmi:id="_OF3eqeLIEeSv5dwvZ9NSDw"> - <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.internalblock.uml#_OFsfcOLIEeSv5dwvZ9NSDw"/> - <configuration xmi:type="configuration:PapyrusDiagram" href="platform:/plugin/org.eclipse.papyrus.infra.viewpoints.policy/builtin/default.configuration#_7wLmpNxhEeOqHvRyiN87hA"/> - </styles> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.internalblock.uml#_OFsfcOLIEeSv5dwvZ9NSDw"/> - <edges xmi:type="notation:Connector" xmi:id="_OF3equLIEeSv5dwvZ9NSDw" type="4006" source="_OF3eluLIEeSv5dwvZ9NSDw" target="_OF3ekOLIEeSv5dwvZ9NSDw"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3eq-LIEeSv5dwvZ9NSDw" visible="false" type="6014"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3erOLIEeSv5dwvZ9NSDw" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3ereLIEeSv5dwvZ9NSDw" visible="false" type="6015"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3eruLIEeSv5dwvZ9NSDw" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_OF3er-LIEeSv5dwvZ9NSDw"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.diagram.internalblock.uml#_OFsfdOLIEeSv5dwvZ9NSDw"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OF3esOLIEeSv5dwvZ9NSDw" points="[-2, -10, 8, 48]$[-27, -45, -17, 13]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3eseLIEeSv5dwvZ9NSDw" id="(0.305,0.1)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3esuLIEeSv5dwvZ9NSDw" id="(0.27,0.87)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_OF3es-LIEeSv5dwvZ9NSDw" type="4006" source="_OF3enOLIEeSv5dwvZ9NSDw" target="_OF3eluLIEeSv5dwvZ9NSDw"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3etOLIEeSv5dwvZ9NSDw" visible="false" type="6014"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3eteLIEeSv5dwvZ9NSDw" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3etuLIEeSv5dwvZ9NSDw" visible="false" type="6015"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3et-LIEeSv5dwvZ9NSDw" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_OF3euOLIEeSv5dwvZ9NSDw"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.diagram.internalblock.uml#_OFsfd-LIEeSv5dwvZ9NSDw"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OF3eueLIEeSv5dwvZ9NSDw" points="[-9, -16, 0, 67]$[-24, -72, -15, 11]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3euuLIEeSv5dwvZ9NSDw" id="(0.27,0.16)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3eu-LIEeSv5dwvZ9NSDw" id="(0.235,0.89)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_OF3evOLIEeSv5dwvZ9NSDw" type="4008" source="_OF3eouLIEeSv5dwvZ9NSDw" target="_OF3eluLIEeSv5dwvZ9NSDw"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3eveLIEeSv5dwvZ9NSDw" visible="false" type="6026"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3evuLIEeSv5dwvZ9NSDw" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3ev-LIEeSv5dwvZ9NSDw" visible="false" type="6027"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3ewOLIEeSv5dwvZ9NSDw" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_OF3eweLIEeSv5dwvZ9NSDw"/> - <element xmi:type="uml:Dependency" href="org.eclipse.papyrus.sysml14.diagram.internalblock.uml#_OFsfeeLIEeSv5dwvZ9NSDw"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OF3ewuLIEeSv5dwvZ9NSDw" points="[-46, -20, 265, 113]$[-275, -135, 36, -2]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3ew-LIEeSv5dwvZ9NSDw" id="(0.0,0.24)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3exOLIEeSv5dwvZ9NSDw" id="(1.0,0.65)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_OF3exeLIEeSv5dwvZ9NSDw" type="4008" source="_OF3eouLIEeSv5dwvZ9NSDw" target="_OF3enOLIEeSv5dwvZ9NSDw"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3exuLIEeSv5dwvZ9NSDw" visible="false" type="6026"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3ex-LIEeSv5dwvZ9NSDw" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3eyOLIEeSv5dwvZ9NSDw" visible="false" type="6027"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3eyeLIEeSv5dwvZ9NSDw" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_OF3eyuLIEeSv5dwvZ9NSDw"/> - <element xmi:type="uml:Dependency" href="org.eclipse.papyrus.sysml14.diagram.internalblock.uml#_OFsfeuLIEeSv5dwvZ9NSDw"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OF3ey-LIEeSv5dwvZ9NSDw" points="[-40, 1, 262, -12]$[-267, 20, 35, 7]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3ezOLIEeSv5dwvZ9NSDw" id="(0.0,0.69)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3ezeLIEeSv5dwvZ9NSDw" id="(1.0,0.64)"/> - </edges> - </notation:Diagram> - <css:ModelStyleSheets xmi:id="_MXBlUOc1EeSLdPGe2q9R0g"/> - <nattable:Table xmi:id="_FB4isOgEEeSUQvXhEVQh8w" name="Palette Requirement Table" currentRowAxisProvider="_FB4itegEEeSUQvXhEVQh8w" currentColumnAxisProvider="_FB4isegEEeSUQvXhEVQh8w"> - <context xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.internalblock.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> - <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.internalblock.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> - <prototype xmi:type="configuration:PapyrusSyncTable" href="platform:/plugin/org.eclipse.papyrus.infra.viewpoints.policy/builtin/default.configuration#_7wNb3txhEeOqHvRyiN87hA"/> - <tableConfiguration xmi:type="nattableconfiguration:TableConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.nattable.requirement.config/configs/requirement.nattableconfiguration#/"/> - <columnAxisProvidersHistory xmi:type="nattableaxisprovider:SlaveObjectAxisProvider" xmi:id="_FB4isegEEeSUQvXhEVQh8w" description="Provides the columns of the tables with a default configuration" name="Requirements Feature Columns Provider"> - <axis xmi:type="nattableaxis:FeatureIdAxis" xmi:id="_FB4isugEEeSUQvXhEVQh8w" element="property_of_stereotype:/SysML::Requirements::Requirement::id"> - <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_0CX7UOgIEeSUQvXhEVQh8w" name="axisWidth" intValue="320"/> - <manager xmi:type="nattableaxisconfiguration:AxisManagerRepresentation" href="platform:/plugin/org.eclipse.papyrus.sysml.nattable.requirement.config/configs/requirement.nattableconfiguration#//@columnHeaderAxisConfiguration/@axisManagers.1"/> - </axis> - <axis xmi:type="nattableaxis:EStructuralFeatureAxis" xmi:id="_FB4is-gEEeSUQvXhEVQh8w"> - <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_0C78AOgIEeSUQvXhEVQh8w" name="axisWidth" intValue="220"/> - <manager xmi:type="nattableaxisconfiguration:AxisManagerRepresentation" href="platform:/plugin/org.eclipse.papyrus.sysml.nattable.requirement.config/configs/requirement.nattableconfiguration#//@columnHeaderAxisConfiguration/@axisManagers.0"/> - <element xmi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </axis> - <axis xmi:type="nattableaxis:FeatureIdAxis" xmi:id="_FB4itOgEEeSUQvXhEVQh8w" element="property_of_stereotype:/SysML::Requirements::Requirement::text"> - <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_0C9KIOgIEeSUQvXhEVQh8w" name="axisWidth" intValue="220"/> - <manager xmi:type="nattableaxisconfiguration:AxisManagerRepresentation" href="platform:/plugin/org.eclipse.papyrus.sysml.nattable.requirement.config/configs/requirement.nattableconfiguration#//@columnHeaderAxisConfiguration/@axisManagers.1"/> - </axis> - </columnAxisProvidersHistory> - <rowAxisProvidersHistory xmi:type="nattableaxisprovider:MasterObjectAxisProvider" xmi:id="_FB4itegEEeSUQvXhEVQh8w" description="Provides the requirements directly owned by the context of the table" name="Requirement Axis Provider" disconnectSlave="true"/> - <localRowHeaderAxisConfiguration xmi:type="nattableaxisconfiguration:LocalTableHeaderAxisConfiguration" xmi:id="_9enkgBTEEeWVdLvX1TqBVg" indexStyle="NUMERIC"> - <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_9etrIBTEEeWVdLvX1TqBVg" name="rowLabelWidth" intValue="345"/> - <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_9gBSsBTEEeWVdLvX1TqBVg" name="rowIndexWidth" intValue="165"/> - </localRowHeaderAxisConfiguration> - <localColumnHeaderAxisConfiguration xmi:type="nattableaxisconfiguration:LocalTableHeaderAxisConfiguration" xmi:id="_9f-PYBTEEeWVdLvX1TqBVg"> - <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_9f-2cBTEEeWVdLvX1TqBVg" name="columnIndexHeight" intValue="25"/> - <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_9f_dgBTEEeWVdLvX1TqBVg" name="columnLabelHeight" intValue="25"/> - </localColumnHeaderAxisConfiguration> - </nattable:Table> - <notation:Diagram xmi:id="_OB1JsH10EeWj1JisGMPNPg" type="PapyrusUMLClassDiagram" name="Connector in Sysml 1.4" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_eEl7UH13EeWj1JisGMPNPg" type="Package_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_eEl7Un13EeWj1JisGMPNPg" type="Package_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_eEl7U313EeWj1JisGMPNPg" type="Package_PackagedElementCompartment"> - <children xmi:type="notation:Shape" xmi:id="_6VjW4H10EeWj1JisGMPNPg" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_6Vj98H10EeWj1JisGMPNPg" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_6Vj98X10EeWj1JisGMPNPg" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_6Vj98n10EeWj1JisGMPNPg" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_6Vj98310EeWj1JisGMPNPg" visible="false" type="Class_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_6Vj99H10EeWj1JisGMPNPg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_6Vj99X10EeWj1JisGMPNPg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_6Vj99n10EeWj1JisGMPNPg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6Vj99310EeWj1JisGMPNPg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_6Vj9-H10EeWj1JisGMPNPg" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_6Vj9-X10EeWj1JisGMPNPg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_6Vj9-n10EeWj1JisGMPNPg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_6Vj9-310EeWj1JisGMPNPg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6Vj9_H10EeWj1JisGMPNPg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_6VklAH10EeWj1JisGMPNPg" visible="false" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_6VklAX10EeWj1JisGMPNPg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_6VklAn10EeWj1JisGMPNPg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_6VklA310EeWj1JisGMPNPg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6VklBH10EeWj1JisGMPNPg"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_3ZLXkJoNEeeXz9m6CNxSgg" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_3ZNMwJoNEeeXz9m6CNxSgg" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_3ZOa4JoNEeeXz9m6CNxSgg" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_3ZQQEJoNEeeXz9m6CNxSgg" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_3ZReMJoNEeeXz9m6CNxSgg" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_3ZSsUJoNEeeXz9m6CNxSgg" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_3ZUhgJoNEeeXz9m6CNxSgg" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_3ZWWsJoNEeeXz9m6CNxSgg" type="Parameters"/> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.diagram.internalblock.uml#_eRWsUH10EeWj1JisGMPNPg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6VjW4X10EeWj1JisGMPNPg" x="26" y="18" width="253" height="47"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_21284H10EeWj1JisGMPNPg" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_218ccH10EeWj1JisGMPNPg" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_218ccX10EeWj1JisGMPNPg" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_218ccn10EeWj1JisGMPNPg" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_219DgH10EeWj1JisGMPNPg" visible="false" type="Class_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_219DgX10EeWj1JisGMPNPg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_219Dgn10EeWj1JisGMPNPg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_219Dg310EeWj1JisGMPNPg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_219DhH10EeWj1JisGMPNPg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_219qkH10EeWj1JisGMPNPg" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_219qkX10EeWj1JisGMPNPg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_219qkn10EeWj1JisGMPNPg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_219qk310EeWj1JisGMPNPg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_219qlH10EeWj1JisGMPNPg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_219qlX10EeWj1JisGMPNPg" visible="false" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_219qln10EeWj1JisGMPNPg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_219ql310EeWj1JisGMPNPg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_219qmH10EeWj1JisGMPNPg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_219qmX10EeWj1JisGMPNPg"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_3Zb2QJoNEeeXz9m6CNxSgg" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_3ZcdUJoNEeeXz9m6CNxSgg" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_3ZeSgJoNEeeXz9m6CNxSgg" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_3ZfgoJoNEeeXz9m6CNxSgg" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_3ZgHsJoNEeeXz9m6CNxSgg" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_3ZhV0JoNEeeXz9m6CNxSgg" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_3ZjLAJoNEeeXz9m6CNxSgg" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_3ZlnQJoNEeeXz9m6CNxSgg" type="Parameters"/> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.diagram.internalblock.uml#_dZIq4H10EeWj1JisGMPNPg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_21284X10EeWj1JisGMPNPg" x="109" y="88" width="157" height="42"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_CY8lkH11EeWj1JisGMPNPg" type="Comment_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_CY9MoH11EeWj1JisGMPNPg" type="Comment_BodyLabel"/> - <element xmi:type="uml:Comment" href="org.eclipse.papyrus.sysml14.diagram.internalblock.uml#_-Ov2AH10EeWj1JisGMPNPg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_CY8lkX11EeWj1JisGMPNPg" x="293" y="17" width="322" height="43"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_akvbMH11EeWj1JisGMPNPg" type="Comment_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_akwpUH11EeWj1JisGMPNPg" type="Comment_BodyLabel"/> - <element xmi:type="uml:Comment" href="org.eclipse.papyrus.sysml14.diagram.internalblock.uml#_Y8IeoH11EeWj1JisGMPNPg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_akwCQH11EeWj1JisGMPNPg" x="302" y="97" width="358"/> - </children> - <styles xmi:type="notation:TitleStyle" xmi:id="_eEl7VH13EeWj1JisGMPNPg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_eEl7VX13EeWj1JisGMPNPg"/> - </children> - <element xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.diagram.internalblock.uml#_EUKKgH10EeWj1JisGMPNPg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_eEl7UX13EeWj1JisGMPNPg" x="504" y="138" width="685" height="231"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_jOud4H13EeWj1JisGMPNPg" type="Package_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_jOvE8H13EeWj1JisGMPNPg" type="Package_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_jOvE8X13EeWj1JisGMPNPg" type="Package_PackagedElementCompartment"> - <children xmi:type="notation:Shape" xmi:id="_IEKxEH13EeWj1JisGMPNPg" type="Class_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_IELYIH13EeWj1JisGMPNPg" type="Class_NameLabel"/> - <children xmi:type="notation:DecorationNode" xmi:id="_IELYIX13EeWj1JisGMPNPg" type="Class_FloatingNameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_IELYIn13EeWj1JisGMPNPg" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_IEL_MH13EeWj1JisGMPNPg" visible="false" type="Class_AttributeCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_IEL_MX13EeWj1JisGMPNPg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_IEL_Mn13EeWj1JisGMPNPg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_IEL_M313EeWj1JisGMPNPg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_IEL_NH13EeWj1JisGMPNPg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_IEL_NX13EeWj1JisGMPNPg" visible="false" type="Class_OperationCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_IEL_Nn13EeWj1JisGMPNPg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_IEL_N313EeWj1JisGMPNPg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_IEL_OH13EeWj1JisGMPNPg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_IEL_OX13EeWj1JisGMPNPg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_IEL_On13EeWj1JisGMPNPg" visible="false" type="Class_NestedClassifierCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_IEL_O313EeWj1JisGMPNPg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_IEL_PH13EeWj1JisGMPNPg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_IEL_PX13EeWj1JisGMPNPg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_IEL_Pn13EeWj1JisGMPNPg"/> - </children> - <children xmi:type="notation:Compartment" xmi:id="_3Zx0gJoNEeeXz9m6CNxSgg" type="Flow Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_3ZzCoJoNEeeXz9m6CNxSgg" type="constraints"/> - <children xmi:type="notation:Compartment" xmi:id="_3Z0QwJoNEeeXz9m6CNxSgg" type="Parts"/> - <children xmi:type="notation:Compartment" xmi:id="_3Z1e4JoNEeeXz9m6CNxSgg" type="Proxy Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_3Z3UEJoNEeeXz9m6CNxSgg" type="Full Ports"/> - <children xmi:type="notation:Compartment" xmi:id="_3Z4iMJoNEeeXz9m6CNxSgg" type="References"/> - <children xmi:type="notation:Compartment" xmi:id="_3Z6XYJoNEeeXz9m6CNxSgg" type="Flow Properties"/> - <children xmi:type="notation:Compartment" xmi:id="_3Z8zoJoNEeeXz9m6CNxSgg" type="Parameters"/> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.diagram.internalblock.uml#_FkRAIH13EeWj1JisGMPNPg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_IEKxEX13EeWj1JisGMPNPg" x="30" y="39" width="144" height="42"/> - </children> - <styles xmi:type="notation:TitleStyle" xmi:id="_jOvE8n13EeWj1JisGMPNPg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jOvE8313EeWj1JisGMPNPg"/> - </children> - <element xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.diagram.internalblock.uml#_gLav0H11EeWj1JisGMPNPg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_jOud4X13EeWj1JisGMPNPg" x="251" y="195" height="128"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_kHWvAH13EeWj1JisGMPNPg" type="Package_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_kHXWEH13EeWj1JisGMPNPg" type="Package_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_kHXWEX13EeWj1JisGMPNPg" type="Package_PackagedElementCompartment"> - <children xmi:type="notation:Shape" xmi:id="_ksUdQH13EeWj1JisGMPNPg" type="Class_Shape_CN"> - <children xmi:type="notation:DecorationNode" xmi:id="_ksVEUH13EeWj1JisGMPNPg" type="Class_NameLabel_CN"/> - <children xmi:type="notation:DecorationNode" xmi:id="_ksVEUX13EeWj1JisGMPNPg" type="Class_FloatingNameLabel_CN"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_ksVEUn13EeWj1JisGMPNPg" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_ksVEU313EeWj1JisGMPNPg" visible="false" type="Class_AttributeCompartment_CN"> - <styles xmi:type="notation:TitleStyle" xmi:id="_ksVEVH13EeWj1JisGMPNPg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_ksVEVX13EeWj1JisGMPNPg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_ksVEVn13EeWj1JisGMPNPg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ksVEV313EeWj1JisGMPNPg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_ksVEWH13EeWj1JisGMPNPg" visible="false" type="Class_OperationCompartment_CN"> - <styles xmi:type="notation:TitleStyle" xmi:id="_ksVEWX13EeWj1JisGMPNPg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_ksVEWn13EeWj1JisGMPNPg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_ksVEW313EeWj1JisGMPNPg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ksVEXH13EeWj1JisGMPNPg"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_ksVrYH13EeWj1JisGMPNPg" visible="false" type="Class_NestedClassifierCompartment_CN"> - <styles xmi:type="notation:TitleStyle" xmi:id="_ksVrYX13EeWj1JisGMPNPg"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_ksVrYn13EeWj1JisGMPNPg"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_ksVrY313EeWj1JisGMPNPg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ksVrZH13EeWj1JisGMPNPg"/> - </children> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.diagram.internalblock.uml#_XCNdsH13EeWj1JisGMPNPg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_ksUdQX13EeWj1JisGMPNPg" x="12" y="18" width="182" height="55"/> - </children> - <styles xmi:type="notation:TitleStyle" xmi:id="_kHXWEn13EeWj1JisGMPNPg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kHXWE313EeWj1JisGMPNPg"/> - </children> - <element xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.diagram.internalblock.uml#_SaK7kH13EeWj1JisGMPNPg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kHWvAX13EeWj1JisGMPNPg" x="28" y="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_DF7gAH14EeWj1JisGMPNPg" type="Model_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_DF8HEH14EeWj1JisGMPNPg" type="Model_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_DF8HEX14EeWj1JisGMPNPg" type="Model_PackagedElementCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_DF8HEn14EeWj1JisGMPNPg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_DF8HE314EeWj1JisGMPNPg"/> - </children> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.internalblock.uml#_-O-_MH13EeWj1JisGMPNPg"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_DF7gAX14EeWj1JisGMPNPg" x="33" y="70" width="1106" height="44"/> - </children> - <styles xmi:type="notation:StringValueStyle" xmi:id="_OB1JsX10EeWj1JisGMPNPg" name="diagram_compatibility_version" stringValue="1.3.0"/> - <styles xmi:type="notation:DiagramStyle" xmi:id="_OB1wwH10EeWj1JisGMPNPg"/> - <styles xmi:type="style_1:PapyrusDiagramStyle" xmi:id="_3VEToJoNEeeXz9m6CNxSgg" diagramKindId="org.eclipse.papyrus.uml.diagram.class"> - <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.internalblock.uml#_OFsfduLIEeSv5dwvZ9NSDw"/> - </styles> - <element xmi:type="uml:Package" href="org.eclipse.papyrus.sysml14.diagram.internalblock.uml#_EUKKgH10EeWj1JisGMPNPg"/> - <edges xmi:type="notation:Connector" xmi:id="_LHyTEH13EeWj1JisGMPNPg" type="Dependency_Edge" source="_21284H10EeWj1JisGMPNPg" target="_IEKxEH13EeWj1JisGMPNPg"> - <children xmi:type="notation:DecorationNode" xmi:id="_LHy6IH13EeWj1JisGMPNPg" type="Dependency_NameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_LHy6IX13EeWj1JisGMPNPg" x="143" y="-59"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_LHy6In13EeWj1JisGMPNPg" type="Dependency_StereotypeLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_LHy6I313EeWj1JisGMPNPg" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_LHyTEX13EeWj1JisGMPNPg"/> - <element xmi:type="uml:Dependency" href="org.eclipse.papyrus.sysml14.diagram.internalblock.uml#_LHszgH13EeWj1JisGMPNPg"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_LHyTEn13EeWj1JisGMPNPg" points="[-12, 2, 124, 0]$[-111, 0, 25, -2]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_LJC3UH13EeWj1JisGMPNPg" id="(0.0,0.6190476190476191)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_LJDeYH13EeWj1JisGMPNPg" id="(1.0,0.42857142857142855)"/> - </edges> - </notation:Diagram> -</xmi:XMI>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/resources/doc/org.eclipse.papyrus.sysml14.diagram.internalblock.uml b/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/resources/doc/org.eclipse.papyrus.sysml14.diagram.internalblock.uml deleted file mode 100644 index 5267551..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/resources/doc/org.eclipse.papyrus.sysml14.diagram.internalblock.uml +++ /dev/null
@@ -1,138 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Requirements="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <uml:Model xmi:id="_OFsfcOLIEeSv5dwvZ9NSDw" name="org.eclipse.papyrus.sysml14.diagram.internalblock"> - <packageImport xmi:type="uml:PackageImport" xmi:id="_OFsfceLIEeSv5dwvZ9NSDw"> - <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/> - </packageImport> - <packageImport xmi:type="uml:PackageImport" xmi:id="_-AmzcFcAEeW35uAYw-w4dQ"> - <importedPackage xmi:type="uml:Model" href="../../../org.eclipse.papyrus.sysml14/resources/doc/org.eclipse.papyrus.sysml14.uml#_Py6ZoJsTEeSu6pfLknKE4A"/> - </packageImport> - <packagedElement xmi:type="uml:Model" xmi:id="_OFsfcuLIEeSv5dwvZ9NSDw" name="Requirements"> - <packagedElement xmi:type="uml:Class" xmi:id="_WPCg0CZCEeWtn6hjmtufug" name="Elements in the palette"> - <nestedClassifier xmi:type="uml:Class" xmi:id="_IaVsQOgEEeSUQvXhEVQh8w" name="Actor part in IBD Palette"/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_bRGvEGEzEeWJB_ZnIjFyvQ" name=" InformationItem in IBD palette"/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_f4TYAGLFEeWTdanjqJgfhg" name="InformationFlow in IBD palette"/> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_GZ8DsCCMEeWp9rJ2gmw59A" name="Actor part creation"/> - <packagedElement xmi:type="uml:Class" xmi:id="_vRLKkFcAEeW35uAYw-w4dQ" name="Req_003: display references with dashed"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_Q_iioFcBEeW35uAYw-w4dQ" client="_vRLKkFcAEeW35uAYw-w4dQ"> - <supplier xmi:type="uml:Class" href="../../../org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml#_66IZyTq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_yIAjIH1zEeWj1JisGMPNPg" name="BindingConnectorDisplay"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_yMXesH1zEeWj1JisGMPNPg" name="DeriveFrom_REQ-OMG-SYSML14-8.3.2.2 Binding Connector" client="_yIAjIH1zEeWj1JisGMPNPg"> - <supplier xmi:type="uml:Class" href="../../../org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml#_66Jn5zq8EeW79ofuztDyTA"/> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Model" xmi:id="_OFsfc-LIEeSv5dwvZ9NSDw" name="UseCases"> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_OFsfdOLIEeSv5dwvZ9NSDw" name="useCasesAbstraction" client="_OFsfc-LIEeSv5dwvZ9NSDw" supplier="_OFsfcuLIEeSv5dwvZ9NSDw"/> - <packagedElement xmi:type="uml:Component" xmi:id="_OFsfdeLIEeSv5dwvZ9NSDw" name="MySystem"/> - </packagedElement> - <packagedElement xmi:type="uml:Model" xmi:id="_OFsfduLIEeSv5dwvZ9NSDw" name="Design"> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_OFsfd-LIEeSv5dwvZ9NSDw" name="DesignAbstraction" client="_OFsfduLIEeSv5dwvZ9NSDw" supplier="_OFsfc-LIEeSv5dwvZ9NSDw"/> - <packagedElement xmi:type="uml:Component" xmi:id="_WfoccH10EeWj1JisGMPNPg" name="org.eclipse.papyrus.sysml14.diagram.common"> - <packagedElement xmi:type="uml:Package" xmi:id="_EUKKgH10EeWj1JisGMPNPg" name="edit.parts"> - <packagedElement xmi:type="uml:Class" xmi:id="_dZIq4H10EeWj1JisGMPNPg" name="ConnectorEditPart"> - <ownedComment xmi:type="uml:Comment" xmi:id="_-Ov2AH10EeWj1JisGMPNPg" annotatedElement="_eRWsUH10EeWj1JisGMPNPg"> - <body>This editPart is a specialization of a connectorEeditpart that overload the setText about the label of AppliedStereotype</body> - </ownedComment> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_eRWsUH10EeWj1JisGMPNPg" name="ConnectorAppliedStereotypeEditPart"> - <ownedComment xmi:type="uml:Comment" xmi:id="_Y8IeoH11EeWj1JisGMPNPg" annotatedElement="_dZIq4H10EeWj1JisGMPNPg"> - <body>This editpart has been specialized in order to replace default figure by a custom figure to change display of stereotype application.</body> - </ownedComment> - </packagedElement> - <packagedElement xmi:type="uml:Dependency" xmi:id="_LHszgH13EeWj1JisGMPNPg" client="_dZIq4H10EeWj1JisGMPNPg" supplier="_FkRAIH13EeWj1JisGMPNPg"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_0CadgH13EeWj1JisGMPNPg" name="Satisfies_BindingConnector display 1" client="_dZIq4H10EeWj1JisGMPNPg" supplier="_yIAjIH1zEeWj1JisGMPNPg"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_0CeH4H13EeWj1JisGMPNPg" name="Satisfies_BindingConnector display 2" client="_eRWsUH10EeWj1JisGMPNPg" supplier="_yIAjIH1zEeWj1JisGMPNPg"/> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_gLav0H11EeWj1JisGMPNPg" name="figure"> - <packagedElement xmi:type="uml:Class" xmi:id="_FkRAIH13EeWj1JisGMPNPg" name="ConnectorFigure"> - <ownedComment xmi:type="uml:Comment" xmi:id="_6uxn0H13EeWj1JisGMPNPg"> - <body>This figure is a specialization of a connector in order to overload the display of the BindingConnector display</body> - </ownedComment> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_0Cf9EH13EeWj1JisGMPNPg" name="Satisfies_BindingConnector display" client="_FkRAIH13EeWj1JisGMPNPg" supplier="_yIAjIH1zEeWj1JisGMPNPg"/> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_SaK7kH13EeWj1JisGMPNPg" name="internal.factory"> - <packagedElement xmi:type="uml:Class" xmi:id="_XCNdsH13EeWj1JisGMPNPg" name="ConnectorViewFactory"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_0ChyQH13EeWj1JisGMPNPg" name="Satisfies_BindingConnector display" client="_XCNdsH13EeWj1JisGMPNPg" supplier="_yIAjIH1zEeWj1JisGMPNPg"/> - </packagedElement> - <packagedElement xmi:type="uml:Model" xmi:id="_-O-_MH13EeWj1JisGMPNPg" name="internalblockConfig.expansionmodel"> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_ICQ3IH14EeWj1JisGMPNPg" name="Satisfies_BindingConnector display" client="_-O-_MH13EeWj1JisGMPNPg" supplier="_yIAjIH1zEeWj1JisGMPNPg"/> - </packagedElement> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Model" xmi:id="_OFsfeOLIEeSv5dwvZ9NSDw" name="Test"> - <packagedElement xmi:type="uml:Dependency" xmi:id="_OFsfeeLIEeSv5dwvZ9NSDw" name="Dependency1" client="_OFsfeOLIEeSv5dwvZ9NSDw" supplier="_OFsfc-LIEeSv5dwvZ9NSDw"/> - <packagedElement xmi:type="uml:Dependency" xmi:id="_OFsfeuLIEeSv5dwvZ9NSDw" name="Dependency2" client="_OFsfeOLIEeSv5dwvZ9NSDw" supplier="_OFsfduLIEeSv5dwvZ9NSDw"/> - </packagedElement> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_8XIXADyREeehi70ty50hrw"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_8XKMMDyREeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#/"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_8XLaUDyREeehi70ty50hrw"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_8XMBYDyREeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//activities"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Activities"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_8XNPgDyREeehi70ty50hrw"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_8XN2kDyREeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//allocations"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Allocations"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_8XOdoDyREeehi70ty50hrw"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_8XOdoTyREeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//blocks"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_8XPEsDyREeehi70ty50hrw"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_8XPEsTyREeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//constraintblocks"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ConstraintBlocks"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_8XPrwDyREeehi70ty50hrw"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_8XQS0DyREeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//deprecatedelements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_DeprecatedElements"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_8XQS0TyREeehi70ty50hrw"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_8XQ54DyREeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//modelelements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ModelElements"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_8XQ54TyREeehi70ty50hrw"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_8XRg8DyREeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//portsandflows"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_8XRg8TyREeehi70ty50hrw"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_8XSIADyREeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements"/> - </profileApplication> - </uml:Model> - <Requirements:Requirement xmi:id="_IaYIgOgEEeSUQvXhEVQh8w" text="8.2.2 Internal Block Diagram
Table 8.3 - Graphical nodes defined in Internal Block diagrams" id="Req_001.001" base_Class="_IaVsQOgEEeSUQvXhEVQh8w"/> - <Requirements:Requirement xmi:id="_GZ8qwCCMEeWp9rJ2gmw59A" text="The creation of an actor part should be done by a popup with 2 choices : 
 - creation of an Actor
 - selection of an Actor" id="Req_002" base_Class="_GZ8DsCCMEeWp9rJ2gmw59A"/> - <Requirements:Requirement xmi:id="_WPDH4CZCEeWtn6hjmtufug" text="The IBD must have a palette with specific elements" id="Req_001" base_Class="_WPCg0CZCEeWtn6hjmtufug"/> - <Requirements:Requirement xmi:id="_vRU7kFcAEeW35uAYw-w4dQ" text="A reference property is shown by a dashed-outline box, consistent with UML.
" id="Req_003" base_Class="_vRLKkFcAEeW35uAYw-w4dQ"/> - <Requirements:DeriveReqt xmi:id="_SO-KMFcBEeW35uAYw-w4dQ" base_Abstraction="_Q_iioFcBEeW35uAYw-w4dQ"/> - <Requirements:Requirement xmi:id="_bRH9MGEzEeWJB_ZnIjFyvQ" text="InformationItem must be added
see Figure 9.5 – ItemFlow Stereotype p81 of SysML norm
see section 20.1.5 Examples of UML norm" id="Req_001.002" base_Class="_bRGvEGEzEeWJB_ZnIjFyvQ"/> - <Requirements:Requirement xmi:id="_f4aswGLFEeWTdanjqJgfhg" text="Information Flow must be added
see Figure 9.5 - ItemFlow Stereotype p81 of SysML norm" id="Req_001.003" base_Class="_f4TYAGLFEeWTdanjqJgfhg"/> - <Requirements:Requirement xmi:id="_yMSmMH1zEeWj1JisGMPNPg" text="The binding connector must be displayed with "equals" and not binding connector
Binding Connector details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=75" id="Req_004" base_Class="_yIAjIH1zEeWj1JisGMPNPg"/> - <Requirements:DeriveReqt xmi:id="_yMYs0H1zEeWj1JisGMPNPg" base_Abstraction="_yMXesH1zEeWj1JisGMPNPg"/> - <Requirements:Satisfy xmi:id="_0CcSsH13EeWj1JisGMPNPg" base_Abstraction="_0CadgH13EeWj1JisGMPNPg"/> - <Requirements:Satisfy xmi:id="_0CfWAH13EeWj1JisGMPNPg" base_Abstraction="_0CeH4H13EeWj1JisGMPNPg"/> - <Requirements:Satisfy xmi:id="_0ChLMH13EeWj1JisGMPNPg" base_Abstraction="_0Cf9EH13EeWj1JisGMPNPg"/> - <Requirements:Satisfy xmi:id="_0CiZUH13EeWj1JisGMPNPg" base_Abstraction="_0ChyQH13EeWj1JisGMPNPg"/> - <Requirements:Satisfy xmi:id="_ICSFQH14EeWj1JisGMPNPg" base_Abstraction="_ICQ3IH14EeWj1JisGMPNPg"/> -</xmi:XMI>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/resources/palette/internalBlockDiagram.paletteconfiguration b/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/resources/palette/internalBlockDiagram.paletteconfiguration deleted file mode 100644 index b862798..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/resources/palette/internalBlockDiagram.paletteconfiguration +++ /dev/null
@@ -1,204 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<paletteconfiguration:PaletteConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:paletteconfiguration="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.8" id="org.eclipse.papyrus.sysML.ibd.palette.model" label="SysML IBD Palette"> - <drawerConfigurations id="org.eclipse.papyrus.sysML.ibd.palette.node" label="Blocks" description="Element listed in 8.2.2 Internal Block Diagram"> - <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.ibd.palette.node.ActorPart" label="ActorPart" description="An Actor Part is a property typed by an Actor"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Property.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ActorPart_Property_AttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ActorPart_Property_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.ibd.palette.edge.BindingConnector" label="Binding Connector" description="A Binding Connector is a connector which specifies that the properties at both ends of the connector have equal values." kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Connector.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BindingConnector_Connector_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.ibd.palette.node.BoundReference" label="BoundReference" description="The BoundReference stereotype can be applied to properties that have binding connectors, to highlight their usage as"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Property.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_AttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_ClassAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_ComponentAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_DataTypeAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_Edge"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_InterfaceAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_PrimitiveTypeAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_Shape_CN"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.BoundReference_Property_SignalAttributeLabel"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.ibd.palette.edge.Connector" label="Connector" description="A Connector specifies links that enables communication between two or more instances." kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Connector.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Connector_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.ibd.palette.edge.Dependency" label="Dependency" description="A Dependency is a Relationship that signifies that a single model Element or a set of model Elements requires other model Elements for their specification or implementation." kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Dependency.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Dependency_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.ibd.palette.node.Part" label="Part" description="Create a Part"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Property.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Part_Property_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Part_Property_AttributeLabel"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.ibd.palette.node.PropertySpecificType" label="PropertySpecificType" description="The PropertySpecificType stereotype is automatically applied to the classifier that types a property with a propertyspecific type."> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="icons/full/obj16/PropertySpecificType.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.PropertySpecificType_Class_Shape_CN"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.ibd.palette.node.Reference" label="Reference" description="Create a Reference"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Property.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Reference_Property_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Reference_Property_AttributeLabel"/> - </elementDescriptors> - </ownedConfigurations> - </drawerConfigurations> - <drawerConfigurations id="org.eclipse.papyrus.sysML.ibd.palette.edge" label="Ports and Flow" description="Element listed in 9.2.2 Internal Block Diagram"> - <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.ibd.palette.node.FlowPort" label="FlowPort" description="A FlowPorts is an interaction point through which input and/or output of items such as data, material, or energy may flow. (Deprecated)"> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="icons/full/obj16/FlowPort.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowPort_Port_AttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowPort_Port_ClassAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowPort_Port_ComponentAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowPort_Port_DataTypeAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowPort_Port_Edge"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowPort_Port_InterfaceAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowPort_Port_PrimitiveTypeAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowPort_Port_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowPort_Port_Shape_CN"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FlowPort_Port_SignalAttributeLabel"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.ibd.palette.node.FullPort" label="Full Port" description="Full ports specify a separate element of the system from the owning block or its internal parts."> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="icons/full/obj16/FullPort.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FullPort_Port_AttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FullPort_Port_ClassAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FullPort_Port_ComponentAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FullPort_Port_DataTypeAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FullPort_Port_Edge"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FullPort_Port_InterfaceAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FullPort_Port_PrimitiveTypeAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FullPort_Port_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FullPort_Port_Shape_CN"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.FullPort_Port_SignalAttributeLabel"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.ibd.palette.edge.ItemFlow" label="Item Flow" description="An ItemFlow describes the flow of items across a connector or an association." kind="ConnectionTool"> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="icons/full/obj16/ItemFlow.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ItemFlow_InformationFlow_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.ibd.palette.node.Port" label="Port" description="A Port is a property of an EncapsulatedClassifier that specifies a distinct interaction point between that EncapsulatedClassifier and its environment or between the (behavior of the) EncapsulatedClassifier and its internal parts."> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Port.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Port_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.ibd.palette.node.ProxyPort" label="Proxy Port" description="Proxy ports identify features of the owning block or its internal parts that are available to external blocks through external connectors to the ports."> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="icons/full/obj16/ProxyPort.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ProxyPort_Port_AttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ProxyPort_Port_ClassAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ProxyPort_Port_ComponentAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ProxyPort_Port_DataTypeAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ProxyPort_Port_Edge"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ProxyPort_Port_InterfaceAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ProxyPort_Port_PrimitiveTypeAttributeLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ProxyPort_Port_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ProxyPort_Port_Shape_CN"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ProxyPort_Port_SignalAttributeLabel"/> - </elementDescriptors> - </ownedConfigurations> - </drawerConfigurations> -</paletteconfiguration:PaletteConfiguration>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/resources/style/internalBlockDiagram.css b/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/resources/style/internalBlockDiagram.css deleted file mode 100644 index 4900bb2..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/resources/style/internalBlockDiagram.css +++ /dev/null
@@ -1,293 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Francois Le Fevre (CEA LIST) francois.le-fevre@cea.fr - *****************************************************************************/ -/* - * SHARED ELEMENTS - */ - -Compartment{ - visible: false; - showTitle: false; -} - -Compartment[kind=structure]{ - showTitle: false; -} - -Package > Compartment[kind="packagedelements"], -Model > Compartment[kind="packagedelements"]{ - visible: true; - showTitle: false; -} - -/* - * @pap.req org.eclipse.papyrus.sysml14#REQ_001 - */ -[deprecated=true] { - lineColor: orange; -} - -[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=parameters], -[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=constraints]{ - visible: true; -} - -[appliedStereotypes~="FlowSpecification"]{ - elementIcon:false; - displayIcon:false; -} - -[appliedStereotypes~="FlowSpecification"] > Compartment[kind=flowproperties]{ - visible: true; -} - -[appliedStereotypes~="ValueType"] > Compartment[kind=attributes], -[appliedStereotypes~="ValueType"] > Compartment[kind=operations]{ - visible: true; -} - -/* - * Comment - */ -Class[appliedStereotypes~="Comment"]{ - visible:true; -} - -/* - * Stereotype ElementGroup - */ - -Class[appliedStereotypes~="ElementGroup"] { - visible:true; - showTitle:true; -} - -Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] { - visible:true; - showTitle:false; -} - -Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="name"]{ - visible:true; -} -Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="criterion"]{ - visible:true; -} -Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="size"]{ - visible:true; -} -Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="member"]{ - visible:true; -} - -Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="orderedMember"]{ - visible:true; -} - -/* - * Problem - */ -Class[appliedStereotypes~="Problem"]{ - visible:true; -} - -/* - * Rationale - */ -Class[appliedStereotypes~="Rational"]{ - visible:true; -} - -/* - * Stakeholder - */ -Class[appliedStereotypes~="Stakeholder"] > Compartment[type=StereotypeCompartment] { - visible:true; - showTitle:false; -} - -[appliedStereotypes~="Stakeholder"] > Compartment[kind=attributes], -[appliedStereotypes~="Stakeholder"] > Compartment[kind=operations], -[appliedStereotypes~="Stakeholder"] > Compartment[kind=constraints]{ - visible: true; -} - -Class[appliedStereotypes~="Stakeholder"] > Compartment[type=StereotypeCompartment] > [property="concernList"]{ - visible:true; -} -Class[appliedStereotypes~="Stakeholder"] > Compartment[type=StereotypeCompartment] > [property="concern"]{ - visible:true; -} - -/* - * Stereotype View - */ -Class[appliedStereotypes~="View"] > Compartment[kind=attributes], -Class[appliedStereotypes~="View"] > Compartment[kind=operations]{ - visible:true; - showTitle:false; -} - -Class[appliedStereotypes~="View"] > Compartment[kind="nestedclassifiers"]{ - visible:false; - showTitle:false; -} - -Class[appliedStereotypes~="View"] > Compartment[type=StereotypeCompartment] { - visible:true; - showTitle:true; -} - -Class[appliedStereotypes~="View"] > Compartment[type=StereotypeCompartment] > [property="stakeholder"]{ - visible:true; -} - -Class[appliedStereotypes~="View"] > Compartment[type=StereotypeCompartment] > [property="viewpoint"]{ - visible:true; -} - -/* - * Stereotype Viewpoint - */ -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] { - visible:true; - showTitle:false; -} - -[appliedStereotypes~="Viewpoint"] > Compartment[kind=attributes], -[appliedStereotypes~="Viewpoint"] > Compartment[kind=operations]{ - visible:true; -} - -[appliedStereotypes~="Viewpoint"] > Compartment[kind="internal structure"], -[appliedStereotypes~="Viewpoint"] > Compartment[kind="symbol"] -{ - visible:false; -} - -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="stakeholder"]{ - visible:true; -} - -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="purpose"]{ - visible:true; -} - -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="concernList"]{ - visible:true; -} - -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="language"]{ - visible:true; -} -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="method"]{ - visible:true; -} - -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="presentation"]{ - visible:true; -} -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="concern"]{ - visible:true; -} - -/* - * SPECIFIC ELEMENTS - */ - -Port > Compartment[kind="symbol"]{ - visible: true; -} - - -InternalBlockDiagram Compartment{ - visible: false; - showTitle: true; -} - - - -Port[appliedStereotypes~="FlowPort"][isAtomic=true][direction=in] { - svgFile: "platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_IN/position.svg"; -} - -Port[appliedStereotypes~="FlowPort"][isAtomic=true][direction=out] { - svgFile: "platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_OUT/position.svg"; -} - -Port[appliedStereotypes~="FlowPort"][isAtomic=true][direction=inout] { - svgFile: "platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_INOUT/position.svg"; -} - -Port[appliedStereotypes~="FlowPort"][isAtomic=false] { - svgFile: "platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_NA/position.svg"; -} - -InternalBlockDiagram [appliedStereotypes~="Block"] > Compartment[kind=structure], -InternalBlockDiagram Property > Compartment[kind=structure]{ - visible: true; -} - -/* - * Stereotype Block - */ -Class[appliedStereotypes~="Block"] > Compartment[kind=internalstructure]{ - visible: true; - showTitle:false; -} - -/* - * A property typed by a Block that does not have composite aggregation is classified as a reference property. - * A reference property is shown by a dashed-outline box, consistent with UML. - * They are shown with dashed rectangles because they are reference properties. - */ -Property[isReference=true] { - borderStyle:dash; /*dashDot; dashDotDot; dot; */ - lineWidth:2; -} - - -/* - * Stereotype Requirement - */ -Class[appliedStereotypes~="Requirement"] > Compartment[kind=nestedclassifiers]{ - visible:false; - showTitle:false; -} - -Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] { - visible:true; - showTitle:false; -} - -Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="derived"],[property="derivedFrom"],[property="satisfiedBy"],[property="refinedBy"],[property="tracedTo"],[property="verifiedBy"],[property="master"]{ - visible:false; -} - -Class[appliedStereotypes~="Requirement"] > Compartment[kind="operations"] { - visible:false; -} - -/* - * No use to show multiplicities, stereotypeLabel <<BindingConnector>> and connector name for bindingConnectors in parametric diagram - */ -Connector > Label:targetMultiplicity { - visible:false; -} -Connector > Label:sourceMultiplicity { - visible:false; -} -Connector > Label:name { - visible:false; -} -Connector > Label:stereotype { - visible:false; -} \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/src/org/eclipse/papyrus/sysml14/diagram/internalblock/Activator.java b/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/src/org/eclipse/papyrus/sysml14/diagram/internalblock/Activator.java deleted file mode 100644 index bc5533b..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/src/org/eclipse/papyrus/sysml14/diagram/internalblock/Activator.java +++ /dev/null
@@ -1,36 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.internalblock; - -import org.eclipse.jface.resource.ImageDescriptor; -import org.eclipse.ui.plugin.AbstractUIPlugin; - -/** - * 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.sysml14.diagram.internalblock"; //$NON-NLS-1$ - - /** - * Returns an image descriptor for the image file at the given - * plug-in relative path - * - * @param path the path - * @return the image descriptor - */ - public static ImageDescriptor getImageDescriptor(String path) { - return imageDescriptorFromPlugin(PLUGIN_ID, path); - } -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/src/org/eclipse/papyrus/sysml14/diagram/internalblock/internal/factory/BlockCompositeViewFactory.java b/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/src/org/eclipse/papyrus/sysml14/diagram/internalblock/internal/factory/BlockCompositeViewFactory.java deleted file mode 100644 index b905a4c..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.internalblock/src/org/eclipse/papyrus/sysml14/diagram/internalblock/internal/factory/BlockCompositeViewFactory.java +++ /dev/null
@@ -1,60 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.internalblock.internal.factory; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint; -import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil; -import org.eclipse.gmf.runtime.notation.Location; -import org.eclipse.gmf.runtime.notation.Node; -import org.eclipse.gmf.runtime.notation.NotationFactory; -import org.eclipse.gmf.runtime.notation.Shape; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.jface.preference.IPreferenceStore; -import org.eclipse.papyrus.sysml14.diagram.common.internal.factory.AbstractBasicViewFactory; -import org.eclipse.papyrus.uml.diagram.common.helper.PreferenceInitializerForElementHelper; -import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ClassCompositeCompartmentEditPart; -import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ClassCompositeEditPart; -import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ClassCompositeFloatingLabelEditPart; -import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ClassCompositeNameEditPart; -import org.eclipse.papyrus.uml.diagram.composite.part.UMLVisualIDRegistry; - -/** - * - * extraction from classdiagram UML view Provider - * - */ -public class BlockCompositeViewFactory extends AbstractBasicViewFactory { - - @Override - public Node createElementView(EObject domainElement, View containerView, String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint) { - Shape node = NotationFactory.eINSTANCE.createShape(); - node.setLayoutConstraint(NotationFactory.eINSTANCE.createBounds()); - node.setType(UMLVisualIDRegistry.getType(ClassCompositeEditPart.VISUAL_ID)); - ViewUtil.insertChildView(containerView, node, index, persisted); - node.setElement(domainElement); - // initializeFromPreferences - final IPreferenceStore prefStore = (IPreferenceStore)preferencesHint.getPreferenceStore(); - PreferenceInitializerForElementHelper.initFontStyleFromPrefs(node, prefStore, "Class"); - createLabel(node, UMLVisualIDRegistry.getType(ClassCompositeNameEditPart.VISUAL_ID)); - Node label6089 = createLabel(node, UMLVisualIDRegistry.getType(ClassCompositeFloatingLabelEditPart.VISUAL_ID)); - label6089.setLayoutConstraint(NotationFactory.eINSTANCE.createLocation()); - Location location6089 = (Location)label6089.getLayoutConstraint(); - location6089.setX(0); - location6089.setY(5); - createCompartment(node, UMLVisualIDRegistry.getType(ClassCompositeCompartmentEditPart.VISUAL_ID), true, true, false, false); - PreferenceInitializerForElementHelper.initCompartmentsStatusFromPrefs(node, prefStore, "Class"); - return node; - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/.project b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/.project deleted file mode 100644 index 637af69..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/.project +++ /dev/null
@@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.diagram.parametric.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> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/META-INF/MANIFEST.MF b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/META-INF/MANIFEST.MF deleted file mode 100644 index 5394d6d..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,16 +0,0 @@ -Manifest-Version: 1.0 -Bundle-Vendor: %Bundle-Vendor -Bundle-Version: 1.2.0.qualifier -Bundle-Name: %Bundle-Name -Bundle-Localization: plugin -Bundle-ManifestVersion: 2 -Fragment-Host: org.eclipse.papyrus.sysml14.diagram.parametric;bundle-version="1.0.0" -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.diagram.parametric.tests -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Require-Bundle: org.junit;bundle-version="[4.11.0,5.0.0)", - org.eclipse.papyrus.uml.diagram.clazz;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.composite;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.interactionoverview;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.profile;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.statemachine;bundle-version="[3.0.0,4.0.0)" -
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/plugin.properties b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/plugin.properties deleted file mode 100644 index 82805cc..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/plugin.properties +++ /dev/null
@@ -1,14 +0,0 @@ -################################################################################# -# Copyright (c) 2015 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: -# -# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation -# -################################################################################## -Bundle-Name=Papyrus SysML 1.4 Parametric Diagram Tests -Bundle-Vendor=Eclipse Modeling Project
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/pom.xml b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/pom.xml deleted file mode 100644 index 88bb15c..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/pom.xml +++ /dev/null
@@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" - xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.eclipse.papyrus.sysml</groupId> - <artifactId>org.eclipse.papyrus.sysml14.diagram</artifactId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.diagram.parametric.tests</artifactId> - <packaging>eclipse-test-plugin</packaging> - <name>org.eclipse.papyrus.sysml14.diagram.parametric.tests</name> - <description>This plug-in contains the unit tests relatives to SysML 1.4 parametric diagram.</description> -</project>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/src/org/eclipse/papyrus/sysml14/diagram/parametric/tests/resources/ModelValidationTest.java b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/src/org/eclipse/papyrus/sysml14/diagram/parametric/tests/resources/ModelValidationTest.java deleted file mode 100644 index f9edab2..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric.tests/src/org/eclipse/papyrus/sysml14/diagram/parametric/tests/resources/ModelValidationTest.java +++ /dev/null
@@ -1,88 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.diagram.parametric.tests.resources; - -import java.util.Arrays; -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.ecore.util.Diagnostician; -import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; -import org.eclipse.papyrus.sysml14.diagram.parametric.Activator; -import org.junit.Assert; -import org.junit.BeforeClass; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.Parameterized; -import org.junit.runners.Parameterized.Parameters; - -/** - * This is a parameterized test to validate all model in the plugin - * - * @author Benoit Maggi - */ -@SuppressWarnings("nls") -@RunWith(Parameterized.class) -public class ModelValidationTest { - - @Parameters - public static Collection<Object[]> data() { - return Arrays.asList(new Object[][] { - //FIXME should be valid{"/resources/style/parametricDiagram.css"}, - {"/resources/configuration/ParametricDiagramConfig.expansionmodel"}, - //FIXME should be valid {"/resources/doc/org.eclipse.papyrus.sysml14.diagram.parametric.uml"}, - //TODO: code a utility migration script {"/resources/doc/org.eclipse.papyrus.sysml14.diagram.parametric.notation"}, - {"/resources/Parametric.paletteconfiguration"}, - }); - } - - private String modelPath; - - public ModelValidationTest(String modelPath) { - this.modelPath = modelPath; - } - - @BeforeClass - public static void loadSysml14Definition() { - ElementTypeSetConfigurationRegistry.getInstance(); - } - - /** - * Validate the model with the rules defined in the meta-model tooling - */ - @Test - public void validateModel() { - String fullPath = Activator.PLUGIN_ID + this.modelPath; - URI modelPlatformURI = URI.createPlatformPluginURI(fullPath, true); - Resource resource = new ResourceSetImpl().getResource(modelPlatformURI, true); - Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); - Assert.assertEquals("The "+modelPath+" model is invalid "+print(diagnostic), Diagnostic.OK, diagnostic.getSeverity()); - } - - // FIXME : Something should exist in API to do that - private String print(Diagnostic diagnostic) { - List<Diagnostic> children = diagnostic.getChildren(); - StringBuilder stringBuilder = new StringBuilder(diagnostic.getMessage()); - for (Diagnostic diagnosticChildren : children) { - stringBuilder.append("\n"); //$NON-NLS-1$ - stringBuilder.append(diagnosticChildren.getMessage()); - } - return stringBuilder.toString(); - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/.project b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/.project deleted file mode 100644 index e619237..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/.project +++ /dev/null
@@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.diagram.parametric</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> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/META-INF/MANIFEST.MF b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/META-INF/MANIFEST.MF deleted file mode 100644 index 538c0b1..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,32 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %Bundle-Name -Bundle-Localization: plugin -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.diagram.parametric;singleton:=true -Bundle-Version: 1.2.0.qualifier -Bundle-Activator: org.eclipse.papyrus.sysml14.diagram.parametric.Activator -Bundle-Vendor: %Bundle-Vendor -Require-Bundle: org.eclipse.ui;bundle-version="[3.107.0,4.0.0)", - org.eclipse.core.runtime;bundle-version="[3.11.1,4.0.0)", - org.eclipse.uml2.uml;bundle-version="[5.1.0,6.0.0)", - org.eclipse.gmf.runtime.diagram.core;bundle-version="[1.7.0,2.0.0)", - org.eclipse.papyrus.infra.viewpoints.policy;bundle-version="[2.0.0,3.0.0)", - org.eclipse.papyrus.infra.emf;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.types.core;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.common;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.composite;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.service.types;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.gmfdiag.dnd;bundle-version="[1.1.0,2.0.0)", - org.eclipse.papyrus.infra.core;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.sysml14.diagram.common;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.service.types;bundle-version="1.0.0" -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Bundle-ActivationPolicy: lazy -Export-Package: org.eclipse.papyrus.sysml14.diagram.parametric, - org.eclipse.papyrus.sysml14.diagram.parametric.command, - org.eclipse.papyrus.sysml14.diagram.parametric.dnd, - org.eclipse.papyrus.sysml14.diagram.parametric.edit.part, - org.eclipse.papyrus.sysml14.diagram.parametric.internal.factory, - org.eclipse.papyrus.sysml14.diagram.parametric.locator, - org.eclipse.papyrus.sysml14.diagram.parametric.provider
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/plugin.properties b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/plugin.properties deleted file mode 100644 index f3227c8..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/plugin.properties +++ /dev/null
@@ -1,15 +0,0 @@ -################################################################################# -# Copyright (c) 2015 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: -# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation -################################################################################## -Bundle-Name= Papyrus SysML 1.4 Parametric Diagram -Bundle-Description=This plug-in contains the parametric diagram of SysML 1.4 -Bundle-Vendor=Eclipse Modeling Project - -
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/plugin.xml b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/plugin.xml deleted file mode 100644 index a2d912f..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/plugin.xml +++ /dev/null
@@ -1,37 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?eclipse version="3.4"?> -<!-- - Copyright (c) 2015 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: - Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation ---> - -<plugin> - - <!-- Expansion --> - <extension - point="org.eclipse.papyrus.infra.gmfdiag.common.diagramExpansion"> - <diagramexpansion - model="resources/configuration/ParametricDiagramConfig.expansionmodel"> - </diagramexpansion> - </extension> - <!-- Parser provider declaration --> -<extension point="org.eclipse.gmf.runtime.common.ui.services.parserProviders"> - <ParserProvider class="org.eclipse.papyrus.sysml14.diagram.parametric.provider.ParserProvider"> - <Priority name="Low"/> - </ParserProvider> -</extension> -<extension point="org.eclipse.papyrus.infra.gmfdiag.dnd.dropStrategy"> - <strategy strategy="org.eclipse.papyrus.sysml14.diagram.parametric.dnd.ParameterDropStrategy"></strategy> - <strategy strategy="org.eclipse.papyrus.sysml14.diagram.parametric.dnd.ConstraintDropStrategy"></strategy> - <strategy strategy="org.eclipse.papyrus.sysml14.diagram.parametric.dnd.ConstraintPropertyDropStrategy"></strategy> - <strategy strategy="org.eclipse.papyrus.sysml14.diagram.parametric.dnd.ConstraintBlockDropStrategy"></strategy> -</extension> - -</plugin>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/pom.xml b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/pom.xml deleted file mode 100644 index f9b99de..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/pom.xml +++ /dev/null
@@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" -xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.eclipse.papyrus.sysml</groupId> - <artifactId>org.eclipse.papyrus.sysml14.diagram</artifactId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.diagram.parametric</artifactId> - <packaging>eclipse-plugin</packaging> - <name>org.eclipse.papyrus.sysml14.diagram.parametric</name> - <description>This plugin is in charge of defining the SysML 1.4 Parametric Diagram using the following frameworks: viewpoint, expansion model, palette and css.</description> -</project> \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/resources/Parametric.paletteconfiguration b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/resources/Parametric.paletteconfiguration deleted file mode 100644 index 8229fc6..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/resources/Parametric.paletteconfiguration +++ /dev/null
@@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<paletteconfiguration:PaletteConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:paletteconfiguration="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.8" id="org.eclipse.papyrus.sysML.par.palette.model" label="SysML PAR Palette"> - <drawerConfigurations id="org.eclipse.papyrus.sysML.par.palette" label="Constraints" description="Element listed in 10.2.2 Parametric Diagram"> - <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.par.palette.node.ConstraintProperty" label="ConstraintProperty" description="A constraint property is a property of any block that is typed by a constraint block."> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Property.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConstraintPropertyComposite"/> - </elementDescriptors> - </ownedConfigurations> - </drawerConfigurations> -</paletteconfiguration:PaletteConfiguration>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/resources/configuration/ParametricDiagramConfig.expansionmodel b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/resources/configuration/ParametricDiagramConfig.expansionmodel deleted file mode 100644 index bf7184f..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/resources/configuration/ParametricDiagramConfig.expansionmodel +++ /dev/null
@@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<expansionmodel:DiagramExpansion xmlns:expansionmodel="http:///expansionmodel.ecore" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="SysML 1.4 Parametric" xmi:id="org.eclipse.papyrus.sysml14.parametric.expansionmodel" xmi:version="2.0"> - <usages diagramType="SysML 1.4 Parametric Diagram" name="SysML 1.4 Parametric Context" representations="_mUSiYILiEeW6xruev4cRfQ" xmi:id="_rC19oNnoEeSqwOe5_frWm1"> - <gmftRepresentations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.composite.edit.parts.ClassCompositeEditPart" inducedRepresentations="_U9-hYILjEeW6xruev4cRfQ _ZMHeQPRlEeakH_jG3IBwLw" name="Block based on Class representation of composite diagram" reusedID="Class_Shape" subRepresentations="_Zs7FQPRlEeakH_jG3IBwLw" viewFactory="org.eclipse.papyrus.sysml14.diagram.parametric.internal.factory.BlockCompositeViewFactory" xmi:id="_mUSiYILiEeW6xruev4cRfQ"/> - </usages> - <libraries name="Overload existing compartment of the composite diagram" xmi:id="_T4rGMILjEeW6xruev4cRfQ"> - <representations children="_CKVjwIMFEeW6xruev4cRfQ" hint="Class_StructureCompartment" name="Reuse compartment of internal structure of the Composite class" xmi:id="_U9-hYILjEeW6xruev4cRfQ" xsi:type="expansionmodel:InducedRepresentation"> - <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_1uXq8N0DEeS-X4lB2Ut-YA"/> - </representations> - </libraries> - <libraries name="Sub representations" xmi:id="_9nQaIIMEEeW6xruev4cRfQ"> - <representations editPartQualifiedName="org.eclipse.papyrus.uml.diagram.composite.edit.parts.PropertyPartEditPartCN" inducedRepresentations="_-La5QIPXEeWhLaOZG6fRyw" name="ConstraintBlockProperty" subRepresentations="_meiusIOfEeWhLaOZG6fRyw" viewFactory="org.eclipse.papyrus.sysml14.diagram.parametric.internal.factory.ConstraintPropertyViewFactory" xmi:id="_CKVjwIMFEeW6xruev4cRfQ" xsi:type="expansionmodel:Representation"> - <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ConstraintPropertyComposite" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> - </representations> - <representations editPartQualifiedName="org.eclipse.papyrus.sysml14.diagram.parametric.edit.part.ParameterBorderItermEditPart" inducedRepresentations="_uamt4IPBEeWhLaOZG6fRyw" name="Border item that represents PropertyValue of SysML" viewFactory="org.eclipse.papyrus.sysml14.diagram.parametric.internal.factory.BorderItemViewFactory" xmi:id="_meiusIOfEeWhLaOZG6fRyw" xsi:type="expansionmodel:Representation"> - <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_EoAOIN0DEeSiOexlyH3Ifw"/> - <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Parameter_BorderItem" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> - </representations> - <representations editPartQualifiedName="org.eclipse.papyrus.sysml14.diagram.common.edit.parts.LabelInListEditpart" name="Constraint As Label" viewFactory="org.eclipse.gmf.runtime.diagram.ui.view.factories.optimal.ShapeViewFactory" xmi:id="_CvOcoFVqEeW77p7V_ZuW3Q" xsi:type="expansionmodel:Representation"> - <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Constraint_Label" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> - </representations> - <representations children="_Zs7FQPRlEeakH_jG3IBwLw" description="Add border item children in Class_Shape" hint="Class_Shape" name="BorderItemClassShapeInducedRepresentation" xmi:id="_ZMHeQPRlEeakH_jG3IBwLw" xsi:type="expansionmodel:InducedRepresentation"> - <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_EoAOIN0DEeSiOexlyH3Ifw"/> - </representations> - <representations description="Border item that represents PropertyValue of SysML on Class_Shape" editPartQualifiedName="org.eclipse.papyrus.sysml14.diagram.parametric.edit.part.ParameterBorderItermEditPart" inducedRepresentations="_uamt4IPBEeWhLaOZG6fRyw" name="BorderItemClassShapeRepresentation" viewFactory="org.eclipse.papyrus.sysml14.diagram.parametric.internal.factory.BorderItemViewFactory" xmi:id="_Zs7FQPRlEeakH_jG3IBwLw" xsi:type="expansionmodel:Representation"> - <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_EoAOIN0DEeSiOexlyH3Ifw"/> - <graphicalElementTypeRef href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Parameter_BorderItemClassShape" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"/> - </representations> - </libraries> - <libraries name="inducedRepresentation" xmi:id="_sYz1QIPBEeWhLaOZG6fRyw"> - <representations editPartQualifiedName="org.eclipse.papyrus.sysml14.diagram.parametric.edit.part.ParameterBorderItemNameEditPart" hint="ParameterLabel" name="a parameterLabel" xmi:id="_uamt4IPBEeWhLaOZG6fRyw" xsi:type="expansionmodel:InducedRepresentation"> - <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_dG-hoN0HEeSfTfTnKh2G1Q"/> - </representations> - <representations children="_CvOcoFVqEeW77p7V_ZuW3Q" hint="constraints" name="Compartment constraint" xmi:id="_-La5QIPXEeWhLaOZG6fRyw" xsi:type="expansionmodel:InducedRepresentation"> - <kind href="platform:/plugin/org.eclipse.papyrus.uml.diagram.common/model/UMLRepresentationKind.xmi#_vbTKYN0DEeS-X4lB2Ut-YA"/> - </representations> - </libraries> -</expansionmodel:DiagramExpansion>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/resources/doc/org.eclipse.papyrus.sysml14.diagram.parametric.notation b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/resources/doc/org.eclipse.papyrus.sysml14.diagram.parametric.notation deleted file mode 100644 index ec82649..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/resources/doc/org.eclipse.papyrus.sysml14.diagram.parametric.notation +++ /dev/null
@@ -1,188 +0,0 @@ -<?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:configuration="http://www.eclipse.org/papyrus/infra/viewpoints/configuration" xmlns:css="http://www.eclipse.org/papyrus/infra/gmfdiag/css" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"> - <notation:Diagram xmi:id="_OF23gOLIEeSv5dwvZ9NSDw" type="PapyrusUMLClassDiagram" name="Overview" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_OF3ekOLIEeSv5dwvZ9NSDw" type="2005"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3ekeLIEeSv5dwvZ9NSDw" type="5020"/> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3ekuLIEeSv5dwvZ9NSDw" type="7009"> - <styles xmi:type="notation:TitleStyle" xmi:id="_OF3ek-LIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3elOLIEeSv5dwvZ9NSDw"/> - </children> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.parametric.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eleLIEeSv5dwvZ9NSDw" x="201" y="38"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_OF3eluLIEeSv5dwvZ9NSDw" type="2005"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3el-LIEeSv5dwvZ9NSDw" type="5020"/> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3emOLIEeSv5dwvZ9NSDw" type="7009"> - <styles xmi:type="notation:TitleStyle" xmi:id="_OF3emeLIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3emuLIEeSv5dwvZ9NSDw"/> - </children> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.parametric.uml#_OFsfc-LIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3em-LIEeSv5dwvZ9NSDw" x="204" y="173"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_OF3enOLIEeSv5dwvZ9NSDw" type="2005"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3eneLIEeSv5dwvZ9NSDw" type="5020"/> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3enuLIEeSv5dwvZ9NSDw" type="7009"> - <styles xmi:type="notation:TitleStyle" xmi:id="_OF3en-LIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eoOLIEeSv5dwvZ9NSDw"/> - </children> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.parametric.uml#_OFsfduLIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eoeLIEeSv5dwvZ9NSDw" x="206" y="329"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_OF3eouLIEeSv5dwvZ9NSDw" type="2005"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3eo-LIEeSv5dwvZ9NSDw" type="5020"/> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3epOLIEeSv5dwvZ9NSDw" type="7009"> - <styles xmi:type="notation:TitleStyle" xmi:id="_OF3epeLIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3epuLIEeSv5dwvZ9NSDw"/> - </children> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.parametric.uml#_OFsfeOLIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3ep-LIEeSv5dwvZ9NSDw" x="635" y="324"/> - </children> - <styles xmi:type="notation:DiagramStyle" xmi:id="_OF3eqOLIEeSv5dwvZ9NSDw"/> - <styles xmi:type="style:PapyrusViewStyle" xmi:id="_OF3eqeLIEeSv5dwvZ9NSDw"> - <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.parametric.uml#_OFsfcOLIEeSv5dwvZ9NSDw"/> - <configuration xmi:type="configuration:PapyrusDiagram" href="platform:/plugin/org.eclipse.papyrus.infra.viewpoints.policy/builtin/default.configuration#_7wLmpNxhEeOqHvRyiN87hA"/> - </styles> - <styles xmi:type="notation:StringValueStyle" xmi:id="_ffusMFCLEeWVDv-g61eepg" name="diagram_compatibility_version" stringValue="1.1.0"/> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.parametric.uml#_OFsfcOLIEeSv5dwvZ9NSDw"/> - </notation:Diagram> - <css:ModelStyleSheets xmi:id="_MXBlUOc1EeSLdPGe2q9R0g"/> - <notation:Diagram xmi:id="_uc4A8FCLEeWVDv-g61eepg" type="PapyrusUMLClassDiagram" name="Requirement Tracability" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_vbHx4FCLEeWVDv-g61eepg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_vbHx4VCLEeWVDv-g61eepg" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_vbIY8FCLEeWVDv-g61eepg" name="BASE_ELEMENT"/> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vbHx4lCLEeWVDv-g61eepg" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="__C9CY1CLEeWVDv-g61eepg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="__C9CZFCLEeWVDv-g61eepg" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="__C9CZlCLEeWVDv-g61eepg" name="BASE_ELEMENT"/> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="__C9CZVCLEeWVDv-g61eepg" x="481" y="260"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_Ld9zoFcFEeW35uAYw-w4dQ" type="2008"> - <children xmi:type="notation:DecorationNode" xmi:id="_Ld9zolcFEeW35uAYw-w4dQ" type="5029"/> - <children xmi:type="notation:DecorationNode" xmi:id="_Ld9zo1cFEeW35uAYw-w4dQ" type="8510"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_Ld9zpFcFEeW35uAYw-w4dQ" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_Ld9zpVcFEeW35uAYw-w4dQ" type="7017"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Ld9zplcFEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_Ld9zp1cFEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_Ld9zqFcFEeW35uAYw-w4dQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ld9zqVcFEeW35uAYw-w4dQ"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_Ld9zqlcFEeW35uAYw-w4dQ" type="7018"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Ld9zq1cFEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_Ld9zrFcFEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_Ld9zrVcFEeW35uAYw-w4dQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ld9zrlcFEeW35uAYw-w4dQ"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_Ld9zr1cFEeW35uAYw-w4dQ" type="7019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_Ld9zsFcFEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_Ld9zsVcFEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_Ld9zslcFEeW35uAYw-w4dQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ld9zs1cFEeW35uAYw-w4dQ"/> - </children> - <element xmi:type="uml:Class" href="platform:/resource/org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml14/doc/omg.sysml.uml#_66Puizq8EeW79ofuztDyTA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ld9zoVcFEeW35uAYw-w4dQ" x="160" y="20"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_LeO5Y1cFEeW35uAYw-w4dQ" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_LeO5ZFcFEeW35uAYw-w4dQ" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_LeO5ZlcFEeW35uAYw-w4dQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="platform:/resource/org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml14/doc/omg.sysml.uml#_66Puizq8EeW79ofuztDyTA"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_LeO5ZVcFEeW35uAYw-w4dQ" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_MdYpQFcFEeW35uAYw-w4dQ" type="2008"> - <children xmi:type="notation:DecorationNode" xmi:id="_MdYpQlcFEeW35uAYw-w4dQ" type="5029"/> - <children xmi:type="notation:DecorationNode" xmi:id="_MdYpQ1cFEeW35uAYw-w4dQ" type="8510"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_MdYpRFcFEeW35uAYw-w4dQ" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_MdZQUFcFEeW35uAYw-w4dQ" type="7017"> - <styles xmi:type="notation:TitleStyle" xmi:id="_MdZQUVcFEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_MdZQUlcFEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_MdZQU1cFEeW35uAYw-w4dQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MdZQVFcFEeW35uAYw-w4dQ"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_MdZQVVcFEeW35uAYw-w4dQ" type="7018"> - <styles xmi:type="notation:TitleStyle" xmi:id="_MdZQVlcFEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_MdZQV1cFEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_MdZQWFcFEeW35uAYw-w4dQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MdZQWVcFEeW35uAYw-w4dQ"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_MdZQWlcFEeW35uAYw-w4dQ" type="7019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_MdZQW1cFEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_MdZQXFcFEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_MdZQXVcFEeW35uAYw-w4dQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MdZQXlcFEeW35uAYw-w4dQ"/> - </children> - <element xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.diagram.parametric.uml#_7muOIFcEEeW35uAYw-w4dQ"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MdYpQVcFEeW35uAYw-w4dQ" x="120" y="240"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_MdfW8FcFEeW35uAYw-w4dQ" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_MdfW8VcFEeW35uAYw-w4dQ" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_MdfW81cFEeW35uAYw-w4dQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.diagram.parametric.uml#_7muOIFcEEeW35uAYw-w4dQ"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_MdfW8lcFEeW35uAYw-w4dQ" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_f8lz8FcFEeW35uAYw-w4dQ" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_f8lz8VcFEeW35uAYw-w4dQ" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_f8lz81cFEeW35uAYw-w4dQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.diagram.parametric.uml#_fDPxIFcFEeW35uAYw-w4dQ"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_f8lz8lcFEeW35uAYw-w4dQ" x="320" y="140"/> - </children> - <styles xmi:type="notation:StringValueStyle" xmi:id="_uc4A8VCLEeWVDv-g61eepg" name="diagram_compatibility_version" stringValue="1.1.0"/> - <styles xmi:type="notation:DiagramStyle" xmi:id="_uc4A8lCLEeWVDv-g61eepg"/> - <styles xmi:type="style:PapyrusViewStyle" xmi:id="_uc4A81CLEeWVDv-g61eepg"> - <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.parametric.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> - </styles> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.parametric.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> - <edges xmi:type="notation:Connector" xmi:id="_LePgcFcFEeW35uAYw-w4dQ" type="StereotypeCommentLink" source="_Ld9zoFcFEeW35uAYw-w4dQ" target="_LeO5Y1cFEeW35uAYw-w4dQ"> - <styles xmi:type="notation:FontStyle" xmi:id="_LePgcVcFEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_LePgdVcFEeW35uAYw-w4dQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="platform:/resource/org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml14/doc/omg.sysml.uml#_66Puizq8EeW79ofuztDyTA"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_LePgclcFEeW35uAYw-w4dQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_LePgc1cFEeW35uAYw-w4dQ"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_LePgdFcFEeW35uAYw-w4dQ"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_MdfW9FcFEeW35uAYw-w4dQ" type="StereotypeCommentLink" source="_MdYpQFcFEeW35uAYw-w4dQ" target="_MdfW8FcFEeW35uAYw-w4dQ"> - <styles xmi:type="notation:FontStyle" xmi:id="_MdfW9VcFEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_MdfW-VcFEeW35uAYw-w4dQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="org.eclipse.papyrus.sysml14.diagram.parametric.uml#_7muOIFcEEeW35uAYw-w4dQ"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_MdfW9lcFEeW35uAYw-w4dQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_MdfW91cFEeW35uAYw-w4dQ"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_MdfW-FcFEeW35uAYw-w4dQ"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_fDXs8FcFEeW35uAYw-w4dQ" type="4006" source="_MdYpQFcFEeW35uAYw-w4dQ" target="_Ld9zoFcFEeW35uAYw-w4dQ"> - <children xmi:type="notation:DecorationNode" xmi:id="_fDXs81cFEeW35uAYw-w4dQ" type="6014"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_fDXs9FcFEeW35uAYw-w4dQ" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_fDXs9VcFEeW35uAYw-w4dQ" type="6015"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_fDXs9lcFEeW35uAYw-w4dQ" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_fDXs8VcFEeW35uAYw-w4dQ"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.diagram.parametric.uml#_fDPxIFcFEeW35uAYw-w4dQ"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_fDXs8lcFEeW35uAYw-w4dQ" points="[-23, -34, 141, 214]$[-155, -254, 9, -6]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_fDuSQFcFEeW35uAYw-w4dQ" id="(0.5068807339449541,0.0)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_fDu5UFcFEeW35uAYw-w4dQ" id="(0.5047318611987381,1.0)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_f8lz9FcFEeW35uAYw-w4dQ" type="StereotypeCommentLink" source="_fDXs8FcFEeW35uAYw-w4dQ" target="_f8lz8FcFEeW35uAYw-w4dQ"> - <styles xmi:type="notation:FontStyle" xmi:id="_f8lz9VcFEeW35uAYw-w4dQ"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_f8lz-VcFEeW35uAYw-w4dQ" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.diagram.parametric.uml#_fDPxIFcFEeW35uAYw-w4dQ"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_f8lz9lcFEeW35uAYw-w4dQ" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_f8lz91cFEeW35uAYw-w4dQ"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_f8lz-FcFEeW35uAYw-w4dQ"/> - </edges> - </notation:Diagram> -</xmi:XMI>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/resources/doc/org.eclipse.papyrus.sysml14.diagram.parametric.uml b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/resources/doc/org.eclipse.papyrus.sysml14.diagram.parametric.uml deleted file mode 100644 index 04ad1be..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/resources/doc/org.eclipse.papyrus.sysml14.diagram.parametric.uml +++ /dev/null
@@ -1,86 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Requirements="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"> - <uml:Model xmi:id="_OFsfcOLIEeSv5dwvZ9NSDw" name="org.eclipse.papyrus.sysml14.diagram.parametric"> - <packageImport xmi:id="_OFsfceLIEeSv5dwvZ9NSDw"> - <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/> - </packageImport> - <packagedElement xmi:type="uml:Model" xmi:id="_OFsfcuLIEeSv5dwvZ9NSDw" name="Requirements"> - <ownedComment xmi:id="_dICO8Oc2EeSLdPGe2q9R0g"> - <body>This package will contains all graphical requirements for Sysml elements contained in the Parametric diagram</body> - </ownedComment> - <packagedElement xmi:type="uml:Class" xmi:id="_TEBTICY-EeWtn6hjmtufug" name="Elements in the Parametric palette"/> - <packagedElement xmi:type="uml:Class" xmi:id="_7muOIFcEEeW35uAYw-w4dQ" name="REQ_001: Round-cornered rectangle notation for constraint property
"/> - <packagedElement xmi:type="uml:Class" xmi:id="_bTtxcHmNEeW3Oe7H2lzIHQ" name="REQ_003 Port in Par palette"/> - <packagedElement xmi:type="uml:Class" xmi:id="_2AmncHlkEeWbcoRwJ0bATQ" name="REQ_002: InformationItem in Par palette"/> - <packagedElement xmi:type="uml:Class" xmi:id="_bWfmIHyiEeWNSOD5jNDSnA" name="REQ_005 : InformationFlow in Par palette"/> - </packagedElement> - <packagedElement xmi:type="uml:Model" xmi:id="_OFsfc-LIEeSv5dwvZ9NSDw" name="UseCases"/> - <packagedElement xmi:type="uml:Model" xmi:id="_OFsfduLIEeSv5dwvZ9NSDw" name="Design"/> - <packagedElement xmi:type="uml:Model" xmi:id="_OFsfeOLIEeSv5dwvZ9NSDw" name="Test"/> - <profileApplication xmi:id="_WZRqQDySEeehi70ty50hrw"> - <eAnnotations xmi:id="_WZV7sDySEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#/"/> - </eAnnotations> - <appliedProfile href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML"/> - </profileApplication> - <profileApplication xmi:id="_WZXJ0DySEeehi70ty50hrw"> - <eAnnotations xmi:id="_WZXw4DySEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//activities"/> - </eAnnotations> - <appliedProfile href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Activities"/> - </profileApplication> - <profileApplication xmi:id="_WZY_ADySEeehi70ty50hrw"> - <eAnnotations xmi:id="_WZZmEDySEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//allocations"/> - </eAnnotations> - <appliedProfile href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Allocations"/> - </profileApplication> - <profileApplication xmi:id="_WZaNIDySEeehi70ty50hrw"> - <eAnnotations xmi:id="_WZa0MDySEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//blocks"/> - </eAnnotations> - <appliedProfile href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks"/> - </profileApplication> - <profileApplication xmi:id="_WZbbQDySEeehi70ty50hrw"> - <eAnnotations xmi:id="_WZbbQTySEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//constraintblocks"/> - </eAnnotations> - <appliedProfile href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ConstraintBlocks"/> - </profileApplication> - <profileApplication xmi:id="_WZcCUDySEeehi70ty50hrw"> - <eAnnotations xmi:id="_WZcCUTySEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//deprecatedelements"/> - </eAnnotations> - <appliedProfile href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_DeprecatedElements"/> - </profileApplication> - <profileApplication xmi:id="_WZcpYDySEeehi70ty50hrw"> - <eAnnotations xmi:id="_WZcpYTySEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//modelelements"/> - </eAnnotations> - <appliedProfile href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ModelElements"/> - </profileApplication> - <profileApplication xmi:id="_WZcpYjySEeehi70ty50hrw"> - <eAnnotations xmi:id="_WZdQcDySEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//portsandflows"/> - </eAnnotations> - <appliedProfile href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows"/> - </profileApplication> - <profileApplication xmi:id="_WZdQcTySEeehi70ty50hrw"> - <eAnnotations xmi:id="_WZdQcjySEeehi70ty50hrw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"/> - </eAnnotations> - <appliedProfile href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements"/> - </profileApplication> - </uml:Model> - <Requirements:Requirement xmi:id="_TEE9gCY-EeWtn6hjmtufug" base_Class="_TEBTICY-EeWtn6hjmtufug" id="Req004"/> - <Requirements:Requirement xmi:id="_7mu1MFcEEeW35uAYw-w4dQ" base_Class="_7muOIFcEEeW35uAYw-w4dQ" id="REQ_001" text="A constraint property may be shown on a parametric diagram using a rectangle with rounded corners. This graphical
shape distinguishes a constraint property from all other properties and avoids the need to show an explicit «constraint»
keyword. Otherwise, this notation is equivalent to the standard form of an internal property with a «constraint» keyword
shown. Compartments and internal properties may be shown within the shape just as for other types of internal properties."/> - <Requirements:DeriveReqt xmi:id="_f8g7cFcFEeW35uAYw-w4dQ"/> - <Requirements:Requirement xmi:id="_2A_pAHlkEeWbcoRwJ0bATQ" base_Class="_2AmncHlkEeWbcoRwJ0bATQ" id="REQ_002" text="InformationItem must be added
see Figure 9.5 – ItemFlow Stereotype p81 of SysML norm
see section 20.1.5 Examples of UML norm"/> - <Requirements:Requirement xmi:id="_bTu_kHmNEeW3Oe7H2lzIHQ" base_Class="_bTtxcHmNEeW3Oe7H2lzIHQ" id="REQ_003" text="
"/> - <Requirements:DeriveReqt xmi:id="_bTw0wHmNEeW3Oe7H2lzIHQ"/> - <Requirements:Requirement xmi:id="_bWlswHyiEeWNSOD5jNDSnA" base_Class="_bWfmIHyiEeWNSOD5jNDSnA" id="REQ_005" text="Information Flow must be added, see Figure 9.5 - ItemFlow Stereotype p81 of SysML norm"/> - <Requirements:Requirement xmi:id="_P_QmMD0sEeeHj_oxd-HpJg" base_Class="_bTtxcHmNEeW3Oe7H2lzIHQ"/> - <Requirements:Requirement xmi:id="_RQm5UD0sEeeHj_oxd-HpJg" base_Class="_bWfmIHyiEeWNSOD5jNDSnA"/> - <Requirements:Requirement xmi:id="_SbfYED0sEeeHj_oxd-HpJg" base_Class="_2AmncHlkEeWbcoRwJ0bATQ"/> - <Requirements:Requirement xmi:id="_TT6N0D0sEeeHj_oxd-HpJg" base_Class="_7muOIFcEEeW35uAYw-w4dQ"/> -</xmi:XMI>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/resources/style/parametricDiagram.css b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/resources/style/parametricDiagram.css deleted file mode 100644 index d55d7c1..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/resources/style/parametricDiagram.css +++ /dev/null
@@ -1,273 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - *****************************************************************************/ -/* - * SHARED ELEMENTS - */ - -Compartment{ - visible: false; - showTitle: false; -} - -Compartment[kind=structure]{ - showTitle: false; -} - -Package > Compartment[kind="packagedelements"], -Model > Compartment[kind="packagedelements"]{ - visible: true; - showTitle: false; -} - -/* - * @pap.req org.eclipse.papyrus.sysml14#REQ_001 - */ -[deprecated=true] { - lineColor: orange; -} - -[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=parameters], -[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=constraints]{ - visible: true; -} - -[appliedStereotypes~="FlowSpecification"]{ - elementIcon:false; - displayIcon:false; -} - -[appliedStereotypes~="FlowSpecification"] > Compartment[kind=flowproperties]{ - visible: true; -} - -[appliedStereotypes~="ValueType"] > Compartment[kind=attributes], -[appliedStereotypes~="ValueType"] > Compartment[kind=operations]{ - visible: true; -} - -/* - * Comment - */ -Class[appliedStereotypes~="Comment"]{ - visible:true; -} - -/* - * Stereotype ElementGroup - */ - -Class[appliedStereotypes~="ElementGroup"] { - visible:true; - showTitle:true; -} - -Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] { - visible:true; - showTitle:false; -} - -Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="name"]{ - visible:true; -} - -Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="criterion"]{ - visible:true; -} - -Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="size"]{ - visible:true; -} -Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="member"]{ - visible:true; -} - -Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="orderedMember"]{ - visible:true; -} - -/* - * Problem - */ -Class[appliedStereotypes~="Problem"]{ - visible:true; -} - -/* - * Rationale - */ -Class[appliedStereotypes~="Rational"]{ - visible:true; -} - -/* - * Stakeholder - */ -Class[appliedStereotypes~="Stakeholder"] > Compartment[type=StereotypeCompartment] { - visible:true; - showTitle:false; -} - -[appliedStereotypes~="Stakeholder"] > Compartment[kind=attributes], -[appliedStereotypes~="Stakeholder"] > Compartment[kind=operations], -[appliedStereotypes~="Stakeholder"] > Compartment[kind=constraints]{ - visible: true; -} - -Class[appliedStereotypes~="Stakeholder"] > Compartment[type=StereotypeCompartment] > [property="concernList"]{ - visible:true; -} -Class[appliedStereotypes~="Stakeholder"] > Compartment[type=StereotypeCompartment] > [property="concern"]{ - visible:true; -} - -/* - * Stereotype View - */ -Class[appliedStereotypes~="View"] > Compartment[kind=attributes], -Class[appliedStereotypes~="View"] > Compartment[kind=operations]{ - visible:true; - showTitle:false; -} - -Class[appliedStereotypes~="View"] > Compartment[kind="nestedclassifiers"]{ - visible:false; - showTitle:false; -} - -Class[appliedStereotypes~="View"] > Compartment[type=StereotypeCompartment] { - visible:true; - showTitle:true; -} - -Class[appliedStereotypes~="View"] > Compartment[type=StereotypeCompartment] > [property="stakeholder"]{ - visible:true; -} - -Class[appliedStereotypes~="View"] > Compartment[type=StereotypeCompartment] > [property="viewpoint"]{ - visible:true; -} - -/* - * Stereotype Viewpoint - */ -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] { - visible:true; - showTitle:false; -} - -[appliedStereotypes~="Viewpoint"] > Compartment[kind=attributes], -[appliedStereotypes~="Viewpoint"] > Compartment[kind=operations]{ - visible:true; -} - -[appliedStereotypes~="Viewpoint"] > Compartment[kind="internal structure"], -[appliedStereotypes~="Viewpoint"] > Compartment[kind="symbol"] -{ - visible:false; -} - -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="stakeholder"]{ - visible:true; -} - -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="purpose"]{ - visible:true; -} - -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="concernList"]{ - visible:true; -} - -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="language"]{ - visible:true; -} -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="method"]{ - visible:true; -} - -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="presentation"]{ - visible:true; -} -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="concern"]{ - visible:true; -} - -/* - * SPECIFIC ELEMENTS - */ - -Attribute[appliedStereotypes~="Block"] > Compartment { - visible:false; -} - -Port > Compartment[kind="symbol"]{ - visible: true; -} - -ParametricDiagram Compartment{ - visible: false; - showTitle: true; -} - -Class[appliedStereotypes~="Block"] > Compartment[kind=internalstructure], -Class[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=internalstructure]{ - visible: true; -} - - -/* - * @pap.req org.eclipse.papyrus.sysml.14.diagram.parametric#REQ_001 - */ -CompositeStructureDiagram Property[isConstraint=true] -{ - radiusWidth:30; - radiusHeight:30; -} - -/* - * No use to show multiplicities, stereotypeLabel <<BindingConnector>> and connector name for bindingConnectors in parametric diagram - */ -Connector > Label:targetMultiplicity { - visible:false; -} -Connector > Label:sourceMultiplicity { - visible:false; -} -Connector > Label:name { - visible:false; -} -Connector > Label:stereotype { - visible:false; -} -/* - * In general, showing multiplicities is not useful for properties (they will be [1] anyway) - */ -Property { - maskLabel: name type; -} - -Port[appliedStereotypes~="FlowPort"][isAtomic=true][direction=in] { - svgFile: "platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_IN/position.svg"; -} - -Port[appliedStereotypes~="FlowPort"][isAtomic=true][direction=out] { - svgFile: "platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_OUT/position.svg"; -} - -Port[appliedStereotypes~="FlowPort"][isAtomic=true][direction=inout] { - svgFile: "platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_INOUT/position.svg"; -} - -Port[appliedStereotypes~="FlowPort"][isAtomic=false] { - svgFile: "platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/icons/FlowPort_NA/position.svg"; -} - \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/Activator.java b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/Activator.java deleted file mode 100644 index 9fd9089..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/Activator.java +++ /dev/null
@@ -1,95 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.parametric; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.Status; -import org.eclipse.core.runtime.preferences.IEclipsePreferences; -import org.eclipse.core.runtime.preferences.InstanceScope; -import org.eclipse.jface.resource.ImageDescriptor; -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.sysml14.diagram.parametric"; //$NON-NLS-1$ - - // The shared instance - private static Activator plugin; - - /** - * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) - * - * @param context - * @throws Exception - */ - @Override //FIXME : remove the code after Papyrus Core Oxygen.2 (See Bug 522295) - public void start(BundleContext context) throws Exception { - super.start(context); - plugin = this; - IEclipsePreferences node = InstanceScope.INSTANCE.getNode("org.eclipse.papyrus.infra.gmfdiag.dnd"); //$NON-NLS-1$ - node.put("org.eclipse.papyrus.infra.gmfdiag.dnd.expansiondropsteategy.isActive", "false"); //$NON-NLS-1$ //$NON-NLS-2$ - } - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) - */ - @Override - public void stop(BundleContext context) throws Exception { - plugin = null; - super.stop(context); - } - - - /** - * Returns an image descriptor for the image file at the given - * plug-in relative path - * - * @param path - * the path - * @return the image descriptor - */ - public static ImageDescriptor getImageDescriptor(String path) { - return imageDescriptorFromPlugin(PLUGIN_ID, path); - } - - public static Activator getDefault() { - return plugin; - } - - /** - * Log the status - * @param status - */ - public static void log(IStatus status) { - Activator.getDefault().getLog().log(status); - } - - /** - * Log the message - * @param severity - * @param message - */ - public static void log(int severity, String message) { - log(new Status(severity, PLUGIN_ID, message)); - } - - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/command/ConstraintBlockParameterCreationCommand.java b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/command/ConstraintBlockParameterCreationCommand.java deleted file mode 100644 index affd996..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/command/ConstraintBlockParameterCreationCommand.java +++ /dev/null
@@ -1,161 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 CEA LIST and others. - * - * 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: - * Nicolas FAUVERGUE (CEA LIST) nicolas.fauvergue@cea.fr - Initial API and implementation - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr- Bug 528694 - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.diagram.parametric.command; - -import org.eclipse.core.commands.ExecutionException; -import org.eclipse.core.runtime.IAdaptable; -import org.eclipse.core.runtime.IProgressMonitor; -import org.eclipse.core.runtime.IStatus; -import org.eclipse.draw2d.IFigure; -import org.eclipse.draw2d.geometry.Point; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.common.core.command.AbstractCommand; -import org.eclipse.gmf.runtime.common.core.command.CommandResult; -import org.eclipse.gmf.runtime.diagram.core.services.ViewService; -import org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart; -import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart; -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IHintedType; -import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; -import org.eclipse.gmf.runtime.emf.type.core.commands.CreateElementCommand; -import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest; -import org.eclipse.gmf.runtime.notation.Bounds; -import org.eclipse.gmf.runtime.notation.Node; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.papyrus.sysml14.diagram.common.util.GraphicalSysMLServiceTypeUtil; -import org.eclipse.papyrus.sysml14.diagram.parametric.Activator; -import org.eclipse.papyrus.uml.service.types.element.UMLElementTypes; -import org.eclipse.uml2.uml.UMLPackage; - -/** - * The command which allow to create a constraint block parameter. - */ -public class ConstraintBlockParameterCreationCommand extends AbstractCommand { - - /** - * The graphical target edit part where add the created constraint block parameter. - */ - protected IGraphicalEditPart targetEditPart; - - /** - * The container of the constraint block parameter to create. - */ - protected EObject targetElement; - - /** - * The type element of the constraint block parameter to create. - */ - protected EObject typeElement; - - /** - * The location point where add the block constraint parameter. - */ - protected Point point; - - /** - * The property creation command. - */ - protected CreateElementCommand propertyCreationCommand; - - /** - * Constructor. - * - * @param label - * The operation label, should never be <code>null</code>. - * @param typeElement - * The type element of the constraint block parameter to create. - * @param targetEditPart - * The graphical target edit part where add the created constraint block parameter. - * @param targetElement - * The container of the constraint block parameter to create. - * @param point - * The location point where add the block constraint parameter. - */ - public ConstraintBlockParameterCreationCommand(final String label, final IGraphicalEditPart targetEditPart, final EObject targetElement, final EObject typeElement, final Point point) { - super(label); - this.targetEditPart = targetEditPart; - this.targetElement = targetElement; - this.typeElement = typeElement; - this.point = point; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.gmf.runtime.common.core.command.AbstractCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable) - */ - @Override - protected CommandResult doExecuteWithResult(final IProgressMonitor progressMonitor, final IAdaptable info) throws ExecutionException { - // Create the parameter corresponding to the ConstraintBlock - final CreateElementRequest createPropertyCommand = new CreateElementRequest(targetElement, UMLElementTypes.PROPERTY); - propertyCreationCommand = new CreateElementCommand(createPropertyCommand); - propertyCreationCommand.execute(progressMonitor, info); - - CommandResult commandResult = propertyCreationCommand.getCommandResult(); - if (commandResult != null && commandResult.getStatus().isOK()) { - // Set the parameter type with ConstraintBlock - final EObject createdProperty = propertyCreationCommand.getNewElement(); - createdProperty.eSet(UMLPackage.eINSTANCE.getTypedElement_Type(), typeElement); - - final ISpecializationType type = (ISpecializationType) ElementTypeRegistry.getInstance().getType(GraphicalSysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_CONSTRAINT_PROPERTY_COMPOSITE); - - // Create the node corresponding to the parameter - final View notationView = targetEditPart.getNotationView(); - String semanticHint = ((IHintedType) type).getSemanticHint(); - Node node = ViewService.createNode(notationView, createdProperty, semanticHint, ((GraphicalEditPart) targetEditPart).getDiagramPreferencesHint()); - - if (node == null) { - Activator.log(IStatus.WARNING,"Impossible to create the view "+semanticHint);//$NON-NLS-1$ - } else { - if (point != null && node.getLayoutConstraint() instanceof Bounds) { - IFigure parentFigure = targetEditPart.getFigure().getParent(); - while (null != parentFigure) { - point.translate(-(parentFigure.getBounds().x + parentFigure.getInsets().left), -(parentFigure.getBounds().y + parentFigure.getInsets().top)); - parentFigure = parentFigure.getParent(); - } - ((Bounds) node.getLayoutConstraint()).setX(point.x); - ((Bounds) node.getLayoutConstraint()).setY(point.y); - } - } - } - return commandResult; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.gmf.runtime.common.core.command.AbstractCommand#doRedoWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable) - */ - @Override - protected CommandResult doRedoWithResult(final IProgressMonitor progressMonitor, final IAdaptable info) throws ExecutionException { - if (propertyCreationCommand != null && propertyCreationCommand.canRedo()) { - propertyCreationCommand.redo(progressMonitor, info); - } - return CommandResult.newOKCommandResult(); - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.gmf.runtime.common.core.command.AbstractCommand#doUndoWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable) - */ - @Override - protected CommandResult doUndoWithResult(final IProgressMonitor progressMonitor, final IAdaptable info) throws ExecutionException { - if (propertyCreationCommand != null && propertyCreationCommand.canUndo()) { - propertyCreationCommand.undo(progressMonitor, info); - } - return CommandResult.newOKCommandResult(); - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/dnd/ConstraintBlockDropStrategy.java b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/dnd/ConstraintBlockDropStrategy.java deleted file mode 100644 index 7d5615c..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/dnd/ConstraintBlockDropStrategy.java +++ /dev/null
@@ -1,122 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 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: - * Benoit Maggi benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.parametric.dnd; - -import java.util.List; - -import org.eclipse.draw2d.geometry.Point; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gef.EditPart; -import org.eclipse.gef.Request; -import org.eclipse.gef.commands.Command; -import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; -import org.eclipse.gmf.runtime.diagram.ui.commands.ICommandProxy; -import org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart; -import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart; -import org.eclipse.gmf.runtime.diagram.ui.requests.DropObjectsRequest; -import org.eclipse.gmf.runtime.diagram.ui.requests.RequestConstants; -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; -import org.eclipse.papyrus.infra.gmfdiag.dnd.strategy.ExpansionElementDropStrategy; -import org.eclipse.papyrus.sysml14.diagram.parametric.command.ConstraintBlockParameterCreationCommand; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ClassCompositeCompartmentEditPart; - -/** - * This strategy is a specialization in order to be able to drop Constraint inside constraint Property - * - */ -public class ConstraintBlockDropStrategy extends ExpansionElementDropStrategy implements IParametricDropStrategy { - - private static final int LOWEST_PRIORITY = -1000; - /** - * ID tje internal Structure of a block - */ - private static final String INTERNAL_STRUCTURE_ID = ClassCompositeCompartmentEditPart.VISUAL_ID; - - @Override - public String getCategoryID() { - return PARAMETRIC_DROP_CATEGORY_ID; - } - - @Override - public String getCategoryLabel() { - return PARAMETRIC_DROP_CATEGORY_LABEL; - } - - @Override - public String getID() { - return "org.eclipse.papyrus.sysml14.diagram.parametric.dnd.ConstraintBlockDropStrategy"; //$NON-NLS-1$ - } - - @Override - public String getLabel() { - return "Constraint Block drag and drop inside parametric diagram"; - } - - @Override - public String getDescription() { - return "This strategy is is a specialization in order to be able to drop a Constraint Block inside Parametric diagram."; - } - - /** - * @see org.eclipse.papyrus.infra.gmfdiag.dnd.strategy.ExpansionElementDropStrategy#getPriority() - * - * @return - */ - @Override - public int getPriority() { - return LOWEST_PRIORITY; - } - - @Override - public Command doGetCommand(Request request, final EditPart targetEditPart) { - if (RequestConstants.REQ_MOVE_CHILDREN.equals(request.getType())) { - return null; - } - - final CompositeCommand cc = new CompositeCommand(getLabel()); - if (targetEditPart instanceof GraphicalEditPart) { - IGraphicalEditPart graphicalEditPart = (IGraphicalEditPart) targetEditPart; - List<EObject> sourceElements = getSourceEObjects(request); - if (sourceElements.isEmpty()) { - return null; - } - - final ISpecializationType constraintPropertyElementType = (ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_CONSTRAINTBLOCK); - if (INTERNAL_STRUCTURE_ID.equals(graphicalEditPart.getNotationView().getType())) { - - - final EObject targetElement = getTargetSemanticElement(targetEditPart); - for (EObject sourceElement : sourceElements) { - if (constraintPropertyElementType.getMatcher().matches(sourceElement)) { - - Point dropedPoint = null; - if(request instanceof DropObjectsRequest){ - dropedPoint = ((DropObjectsRequest)request).getLocation(); - } - - cc.add(new ConstraintBlockParameterCreationCommand("Create the corresponding constraint block parameter.", graphicalEditPart, targetElement, sourceElement, dropedPoint)); - } - - } - } - } - return cc.canExecute() ? new ICommandProxy(cc.reduce()) : null; - } - - - - - -} \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/dnd/ConstraintDropStrategy.java b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/dnd/ConstraintDropStrategy.java deleted file mode 100644 index 603cc20..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/dnd/ConstraintDropStrategy.java +++ /dev/null
@@ -1,104 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Bug 510842 - ClassCastException - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.parametric.dnd; - -import java.util.ArrayList; -import java.util.List; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gef.EditPart; -import org.eclipse.gef.Request; -import org.eclipse.gef.commands.Command; -import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; -import org.eclipse.gmf.runtime.diagram.ui.commands.ICommandProxy; -import org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart; -import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart; -import org.eclipse.gmf.runtime.diagram.ui.requests.RequestConstants; -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; -import org.eclipse.papyrus.infra.gmfdiag.dnd.strategy.ExpansionElementDropStrategy; -import org.eclipse.papyrus.sysml14.diagram.common.util.GraphicalSysMLServiceTypeUtil; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.uml2.uml.Constraint; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; - -/** - * This strategy is a specialization in order to be able to drop Constraint inside constraint Property - * - */ -public class ConstraintDropStrategy extends ExpansionElementDropStrategy implements IParametricDropStrategy { - - - @Override - public String getCategoryID() { - return PARAMETRIC_DROP_CATEGORY_ID; - } - - @Override - public String getCategoryLabel() { - return PARAMETRIC_DROP_CATEGORY_LABEL; - } - - @Override - public String getLabel() { - return "Constraint drag and drop inside Constraint Property"; - } - - @Override - public String getID() { - return "org.eclipse.papyrus.sysml14.diagram.parametric.dnd.ConstraintDropStrategy"; //$NON-NLS-1$ - } - - @Override - public String getDescription() { - return "This strategy is is a specialization in order to be able to drop a Constraint inside constraint Property."; - } - - - - @Override - public Command doGetCommand(Request request, final EditPart targetEditPart) { - if (RequestConstants.REQ_MOVE_CHILDREN.equals(request.getType())) { - return null; - } - - CompositeCommand cc = new CompositeCommand(getLabel()); - if (targetEditPart instanceof GraphicalEditPart) { - IGraphicalEditPart graphicalEditPart = (IGraphicalEditPart) targetEditPart; - List<EObject> sourceElements = getSourceEObjects(request); - if (sourceElements.isEmpty()) { - return null; - } - - final List<EObject> valuesToAdd = new ArrayList<>(sourceElements.size()); - final ISpecializationType constraintPropertyElementType = (ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_CONSTRAINTPROPERTY); - // the target must me a constraint property - EObject target = graphicalEditPart.resolveSemanticElement(); - if (constraintPropertyElementType.getMatcher().matches(target) && target instanceof Property && ((Property) target).getType() != null) { - Type targetType = ((Property) target).getType(); - for (EObject sourceElement : sourceElements) { - if ((sourceElement instanceof Constraint) && sourceElement.eContainer().equals(targetType)) { - addCommandDrop(targetEditPart, cc, valuesToAdd, sourceElement, (ISpecializationType) ElementTypeRegistry.getInstance().getType(GraphicalSysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_CONSTRAINT_LABEL)); - } - } - } - } - return cc.canExecute() ? new ICommandProxy(cc.reduce()) : null; - } - - - - - -} \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/dnd/ConstraintPropertyDropStrategy.java b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/dnd/ConstraintPropertyDropStrategy.java deleted file mode 100644 index 33f5797..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/dnd/ConstraintPropertyDropStrategy.java +++ /dev/null
@@ -1,114 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.parametric.dnd; - -import java.util.ArrayList; -import java.util.List; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gef.EditPart; -import org.eclipse.gef.Request; -import org.eclipse.gef.commands.Command; -import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; -import org.eclipse.gmf.runtime.diagram.ui.commands.ICommandProxy; -import org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart; -import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart; -import org.eclipse.gmf.runtime.diagram.ui.requests.RequestConstants; -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; -import org.eclipse.papyrus.infra.gmfdiag.dnd.strategy.ExpansionElementDropStrategy; -import org.eclipse.papyrus.sysml14.diagram.common.util.GraphicalSysMLServiceTypeUtil; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ClassCompositeCompartmentEditPart; - -/** - * This strategy is a specialization in order to be able to drop Constraint inside constraint Property - * - */ -public class ConstraintPropertyDropStrategy extends ExpansionElementDropStrategy implements IParametricDropStrategy { - - private static final int LOWEST_PRIORITY = -1000; - /** - * ID tje internal Structure of a block - */ - private static final String INTERNAL_STRUCTURE_ID = ClassCompositeCompartmentEditPart.VISUAL_ID; - - @Override - public String getCategoryID() { - return PARAMETRIC_DROP_CATEGORY_ID; - } - - @Override - public String getCategoryLabel() { - return PARAMETRIC_DROP_CATEGORY_LABEL; - } - - @Override - public String getID() { - return "org.eclipse.papyrus.sysml14.diagram.parametric.dnd.ConstraintPropertyDropStrategy"; - } - - @Override - public String getLabel() { - return "Constraint Property drag and drop inside parametric diagram"; - } - - @Override - public String getDescription() { - return "This strategy is is a specialization in order to be able to drop a Constraint Property inside Parametric diagram."; - } - - /** - * @see org.eclipse.papyrus.infra.gmfdiag.dnd.strategy.ExpansionElementDropStrategy#getPriority() - * - * @return - */ - @Override - public int getPriority() { - return LOWEST_PRIORITY; - } - - @Override - public Command doGetCommand(Request request, final EditPart targetEditPart) { - if (RequestConstants.REQ_MOVE_CHILDREN.equals(request.getType())) { - return null; - } - - CompositeCommand cc = new CompositeCommand(getLabel()); - if (targetEditPart instanceof GraphicalEditPart) { - IGraphicalEditPart graphicalEditPart = (IGraphicalEditPart) targetEditPart; - List<EObject> sourceElements = getSourceEObjects(request); - if (sourceElements.isEmpty()) { - return null; - } - - final List<EObject> valuesToAdd = new ArrayList<>(sourceElements.size()); - final ISpecializationType constraintPropertyElementType = (ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_CONSTRAINTPROPERTY); - // the target must me a constraint property - if (INTERNAL_STRUCTURE_ID.equals(graphicalEditPart.getNotationView().getType())) { - for (EObject sourceElement : sourceElements) { - if (constraintPropertyElementType.getMatcher().matches(sourceElement)) { - final ISpecializationType type = (ISpecializationType) ElementTypeRegistry.getInstance().getType(GraphicalSysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_CONSTRAINT_PROPERTY_COMPOSITE); - addCommandDrop(targetEditPart, cc, valuesToAdd, sourceElement, type); - } - - } - } - } - return cc.canExecute() ? new ICommandProxy(cc.reduce()) : null; - } - - - - - -} \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/dnd/IParametricDropStrategy.java b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/dnd/IParametricDropStrategy.java deleted file mode 100644 index 9dd9354..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/dnd/IParametricDropStrategy.java +++ /dev/null
@@ -1,25 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.diagram.parametric.dnd; - -/** - * This interface is used to capitalize constant about Drop strategy of the parametric diagram - * - */ -public interface IParametricDropStrategy { - - String PARAMETRIC_DROP_CATEGORY_ID = "org.eclipse.papyrus.sysml14.diagram.parametric"; //$NON-NLS-1$ - - String PARAMETRIC_DROP_CATEGORY_LABEL = "Parameter drag and drop"; //$NON-NLS-1$ -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/dnd/ParameterDropStrategy.java b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/dnd/ParameterDropStrategy.java deleted file mode 100644 index df4a14b..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/dnd/ParameterDropStrategy.java +++ /dev/null
@@ -1,113 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Bug 510842 - ClassCastException - * Nicolas FAUVERGUE (CEA LIST) nicolas.fauvergue@cea.fr - Bug 512306 - Drop of parameter in Class_Shape - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.parametric.dnd; - -import java.util.ArrayList; -import java.util.List; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gef.EditPart; -import org.eclipse.gef.Request; -import org.eclipse.gef.commands.Command; -import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; -import org.eclipse.gmf.runtime.diagram.ui.commands.ICommandProxy; -import org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart; -import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart; -import org.eclipse.gmf.runtime.diagram.ui.requests.RequestConstants; -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; -import org.eclipse.papyrus.infra.gmfdiag.dnd.strategy.ExpansionElementDropStrategy; -import org.eclipse.papyrus.sysml14.diagram.common.util.GraphicalSysMLServiceTypeUtil; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.Type; - -/** - * This strategy is a specialization in order to be able to drop Parameter inside Parameter Property - * this code is link to the parametric because the parameter as border item is only display in the parametric Diagram - */ -public class ParameterDropStrategy extends ExpansionElementDropStrategy implements IParametricDropStrategy { - - @Override - public String getCategoryID() { - return PARAMETRIC_DROP_CATEGORY_ID; - } - - @Override - public String getCategoryLabel() { - return PARAMETRIC_DROP_CATEGORY_LABEL; - } - - @Override - public String getLabel() { - return "Parameter drag and drop"; - } - - @Override - public String getID() { - return "org.eclipse.papyrus.sysml14.diagram.parametric.dnd.ParameterDropStrategy"; //$NON-NLS-1$ - } - - @Override - public String getDescription() { - return "This strategy is is a specialization in order to be able to drop a Parameter."; - } - - - @Override - public Command doGetCommand(Request request, final EditPart targetEditPart) { - if (RequestConstants.REQ_MOVE_CHILDREN.equals(request.getType())) { - return null; - } - - CompositeCommand cc = new CompositeCommand(getLabel()); - if (targetEditPart instanceof GraphicalEditPart) { - IGraphicalEditPart graphicalEditPart = (IGraphicalEditPart) targetEditPart; - List<EObject> sourceElements = getSourceEObjects(request); - if (sourceElements.isEmpty()) { - return null; - } - - final List<EObject> valuesToAdd = new ArrayList<>(sourceElements.size()); - final ISpecializationType parameterPropertyElementType = (ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_CONSTRAINTPROPERTY); - if (null == parameterPropertyElementType) { - return null; - } - // the target must be a Parameter property - EObject target = graphicalEditPart.resolveSemanticElement(); - if (parameterPropertyElementType.getMatcher().matches(target) && target instanceof Property && ((Property) target).getType() != null) { - Type targetType = ((Property) target).getType(); - for (EObject sourceElement : sourceElements) { - if ((sourceElement instanceof Property) && sourceElement.eContainer().equals(targetType)) { - addCommandDrop(targetEditPart, cc, valuesToAdd, sourceElement, (ISpecializationType) ElementTypeRegistry.getInstance().getType(GraphicalSysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_PARAMETER_BORDER_ITEM)); - } - } - // - } else { - final ISpecializationType constraintBlockElementType = (ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_CONSTRAINTBLOCK); - if (null == constraintBlockElementType) { - return null; - } - - if (constraintBlockElementType.getMatcher().matches(target) && targetEditPart.getParent() instanceof GraphicalEditPart) { - for (final EObject sourceElement : sourceElements) { - addCommandDrop(targetEditPart.getParent(), cc, valuesToAdd, sourceElement, (ISpecializationType) ElementTypeRegistry.getInstance().getType(GraphicalSysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_PARAMETER_BORDER_ITEM)); - } - } - } - } - return cc.canExecute() ? new ICommandProxy(cc.reduce()) : null; - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/edit/part/ParameterBorderItemNameEditPart.java b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/edit/part/ParameterBorderItemNameEditPart.java deleted file mode 100644 index 66801b8..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/edit/part/ParameterBorderItemNameEditPart.java +++ /dev/null
@@ -1,34 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.diagram.parametric.edit.part; - -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.papyrus.infra.gmfdiag.common.editpart.IControlParserForDirectEdit; -import org.eclipse.papyrus.uml.diagram.common.editparts.BorderItemNameEditPart; - -/** - * This class is fix in order to let the xtext parser to change the parser of the editpart. - * - */ -public class ParameterBorderItemNameEditPart extends BorderItemNameEditPart implements IControlParserForDirectEdit { - - /** - * Constructor. - * - * @param view - */ - public ParameterBorderItemNameEditPart(View view) { - super(view); - } -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/edit/part/ParameterBorderItermEditPart.java b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/edit/part/ParameterBorderItermEditPart.java deleted file mode 100644 index 85f44a9..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/edit/part/ParameterBorderItermEditPart.java +++ /dev/null
@@ -1,68 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.diagram.parametric.edit.part; - -import org.eclipse.draw2d.IFigure; -import org.eclipse.gef.EditPolicy; -import org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles; -import org.eclipse.gmf.runtime.diagram.ui.figures.IBorderItemLocator; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.DefaultGraphicalNodeEditPolicy; -import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.DefaultSemanticEditPolicy; -import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.GetChildLayoutEditPolicy; -import org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.IMaskManagedLabelEditPolicy; -import org.eclipse.papyrus.sysml14.diagram.parametric.locator.ParameterPositionLocator; -import org.eclipse.papyrus.uml.diagram.common.editparts.AroundBorderItemEditPart; -import org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeIconlDisplayEditPolicy; -import org.eclipse.papyrus.uml.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy; -import org.eclipse.papyrus.uml.diagram.common.editpolicies.MaskManagedNodeEditPolicy; -import org.eclipse.papyrus.uml.diagram.composite.custom.edit.policies.BehaviorPortEditPolicy; -import org.eclipse.papyrus.uml.diagram.composite.custom.edit.policies.CustomDiagramDragDropEditPolicy; -import org.eclipse.papyrus.uml.diagram.composite.custom.edit.policies.PortLayoutEditPolicy; - - -/** - * this a the editpart for Parameter that constraints the path of the border item to be internal. - */ -public class ParameterBorderItermEditPart extends AroundBorderItemEditPart { - - /** - * Constructor. - * - * @param view - */ - public ParameterBorderItermEditPart(View view) { - super(view); - } - - @Override - public IBorderItemLocator getNewBorderItemLocator(IFigure mainFigure) { - return new ParameterPositionLocator(mainFigure); - } - - @Override - protected void createDefaultEditPolicies() { - super.createDefaultEditPolicies(); - installEditPolicy(EditPolicy.PRIMARY_DRAG_ROLE, getPrimaryDragEditPolicy()); - installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE, new DefaultSemanticEditPolicy()); - installEditPolicy(EditPolicy.GRAPHICAL_NODE_ROLE, new DefaultGraphicalNodeEditPolicy()); - installEditPolicy(EditPolicy.LAYOUT_ROLE, createLayoutEditPolicy()); - installEditPolicy(AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY,new AppliedStereotypeIconlDisplayEditPolicy()); - installEditPolicy(EditPolicy.LAYOUT_ROLE, new PortLayoutEditPolicy()); - installEditPolicy(EditPolicyRoles.DRAG_DROP_ROLE, new CustomDiagramDragDropEditPolicy()); - installEditPolicy(BehaviorPortEditPolicy.BEHAVIOR_PORT, new BehaviorPortEditPolicy()); - installEditPolicy(IMaskManagedLabelEditPolicy.MASK_MANAGED_LABEL_EDIT_POLICY, new MaskManagedNodeEditPolicy()); - installEditPolicy(EditPolicy.LAYOUT_ROLE, new GetChildLayoutEditPolicy()); - } -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/internal/factory/BlockCompositeViewFactory.java b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/internal/factory/BlockCompositeViewFactory.java deleted file mode 100644 index 5762d78..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/internal/factory/BlockCompositeViewFactory.java +++ /dev/null
@@ -1,63 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.parametric.internal.factory; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint; -import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil; -import org.eclipse.gmf.runtime.notation.Location; -import org.eclipse.gmf.runtime.notation.Node; -import org.eclipse.gmf.runtime.notation.NotationFactory; -import org.eclipse.gmf.runtime.notation.Shape; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.jface.preference.IPreferenceStore; -import org.eclipse.papyrus.sysml14.diagram.common.internal.factory.AbstractBasicViewFactory; -import org.eclipse.papyrus.uml.diagram.common.helper.PreferenceInitializerForElementHelper; -import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ClassCompositeEditPart; -import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ClassCompositeFloatingLabelEditPart; -import org.eclipse.papyrus.uml.diagram.composite.edit.parts.ClassCompositeNameEditPart; -import org.eclipse.papyrus.uml.diagram.composite.part.UMLVisualIDRegistry; - -/** - * - * extraction from Composite UML view Provider - * - */ -public class BlockCompositeViewFactory extends AbstractBasicViewFactory { - - /** - * Base element of Block - */ - private static final String CLASS = "Class";//$NON-NLS-1$ - - @Override - public View createElementView(EObject domainElement, View containerView, String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint) { - Shape node = NotationFactory.eINSTANCE.createShape(); - node.setLayoutConstraint(NotationFactory.eINSTANCE.createBounds()); - node.setType(UMLVisualIDRegistry.getType(ClassCompositeEditPart.VISUAL_ID)); - ViewUtil.insertChildView(containerView, node, index, persisted); - node.setElement(domainElement); - // initializeFromPreferences - final IPreferenceStore prefStore = (IPreferenceStore) preferencesHint.getPreferenceStore(); - PreferenceInitializerForElementHelper.initFontStyleFromPrefs(node, prefStore, CLASS); - createLabel(node, UMLVisualIDRegistry.getType(ClassCompositeNameEditPart.VISUAL_ID)); - Node floatinglLabel = createLabel(node, UMLVisualIDRegistry.getType(ClassCompositeFloatingLabelEditPart.VISUAL_ID)); - floatinglLabel.setLayoutConstraint(NotationFactory.eINSTANCE.createLocation()); - Location location6089 = (Location) floatinglLabel.getLayoutConstraint(); - location6089.setX(0); - location6089.setY(5); - PreferenceInitializerForElementHelper.initCompartmentsStatusFromPrefs(node, prefStore, CLASS); - return node; - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/internal/factory/BorderItemViewFactory.java b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/internal/factory/BorderItemViewFactory.java deleted file mode 100644 index a4abc96..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/internal/factory/BorderItemViewFactory.java +++ /dev/null
@@ -1,50 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.diagram.parametric.internal.factory; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint; -import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil; -import org.eclipse.gmf.runtime.notation.NotationFactory; -import org.eclipse.gmf.runtime.notation.Shape; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.papyrus.sysml14.diagram.common.internal.factory.AbstractBasicViewFactory; - -/** - * this specific view factory for parameter element of the constraint block - * - */ -public class BorderItemViewFactory extends AbstractBasicViewFactory { - - /** - * @see org.eclipse.papyrus.sysml14.diagram.common.internal.factory.IBasicViewFactory#createElementView(org.eclipse.emf.ecore.EObject, org.eclipse.gmf.runtime.notation.View, java.lang.String, int, boolean, org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint) - * - * @param domainElement - * @param containerView - * @param semanticHint - * @param index - * @param persisted - * @param preferencesHint - * @return - */ - @Override - public View createElementView(EObject domainElement, View containerView, String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint) { - Shape node = NotationFactory.eINSTANCE.createShape(); - node.setLayoutConstraint(NotationFactory.eINSTANCE.createBounds()); - node.setType(semanticHint); - ViewUtil.insertChildView(containerView, node, index, persisted); - node.setElement(domainElement); - return node; - } -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/internal/factory/ConstraintPropertyViewFactory.java b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/internal/factory/ConstraintPropertyViewFactory.java deleted file mode 100644 index c525c26..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/internal/factory/ConstraintPropertyViewFactory.java +++ /dev/null
@@ -1,64 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.diagram.parametric.internal.factory; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint; -import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil; -import org.eclipse.gmf.runtime.notation.Location; -import org.eclipse.gmf.runtime.notation.Node; -import org.eclipse.gmf.runtime.notation.NotationFactory; -import org.eclipse.gmf.runtime.notation.Shape; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.jface.preference.IPreferenceStore; -import org.eclipse.papyrus.sysml14.diagram.common.internal.factory.AbstractBasicViewFactory; -import org.eclipse.papyrus.uml.diagram.common.helper.PreferenceInitializerForElementHelper; -import org.eclipse.papyrus.uml.diagram.composite.edit.parts.PropertyPartCompartmentEditPartCN; -import org.eclipse.papyrus.uml.diagram.composite.edit.parts.PropertyPartFloatingLabelEditPartCN; -import org.eclipse.papyrus.uml.diagram.composite.edit.parts.PropertyPartNameEditPartCN; -import org.eclipse.papyrus.uml.diagram.composite.part.UMLVisualIDRegistry; - -/** - * extraction from Composite View Provider UML view Provider - * - */ -public class ConstraintPropertyViewFactory extends AbstractBasicViewFactory { - - /** - * Base element of ConstraintProperty - */ - private static final String PROPERTY = "Property";//$NON-NLS-1$ - - @Override - public View createElementView(EObject domainElement, View containerView, String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint) { - Shape node = NotationFactory.eINSTANCE.createShape(); - node.setLayoutConstraint(NotationFactory.eINSTANCE.createBounds()); - node.setType(semanticHint); - ViewUtil.insertChildView(containerView, node, index, persisted); - node.setElement(domainElement); - // initializeFromPreferences - final IPreferenceStore prefStore = (IPreferenceStore) preferencesHint.getPreferenceStore(); - PreferenceInitializerForElementHelper.initFontStyleFromPrefs(node, prefStore, PROPERTY); - createLabel(node, UMLVisualIDRegistry.getType(PropertyPartNameEditPartCN.VISUAL_ID)); - Node floatingLabel = createLabel(node, UMLVisualIDRegistry.getType(PropertyPartFloatingLabelEditPartCN.VISUAL_ID)); - floatingLabel.setLayoutConstraint(NotationFactory.eINSTANCE.createLocation()); - Location location6054 = (Location) floatingLabel.getLayoutConstraint(); - location6054.setX(0); - location6054.setY(5); - createCompartment(node, UMLVisualIDRegistry.getType(PropertyPartCompartmentEditPartCN.VISUAL_ID), true, true, false, false); - PreferenceInitializerForElementHelper.initCompartmentsStatusFromPrefs(node, prefStore, PROPERTY); - return node; - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/locator/ParameterPositionLocator.java b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/locator/ParameterPositionLocator.java deleted file mode 100644 index 0b6c0c5..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/locator/ParameterPositionLocator.java +++ /dev/null
@@ -1,60 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.diagram.parametric.locator; - -import org.eclipse.draw2d.IFigure; -import org.eclipse.papyrus.infra.gmfdiag.common.utils.PortPositionEnum; -import org.eclipse.papyrus.uml.diagram.common.locator.PortPositionLocator; - - -/** - * This border locator do not take in account CSS, its always internal. - * So For this reason SertPortPosition() has been overloaded. - * - */ -public class ParameterPositionLocator extends PortPositionLocator { - - - /** - * Constructor. - * @param parentFigure - */ - public ParameterPositionLocator(IFigure parentFigure) { - super(parentFigure); - } - - /** - * @see org.eclipse.papyrus.uml.diagram.common.locator.PortPositionLocator#setPortPosition(java.lang.String) - * - * @param position - * @deprecated (to be removed only when the deprecated parent is removed) - */ - @Override - @Deprecated - public void setPortPosition(String position) { - // Always internal - super.setPortPosition(PortPositionEnum.INSIDE.toString()); - } - - /** - * @see org.eclipse.papyrus.uml.diagram.common.locator.PortPositionLocator#setPosition(org.eclipse.papyrus.infra.gmfdiag.common.utils.PortPositionEnum) - * - * @param position - */ - @Override - public void setPosition(PortPositionEnum position) { - super.setPosition(PortPositionEnum.INSIDE); - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/provider/ParserProvider.java b/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/provider/ParserProvider.java deleted file mode 100644 index d2ee7fa..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.parametric/src/org/eclipse/papyrus/sysml14/diagram/parametric/provider/ParserProvider.java +++ /dev/null
@@ -1,35 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * - * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.parametric.provider; - -import org.eclipse.gmf.runtime.common.ui.services.parser.IParserProvider; -import org.eclipse.papyrus.sysml14.diagram.common.provider.AbstractParserProvider; -import org.eclipse.papyrus.uml.diagram.common.parser.PropertyLabelParser; - -/** - * Parser provider for labels used by the parametric diagram. - */ -public class ParserProvider extends AbstractParserProvider implements IParserProvider { - - private static final String PARAMETER_LABEL = "ParameterLabel"; //$NON-NLS-1$ - - /** - * Constructor. - * - */ - public ParserProvider() { - graphicalHintToParser.put(PARAMETER_LABEL, new PropertyLabelParser()); - } - -} \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/.project b/diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/.project deleted file mode 100644 index 7d13db9..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/.project +++ /dev/null
@@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.diagram.requirement.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> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/META-INF/MANIFEST.MF b/diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/META-INF/MANIFEST.MF deleted file mode 100644 index 1f2eec2..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,11 +0,0 @@ -Manifest-Version: 1.0 -Require-Bundle: org.junit;bundle-version="[4.11.0,5.0.0)" -Bundle-Vendor: %Bundle-Vendor -Bundle-Version: 1.2.0.qualifier -Bundle-Name: %Bundle-Name -Bundle-Localization: plugin -Bundle-ManifestVersion: 2 -Fragment-Host: org.eclipse.papyrus.sysml14.diagram.requirement;bundle-version="1.0.0" -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.diagram.requirement.tests -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/plugin.properties b/diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/plugin.properties deleted file mode 100644 index 7cacb2a..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/plugin.properties +++ /dev/null
@@ -1,14 +0,0 @@ -################################################################################# -# Copyright (c) 2015 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: -# -# Francois Le Fevre (CEA LIST) francois.le-fevre@cea.fr - Initial API and implementation -# -################################################################################## -Bundle-Name=Papyrus SysML 1.4 Requirement Diagram Tests -Bundle-Vendor=Eclipse Modeling Project
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/pom.xml b/diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/pom.xml deleted file mode 100644 index f51a07a..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/pom.xml +++ /dev/null
@@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" - xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.eclipse.papyrus.sysml</groupId> - <artifactId>org.eclipse.papyrus.sysml14.diagram</artifactId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.diagram.requirement.tests</artifactId> - <packaging>eclipse-test-plugin</packaging> - <name>org.eclipse.papyrus.sysml14.diagram.requirement.tests</name> - <description>This plug-in contains the unit tests relatives to SysML 1.4 requirement diagram.</description> -</project>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/src/org/eclipse/papyrus/sysml14/diagram/requirement/tests/resources/ModelValidationTest.java b/diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/src/org/eclipse/papyrus/sysml14/diagram/requirement/tests/resources/ModelValidationTest.java deleted file mode 100644 index f4e766d..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement.tests/src/org/eclipse/papyrus/sysml14/diagram/requirement/tests/resources/ModelValidationTest.java +++ /dev/null
@@ -1,80 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.diagram.requirement.tests.resources; - -import java.util.Arrays; -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.ecore.util.Diagnostician; -import org.eclipse.papyrus.sysml14.diagram.requirement.Activator; -import org.junit.Assert; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.Parameterized; -import org.junit.runners.Parameterized.Parameters; - -/** - * This is a parameterized test to validate all model in the plugin - * - * @author Benoit Maggi - */ -@SuppressWarnings("nls") -@RunWith(Parameterized.class) -public class ModelValidationTest { - - @Parameters - public static Collection<Object[]> data() { - return Arrays.asList(new Object[][] { - // TODO: should be valid {"/resources/style/requirementDiagram.css"}, - // FIXME should be valid {"/resources/doc/org.eclipse.papyrus.sysml14.diagram.requirement.uml"}, - //TODO: code a utility migration script {"/resources/doc/org.eclipse.papyrus.sysml14.diagram.requirement.notation"}, - {"/resources/palette/requirementDiagram.paletteconfiguration"}, - }); - } - - private String modelPath; - - public ModelValidationTest(String modelPath) { - this.modelPath = modelPath; - } - - /** - * Validate the model with the rules defined in the meta-model tooling - */ - @Test - public void validateModel() { - String fullPath = Activator.PLUGIN_ID + this.modelPath; - URI modelPlatformURI = URI.createPlatformPluginURI(fullPath, true); - Resource resource = new ResourceSetImpl().getResource(modelPlatformURI, true); - Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); - Assert.assertEquals("The "+modelPath+" model is invalid "+print(diagnostic), Diagnostic.OK, diagnostic.getSeverity()); - } - - // FIXME : Something should exist in API to do that - private String print(Diagnostic diagnostic) { - List<Diagnostic> children = diagnostic.getChildren(); - StringBuilder stringBuilder = new StringBuilder(diagnostic.getMessage()); - for (Diagnostic diagnosticChildren : children) { - stringBuilder.append("\n"); //$NON-NLS-1$ - stringBuilder.append(diagnosticChildren.getMessage()); - } - return stringBuilder.toString(); - } - -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/.project b/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/.project deleted file mode 100644 index ec4fe92..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/.project +++ /dev/null
@@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.diagram.requirement</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> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/META-INF/MANIFEST.MF b/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/META-INF/MANIFEST.MF deleted file mode 100644 index cea1d44..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,16 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %Bundle-Name -Bundle-Localization: plugin -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.diagram.requirement;singleton:=true -Bundle-Version: 1.2.0.qualifier -Bundle-Activator: org.eclipse.papyrus.sysml14.diagram.requirement.Activator -Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.11.1,4.0.0)", - org.eclipse.gmf.runtime.diagram.core;bundle-version="[1.7.0,2.0.0)", - org.eclipse.ui.workbench;bundle-version="[3.107.0,4.0.0)", - org.eclipse.jface;bundle-version="[3.11.0,4.0.0)", - org.eclipse.papyrus.infra.viewpoints.policy;bundle-version="[2.0.0,3.0.0)", - org.eclipse.papyrus.sysml14.diagram.common;bundle-version="1.0.0" -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Bundle-ActivationPolicy: lazy -Bundle-Vendor: %Bundle-Vendor
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/build.properties b/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/build.properties deleted file mode 100644 index 5424003..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/build.properties +++ /dev/null
@@ -1,9 +0,0 @@ -source.. = src/ -output.. = target/classes/ -bin.includes = META-INF/,\ - .,\ - plugin.xml,\ - about.html,\ - resources/,\ - plugin.properties -src.includes = about.html
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/plugin.properties b/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/plugin.properties deleted file mode 100644 index 34931e9..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/plugin.properties +++ /dev/null
@@ -1,15 +0,0 @@ -################################################################################# -# Copyright (c) 2015 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: -# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation -################################################################################## -Bundle-Name= Papyrus SysML 1.4 Requirement Diagram -Bundle-Description=This plug-in contains the requirement diagram of SysML 1.4 -Bundle-Vendor=Eclipse Modeling Project - -
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/plugin.xml b/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/plugin.xml deleted file mode 100644 index 069358b..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/plugin.xml +++ /dev/null
@@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?eclipse version="3.4"?> -<!-- - Copyright (c) 2015 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: - Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation ---> - -<plugin> - -</plugin>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/pom.xml b/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/pom.xml deleted file mode 100644 index 23419ed..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/pom.xml +++ /dev/null
@@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" -xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.eclipse.papyrus.sysml</groupId> - <artifactId>org.eclipse.papyrus.sysml14.diagram</artifactId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.diagram.requirement</artifactId> - <packaging>eclipse-plugin</packaging> - <name>org.eclipse.papyrus.sysml14.diagram.requirement</name> - <description>This plugin is in charge of defining the SysML 1.4 Requirement Diagram using the following frameworks: viewpoint, expansion model, palette and css.</description> -</project> \ No newline at end of file
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/resources/doc/org.eclipse.papyrus.sysml14.diagram.requirement.notation b/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/resources/doc/org.eclipse.papyrus.sysml14.diagram.requirement.notation deleted file mode 100644 index 3a8ddcd..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/resources/doc/org.eclipse.papyrus.sysml14.diagram.requirement.notation +++ /dev/null
@@ -1,132 +0,0 @@ -<?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:configuration="http://www.eclipse.org/papyrus/infra/viewpoints/configuration" xmlns:css="http://www.eclipse.org/papyrus/infra/gmfdiag/css" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:nattable="http://www.eclipse.org/papyrus/nattable/model" xmlns:nattableaxis="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis" xmlns:nattableaxisconfiguration="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration" xmlns:nattableaxisprovider="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider" xmlns:nattableconfiguration="http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration" xmlns:nattablestyle="http://www.eclipse.org/papyrus/nattable/model/table/nattablestyle" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis http://www.eclipse.org/papyrus/nattable/model#//nattableaxis http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration http://www.eclipse.org/papyrus/nattable/model#//nattableaxisconfiguration http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider http://www.eclipse.org/papyrus/nattable/model#//nattableaxisprovider http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration http://www.eclipse.org/papyrus/nattable/model#//nattableconfiguration http://www.eclipse.org/papyrus/nattable/model/table/nattablestyle http://www.eclipse.org/papyrus/nattable/model#//nattablestyle"> - <notation:Diagram xmi:id="_OF23gOLIEeSv5dwvZ9NSDw" type="PapyrusUMLClassDiagram" name="Overview" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_OF3ekOLIEeSv5dwvZ9NSDw" type="Model_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3ekeLIEeSv5dwvZ9NSDw" type="Model_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_CFPU0JoSEeeOUvsiG0ZmwQ" type="Model_PackagedElementCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_OF3ek-LIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3elOLIEeSv5dwvZ9NSDw"/> - </children> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.requirement.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eleLIEeSv5dwvZ9NSDw" x="201" y="38"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_OF3eluLIEeSv5dwvZ9NSDw" type="Model_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3el-LIEeSv5dwvZ9NSDw" type="Model_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_CFP74JoSEeeOUvsiG0ZmwQ" type="Model_PackagedElementCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_OF3emeLIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3emuLIEeSv5dwvZ9NSDw"/> - </children> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.requirement.uml#_OFsfc-LIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3em-LIEeSv5dwvZ9NSDw" x="204" y="173"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_OF3enOLIEeSv5dwvZ9NSDw" type="Model_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3eneLIEeSv5dwvZ9NSDw" type="Model_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_CFQi8JoSEeeOUvsiG0ZmwQ" type="Model_PackagedElementCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_OF3en-LIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eoOLIEeSv5dwvZ9NSDw"/> - </children> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.requirement.uml#_OFsfduLIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eoeLIEeSv5dwvZ9NSDw" x="206" y="329"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_OF3eouLIEeSv5dwvZ9NSDw" type="Model_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3eo-LIEeSv5dwvZ9NSDw" type="Model_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="_CFRKAJoSEeeOUvsiG0ZmwQ" type="Model_PackagedElementCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_OF3epeLIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3epuLIEeSv5dwvZ9NSDw"/> - </children> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.requirement.uml#_OFsfeOLIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3ep-LIEeSv5dwvZ9NSDw" x="635" y="324"/> - </children> - <styles xmi:type="notation:DiagramStyle" xmi:id="_OF3eqOLIEeSv5dwvZ9NSDw"/> - <styles xmi:type="style:PapyrusViewStyle" xmi:id="_OF3eqeLIEeSv5dwvZ9NSDw"> - <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.requirement.uml#_OFsfcOLIEeSv5dwvZ9NSDw"/> - <configuration xmi:type="configuration:PapyrusDiagram" href="platform:/plugin/org.eclipse.papyrus.infra.viewpoints.policy/builtin/default.configuration#_7wLmpNxhEeOqHvRyiN87hA"/> - </styles> - <styles xmi:type="notation:StringValueStyle" xmi:id="_ffusMFCLEeWVDv-g61eepg" name="diagram_compatibility_version" stringValue="1.3.0"/> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.requirement.uml#_OFsfcOLIEeSv5dwvZ9NSDw"/> - </notation:Diagram> - <css:ModelStyleSheets xmi:id="_MXBlUOc1EeSLdPGe2q9R0g"/> - <notation:Diagram xmi:id="_uc4A8FCLEeWVDv-g61eepg" type="PapyrusUMLClassDiagram" name="Requirement Tracability" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_vbHx4FCLEeWVDv-g61eepg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_vbHx4VCLEeWVDv-g61eepg" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_vbIY8FCLEeWVDv-g61eepg" name="BASE_ELEMENT"/> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_vbHx4lCLEeWVDv-g61eepg" x="200"/> - </children> - <children xmi:type="notation:Shape" xmi:id="__C9CY1CLEeWVDv-g61eepg" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="__C9CZFCLEeWVDv-g61eepg" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="__C9CZlCLEeWVDv-g61eepg" name="BASE_ELEMENT"/> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="__C9CZVCLEeWVDv-g61eepg" x="481" y="260"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_5w2pYGBfEeWhfPUqbhxdNA" type="2008"> - <children xmi:type="notation:DecorationNode" xmi:id="_5w5ssGBfEeWhfPUqbhxdNA" type="5029"/> - <children xmi:type="notation:DecorationNode" xmi:id="_5w5ssWBfEeWhfPUqbhxdNA" type="8510"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_5w5ssmBfEeWhfPUqbhxdNA" y="5"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_5w6TwGBfEeWhfPUqbhxdNA" type="7017"> - <styles xmi:type="notation:TitleStyle" xmi:id="_5w6TwWBfEeWhfPUqbhxdNA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_5w6TwmBfEeWhfPUqbhxdNA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_5w6Tw2BfEeWhfPUqbhxdNA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5w6TxGBfEeWhfPUqbhxdNA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_5w660GBfEeWhfPUqbhxdNA" type="7018"> - <styles xmi:type="notation:TitleStyle" xmi:id="_5w660WBfEeWhfPUqbhxdNA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_5w660mBfEeWhfPUqbhxdNA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_5w6602BfEeWhfPUqbhxdNA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5w661GBfEeWhfPUqbhxdNA"/> - </children> - <children xmi:type="notation:BasicCompartment" xmi:id="_5w661WBfEeWhfPUqbhxdNA" type="7019"> - <styles xmi:type="notation:TitleStyle" xmi:id="_5w661mBfEeWhfPUqbhxdNA"/> - <styles xmi:type="notation:SortingStyle" xmi:id="_5w6612BfEeWhfPUqbhxdNA"/> - <styles xmi:type="notation:FilteringStyle" xmi:id="_5w662GBfEeWhfPUqbhxdNA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5w662WBfEeWhfPUqbhxdNA"/> - </children> - <element xmi:type="uml:Class" href="platform:/resource/org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml14/doc/omg.sysml.uml#_66WcNjq8EeW79ofuztDyTA"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5w2pYWBfEeWhfPUqbhxdNA" x="120" y="20"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_5xN1wGBfEeWhfPUqbhxdNA" type="StereotypeComment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_5xN1wWBfEeWhfPUqbhxdNA" showTitle="true"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_5xN1w2BfEeWhfPUqbhxdNA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="platform:/resource/org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml14/doc/omg.sysml.uml#_66WcNjq8EeW79ofuztDyTA"/> - </styles> - <element xsi:nil="true"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_5xN1wmBfEeWhfPUqbhxdNA" x="200"/> - </children> - <styles xmi:type="notation:StringValueStyle" xmi:id="_uc4A8VCLEeWVDv-g61eepg" name="diagram_compatibility_version" stringValue="1.1.0"/> - <styles xmi:type="notation:DiagramStyle" xmi:id="_uc4A8lCLEeWVDv-g61eepg"/> - <styles xmi:type="style:PapyrusViewStyle" xmi:id="_uc4A81CLEeWVDv-g61eepg"> - <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.requirement.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> - </styles> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.requirement.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> - <edges xmi:type="notation:Connector" xmi:id="_5xOc0GBfEeWhfPUqbhxdNA" type="StereotypeCommentLink" source="_5w2pYGBfEeWhfPUqbhxdNA" target="_5xN1wGBfEeWhfPUqbhxdNA"> - <styles xmi:type="notation:FontStyle" xmi:id="_5xOc0WBfEeWhfPUqbhxdNA"/> - <styles xmi:type="notation:EObjectValueStyle" xmi:id="_5xOc1WBfEeWhfPUqbhxdNA" name="BASE_ELEMENT"> - <eObjectValue xmi:type="uml:Class" href="platform:/resource/org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml14/doc/omg.sysml.uml#_66WcNjq8EeW79ofuztDyTA"/> - </styles> - <element xsi:nil="true"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_5xOc0mBfEeWhfPUqbhxdNA" points="[0, 0, 0, 0]$[0, 0, 0, 0]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_5xOc02BfEeWhfPUqbhxdNA"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_5xOc1GBfEeWhfPUqbhxdNA"/> - </edges> - </notation:Diagram> - <nattable:Table xmi:id="_IpIfoJoSEeeOUvsiG0ZmwQ" name="Requirements" currentRowAxisProvider="_IpIfpJoSEeeOUvsiG0ZmwQ" currentColumnAxisProvider="_IpIfoZoSEeeOUvsiG0ZmwQ" tableKindId="org.eclipse.papyrus.sysml14.table.requirement"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_IpK74JoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/papyrus/infra/nattable/version"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_IpK74ZoSEeeOUvsiG0ZmwQ" key="version" value="1.3.0"/> - </eAnnotations> - <context xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.requirement.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> - <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.diagram.requirement.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> - <tableConfiguration xmi:type="nattableconfiguration:TableConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/resources/requirement.nattableconfiguration#/"/> - <columnAxisProvidersHistory xmi:type="nattableaxisprovider:SlaveObjectAxisProvider" xmi:id="_IpIfoZoSEeeOUvsiG0ZmwQ" description="Provides the columns of the tables with a default configuration" name="Requirements Feature Columns Provider"> - <axis xmi:type="nattableaxis:FeatureIdAxis" xmi:id="_IpIfopoSEeeOUvsiG0ZmwQ" element="property_of_stereotype:/SysML::Requirements::Requirement::id"> - <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_KhqHgJoSEeeOUvsiG0ZmwQ" name="axisWidth" intValue="447263319"/> - <manager xmi:type="nattableaxisconfiguration:AxisManagerRepresentation" href="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/resources/requirement.nattableconfiguration#//@columnHeaderAxisConfiguration/@axisManagers.1"/> - </axis> - <axis xmi:type="nattableaxis:FeatureIdAxis" xmi:id="_IpIfo5oSEeeOUvsiG0ZmwQ" element="property_of_stereotype:/SysML::Requirements::Requirement::text"> - <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_Kg9j8JoSEeeOUvsiG0ZmwQ" name="axisWidth" intValue="-1695573661"/> - <manager xmi:type="nattableaxisconfiguration:AxisManagerRepresentation" href="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/resources/requirement.nattableconfiguration#//@columnHeaderAxisConfiguration/@axisManagers.1"/> - </axis> - </columnAxisProvidersHistory> - <rowAxisProvidersHistory xmi:type="nattableaxisprovider:MasterObjectAxisProvider" xmi:id="_IpIfpJoSEeeOUvsiG0ZmwQ" description="Provides the requirements directly owned by the context of the table" name="Requirement Axis Provider" disconnectSlave="true"/> - </nattable:Table> -</xmi:XMI>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/resources/doc/org.eclipse.papyrus.sysml14.diagram.requirement.uml b/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/resources/doc/org.eclipse.papyrus.sysml14.diagram.requirement.uml deleted file mode 100644 index f3a9bad..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/resources/doc/org.eclipse.papyrus.sysml14.diagram.requirement.uml +++ /dev/null
@@ -1,122 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Requirements="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <uml:Model xmi:id="_OFsfcOLIEeSv5dwvZ9NSDw" name="org.eclipse.papyrus.sysml14.diagram.requirement"> - <packageImport xmi:type="uml:PackageImport" xmi:id="_OFsfceLIEeSv5dwvZ9NSDw"> - <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/> - </packageImport> - <packageImport xmi:type="uml:PackageImport" xmi:id="_qUP-sFCLEeWVDv-g61eepg"> - <importedPackage xmi:type="uml:Model" href="../../org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml#_d7ALQDqsEeWNg8WvR7UDoQ"/> - </packageImport> - <packagedElement xmi:type="uml:Model" xmi:id="_OFsfcuLIEeSv5dwvZ9NSDw" name="Requirements"> - <ownedComment xmi:type="uml:Comment" xmi:id="_dICO8Oc2EeSLdPGe2q9R0g"> - <body>This package will contains all graphical requirements for Sysml elements contained in the Requirement diagram</body> - </ownedComment> - <packagedElement xmi:type="uml:Class" xmi:id="_OiRpkGalEeWv7P_h5u3SSw" name="REQ_007 Elements for the requirement palette."> - <nestedClassifier xmi:type="uml:Class" xmi:id="_0hlkUGajEeWv7P_h5u3SSw" name="REQ_001 palette for Activity with TestCase stereotype."/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_B_D2EGakEeWv7P_h5u3SSw" name="REQ_002 palette for FunctionBehavior with TestCase stereotype"/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_DbohwGakEeWv7P_h5u3SSw" name="REQ_003 palette for Interaction with TestCase stereotype"/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_EWSzMGakEeWv7P_h5u3SSw" name="REQ_004 palette for OpaqueBehavior with TestCase stereotype"/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_FHHzMGakEeWv7P_h5u3SSw" name="REQ_005 palette for ProtocolStateMachine with TestCase stereotype"/> - <nestedClassifier xmi:type="uml:Class" xmi:id="_GEJcIGakEeWv7P_h5u3SSw" name="REQ_006 palette for StateMachine with TestCase stereotype"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_0lCg8GajEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-16.3.2.5 TestCase" client="_0hlkUGajEeWv7P_h5u3SSw"> - <supplier xmi:type="uml:Class" href="../../../org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml#_66XDTzq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_B_FrQGakEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-16.3.2.5 TestCase" client="_B_D2EGakEeWv7P_h5u3SSw"> - <supplier xmi:type="uml:Class" href="../../../org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml#_66XDTzq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_Dbpv4GakEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-16.3.2.5 TestCase" client="_DbohwGakEeWv7P_h5u3SSw"> - <supplier xmi:type="uml:Class" href="../../../org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml#_66XDTzq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_EWUBUGakEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-16.3.2.5 TestCase" client="_EWSzMGakEeWv7P_h5u3SSw"> - <supplier xmi:type="uml:Class" href="../../../org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml#_66XDTzq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_FHIaQWakEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-16.3.2.5 TestCase" client="_FHHzMGakEeWv7P_h5u3SSw"> - <supplier xmi:type="uml:Class" href="../../../org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml#_66XDTzq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_GEKqQGakEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-16.3.2.5 TestCase" client="_GEJcIGakEeWv7P_h5u3SSw"> - <supplier xmi:type="uml:Class" href="../../../org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml#_66XDTzq8EeW79ofuztDyTA"/> - </packagedElement> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_OiS3sGalEeWv7P_h5u3SSw" name="DeriveFrom_REQ-OMG-SYSML14-16.3.2.5 TestCase" client="_OiRpkGalEeWv7P_h5u3SSw"> - <supplier xmi:type="uml:Class" href="../../../org.eclipse.papyrus-sysml/core/org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml#_66XDTzq8EeW79ofuztDyTA"/> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Model" xmi:id="_OFsfc-LIEeSv5dwvZ9NSDw" name="UseCases"/> - <packagedElement xmi:type="uml:Model" xmi:id="_OFsfduLIEeSv5dwvZ9NSDw" name="Design"/> - <packagedElement xmi:type="uml:Model" xmi:id="_OFsfeOLIEeSv5dwvZ9NSDw" name="Test"/> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_OFsfgeLIEeSv5dwvZ9NSDw"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_OFsfguLIEeSv5dwvZ9NSDw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_OOJC4LX8EduFmqQsrNB9lw"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_kwfoYJoREeeOUvsiG0ZmwQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kwlvAJoREeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#/"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_kwxVMJoREeeOUvsiG0ZmwQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kwx8QJoREeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//activities"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Activities"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_kw1moJoREeeOUvsiG0ZmwQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kw2NsJoREeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//allocations"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Allocations"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_kw20wJoREeeOUvsiG0ZmwQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kw20wZoREeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//blocks"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_kw4C4JoREeeOUvsiG0ZmwQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kw4C4ZoREeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//constraintblocks"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ConstraintBlocks"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_kw5RAJoREeeOUvsiG0ZmwQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kw5RAZoREeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//deprecatedelements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_DeprecatedElements"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_kw54EJoREeeOUvsiG0ZmwQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kw6fIJoREeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//modelelements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ModelElements"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_kw7GMJoREeeOUvsiG0ZmwQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kw7tQJoREeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//portsandflows"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_kw8UUJoREeeOUvsiG0ZmwQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_kw8UUZoREeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements"/> - </profileApplication> - </uml:Model> - <Requirements:Requirement xmi:id="_0k9ocGajEeWv7P_h5u3SSw" text="Requirement Diagram should have a palette element to create Activity with TestCase stereotype.
TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=186" id="REQ_001" base_Class="_0hlkUGajEeWv7P_h5u3SSw"/> - <Requirements:DeriveReqt xmi:id="_0lE9MGajEeWv7P_h5u3SSw" base_Abstraction="_0lCg8GajEeWv7P_h5u3SSw"/> - <Requirements:Requirement xmi:id="_B_FEMGakEeWv7P_h5u3SSw" text="Requirement Diagram should have a palette element to create FunctionBehavior with TestCase stereotype.
TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=186" id="REQ_002" base_Class="_B_D2EGakEeWv7P_h5u3SSw"/> - <Requirements:DeriveReqt xmi:id="_B_G5YGakEeWv7P_h5u3SSw" base_Abstraction="_B_FrQGakEeWv7P_h5u3SSw"/> - <Requirements:Requirement xmi:id="_DbpI0GakEeWv7P_h5u3SSw" text="Requirement Diagram should have a palette element to create Interaction with TestCase stereotype.
TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=186" id="REQ_003" base_Class="_DbohwGakEeWv7P_h5u3SSw"/> - <Requirements:DeriveReqt xmi:id="_DbqW8GakEeWv7P_h5u3SSw" base_Abstraction="_Dbpv4GakEeWv7P_h5u3SSw"/> - <Requirements:Requirement xmi:id="_EWTaQGakEeWv7P_h5u3SSw" text="Requirement Diagram should have a palette element to create OpaqueBehavior with TestCase stereotype.
TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=186" id="REQ_004" base_Class="_EWSzMGakEeWv7P_h5u3SSw"/> - <Requirements:DeriveReqt xmi:id="_EWVPcGakEeWv7P_h5u3SSw" base_Abstraction="_EWUBUGakEeWv7P_h5u3SSw"/> - <Requirements:Requirement xmi:id="_FHIaQGakEeWv7P_h5u3SSw" text="Requirement Diagram should have a palette element to create ProtocolStateMachine with TestCase stereotype.
TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=186" id="REQ_005" base_Class="_FHHzMGakEeWv7P_h5u3SSw"/> - <Requirements:DeriveReqt xmi:id="_FHJBUGakEeWv7P_h5u3SSw" base_Abstraction="_FHIaQWakEeWv7P_h5u3SSw"/> - <Requirements:Requirement xmi:id="_GEKDMGakEeWv7P_h5u3SSw" text="Requirement Diagram should have a palette element to create StateMachine with TestCase stereotype.
TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=186" id="REQ_006" base_Class="_GEJcIGakEeWv7P_h5u3SSw"/> - <Requirements:DeriveReqt xmi:id="_GELRUGakEeWv7P_h5u3SSw" base_Abstraction="_GEKqQGakEeWv7P_h5u3SSw"/> - <Requirements:Requirement xmi:id="_OiSQoGalEeWv7P_h5u3SSw" text="
TestCase details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/target/site/norm/ptc-13-12-10.pdf#page=186" id="REQ_007" base_Class="_OiRpkGalEeWv7P_h5u3SSw"/> - <Requirements:DeriveReqt xmi:id="_OiTewGalEeWv7P_h5u3SSw" base_Abstraction="_OiS3sGalEeWv7P_h5u3SSw"/> -</xmi:XMI>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/resources/palette/requirementDiagram.paletteconfiguration b/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/resources/palette/requirementDiagram.paletteconfiguration deleted file mode 100644 index 098455b..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/resources/palette/requirementDiagram.paletteconfiguration +++ /dev/null
@@ -1,134 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<paletteconfiguration:PaletteConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:paletteconfiguration="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.8" id="org.eclipse.papyrus.sysML.req.palette.model" label="SysML REQ Palette"> - <drawerConfigurations id="org.eclipse.papyrus.sysML.req.palette.node" label="Requirement" description="Nodes listed in 16.2.1 Requirement Diagram"> - <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.edge.ContainmentLink" label="Containment Link" description="A Containment Link indicate that a element is owned by an other element" kind="ConnectionTool"> - <icon pluginID="org.eclipse.papyrus.uml.diagram.clazz" iconPath="/icons/obj16/ContainmentConnection.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Element_ContainmentEdge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.edge.Copy_Abstraction" label="Copy" description="A Copy relationship is a dependency between a supplier requirement and a client requirement that specifies that the text of the client requirement is a read-only copy of the text of the supplier requirement." kind="ConnectionTool"> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="icons/full/obj16/Copy.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Copy_Abstraction_Abstraction_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.edge.DeriveReqt_Abstraction" label="DeriveReqt" description="A DeriveReqt relationship is a dependency between two requirements in which a client requirement can be derived from the supplier requirement." kind="ConnectionTool"> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="icons/full/obj16/DeriveReqt.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.DeriveReqt_Abstraction_Abstraction_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.node.Package" label="Package" description="A package is used to group elements, and provides a namespace for the grouped elements"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Package.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Package_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Package_Shape_CN"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.edge.Refine_Abstraction" label="Refine" description="The Refine stereotype specializes UML4SysML Refine and DirectedRelationshipPropertyPath to enable refinements to identify their sources and targets by a multi-level path of accessible properties from context blocks for the sources and targets." kind="ConnectionTool"> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="icons/full/obj16/Refine.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Refine_Abstraction_Abstraction_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.node.Requirement" label="Requirement" description="A requirement specifies a capability or condition that must (or should) be satisfied."> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="icons/full/obj16/Requirement.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Requirement_Class_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Requirement_Class_ComponentNestedClassifierLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Requirement_Class_InterfaceNestedClassifierLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Requirement_Class_Shape_CN"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Requirement_Class_ClassNestedClassifierLabel"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.edge.Satisfy_Abstraction" label="Satisfy" description="A Satisfy relationship is a dependency between a requirement and a model element that fulfills the requirement." kind="ConnectionTool"> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="icons/full/obj16/Satisfy.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Satisfy_Abstraction_Abstraction_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:StackConfiguration" id="org.eclipse.papyrus.sysML.req.palette.node.stack.TestCase" label="TestCase" description="Behavior for TestCase creation"> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.node.TestCase_Behavior_Activity" label="TestCase Activity" description="A test case is a method for verifying a requirement is satisfied."> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Activity.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.TestCase_Activity_NamedElement_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.node.TestCase_Behavior_FunctionBehavior" label="TestCase FunctionBehavior" description="A test case is a method for verifying a requirement is satisfied."> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/FunctionBehavior.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.TestCase_FunctionBehavior_NamedElement_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.node.TestCase_Behavior_Interaction" label="TestCase Interaction" description="A test case is a method for verifying a requirement is satisfied."> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Interaction.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.TestCase_Interaction_NamedElement_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.node.TestCase_Behavior_OpaqueBehavior" label="TestCase OpaqueBehavior" description="A test case is a method for verifying a requirement is satisfied."> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/OpaqueBehavior.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.TestCase_OpaqueBehavior_NamedElement_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.node.TestCase_Operation" label="TestCase Operation" description="A test case is a method for verifying a requirement is satisfied."> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Operation.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_ClassOperationLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_ComponentOperationLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_DataTypeOperationLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_InterfaceOperationLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_OperationLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.TestCase_Operation_Operation_PrimitiveTypeOperationLabel"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.node.TestCase_Behavior_ProtocolStateMachine" label="TestCase ProtocolStateMachine" description="A test case is a method for verifying a requirement is satisfied."> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/ProtocolStateMachine.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.TestCase_ProtocolStateMachine_NamedElement_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.node.TestCase_Behavior_StateMachine" label="TestCase StateMachine" description="A test case is a method for verifying a requirement is satisfied."> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/StateMachine.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.TestCase_StateMachine_NamedElement_Shape"/> - </elementDescriptors> - </ownedConfigurations> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.edge.Trace_Abstraction" label="Trace" description="The Trace stereotype specializes UML4SysML Trace and DirectedRelationshipPropertyPath to enable traces to identify their sources and targets by a multi-level path of accessible properties from context blocks for the sources and targets." kind="ConnectionTool"> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="icons/full/obj16/Trace.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Trace_Abstraction_Abstraction_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.req.palette.edge.Verify_Abstraction" label="Verify" description="A Verify relationship is a dependency between a requirement and a test case or other model element that can determine whether a system fulfills the requirement." kind="ConnectionTool"> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="icons/full/obj16/Verify.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Verify_Abstraction_Abstraction_Edge"/> - </elementDescriptors> - </ownedConfigurations> - </drawerConfigurations> -</paletteconfiguration:PaletteConfiguration>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/resources/style/requirementDiagram.css b/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/resources/style/requirementDiagram.css deleted file mode 100644 index 2c38c42..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/resources/style/requirementDiagram.css +++ /dev/null
@@ -1,263 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - *****************************************************************************/ -/* - * SHARED ELEMENTS - */ - -Compartment{ - visible: false; - showTitle: false; -} - -Compartment[kind=structure]{ - showTitle: false; -} - -Package > Compartment[kind="packagedelements"], -Model > Compartment[kind="packagedelements"]{ - visible: true; - showTitle: false; -} - -/* - * @pap.req org.eclipse.papyrus.sysml14#REQ_001 - */ -[deprecated=true] { - lineColor: orange; -} - -[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=parameters], -[appliedStereotypes~="ConstraintBlock"] > Compartment[kind=constraints]{ - visible: true; -} - -[appliedStereotypes~="FlowSpecification"]{ - elementIcon:false; - displayIcon:false; -} - -[appliedStereotypes~="FlowSpecification"] > Compartment[kind=flowproperties]{ - visible: true; -} - -[appliedStereotypes~="ValueType"] > Compartment[kind=attributes], -[appliedStereotypes~="ValueType"] > Compartment[kind=operations]{ - visible: true; -} - -/* - * Comment - */ -Class[appliedStereotypes~="Comment"]{ - visible:true; -} - -/* - * Stereotype ElementGroup - */ - -Class[appliedStereotypes~="ElementGroup"] { - visible:true; - showTitle:true; -} - -Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] { - visible:true; - showTitle:false; -} - -Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="name"]{ - visible:true; -} - -Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="criterion"]{ - visible:true; -} - -Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="size"]{ - visible:true; -} - -Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="member"]{ - visible:true; -} - -Class[appliedStereotypes~="ElementGroup"] > Compartment[type=StereotypeCompartment] > [property="orderedMember"]{ - visible:true; -} - -/* - * Problem - */ -Class[appliedStereotypes~="Problem"]{ - visible:true; -} - -/* - * Rationale - */ -Class[appliedStereotypes~="Rational"]{ - visible:true; -} - -/* - * Stakeholder - */ -Class[appliedStereotypes~="Stakeholder"] > Compartment[type=StereotypeCompartment] { - visible:true; - showTitle:false; -} - -[appliedStereotypes~="Stakeholder"] > Compartment[kind=attributes], -[appliedStereotypes~="Stakeholder"] > Compartment[kind=operations], -[appliedStereotypes~="Stakeholder"] > Compartment[kind=constraints]{ - visible: true; -} - -Class[appliedStereotypes~="Stakeholder"] > Compartment[type=StereotypeCompartment] > [property="concernList"]{ - visible:true; -} -Class[appliedStereotypes~="Stakeholder"] > Compartment[type=StereotypeCompartment] > [property="concern"]{ - visible:true; -} - -/* - * Stereotype View - */ -Class[appliedStereotypes~="View"] > Compartment[kind=attributes], -Class[appliedStereotypes~="View"] > Compartment[kind=operations]{ - visible:true; - showTitle:false; -} - -Class[appliedStereotypes~="View"] > Compartment[kind="nestedclassifiers"]{ - visible:false; - showTitle:false; -} - -Class[appliedStereotypes~="View"] > Compartment[type=StereotypeCompartment] { - visible:true; - showTitle:true; -} - -Class[appliedStereotypes~="View"] > Compartment[type=StereotypeCompartment] > [property="stakeholder"]{ - visible:true; -} - -Class[appliedStereotypes~="View"] > Compartment[type=StereotypeCompartment] > [property="viewpoint"]{ - visible:true; -} - -/* - * Stereotype Viewpoint - */ -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] { - visible:true; - showTitle:false; -} - -[appliedStereotypes~="Viewpoint"] > Compartment[kind=attributes], -[appliedStereotypes~="Viewpoint"] > Compartment[kind=operations]{ - visible:true; -} - -[appliedStereotypes~="Viewpoint"] > Compartment[kind="internal structure"], -[appliedStereotypes~="Viewpoint"] > Compartment[kind="symbol"] -{ - visible:false; -} - -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="stakeholder"]{ - visible:true; -} - -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="purpose"]{ - visible:true; -} - -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="concernList"]{ - visible:true; -} - -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="language"]{ - visible:true; -} - -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="method"]{ - visible:true; -} - -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="presentation"]{ - visible:true; -} - -Class[appliedStereotypes~="Viewpoint"] > Compartment[type=StereotypeCompartment] > [property="concern"]{ - visible:true; -} - -/* - * SPECIFIC ELEMENTS - */ - -RequirementDiagram Compartment{ - visible: false; - showTitle: true; -} - -RequirementDiagram Property > Compartment[kind=structure]{ - visible: true; -} - -/* - * Stereotype Requirement - */ -Class[appliedStereotypes~="Requirement"] > Compartment[kind=nestedclassifiers]{ - visible:false; - showTitle:false; -} - -Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] { - visible:true; - showTitle:false; -} - -Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="derived"]{ - visible:false; -} - -Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="derivedFrom"]{ - visible:false; -} - -Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="satisfiedBy"]{ - visible:false; -} - -Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="refinedBy"]{ - visible:false; -} - -Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="tracedTo"]{ - visible:false; -} - -Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="verifiedBy"]{ - visible:false; -} - -Class[appliedStereotypes~="Requirement"] > Compartment[type=StereotypeCompartment] > [property="master"]{ - visible:false; -} - -Class[appliedStereotypes~="Requirement"] > Compartment[kind="operations"] { - visible:false; -}
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/src/org/eclipse/papyrus/sysml14/diagram/requirement/Activator.java b/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/src/org/eclipse/papyrus/sysml14/diagram/requirement/Activator.java deleted file mode 100644 index 93bf071..0000000 --- a/diagram/org.eclipse.papyrus.sysml14.diagram.requirement/src/org/eclipse/papyrus/sysml14/diagram/requirement/Activator.java +++ /dev/null
@@ -1,34 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.diagram.requirement; - -import org.eclipse.jface.resource.ImageDescriptor; -import org.eclipse.ui.plugin.AbstractUIPlugin; - -public class Activator extends AbstractUIPlugin { - - // The plug-in ID - public static final String PLUGIN_ID = "org.eclipse.papyrus.sysml14.diagram.requirement"; //$NON-NLS-1$ - - /** - * Returns an image descriptor for the image file at the given - * plug-in relative path - * - * @param path - * the path - * @return the image descriptor - */ - public static ImageDescriptor getImageDescriptor(String path) { - return imageDescriptorFromPlugin(PLUGIN_ID, path); - } - -}
diff --git a/diagram/pom.xml b/diagram/pom.xml index 365ec43..346b25b 100644 --- a/diagram/pom.xml +++ b/diagram/pom.xml
@@ -2,24 +2,24 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>org.eclipse.papyrus.sysml14.parent</artifactId> + <artifactId>org.eclipse.papyrus.sysml.parent</artifactId> <groupId>org.eclipse.papyrus.sysml</groupId> - <version>1.2.0-SNAPSHOT</version> + <version>4.0.0-SNAPSHOT</version> </parent> - <artifactId>org.eclipse.papyrus.sysml14.diagram</artifactId> + <artifactId>org.eclipse.papyrus.sysml.diagram</artifactId> <packaging>pom</packaging> <name>SysML Diagram</name> <description>This set of modules are in charge of defining the SysML 1.4 diagrams using the following frameworks: viewpoint, expansion model, palette and css.</description> <modules> - <module>org.eclipse.papyrus.sysml14.diagram.common</module> - <module>org.eclipse.papyrus.sysml14.diagram.common.tests</module> - <module>org.eclipse.papyrus.sysml14.diagram.blockdefinition</module> - <module>org.eclipse.papyrus.sysml14.diagram.blockdefinition.tests</module> - <module>org.eclipse.papyrus.sysml14.diagram.internalblock</module> - <module>org.eclipse.papyrus.sysml14.diagram.internalblock.tests</module> - <module>org.eclipse.papyrus.sysml14.diagram.parametric</module> - <module>org.eclipse.papyrus.sysml14.diagram.parametric.tests</module> - <module>org.eclipse.papyrus.sysml14.diagram.requirement</module> - <module>org.eclipse.papyrus.sysml14.diagram.requirement.tests</module> + <module>org.eclipse.papyrus.sysml.diagram.common</module> + <module>org.eclipse.papyrus.sysml.diagram.common.tests</module> + <module>org.eclipse.papyrus.sysml.diagram.blockdefinition</module> + <module>org.eclipse.papyrus.sysml.diagram.blockdefinition.tests</module> + <module>org.eclipse.papyrus.sysml.diagram.internalblock</module> + <module>org.eclipse.papyrus.sysml.diagram.internalblock.tests</module> + <module>org.eclipse.papyrus.sysml.diagram.parametric</module> + <module>org.eclipse.papyrus.sysml.diagram.parametric.tests</module> + <module>org.eclipse.papyrus.sysml.diagram.requirement</module> + <module>org.eclipse.papyrus.sysml.diagram.requirement.tests</module> </modules> </project>
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture.tests/.classpath b/gui/org.eclipse.papyrus.sysml.architecture.tests/.classpath similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.architecture.tests/.classpath rename to gui/org.eclipse.papyrus.sysml.architecture.tests/.classpath
diff --git a/gui/org.eclipse.papyrus.sysml.architecture.tests/.project b/gui/org.eclipse.papyrus.sysml.architecture.tests/.project new file mode 100644 index 0000000..9c1aa61 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture.tests/.project
@@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.architecture.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> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription>
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture.tests/.settings/org.eclipse.core.resources.prefs b/gui/org.eclipse.papyrus.sysml.architecture.tests/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.architecture.tests/.settings/org.eclipse.core.resources.prefs rename to gui/org.eclipse.papyrus.sysml.architecture.tests/.settings/org.eclipse.core.resources.prefs
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture.tests/.settings/org.eclipse.jdt.core.prefs b/gui/org.eclipse.papyrus.sysml.architecture.tests/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.architecture.tests/.settings/org.eclipse.jdt.core.prefs rename to gui/org.eclipse.papyrus.sysml.architecture.tests/.settings/org.eclipse.jdt.core.prefs
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture.tests/.settings/org.eclipse.m2e.core.prefs b/gui/org.eclipse.papyrus.sysml.architecture.tests/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.architecture.tests/.settings/org.eclipse.m2e.core.prefs rename to gui/org.eclipse.papyrus.sysml.architecture.tests/.settings/org.eclipse.m2e.core.prefs
diff --git a/gui/org.eclipse.papyrus.sysml.architecture.tests/META-INF/MANIFEST.MF b/gui/org.eclipse.papyrus.sysml.architecture.tests/META-INF/MANIFEST.MF new file mode 100644 index 0000000..694def9 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture.tests/META-INF/MANIFEST.MF
@@ -0,0 +1,13 @@ +Bundle-ActivationPolicy: lazy +Manifest-Version: 1.0 +Fragment-Host: org.eclipse.papyrus.sysml.architecture;bundle-version="4.0.0" +Bundle-Vendor: %Bundle-Vendor +Bundle-Version: 4.0.0.qualifier +Bundle-Name: %Bundle-Name +Bundle-Description: %Bundle-Description +Bundle-Localization: plugin +Bundle-ManifestVersion: 2 +Bundle-SymbolicName: org.eclipse.papyrus.sysml.architecture.tests +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Require-Bundle: org.junit;bundle-version="[4.11.0,5.0.0)" +
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture.tests/about.html b/gui/org.eclipse.papyrus.sysml.architecture.tests/about.html similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.architecture.tests/about.html rename to gui/org.eclipse.papyrus.sysml.architecture.tests/about.html
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture.tests/build.properties b/gui/org.eclipse.papyrus.sysml.architecture.tests/build.properties similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.architecture.tests/build.properties rename to gui/org.eclipse.papyrus.sysml.architecture.tests/build.properties
diff --git a/gui/org.eclipse.papyrus.sysml.architecture.tests/plugin.properties b/gui/org.eclipse.papyrus.sysml.architecture.tests/plugin.properties new file mode 100644 index 0000000..83f8a16 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture.tests/plugin.properties
@@ -0,0 +1,14 @@ +################################################################################# +# Copyright (c) 2017 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: +# +# CEA LIST - Initial API and Implementation. +# +################################################################################## +Bundle-Name=Papyrus SysML Architecture Tests +Bundle-Vendor=Eclipse Modeling Project
diff --git a/gui/org.eclipse.papyrus.sysml.architecture.tests/pom.xml b/gui/org.eclipse.papyrus.sysml.architecture.tests/pom.xml new file mode 100644 index 0000000..ec9dfb7 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture.tests/pom.xml
@@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.papyrus.sysml</groupId> + <artifactId>org.eclipse.papyrus.sysml.gui</artifactId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.architecture.tests</artifactId> + <packaging>eclipse-test-plugin</packaging> + <description>All unit tests related to the SysML architecture</description> +</project>
diff --git a/gui/org.eclipse.papyrus.sysml.architecture.tests/test/org/eclipse/papyrus/sysml/architecture/tests/resources/ArchitectureValidationTest.java b/gui/org.eclipse.papyrus.sysml.architecture.tests/test/org/eclipse/papyrus/sysml/architecture/tests/resources/ArchitectureValidationTest.java new file mode 100644 index 0000000..2b87801 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture.tests/test/org/eclipse/papyrus/sysml/architecture/tests/resources/ArchitectureValidationTest.java
@@ -0,0 +1,78 @@ +/***************************************************************************** + * Copyright (c) 2017 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.architecture.tests.resources; + +import java.lang.reflect.Method; + +import org.eclipse.emf.common.util.TreeIterator; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.ecore.xmi.XMIResource; +import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; +import org.junit.Assert; +import org.junit.BeforeClass; +import org.junit.Test; + +/** + * Test the architecture model : - validate the model + * + */ +@SuppressWarnings("nls") +public class ArchitectureValidationTest { + + public static final String ARCHITECTURE_PATH = "org.eclipse.papyrus.sysml.architecture/resources/sysml.architecture"; + + @BeforeClass + public static void loadElementTypeSet() { + ElementTypeSetConfigurationRegistry.getInstance(); + } + + /** + * Check that if an element has a field id then xmi:id should be the same + */ + @Test + public void checkXMIIds() { + URI createPlatformPluginURI = URI.createPlatformPluginURI(ARCHITECTURE_PATH, true); + ResourceSetImpl resourceSetImpl = new ResourceSetImpl(); + Resource resource = resourceSetImpl.getResource(createPlatformPluginURI, true); + + TreeIterator<EObject> allContents = resource.getAllContents(); + while (allContents.hasNext()) { + EObject eObject = (EObject) allContents.next(); + + String id = getId(eObject); + String xmiId = ((XMIResource) resource).getID(eObject); + if (id != null) { + Assert.assertEquals("Xmi id and id field should be the same", id, xmiId); + } + } + } + + // SMALL hack to get id if present + // TODO: Would be nice to have an IIdentifiedElement interface in the MetaModel + public static String getId(Object obj) { + try { + Method method = obj.getClass().getMethod("getId"); + if (method != null) { + return method.invoke(obj).toString(); + } + } catch (Exception e) { + // doesn't matter + } + return null; + } + +}
diff --git a/gui/org.eclipse.papyrus.sysml.architecture.tests/test/org/eclipse/papyrus/sysml/architecture/tests/resources/ModelValidationTest.java b/gui/org.eclipse.papyrus.sysml.architecture.tests/test/org/eclipse/papyrus/sysml/architecture/tests/resources/ModelValidationTest.java new file mode 100644 index 0000000..58666e7 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture.tests/test/org/eclipse/papyrus/sysml/architecture/tests/resources/ModelValidationTest.java
@@ -0,0 +1,77 @@ +/***************************************************************************** + * Copyright (c) 2017 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.architecture.tests.resources; + +import java.util.Arrays; +import java.util.Collection; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.ecore.util.Diagnostician; +import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; +import org.eclipse.papyrus.sysml.architecture.Activator; +import org.junit.Assert; +import org.junit.BeforeClass; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.Parameterized; +import org.junit.runners.Parameterized.Parameters; + +/** + * This is a parameterized test to validate all model in the plugin + * + */ +@SuppressWarnings("nls") +@RunWith(Parameterized.class) +public class ModelValidationTest { + + @Parameters + public static Collection<Object[]> data() { + return Arrays.asList(new Object[][] { + {"/resources/sysml.architecture"}, + {"/resources/SysMLAnnotation.paletteconfiguration"}, + {"/resources/SysMLStructure.paletteconfiguration"}, + {"/resources/SysMLViewpoint.paletteconfiguration"}, + {"/resources/SysMLSequence.paletteconfiguration"}, + {"/resources/SysMLStateMachine.paletteconfiguration"}, + {"/resources/SysMLUseCase.paletteconfiguration"}, + }); + } + + private String modelPath; + + public ModelValidationTest(String modelPath) { + this.modelPath = modelPath; + } + + @BeforeClass + public static void loadElementTypeSet(){ + ElementTypeSetConfigurationRegistry.getInstance(); + } + + /** + * Validate the model with the rules defined in the meta-model tooling + */ + @Test + public void validateModel() { + String fullPath = Activator.PLUGIN_ID + this.modelPath; + URI modelPlatformURI = URI.createPlatformPluginURI(fullPath, true); + Resource resource = new ResourceSetImpl().getResource(modelPlatformURI, true); + Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); + Assert.assertEquals("The "+modelPath+" model is invalid ", Diagnostic.OK, diagnostic.getSeverity()); + } + +}
diff --git a/gui/org.eclipse.papyrus.sysml.architecture.tests/test/org/eclipse/papyrus/sysml/architecture/tests/util/SysMLArchitectureUtilTest.java b/gui/org.eclipse.papyrus.sysml.architecture.tests/test/org/eclipse/papyrus/sysml/architecture/tests/util/SysMLArchitectureUtilTest.java new file mode 100644 index 0000000..9c08e69 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture.tests/test/org/eclipse/papyrus/sysml/architecture/tests/util/SysMLArchitectureUtilTest.java
@@ -0,0 +1,98 @@ +/***************************************************************************** + * Copyright (c) 2017 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.architecture.tests.util; + +import java.util.Arrays; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.papyrus.infra.core.architecture.ArchitectureContext; +import org.eclipse.papyrus.infra.core.architecture.ArchitectureDomain; +import org.eclipse.papyrus.infra.core.architecture.ArchitectureViewpoint; +import org.eclipse.papyrus.infra.core.architecture.RepresentationKind; +import org.eclipse.papyrus.sysml.architecture.util.SysMLArchitectureUtil; +import org.junit.Assert; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.Parameterized; +import org.junit.runners.Parameterized.Parameters; + +@SuppressWarnings("nls") +@RunWith(Parameterized.class) +public class SysMLArchitectureUtilTest { + + public static final String ARCHITECTURE_PATH = "org.eclipse.papyrus.sysml.architecture/resources/sysml.architecture"; + + @Parameters + public static Collection<Object[]> data() { + return Arrays.asList(new Object[][] { + {SysMLArchitectureUtil.DIAGRAM_ACTIVITY_ID}, + {SysMLArchitectureUtil.DIAGRAM_BLOCK_DEFINITION_ID}, + {SysMLArchitectureUtil.DIAGRAM_SEQUENCE_ID}, + {SysMLArchitectureUtil.DIAGRAM_INTERNAL_BLOCK_ID}, + {SysMLArchitectureUtil.DIAGRAM_PACKAGE_ID}, + {SysMLArchitectureUtil.DIAGRAM_PARAMETRIC_ID}, + {SysMLArchitectureUtil.DIAGRAM_REQUIREMENT_ID}, + {SysMLArchitectureUtil.DIAGRAM_STATE_MACHINE_ID}, + {SysMLArchitectureUtil.DIAGRAM_USE_CASE_ID}, + {SysMLArchitectureUtil.TABLE_REQUIREMENT_ID}, + {SysMLArchitectureUtil.TABLE_REQUIREMENT_TREE_ID}, + {SysMLArchitectureUtil.TABLE_ALLOCATION_ID}, + }); + } + + private String representationId; + + public SysMLArchitectureUtilTest(String representationId) { + this.representationId = representationId; + } + + /** + * Check that constant are referring to an existing element + */ + @Test + public void checkRepresentationIds() { + URI createPlatformPluginURI = URI.createPlatformPluginURI(ARCHITECTURE_PATH, true); + ResourceSetImpl resourceSetImpl = new ResourceSetImpl(); + Resource resource = resourceSetImpl.getResource(createPlatformPluginURI, true); + Assert.assertFalse("SysML architecture should not be empty", resource.getContents().isEmpty()); + EObject firstEObject = resource.getContents().get(0); + Assert.assertTrue("First element of architecture should be an ArchitectureDomain", firstEObject instanceof ArchitectureDomain); + ArchitectureDomain architectureDomain = (ArchitectureDomain) firstEObject; + Assert.assertNotNull("Unknow representation id "+representationId,getRepresentationKindById(architectureDomain, representationId)); + } + + + /////////////////////////////////////////////////////////////////////////////// + // FIXME: should be in Papyrus core API + protected RepresentationKind getRepresentationKindById(ArchitectureDomain architectureDomain,String id) { + Map<String,RepresentationKind> allRepresentationKind = new HashMap<>(); + EList<ArchitectureContext> contexts = architectureDomain.getContexts(); + for (ArchitectureContext architectureContext : contexts) { + EList<ArchitectureViewpoint> viewpoints = architectureContext.getViewpoints(); + for (ArchitectureViewpoint architectureViewpoint : viewpoints) { + for (RepresentationKind representationKind : architectureViewpoint.getRepresentationKinds()) { + allRepresentationKind.put(representationKind.getId(), representationKind); + } + } + } + return allRepresentationKind.get(id); + } + //////////////////////////////////////////////////////////////////////////////// +}
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/.classpath b/gui/org.eclipse.papyrus.sysml.architecture/.classpath similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.architecture/.classpath rename to gui/org.eclipse.papyrus.sysml.architecture/.classpath
diff --git a/gui/org.eclipse.papyrus.sysml.architecture/.project b/gui/org.eclipse.papyrus.sysml.architecture/.project new file mode 100644 index 0000000..58a640e --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture/.project
@@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.architecture</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/gui/org.eclipse.papyrus.sysml14.architecture/.settings/org.eclipse.jdt.core.prefs b/gui/org.eclipse.papyrus.sysml.architecture/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.architecture/.settings/org.eclipse.jdt.core.prefs rename to gui/org.eclipse.papyrus.sysml.architecture/.settings/org.eclipse.jdt.core.prefs
diff --git a/gui/org.eclipse.papyrus.sysml.architecture/META-INF/MANIFEST.MF b/gui/org.eclipse.papyrus.sysml.architecture/META-INF/MANIFEST.MF new file mode 100644 index 0000000..f0a7fcd --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture/META-INF/MANIFEST.MF
@@ -0,0 +1,35 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name +Bundle-SymbolicName: org.eclipse.papyrus.sysml.architecture;singleton:=true +Bundle-Version: 4.0.0.qualifier +Bundle-Vendor: %Bundle-Vendor +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Require-Bundle: org.eclipse.gmf.runtime.emf.core;bundle-version="[1.7.0,2.0.0)", + org.eclipse.gmf.runtime.emf.type.core;bundle-version="[1.9.0,2.0.0)", + org.eclipse.gmf.runtime.notation;bundle-version="[1.8.0,2.0.0)", + org.eclipse.papyrus.infra.core.architecture;bundle-version="[1.0.0,2.0.0)", + org.eclipse.papyrus.infra.gmfdiag.representation;bundle-version="[1.0.0,2.0.0)", + org.eclipse.papyrus.infra.viewpoints.policy;bundle-version="[2.0.0,3.0.0)", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.nattable.common;bundle-version="3.0.0", + org.eclipse.papyrus.uml.architecture;bundle-version="[1.0.0,2.0.0)", + org.eclipse.papyrus.uml.diagram.common;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.tools;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.sysml;bundle-version="1.0.0", + org.eclipse.papyrus.sysml.diagram.blockdefinition;bundle-version="1.0.0", + org.eclipse.papyrus.sysml.diagram.common;bundle-version="4.0.0", + org.eclipse.papyrus.sysml.diagram.internalblock;bundle-version="1.0.0", + org.eclipse.papyrus.sysml.diagram.parametric;bundle-version="1.0.0", + org.eclipse.papyrus.sysml.diagram.requirement;bundle-version="1.0.0", + org.eclipse.papyrus.sysml.edit;bundle-version="1.0.0", + org.eclipse.papyrus.sysml.nattable.allocation;bundle-version="1.0.0", + org.eclipse.papyrus.sysml.nattable.common;bundle-version="1.0.0", + org.eclipse.papyrus.sysml.nattable.requirement;bundle-version="1.0.0", + org.eclipse.papyrus.sysml.nattable.ui;bundle-version="1.0.0", + org.eclipse.papyrus.sysml.service.types;bundle-version="1.0.0" +Export-Package: org.eclipse.papyrus.sysml.architecture, + org.eclipse.papyrus.sysml.architecture.internal;x-internal:=true, + org.eclipse.papyrus.sysml.architecture.internal.migration;x-internal:=true, + org.eclipse.papyrus.sysml.architecture.util
diff --git a/gui/org.eclipse.papyrus.sysml.architecture/README.md b/gui/org.eclipse.papyrus.sysml.architecture/README.md new file mode 100644 index 0000000..7ed287a --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture/README.md
@@ -0,0 +1,16 @@ +org.eclipse.papyrus.sysml.architecture +======================================= + +* Palettes are defined based on chapters " X.y Diagram Elements" + +* SysML uses orange copies of UML icons +** dark orange: f46800 +** light orange: f6b200 + +* Process to create the new icons: (Should be improved) +** Open the UML . gif with paint.net +** Change the color +** Save (now the display is correct in model explorer but not in new Diagram/Table menu) +** Open the icon with GIMP +** Export as GIF (now works in both use case) +
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/about.html b/gui/org.eclipse.papyrus.sysml.architecture/about.html similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.architecture/about.html rename to gui/org.eclipse.papyrus.sysml.architecture/about.html
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/build.properties b/gui/org.eclipse.papyrus.sysml.architecture/build.properties similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.architecture/build.properties rename to gui/org.eclipse.papyrus.sysml.architecture/build.properties
diff --git a/gui/org.eclipse.papyrus.sysml.architecture/plugin.properties b/gui/org.eclipse.papyrus.sysml.architecture/plugin.properties new file mode 100644 index 0000000..06d9adb --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture/plugin.properties
@@ -0,0 +1,15 @@ +################################################################################# +# Copyright (c) 2017 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: +# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation +################################################################################## +Bundle-Name= Papyrus SysML 1.5 Architecture +Bundle-Description=This plug-in contains the SysML 1.5 Architecture +Bundle-Vendor=Eclipse Modeling Project + +
diff --git a/gui/org.eclipse.papyrus.sysml.architecture/plugin.xml b/gui/org.eclipse.papyrus.sysml.architecture/plugin.xml new file mode 100644 index 0000000..08b7682 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture/plugin.xml
@@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.4"?> +<plugin> + <extension point="org.eclipse.papyrus.infra.architecture.models"> + <model path="resources/sysml.architecture"/> + </extension> + <extension + point="org.eclipse.gmf.runtime.emf.type.core.elementTypeBindings"> + <clientContext + id="org.eclipse.papyrus.sysml.architecture.SysML"> + <matcher + class="org.eclipse.papyrus.sysml.architecture.internal.NoContextEnablementMatcher"> + </matcher> + </clientContext> + <binding context="org.eclipse.papyrus.sysml.architecture.SysML"> + <!-- ElementType that deals with View deletion when their related model element is deleted --> + <elementType ref="org.eclipse.gmf.runtime.diagram.core.advice.notationDepdendents"/> + <elementType ref="org.eclipse.gmf.runtime.diagram.core.advice.removeBookmarks"/> + <!-- Check for attempts to edit read-only objects that cannot reasonably be made writeable. --> + <advice ref="org.eclipse.papyrus.infra.emf.readOnlyAdvice" /> + <!-- Delete markers attached to objects being deleted. --> + </binding> + </extension> + + <extension + point="org.eclipse.papyrus.infra.gmfdiag.common.diagramReconciler"> + <diagramReconciler + diagramType="CompositeStructure" + reconcilerClass="org.eclipse.papyrus.sysml.architecture.internal.migration.SysMLNeonToOxygenDiagramReconciler" + source="1.2.0" + target="1.3.0"> + </diagramReconciler> + <diagramReconciler + diagramType="PapyrusUMLClassDiagram" + reconcilerClass="org.eclipse.papyrus.sysml.architecture.internal.migration.SysMLNeonToOxygenDiagramReconciler" + source="1.2.0" + target="1.3.0"> + </diagramReconciler> + </extension> + <extension + point="org.eclipse.papyrus.infra.nattable.common.tableReconciler"> + <tableReconciler + reconcilerClass="org.eclipse.papyrus.sysml.architecture.internal.migration.SysMLNeonToOxygenTableReconciler" + source="1.0.0" + target="1.3.0"> + </tableReconciler> + </extension> +</plugin>
diff --git a/gui/org.eclipse.papyrus.sysml.architecture/pom.xml b/gui/org.eclipse.papyrus.sysml.architecture/pom.xml new file mode 100644 index 0000000..53c0662 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture/pom.xml
@@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>org.eclipse.papyrus.sysml.gui</artifactId> + <groupId>org.eclipse.papyrus.sysml</groupId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.architecture</artifactId> + <packaging>eclipse-plugin</packaging> +</project> \ No newline at end of file
diff --git a/gui/org.eclipse.papyrus.sysml.architecture/resources/SysMLActivity.paletteconfiguration b/gui/org.eclipse.papyrus.sysml.architecture/resources/SysMLActivity.paletteconfiguration new file mode 100644 index 0000000..8bea058 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture/resources/SysMLActivity.paletteconfiguration
@@ -0,0 +1,499 @@ +<?xml version="1.0" encoding="UTF-8"?> +<paletteconfiguration:PaletteConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:paletteconfiguration="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.8" id="org.eclipse.papyrus.sysml.palette.activity" label="SysML 1.5 Activity Palette" description="This is the palette providing elements from SysML 1.5 chapter 11.2.1 Activity Diagram"> + <drawerConfigurations id="org.eclipse.papyrus.sysML.palette.activity.drawer" label="Activity" description="Elements from SysML 1.5 chapter 11.2.1 Activity Diagram"> + <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> + <ownedConfigurations xsi:type="paletteconfiguration:StackConfiguration" id="Stack_1504510306740" label="Stack"> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.accepteventaction" label="Accept Event Action" description="Create an Accept Event Action node"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/AcceptEventAction.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.AcceptEventAction_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.invocationactions.callbehavioraction" label="Call Behavior Action" description="Create an Call Behavior Action node"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/CallBehaviorAction.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.CallBehaviorAction_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.invocationactions.sendsignalaction" label="Send Signal Action" description="Create a Send Signal Action node"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/SendSignalAction.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.SendSignalAction_Shape"/> + </elementDescriptors> + </ownedConfigurations> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.activity" label="Activity" description="Create an Activity"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Activity.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Activity_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Activity_Shape_CN"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.controlnodes.activityfinal" label="Activity Final" description="Create an Activity final node"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ActivityFinalNode.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActivityFinalNode_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.activityparameternode" label="Activity Parameter Node" description="Create an Activity Parameter Node"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ActivityParameterNode.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActivityParameterNode_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.centralbuffernode" label="Central Buffer Node" description="Create a Central Buffer Node"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/DataStoreNode.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.CentralBufferNode_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:StackConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.stack.rate" label="Stack"> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.controlflow" label="Control Flow" description="Create a Control Flow" kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ControlFlow.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ControlFlow_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.edge.continuous" label="Continuous Control Flow" kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ControlFlow.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ContinuousControlFlow_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.edge.rate" label="Rate Control Flow" kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ControlFlow.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.RateControlFlow_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.edge.discrete" label="Discrete Control Flow" kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ControlFlow.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.DiscreteControlFlow_Edge"/> + </elementDescriptors> + </ownedConfigurations> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.datastorenode" label="Data Store Node" description="Create a Data Store Node"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/DataStoreNode.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.DataStoreNode_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:StackConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.controlnodes" label="ControlNodes"> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.controlnodes.initialnode" label="Initial node" description="Create an Initial node"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/InitialNode.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InitialNode_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.controlnodes.flowfinal" label="Flow final" description="Create a Flow final node"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/FlowFinalNode.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.FlowFinalNode_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.controlnodes.decisionnode" label="Decision node" description="Create a Decision node"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/DecisionNode.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.DecisionNode_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.controlnodes.mergenode" label="Merge node" description="Create a Merge node"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/MergeNode.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.MergeNode_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.controlnodes.joinnode" label="Join node" description="Create a Merge node"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/JoinNode.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.JoinNode_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.controlnodes.forknode" label="Fork node" description="Create a Fork node"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ForkNode.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ForkNode_Shape"/> + </elementDescriptors> + </ownedConfigurations> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:StackConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.constraints" label="Constraints"> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.constraints.localpreconditionconstraint" label="Local Precondition Constraint" description="Create a Constraint as Local Precondition for an Action"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Constraint.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_LocalPreconditionShape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.constraints.localpreconditionintervalconstraint" label="Local Precondition Interval Constraint" description="Create an Interval Constraint as Local Precondition for an Action"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/IntervalConstraint.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.IntervalConstraint_LocalPreconditionShape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.constraints.localpreconditiondurationconstraint" label="Local Precondition Duration Constraint" description="Create a Duration Constraint as Local Precondition for an Action"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/DurationConstraint.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.DurationConstraint_LocalPreconditionShape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.constraints.localpreconditiontimeconstraint" label="Local Precondition Time Constraint" description="Create a Time Constraint as Local Precondition for an Action"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/TimeConstraint.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.TimeConstraint_LocalPreconditionShape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.constraints.localpostconditionconstraint" label="Local Postcondition Constraint" description="Create a Constraint as Local Postcondition for an Action"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Constraint.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_LocalPostconditionShape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.constraints.localpostconditionintervalconstraint" label="Local Postcondition Interval Constraint" description="Create an Interval Constraint as Local Postcondition for an Action"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/IntervalConstraint.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.IntervalConstraint_LocalPostconditionShape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.constraints.localpostconditiondurationconstraint" label="Local Postcondition Duration Constraint" description="Create a Duration Constraint as Local Postcondition for an Action"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/DurationConstraint.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.DurationConstraint_LocalPostconditionShape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.constraints.localpostconditiontimeconstraint" label="Local Postcondition Time Constraint" description="Create a Time Constraint as Local Postcondition for an Action"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/TimeConstraint.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.TimeConstraint_LocalPostconditionShape"/> + </elementDescriptors> + </ownedConfigurations> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.objectflow" label="Object Flow" description="Create an Object Flow" kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ObjectFlow.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ObjectFlow_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:StackConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.pins" label="Pins"> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.pins.outputpin" label="Output Pin" description="Create an Output Pin"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/OutputPin.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_OpaqueActionOutputShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_CallBehaviorActionResultShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_CallOperationActionResultShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_AcceptEventActionResultShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_ValueSpecificationActionResultShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_ReadSelfActionResultShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_StartObjectBehaviorActionResultShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_TestIdentityActionResultShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_ClearStructuralFeatureActionResultShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_ReadLinkActionResultShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_ReadExtentActionResultShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_ReadIsClassifiedObjectActionResultShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_ReduceActionResultShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_AddStructuralFeatureValueActionResultShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_LoopNodeBodyOutputShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_LoopNodeVariableShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_LoopNodeResultShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_StructuredActivityNodeOutputShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_CreateLinkObjectActionResultShape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.pins.inputpin" label="Input Pin" description="Create an Input Pin"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/InputPin.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_OpaqueActionInputShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_CallBehaviorActionArgumentShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_CallOperationActionArgumentShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_SendSignalActionArgumentShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_StartObjectBehaviorActionObjectShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_StartObjectBehaviorActionArgumentShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_TestIdentityActionFirstShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_TestIdentityActionSecondShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_ClearStructuralFeatureActionObjectShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_CreateLinkActionInputShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_ReadLinkActionInputShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_DestroyLinkActionInputShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_ReclassifyObjectActionObjectShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_ReadIsClassifiedObjectActionObjectShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_ReduceActionCollectionShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_StartClassifierBehaviorActionObjectShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_DestroyObjectActionTargetShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_AddVariableValueActionInsertAtShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_AddVariableValueActionValueShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_BroadcastSignalActionArgumentShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_AddStructuralFeatureValueActionObjectShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_AddStructuralFeatureValueActionValueShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_AddStructuralFeatureValueActionInsertAtShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_LoopNodeVariableInputShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_ReadStructuralFeatureActionObjectShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_StructuredActivityNodeInputShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_CreateLinkObjectActionInputShape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.pins.actioninputpin" label="Action Input Pin" description="Create an Action Input Pin"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ActionInputPin.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_OpaqueActionInputShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_CallBehaviorActionArgumentShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_CallOperationActionArgumentShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_SendSignalActionArgumentShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_StartObjectBehaviorActionObjectShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_StartObjectBehaviorActionArgumentShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_TestIdentityActionFirstShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_TestIdentityActionSecondShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_ClearStructuralFeatureActionObjectShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_CreateLinkActionInputShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_ReadLinkActionInputShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_DestroyLinkActionInputShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_ClearAssociationActionObjectShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_ReclassifyObjectActionObjectShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_ReadIsClassifiedObjectActionObjectShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_ReduceActionCollectionShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_StartClassifierBehaviorActionObjectShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_DestroyObjectActionTargetShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_AddVariableValueActionInsertAtShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_AddVariableValueActionValueShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_BroadcastSignalActionArgumentShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_AddStructuralFeatureValueActionObjectShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_AddStructuralFeatureValueActionValueShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_AddStructuralFeatureValueActionInsertAtShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_LoopNodeVariableInputShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_StructuredActivityNodeInputShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_CreateLinkObjectActionInputShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_ReadStructuralFeatureActionObjectShape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.pins.valuepin" label="Value Pin" description="Create a Value Pin"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ValuePin.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_OpaqueActionInputShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_CallBehaviorActionArgumentShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_CallOperationActionArgumentShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_SendSignalActionArgumentShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_StartObjectBehaviorActionObjectShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_StartObjectBehaviorActionArgumentShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_TestIdentityActionFirstShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_TestIdentityActionSecondShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_ClearStructuralFeatureActionObjectShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_CreateLinkActionInputShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_ReadLinkActionInputShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_DestroyLinkActionInputShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_ClearAssociationActionObjectShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_ReclassifyObjectActionObjectShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_ReadIsClassifiedObjectActionObjectShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_ReduceActionCollectionShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_StartClassifierBehaviorActionObjectShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_DestroyObjectActionTargetShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_AddVariableValueActionInsertAtShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_AddVariableValueActionValueShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_BroadcastSignalActionArgumentShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_AddStructuralFeatureValueActionObjectShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_AddStructuralFeatureValueActionValueShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_AddStructuralFeatureValueActionInsertAtShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_LoopNodeVariableInputShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_StructuredActivityNodeInputShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_CreateLinkObjectActionInputShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_ReadStructuralFeatureActionObjectShape"/> + </elementDescriptors> + </ownedConfigurations> + </ownedConfigurations> + </drawerConfigurations> +</paletteconfiguration:PaletteConfiguration>
diff --git a/gui/org.eclipse.papyrus.sysml.architecture/resources/SysMLAnnotation.paletteconfiguration b/gui/org.eclipse.papyrus.sysml.architecture/resources/SysMLAnnotation.paletteconfiguration new file mode 100644 index 0000000..3bf8553 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture/resources/SysMLAnnotation.paletteconfiguration
@@ -0,0 +1,102 @@ +<?xml version="1.0" encoding="UTF-8"?> +<paletteconfiguration:PaletteConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:paletteconfiguration="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.8" id="org.eclipse.papyrus.sysML.palette.commonmodel" label="SysML REQ Palette"> + <drawerConfigurations id="org.eclipse.papyrus.sysML.palette.annotations.nodes" label="General Annotations" description="Annotations listed in SysML 1.5 chapter 7.2 Diagram Elements"> + <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.annotations.abstraction" label="Abstraction" description="An Abstraction is a Relationship that relates two Elements or sets of Elements that represent the same concept at different levels of abstraction or from different viewpoints." kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Abstraction.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.annotations.Comment" label="Comment" description="A Comment is a textual annotation that can be attached to a set of Elements."> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Comment.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Comment_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Comment_Shape_CN"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.annotations.Constraint" label="Constraint" description="A Constraint is a condition or restriction expressed in natural language text or in a machine readable language."> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Constraint.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_Shape_CN"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_Shape_CCN"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_PackagedElementShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_PackagedElementShape_CN"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Constraint_Label"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.annotations.contextlink" label="Context Link" description="A Context link move a Constraint in the context of the linked element." kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Association.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_ContextEdge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.annotations.Dependency" label="Dependency" description="A Dependency is a Relationship that signifies that a single model Element or a set of model Elements requires other model Elements for their specification or implementation. This means that the complete semantics of the client Element(s) are either semantically or structurally dependent on the definition of the supplier Element(s)." kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Dependency.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Dependency_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.annotations.ElementGroup" label="ElementGroup" description="The ElementGroup stereotype provides a lightweight mechanism for grouping various and possibly heterogeneous model"> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="icons/full/obj16/ElementGroup.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ElementGroup_Comment_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ElementGroup_Comment_Shape_CN"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.annotations.Link" label="Link" description="A Link draw a line between an element and a Comment/Constraint" kind="ConnectionTool"> + <icon pluginID="org.eclipse.papyrus.uml.diagram.clazz" iconPath="icons/obj16/Link.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_ConstrainedElementEdge"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Comment_AnnotatedElementEdge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.annotations.Problem" label="Problem" description="A Problem documents a deficiency, limitation, or failure of one or more model elements to satisfy a requirement or need,"> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="icons/full/obj16/Problem.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Problem_Comment_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Problem_Comment_Shape_CN"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.annotations.Rationale" label="Rationale" description="A Rationale documents the justification for decisions and the requirements, design, and other decisions."> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="icons/full/obj16/Rationale.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Rationale_Comment_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Rationale_Comment_Shape_CN"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.annotations.Realization" label="Realization" description="Realization is a specialized Abstraction relationship between two sets of model Elements, one representing a specification (the supplier) and the other represents an implementation of the latter (the client)." kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Realization.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Realization_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.annotations.Refine_Abstraction" label="Refine" description="The Refine stereotype specializes UML4SysML Refine and DirectedRelationshipPropertyPath to enable refinements to identify their sources and targets by a multi-level path of accessible properties from context blocks for the sources and targets." kind="ConnectionTool"> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="icons/full/obj16/Refine.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Refine_Abstraction_Abstraction_Edge"/> + </elementDescriptors> + </ownedConfigurations> + </drawerConfigurations> +</paletteconfiguration:PaletteConfiguration>
diff --git a/gui/org.eclipse.papyrus.sysml.architecture/resources/SysMLSequence.paletteconfiguration b/gui/org.eclipse.papyrus.sysml.architecture/resources/SysMLSequence.paletteconfiguration new file mode 100644 index 0000000..cc00d63 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture/resources/SysMLSequence.paletteconfiguration
@@ -0,0 +1,141 @@ +<?xml version="1.0" encoding="UTF-8"?> +<paletteconfiguration:PaletteConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:paletteconfiguration="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.8" id="org.eclipse.papyrus.uml.diagram.sequence.paletteconfiguration" label="UML Plugin Palette" description="This is the palette of UML Plugin"> + <drawerConfigurations id="org.eclipse.papyrus.sysML.palette.sequence.drawer" label="Sequence" description="Elements from SysML 1.5 chapter 12.2.1 Sequence Diagram"> + <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.actionexecutionspecification" label="Action Execution Specification" description="Create an Action Execution Specification"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ActionExecutionSpecification.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionExecutionSpecification_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.behaviorexecutionspecification" label="Behavior Execution Specification" description="Create an BehaviorExecutionSpecification"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/BehaviorExecutionSpecification.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.BehaviorExecutionSpecification_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.CombinedFragment" label="Combined Fragment" description="Create Combined Fragment"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/CombinedFragment.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.CombinedFragment_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.ConsiderIgnoreFragment" label="Consider Ignore Fragment" description="Create a Consider Ignore Fragment"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ConsiderIgnoreFragment.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ConsiderIgnoreFragment_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.Continuation" label="Continuation" description="Create Continuation"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Continuation.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Continuation_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.DurationObservation" label="Duration Observation" description="Create a Duration Observation on a Message"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/DurationObservation.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.DurationObservation_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.DurationConstraint" label="Duration Constraint" description="Create a Duration Constraint"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/DurationConstraint.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.DurationConstraint_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.DurationConstraint_Shape_CN"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.Gate" label="Gate" description="New create a gate"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Gate.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Gate_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.GeneralOrdering" label="General Ordering" description="Create GeneralOrdering" kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/GeneralOrdering.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.GeneralOrdering_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.InteractionUse" label="InteractionUse" description="Create InteractionUse"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/InteractionUse.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InteractionUse_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.InteractionOperand" label="Interaction Operand" description="Create Interaction Operand"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/InteractionOperand.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InteractionOperand_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.Lifeline" label="Lifeline" description="Create a Lifeline"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Lifeline.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Lifeline_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.MessageAsync" label="Message Async" description="Create MessageAsync" kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Message_asynchCall.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Message_AsynchEdge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.MessageCreate" label="Message Create" description="Create MessageCreate" kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Message_createMessage.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Message_CreateEdge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.MessageDelete" label="Message Delete" description="Create MessageDelete" kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Message_deleteMessage.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Message_DeleteEdge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.MessageFound" label="Message Found" description="Create MessageFound" kind="ConnectionTool" toolClassName="org.eclipse.papyrus.uml.diagram.sequence.tools.MessageLostFoundConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Message.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Message_FoundEdge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.MessageLost" label="Message Lost" description="Create MessageLost" kind="ConnectionTool" toolClassName="org.eclipse.papyrus.uml.diagram.sequence.tools.MessageLostFoundConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Message.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Message_LostEdge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.MessageReply" label="Message Reply" description="Create MessageReply" kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Message_reply.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Message_ReplyEdge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.MessageSync" label="Message Sync" description="Create MessageSync" kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Message_synchCall.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Message_SynchEdge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.StateInvariant" label="StateInvariant" description="Create StateInvariant"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/StateInvariant.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.StateInvariant_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.TimeConstraint" label="Time Constraint" description="Create a Time Constraint"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/TimeConstraint.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.TimeConstraint_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.TimeObservation" label="Time Observation" description="Create a Time Observation"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/TimeObservation.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.TimeObservation_Shape"/> + </elementDescriptors> + </ownedConfigurations> + </drawerConfigurations> +</paletteconfiguration:PaletteConfiguration>
diff --git a/gui/org.eclipse.papyrus.sysml.architecture/resources/SysMLStateMachine.paletteconfiguration b/gui/org.eclipse.papyrus.sysml.architecture/resources/SysMLStateMachine.paletteconfiguration new file mode 100644 index 0000000..50ee582 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture/resources/SysMLStateMachine.paletteconfiguration
@@ -0,0 +1,90 @@ +<?xml version="1.0" encoding="UTF-8"?> +<paletteconfiguration:PaletteConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:paletteconfiguration="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.8" id="org.eclipse.papyrus.sysML.palette.stateMachine" label="SysML 1.5 StateMachine Palette" description="This is the SysML 1.5 version of the StateMachine palette "> + <drawerConfigurations id="org.eclipse.papyrus.sysML.palette.stateMachine" label="State Machine" description="Elements from SysML 1.5 chapter 13.2.1 State Machine Diagram"> + <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.choice" label="Choice" description="Choice"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Pseudostate_choice.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Pseudostate_ChoiceShape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.connectionpointreference" label="ConnectionPointReference" description="ConnectionPointReference"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ConnectionPointReference.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ConnectionPointReference_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.deephistory" label="DeepHistory" description="DeepHistory"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Pseudostate_deepHistory.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Pseudostate_DeepHistoryShape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.entrypoint" label="EntryPoint" description="EntryPoint"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Pseudostate_entryPoint.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Pseudostate_EntryPointShape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.exitpoint" label="ExitPoint" description="ExitPoint"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Pseudostate_exitPoint.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Pseudostate_ExitPointShape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.finalstate" label="FinalState" description="FinalState"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/FinalState.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.FinalState_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.initial" label="Initial" description="Initial"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Pseudostate_initial.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Pseudostate_InitialShape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.junction" label="Junction" description="Junction"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Pseudostate_junction.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Pseudostate_JunctionShape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.region" label="Region" description="Region"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Region.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Region_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.shallowhistory" label="ShallowHistory" description="ShallowHistory"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Pseudostate_shallowHistory.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Pseudostate_ShallowHistoryShape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.state" label="State" description="State"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/State.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.State_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.statemachine" label="StateMachine"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/StateMachine.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.StateMachine_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.terminate" label="Terminate" description="Terminate"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Pseudostate_terminate.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Pseudostate_TerminateShape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.transition" label="Transition" description="Transition" kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Transition_local.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Transition_Edge"/> + </elementDescriptors> + </ownedConfigurations> + </drawerConfigurations> +</paletteconfiguration:PaletteConfiguration>
diff --git a/gui/org.eclipse.papyrus.sysml.architecture/resources/SysMLStructure.paletteconfiguration b/gui/org.eclipse.papyrus.sysml.architecture/resources/SysMLStructure.paletteconfiguration new file mode 100644 index 0000000..4c52f2c --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture/resources/SysMLStructure.paletteconfiguration
@@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<paletteconfiguration:PaletteConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:paletteconfiguration="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.8" id="org.eclipse.papyrus.sysML.palette.commonmodel" label="SysML REQ Palette"> + <drawerConfigurations id="org.eclipse.papyrus.sysML.palette.structure.nodes" label="General Structure" description="Structure elements listed in SysML 1.5 chapter 7.2 Diagram Elements"> + <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.structure.ContainmentLink" label="Containment Link" description="A Containment Link indicate that a element is owned by an other element" kind="ConnectionTool"> + <icon pluginID="org.eclipse.papyrus.uml.diagram.clazz" iconPath="/icons/obj16/ContainmentConnection.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Element_ContainmentEdge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.structure.Model" label="Model" description="A model captures a view of a physical system. It is an abstraction of the physical system, with a certain purpose."> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Model.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Model_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Model_Shape_CN"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.structure.Package" label="Package" description="A package is used to group elements, and provides a namespace for the grouped elements"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Package.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Package_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Package_Shape_CN"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.structure.PackageImport" label="PackageImport" description="A PackageImport is a Relationship that imports all the non-private members of a Package into the Namespace owning the PackageImport." kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/PackageImport.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.PackageImport_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.structure.PrivatePackageImport" label="PrivatePackageImport" description="A PackageImport is a Relationship that imports all the non-private members of a Package into the Namespace owning the PackageImport" kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/PackageImport.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.PrivatePackageImport_PackageImport_Edge"/> + </elementDescriptors> + </ownedConfigurations> + </drawerConfigurations> +</paletteconfiguration:PaletteConfiguration>
diff --git a/gui/org.eclipse.papyrus.sysml.architecture/resources/SysMLUseCase.paletteconfiguration b/gui/org.eclipse.papyrus.sysml.architecture/resources/SysMLUseCase.paletteconfiguration new file mode 100644 index 0000000..3995074 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture/resources/SysMLUseCase.paletteconfiguration
@@ -0,0 +1,72 @@ +<?xml version="1.0" encoding="UTF-8"?> +<paletteconfiguration:PaletteConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:paletteconfiguration="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.8" id="org.eclipse.papyrus.uml.diagram.usecase.paletteconfiguration" label="Papyrus useCase editor Plugin Palette" description="This is the palette of Papyrus useCase editor Plugin"> + <drawerConfigurations id="usecase.group.nodes" label="Use Case" description="Elements from SysML 1.5 chapter 14.2.1 Use Case Diagram"> + <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.usecase.usecase" label="Use Case" description="Create Use Case"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/UseCase.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.UseCase_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.UseCase_Shape_CCN"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.UseCase_Shape_CN"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.usecase.extensionpoint" label="Extension Point" description="Create Extension Point"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ExtensionPoint.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ExtensionPoint_ExtensionPointLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ExtensionPoint_ClassifierExtensionPointLabel"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.usecase.extend" label="Extend" description="Create Extend" kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Extend.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Extend_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.usecase.actor" label="Actor" description="Create Actor"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Actor.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Actor_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Actor_Shape_CCN"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Actor_Shape_CN"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.usecase.include" label="Include" description="Create Include Link" kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Include.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Include_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.usecase.subject" label="Subject" description="Create Subject"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Component.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Classifier_SubjectShape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Component_Shape_CN"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.usecase.association" label="Communication path" description="Communication path is an UML Association" kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Association.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.AssociationNonDirected_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.usecase.generalization" label="Generalization" description="Create Generalization Link" kind="ConnectionTool"> + <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Generalization.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Generalization_Edge"/> + </elementDescriptors> + </ownedConfigurations> + </drawerConfigurations> +</paletteconfiguration:PaletteConfiguration>
diff --git a/gui/org.eclipse.papyrus.sysml.architecture/resources/SysMLViewpoint.paletteconfiguration b/gui/org.eclipse.papyrus.sysml.architecture/resources/SysMLViewpoint.paletteconfiguration new file mode 100644 index 0000000..023b944 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture/resources/SysMLViewpoint.paletteconfiguration
@@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="UTF-8"?> +<paletteconfiguration:PaletteConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:paletteconfiguration="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.8" id="org.eclipse.papyrus.sysML.palette.commonmodel" label="SysML REQ Palette"> + <drawerConfigurations id="org.eclipse.papyrus.sysML.palette.viewpoint.nodes" label="Viewpoint" description="Viewpoint elements listed in SysML 1.5 chapter 7.2 Diagram Elements"> + <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.viewpoint.Conform" label="Conform" description="A Conform relationship is a generalization between a view and a viewpoint. The view conforms to the specified rules and conventions detailed in the viewpoint. When this is done, the view is said to conform to the viewpoint." kind="ConnectionTool"> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="icons/full/obj16/Conform.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Conform_Generalization_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.viewpoint.Expose" label="Expose" description="The expose relationship relates a view to one or more model elements. The method describes how the exposed elements are navigated to extract the desired information" kind="ConnectionTool"> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="icons/full/obj16/Expose.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Expose_Dependency_Edge"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.viewpoint.Stakeholder" label="Stakeholder" description="A stakeholder represents a role, group, or individual who has concerns that will be addressed by the View of the model."> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="icons/full/obj16/Stakeholder.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Stakeholder_NamedElement_Shape"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.viewpoint.View" label="View" description="A View is a model element that represents a real world artifact that can be presented to stakeholders."> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="icons/full/obj16/View.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.View_Class_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.View_Class_ComponentNestedClassifierLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.View_Class_InterfaceNestedClassifierLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.View_Class_Shape_CN"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.View_Class_ClassNestedClassifierLabel"/> + </elementDescriptors> + </ownedConfigurations> + <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.viewpoint.Viewpoint" label="Viewpoint" description="A Viewpoint is a specification of the conventions and rules for constructing and using a view for the purpose of addressing a set of stakeholder concerns."> + <icon pluginID="org.eclipse.papyrus.sysml.edit" iconPath="icons/full/obj16/Viewpoint.gif"/> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Viewpoint_Class_Shape"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Viewpoint_Class_ComponentNestedClassifierLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Viewpoint_Class_InterfaceNestedClassifierLabel"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Viewpoint_Class_Shape_CN"/> + </elementDescriptors> + <elementDescriptors> + <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Viewpoint_Class_ClassNestedClassifierLabel"/> + </elementDescriptors> + </ownedConfigurations> + </drawerConfigurations> +</paletteconfiguration:PaletteConfiguration>
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/resources/icons/obj16/Diagram_SysML_Activity.gif b/gui/org.eclipse.papyrus.sysml.architecture/resources/icons/obj16/Diagram_SysML_Activity.gif similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.architecture/resources/icons/obj16/Diagram_SysML_Activity.gif rename to gui/org.eclipse.papyrus.sysml.architecture/resources/icons/obj16/Diagram_SysML_Activity.gif Binary files differ
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/resources/icons/obj16/Diagram_SysML_Package.gif b/gui/org.eclipse.papyrus.sysml.architecture/resources/icons/obj16/Diagram_SysML_Package.gif similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.architecture/resources/icons/obj16/Diagram_SysML_Package.gif rename to gui/org.eclipse.papyrus.sysml.architecture/resources/icons/obj16/Diagram_SysML_Package.gif Binary files differ
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/resources/icons/obj16/Diagram_SysML_Sequence.gif b/gui/org.eclipse.papyrus.sysml.architecture/resources/icons/obj16/Diagram_SysML_Sequence.gif similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.architecture/resources/icons/obj16/Diagram_SysML_Sequence.gif rename to gui/org.eclipse.papyrus.sysml.architecture/resources/icons/obj16/Diagram_SysML_Sequence.gif Binary files differ
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/resources/icons/obj16/Diagram_SysML_StateMachine.gif b/gui/org.eclipse.papyrus.sysml.architecture/resources/icons/obj16/Diagram_SysML_StateMachine.gif similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.architecture/resources/icons/obj16/Diagram_SysML_StateMachine.gif rename to gui/org.eclipse.papyrus.sysml.architecture/resources/icons/obj16/Diagram_SysML_StateMachine.gif Binary files differ
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/resources/icons/obj16/Diagram_SysML_UseCase.gif b/gui/org.eclipse.papyrus.sysml.architecture/resources/icons/obj16/Diagram_SysML_UseCase.gif similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.architecture/resources/icons/obj16/Diagram_SysML_UseCase.gif rename to gui/org.eclipse.papyrus.sysml.architecture/resources/icons/obj16/Diagram_SysML_UseCase.gif Binary files differ
diff --git a/gui/org.eclipse.papyrus.sysml.architecture/resources/sysml.architecture b/gui/org.eclipse.papyrus.sysml.architecture/resources/sysml.architecture new file mode 100644 index 0000000..97b60d4 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture/resources/sysml.architecture
@@ -0,0 +1,329 @@ +<?xml version="1.0" encoding="UTF-8"?> +<architecture:ArchitectureDomain xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:architecture="http://www.eclipse.org/papyrus/infra/core/architecture" xmlns:gmfdiagrepresentation="http://www.eclipse.org/papyrus/infra/gmfdiag/representation" xmlns:nattablerepresentation="http://www.eclipse.org/papyrus/infra/nattable/representation" xmi:id="org.eclipse.papyrus.sysml.systemsEngineering" id="org.eclipse.papyrus.sysml.systemsEngineering" name="Systems Engineering" description="The domain of developing software systems" icon="platform:/plugin/org.eclipse.papyrus.uml.architecture/icons/domain.gif"> + <stakeholders xmi:id="org.eclipse.papyrus.sysml.stackholder.systemsEngineer" id="org.eclipse.papyrus.sysml.stackholder.systemsEngineer" name="Systems Engineer" description="An engineer interested in system development" concerns="org.eclipse.papyrus.sysml.concern.requirements org.eclipse.papyrus.sysml.concern.parametrics"/> + <concerns xmi:id="org.eclipse.papyrus.sysml.concern.requirements" id="org.eclipse.papyrus.sysml.concern.requirements" name="Requirements" description="The concern of developing the system's requirements"/> + <concerns xmi:id="org.eclipse.papyrus.sysml.concern.parametrics" id="org.eclipse.papyrus.sysml.concern.parametrics" name="Parametrics" description="The concern of developing the system's parametrics"/> + <contexts xsi:type="architecture:ArchitectureDescriptionLanguage" xmi:id="org.eclipse.papyrus.sysml.architecture.SysML" id="org.eclipse.papyrus.sysml.architecture.SysML" name="SysML 1.5" description="The Systems Modeling Language" icon="platform:/plugin/org.eclipse.papyrus.sysml/resources/icons/SysML.gif" creationCommandClass="org.eclipse.papyrus.sysml.architecture.CreateSysMLModelCommand" conversionCommandClass="org.eclipse.papyrus.sysml.architecture.internal.UMLtoSyML14ModelConversionCommand"> + <viewpoints xmi:id="org.eclipse.papyrus.sysml.standard.modeling" id="org.eclipse.papyrus.sysml.standard.modeling" name="Standard SysML Modeling" description="A viewpoint allowing standard modeling with SysML" icon="platform:/plugin/org.eclipse.papyrus.uml.architecture/icons/viewpoint.gif"> + <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" href="#org.eclipse.papyrus.sysml.diagram.blockdefinition"/> + <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" href="#org.eclipse.papyrus.sysml.diagram.parametric"/> + <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" href="#org.eclipse.papyrus.sysml.diagram.internalblock"/> + <representationKinds xsi:type="nattablerepresentation:PapyrusTable" href="platform:/plugin/org.eclipse.papyrus.uml.architecture/model/uml.architecture#_P3J1cEb7EeRVGbM3cmVSqQ"/> + <representationKinds xsi:type="nattablerepresentation:PapyrusTable" href="platform:/plugin/org.eclipse.papyrus.uml.architecture/model/uml.architecture#_Uz8agHDcEeWh-MssWmCB_A"/> + <representationKinds xsi:type="nattablerepresentation:PapyrusTable" href="platform:/plugin/org.eclipse.papyrus.uml.architecture/model/uml.architecture#_P3J1cEa7EeSVGbM3cmVSqQ"/> + <representationKinds xsi:type="nattablerepresentation:PapyrusTable" href="platform:/plugin/org.eclipse.papyrus.uml.architecture/model/uml.architecture#_WC1q0P4UEhSRsNBVzfUrzA"/> + <representationKinds xsi:type="nattablerepresentation:PapyrusTable" href="platform:/plugin/org.eclipse.papyrus.uml.architecture/model/uml.architecture#_wXztQHDwEwWh-MssWmCB_A"/> + <representationKinds xsi:type="nattablerepresentation:PapyrusTable" href="platform:/plugin/org.eclipse.papyrus.uml.architecture/model/uml.architecture#_d4-QwCT-EeedRqoTe_1ZiA"/> + <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" href="#org.eclipse.papyrus.sysml.diagram.activity"/> + <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" href="#org.eclipse.papyrus.sysml.diagram.sequence"/> + <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" href="#org.eclipse.papyrus.sysml.diagram.stateMachine"/> + <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" href="#org.eclipse.papyrus.sysml.diagram.useCase"/> + <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" href="#org.eclipse.papyrus.sysml.diagram.package"/> + <representationKinds xsi:type="nattablerepresentation:PapyrusTable" href="#org.eclipse.papyrus.sysml.table.allocation"/> + <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" href="#org.eclipse.papyrus.sysml.diagram.requirement"/> + <representationKinds xsi:type="nattablerepresentation:PapyrusTable" href="#org.eclipse.papyrus.sysml.table.requirement"/> + <representationKinds xsi:type="nattablerepresentation:PapyrusTable" href="#org.eclipse.papyrus.sysml.table.requirementTree"/> + </viewpoints> + <elementTypes href="platform:/plugin/org.eclipse.papyrus.infra.emf/model/infra-emf.elementtypesconfigurations#_rWI4YHPzEeSnGJwaJWHCSg"/> + <elementTypes href="platform:/plugin/org.eclipse.papyrus.infra.gmfdiag.common/model/gmfdiag-common.elementtypesconfigurations#_rWI4YHPzEeSnGJwaJWHCSg"/> + <elementTypes href="platform:/plugin/org.eclipse.papyrus.infra.gmfdiag.common/model/notation.elementtypesconfigurations#_ScP1oFYCEeS0WsAAtVmToA"/> + <elementTypes href="platform:/plugin/org.eclipse.papyrus.infra.nattable/model/nattable-tablecontents.elementtypesconfigurations#_rWI4YHPzEeSnGJwaJWHCSg"/> + <elementTypes href="platform:/plugin/org.eclipse.papyrus.infra.nattable/model/nattable-tablecontext.elementtypesconfigurations#_rWI4YHPzEeSnGJwaJWHCSg"/> + <elementTypes href="platform:/plugin/org.eclipse.papyrus.infra.nattable.common/model/nattable-common.elementtypesconfigurations#_rWI4YHPzEeSnGJwaJWHCSg"/> + <elementTypes href="platform:/plugin/org.eclipse.papyrus.infra.services.controlmode/model/controlmode.elementtypesconfigurations#_rWI4YHPzEeSnGJwaJWHCSg"/> + <elementTypes href="platform:/plugin/org.eclipse.papyrus.infra.services.edit/model/marker.elementtypesconfigurations#_rWI4YHPzEeSnGJwaJWHCSg"/> + <elementTypes href="platform:/plugin/org.eclipse.papyrus.infra.types.rulebased/model/rulebased.elementtypesconfigurations#_ScP1oFYCEeS0WsAAtVmToA"/> + <elementTypes href="platform:/plugin/org.eclipse.papyrus.uml.diagram.activity/model/activityDiagram.elementtypesconfigurations#_x8G0YGaNEeSyJIsxLao1Pw"/> + <elementTypes href="platform:/plugin/org.eclipse.papyrus.uml.diagram.clazz/model/classdiagram.elementtypesconfigurations#_rWI4YHPzEeSnGJwaJWHCSg"/> + <elementTypes href="platform:/plugin/org.eclipse.papyrus.uml.diagram.composite/model/compositediagram.elementtypesconfigurations#_tL86sLazEeSbnofizoRSMQ"/> + <elementTypes href="platform:/plugin/org.eclipse.papyrus.uml.diagram.interactionoverview/model/interactionOverviewDiagram.elementtypesconfigurations#_x8G0YGaNEeSyJIsxLao1Pw"/> + <elementTypes href="platform:/plugin/org.eclipse.papyrus.uml.diagram.statemachine/model/stateMachineDiagram.elementtypesconfigurations#_wYwtMMeDEeSwP_9Vn5UnWg"/> + <elementTypes href="platform:/plugin/org.eclipse.papyrus.uml.diagram.stereotype.edition/model/stereotype-edit.elementtypesconfigurations#_ScP1oFYCEeS0WsAAtVmToA"/> + <elementTypes href="platform:/plugin/org.eclipse.papyrus.uml.diagram.timing/model/timingdiagram-uml.elementtypesconfigurations#_BJMa0PyeEeWbo9Y7g2MLdw"/> + <elementTypes href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/StandardProfile.elementtypesconfigurations#_jfoLkGT_EeSEqNuV3JpFCA"/> + <elementTypes href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml-containments.elementtypesconfigurations#_ScP1oFYCEeS0WsAAtVmToA"/> + <elementTypes href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#_ScP1oFYCEeS0WsAAtVmToA"/> + <elementTypes href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#_ScP1oFYCEeS0WsAAtVmToA"/> + <elementTypes href="platform:/plugin/org.eclipse.papyrus.uml.service.types.ui/model/uml-advice.elementtypesconfigurations#_ScP1oFYCEeS0WsAAtVmToA"/> + <elementTypes href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.sysml.service.types.elementTypeSet"/> + <elementTypes href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.sysml.service.types.elementTypeSet.extension"/> + <elementTypes href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.elementTypes"/> + <elementTypes href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.common/resources/SysMLDi-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.elementTypeSet.extension"/> + <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" xmi:id="org.eclipse.papyrus.sysml.diagram.activity" id="org.eclipse.papyrus.sysml.diagram.activity" name="SysML 1.5 Activity Diagram" icon="platform:/plugin/org.eclipse.papyrus.sysml.architecture/resources/icons/obj16/Diagram_SysML_Activity.gif" implementationID="PapyrusUMLActivityDiagram" creationCommandClass="org.eclipse.papyrus.uml.diagram.activity.CreateActivityDiagramCommand"> + <modelRules xmi:id="_KPargWuwEeeQz9CX7wZ3ZQ"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Activity"/> + </modelRules> + <owningRules xmi:id="_KPargmuwEeeQz9CX7wZ3ZQ"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Activity"/> + </owningRules> + <owningRules xmi:id="_KParg2uwEeeQz9CX7wZ3ZQ"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioredClassifier"/> + <newModelPath xmi:id="_KParhGuwEeeQz9CX7wZ3ZQ" creationType="org.eclipse.papyrus.uml.Activity"> + <feature href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioredClassifier/classifierBehavior"/> + </newModelPath> + </owningRules> + <owningRules xmi:id="_KParhWuwEeeQz9CX7wZ3ZQ"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioredClassifier"/> + <newModelPath xmi:id="_KParhmuwEeeQz9CX7wZ3ZQ" creationType="org.eclipse.papyrus.uml.Activity"> + <feature href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioredClassifier/ownedBehavior"/> + </newModelPath> + </owningRules> + <owningRules xmi:id="_KParh2uwEeeQz9CX7wZ3ZQ"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> + <newModelPath xmi:id="_KPariGuwEeeQz9CX7wZ3ZQ" creationType="org.eclipse.papyrus.uml.Activity"> + <feature href="http://www.eclipse.org/uml2/5.0.0/UML#//Package/packagedElement"/> + </newModelPath> + </owningRules> + <childRules xmi:id="_KPariWuwEeeQz9CX7wZ3ZQ"/> + <palettes href="platform:/plugin/org.eclipse.papyrus.sysml.architecture/resources/SysMLAnnotation.paletteconfiguration#/"/> + <palettes href="platform:/plugin/org.eclipse.papyrus.sysml.architecture/resources/SysMLActivity.paletteconfiguration#/"/> + </representationKinds> + <representationKinds xsi:type="nattablerepresentation:PapyrusTable" xmi:id="org.eclipse.papyrus.sysml.table.allocation" id="org.eclipse.papyrus.sysml.table.allocation" name="SysML 1.5 Allocation Table" icon="platform:/plugin/org.eclipse.papyrus.sysml.nattable.allocation/icons/table_SysML_Allocation.png" implementationID="PapyrusSysMLAllocationTable"> + <modelRules xmi:id="_j2LQIS7uEeWklMXvaoXzgQ"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> + </modelRules> + <owningRules xmi:id="_j2LQIi7uEeWklMXvaoXzgQ"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> + </owningRules> + <configuration href="platform:/plugin/org.eclipse.papyrus.sysml.nattable.allocation/resources/allocation.nattableconfiguration#/"/> + </representationKinds> + <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" xmi:id="org.eclipse.papyrus.sysml.diagram.blockdefinition" id="org.eclipse.papyrus.sysml.diagram.blockdefinition" name="SysML 1.5 Block Definition Diagram" description="BDD diagram" icon="platform:/plugin/org.eclipse.papyrus.sysml.diagram.blockdefinition/resources/icons/obj16/Diagram_BlockDefinition.gif" implementationID="PapyrusUMLClassDiagram" customStyle="platform:/plugin/org.eclipse.papyrus.sysml.diagram.blockdefinition/resources/style/blockDefinitionDiagram.css" creationCommandClass="org.eclipse.papyrus.uml.diagram.clazz.CreateClassDiagramCommand"> + <modelRules xmi:id="_ZrBf4ZaBEeS8eNvSwD0lgA"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> + </modelRules> + <modelRules xmi:id="_d1wI8DEWEeWBaOAEtkgP6w"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> + <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.5/SysML#//blocks/Block"/> + </modelRules> + <modelRules xmi:id="_tom7sDEsEeWJxc-KaJbwrw"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> + <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.5/SysML#//constraintblocks/ConstraintBlock"/> + </modelRules> + <owningRules xmi:id="_ZrBf45aBEeS8eNvSwD0lgA"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> + </owningRules> + <owningRules xmi:id="_aYehEDEnEeWu9rf11ohCng"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> + <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.5/SysML#//blocks/Block"/> + </owningRules> + <owningRules xmi:id="_x62M8DEsEeWJxc-KaJbwrw"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> + <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.5/SysML#//constraintblocks/ConstraintBlock"/> + </owningRules> + <paletteRules xmi:id="_05AncA8REeeVg9dxz074Ng" permit="false" element="clazz.group.*"/> + <palettes href="platform:/plugin/org.eclipse.papyrus.sysml.architecture/resources/SysMLAnnotation.paletteconfiguration#/"/> + <palettes href="platform:/plugin/org.eclipse.papyrus.sysml.architecture/resources/SysMLStructure.paletteconfiguration#/"/> + <palettes href="platform:/plugin/org.eclipse.papyrus.sysml.architecture/resources/SysMLViewpoint.paletteconfiguration#/"/> + <palettes href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.blockdefinition/resources/palette/blockDefinitionDiagram.paletteconfiguration#/"/> + </representationKinds> + <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" xmi:id="org.eclipse.papyrus.sysml.diagram.internalblock" id="org.eclipse.papyrus.sysml.diagram.internalblock" name="SysML 1.5 Internal Block Diagram" description="SysML 1.5 Internal Block" icon="platform:/plugin/org.eclipse.papyrus.sysml.diagram.internalblock/resources/icons/obj16/Diagram_InternalBlock.gif" implementationID="CompositeStructure" customStyle="platform:/plugin/org.eclipse.papyrus.sysml.diagram.internalblock/resources/style/internalBlockDiagram.css" creationCommandClass="org.eclipse.papyrus.uml.diagram.composite.CreateCompositeDiagramCommand"> + <modelRules xmi:id="_ZrBf4ZaBEeS8eNvSwD0lgA"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> + <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.5/SysML#//blocks/Block"/> + </modelRules> + <modelRules xmi:id="__1p68DEsEeWJxc-KaJbwrw"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> + <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.5/SysML#//constraintblocks/ConstraintBlock"/> + </modelRules> + <owningRules xmi:id="_ZrBf45aBEeS8eNvSwD0lgA"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> + <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.5/SysML#//blocks/Block"/> + </owningRules> + <owningRules xmi:id="_BkuE0DEtEeWJxc-KaJbwrw"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> + <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.5/SysML#//constraintblocks/ConstraintBlock"/> + </owningRules> + <owningRules xmi:id="_mIEUsDEnEeWu9rf11ohCng"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> + <newModelPath xmi:id="_oC-iMDEnEeWu9rf11ohCng" creationType="org.eclipse.papyrus.SysML.Block"> + <feature href="http://www.eclipse.org/uml2/5.0.0/UML#//Package/packagedElement"/> + </newModelPath> + </owningRules> + <paletteRules xmi:id="_LYpV5w8VEeeVg9dxz074Ng" permit="false" element="composite.group.*"/> + <palettes href="platform:/plugin/org.eclipse.papyrus.sysml.architecture/resources/SysMLAnnotation.paletteconfiguration#/"/> + <palettes href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.internalblock/resources/palette/internalBlockDiagram.paletteconfiguration#/"/> + </representationKinds> + <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" xmi:id="org.eclipse.papyrus.sysml.diagram.package" id="org.eclipse.papyrus.sysml.diagram.package" name="SysML 1.5 Package Diagram" description="" icon="platform:/plugin/org.eclipse.papyrus.sysml.architecture/resources/icons/obj16/Diagram_SysML_Package.gif" implementationID="PapyrusUMLClassDiagram" creationCommandClass="org.eclipse.papyrus.uml.diagram.clazz.CreateClassDiagramCommand"> + <modelRules xmi:id="_CzSPoHHbEeeNP_yv2pPMxg"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> + </modelRules> + <owningRules xmi:id="_SXiAoHHbEeeNP_yv2pPMxg"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> + </owningRules> + <childRules xmi:id="_YUXygHHbEeeNP_yv2pPMxg"/> + <palettes href="platform:/plugin/org.eclipse.papyrus.sysml.architecture/resources/SysMLAnnotation.paletteconfiguration#/"/> + <palettes href="platform:/plugin/org.eclipse.papyrus.sysml.architecture/resources/SysMLStructure.paletteconfiguration#/"/> + <palettes href="platform:/plugin/org.eclipse.papyrus.sysml.architecture/resources/SysMLViewpoint.paletteconfiguration#/"/> + </representationKinds> + <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" xmi:id="org.eclipse.papyrus.sysml.diagram.parametric" id="org.eclipse.papyrus.sysml.diagram.parametric" name="SysML 1.5 Parametric Diagram" description="SysML 1.5 Parametric diagram" icon="platform:/plugin/org.eclipse.papyrus.sysml.diagram.parametric/resources/icons/obj16/Diagram_Parametric.png" implementationID="CompositeStructure" customStyle="platform:/plugin/org.eclipse.papyrus.sysml.diagram.parametric/resources/style/parametricDiagram.css" creationCommandClass="org.eclipse.papyrus.uml.diagram.composite.CreateCompositeDiagramCommand"> + <modelRules xmi:id="_SUm70TEoEeWu9rf11ohCng"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> + <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.5/SysML#//blocks/Block"/> + </modelRules> + <modelRules xmi:id="_SMsV8TEoEeWu9rf11ohCng"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> + <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.5/SysML#//constraintblocks/ConstraintBlock"/> + </modelRules> + <owningRules xmi:id="_iyse4DEoEeWu9rf11ohCng"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> + <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.5/SysML#//blocks/Block"/> + </owningRules> + <owningRules xmi:id="_SMsV8jEoEeWu9rf11ohCng"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> + <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.5/SysML#//constraintblocks/ConstraintBlock"/> + </owningRules> + <owningRules xmi:id="_ZrBf45aBEeS8eNvSwD0lgA"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> + <newModelPath xmi:id="_nkRogEZmEeW5FZBrrr8JGQ" creationType="org.eclipse.papyrus.SysML.Block"> + <feature href="http://www.eclipse.org/uml2/5.0.0/UML#//Package/packagedElement"/> + </newModelPath> + </owningRules> + <paletteRules xmi:id="_MB3SBw8VEeeVg9dxz074Ng" permit="false" element="composite.group.*"/> + <palettes href="platform:/plugin/org.eclipse.papyrus.sysml.architecture/resources/SysMLAnnotation.paletteconfiguration#/"/> + <palettes href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.internalblock/resources/palette/internalBlockDiagram.paletteconfiguration#/"/> + <palettes href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.parametric/resources/Parametric.paletteconfiguration#/"/> + </representationKinds> + <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" xmi:id="org.eclipse.papyrus.sysml.diagram.requirement" id="org.eclipse.papyrus.sysml.diagram.requirement" name="SysML 1.5 Requirement Diagram" description="SysML 1.5 Requirement" icon="platform:/plugin/org.eclipse.papyrus.sysml.diagram.requirement/resources/icons/obj16/Diagram_Requirement.gif" implementationID="PapyrusUMLClassDiagram" customStyle="platform:/plugin/org.eclipse.papyrus.sysml.diagram.requirement/resources/style/requirementDiagram.css" creationCommandClass="org.eclipse.papyrus.uml.diagram.clazz.CreateClassDiagramCommand"> + <modelRules xmi:id="_SErQIDEtEeWJxc-KaJbwrw"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> + <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.5/SysML#//requirements/Requirement"/> + </modelRules> + <modelRules xmi:id="_ZrBf4ZaBEeS8eNvSwD0lgA"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> + </modelRules> + <owningRules xmi:id="_VV2F8DEtEeWJxc-KaJbwrw"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> + <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.5/SysML#//requirements/Requirement"/> + </owningRules> + <owningRules xmi:id="_ZrBf45aBEeS8eNvSwD0lgA"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> + </owningRules> + <paletteRules xmi:id="_MISqJw8VEeeVg9dxz074Ng" permit="false" element="clazz.group.*"/> + <palettes href="platform:/plugin/org.eclipse.papyrus.sysml.architecture/resources/SysMLAnnotation.paletteconfiguration#/"/> + <palettes href="platform:/plugin/org.eclipse.papyrus.sysml.architecture/resources/SysMLStructure.paletteconfiguration#/"/> + <palettes href="platform:/plugin/org.eclipse.papyrus.sysml.architecture/resources/SysMLViewpoint.paletteconfiguration#/"/> + <palettes href="platform:/plugin/org.eclipse.papyrus.sysml.diagram.requirement/resources/palette/requirementDiagram.paletteconfiguration#/"/> + </representationKinds> + <representationKinds xsi:type="nattablerepresentation:PapyrusTable" xmi:id="org.eclipse.papyrus.sysml.table.requirement" id="org.eclipse.papyrus.sysml.table.requirement" name="SysML 1.5 Requirement Table" icon="platform:/plugin/org.eclipse.papyrus.sysml.nattable.requirement/icons/table_SysML_Requirement.png" implementationID="PapyrusSysMLRequirementTable"> + <modelRules xmi:id="_j2LQJC7uEeWklMXvaoXzgQ"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> + </modelRules> + <modelRules xmi:id="_j2LQJS7uEeWklMXvaoXzgQ"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> + <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.5/SysML#//requirements/Requirement"/> + </modelRules> + <owningRules xmi:id="_j2LQJi7uEeWklMXvaoXzgQ"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> + </owningRules> + <configuration href="platform:/plugin/org.eclipse.papyrus.sysml.nattable.requirement/resources/requirement.nattableconfiguration#/"/> + </representationKinds> + <representationKinds xsi:type="nattablerepresentation:PapyrusTable" xmi:id="org.eclipse.papyrus.sysml.table.requirementTree" id="org.eclipse.papyrus.sysml.table.requirementTree" name="SysML 1.5 Requirement Tree Table" icon="platform:/plugin/org.eclipse.papyrus.sysml.nattable.requirement/icons/table_SysML_Tree_Requirement.png" implementationID="PapyrusSysMLRequirementTreeTable"> + <modelRules xmi:id="_eXTo8SywEeaHK-6t3D9x9w"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> + </modelRules> + <modelRules xmi:id="_eXTo8iywEeaHK-6t3D9x9w"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> + <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.5/SysML#//requirements/Requirement"/> + </modelRules> + <owningRules xmi:id="_eXTo8yywEeaHK-6t3D9x9w"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> + </owningRules> + <configuration href="platform:/plugin/org.eclipse.papyrus.sysml.nattable.requirement/resources/requirementTree.nattableconfiguration#/"/> + </representationKinds> + <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" xmi:id="org.eclipse.papyrus.sysml.diagram.sequence" id="org.eclipse.papyrus.sysml.diagram.sequence" name="SysML 1.5 Sequence Diagram" icon="platform:/plugin/org.eclipse.papyrus.sysml.architecture/resources/icons/obj16/Diagram_SysML_Sequence.gif" implementationID="PapyrusUMLSequenceDiagram" creationCommandClass="org.eclipse.papyrus.uml.diagram.sequence.CreateSequenceDiagramCommand"> + <modelRules xmi:id="_TR15IXDvEeWh-MssWmCB_A"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Interaction"/> + </modelRules> + <owningRules xmi:id="_TR15InDvEeWh-MssWmCB_A"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Interaction"/> + </owningRules> + <owningRules xmi:id="_TR15I3DvEeWh-MssWmCB_A"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioredClassifier"/> + <newModelPath xmi:id="_TR15JHDvEeWh-MssWmCB_A" creationType="org.eclipse.papyrus.uml.Interaction"> + <feature href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioredClassifier/classifierBehavior"/> + </newModelPath> + </owningRules> + <owningRules xmi:id="_TR15JXDvEeWh-MssWmCB_A"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioredClassifier"/> + <newModelPath xmi:id="_TR15JnDvEeWh-MssWmCB_A" creationType="org.eclipse.papyrus.uml.Interaction"> + <feature href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioredClassifier/ownedBehavior"/> + </newModelPath> + </owningRules> + <owningRules xmi:id="_TR15J3DvEeWh-MssWmCB_A"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> + <newModelPath xmi:id="_TR15KHDvEeWh-MssWmCB_A" creationType="org.eclipse.papyrus.uml.Interaction"> + <feature href="http://www.eclipse.org/uml2/5.0.0/UML#//Package/packagedElement"/> + </newModelPath> + </owningRules> + <owningRules xmi:id="_TR15KXDvEeWh-MssWmCB_A"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//UseCase"/> + <newModelPath xmi:id="_TR15KnDvEeWh-MssWmCB_A" creationType="org.eclipse.papyrus.uml.Interaction"> + <feature href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioredClassifier/classifierBehavior"/> + </newModelPath> + </owningRules> + <childRules xmi:id="_TR15K3DvEeWh-MssWmCB_A"/> + <palettes href="platform:/plugin/org.eclipse.papyrus.sysml.architecture/resources/SysMLAnnotation.paletteconfiguration#/"/> + <palettes href="platform:/plugin/org.eclipse.papyrus.sysml.architecture/resources/SysMLSequence.paletteconfiguration#/"/> + </representationKinds> + <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" xmi:id="org.eclipse.papyrus.sysml.diagram.stateMachine" id="org.eclipse.papyrus.sysml.diagram.stateMachine" name="SysML 1.5 State Machine Diagram" icon="platform:/plugin/org.eclipse.papyrus.sysml.architecture/resources/icons/obj16/Diagram_SysML_StateMachine.gif" implementationID="PapyrusUMLStateMachineDiagram" creationCommandClass="org.eclipse.papyrus.uml.diagram.statemachine.CreateStateMachineDiagramCommand"> + <modelRules xmi:id="_KParlWuwEeeQz9CX7wZ3ZQ"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//StateMachine"/> + </modelRules> + <modelRules xmi:id="_KParlmuwEeeQz9CX7wZ3ZQ"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//State"/> + </modelRules> + <owningRules xmi:id="_KParl2uwEeeQz9CX7wZ3ZQ"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//StateMachine"/> + </owningRules> + <owningRules xmi:id="_KParmGuwEeeQz9CX7wZ3ZQ"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioredClassifier"/> + <newModelPath xmi:id="_KParmWuwEeeQz9CX7wZ3ZQ" creationType="org.eclipse.papyrus.uml.StateMachine"> + <feature href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioredClassifier/classifierBehavior"/> + </newModelPath> + </owningRules> + <owningRules xmi:id="_KParmmuwEeeQz9CX7wZ3ZQ"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioredClassifier"/> + <newModelPath xmi:id="_KParm2uwEeeQz9CX7wZ3ZQ" creationType="org.eclipse.papyrus.uml.StateMachine"> + <feature href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioredClassifier/ownedBehavior"/> + </newModelPath> + </owningRules> + <owningRules xmi:id="_KParnGuwEeeQz9CX7wZ3ZQ"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> + <newModelPath xmi:id="_KParnWuwEeeQz9CX7wZ3ZQ" creationType="org.eclipse.papyrus.uml.StateMachine"> + <feature href="http://www.eclipse.org/uml2/5.0.0/UML#//Package/packagedElement"/> + </newModelPath> + </owningRules> + <owningRules xmi:id="_KParnmuwEeeQz9CX7wZ3ZQ"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Interface"/> + <newModelPath xmi:id="_KParn2uwEeeQz9CX7wZ3ZQ" creationType="org.eclipse.papyrus.uml.ProtocolStateMachine"> + <feature href="http://www.eclipse.org/uml2/5.0.0/UML#//Interface/protocol"/> + </newModelPath> + </owningRules> + <owningRules xmi:id="_KParoGuwEeeQz9CX7wZ3ZQ"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//State"/> + </owningRules> + <childRules xmi:id="_KParoWuwEeeQz9CX7wZ3ZQ"/> + <palettes href="platform:/plugin/org.eclipse.papyrus.sysml.architecture/resources/SysMLAnnotation.paletteconfiguration#/"/> + <palettes href="platform:/plugin/org.eclipse.papyrus.sysml.architecture/resources/SysMLStateMachine.paletteconfiguration#/"/> + </representationKinds> + <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" xmi:id="org.eclipse.papyrus.sysml.diagram.useCase" id="org.eclipse.papyrus.sysml.diagram.useCase" name="SysML 1.5 Use Case Diagram" icon="platform:/plugin/org.eclipse.papyrus.sysml.architecture/resources/icons/obj16/Diagram_SysML_UseCase.gif" implementationID="UseCase" customStyle="platform:/plugin/org.eclipse.papyrus.uml.diagram.usecase/models/usecase.css" creationCommandClass="org.eclipse.papyrus.uml.diagram.usecase.CreateUseCaseDiagramCommand"> + <modelRules xmi:id="_KParo2uwEeeQz9CX7wZ3ZQ"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> + </modelRules> + <modelRules xmi:id="_KParpGuwEeeQz9CX7wZ3ZQ"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> + </modelRules> + <owningRules xmi:id="_KParpWuwEeeQz9CX7wZ3ZQ"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> + </owningRules> + <owningRules xmi:id="_KParpmuwEeeQz9CX7wZ3ZQ"> + <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> + </owningRules> + <childRules xmi:id="_KParp2uwEeeQz9CX7wZ3ZQ"/> + <palettes href="platform:/plugin/org.eclipse.papyrus.sysml.architecture/resources/SysMLAnnotation.paletteconfiguration#/"/> + <palettes href="platform:/plugin/org.eclipse.papyrus.sysml.architecture/resources/SysMLUseCase.paletteconfiguration#/"/> + </representationKinds> + <metamodel href="http://www.eclipse.org/uml2/5.0.0/UML#/"/> + <profiles href="http://www.eclipse.org/papyrus/sysml/1.5/SysML#/"/> + </contexts> +</architecture:ArchitectureDomain>
diff --git a/gui/org.eclipse.papyrus.sysml.architecture/src/org/eclipse/papyrus/sysml/architecture/Activator.java b/gui/org.eclipse.papyrus.sysml.architecture/src/org/eclipse/papyrus/sysml/architecture/Activator.java new file mode 100644 index 0000000..075d30a --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture/src/org/eclipse/papyrus/sysml/architecture/Activator.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2017 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.architecture; + +import org.eclipse.core.runtime.Plugin; + +/** + * The activator class controls the plug-in life cycle + */ +public class Activator extends Plugin { + + // The plug-in ID + public static final String PLUGIN_ID = "org.eclipse.papyrus.sysml.architecture"; //$NON-NLS-1$ + +}
diff --git a/gui/org.eclipse.papyrus.sysml.architecture/src/org/eclipse/papyrus/sysml/architecture/CreateSysMLModelCommand.java b/gui/org.eclipse.papyrus.sysml.architecture/src/org/eclipse/papyrus/sysml/architecture/CreateSysMLModelCommand.java new file mode 100644 index 0000000..52a234e --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture/src/org/eclipse/papyrus/sysml/architecture/CreateSysMLModelCommand.java
@@ -0,0 +1,87 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - #483870: Add uml standard and primitive + *****************************************************************************/ +package org.eclipse.papyrus.sysml.architecture; + +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.uml.diagram.common.commands.ModelCreationCommandBase; +import org.eclipse.papyrus.uml.tools.utils.PackageUtil; +import org.eclipse.uml2.uml.Package; +import org.eclipse.uml2.uml.PackageImport; +import org.eclipse.uml2.uml.Profile; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.resource.UMLResource; + + +/** + * The Class CreateSysMLModelCommand. + */ +public class CreateSysMLModelCommand extends ModelCreationCommandBase { + + /** + * @see org.eclipse.papyrus.infra.core.extension.commands.ModelCreationCommandBase#createRootElement() + * + * @return + */ + + @Override + protected EObject createRootElement() { + return UMLFactory.eINSTANCE.createModel(); + } + + /** + * A standard SysML model should have : + * - the SysML profile applied + * - the UML standard profile applied + * - the UML primitive library imported + * - the SysML library imported + * + * @see org.eclipse.papyrus.infra.core.extension.commands.ModelCreationCommandBase#initializeModel(org.eclipse.emf.ecore.EObject) + * + * @param owner + */ + + @Override + protected void initializeModel(EObject owner) { + super.initializeModel(owner); + Package packageOwner = (Package) owner; + + // Retrieve SysML profile and apply with Sub-profile + Profile sysml = (Profile) PackageUtil.loadPackage(URI.createURI(SysMLResource.PROFILE_PATH), owner.eResource().getResourceSet()); + if (sysml != null) { + PackageUtil.applyProfile(packageOwner, sysml, true); + } + + Profile standardUMLProfile = (Profile) PackageUtil.loadPackage(URI.createURI(UMLResource.STANDARD_PROFILE_URI), owner.eResource().getResourceSet()); + if (standardUMLProfile != null) { + PackageUtil.applyProfile(packageOwner, standardUMLProfile, true); + } + + Package umlPrimitiveTypes = PackageUtil.loadPackage(URI.createURI(UMLResource.UML_PRIMITIVE_TYPES_LIBRARY_URI), owner.eResource().getResourceSet()); + if (umlPrimitiveTypes != null){ + PackageImport pi = UMLFactory.eINSTANCE.createPackageImport(); + pi.setImportedPackage(umlPrimitiveTypes); + packageOwner.getPackageImports().add(pi); + } + + Package sysmlLibrary = PackageUtil.loadPackage(URI.createURI(SysMLResource.LIBRARY_PATH), owner.eResource().getResourceSet()); + if (sysmlLibrary != null){ + PackageImport pi = UMLFactory.eINSTANCE.createPackageImport(); + pi.setImportedPackage(sysmlLibrary); + packageOwner.getPackageImports().add(pi); + } + + } + +}
diff --git a/gui/org.eclipse.papyrus.sysml.architecture/src/org/eclipse/papyrus/sysml/architecture/internal/NoContextEnablementMatcher.java b/gui/org.eclipse.papyrus.sysml.architecture/src/org/eclipse/papyrus/sysml/architecture/internal/NoContextEnablementMatcher.java new file mode 100644 index 0000000..344e823 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture/src/org/eclipse/papyrus/sysml/architecture/internal/NoContextEnablementMatcher.java
@@ -0,0 +1,29 @@ +/***************************************************************************** + * Copyright (c) 2017 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: + * + * Maged Elaasar - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.architecture.internal; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher; + +/** + * A no context matcher used to register element type bindings in the extension points + */ +public class NoContextEnablementMatcher implements IElementMatcher { + + @Override + public boolean matches(EObject eObject) { + return false; + } +}
diff --git a/gui/org.eclipse.papyrus.sysml.architecture/src/org/eclipse/papyrus/sysml/architecture/internal/UMLtoSyML14ModelConversionCommand.java b/gui/org.eclipse.papyrus.sysml.architecture/src/org/eclipse/papyrus/sysml/architecture/internal/UMLtoSyML14ModelConversionCommand.java new file mode 100644 index 0000000..40d8034 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture/src/org/eclipse/papyrus/sysml/architecture/internal/UMLtoSyML14ModelConversionCommand.java
@@ -0,0 +1,139 @@ +/***************************************************************************** + * Copyright (c) 2017 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.architecture.internal; + +import org.eclipse.core.commands.ExecutionException; +import org.eclipse.core.runtime.IAdaptable; +import org.eclipse.core.runtime.IProgressMonitor; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.transaction.RollbackException; +import org.eclipse.gmf.runtime.common.core.command.AbstractCommand; +import org.eclipse.gmf.runtime.common.core.command.CommandResult; +import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.common.core.command.IdentityCommand; +import org.eclipse.gmf.runtime.notation.Diagram; +import org.eclipse.papyrus.infra.architecture.commands.IModelConversionCommand; +import org.eclipse.papyrus.infra.core.resource.ModelSet; +import org.eclipse.papyrus.infra.emf.gmf.util.GMFUnsafe; +import org.eclipse.papyrus.infra.gmfdiag.common.model.NotationModel; +import org.eclipse.papyrus.infra.gmfdiag.style.PapyrusDiagramStyle; +import org.eclipse.papyrus.sysml.architecture.util.SysMLArchitectureUtil; + +/** + * Class to allow conversion to SysML 1.4 context + * + */ +public class UMLtoSyML14ModelConversionCommand implements IModelConversionCommand { + + /* (non-Javadoc) + * @see org.eclipse.papyrus.infra.architecture.commands.IModelConversionCommand#convertModel(org.eclipse.papyrus.infra.core.resource.ModelSet) + */ + @Override + public void convertModel(ModelSet modelSet) { + NotationModel model = (NotationModel) modelSet.getModel(NotationModel.MODEL_ID); + CompositeCommand compositeCommand = new CompositeCommand("Conversion to SysML 1.4 context"); + for (Resource current : model.getResources()) { + for (EObject element : current.getContents()) { + if (element instanceof Diagram) { + ICommand convertDiagram = convertDiagram((Diagram) element); + compositeCommand.add(convertDiagram); + } + } + } + + try { + GMFUnsafe.write(modelSet.getTransactionalEditingDomain(), compositeCommand); + } catch (ExecutionException | InterruptedException | RollbackException e) { + e.printStackTrace(); + } + } + + /** + * Provide an ICommand for each diagram that need a conversion + * @param diagram + * @return + */ + public ICommand convertDiagram(Diagram diagram) { + for (Object object : diagram.getStyles()) { + if (object instanceof PapyrusDiagramStyle) { + switch (((PapyrusDiagramStyle) object).getDiagramKindId()) { + // FIXME: UML Representation kind ids should be provided by API core + case "org.eclipse.papyrus.uml.diagram.package": + return new SetPapyrusDiagramStyleCommand(diagram, SysMLArchitectureUtil.DIAGRAM_PACKAGE_ID); + case "org.eclipse.papyrus.uml.diagram.activity": + return new SetPapyrusDiagramStyleCommand(diagram, SysMLArchitectureUtil.DIAGRAM_ACTIVITY_ID); + case "org.eclipse.papyrus.uml.diagram.stateMachine": + return new SetPapyrusDiagramStyleCommand(diagram, SysMLArchitectureUtil.DIAGRAM_STATE_MACHINE_ID); + case "org.eclipse.papyrus.uml.diagram.useCase": + return new SetPapyrusDiagramStyleCommand(diagram, SysMLArchitectureUtil.DIAGRAM_USE_CASE_ID); + default:// not conversion available + break; + } + } + } + return IdentityCommand.INSTANCE; + } + + /////////////////////////////////////////////////////////////////////////////// + /** + * FIXME: Should be provided as API by the core + * TODO: should be undoable + * A command to set the diagram kind to a diagram + */ + private class SetPapyrusDiagramStyleCommand extends AbstractCommand { + + private Diagram diagram; + private String diagramKind; + + public SetPapyrusDiagramStyleCommand(Diagram diagram, String newStyle) { + super("Set new diagram kind for Papyrus Style"); + this.diagram = diagram; + this.diagramKind = newStyle; + } + + @Override + protected CommandResult doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info) + throws ExecutionException { + for (Object object : diagram.getStyles()) { + if (object instanceof PapyrusDiagramStyle) { + ((PapyrusDiagramStyle) object).setDiagramKindId(diagramKind); + } + } + return CommandResult.newOKCommandResult(); + } + + @Override + public boolean canUndo() { + return false; + } + + @Override + public boolean canRedo() { + return false; + } + + @Override + protected CommandResult doRedoWithResult(IProgressMonitor progressMonitor, IAdaptable info) + throws ExecutionException { + throw new ExecutionException("Should not be called, canRedo false"); //$NON-NLS-1$ + } + + @Override + protected CommandResult doUndoWithResult(IProgressMonitor progressMonitor, IAdaptable info) + throws ExecutionException { + throw new ExecutionException("Should not be called, canUndo false"); //$NON-NLS-1$ + } + } + //////////////////////////////////////////////////////////////////////////////// +}
diff --git a/gui/org.eclipse.papyrus.sysml.architecture/src/org/eclipse/papyrus/sysml/architecture/internal/migration/SysMLNeonToOxygenDiagramReconciler.java b/gui/org.eclipse.papyrus.sysml.architecture/src/org/eclipse/papyrus/sysml/architecture/internal/migration/SysMLNeonToOxygenDiagramReconciler.java new file mode 100644 index 0000000..401d8af --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture/src/org/eclipse/papyrus/sysml/architecture/internal/migration/SysMLNeonToOxygenDiagramReconciler.java
@@ -0,0 +1,134 @@ +/***************************************************************************** + * Copyright (c) 2017 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.architecture.internal.migration; + +import java.util.Collection; + +import org.eclipse.emf.common.command.Command; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.ResourceSet; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.emf.transaction.RecordingCommand; +import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.notation.Diagram; +import org.eclipse.papyrus.infra.architecture.ArchitectureDomainManager; +import org.eclipse.papyrus.infra.core.architecture.ArchitectureDescription; +import org.eclipse.papyrus.infra.core.architecture.RepresentationKind; +import org.eclipse.papyrus.infra.core.architecture.merged.MergedArchitectureContext; +import org.eclipse.papyrus.infra.core.architecture.merged.MergedArchitectureDescriptionLanguage; +import org.eclipse.papyrus.infra.core.resource.ModelSet; +import org.eclipse.papyrus.infra.core.resource.sasheditor.DiModelUtils; +import org.eclipse.papyrus.infra.emf.gmf.command.EMFtoGMFCommandWrapper; +import org.eclipse.papyrus.infra.gmfdiag.common.reconciler.DiagramReconciler_1_3_0; +import org.eclipse.papyrus.infra.gmfdiag.representation.PapyrusDiagram; +import org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView; +import org.eclipse.papyrus.infra.viewpoints.style.PapyrusViewStyle; +import org.eclipse.papyrus.sysml.architecture.util.SysMLArchitectureUtil; + +/** + * SysML 1.4 Diagram Reconciler from Neon to Oxygen that switches the old + * PapyrusViewStyle by the new PapyrusDiagramStyle (Will move Diagram version + * annotation from 1.2.0 to 1.3.0) + */ +@SuppressWarnings({ "deprecation", "nls" }) // Warning are not pertinent this migration should remains on old deprecated API +public class SysMLNeonToOxygenDiagramReconciler extends DiagramReconciler_1_3_0 { + + private static final String BLOCK_DEFINITION_DIAGRAM_URI = "platform:/plugin/org.eclipse.papyrus.sysml14.diagram.blockdefinition/resources/configuration/blockDefinitionDiagram.configuration#_ZrBf4JaBEeS8eNvSwD0lgA"; + private static final String INTERNAL_BLOCK_DIAGRAM_URI = "platform:/plugin/org.eclipse.papyrus.sysml14.diagram.internalblock/resources/configuration/internalBlockDiagram.configuration#_ZrBf4JaBEeS8eNvSwD0lgA"; + private static final String PARAMETRIC_DIAGRAM_URI = "platform:/plugin/org.eclipse.papyrus.sysml14.diagram.parametric/resources/configuration/parametricDiagram.configuration#_ZrBf4JaBEeS8eNvSwD0lgA"; + private static final String REQUIREMENT_DIAGRAM_URI = "platform:/plugin/org.eclipse.papyrus.sysml14.diagram.requirement/resources/configuration/requirementDiagram.configuration#_ZrBf4JaBEeS8eNvSwD0lgA"; + + private static final String SYSML14_CONTEXT_ID = "org.eclipse.papyrus.sysml.architecture.SysML14"; + + /** + * @see org.eclipse.papyrus.infra.gmfdiag.common.reconciler.DiagramReconciler_1_3_0#getPapyrusDiagram(org.eclipse.papyrus.infra.viewpoints.style.PapyrusViewStyle) + * + * @param oldStyle + * @return + */ + @Override + protected PapyrusDiagram getDiagramKind(Diagram diagram, PapyrusViewStyle oldStyle) { + if (oldStyle != null) { + PapyrusView configuration = oldStyle.getConfiguration(); + if (configuration != null) { + URI uri = EcoreUtil.getURI(configuration); + if (uri != null) { + switch (uri.toString()) { + case REQUIREMENT_DIAGRAM_URI: + return getPapyrusDiagramById(SysMLArchitectureUtil.DIAGRAM_REQUIREMENT_ID); + case BLOCK_DEFINITION_DIAGRAM_URI: + return getPapyrusDiagramById(SysMLArchitectureUtil.DIAGRAM_BLOCK_DEFINITION_ID); + case INTERNAL_BLOCK_DIAGRAM_URI: + return getPapyrusDiagramById(SysMLArchitectureUtil.DIAGRAM_INTERNAL_BLOCK_ID); + case PARAMETRIC_DIAGRAM_URI: + return getPapyrusDiagramById(SysMLArchitectureUtil.DIAGRAM_PARAMETRIC_ID); + default:// not a SysML 1.4 Diagram configuration + break; + } + } + } + + } + return null; + } + + @Override + public ICommand getReconcileCommand(Diagram diagram) { + ICommand reconcileCommand = super.getReconcileCommand(diagram); + if (reconcileCommand != null && diagram != null) { + Resource eResource = diagram.eResource(); + if (eResource != null) { + ResourceSet resourceSet = eResource.getResourceSet(); + if (resourceSet instanceof ModelSet) { + CompositeCommand compositeCommand = new CompositeCommand("Update viewpoints from configuration to architecture and set SysML 1.4 as default architecture"); + compositeCommand.add(reconcileCommand); + Command setContextCommand = getSetContextCommand((ModelSet) resourceSet, SYSML14_CONTEXT_ID); + compositeCommand.add(EMFtoGMFCommandWrapper.wrap(setContextCommand)); + return compositeCommand; + } + } + } + return reconcileCommand; + } + + /////////////////////////////////////////////////////////////////////////////// + // FIXME: should be in Papyrus core API + protected Command getSetContextCommand(ModelSet modelSet, String contextId) { + return new RecordingCommand(modelSet.getTransactionalEditingDomain()) { + @Override + protected void doExecute() { + ArchitectureDescription description = DiModelUtils.getOrAddArchitectureDescription(modelSet); + description.setContextId(contextId); + } + }; + } + + protected PapyrusDiagram getPapyrusDiagramById(String id) { + ArchitectureDomainManager manager = ArchitectureDomainManager.getInstance(); + Collection<MergedArchitectureContext> visibleArchitectureContexts = manager.getVisibleArchitectureContexts(); + for (MergedArchitectureContext mergedArchitectureContext : visibleArchitectureContexts) { + if (mergedArchitectureContext instanceof MergedArchitectureDescriptionLanguage) { + MergedArchitectureDescriptionLanguage mergedArchitectureDescriptionLanguage = (MergedArchitectureDescriptionLanguage) mergedArchitectureContext; + for (RepresentationKind representationKind : mergedArchitectureDescriptionLanguage + .getRepresentationKinds()) { + if (representationKind instanceof PapyrusDiagram && representationKind.getId().equals(id)) { + return (PapyrusDiagram) representationKind; + } + } + } + } + return null; + } + //////////////////////////////////////////////////////////////////////////////// +}
diff --git a/gui/org.eclipse.papyrus.sysml.architecture/src/org/eclipse/papyrus/sysml/architecture/internal/migration/SysMLNeonToOxygenTableReconciler.java b/gui/org.eclipse.papyrus.sysml.architecture/src/org/eclipse/papyrus/sysml/architecture/internal/migration/SysMLNeonToOxygenTableReconciler.java new file mode 100644 index 0000000..c76b8c4 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture/src/org/eclipse/papyrus/sysml/architecture/internal/migration/SysMLNeonToOxygenTableReconciler.java
@@ -0,0 +1,176 @@ +/***************************************************************************** + * Copyright (c) 2017 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.architecture.internal.migration; + +import java.util.Collection; + +import org.eclipse.core.commands.ExecutionException; +import org.eclipse.core.runtime.IAdaptable; +import org.eclipse.core.runtime.IProgressMonitor; +import org.eclipse.emf.common.command.Command; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.ResourceSet; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.emf.transaction.RecordingCommand; +import org.eclipse.gmf.runtime.common.core.command.AbstractCommand; +import org.eclipse.gmf.runtime.common.core.command.CommandResult; +import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.common.core.command.IdentityCommand; +import org.eclipse.papyrus.infra.architecture.ArchitectureDomainManager; +import org.eclipse.papyrus.infra.core.architecture.ArchitectureDescription; +import org.eclipse.papyrus.infra.core.architecture.RepresentationKind; +import org.eclipse.papyrus.infra.core.architecture.merged.MergedArchitectureContext; +import org.eclipse.papyrus.infra.core.architecture.merged.MergedArchitectureDescriptionLanguage; +import org.eclipse.papyrus.infra.core.resource.ModelSet; +import org.eclipse.papyrus.infra.core.resource.sasheditor.DiModelUtils; +import org.eclipse.papyrus.infra.emf.gmf.command.EMFtoGMFCommandWrapper; +import org.eclipse.papyrus.infra.nattable.common.reconciler.TableReconciler; +import org.eclipse.papyrus.infra.nattable.model.nattable.Table; +import org.eclipse.papyrus.infra.nattable.representation.PapyrusTable; +import org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView; +import org.eclipse.papyrus.sysml.architecture.util.SysMLArchitectureUtil; + +/** + * SysML 1.4 Table Reconciler from Neon to Oxygen that replaces the old + * prototype value for tables with ones based on table kinds (Will move Table + * version annotation from 1.0.0 to 1.3.0) + */ +@SuppressWarnings({ "deprecation", "nls" }) // Warning are not pertinent this migration should remains on old API +public class SysMLNeonToOxygenTableReconciler extends TableReconciler { + + private static final String ALLOCATION_TABLE_URI = "platform:/plugin/org.eclipse.papyrus.sysml14.nattable.allocation/resources/configuration/allocationTable.configuration#_j2LQIC7uEeWklMXvaoXzgQ"; + private static final String REQUIREMENT_TABLE_URI = "platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/resources/configuration/requirementTable.configuration#_j2LQIy7uEeWklMXvaoXzgQ"; + private static final String REQUIREMENT_TREE_TABLE_URI = "platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/resources/configuration/requirementTable.configuration#_eXTo8CywEeaHK-6t3D9x9w"; + + private static final String SYSML14_CONTEXT_ID = "org.eclipse.papyrus.sysml.architecture.SysML14"; + + @Override + public ICommand getReconcileCommand(Table table) { + if (table.getPrototype() instanceof PapyrusView) { + PapyrusView oldTableKind = (PapyrusView) table.getPrototype(); + if (oldTableKind != null) { + URI uri = EcoreUtil.getURI(oldTableKind); + if (uri != null) { + RepresentationKind newTableKind = null; + switch (uri.toString()) { + case ALLOCATION_TABLE_URI: + newTableKind = getPapyrusTableById(SysMLArchitectureUtil.TABLE_ALLOCATION_ID); + break; + case REQUIREMENT_TABLE_URI: + newTableKind = getPapyrusTableById(SysMLArchitectureUtil.TABLE_REQUIREMENT_ID); + break; + case REQUIREMENT_TREE_TABLE_URI: + newTableKind = getPapyrusTableById(SysMLArchitectureUtil.TABLE_REQUIREMENT_TREE_ID); + break; + default: + break; + } + if (newTableKind != null) { + ReplaceTablePrototypeCommand replaceTablePrototypeCommand = new ReplaceTablePrototypeCommand(table, newTableKind); + Resource eResource = table.eResource(); + if (eResource != null) { + ResourceSet resourceSet = eResource.getResourceSet(); + if (resourceSet instanceof ModelSet) { + CompositeCommand compositeCommand = new CompositeCommand("Update viewpoints from configuration to architecture and set SysML 1.4 as default architecture"); + compositeCommand.add(replaceTablePrototypeCommand); + Command setContextCommand = getSetContextCommand( (ModelSet) resourceSet, SYSML14_CONTEXT_ID); + compositeCommand.add(EMFtoGMFCommandWrapper.wrap(setContextCommand)); + return compositeCommand; + } + } + return replaceTablePrototypeCommand; + } + } + } + } + return IdentityCommand.INSTANCE; + } + + //////////////////////////////////////////////////////////////////////////////// + // FIXME: should be in Papyrus core API + + protected Command getSetContextCommand(ModelSet modelSet, String contextId) { + return new RecordingCommand(modelSet.getTransactionalEditingDomain()) { + @Override + protected void doExecute() { + ArchitectureDescription description = DiModelUtils.getOrAddArchitectureDescription(modelSet); + description.setContextId(contextId); + } + }; + } + + protected PapyrusTable getPapyrusTableById(String id) { + ArchitectureDomainManager manager = ArchitectureDomainManager.getInstance(); + Collection<MergedArchitectureContext> visibleArchitectureContexts = manager.getVisibleArchitectureContexts(); + for (MergedArchitectureContext mergedArchitectureContext : visibleArchitectureContexts) { + if (mergedArchitectureContext instanceof MergedArchitectureDescriptionLanguage) { + MergedArchitectureDescriptionLanguage mergedArchitectureDescriptionLanguage = (MergedArchitectureDescriptionLanguage) mergedArchitectureContext; + for (RepresentationKind representationKind : mergedArchitectureDescriptionLanguage + .getRepresentationKinds()) { + if (representationKind instanceof PapyrusTable && representationKind.getId().equals(id)) { + return (PapyrusTable) representationKind; + } + } + } + } + return null; + } + + /** + * A command to replace the old table prototype with the new representation + * kinds + */ + protected class ReplaceTablePrototypeCommand extends AbstractCommand { + + private Table table; + private RepresentationKind newKind; + + public ReplaceTablePrototypeCommand(Table table, RepresentationKind newKind) { + super("Replace the SysML 1.4 Table configuration from neon to oxygen"); + this.table = table; + this.newKind = newKind; + } + + @Override + protected CommandResult doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info) + throws ExecutionException { + table.setPrototype(null); + table.setTableKindId(newKind.getId()); + return CommandResult.newOKCommandResult(); + } + + @Override + public boolean canUndo() { + return false; + } + + @Override + public boolean canRedo() { + return false; + } + + @Override + protected CommandResult doRedoWithResult(IProgressMonitor progressMonitor, IAdaptable info) + throws ExecutionException { + throw new ExecutionException("Should not be called, canRedo false"); //$NON-NLS-1$ + } + + @Override + protected CommandResult doUndoWithResult(IProgressMonitor progressMonitor, IAdaptable info) + throws ExecutionException { + throw new ExecutionException("Should not be called, canUndo false"); //$NON-NLS-1$ + } + } + //////////////////////////////////////////////////////////////////////////////// +}
diff --git a/gui/org.eclipse.papyrus.sysml.architecture/src/org/eclipse/papyrus/sysml/architecture/util/SysMLArchitectureUtil.java b/gui/org.eclipse.papyrus.sysml.architecture/src/org/eclipse/papyrus/sysml/architecture/util/SysMLArchitectureUtil.java new file mode 100644 index 0000000..5f47682 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.architecture/src/org/eclipse/papyrus/sysml/architecture/util/SysMLArchitectureUtil.java
@@ -0,0 +1,37 @@ +/***************************************************************************** + * Copyright (c) 2017 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.architecture.util; + +/** + * Utility class to get informations on DeprecatedElement resources + * + */ +public final class SysMLArchitectureUtil { + + private SysMLArchitectureUtil(){ + } + + public static final String DIAGRAM_ACTIVITY_ID = "org.eclipse.papyrus.sysml.diagram.activity"; //$NON-NLS-1$ + public static final String DIAGRAM_BLOCK_DEFINITION_ID = "org.eclipse.papyrus.sysml.diagram.blockdefinition"; //$NON-NLS-1$ + public static final String DIAGRAM_INTERNAL_BLOCK_ID = "org.eclipse.papyrus.sysml.diagram.internalblock"; //$NON-NLS-1$ + public static final String DIAGRAM_PACKAGE_ID = "org.eclipse.papyrus.sysml.diagram.package"; //$NON-NLS-1$ + public static final String DIAGRAM_PARAMETRIC_ID = "org.eclipse.papyrus.sysml.diagram.parametric"; //$NON-NLS-1$ + public static final String DIAGRAM_REQUIREMENT_ID = "org.eclipse.papyrus.sysml.diagram.requirement"; //$NON-NLS-1$ + public static final String DIAGRAM_SEQUENCE_ID = "org.eclipse.papyrus.sysml.diagram.sequence"; //$NON-NLS-1$ + public static final String DIAGRAM_STATE_MACHINE_ID = "org.eclipse.papyrus.sysml.diagram.stateMachine"; //$NON-NLS-1$ + public static final String DIAGRAM_USE_CASE_ID = "org.eclipse.papyrus.sysml.diagram.useCase"; //$NON-NLS-1$ + + public static final String TABLE_REQUIREMENT_ID = "org.eclipse.papyrus.sysml.table.requirement"; //$NON-NLS-1$ + public static final String TABLE_REQUIREMENT_TREE_ID = "org.eclipse.papyrus.sysml.table.requirementTree"; //$NON-NLS-1$ + public static final String TABLE_ALLOCATION_ID = "org.eclipse.papyrus.sysml.table.allocation"; //$NON-NLS-1$ + +}
diff --git a/gui/org.eclipse.papyrus.sysml14.ui.tests/.classpath b/gui/org.eclipse.papyrus.sysml.ui.tests/.classpath similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui.tests/.classpath rename to gui/org.eclipse.papyrus.sysml.ui.tests/.classpath
diff --git a/gui/org.eclipse.papyrus.sysml.ui.tests/.project b/gui/org.eclipse.papyrus.sysml.ui.tests/.project new file mode 100644 index 0000000..d8b4396 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui.tests/.project
@@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.ui.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> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription>
diff --git a/gui/org.eclipse.papyrus.sysml14.ui.tests/.settings/org.eclipse.core.resources.prefs b/gui/org.eclipse.papyrus.sysml.ui.tests/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui.tests/.settings/org.eclipse.core.resources.prefs rename to gui/org.eclipse.papyrus.sysml.ui.tests/.settings/org.eclipse.core.resources.prefs
diff --git a/gui/org.eclipse.papyrus.sysml14.ui.tests/.settings/org.eclipse.jdt.core.prefs b/gui/org.eclipse.papyrus.sysml.ui.tests/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui.tests/.settings/org.eclipse.jdt.core.prefs rename to gui/org.eclipse.papyrus.sysml.ui.tests/.settings/org.eclipse.jdt.core.prefs
diff --git a/gui/org.eclipse.papyrus.sysml14.ui.tests/.settings/org.eclipse.m2e.core.prefs b/gui/org.eclipse.papyrus.sysml.ui.tests/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui.tests/.settings/org.eclipse.m2e.core.prefs rename to gui/org.eclipse.papyrus.sysml.ui.tests/.settings/org.eclipse.m2e.core.prefs
diff --git a/gui/org.eclipse.papyrus.sysml.ui.tests/META-INF/MANIFEST.MF b/gui/org.eclipse.papyrus.sysml.ui.tests/META-INF/MANIFEST.MF new file mode 100644 index 0000000..e0c7e7c --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui.tests/META-INF/MANIFEST.MF
@@ -0,0 +1,50 @@ +Manifest-Version: 1.0 +Require-Bundle: org.eclipse.ui;bundle-version="[3.107.0,4.0.0)", + org.eclipse.ui.navigator;bundle-version="[3.6.0,4.0.0)", + org.eclipse.ui.views.properties.tabbed;bundle-version="[3.5.200,4.0.0)", + org.eclipse.ui.ide;bundle-version="[3.8.0,4.0.0)", + org.eclipse.core.expressions;bundle-version="[3.4.300,4.0.0)", + org.eclipse.gmf.runtime.diagram.ui;bundle-version="[1.5.0,2.0.0)", + org.junit;bundle-version="[4.10.0,5.0.0)", + org.eclipse.uml2.uml;bundle-version="[5.0.0,6.0.0)", + org.eclipse.papyrus.views.modelexplorer;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.widgets;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.types.core;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.core;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.core.log;bundle-version="[1.1.0,2.0.0)", + org.eclipse.papyrus.infra.services.edit;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.newchild;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.emf.facet.custom.core;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.tools.utils;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.clazz;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.communication;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.component;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.composite;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.deployment;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.interactionoverview;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.profile;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.statemachine;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.timing;bundle-version="[1.2.0,2.0.0)", + org.eclipse.papyrus.uml.diagram.usecase;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.sysml;bundle-version="1.0.0", + org.eclipse.papyrus.sysml.edit;bundle-version="1.0.0", + org.eclipse.papyrus.sysml.service.types;bundle-version="1.0.0", + org.eclipse.papyrus.sysml.diagram.common;bundle-version="4.0.0", + org.eclipse.papyrus.sysml.diagram.blockdefinition;bundle-version="1.0.0", + org.eclipse.papyrus.sysml.diagram.internalblock;bundle-version="1.0.0", + org.eclipse.papyrus.sysml.diagram.parametric;bundle-version="1.0.0", + org.eclipse.papyrus.sysml.diagram.requirement;bundle-version="1.0.0", + org.eclipse.papyrus.sysml.nattable.common;bundle-version="1.0.0", + org.eclipse.papyrus.sysml.nattable.allocation;bundle-version="1.0.0", + org.eclipse.papyrus.sysml.nattable.requirement;bundle-version="1.0.0", + org.eclipse.papyrus.sysml.nattable.ui;bundle-version="1.0.0" +Bundle-Vendor: %Bundle-Vendor +Bundle-Version: 4.0.0.qualifier +Bundle-Name: %Bundle-Name +Bundle-Localization: plugin +Bundle-ManifestVersion: 2 +Fragment-Host: org.eclipse.papyrus.sysml.ui;bundle-version="1.0.0" +Bundle-SymbolicName: org.eclipse.papyrus.sysml.ui.tests +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +
diff --git a/gui/org.eclipse.papyrus.sysml14.ui.tests/about.html b/gui/org.eclipse.papyrus.sysml.ui.tests/about.html similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui.tests/about.html rename to gui/org.eclipse.papyrus.sysml.ui.tests/about.html
diff --git a/gui/org.eclipse.papyrus.sysml14.ui.tests/build.properties b/gui/org.eclipse.papyrus.sysml.ui.tests/build.properties similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui.tests/build.properties rename to gui/org.eclipse.papyrus.sysml.ui.tests/build.properties
diff --git a/gui/org.eclipse.papyrus.sysml.ui.tests/plugin.properties b/gui/org.eclipse.papyrus.sysml.ui.tests/plugin.properties new file mode 100644 index 0000000..5a42f00 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui.tests/plugin.properties
@@ -0,0 +1,14 @@ +################################################################################# +# Copyright (c) 2015 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: +# +# CEA LIST - Initial API and Implementation. +# +################################################################################## +Bundle-Name=Papyrus SysML 1.5 UI Tests +Bundle-Vendor=Eclipse Modeling Project
diff --git a/gui/org.eclipse.papyrus.sysml.ui.tests/pom.xml b/gui/org.eclipse.papyrus.sysml.ui.tests/pom.xml new file mode 100644 index 0000000..273c23b --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui.tests/pom.xml
@@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.papyrus.sysml</groupId> + <artifactId>org.eclipse.papyrus.sysml.gui</artifactId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.ui.tests</artifactId> + <packaging>eclipse-test-plugin</packaging> + <name>org.eclipse.papyrus.sysml.ui.tests</name> + <description>All unit tests related to the user interface.</description> +</project>
diff --git a/gui/org.eclipse.papyrus.sysml.ui.tests/test/org/eclipse/papyrus/sysml/ui/tests/images/SysmlProfileImageTest.java b/gui/org.eclipse.papyrus.sysml.ui.tests/test/org/eclipse/papyrus/sysml/ui/tests/images/SysmlProfileImageTest.java new file mode 100644 index 0000000..9333a1a --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui.tests/test/org/eclipse/papyrus/sysml/ui/tests/images/SysmlProfileImageTest.java
@@ -0,0 +1,65 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.ui.tests.images; + +import java.io.IOException; +import java.net.MalformedURLException; +import java.net.URL; +import java.util.Set; + +import org.eclipse.core.runtime.FileLocator; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.uml.tools.utils.UMLUtil; +import org.eclipse.uml2.uml.Image; +import org.eclipse.uml2.uml.Package; +import org.eclipse.uml2.uml.Stereotype; +import org.eclipse.uml2.uml.UMLPlugin; +import org.junit.Assert; +import org.junit.Test; + +/** + * Basic test for SysML images + * + */ +@SuppressWarnings("nls") +public class SysmlProfileImageTest { + + /** + * Check that images for Stereotypes defined in the profile are all present in the + * @throws IOException + */ + @Test + public void testImageLocation() throws IOException { + URI uri = UMLPlugin.getEPackageNsURIToProfileLocationMap().get(SysMLResource.PROFILE_URI); + Resource resource = new ResourceSetImpl().getResource(uri, true); + Set<Stereotype> allStereotypes = UMLUtil.getAllStereotypes((Package) resource.getAllContents().next()); + for (Stereotype stereotype : allStereotypes) { + EList<Image> icons = stereotype.getIcons(); + for (Image image : icons) { + String location = image.getLocation(); + try { + URL url = new URL(location); + Assert.assertNotNull("The icon location :" + location + " can't be found", FileLocator.find(url)); + } catch (MalformedURLException e) { + Assert.fail("The icon for " + stereotype.getName() + " is refering to a bad location : " + location); + } + } + } + } + +}
diff --git a/gui/org.eclipse.papyrus.sysml.ui.tests/test/org/eclipse/papyrus/sysml/ui/tests/resources/ExpressionValidationTest.java b/gui/org.eclipse.papyrus.sysml.ui.tests/test/org/eclipse/papyrus/sysml/ui/tests/resources/ExpressionValidationTest.java new file mode 100644 index 0000000..35c9eaa --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui.tests/test/org/eclipse/papyrus/sysml/ui/tests/resources/ExpressionValidationTest.java
@@ -0,0 +1,45 @@ +/***************************************************************************** + * Copyright (c) 2017 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.ui.tests.resources; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.ecore.util.Diagnostician; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test the expression model : - validate the model + * + */ +@SuppressWarnings("nls") +public class ExpressionValidationTest { + + public static final String EXPRESSIONS_PATH = "org.eclipse.papyrus.sysml.nattable.common/resources/SysML.expressions"; + + /** + * Validate the model with the rules defined in the meta-model tooling + */ + @Test + public void useValidation() { + URI createPlatformPluginURI = URI.createPlatformPluginURI(EXPRESSIONS_PATH, true); + Resource resource = new ResourceSetImpl().getResource(createPlatformPluginURI, true); + Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); + Assert.assertEquals("The expression model is not valid " + EXPRESSIONS_PATH, Diagnostic.OK, + diagnostic.getSeverity()); + } + +}
diff --git a/gui/org.eclipse.papyrus.sysml.ui.tests/test/org/eclipse/papyrus/sysml/ui/tests/resources/ModelValidationTest.java b/gui/org.eclipse.papyrus.sysml.ui.tests/test/org/eclipse/papyrus/sysml/ui/tests/resources/ModelValidationTest.java new file mode 100644 index 0000000..07d44db --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui.tests/test/org/eclipse/papyrus/sysml/ui/tests/resources/ModelValidationTest.java
@@ -0,0 +1,80 @@ +/***************************************************************************** + * Copyright (c) 2017 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.ui.tests.resources; + +import java.util.Arrays; +import java.util.Collection; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.ecore.util.Diagnostician; +import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; +import org.eclipse.papyrus.sysml.ui.Activator; +import org.junit.Assert; +import org.junit.BeforeClass; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.Parameterized; +import org.junit.runners.Parameterized.Parameters; + +/** + * This is a parameterized test to validate all model in the plugin + * + + */ +@SuppressWarnings("nls") +@RunWith(Parameterized.class) +public class ModelValidationTest { + + @Parameters + public static Collection<Object[]> data() { + return Arrays.asList(new Object[][] { + {"/resources/SysMLConstraintEnvironment.xmi"}, + {"/resources/SysML.creationmenumodel"}, + {"/resources/SysMLEdges.creationmenumodel"}, + {"/resources/UML4SysML.creationmenumodel"}, + {"/resources/UML4SysMLEdges.creationmenumodel"}, + //Model seems not to be valid due to the use of two classifier with the same name and a missing proxy to resolve a metamodel. + //{"/resources/custom/OperationalSysML.custom"} + // FIXME missing org.eclipse.papyrus.customization.properties.model.xwt;bundle-version="[1.1.0,2.0.0)" dependency in oxygen + //{"/resources/properties/SysML.ctx"} + }); + } + + private String modelPath; + + public ModelValidationTest(String modelPath) { + this.modelPath = modelPath; + } + + @BeforeClass + public static void loadElementTypeSet(){ + ElementTypeSetConfigurationRegistry.getInstance(); + } + + /** + * Validate the model with the rules defined in the meta-model tooling + */ + @Test + public void validateModel() { + String fullPath = Activator.PLUGIN_ID + this.modelPath; + URI modelPlatformURI = URI.createPlatformPluginURI(fullPath, true); + Resource resource = new ResourceSetImpl().getResource(modelPlatformURI, true); + Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); + Assert.assertEquals("The "+modelPath+" model is invalid ", Diagnostic.OK, diagnostic.getSeverity()); + } + +}
diff --git a/gui/org.eclipse.papyrus.sysml.ui.tests/test/org/eclipse/papyrus/sysml/ui/tests/resources/NewChildMenuTest.java b/gui/org.eclipse.papyrus.sysml.ui.tests/test/org/eclipse/papyrus/sysml/ui/tests/resources/NewChildMenuTest.java new file mode 100644 index 0000000..8017a0a --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui.tests/test/org/eclipse/papyrus/sysml/ui/tests/resources/NewChildMenuTest.java
@@ -0,0 +1,90 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.ui.tests.resources; + +import java.net.MalformedURLException; +import java.net.URL; + +import org.eclipse.core.runtime.FileLocator; +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.common.util.TreeIterator; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.ecore.util.Diagnostician; +import org.eclipse.papyrus.infra.newchild.elementcreationmenumodel.CreationMenu; +import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; +import org.eclipse.papyrus.sysml.ui.Activator; +import org.junit.Assert; +import org.junit.BeforeClass; +import org.junit.Test; + +/** + * Test the new child model : + * - checks that all element type are registered + * - validate the model + * + + */ +@SuppressWarnings("nls") +public class NewChildMenuTest { + + public static final String NEW_CHILD_MENU_PATH = Activator.PLUGIN_ID +"/resources/SysML.creationmenumodel"; + + + @BeforeClass + public static void loadElementTypeSet(){ + ElementTypeSetConfigurationRegistry.getInstance(); + } + + /** + * Check that referenced element type are in the registry + */ + @Test + public void checkMenuNewChildElementTypeIdRefs() { + URI createPlatformPluginURI = URI.createPlatformPluginURI(NEW_CHILD_MENU_PATH, true); + ResourceSetImpl resourceSetImpl = new ResourceSetImpl(); + Resource resource = resourceSetImpl.getResource(createPlatformPluginURI, true); + + TreeIterator<EObject> allContents = resource.getAllContents(); + while (allContents.hasNext()) { + EObject eObject = (EObject) allContents.next(); + if (eObject instanceof CreationMenu) { + String iconPath = ((CreationMenu) eObject).getIcon(); + if (iconPath != null && !"".equals(iconPath)){ + try { + Assert.assertNotNull("The icon "+iconPath+" can't be found", FileLocator.find(new URL(iconPath))); + } catch (MalformedURLException e) { + Assert.fail("The new child menu is refering to a malformed url "+iconPath); + } + } + } + } + } + + + /** + * Validate the model with the rules defined in the meta-model tooling + */ + @Test + public void useValidation() { + URI createPlatformPluginURI = URI.createPlatformPluginURI(NEW_CHILD_MENU_PATH, true); + Resource resource = new ResourceSetImpl().getResource(createPlatformPluginURI, true); + Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); + Assert.assertEquals("The new Child menu is not valid "+NEW_CHILD_MENU_PATH, Diagnostic.OK, diagnostic.getSeverity()); + } + + +}
diff --git a/gui/org.eclipse.papyrus.sysml.ui.tests/test/org/eclipse/papyrus/sysml/ui/tests/resources/PaletteIconIdTest.java b/gui/org.eclipse.papyrus.sysml.ui.tests/test/org/eclipse/papyrus/sysml/ui/tests/resources/PaletteIconIdTest.java new file mode 100644 index 0000000..b57d0b4 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui.tests/test/org/eclipse/papyrus/sysml/ui/tests/resources/PaletteIconIdTest.java
@@ -0,0 +1,129 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.ui.tests.resources; + +import java.net.MalformedURLException; +import java.net.URL; +import java.util.Arrays; +import java.util.Collection; + +import org.eclipse.core.runtime.FileLocator; +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.common.util.TreeIterator; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.ecore.util.Diagnostician; +import org.eclipse.papyrus.infra.gmfdiag.paletteconfiguration.ChildConfiguration; +import org.eclipse.papyrus.infra.gmfdiag.paletteconfiguration.DrawerConfiguration; +import org.eclipse.papyrus.infra.gmfdiag.paletteconfiguration.IconDescriptor; +import org.eclipse.papyrus.infra.gmfdiag.paletteconfiguration.PaletteConfiguration; +import org.eclipse.papyrus.infra.gmfdiag.paletteconfiguration.ToolConfiguration; +import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.Parameterized; +import org.junit.runners.Parameterized.Parameters; + +/** + * Abstract class used to launch tests on a palette model : + * - check quality id + * - check existing icon + * + + */ +@SuppressWarnings("nls") +@RunWith(Parameterized.class) +public class PaletteIconIdTest { + + private String palettePath = ""; + + + @Parameters + public static Collection<Object[]> data() { + return Arrays.asList(new Object[][] { + {"org.eclipse.papyrus.sysml.diagram.blockdefinition/resources/palette/blockDefinitionDiagram.paletteconfiguration"}, + {"org.eclipse.papyrus.sysml.diagram.internalblock/resources/palette/internalBlockDiagram.paletteconfiguration"}, + {"org.eclipse.papyrus.sysml.diagram.parametric/resources/Parametric.paletteconfiguration"}, + {"org.eclipse.papyrus.sysml.diagram.requirement/resources/palette/requirementDiagram.paletteconfiguration"}, + }); + } + + public PaletteIconIdTest(String palettePath) { + this.palettePath = palettePath; + } + + @Before + public void loadElementTypeRegistry() { + ElementTypeSetConfigurationRegistry.getInstance(); + } + + /** + * Check palette ids and element type reference + */ + @Test + public void checkPaletteIds() { + URI createPlatformPluginURI = URI.createPlatformPluginURI(palettePath, true); + ResourceSetImpl resourceSetImpl = new ResourceSetImpl(); + Resource resource = resourceSetImpl.getResource(createPlatformPluginURI, true); + + TreeIterator<EObject> allContents = resource.getAllContents(); + while (allContents.hasNext()) { + EObject eObject = (EObject) allContents.next(); + + if (eObject instanceof PaletteConfiguration) { + PaletteConfiguration p = (PaletteConfiguration) eObject; + EList<DrawerConfiguration> drawerConfigurations = p.getDrawerConfigurations(); + for (DrawerConfiguration drawerConfiguration : drawerConfigurations) { + EList<ChildConfiguration> ownedConfigurations = drawerConfiguration.getOwnedConfigurations(); + for (ChildConfiguration childConfiguration : ownedConfigurations) { + + if (childConfiguration instanceof ToolConfiguration) { + ToolConfiguration toolConfiguration = (ToolConfiguration) childConfiguration; + + // check icon file + IconDescriptor icon = toolConfiguration.getIcon(); + String iconPath = "platform:/plugin/" + icon.getPluginID() + "/" + icon.getIconPath(); + if (iconPath != null && !"".equals(iconPath)) { + try { + URL url = new URL(iconPath); + Assert.assertNotNull("The icon " + iconPath + "(for : " + toolConfiguration.getId() + + ") can't be found", FileLocator.find(url)); + } catch (MalformedURLException e) { + Assert.fail("The new child menu is refering to a malformed url " + iconPath); + } + } + } + } + } + } + } + } + + /** + * Validate the model with the rules defined in the meta-model tooling + */ + @Test + public void useValidation() { + URI createPlatformPluginURI = URI.createPlatformPluginURI(palettePath, true); + Resource resource = new ResourceSetImpl().getResource(createPlatformPluginURI, true); + Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); + Assert.assertEquals("The palette is not valid " + palettePath, Diagnostic.OK, diagnostic.getSeverity()); + } + +}
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/.classpath b/gui/org.eclipse.papyrus.sysml.ui/.classpath similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/.classpath rename to gui/org.eclipse.papyrus.sysml.ui/.classpath
diff --git a/gui/org.eclipse.papyrus.sysml.ui/.project b/gui/org.eclipse.papyrus.sysml.ui/.project new file mode 100644 index 0000000..82a8b9d --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui/.project
@@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.ui</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> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription>
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/.settings/org.eclipse.core.resources.prefs b/gui/org.eclipse.papyrus.sysml.ui/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/.settings/org.eclipse.core.resources.prefs rename to gui/org.eclipse.papyrus.sysml.ui/.settings/org.eclipse.core.resources.prefs
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/.settings/org.eclipse.jdt.core.prefs b/gui/org.eclipse.papyrus.sysml.ui/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/.settings/org.eclipse.jdt.core.prefs rename to gui/org.eclipse.papyrus.sysml.ui/.settings/org.eclipse.jdt.core.prefs
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/.settings/org.eclipse.m2e.core.prefs b/gui/org.eclipse.papyrus.sysml.ui/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/.settings/org.eclipse.m2e.core.prefs rename to gui/org.eclipse.papyrus.sysml.ui/.settings/org.eclipse.m2e.core.prefs
diff --git a/gui/org.eclipse.papyrus.sysml.ui/META-INF/MANIFEST.MF b/gui/org.eclipse.papyrus.sysml.ui/META-INF/MANIFEST.MF new file mode 100644 index 0000000..7c9098b --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui/META-INF/MANIFEST.MF
@@ -0,0 +1,44 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name +Bundle-SymbolicName: org.eclipse.papyrus.sysml.ui;singleton:=true +Bundle-Version: 4.0.0.qualifier +Bundle-ClassPath: . +Bundle-Activator: org.eclipse.papyrus.sysml.ui.Activator +Require-Bundle: org.eclipse.ui;bundle-version="[3.107.0,4.0.0)", + org.eclipse.core.runtime;bundle-version="[3.11.1,4.0.0)", + org.eclipse.uml2.uml;bundle-version="[5.1.0,6.0.0)", + org.eclipse.gef;bundle-version="[3.10.0,4.0.0]", + org.eclipse.emf.edit.ui;bundle-version="[2.12.0,3.0.0)", + org.eclipse.papyrus.infra.core;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.core.log;bundle-version="[1.1.0,2.0.0)", + org.eclipse.papyrus.infra.constraints;bundle-version="[2.0.0,3.0.0)", + org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.newchild;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.services.edit;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.views.modelexplorer;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.views.properties;bundle-version="[4.0.0,5.0.0)", + org.eclipse.papyrus.emf.facet.custom.metamodel;bundle-version="[1.1.0,2.0.0)", + org.eclipse.papyrus.emf.facet.custom.ui;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.emf.facet.query.java.core;bundle-version="[2.0.0,3.0.0)", + org.eclipse.papyrus.uml.diagram.common;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.wizards;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.filters;bundle-version="[1.1.0,2.0.0)", + org.eclipse.papyrus.uml.modelexplorer;bundle-version="[2.0.0,3.0.0)", + org.eclipse.papyrus.uml.properties;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.templaterepository;bundle-version="[2.0.0,3.0.0)", + org.eclipse.papyrus.uml.tools;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.tools.utils;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.sysml;bundle-version="1.0.0", + org.eclipse.papyrus.sysml.architecture;bundle-version="1.0.0" +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Export-Package: org.eclipse.papyrus.sysml.ui, + org.eclipse.papyrus.sysml.ui.constraints, + org.eclipse.papyrus.sysml.ui.paste, + org.eclipse.papyrus.sysml.ui.queries.property, + org.eclipse.papyrus.sysml.ui.template +Bundle-ActivationPolicy: lazy +Bundle-Localization: plugin +Bundle-Description: %Bundle-Description +Bundle-Vendor: %Bundle-Vendor
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/about.html b/gui/org.eclipse.papyrus.sysml.ui/about.html similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/about.html rename to gui/org.eclipse.papyrus.sysml.ui/about.html
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/about.ini b/gui/org.eclipse.papyrus.sysml.ui/about.ini similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/about.ini rename to gui/org.eclipse.papyrus.sysml.ui/about.ini
diff --git a/gui/org.eclipse.papyrus.sysml.ui/about.properties b/gui/org.eclipse.papyrus.sysml.ui/about.properties new file mode 100644 index 0000000..6136858 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui/about.properties
@@ -0,0 +1,14 @@ +# about.properties +# contains externalized strings for about.ini +# java.io.Properties file (ISO 8859-1 with "\" escapes) +# fill-ins are supplied by about.mappings +# This file should be translated. + +featureText=Papyrus SysML 1.5 \n\ +\n\ +Copyright (c) 2010, 2017 CEA LIST and others. +\n\ +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 +\n\ +Papyrus for SysML provides a UML 2/SyML 1.5 modeling environment that conforms to the OMG specification.\n\ +Visit http://www.eclipse.org/papyrus
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/build.properties b/gui/org.eclipse.papyrus.sysml.ui/build.properties similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/build.properties rename to gui/org.eclipse.papyrus.sysml.ui/build.properties
diff --git a/gui/org.eclipse.papyrus.sysml.ui/plugin.properties b/gui/org.eclipse.papyrus.sysml.ui/plugin.properties new file mode 100755 index 0000000..915f6cb --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui/plugin.properties
@@ -0,0 +1,15 @@ +################################################################################# +# Copyright (c) 2015 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: +# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation +################################################################################## +Bundle-Name=Papyrus SysML 1.5 UI +Bundle-Description=This plug-in contains all graphical interface for the SyML 1.5 tooling. +Bundle-Vendor=Eclipse Modeling Project + +
diff --git a/gui/org.eclipse.papyrus.sysml.ui/plugin.xml b/gui/org.eclipse.papyrus.sysml.ui/plugin.xml new file mode 100644 index 0000000..fe40ab8 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui/plugin.xml
@@ -0,0 +1,95 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.0"?> +<!-- + Copyright (c) 2015 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: + Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation +--> + +<plugin> + <extension point="org.eclipse.papyrus.emf.facet.util.emf.core.modeldeclaration"> + <modeldeclaration file="resources/custom/OperationalSysML.custom"/> +</extension> + + <extension + point="org.eclipse.papyrus.uml.extensionpoints.UMLProfile"> + <profile + description="UML profile for SysML (from OMG SysML V1.5)" + iconpath="resources/icons/SysMLProfile.gif" + name="SysML 1.5" + path="pathmap://SysML15_PROFILES/SysML.profile.uml" + provider="Eclipse Modeling Project"> + </profile> + </extension> + + <extension + point="org.eclipse.papyrus.uml.extensionpoints.UMLLibrary"> + <library + description="SysML-Standard-Library (non stereotype part from OMG SysML V1.5 profile)" + iconpath="resources/icons/SysMLLibrary.gif" + name="SysML-Standard-Library" + path="pathmap://SysML15_LIBRARIES/SysML-Standard-Library.uml" + provider="Eclipse Modeling Project"> + </library> + </extension> + + <extension + point="org.eclipse.papyrus.uml.extensionpoints.UMLLibrary"> + <library + description="SysM QUDV Library (non stereotype part from OMG SysML V1.5 profile)" + iconpath="resources/icons/SysMLLibrary.gif" + name="SysML QUDV Library" + path="pathmap://SysML15_LIBRARIES/QUDV.uml" + provider="Eclipse Modeling Project"> + </library> + </extension> + + <extension point="org.eclipse.papyrus.infra.ui.papyrusDiagram"> + <diagramCategory + class="org.eclipse.papyrus.sysml.architecture.CreateSysMLModelCommand" + description="SysML 1.5 diagrams" + icon="platform:/plugin/org.eclipse.papyrus.sysml/resources/icons/SysML.gif" + id="SysML14" + label="SysML 1.5"> + </diagramCategory> + </extension> + + + <extension point="org.eclipse.papyrus.infra.newchild"> + <menuCreationModel model="resources/SysML.creationmenumodel"></menuCreationModel> + <menuCreationModel model="resources/SysMLEdges.creationmenumodel"></menuCreationModel> + <menuCreationModel model="resources/UML4SysML.creationmenumodel"></menuCreationModel> + <menuCreationModel model="resources/UML4SysMLEdges.creationmenumodel"></menuCreationModel> + </extension> + + <extension point="org.eclipse.papyrus.infra.properties.contexts"> + <context contextModel="resources/properties/SysML.ctx"></context> + </extension> + + <extension point="org.eclipse.papyrus.infra.constraints.ConstraintEnvironment"> + <environment environmentModel="resources/SysMLConstraintEnvironment.xmi"></environment> + </extension> + + <extension + point="org.eclipse.papyrus.uml.diagram.wizards.templates"> + <transformation + Transformation="org.eclipse.papyrus.sysml.ui.template.ImportSysMLQUDVLibraryInModel" + id="org.eclipse.papyrus.sysml.templaterepository.ImportSysMLQUDVLibraryInModel" + language="org.eclipse.papyrus.sysml.architecture.SysML" + name="A model with QUDV Library"> + </transformation> + </extension> + <extension + point="org.eclipse.papyrus.infra.gmfdiag.common.pasteStrategy"> + <strategy + strategy="org.eclipse.papyrus.sysml.ui.paste.PartPasteStrategy"> + </strategy> + </extension> + +</plugin>
diff --git a/gui/org.eclipse.papyrus.sysml.ui/pom.xml b/gui/org.eclipse.papyrus.sysml.ui/pom.xml new file mode 100644 index 0000000..fffe19d --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui/pom.xml
@@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>org.eclipse.papyrus.sysml.gui</artifactId> + <groupId>org.eclipse.papyrus.sysml</groupId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.ui</artifactId> + <packaging>eclipse-plugin</packaging> + <name>org.eclipse.papyrus.sysml.ui</name> + <description>This plugins manages the user interface based on the following framework: new child menu, properties</description> +</project> \ No newline at end of file
diff --git a/gui/org.eclipse.papyrus.sysml.ui/resources/SysML.creationmenumodel b/gui/org.eclipse.papyrus.sysml.ui/resources/SysML.creationmenumodel new file mode 100644 index 0000000..2b45c9b --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui/resources/SysML.creationmenumodel
@@ -0,0 +1,168 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<ElementCreationMenuModel:Folder xmlns:ElementCreationMenuModel="http://www.eclipse.org/papyrus/infra/newchild/elementcreationmenumodel" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:filters="http://www.eclipse.org/Papyrus/2014/common/filters" xmlns:umlfilters="http://www.eclipse.org/Papyrus/2014/uml/filters" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" icon="platform:/plugin/org.eclipse.papyrus.sysml/resources/icons/full/obj16/SysML.gif" label="SysML 1.5 Child" xmi:id="org.eclipse.papyrus.sysml.menu.child" xmi:version="2.0"> + <filter filter="//@filter/@ownedFilter.0" xsi:type="filters:CompoundFilter"> + <ownedFilter name="isSysML15ProfileApplied" profileQualifiedName="SysML" profileURI="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML" xsi:type="umlfilters:ProfileApplied"/> + </filter> + <menu label="AcceptChangeStructuralFeatureEventAction" xmi:id="_FUfypMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.AcceptChangeStructuralFeatureEventAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu label="AdjunctProperty" xmi:id="_FUfyncyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.AdjunctProperty" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu label="AllocateActivityPartition" xmi:id="_FUgZucyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.AllocateActivityPartition" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Block.gif" label="Block" xmi:id="_FUfylcyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Block" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/BoundReference.gif" label="BoundReference" xmi:id="_FUfynMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.BoundReference" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ChangeStructuralFeatureEvent.gif" label="ChangeStructuralFeatureEvent" xmi:id="_FUfypcyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ChangeStructuralFeatureEvent" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ClassifierBehaviorProperty.gif" label="ClassifierBehaviorProperty" xmi:id="_FUfynsyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ClassifierBehaviorProperty" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ConnectorProperty.gif" label="ConnectorProperty" xmi:id="_FUfyksyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ConnectorProperty" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ConstraintBlock.gif" label="ConstraintBlock" xmi:id="_FUgZuMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ConstraintBlock" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu label="Continuous ActivityEdge" xmi:id="_FUgZqcyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Continuous_ActivityEdge" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu label="Continuous Parameter" xmi:id="_FUgZqsyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Continuous_Parameter" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ControlOperator_Behavior.gif" label="ControlOperator Behavior" xmi:id="_FUgZosyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ControlOperator_Behavior" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ControlOperator_Operation.gif" label="ControlOperator Operation" xmi:id="_FUgZo8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ControlOperator_Operation" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu label="DirectedFeature" xmi:id="_FUfypsyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.DirectedFeature" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu label="DirectedRelationshipPropertyPath" xmi:id="_FUfymcyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.DirectedRelationshipPropertyPath" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu label="Discrete ActivityEdge" xmi:id="_FUgZp8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Discrete_ActivityEdge" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu label="Discrete Parameter" xmi:id="_FUgZqMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Discrete_Parameter" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/DistributedProperty.gif" label="DistributedProperty" xmi:id="_FUfykcyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.DistributedProperty" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ElementGroup.gif" label="ElementGroup" xmi:id="_FUgZt8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ElementGroup" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu label="ElementPropertyPath" xmi:id="_FUfymsyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ElementPropertyPath" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/EndPathMultiplicity.gif" label="EndPathMultiplicity" xmi:id="_FUfym8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.EndPathMultiplicity" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowProperty.gif" label="FlowProperty" xmi:id="_FUfyoMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowProperty" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowPort.gif" label="FlowPort" xmi:id="_FUgZy8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowPort" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowSpecification.gif" label="FlowSpecification" xmi:id="_FUgZzMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FlowSpecification" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FullPort.gif" label="FullPort" xmi:id="_FUfyocyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.FullPort" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/InterfaceBlock.gif" label="InterfaceBlock" xmi:id="_FUfyosyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.InterfaceBlock" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu label="InvocationOnNestedPortAction InvocationAction" xmi:id="_FUfyp8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.InvocationOnNestedPortAction_InvocationAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu label="InvocationOnNestedPortAction Element" xmi:id="_FUfyqMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.InvocationOnNestedPortAction_Element" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/NestedConnectorEnd_ConnectorEnd.gif" label="NestedConnectorEnd ConnectorEnd" xmi:id="_FUfyl8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.NestedConnectorEnd_ConnectorEnd" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/NestedConnectorEnd_Element.gif" label="NestedConnectorEnd Element" xmi:id="_FUfymMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.NestedConnectorEnd_Element" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu label="NoBuffer" xmi:id="_FUgZpsyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.NoBuffer" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Optional.gif" label="Optional" xmi:id="_FUgZrcyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Optional" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu label="Overwrite" xmi:id="_FUgZocyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Overwrite" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Property.gif" label="Parameter" xmi:id="_FUfyk8yuEeSuYbPdZwWelyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Parameter" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ParticipantProperty.gif" label="ParticipantProperty" xmi:id="_FUfyk8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ParticipantProperty" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Problem.gif" label="Problem" xmi:id="_FUgZs8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Problem" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu label="Probability ActivityEdge" xmi:id="_FUgZq8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Probability_ActivityEdge" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu label="Probability ParameterSet" xmi:id="_FUgZrMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Probability_ParameterSet" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/PropertySpecificType.gif" label="PropertySpecificType" xmi:id="_FUfylsyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.PropertySpecificType" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FullPort.gif" label="ProxyPort" xmi:id="_FUfyo8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ProxyPort" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/InstanceSpecification.gif" label="QuantityKind" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.QuantityKind" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu label="Rate ActivityEdge" xmi:id="_FUgZpMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Rate_ActivityEdge" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu label="Rate Parameter" xmi:id="_FUgZpcyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Rate_Parameter" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Rationale.gif" label="Rationale" xmi:id="_FUgZrsyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Rationale" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Requirement.gif" label="Requirement" xmi:id="_FUgZxMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Requirement" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Stakeholder.gif" label="Stakeholder" xmi:id="_FUgZtcyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Stakeholder" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/TestCase_Operation.gif" label="TestCase Operation" xmi:id="_FUgZwsyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.TestCase_Operation" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/TestCase_Behavior.gif" label="TestCase Behavior" xmi:id="_FUgZw8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.TestCase_Behavior" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/TriggerOnNestedPort_Element.gif" label="TriggerOnNestedPort Element" xmi:id="_FUgZoMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.TriggerOnNestedPort_Element" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/TriggerOnNestedPort_Trigger.gif" label="TriggerOnNestedPort Trigger" xmi:id="_FUfyqcyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.TriggerOnNestedPort_Trigger" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Unit.gif" label="Unit" xmi:id="_V9D8cOjrEeS0s_Pe-G3XMA" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.Unit" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ValueType.gif" label="ValueType" xmi:id="_FUfykMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ValueType" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/View.gif" label="View" xmi:id="_FUgZsMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.View" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Viewpoint.gif" label="Viewpoint" xmi:id="_FUgZtMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Viewpoint" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> +</ElementCreationMenuModel:Folder>
diff --git a/gui/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi b/gui/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi new file mode 100644 index 0000000..532323a --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi
@@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="ASCII"?> +<environment:ConstraintEnvironment + xmi:version="2.0" + xmlns:xmi="http://www.omg.org/XMI" + xmlns:environment="http://www.eclipse.org/papyrus/constraints/environment/0.9"> + <constraintTypes + label="Has Stereotype SysML 1.5" + constraintClass="org.eclipse.papyrus.sysml.ui.constraints.HasStereotypeSysml14Constraint"/> +</environment:ConstraintEnvironment>
diff --git a/gui/org.eclipse.papyrus.sysml.ui/resources/SysMLEdges.creationmenumodel b/gui/org.eclipse.papyrus.sysml.ui/resources/SysMLEdges.creationmenumodel new file mode 100644 index 0000000..48b09fb --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui/resources/SysMLEdges.creationmenumodel
@@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<ElementCreationMenuModel:Folder xmlns:ElementCreationMenuModel="http://www.eclipse.org/papyrus/infra/newchild/elementcreationmenumodel" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:filters="http://www.eclipse.org/Papyrus/2014/common/filters" xmlns:umlfilters="http://www.eclipse.org/Papyrus/2014/uml/filters" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" icon="platform:/plugin/org.eclipse.papyrus.sysml/resources/icons/full/obj16/SysML.gif" label="SysML 1.5 Relationship" xmi:id="org.eclipse.papyrus.sysml.menu.edges" xmi:version="2.0"> + <filter filter="//@filter/@ownedFilter.0" xsi:type="filters:CompoundFilter"> + <ownedFilter name="isSysML15ProfileApplied" profileQualifiedName="SysML" profileURI="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML" xsi:type="umlfilters:ProfileApplied"/> + </filter> + <menu label="Allocate" xmi:id="_FUgZusyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Allocate_Abstraction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/AssociationBlock.gif" label="AssociationBlock" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.AssociationBlock" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu displayAllRoles="false" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/BindingConnector.gif" label="BindingConnector" xmi:id="_FUfylMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.BindingConnector" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu displayAllRoles="false" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Conform.gif" label="Conform" xmi:id="_FUgZssyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Conform" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu displayAllRoles="false" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/ControlFlow.gif" label="Continuous Control Flow" xmi:id="_FUgZxcyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.ContinuousControlFlow" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu displayAllRoles="false" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Copy.gif" label="Copy" xmi:id="_FUgZvsyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Copy_Abstraction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu displayAllRoles="false" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/DeriveReqt.gif" label="DeriveReqt" xmi:id="_FUgZvMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.DeriveReqt_Abstraction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu displayAllRoles="false" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/ControlFlow.gif" label="Discrete Control Flow" xmi:id="_FUgZxcyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.DiscreteControlFlow" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu displayAllRoles="false" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Expose.gif" label="Expose" xmi:id="_FUgZtsyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Expose" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu displayAllRoles="false" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ItemFlow.gif" label="ItemFlow" xmi:id="_FUfyn8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.ItemFlow" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu displayAllRoles="false" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/ControlFlow.gif" label="Rate Control Flow" xmi:id="_FUgZxcyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML.RateControlFlow" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Refine.gif" label="Refine" xmi:id="_FUgZycyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Refine_Abstraction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu displayAllRoles="false" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Satisfy.gif" label="Satisfy" xmi:id="_FUgZwMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Satisfy_Abstraction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu displayAllRoles="false" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Trace.gif" label="Trace" xmi:id="_FUgZx8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Trace_Abstraction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + <menu displayAllRoles="false" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Verify.gif" label="Verify" xmi:id="_FUgZxcyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.sysml.service.types/resources/SysML.elementtypesconfigurations#org.eclipse.papyrus.SysML.Verify_Abstraction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> + </menu> + +</ElementCreationMenuModel:Folder>
diff --git a/gui/org.eclipse.papyrus.sysml.ui/resources/UML4SysML.creationmenumodel b/gui/org.eclipse.papyrus.sysml.ui/resources/UML4SysML.creationmenumodel new file mode 100644 index 0000000..ba04fad --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui/resources/UML4SysML.creationmenumodel
@@ -0,0 +1,363 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<ElementCreationMenuModel:Folder xmlns:ElementCreationMenuModel="http://www.eclipse.org/papyrus/infra/newchild/elementcreationmenumodel" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:filters="http://www.eclipse.org/Papyrus/2014/common/filters" xmlns:umlfilters="http://www.eclipse.org/Papyrus/2014/uml/filters" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" icon="platform:/plugin/org.eclipse.papyrus.sysml/resources/icons/full/obj16/SysML.gif" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml" label="UML for SysML 1.5" xmi:version="2.0"> + <filter filter="//@filter/@ownedFilter.0" xsi:type="filters:CompoundFilter"> + <ownedFilter name="isSysML15ProfileApplied" profileQualifiedName="SysML" profileURI="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML" xsi:type="umlfilters:ProfileApplied"/> + </filter> + <menu label="AcceptCallAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.AcceptCallAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.AcceptCallAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="AcceptEventAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.AcceptEventAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.AcceptEventAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ActionExecutionSpecification" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ActionExecutionSpecification" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ActionExecutionSpecification" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ActionInputPin" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ActionInputPin" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ActionInputPin" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ActivityFinalNode" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ActivityFinalNode" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ActivityFinalNode" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ActivityParameterNode" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ActivityParameterNode" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ActivityParameterNode" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ActivityPartition" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ActivityPartition" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ActivityPartition" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="AddStructuralFeatureValueAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.AddStructuralFeatureValueAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.AddStructuralFeatureValueAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="AddVariableValueAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.AddVariableValueAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.AddVariableValueAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="AnyReceiveEvent" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.AnyReceiveEvent" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.AnyReceiveEvent" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="BehaviorExecutionSpecification" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.BehaviorExecutionSpecification" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.BehaviorExecutionSpecification" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="BroadcastSignalAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.BroadcastSignalAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.BroadcastSignalAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="CallBehaviorAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.CallBehaviorAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.CallBehaviorAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="CallEvent" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.CallEvent" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.CallEvent" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="CentralBufferNode" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.CentralBufferNode" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.CentralBufferNode" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ChangeEvent" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ChangeEvent" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ChangeEvent" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Class" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Class" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Class" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Clause" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Clause" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Clause" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ClearAssociationAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ClearAssociationAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ClearAssociationAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ClearVariableAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ClearVariableAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ClearVariableAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="CombinedFragment" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.CombinedFragment" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.CombinedFragment" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Comment" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Comment" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Comment" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ConditionalNode" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ConditionalNode" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ConditionalNode" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ConnectorEnd" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ConnectorEnd" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ConnectorEnd" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ConsiderIgnoreFragment" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ConsiderIgnoreFragment" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ConsiderIgnoreFragment" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Constraint" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Constraint" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Constraint" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Continuation" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Continuation" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Continuation" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="CreateLinkAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.CreateLinkAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.CreateLinkAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="CreateLinkObjectAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.CreateLinkObjectAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.CreateLinkObjectAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="CreateObjectAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.CreateObjectAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.CreateObjectAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="DataStoreNode" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.DataStoreNode" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DataStoreNode" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="DecisionNode" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.DecisionNode" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DecisionNode" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="DestroyLinkAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.DestroyLinkAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DestroyLinkAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="DestructionOccurrenceSpecification" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.DestructionOccurrenceSpecification" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DestructionOccurrenceSpecification" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Duration" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Duration" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Duration" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="DurationConstraint" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.DurationConstraint" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DurationConstraint" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="DurationObservation" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.DurationObservation" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DurationObservation" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ElementImport" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ElementImport" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ElementImport" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Enumeration" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Enumeration" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Enumeration" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="EnumerationLiteral" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.EnumerationLiteral" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.EnumerationLiteral" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ExecutionOccurrenceSpecification" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ExecutionOccurrenceSpecification" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ExecutionOccurrenceSpecification" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Expression" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Expression" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Expression" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ExtensionEnd" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ExtensionEnd" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ExtensionEnd" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ExtensionPoint" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ExtensionPoint" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ExtensionPoint" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="FinalState" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.FinalState" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.FinalState" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="FlowFinalNode" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.FlowFinalNode" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.FlowFinalNode" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ForkNode" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ForkNode" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ForkNode" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="FunctionBehavior" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.FunctionBehavior" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.FunctionBehavior" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="GeneralOrdering" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.GeneralOrdering" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.GeneralOrdering" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Image" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Image" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Image" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="InformationItem" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.InformationItem" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.InformationItem" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="InputPin" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.InputPin" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.InputPin" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="InstanceSpecification" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.InstanceSpecification" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.InstanceSpecification" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="InstanceValue" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.InstanceValue" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.InstanceValue" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Interaction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Interaction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Interaction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="InteractionConstraint" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.InteractionConstraint" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.InteractionConstraint" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="InteractionOperand" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.InteractionOperand" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.InteractionOperand" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="InteractionUse" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.InteractionUse" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.InteractionUse" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Interface" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Interface" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Interface" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Interval" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Interval" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Interval" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="IntervalConstraint" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.IntervalConstraint" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.IntervalConstraint" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="JoinNode" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.JoinNode" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.JoinNode" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Lifeline" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Lifeline" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Lifeline" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="LinkEndCreationData" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.LinkEndCreationData" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.LinkEndCreationData" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="LinkEndDestructionData" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.LinkEndDestructionData" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.LinkEndDestructionData" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="LiteralBoolean" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.LiteralBoolean" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.LiteralBoolean" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="LiteralInteger" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.LiteralInteger" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.LiteralInteger" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="LiteralNull" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.LiteralNull" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.LiteralNull" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="LiteralReal" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.LiteralReal" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.LiteralReal" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="LiteralUnlimitedNatural" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.LiteralUnlimitedNatural" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.LiteralUnlimitedNatural" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="LoopNode" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.LoopNode" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.LoopNode" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="MergeNode" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.MergeNode" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.MergeNode" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Message" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Message" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Message" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="MessageOccurrenceSpecification" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.MessageOccurrenceSpecification" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.MessageOccurrenceSpecification" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Model" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Model" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Model" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="OccurrenceSpecification" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.OccurrenceSpecification" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.OccurrenceSpecification" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="OpaqueAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.OpaqueAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.OpaqueAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="OpaqueExpression" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.OpaqueExpression" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.OpaqueExpression" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Operation" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Operation" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Operation" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="OutputPin" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.OutputPin" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.OutputPin" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Package" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Package" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Package" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="PackageImport" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.PackageImport" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.PackageImport" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ParameterSet" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ParameterSet" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ParameterSet" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="PartDecomposition" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.PartDecomposition" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.PartDecomposition" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="PrimitiveType" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.PrimitiveType" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.PrimitiveType" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Profile" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Profile" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Profile" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Property" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Property" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="RaiseExceptionAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.RaiseExceptionAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.RaiseExceptionAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ReadExtentAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ReadExtentAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ReadExtentAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ReadIsClassifiedObjectAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ReadIsClassifiedObjectAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ReadIsClassifiedObjectAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ReadLinkObjectEndAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ReadLinkObjectEndAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ReadLinkObjectEndAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ReadSelfAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ReadSelfAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ReadSelfAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ReadStructuralFeatureAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ReadStructuralFeatureAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ReadStructuralFeatureAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ReadVariableAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ReadVariableAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ReadVariableAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ReclassifyObjectAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ReclassifyObjectAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ReclassifyObjectAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ReduceAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ReduceAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ReduceAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Region" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Region" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Region" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="RemoveStructuralFeatureValueAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.RemoveStructuralFeatureValueAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.RemoveStructuralFeatureValueAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="RemoveVariableValueAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.RemoveVariableValueAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.RemoveVariableValueAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ReplyAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ReplyAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ReplyAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="SendSignalAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.SendSignalAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.SendSignalAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="SequenceNode" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.SequenceNode" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.SequenceNode" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Signal" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Signal" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Signal" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="SignalEvent" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.SignalEvent" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.SignalEvent" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Slot" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Slot" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Slot" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="StartClassifierBehaviorAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.StartClassifierBehaviorAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.StartClassifierBehaviorAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="State" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.State" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.State" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="StateInvariant" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.StateInvariant" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.StateInvariant" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="StateMachine" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.StateMachine" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.StateMachine" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Stereotype" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Stereotype" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Stereotype" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="TestIdentityAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.TestIdentityAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.TestIdentityAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="TimeConstraint" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.TimeConstraint" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.TimeConstraint" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="TimeEvent" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.TimeEvent" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.TimeEvent" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="TimeExpression" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.TimeExpression" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.TimeExpression" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="TimeObservation" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.TimeObservation" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.TimeObservation" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Transition" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Transition" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Transition" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="UnmarshallAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.UnmarshallAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.UnmarshallAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="UseCase" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.UseCase" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.UseCase" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ValueSpecificationAction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ValueSpecificationAction" xsi:type="ElementCreationMenuModel:CreationMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ValueSpecificationAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> +</ElementCreationMenuModel:Folder>
diff --git a/gui/org.eclipse.papyrus.sysml.ui/resources/UML4SysMLEdges.creationmenumodel b/gui/org.eclipse.papyrus.sysml.ui/resources/UML4SysMLEdges.creationmenumodel new file mode 100644 index 0000000..51ebba9 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui/resources/UML4SysMLEdges.creationmenumodel
@@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<ElementCreationMenuModel:Folder xmlns:ElementCreationMenuModel="http://www.eclipse.org/papyrus/infra/newchild/elementcreationmenumodel" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:filters="http://www.eclipse.org/Papyrus/2014/common/filters" xmlns:umlfilters="http://www.eclipse.org/Papyrus/2014/uml/filters" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" icon="platform:/plugin/org.eclipse.papyrus.sysml/resources/icons/full/obj16/SysML.gif" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml" label="UML for SysML 1.5 Edges" xmi:version="2.0"> + <filter filter="//@filter/@ownedFilter.0" xsi:type="filters:CompoundFilter"> + <ownedFilter name="isSysML15ProfileApplied" profileQualifiedName="SysML" profileURI="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML" xsi:type="umlfilters:ProfileApplied"/> + </filter> + <menu label="Abstraction" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Abstraction" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Abstraction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Connector" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Connector" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Connector" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Dependency" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Dependency" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Dependency" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ElementImport" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ElementImport" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ElementImport" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Extend" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Extend" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Extend" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Generalization" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Generalization" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Generalization" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Include" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Include" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Include" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="InformationFlow" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.InformationFlow" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.InformationFlow" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="InterfaceRealization" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.InterfaceRealization" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.InterfaceRealization" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="PackageImport" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.PackageImport" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.PackageImport" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="PackageMerge" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.PackageMerge" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.PackageMerge" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="ProfileApplication" visible="false" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.ProfileApplication" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ProfileApplication" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Realization" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Realization" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Realization" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Substitution" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Substitution" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Substitution" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> + <menu label="Usage" xmi:id="org.eclipse.papyrus.sysml.menu.uml4sysml.Usage" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> + <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Usage" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> + </menu> +</ElementCreationMenuModel:Folder>
diff --git a/gui/org.eclipse.papyrus.sysml.ui/resources/custom/OperationalSysML.custom b/gui/org.eclipse.papyrus.sysml.ui/resources/custom/OperationalSysML.custom new file mode 100644 index 0000000..95df99c --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui/resources/custom/OperationalSysML.custom
@@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<custom:Customization xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:custom="http://www.eclipse.org/papyrus/emf/facet/custom/0.2.incubation/custom" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:efacet="http://www.eclipse.org/papyrus/emf/facet/efacet/0.2.incubation/efacet" xmlns:javaQuery="http://www.eclipse.org/papyrus/emf/facet/query/java/0.2.incubation/javaquery" xmlns:query="http://www.eclipse.org/papyrus/emf/facet/efacet/0.2.incubation/efacet/query" name="OperationalSysML" documentation="Display contained diagram and their icons"> + <eClassifiers xsi:type="efacet:Facet" name="TypedProperty" documentation="this element represent a typed property that could be displayed as tree" conformanceTypedElement="//TypedProperty/isTypedProperty"> + <extendedMetaclass href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> + <facetOperations name="isTypedProperty" documentation="test if the property is typed"> + <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> + <query xsi:type="javaQuery:JavaQuery" implementationClassName="org.eclipse.papyrus.sysml.ui.queries.property.IsTypedPropertyJavaQuery"/> + </facetOperations> + </eClassifiers> + <eClassifiers xsi:type="custom:FacetCustomization" name="TypedProperty" documentation="Representation of a typed property"> + <facetElements xsi:type="efacet:FacetReference" name="attributes" upperBound="-1" defaultValueLiteral="" derived="true"> + <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> + <query xsi:type="query:OperationCallQuery" operation="//TypedProperty.1/TypedPropertyRefContent"/> + </facetElements> + <facetOperations name="TypedPropertyRefContent" upperBound="-1" documentation="Get the collection of all attributes of a typed property"> + <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> + <query xsi:type="javaQuery:JavaQuery" implementationClassName="org.eclipse.papyrus.sysml.ui.queries.property.GetContainedAttributesJavaQuery"/> + </facetOperations> + <extendedFacets href="platform:/plugin/org.eclipse.papyrus.sysml.ui/resources/custom/OperationalSysML.custom#//TypedProperty"/> + <customizedFacet href="platform:/plugin/org.eclipse.papyrus.sysml.ui/resources/custom/OperationalSysML.custom#//TypedProperty"/> + </eClassifiers> +</custom:Customization>
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/doc/org.eclipse.papyrus.sysml14.ui.di b/gui/org.eclipse.papyrus.sysml.ui/resources/doc/org.eclipse.papyrus.sysml.ui.di similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/doc/org.eclipse.papyrus.sysml14.ui.di rename to gui/org.eclipse.papyrus.sysml.ui/resources/doc/org.eclipse.papyrus.sysml.ui.di
diff --git a/gui/org.eclipse.papyrus.sysml.ui/resources/doc/org.eclipse.papyrus.sysml.ui.notation b/gui/org.eclipse.papyrus.sysml.ui/resources/doc/org.eclipse.papyrus.sysml.ui.notation new file mode 100644 index 0000000..aa70d8d --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui/resources/doc/org.eclipse.papyrus.sysml.ui.notation
@@ -0,0 +1,120 @@ +<?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:configuration="http://www.eclipse.org/papyrus/infra/viewpoints/configuration" xmlns:css="http://www.eclipse.org/papyrus/infra/gmfdiag/css" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:nattable="http://www.eclipse.org/papyrus/nattable/model" xmlns:nattableaxis="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis" xmlns:nattableaxisconfiguration="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration" xmlns:nattableaxisprovider="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider" xmlns:nattableconfiguration="http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration" xmlns:nattablestyle="http://www.eclipse.org/papyrus/nattable/model/table/nattablestyle" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis http://www.eclipse.org/papyrus/nattable/model#//nattableaxis http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration http://www.eclipse.org/papyrus/nattable/model#//nattableaxisconfiguration http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider http://www.eclipse.org/papyrus/nattable/model#//nattableaxisprovider http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration http://www.eclipse.org/papyrus/nattable/model#//nattableconfiguration http://www.eclipse.org/papyrus/nattable/model/table/nattablestyle http://www.eclipse.org/papyrus/nattable/model#//nattablestyle"> + <notation:Diagram xmi:id="_OF23gOLIEeSv5dwvZ9NSDw" type="PapyrusUMLClassDiagram" name="Overview" measurementUnit="Pixel"> + <children xmi:type="notation:Shape" xmi:id="_OF3ekOLIEeSv5dwvZ9NSDw" type="Model_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3ekeLIEeSv5dwvZ9NSDw" type="Model_NameLabel"/> + <children xmi:type="notation:BasicCompartment" xmi:id="__wt4AJoSEeeOUvsiG0ZmwQ" type="Model_PackagedElementCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_OF3ek-LIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3elOLIEeSv5dwvZ9NSDw"/> + </children> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.ui.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eleLIEeSv5dwvZ9NSDw" x="201" y="38"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_OF3eluLIEeSv5dwvZ9NSDw" type="Model_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3el-LIEeSv5dwvZ9NSDw" type="Model_NameLabel"/> + <children xmi:type="notation:BasicCompartment" xmi:id="__wt4AZoSEeeOUvsiG0ZmwQ" type="Model_PackagedElementCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_OF3emeLIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3emuLIEeSv5dwvZ9NSDw"/> + </children> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.ui.uml#_OFsfc-LIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3em-LIEeSv5dwvZ9NSDw" x="204" y="173"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_OF3enOLIEeSv5dwvZ9NSDw" type="Model_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3eneLIEeSv5dwvZ9NSDw" type="Model_NameLabel"/> + <children xmi:type="notation:BasicCompartment" xmi:id="__wt4ApoSEeeOUvsiG0ZmwQ" type="Model_PackagedElementCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_OF3en-LIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eoOLIEeSv5dwvZ9NSDw"/> + </children> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.ui.uml#_OFsfduLIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eoeLIEeSv5dwvZ9NSDw" x="206" y="329"/> + </children> + <children xmi:type="notation:Shape" xmi:id="_OF3eouLIEeSv5dwvZ9NSDw" type="Model_Shape"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3eo-LIEeSv5dwvZ9NSDw" type="Model_NameLabel"/> + <children xmi:type="notation:BasicCompartment" xmi:id="__wufEJoSEeeOUvsiG0ZmwQ" type="Model_PackagedElementCompartment"> + <styles xmi:type="notation:TitleStyle" xmi:id="_OF3epeLIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3epuLIEeSv5dwvZ9NSDw"/> + </children> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.ui.uml#_OFsfeOLIEeSv5dwvZ9NSDw"/> + <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3ep-LIEeSv5dwvZ9NSDw" x="635" y="324"/> + </children> + <styles xmi:type="notation:DiagramStyle" xmi:id="_OF3eqOLIEeSv5dwvZ9NSDw"/> + <styles xmi:type="style:PapyrusViewStyle" xmi:id="_OF3eqeLIEeSv5dwvZ9NSDw"> + <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.ui.uml#_OFsfcOLIEeSv5dwvZ9NSDw"/> + <configuration xmi:type="configuration:PapyrusDiagram" href="platform:/plugin/org.eclipse.papyrus.infra.viewpoints.policy/builtin/default.configuration#_7wLmpNxhEeOqHvRyiN87hA"/> + </styles> + <styles xmi:type="notation:StringValueStyle" xmi:id="_ffusMFCLEeWVDv-g61eepg" name="diagram_compatibility_version" stringValue="1.3.0"/> + <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.ui.uml#_OFsfcOLIEeSv5dwvZ9NSDw"/> + <edges xmi:type="notation:Connector" xmi:id="_OF3equLIEeSv5dwvZ9NSDw" type="Abstraction_Edge" source="_OF3eluLIEeSv5dwvZ9NSDw" target="_OF3ekOLIEeSv5dwvZ9NSDw"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3eq-LIEeSv5dwvZ9NSDw" visible="false" type="Abstraction_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3erOLIEeSv5dwvZ9NSDw" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3ereLIEeSv5dwvZ9NSDw" visible="false" type="Abstraction_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3eruLIEeSv5dwvZ9NSDw" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_OF3er-LIEeSv5dwvZ9NSDw"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.ui.uml#_OFsfdOLIEeSv5dwvZ9NSDw"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OF3esOLIEeSv5dwvZ9NSDw" points="[-2, -10, 8, 48]$[-27, -45, -17, 13]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3eseLIEeSv5dwvZ9NSDw" id="(0.305,0.1)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3esuLIEeSv5dwvZ9NSDw" id="(0.27,0.87)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_OF3es-LIEeSv5dwvZ9NSDw" type="Abstraction_Edge" source="_OF3enOLIEeSv5dwvZ9NSDw" target="_OF3eluLIEeSv5dwvZ9NSDw"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3etOLIEeSv5dwvZ9NSDw" visible="false" type="Abstraction_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3eteLIEeSv5dwvZ9NSDw" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3etuLIEeSv5dwvZ9NSDw" visible="false" type="Abstraction_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3et-LIEeSv5dwvZ9NSDw" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_OF3euOLIEeSv5dwvZ9NSDw"/> + <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml.ui.uml#_OFsfd-LIEeSv5dwvZ9NSDw"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OF3eueLIEeSv5dwvZ9NSDw" points="[-9, -16, 0, 67]$[-24, -72, -15, 11]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3euuLIEeSv5dwvZ9NSDw" id="(0.27,0.16)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3eu-LIEeSv5dwvZ9NSDw" id="(0.235,0.89)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_OF3evOLIEeSv5dwvZ9NSDw" type="Dependency_Edge" source="_OF3eouLIEeSv5dwvZ9NSDw" target="_OF3eluLIEeSv5dwvZ9NSDw"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3eveLIEeSv5dwvZ9NSDw" visible="false" type="Dependency_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3evuLIEeSv5dwvZ9NSDw" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3ev-LIEeSv5dwvZ9NSDw" visible="false" type="Dependency_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3ewOLIEeSv5dwvZ9NSDw" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_OF3eweLIEeSv5dwvZ9NSDw"/> + <element xmi:type="uml:Dependency" href="org.eclipse.papyrus.sysml.ui.uml#_OFsfeeLIEeSv5dwvZ9NSDw"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OF3ewuLIEeSv5dwvZ9NSDw" points="[-46, -20, 265, 113]$[-275, -135, 36, -2]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3ew-LIEeSv5dwvZ9NSDw" id="(0.0,0.24)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3exOLIEeSv5dwvZ9NSDw" id="(1.0,0.65)"/> + </edges> + <edges xmi:type="notation:Connector" xmi:id="_OF3exeLIEeSv5dwvZ9NSDw" type="Dependency_Edge" source="_OF3eouLIEeSv5dwvZ9NSDw" target="_OF3enOLIEeSv5dwvZ9NSDw"> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3exuLIEeSv5dwvZ9NSDw" visible="false" type="Dependency_NameLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3ex-LIEeSv5dwvZ9NSDw" y="40"/> + </children> + <children xmi:type="notation:DecorationNode" xmi:id="_OF3eyOLIEeSv5dwvZ9NSDw" visible="false" type="Dependency_StereotypeLabel"> + <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3eyeLIEeSv5dwvZ9NSDw" y="60"/> + </children> + <styles xmi:type="notation:FontStyle" xmi:id="_OF3eyuLIEeSv5dwvZ9NSDw"/> + <element xmi:type="uml:Dependency" href="org.eclipse.papyrus.sysml.ui.uml#_OFsfeuLIEeSv5dwvZ9NSDw"/> + <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OF3ey-LIEeSv5dwvZ9NSDw" points="[-40, 1, 262, -12]$[-267, 20, 35, 7]"/> + <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3ezOLIEeSv5dwvZ9NSDw" id="(0.0,0.69)"/> + <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3ezeLIEeSv5dwvZ9NSDw" id="(1.0,0.64)"/> + </edges> + </notation:Diagram> + <css:ModelStyleSheets xmi:id="_MXBlUOc1EeSLdPGe2q9R0g"/> + <nattable:Table xmi:id="_D9c-MJoTEeeOUvsiG0ZmwQ" name="Requirements" currentRowAxisProvider="_D9c-NJoTEeeOUvsiG0ZmwQ" currentColumnAxisProvider="_D9c-MZoTEeeOUvsiG0ZmwQ" tableKindId="org.eclipse.papyrus.sysml14.table.requirement"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_D9eMUJoTEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/papyrus/infra/nattable/version"> + <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_D9eMUZoTEeeOUvsiG0ZmwQ" key="version" value="1.3.0"/> + </eAnnotations> + <context xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.ui.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> + <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml.ui.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> + <tableConfiguration xmi:type="nattableconfiguration:TableConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/resources/requirement.nattableconfiguration#/"/> + <columnAxisProvidersHistory xmi:type="nattableaxisprovider:SlaveObjectAxisProvider" xmi:id="_D9c-MZoTEeeOUvsiG0ZmwQ" description="Provides the columns of the tables with a default configuration" name="Requirements Feature Columns Provider"> + <axis xmi:type="nattableaxis:FeatureIdAxis" xmi:id="_D9c-MpoTEeeOUvsiG0ZmwQ" element="property_of_stereotype:/SysML::Requirements::Requirement::id"> + <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_Fjpf8JoTEeeOUvsiG0ZmwQ" name="axisWidth" intValue="2091"/> + <manager xmi:type="nattableaxisconfiguration:AxisManagerRepresentation" href="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/resources/requirement.nattableconfiguration#//@columnHeaderAxisConfiguration/@axisManagers.1"/> + </axis> + <axis xmi:type="nattableaxis:FeatureIdAxis" xmi:id="_D9c-M5oTEeeOUvsiG0ZmwQ" element="property_of_stereotype:/SysML::Requirements::Requirement::text"> + <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_FjOpMJoTEeeOUvsiG0ZmwQ" name="axisWidth" intValue="4919"/> + <manager xmi:type="nattableaxisconfiguration:AxisManagerRepresentation" href="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/resources/requirement.nattableconfiguration#//@columnHeaderAxisConfiguration/@axisManagers.1"/> + </axis> + </columnAxisProvidersHistory> + <rowAxisProvidersHistory xmi:type="nattableaxisprovider:MasterObjectAxisProvider" xmi:id="_D9c-NJoTEeeOUvsiG0ZmwQ" description="Provides the requirements directly owned by the context of the table" name="Requirement Axis Provider" disconnectSlave="true"/> + </nattable:Table> +</xmi:XMI>
diff --git a/gui/org.eclipse.papyrus.sysml.ui/resources/doc/org.eclipse.papyrus.sysml.ui.uml b/gui/org.eclipse.papyrus.sysml.ui/resources/doc/org.eclipse.papyrus.sysml.ui.uml new file mode 100644 index 0000000..9826fb6 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui/resources/doc/org.eclipse.papyrus.sysml.ui.uml
@@ -0,0 +1,93 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Requirements="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements http://www.eclipse.org/papyrus/sysml/1.4/SysML"> + <uml:Model xmi:id="_OFsfcOLIEeSv5dwvZ9NSDw" name="org.eclipse.papyrus.sysml14.ui"> + <packageImport xmi:type="uml:PackageImport" xmi:id="_OFsfceLIEeSv5dwvZ9NSDw"> + <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/> + </packageImport> + <packageImport xmi:type="uml:PackageImport" xmi:id="_ehZx8JNWEeWc3dlpn_2AyA"> + <importedPackage xmi:type="uml:Model" href="../../../org.eclipse.papyrus.sysml14.core/org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml#_d7ALQDqsEeWNg8WvR7UDoQ"/> + </packageImport> + <packagedElement xmi:type="uml:Model" xmi:id="_OFsfcuLIEeSv5dwvZ9NSDw" name="Requirements"> + <ownedComment xmi:type="uml:Comment" xmi:id="_dICO8Oc2EeSLdPGe2q9R0g"> + <body>This package will contains all graphical requirements for SysML elements from the UI components.</body> + </ownedComment> + <packagedElement xmi:type="uml:Class" xmi:id="_tZwtUJNWEeWc3dlpn_2AyA" name="REQ_001"/> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_taE2YJNWEeWc3dlpn_2AyA" name="DeriveFrom_REQ-OMG-SYSML14-8.3.1.2.1 Property types" client="_tZwtUJNWEeWc3dlpn_2AyA"> + <supplier xmi:type="uml:Class" href="../../../org.eclipse.papyrus.sysml14.core/org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml#_66IZyTq8EeW79ofuztDyTA"/> + </packagedElement> + </packagedElement> + <packagedElement xmi:type="uml:Model" xmi:id="_OFsfc-LIEeSv5dwvZ9NSDw" name="UseCases"> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_OFsfdOLIEeSv5dwvZ9NSDw" name="useCasesAbstraction" client="_OFsfc-LIEeSv5dwvZ9NSDw" supplier="_OFsfcuLIEeSv5dwvZ9NSDw"/> + <packagedElement xmi:type="uml:Component" xmi:id="_OFsfdeLIEeSv5dwvZ9NSDw" name="MySystem"/> + </packagedElement> + <packagedElement xmi:type="uml:Model" xmi:id="_OFsfduLIEeSv5dwvZ9NSDw" name="Design"> + <packagedElement xmi:type="uml:Abstraction" xmi:id="_OFsfd-LIEeSv5dwvZ9NSDw" name="DesignAbstraction" client="_OFsfduLIEeSv5dwvZ9NSDw" supplier="_OFsfc-LIEeSv5dwvZ9NSDw"/> + </packagedElement> + <packagedElement xmi:type="uml:Model" xmi:id="_OFsfeOLIEeSv5dwvZ9NSDw" name="Test"> + <packagedElement xmi:type="uml:Dependency" xmi:id="_OFsfeeLIEeSv5dwvZ9NSDw" name="Dependency1" client="_OFsfeOLIEeSv5dwvZ9NSDw" supplier="_OFsfc-LIEeSv5dwvZ9NSDw"/> + <packagedElement xmi:type="uml:Dependency" xmi:id="_OFsfeuLIEeSv5dwvZ9NSDw" name="Dependency2" client="_OFsfeOLIEeSv5dwvZ9NSDw" supplier="_OFsfduLIEeSv5dwvZ9NSDw"/> + </packagedElement> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_OFsfgeLIEeSv5dwvZ9NSDw"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_OFsfguLIEeSv5dwvZ9NSDw" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_OOJC4LX8EduFmqQsrNB9lw"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4a_noJoSEeeOUvsiG0ZmwQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4bNqEJoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#/"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4bORIJoSEeeOUvsiG0ZmwQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4bORIZoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//activities"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Activities"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4bO4MJoSEeeOUvsiG0ZmwQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4bO4MZoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//allocations"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Allocations"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4bPfQJoSEeeOUvsiG0ZmwQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4bPfQZoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//blocks"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4bPfQpoSEeeOUvsiG0ZmwQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4bQGUJoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//constraintblocks"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ConstraintBlocks"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4bQGUZoSEeeOUvsiG0ZmwQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4bQGUpoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//deprecatedelements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_DeprecatedElements"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4bQtYJoSEeeOUvsiG0ZmwQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4bQtYZoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//modelelements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ModelElements"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4bRUcJoSEeeOUvsiG0ZmwQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4bRUcZoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//portsandflows"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows"/> + </profileApplication> + <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4bRUcpoSEeeOUvsiG0ZmwQ"> + <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4bR7gJoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"/> + </eAnnotations> + <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML15_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements"/> + </profileApplication> + </uml:Model> + <Requirements:Requirement xmi:id="_tZ86kJNWEeWc3dlpn_2AyA" text="Type properties should be displayed in the Model Explorer with a tree viewver to display their owned elements
Property types details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=69" id="REQ_001" base_Class="_tZwtUJNWEeWc3dlpn_2AyA"/> + <Requirements:DeriveReqt xmi:id="_taGrkJNWEeWc3dlpn_2AyA" base_Abstraction="_taE2YJNWEeWc3dlpn_2AyA"/> +</xmi:XMI>
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/icons/PapyrusSysMLLogo32x32.png b/gui/org.eclipse.papyrus.sysml.ui/resources/icons/PapyrusSysMLLogo32x32.png similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/icons/PapyrusSysMLLogo32x32.png rename to gui/org.eclipse.papyrus.sysml.ui/resources/icons/PapyrusSysMLLogo32x32.png Binary files differ
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/icons/SysMLLibrary.gif b/gui/org.eclipse.papyrus.sysml.ui/resources/icons/SysMLLibrary.gif similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/icons/SysMLLibrary.gif rename to gui/org.eclipse.papyrus.sysml.ui/resources/icons/SysMLLibrary.gif Binary files differ
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/icons/SysMLProfile.gif b/gui/org.eclipse.papyrus.sysml.ui/resources/icons/SysMLProfile.gif similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/icons/SysMLProfile.gif rename to gui/org.eclipse.papyrus.sysml.ui/resources/icons/SysMLProfile.gif Binary files differ
diff --git a/gui/org.eclipse.papyrus.sysml.ui/resources/properties/SysML.ctx b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/SysML.ctx new file mode 100644 index 0000000..a520acd --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/SysML.ctx
@@ -0,0 +1,1153 @@ +<?xml version="1.0" encoding="UTF-8"?> +<contexts:Context xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:constraints="http://www.eclipse.org/papyrus/constraints/0.9" xmlns:contexts="http://www.eclipse.org/papyrus/properties/contexts/0.9" xmi:id="org.eclipse.papyrus.sysml.property.context" name="SysML 1.5"> + <dependencies href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_69QJkKDJEeSZxfCXzZz3-w"/> + <tabs xmi:id="_2xXfEM1XEeSGVbFNM4m8gQ" label="SysML 1.5" id="osysml" category="org.eclipse.papyrus" priority="5"> + <sections xmi:id="_2xtdUM1XEeSGVbFNM4m8gQ" name="Single FlowSpecification" sectionFile="ui/SingleFlowSpecification.xwt"> + <widget href="ui/SingleFlowSpecification.xwt#/"/> + </sections> + <sections xmi:id="_2xtdUc1XEeSGVbFNM4m8gQ" name="Multiple FlowSpecification" sectionFile="ui/MultipleFlowSpecification.xwt"> + <widget href="ui/MultipleFlowSpecification.xwt#/"/> + </sections> + <sections xmi:id="_2xuEYM1XEeSGVbFNM4m8gQ" name="Single FlowPort" sectionFile="ui/SingleFlowPort.xwt"> + <widget href="ui/SingleFlowPort.xwt#/"/> + </sections> + <sections xmi:id="_2xuEYc1XEeSGVbFNM4m8gQ" name="Multiple FlowPort" sectionFile="ui/MultipleFlowPort.xwt"> + <widget href="ui/MultipleFlowPort.xwt#/"/> + </sections> + <sections xmi:id="_2xurcM1XEeSGVbFNM4m8gQ" name="Single NestedConnectorEnd" sectionFile="ui/SingleNestedConnectorEnd.xwt"> + <widget href="ui/SingleNestedConnectorEnd.xwt#/"/> + </sections> + <sections xmi:id="_2xurcc1XEeSGVbFNM4m8gQ" name="Multiple NestedConnectorEnd" sectionFile="ui/MultipleNestedConnectorEnd.xwt"> + <widget href="ui/MultipleNestedConnectorEnd.xwt#/"/> + </sections> + <sections xmi:id="_2xurcs1XEeSGVbFNM4m8gQ" name="Single BoundReference" sectionFile="ui/SingleBoundReference.xwt"> + <widget href="ui/SingleBoundReference.xwt#/"/> + </sections> + <sections xmi:id="_2xvSgM1XEeSGVbFNM4m8gQ" name="Multiple BoundReference" sectionFile="ui/MultipleBoundReference.xwt"> + <widget href="ui/MultipleBoundReference.xwt#/"/> + </sections> + <sections xmi:id="_2xvSgc1XEeSGVbFNM4m8gQ" name="Single ValueType" sectionFile="ui/SingleValueType.xwt"> + <widget href="ui/SingleValueType.xwt#/"/> + </sections> + <sections xmi:id="_2xv5kM1XEeSGVbFNM4m8gQ" name="Multiple ValueType" sectionFile="ui/MultipleValueType.xwt"> + <widget href="ui/MultipleValueType.xwt#/"/> + </sections> + <sections xmi:id="_2xv5kc1XEeSGVbFNM4m8gQ" name="Single PropertySpecificType" sectionFile="ui/SinglePropertySpecificType.xwt"> + <widget href="ui/SinglePropertySpecificType.xwt#/"/> + </sections> + <sections xmi:id="_2xv5ks1XEeSGVbFNM4m8gQ" name="Multiple PropertySpecificType" sectionFile="ui/MultiplePropertySpecificType.xwt"> + <widget href="ui/MultiplePropertySpecificType.xwt#/"/> + </sections> + <sections xmi:id="_2xwgoM1XEeSGVbFNM4m8gQ" name="Single Block" sectionFile="ui/SingleBlock.xwt"> + <widget href="ui/SingleBlock.xwt#/"/> + </sections> + <sections xmi:id="_2xxHsM1XEeSGVbFNM4m8gQ" name="Multiple Block" sectionFile="ui/MultipleBlock.xwt"> + <widget href="ui/MultipleBlock.xwt#/"/> + </sections> + <sections xmi:id="_2xxHsc1XEeSGVbFNM4m8gQ" name="Single BindingConnector" sectionFile="ui/SingleBindingConnector.xwt"> + <widget href="ui/SingleBindingConnector.xwt#/"/> + </sections> + <sections xmi:id="_2xxHss1XEeSGVbFNM4m8gQ" name="Multiple BindingConnector" sectionFile="ui/MultipleBindingConnector.xwt"> + <widget href="ui/MultipleBindingConnector.xwt#/"/> + </sections> + <sections xmi:id="_2xxHs81XEeSGVbFNM4m8gQ" name="Single DistributedProperty" sectionFile="ui/SingleDistributedProperty.xwt"> + <widget href="ui/SingleDistributedProperty.xwt#/"/> + </sections> + <sections xmi:id="_2xxuwM1XEeSGVbFNM4m8gQ" name="Multiple DistributedProperty" sectionFile="ui/MultipleDistributedProperty.xwt"> + <widget href="ui/MultipleDistributedProperty.xwt#/"/> + </sections> + <sections xmi:id="_2xxuwc1XEeSGVbFNM4m8gQ" name="Single ElementPropertyPath" sectionFile="ui/SingleElementPropertyPath.xwt"> + <widget href="ui/SingleElementPropertyPath.xwt#/"/> + </sections> + <sections xmi:id="_2xxuws1XEeSGVbFNM4m8gQ" name="Multiple ElementPropertyPath" sectionFile="ui/MultipleElementPropertyPath.xwt"> + <widget href="ui/MultipleElementPropertyPath.xwt#/"/> + </sections> + <sections xmi:id="_2xyV0M1XEeSGVbFNM4m8gQ" name="Single EndPathMultiplicity" sectionFile="ui/SingleEndPathMultiplicity.xwt"> + <widget href="ui/SingleEndPathMultiplicity.xwt#/"/> + </sections> + <sections xmi:id="_2xy84M1XEeSGVbFNM4m8gQ" name="Multiple EndPathMultiplicity" sectionFile="ui/MultipleEndPathMultiplicity.xwt"> + <widget href="ui/MultipleEndPathMultiplicity.xwt#/"/> + </sections> + <sections xmi:id="_2xy84c1XEeSGVbFNM4m8gQ" name="Single ConnectorProperty" sectionFile="ui/SingleConnectorProperty.xwt"> + <widget href="ui/SingleConnectorProperty.xwt#/"/> + </sections> + <sections xmi:id="_2xzj8M1XEeSGVbFNM4m8gQ" name="Multiple ConnectorProperty" sectionFile="ui/MultipleConnectorProperty.xwt"> + <widget href="ui/MultipleConnectorProperty.xwt#/"/> + </sections> + <sections xmi:id="_2xzj8c1XEeSGVbFNM4m8gQ" name="Single ClassifierBehaviorProperty" sectionFile="ui/SingleClassifierBehaviorProperty.xwt"> + <widget href="ui/SingleClassifierBehaviorProperty.xwt#/"/> + </sections> + <sections xmi:id="_2xzj8s1XEeSGVbFNM4m8gQ" name="Multiple ClassifierBehaviorProperty" sectionFile="ui/MultipleClassifierBehaviorProperty.xwt"> + <widget href="ui/MultipleClassifierBehaviorProperty.xwt#/"/> + </sections> + <sections xmi:id="_2x0LAM1XEeSGVbFNM4m8gQ" name="Single DirectedRelationshipPropertyPath" sectionFile="ui/SingleDirectedRelationshipPropertyPath.xwt"> + <widget href="ui/SingleDirectedRelationshipPropertyPath.xwt#/"/> + </sections> + <sections xmi:id="_2x0yEM1XEeSGVbFNM4m8gQ" name="Multiple DirectedRelationshipPropertyPath" sectionFile="ui/MultipleDirectedRelationshipPropertyPath.xwt"> + <widget href="ui/MultipleDirectedRelationshipPropertyPath.xwt#/"/> + </sections> + <sections xmi:id="_2x0yEc1XEeSGVbFNM4m8gQ" name="Single AdjunctProperty" sectionFile="ui/SingleAdjunctProperty.xwt"> + <widget href="ui/SingleAdjunctProperty.xwt#/"/> + </sections> + <sections xmi:id="_2x1ZIM1XEeSGVbFNM4m8gQ" name="Multiple AdjunctProperty" sectionFile="ui/MultipleAdjunctProperty.xwt"> + <widget href="ui/MultipleAdjunctProperty.xwt#/"/> + </sections> + <sections xmi:id="_2x1ZIc1XEeSGVbFNM4m8gQ" name="Single ParticipantProperty" sectionFile="ui/SingleParticipantProperty.xwt"> + <widget href="ui/SingleParticipantProperty.xwt#/"/> + </sections> + <sections xmi:id="_2x1ZIs1XEeSGVbFNM4m8gQ" name="Multiple ParticipantProperty" sectionFile="ui/MultipleParticipantProperty.xwt"> + <widget href="ui/MultipleParticipantProperty.xwt#/"/> + </sections> + <sections xmi:id="_2x2nQM1XEeSGVbFNM4m8gQ" name="Single Requirement" sectionFile="ui/SingleRequirement.xwt"> + <widget href="ui/SingleRequirement.xwt#/"/> + </sections> + <sections xmi:id="_2x3OUM1XEeSGVbFNM4m8gQ" name="Multiple Requirement" sectionFile="ui/MultipleRequirement.xwt"> + <widget href="ui/MultipleRequirement.xwt#/"/> + </sections> + <sections xmi:id="_2x3OUc1XEeSGVbFNM4m8gQ" name="Single Trace" sectionFile="ui/SingleTrace.xwt"> + <widget href="ui/SingleTrace.xwt#/"/> + </sections> + <sections xmi:id="_2x3OUs1XEeSGVbFNM4m8gQ" name="Multiple Trace" sectionFile="ui/MultipleTrace.xwt"> + <widget href="ui/MultipleTrace.xwt#/"/> + </sections> + <sections xmi:id="_2x3OU81XEeSGVbFNM4m8gQ" name="Single Copy" sectionFile="ui/SingleCopy.xwt"> + <widget href="ui/SingleCopy.xwt#/"/> + </sections> + <sections xmi:id="_2x31YM1XEeSGVbFNM4m8gQ" name="Multiple Copy" sectionFile="ui/MultipleCopy.xwt"> + <widget href="ui/MultipleCopy.xwt#/"/> + </sections> + <sections xmi:id="_2x31Yc1XEeSGVbFNM4m8gQ" name="Single Verify" sectionFile="ui/SingleVerify.xwt"> + <widget href="ui/SingleVerify.xwt#/"/> + </sections> + <sections xmi:id="_2x31Ys1XEeSGVbFNM4m8gQ" name="Multiple Verify" sectionFile="ui/MultipleVerify.xwt"> + <widget href="ui/MultipleVerify.xwt#/"/> + </sections> + <sections xmi:id="_2x4ccM1XEeSGVbFNM4m8gQ" name="Single TestCase" sectionFile="ui/SingleTestCase.xwt"> + <widget href="ui/SingleTestCase.xwt#/"/> + </sections> + <sections xmi:id="_2x4ccc1XEeSGVbFNM4m8gQ" name="Multiple TestCase" sectionFile="ui/MultipleTestCase.xwt"> + <widget href="ui/MultipleTestCase.xwt#/"/> + </sections> + <sections xmi:id="_2x4ccs1XEeSGVbFNM4m8gQ" name="Single Refine" sectionFile="ui/SingleRefine.xwt"> + <widget href="ui/SingleRefine.xwt#/"/> + </sections> + <sections xmi:id="_2x4cc81XEeSGVbFNM4m8gQ" name="Multiple Refine" sectionFile="ui/MultipleRefine.xwt"> + <widget href="ui/MultipleRefine.xwt#/"/> + </sections> + <sections xmi:id="_2x5DgM1XEeSGVbFNM4m8gQ" name="Single Satisfy" sectionFile="ui/SingleSatisfy.xwt"> + <widget href="ui/SingleSatisfy.xwt#/"/> + </sections> + <sections xmi:id="_2x5Dgc1XEeSGVbFNM4m8gQ" name="Multiple Satisfy" sectionFile="ui/MultipleSatisfy.xwt"> + <widget href="ui/MultipleSatisfy.xwt#/"/> + </sections> + <sections xmi:id="_2x5Dgs1XEeSGVbFNM4m8gQ" name="Single DeriveReqt" sectionFile="ui/SingleDeriveReqt.xwt"> + <widget href="ui/SingleDeriveReqt.xwt#/"/> + </sections> + <sections xmi:id="_2x5Dg81XEeSGVbFNM4m8gQ" name="Multiple DeriveReqt" sectionFile="ui/MultipleDeriveReqt.xwt"> + <widget href="ui/MultipleDeriveReqt.xwt#/"/> + </sections> + <sections xmi:id="_2x5DhM1XEeSGVbFNM4m8gQ" name="Single ConstraintBlock" sectionFile="ui/SingleConstraintBlock.xwt"> + <widget href="ui/SingleConstraintBlock.xwt#/"/> + </sections> + <sections xmi:id="_2x5qkM1XEeSGVbFNM4m8gQ" name="Multiple ConstraintBlock" sectionFile="ui/MultipleConstraintBlock.xwt"> + <widget href="ui/MultipleConstraintBlock.xwt#/"/> + </sections> + <sections xmi:id="_2x5qkc1XEeSGVbFNM4m8gQ" name="Single DirectedFeature" sectionFile="ui/SingleDirectedFeature.xwt"> + <widget href="ui/SingleDirectedFeature.xwt#/"/> + </sections> + <sections xmi:id="_2x6RoM1XEeSGVbFNM4m8gQ" name="Multiple DirectedFeature" sectionFile="ui/MultipleDirectedFeature.xwt"> + <widget href="ui/MultipleDirectedFeature.xwt#/"/> + </sections> + <sections xmi:id="_2x6Roc1XEeSGVbFNM4m8gQ" name="Single FlowProperty" sectionFile="ui/SingleFlowProperty.xwt"> + <widget href="ui/SingleFlowProperty.xwt#/"/> + </sections> + <sections xmi:id="_2x64sM1XEeSGVbFNM4m8gQ" name="Multiple FlowProperty" sectionFile="ui/MultipleFlowProperty.xwt"> + <widget href="ui/MultipleFlowProperty.xwt#/"/> + </sections> + <sections xmi:id="_2x64sc1XEeSGVbFNM4m8gQ" name="Single AcceptChangeStructuralFeatureEventAction" sectionFile="ui/SingleAcceptChangeStructuralFeatureEventAction.xwt"> + <widget href="ui/SingleAcceptChangeStructuralFeatureEventAction.xwt#/"/> + </sections> + <sections xmi:id="_2x64ss1XEeSGVbFNM4m8gQ" name="Multiple AcceptChangeStructuralFeatureEventAction" sectionFile="ui/MultipleAcceptChangeStructuralFeatureEventAction.xwt"> + <widget href="ui/MultipleAcceptChangeStructuralFeatureEventAction.xwt#/"/> + </sections> + <sections xmi:id="_2x7fwM1XEeSGVbFNM4m8gQ" name="Single TriggerOnNestedPort" sectionFile="ui/SingleTriggerOnNestedPort.xwt"> + <widget href="ui/SingleTriggerOnNestedPort.xwt#/"/> + </sections> + <sections xmi:id="_2x7fwc1XEeSGVbFNM4m8gQ" name="Multiple TriggerOnNestedPort" sectionFile="ui/MultipleTriggerOnNestedPort.xwt"> + <widget href="ui/MultipleTriggerOnNestedPort.xwt#/"/> + </sections> + <sections xmi:id="_2x7fws1XEeSGVbFNM4m8gQ" name="Single FullPort" sectionFile="ui/SingleFullPort.xwt"> + <widget href="ui/SingleFullPort.xwt#/"/> + </sections> + <sections xmi:id="_2x8G0M1XEeSGVbFNM4m8gQ" name="Multiple FullPort" sectionFile="ui/MultipleFullPort.xwt"> + <widget href="ui/MultipleFullPort.xwt#/"/> + </sections> + <sections xmi:id="_2x8t4M1XEeSGVbFNM4m8gQ" name="Single InterfaceBlock" sectionFile="ui/SingleInterfaceBlock.xwt"> + <widget href="ui/SingleInterfaceBlock.xwt#/"/> + </sections> + <sections xmi:id="_2x8t4c1XEeSGVbFNM4m8gQ" name="Multiple InterfaceBlock" sectionFile="ui/MultipleInterfaceBlock.xwt"> + <widget href="ui/MultipleInterfaceBlock.xwt#/"/> + </sections> + <sections xmi:id="_2x8t4s1XEeSGVbFNM4m8gQ" name="Single InvocationOnNestedPortAction" sectionFile="ui/SingleInvocationOnNestedPortAction.xwt"> + <widget href="ui/SingleInvocationOnNestedPortAction.xwt#/"/> + </sections> + <sections xmi:id="_2x8t481XEeSGVbFNM4m8gQ" name="Multiple InvocationOnNestedPortAction" sectionFile="ui/MultipleInvocationOnNestedPortAction.xwt"> + <widget href="ui/MultipleInvocationOnNestedPortAction.xwt#/"/> + </sections> + <sections xmi:id="_2x9U8M1XEeSGVbFNM4m8gQ" name="Single ProxyPort" sectionFile="ui/SingleProxyPort.xwt"> + <widget href="ui/SingleProxyPort.xwt#/"/> + </sections> + <sections xmi:id="_2x9U8c1XEeSGVbFNM4m8gQ" name="Multiple ProxyPort" sectionFile="ui/MultipleProxyPort.xwt"> + <widget href="ui/MultipleProxyPort.xwt#/"/> + </sections> + <sections xmi:id="_2x9U8s1XEeSGVbFNM4m8gQ" name="Single ChangeStructuralFeatureEvent" sectionFile="ui/SingleChangeStructuralFeatureEvent.xwt"> + <widget href="ui/SingleChangeStructuralFeatureEvent.xwt#/"/> + </sections> + <sections xmi:id="_2x9U881XEeSGVbFNM4m8gQ" name="Multiple ChangeStructuralFeatureEvent" sectionFile="ui/MultipleChangeStructuralFeatureEvent.xwt"> + <widget href="ui/MultipleChangeStructuralFeatureEvent.xwt#/"/> + </sections> + <sections xmi:id="_2x98AM1XEeSGVbFNM4m8gQ" name="Single ItemFlow" sectionFile="ui/SingleItemFlow.xwt"> + <widget href="ui/SingleItemFlow.xwt#/"/> + </sections> + <sections xmi:id="_2x98Ac1XEeSGVbFNM4m8gQ" name="Multiple ItemFlow" sectionFile="ui/MultipleItemFlow.xwt"> + <widget href="ui/MultipleItemFlow.xwt#/"/> + </sections> + <sections xmi:id="_2x98As1XEeSGVbFNM4m8gQ" name="Single NoBuffer" sectionFile="ui/SingleNoBuffer.xwt"> + <widget href="ui/SingleNoBuffer.xwt#/"/> + </sections> + <sections xmi:id="_2x98A81XEeSGVbFNM4m8gQ" name="Multiple NoBuffer" sectionFile="ui/MultipleNoBuffer.xwt"> + <widget href="ui/MultipleNoBuffer.xwt#/"/> + </sections> + <sections xmi:id="_2x98BM1XEeSGVbFNM4m8gQ" name="Single ControlOperator" sectionFile="ui/SingleControlOperator.xwt"> + <widget href="ui/SingleControlOperator.xwt#/"/> + </sections> + <sections xmi:id="_2x-jEM1XEeSGVbFNM4m8gQ" name="Multiple ControlOperator" sectionFile="ui/MultipleControlOperator.xwt"> + <widget href="ui/MultipleControlOperator.xwt#/"/> + </sections> + <sections xmi:id="_2x-jE81XEeSGVbFNM4m8gQ" name="Single Overwrite" sectionFile="ui/SingleOverwrite.xwt"> + <widget href="ui/SingleOverwrite.xwt#/"/> + </sections> + <sections xmi:id="_2x-jFM1XEeSGVbFNM4m8gQ" name="Multiple Overwrite" sectionFile="ui/MultipleOverwrite.xwt"> + <widget href="ui/MultipleOverwrite.xwt#/"/> + </sections> + <sections xmi:id="_2x_xMM1XEeSGVbFNM4m8gQ" name="Single Optional" sectionFile="ui/SingleOptional.xwt"> + <widget href="ui/SingleOptional.xwt#/"/> + </sections> + <sections xmi:id="_2x_xMc1XEeSGVbFNM4m8gQ" name="Multiple Optional" sectionFile="ui/MultipleOptional.xwt"> + <widget href="ui/MultipleOptional.xwt#/"/> + </sections> + <sections xmi:id="_2yAYQM1XEeSGVbFNM4m8gQ" name="Single Rate" sectionFile="ui/SingleRate.xwt"> + <widget href="ui/SingleRate.xwt#/"/> + </sections> + <sections xmi:id="_2yAYQc1XEeSGVbFNM4m8gQ" name="Multiple Rate" sectionFile="ui/MultipleRate.xwt"> + <widget href="ui/MultipleRate.xwt#/"/> + </sections> + <sections xmi:id="_2yAYQs1XEeSGVbFNM4m8gQ" name="Single Probability" sectionFile="ui/SingleProbability.xwt"> + <widget href="ui/SingleProbability.xwt#/"/> + </sections> + <sections xmi:id="_2yAYQ81XEeSGVbFNM4m8gQ" name="Multiple Probability" sectionFile="ui/MultipleProbability.xwt"> + <widget href="ui/MultipleProbability.xwt#/"/> + </sections> + <sections xmi:id="_2yAYRM1XEeSGVbFNM4m8gQ" name="Single AllocateActivityPartition" sectionFile="ui/SingleAllocateActivityPartition.xwt"> + <widget href="ui/SingleAllocateActivityPartition.xwt#/"/> + </sections> + <sections xmi:id="_2yA_UM1XEeSGVbFNM4m8gQ" name="Multiple AllocateActivityPartition" sectionFile="ui/MultipleAllocateActivityPartition.xwt"> + <widget href="ui/MultipleAllocateActivityPartition.xwt#/"/> + </sections> + <sections xmi:id="_2yA_Uc1XEeSGVbFNM4m8gQ" name="Single Allocate" sectionFile="ui/SingleAllocate.xwt"> + <widget href="ui/SingleAllocate.xwt#/"/> + </sections> + <sections xmi:id="_2yA_Us1XEeSGVbFNM4m8gQ" name="Multiple Allocate" sectionFile="ui/MultipleAllocate.xwt"> + <widget href="ui/MultipleAllocate.xwt#/"/> + </sections> + <sections xmi:id="_2yA_U81XEeSGVbFNM4m8gQ" name="Single Problem" sectionFile="ui/SingleProblem.xwt"> + <widget href="ui/SingleProblem.xwt#/"/> + </sections> + <sections xmi:id="_2yA_VM1XEeSGVbFNM4m8gQ" name="Multiple Problem" sectionFile="ui/MultipleProblem.xwt"> + <widget href="ui/MultipleProblem.xwt#/"/> + </sections> + <sections xmi:id="_2yA_Vc1XEeSGVbFNM4m8gQ" name="Single Conform" sectionFile="ui/SingleConform.xwt"> + <widget href="ui/SingleConform.xwt#/"/> + </sections> + <sections xmi:id="_2yA_Vs1XEeSGVbFNM4m8gQ" name="Multiple Conform" sectionFile="ui/MultipleConform.xwt"> + <widget href="ui/MultipleConform.xwt#/"/> + </sections> + <sections xmi:id="_2yBmYM1XEeSGVbFNM4m8gQ" name="Single ViewPoint" sectionFile="ui/SingleViewPoint.xwt"> + <widget href="ui/SingleViewPoint.xwt#/"/> + </sections> + <sections xmi:id="_2yBmYc1XEeSGVbFNM4m8gQ" name="Multiple ViewPoint" sectionFile="ui/MultipleViewPoint.xwt"> + <widget href="ui/MultipleViewPoint.xwt#/"/> + </sections> + <sections xmi:id="_2yCNcM1XEeSGVbFNM4m8gQ" name="Single View" sectionFile="ui/SingleView.xwt"> + <widget href="ui/SingleView.xwt#/"/> + </sections> + <sections xmi:id="_2yCNcc1XEeSGVbFNM4m8gQ" name="Multiple View" sectionFile="ui/MultipleView.xwt"> + <widget href="ui/MultipleView.xwt#/"/> + </sections> + <sections xmi:id="_2yCNcs1XEeSGVbFNM4m8gQ" name="Single ElementGroup" sectionFile="ui/SingleElementGroup.xwt"> + <widget href="ui/SingleElementGroup.xwt#/"/> + </sections> + <sections xmi:id="_2yC0gM1XEeSGVbFNM4m8gQ" name="Multiple ElementGroup" sectionFile="ui/MultipleElementGroup.xwt"> + <widget href="ui/MultipleElementGroup.xwt#/"/> + </sections> + <sections xmi:id="_2yC0gc1XEeSGVbFNM4m8gQ" name="Single Expose" sectionFile="ui/SingleExpose.xwt"> + <widget href="ui/SingleExpose.xwt#/"/> + </sections> + <sections xmi:id="_2yC0gs1XEeSGVbFNM4m8gQ" name="Multiple Expose" sectionFile="ui/MultipleExpose.xwt"> + <widget href="ui/MultipleExpose.xwt#/"/> + </sections> + <sections xmi:id="_2yC0g81XEeSGVbFNM4m8gQ" name="Single Stakeholder" sectionFile="ui/SingleStakeholder.xwt"> + <widget href="ui/SingleStakeholder.xwt#/"/> + </sections> + <sections xmi:id="_2yC0hM1XEeSGVbFNM4m8gQ" name="Multiple Stakeholder" sectionFile="ui/MultipleStakeholder.xwt"> + <widget href="ui/MultipleStakeholder.xwt#/"/> + </sections> + <sections xmi:id="_2yDbkM1XEeSGVbFNM4m8gQ" name="Single Rationale" sectionFile="ui/SingleRationale.xwt"> + <widget href="ui/SingleRationale.xwt#/"/> + </sections> + <sections xmi:id="_2yDbkc1XEeSGVbFNM4m8gQ" name="Multiple Rationale" sectionFile="ui/MultipleRationale.xwt"> + <widget href="ui/MultipleRationale.xwt#/"/> + </sections> + </tabs> + <views xmi:id="_z-OCEs1XEeSGVbFNM4m8gQ" name="Single FlowSpecification" sections="_2xtdUM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODaM1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCE81XEeSGVbFNM4m8gQ" name="isSingleFlowSpecification"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCFM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::DeprecatedElements::FlowSpecification"/> + </constraints> + </views> + <views xmi:id="_z-OCFc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple FlowSpecification" sections="_2xtdUc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODaM1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCFs1XEeSGVbFNM4m8gQ" name="isMultipleFlowSpecification"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCF81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::DeprecatedElements::FlowSpecification"/> + </constraints> + </views> + <views xmi:id="_z-OCGM1XEeSGVbFNM4m8gQ" name="Single FlowPort" sections="_2xuEYM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODa81XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCGc1XEeSGVbFNM4m8gQ" name="isSingleFlowPort"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCGs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::DeprecatedElements::FlowPort"/> + </constraints> + </views> + <views xmi:id="_z-OCG81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple FlowPort" sections="_2xuEYc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODa81XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCHM1XEeSGVbFNM4m8gQ" name="isMultipleFlowPort"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCHc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::DeprecatedElements::FlowPort"/> + </constraints> + </views> + <views xmi:id="_z-OCHs1XEeSGVbFNM4m8gQ" name="Single NestedConnectorEnd" sections="_2xurcM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODpc1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCH81XEeSGVbFNM4m8gQ" name="isSingleNestedConnectorEnd"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCIM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::NestedConnectorEnd"/> + </constraints> + </views> + <views xmi:id="_z-OCIc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple NestedConnectorEnd" sections="_2xurcc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODpc1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCIs1XEeSGVbFNM4m8gQ" name="isMultipleNestedConnectorEnd"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCI81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::NestedConnectorEnd"/> + </constraints> + </views> + <views xmi:id="_z-OCJM1XEeSGVbFNM4m8gQ" name="Single BoundReference" sections="_2xurcs1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODsM1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCJc1XEeSGVbFNM4m8gQ" name="isSingleBoundReference"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCJs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::BoundReference"/> + </constraints> + </views> + <views xmi:id="_z-OCJ81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple BoundReference" sections="_2xvSgM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODsM1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCKM1XEeSGVbFNM4m8gQ" name="isMultipleBoundReference"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCKc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::BoundReference"/> + </constraints> + </views> + <views xmi:id="_z-OCKs1XEeSGVbFNM4m8gQ" name="Single ValueType" sections="_2xvSgc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODts1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCK81XEeSGVbFNM4m8gQ" name="isSingleValueType"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCLM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::ValueType"/> + </constraints> + </views> + <views xmi:id="_z-OCLc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple ValueType" sections="_2xv5kM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODts1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCLs1XEeSGVbFNM4m8gQ" name="isMultipleValueType"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCL81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::ValueType"/> + </constraints> + </views> + <views xmi:id="_z-OCMM1XEeSGVbFNM4m8gQ" name="Single PropertySpecificType" sections="_2xv5kc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODoM1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCMc1XEeSGVbFNM4m8gQ" name="isSinglePropertySpecificType"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCMs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::PropertySpecificType"/> + </constraints> + </views> + <views xmi:id="_z-OCM81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple PropertySpecificType" sections="_2xv5ks1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODoM1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCNM1XEeSGVbFNM4m8gQ" name="isMultiplePropertySpecificType"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCNc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::PropertySpecificType"/> + </constraints> + </views> + <views xmi:id="_z-OCNs1XEeSGVbFNM4m8gQ" name="Single Block" sections="_2xwgoM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODrs1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_9QI7YM7uEeSvDdRKNsUTWQ" name="isBlock"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCOM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::Block"/> + </constraints> + </views> + <views xmi:id="_z-OCOc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Block" sections="_2xxHsM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODrs1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCOs1XEeSGVbFNM4m8gQ" name="isMultipleBlock"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCO81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::Block"/> + </constraints> + </views> + <views xmi:id="_z-OCPM1XEeSGVbFNM4m8gQ" name="Single BindingConnector" sections="_2xxHsc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODtc1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCPc1XEeSGVbFNM4m8gQ" name="isSingleBindingConnector"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCPs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::BindingConnector"/> + </constraints> + </views> + <views xmi:id="_z-OCP81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple BindingConnector" sections="_2xxHss1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODtc1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCQM1XEeSGVbFNM4m8gQ" name="isMultipleBindingConnector"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCQc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::BindingConnector"/> + </constraints> + </views> + <views xmi:id="_z-OCQs1XEeSGVbFNM4m8gQ" name="Single DistributedProperty" sections="_2xxHs81XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODnM1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCQ81XEeSGVbFNM4m8gQ" name="isSingleDistributedProperty"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCRM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::DistributedProperty"/> + </constraints> + </views> + <views xmi:id="_z-OCRc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple DistributedProperty" sections="_2xxuwM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODnM1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCRs1XEeSGVbFNM4m8gQ" name="isMultipleDistributedProperty"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCR81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::DistributedProperty"/> + </constraints> + </views> + <views xmi:id="_z-OCSM1XEeSGVbFNM4m8gQ" name="Single ElementPropertyPath" sections="_2xxuwc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODs81XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCSc1XEeSGVbFNM4m8gQ" name="isSingleElementPropertyPath"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCSs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::ElementPropertyPath"/> + </constraints> + </views> + <views xmi:id="_z-OCS81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple ElementPropertyPath" sections="_2xxuws1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODs81XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCTM1XEeSGVbFNM4m8gQ" name="isMultipleElementPropertyPath"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCTc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::ElementPropertyPath"/> + </constraints> + </views> + <views xmi:id="_z-OCTs1XEeSGVbFNM4m8gQ" name="Single EndPathMultiplicity" sections="_2xyV0M1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODnc1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCT81XEeSGVbFNM4m8gQ" name="isSingleEndPathMultiplicity"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCUM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::EndPathMultiplicity"/> + </constraints> + </views> + <views xmi:id="_z-OCUc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple EndPathMultiplicity" sections="_2xy84M1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODnc1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCUs1XEeSGVbFNM4m8gQ" name="isMultipleEndPathMultiplicity"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCU81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::EndPathMultiplicity"/> + </constraints> + </views> + <views xmi:id="_z-OCVM1XEeSGVbFNM4m8gQ" name="Single ConnectorProperty" sections="_2xy84c1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODoc1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCVc1XEeSGVbFNM4m8gQ" name="isSingleConnectorProperty"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCVs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::ConnectorProperty"/> + </constraints> + </views> + <views xmi:id="_z-OCV81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple ConnectorProperty" sections="_2xzj8M1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODoc1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCWM1XEeSGVbFNM4m8gQ" name="isMultipleConnectorProperty"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCWc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::ConnectorProperty"/> + </constraints> + </views> + <views xmi:id="_z-OCWs1XEeSGVbFNM4m8gQ" name="Single ClassifierBehaviorProperty" sections="_2xzj8c1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODrc1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCW81XEeSGVbFNM4m8gQ" name="isSingleClassifierBehaviorProperty"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCXM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::ClassifierBehaviorProperty"/> + </constraints> + </views> + <views xmi:id="_z-OCXc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple ClassifierBehaviorProperty" sections="_2xzj8s1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODrc1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCXs1XEeSGVbFNM4m8gQ" name="isMultipleClassifierBehaviorProperty"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCX81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::ClassifierBehaviorProperty"/> + </constraints> + </views> + <views xmi:id="_z-OCYM1XEeSGVbFNM4m8gQ" name="Single DirectedRelationshipPropertyPath" sections="_2x0LAM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODps1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCYc1XEeSGVbFNM4m8gQ" name="isSingleDirectedRelationshipPropertyPath"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCYs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::DirectedRelationshipPropertyPath"/> + </constraints> + </views> + <views xmi:id="_z-OCY81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple DirectedRelationshipPropertyPath" sections="_2x0yEM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODps1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCZM1XEeSGVbFNM4m8gQ" name="isMultipleDirectedRelationshipPropertyPath"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCZc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::DirectedRelationshipPropertyPath"/> + </constraints> + </views> + <views xmi:id="_z-OCZs1XEeSGVbFNM4m8gQ" name="Single AdjunctProperty" sections="_2x0yEc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODq81XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCZ81XEeSGVbFNM4m8gQ" name="isSingleAdjunctProperty"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCaM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::AdjunctProperty"/> + </constraints> + </views> + <views xmi:id="_z-OCac1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple AdjunctProperty" sections="_2x1ZIM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODq81XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCas1XEeSGVbFNM4m8gQ" name="isMultipleAdjunctProperty"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCa81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::AdjunctProperty"/> + </constraints> + </views> + <views xmi:id="_z-OCbM1XEeSGVbFNM4m8gQ" name="Single ParticipantProperty" sections="_2x1ZIc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODo81XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCbc1XEeSGVbFNM4m8gQ" name="isSingleParticipantProperty"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCbs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::ParticipantProperty"/> + </constraints> + </views> + <views xmi:id="_z-OCb81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple ParticipantProperty" sections="_2x1ZIs1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODo81XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCcM1XEeSGVbFNM4m8gQ" name="isMultipleParticipantProperty"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCcc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::ParticipantProperty"/> + </constraints> + </views> + <views xmi:id="_z-OCcs1XEeSGVbFNM4m8gQ" name="Single Requirement" sections="_2x2nQM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODvs1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCc81XEeSGVbFNM4m8gQ" name="isSingleRequirement"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCdM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::Requirement"/> + </constraints> + </views> + <views xmi:id="_z-OCdc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Requirement" sections="_2x3OUM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODvs1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCds1XEeSGVbFNM4m8gQ" name="isMultipleRequirement"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCd81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::AbstractRequirement"/> + </constraints> + </views> + <views xmi:id="_z-OCeM1XEeSGVbFNM4m8gQ" name="Single Trace" sections="_2x3OUc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODyM1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCec1XEeSGVbFNM4m8gQ" name="isSingleTrace"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCes1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::Trace"/> + </constraints> + </views> + <views xmi:id="_z-OCe81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Trace" sections="_2x3OUs1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODyM1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCfM1XEeSGVbFNM4m8gQ" name="isMultipleTrace"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCfc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::Trace"/> + </constraints> + </views> + <views xmi:id="_z-OCfs1XEeSGVbFNM4m8gQ" name="Single Copy" sections="_2x3OU81XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODyc1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCf81XEeSGVbFNM4m8gQ" name="isSingleCopy"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCgM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::Copy"/> + </constraints> + </views> + <views xmi:id="_z-OCgc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Copy" sections="_2x31YM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODyc1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCgs1XEeSGVbFNM4m8gQ" name="isMultipleCopy"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCg81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::Copy"/> + </constraints> + </views> + <views xmi:id="_z-OChM1XEeSGVbFNM4m8gQ" name="Single Verify" sections="_2x31Yc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODys1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OChc1XEeSGVbFNM4m8gQ" name="isSingleVerify"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OChs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::Verify"/> + </constraints> + </views> + <views xmi:id="_z-OCh81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Verify" sections="_2x31Ys1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODys1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCiM1XEeSGVbFNM4m8gQ" name="isMultipleVerify"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCic1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::Verify"/> + </constraints> + </views> + <views xmi:id="_z-OCis1XEeSGVbFNM4m8gQ" name="Single TestCase" sections="_2x4ccM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODvM1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCi81XEeSGVbFNM4m8gQ" name="isSingleTestCase"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCjM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::TestCase"/> + </constraints> + </views> + <views xmi:id="_z-OCjc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple TestCase" sections="_2x4ccc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODvM1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCjs1XEeSGVbFNM4m8gQ" name="isMultipleTestCase"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCj81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::TestCase"/> + </constraints> + </views> + <views xmi:id="_z-OCkM1XEeSGVbFNM4m8gQ" name="Single Refine" sections="_2x4ccs1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODvc1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCkc1XEeSGVbFNM4m8gQ" name="isSingleRefine"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCks1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::Refine"/> + </constraints> + </views> + <views xmi:id="_z-OCk81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Refine" sections="_2x4cc81XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODvc1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OClM1XEeSGVbFNM4m8gQ" name="isMultipleRefine"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OClc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::Refine"/> + </constraints> + </views> + <views xmi:id="_z-OCls1XEeSGVbFNM4m8gQ" name="Single Satisfy" sections="_2x5DgM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODu81XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCl81XEeSGVbFNM4m8gQ" name="isSingleSatisfy"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCmM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::Satisfy"/> + </constraints> + </views> + <views xmi:id="_z-OCmc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Satisfy" sections="_2x5Dgc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODu81XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCms1XEeSGVbFNM4m8gQ" name="isMultipleSatisfy"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCm81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::Satisfy"/> + </constraints> + </views> + <views xmi:id="_z-OCnM1XEeSGVbFNM4m8gQ" name="Single DeriveReqt" sections="_2x5Dgs1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODus1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCnc1XEeSGVbFNM4m8gQ" name="isSingleDeriveReqt"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCns1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::DeriveReqt"/> + </constraints> + </views> + <views xmi:id="_z-OCn81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple DeriveReqt" sections="_2x5Dg81XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODus1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCoM1XEeSGVbFNM4m8gQ" name="isMultipleDeriveReqt"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCoc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::DeriveReqt"/> + </constraints> + </views> + <views xmi:id="_z-OCos1XEeSGVbFNM4m8gQ" name="Single ConstraintBlock" sections="_2x5DhM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODb81XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCo81XEeSGVbFNM4m8gQ" name="isSingleConstraintBlock"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCpM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ConstraintBlocks::ConstraintBlock"/> + </constraints> + </views> + <views xmi:id="_z-OCpc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple ConstraintBlock" sections="_2x5qkM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODb81XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCps1XEeSGVbFNM4m8gQ" name="isMultipleConstraintBlock"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCp81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ConstraintBlocks::ConstraintBlock"/> + </constraints> + </views> + <views xmi:id="_z-OCqM1XEeSGVbFNM4m8gQ" name="Single DirectedFeature" sections="_2x5qkc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODc81XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCqc1XEeSGVbFNM4m8gQ" name="isSingleDirectedFeature"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCqs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::DirectedFeature"/> + </constraints> + </views> + <views xmi:id="_z-OCq81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple DirectedFeature" sections="_2x6RoM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODc81XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCrM1XEeSGVbFNM4m8gQ" name="isMultipleDirectedFeature"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCrc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::DirectedFeature"/> + </constraints> + </views> + <views xmi:id="_z-OCrs1XEeSGVbFNM4m8gQ" name="Single FlowProperty" sections="_2x6Roc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODcc1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCr81XEeSGVbFNM4m8gQ" name="isSingleFlowProperty"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCsM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::FlowProperty"/> + </constraints> + </views> + <views xmi:id="_z-OCsc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple FlowProperty" sections="_2x64sM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODcc1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCss1XEeSGVbFNM4m8gQ" name="isMultipleFlowProperty"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCs81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::FlowProperty"/> + </constraints> + </views> + <views xmi:id="_z-OCtM1XEeSGVbFNM4m8gQ" name="Single AcceptChangeStructuralFeatureEventAction" sections="_2x64sc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODfM1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCtc1XEeSGVbFNM4m8gQ" name="isSingleAcceptChangeStructuralFeatureEventAction"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCts1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::AcceptChangeStructuralFeatureEventAction"/> + </constraints> + </views> + <views xmi:id="_z-OCt81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple AcceptChangeStructuralFeatureEventAction" sections="_2x64ss1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODfM1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCuM1XEeSGVbFNM4m8gQ" name="isMultipleAcceptChangeStructuralFeatureEventAction"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCuc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::AcceptChangeStructuralFeatureEventAction"/> + </constraints> + </views> + <views xmi:id="_z-OCus1XEeSGVbFNM4m8gQ" name="Single TriggerOnNestedPort" sections="_2x7fwM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODfs1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCu81XEeSGVbFNM4m8gQ" name="isSingleTriggerOnNestedPort"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCvM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::TriggerOnNestedPort"/> + </constraints> + </views> + <views xmi:id="_z-OCvc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple TriggerOnNestedPort" sections="_2x7fwc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODfs1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCvs1XEeSGVbFNM4m8gQ" name="isMultipleTriggerOnNestedPort"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCv81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::TriggerOnNestedPort"/> + </constraints> + </views> + <views xmi:id="_z-OCwM1XEeSGVbFNM4m8gQ" name="Single FullPort" sections="_2x7fws1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODfc1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCwc1XEeSGVbFNM4m8gQ" name="isSingleFullPort"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCws1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::FullPort"/> + </constraints> + </views> + <views xmi:id="_z-OCw81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple FullPort" sections="_2x8G0M1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODfc1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCxM1XEeSGVbFNM4m8gQ" name="isMultipleFullPort"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCxc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::FullPort"/> + </constraints> + </views> + <views xmi:id="_z-OCxs1XEeSGVbFNM4m8gQ" name="Single InterfaceBlock" sections="_2x8t4M1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODgM1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCx81XEeSGVbFNM4m8gQ" name="isSingleInterfaceBlock"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCyM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::InterfaceBlock"/> + </constraints> + </views> + <views xmi:id="_z-OCyc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple InterfaceBlock" sections="_2x8t4c1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODgM1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCys1XEeSGVbFNM4m8gQ" name="isMultipleInterfaceBlock"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCy81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::InterfaceBlock"/> + </constraints> + </views> + <views xmi:id="_z-OCzM1XEeSGVbFNM4m8gQ" name="Single InvocationOnNestedPortAction" sections="_2x8t4s1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODd81XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCzc1XEeSGVbFNM4m8gQ" name="isSingleInvocationOnNestedPortAction"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCzs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::InvocationOnNestedPortAction"/> + </constraints> + </views> + <views xmi:id="_z-OCz81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple InvocationOnNestedPortAction" sections="_2x8t481XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODd81XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OC0M1XEeSGVbFNM4m8gQ" name="isMultipleInvocationOnNestedPortAction"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OC0c1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::InvocationOnNestedPortAction"/> + </constraints> + </views> + <views xmi:id="_z-OC0s1XEeSGVbFNM4m8gQ" name="Single ProxyPort" sections="_2x9U8M1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODe81XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OC081XEeSGVbFNM4m8gQ" name="isSingleProxyPort"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OC1M1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::ProxyPort"/> + </constraints> + </views> + <views xmi:id="_z-OC1c1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple ProxyPort" sections="_2x9U8c1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODe81XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OC1s1XEeSGVbFNM4m8gQ" name="isMultipleProxyPort"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OC181XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::ProxyPort"/> + </constraints> + </views> + <views xmi:id="_z-OC2M1XEeSGVbFNM4m8gQ" name="Single ChangeStructuralFeatureEvent" sections="_2x9U8s1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODdc1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OC2c1XEeSGVbFNM4m8gQ" name="isSingleChangeStructuralFeatureEvent"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OC2s1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::ChangeStructuralFeatureEvent"/> + </constraints> + </views> + <views xmi:id="_z-OC281XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple ChangeStructuralFeatureEvent" sections="_2x9U881XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODdc1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OC3M1XEeSGVbFNM4m8gQ" name="isMultipleChangeStructuralFeatureEvent"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OC3c1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::ChangeStructuralFeatureEvent"/> + </constraints> + </views> + <views xmi:id="_z-OC3s1XEeSGVbFNM4m8gQ" name="Single ItemFlow" sections="_2x98AM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODec1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OC381XEeSGVbFNM4m8gQ" name="isSingleItemFlow"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OC4M1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::ItemFlow"/> + </constraints> + </views> + <views xmi:id="_z-OC4c1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple ItemFlow" sections="_2x98Ac1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODec1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OC4s1XEeSGVbFNM4m8gQ" name="isMultipleItemFlow"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OC481XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::ItemFlow"/> + </constraints> + </views> + <views xmi:id="_z-OC5M1XEeSGVbFNM4m8gQ" name="Single NoBuffer" sections="_2x98As1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODW81XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OC5c1XEeSGVbFNM4m8gQ" name="isSingleNoBuffer"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OC5s1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Activities::NoBuffer"/> + </constraints> + </views> + <views xmi:id="_z-OC581XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple NoBuffer" sections="_2x98A81XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODW81XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OC6M1XEeSGVbFNM4m8gQ" name="isMultipleNoBuffer"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OC6c1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Activities::NoBuffer"/> + </constraints> + </views> + <views xmi:id="_z-OC6s1XEeSGVbFNM4m8gQ" name="Single ControlOperator" sections="_2x98BM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODVM1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OC681XEeSGVbFNM4m8gQ" name="isSingleControlOperator"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OC7M1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Activities::ControlOperator"/> + </constraints> + </views> + <views xmi:id="_z-OC7c1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple ControlOperator" sections="_2x-jEM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODVM1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OC7s1XEeSGVbFNM4m8gQ" name="isMultipleControlOperator"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OC781XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Activities::ControlOperator"/> + </constraints> + </views> + <views xmi:id="_z-OC9s1XEeSGVbFNM4m8gQ" name="Single Overwrite" sections="_2x-jE81XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODU81XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OC981XEeSGVbFNM4m8gQ" name="isSingleOverwrite"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OC-M1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Activities::Overwrite"/> + </constraints> + </views> + <views xmi:id="_z-OC-c1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Overwrite" sections="_2x-jFM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODU81XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OC-s1XEeSGVbFNM4m8gQ" name="isMultipleOverwrite"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OC-81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Activities::Overwrite"/> + </constraints> + </views> + <views xmi:id="_z-ODAs1XEeSGVbFNM4m8gQ" name="Single Optional" sections="_2x_xMM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODWM1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODA81XEeSGVbFNM4m8gQ" name="isSingleOptional"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODBM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Activities::Optional"/> + </constraints> + </views> + <views xmi:id="_z-ODBc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Optional" sections="_2x_xMc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODWM1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODBs1XEeSGVbFNM4m8gQ" name="isMultipleOptional"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODB81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Activities::Optional"/> + </constraints> + </views> + <views xmi:id="_z-ODCM1XEeSGVbFNM4m8gQ" name="Single Rate" sections="_2yAYQM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODWc1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODCc1XEeSGVbFNM4m8gQ" name="isSingleRate"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODCs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Activities::Rate"/> + </constraints> + </views> + <views xmi:id="_z-ODC81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Rate" sections="_2yAYQc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODWc1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODDM1XEeSGVbFNM4m8gQ" name="isMultipleRate"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODDc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Activities::Rate"/> + </constraints> + </views> + <views xmi:id="_z-ODDs1XEeSGVbFNM4m8gQ" name="Single Probability" sections="_2yAYQs1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODVs1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODD81XEeSGVbFNM4m8gQ" name="isSingleProbability"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODEM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Activities::Probability"/> + </constraints> + </views> + <views xmi:id="_z-ODEc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Probability" sections="_2yAYQ81XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODVs1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODEs1XEeSGVbFNM4m8gQ" name="isMultipleProbability"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODE81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Activities::Probability"/> + </constraints> + </views> + <views xmi:id="_z-ODFM1XEeSGVbFNM4m8gQ" name="Single AllocateActivityPartition" sections="_2yAYRM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODXc1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODFc1XEeSGVbFNM4m8gQ" name="isSingleAllocateActivityPartition"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODFs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Allocations::AllocateActivityPartition"/> + </constraints> + </views> + <views xmi:id="_z-ODF81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple AllocateActivityPartition" sections="_2yA_UM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODXc1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODGM1XEeSGVbFNM4m8gQ" name="isMultipleAllocateActivityPartition"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODGc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Allocations::AllocateActivityPartition"/> + </constraints> + </views> + <views xmi:id="_z-ODGs1XEeSGVbFNM4m8gQ" name="Single Allocate" sections="_2yA_Uc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODXs1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODG81XEeSGVbFNM4m8gQ" name="isSingleAllocate"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODHM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Allocations::Allocate"/> + </constraints> + </views> + <views xmi:id="_z-ODHc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Allocate" sections="_2yA_Us1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODXs1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODHs1XEeSGVbFNM4m8gQ" name="isMultipleAllocate"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODH81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Allocations::Allocate"/> + </constraints> + </views> + <views xmi:id="_z-ODIM1XEeSGVbFNM4m8gQ" name="Single Problem" sections="_2yA_U81XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODk81XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODIc1XEeSGVbFNM4m8gQ" name="isSingleProblem"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODIs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::Problem"/> + </constraints> + </views> + <views xmi:id="_z-ODI81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Problem" sections="_2yA_VM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODk81XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODJM1XEeSGVbFNM4m8gQ" name="isMultipleProblem"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODJc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::Problem"/> + </constraints> + </views> + <views xmi:id="_z-ODJs1XEeSGVbFNM4m8gQ" name="Single Conform" sections="_2yA_Vc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODlM1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODJ81XEeSGVbFNM4m8gQ" name="isSingleConform"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODKM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::Conform"/> + </constraints> + </views> + <views xmi:id="_z-ODKc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Conform" sections="_2yA_Vs1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODlM1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODKs1XEeSGVbFNM4m8gQ" name="isMultipleConform"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODK81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::Conform"/> + </constraints> + </views> + <views xmi:id="_z-ODLM1XEeSGVbFNM4m8gQ" name="Single ViewPoint" sections="_2yBmYM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODgs1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODLc1XEeSGVbFNM4m8gQ" name="isSingleViewPoint"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODLs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::Viewpoint"/> + </constraints> + </views> + <views xmi:id="_z-ODL81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple ViewPoint" sections="_2yBmYc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODgs1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODMM1XEeSGVbFNM4m8gQ" name="isMultipleViewPoint"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODMc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::Viewpoint"/> + </constraints> + </views> + <views xmi:id="_z-ODMs1XEeSGVbFNM4m8gQ" name="Single View" sections="_2yCNcM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODlc1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODM81XEeSGVbFNM4m8gQ" name="isSingleView"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODNM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::View"/> + </constraints> + </views> + <views xmi:id="_z-ODNc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple View" sections="_2yCNcc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODlc1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODNs1XEeSGVbFNM4m8gQ" name="isMultipleView"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODN81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::View"/> + </constraints> + </views> + <views xmi:id="_z-ODOM1XEeSGVbFNM4m8gQ" name="Single ElementGroup" sections="_2yCNcs1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODis1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODOc1XEeSGVbFNM4m8gQ" name="isSingleElementGroup"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODOs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::ElementGroup"/> + </constraints> + </views> + <views xmi:id="_z-ODO81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple ElementGroup" sections="_2yC0gM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODis1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODPM1XEeSGVbFNM4m8gQ" name="isMultipleElementGroup"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODPc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::ElementGroup"/> + </constraints> + </views> + <views xmi:id="_z-ODPs1XEeSGVbFNM4m8gQ" name="Single Expose" sections="_2yC0gc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODks1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODP81XEeSGVbFNM4m8gQ" name="isSingleExpose"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODQM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::Expose"/> + </constraints> + </views> + <views xmi:id="_z-ODQc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Expose" sections="_2yC0gs1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODks1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODQs1XEeSGVbFNM4m8gQ" name="isMultipleExpose"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODQ81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::Expose"/> + </constraints> + </views> + <views xmi:id="_z-ODRM1XEeSGVbFNM4m8gQ" name="Single Stakeholder" sections="_2yC0g81XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODmM1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODRc1XEeSGVbFNM4m8gQ" name="isSingleStakeholder"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODRs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::Stakeholder"/> + </constraints> + </views> + <views xmi:id="_z-ODR81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Stakeholder" sections="_2yC0hM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODmM1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODSM1XEeSGVbFNM4m8gQ" name="isMultipleStakeholder"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODSc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::Stakeholder"/> + </constraints> + </views> + <views xmi:id="_z-ODSs1XEeSGVbFNM4m8gQ" name="Single Rationale" sections="_2yDbkM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODkM1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODS81XEeSGVbFNM4m8gQ" name="isSingleRationale"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODTM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::Rationale"/> + </constraints> + </views> + <views xmi:id="_z-ODTc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Rationale" sections="_2yDbkc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODkM1XEeSGVbFNM4m8gQ"> + <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODTs1XEeSGVbFNM4m8gQ" name="isMultipleRationale"> + <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml.ui/resources/SysMLConstraintEnvironment.xmi#//@constraintTypes.0"/> + <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODT81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::Rationale"/> + </constraints> + </views> + <dataContexts xmi:id="_z-ODUM1XEeSGVbFNM4m8gQ" name="SysML" label="Data Context Root SysML 1.5"> + <elements xsi:type="contexts:DataContextPackage" xmi:id="_z-ODUc1XEeSGVbFNM4m8gQ" name="Activities"> + <elements xmi:id="_z-ODUs1XEeSGVbFNM4m8gQ" name="Discrete"/> + <elements xmi:id="_z-ODU81XEeSGVbFNM4m8gQ" name="Overwrite"> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690zb6DJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODVM1XEeSGVbFNM4m8gQ" name="ControlOperator"> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yQKDJEeSZxfCXzZz3-w"/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yVaDJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODVc1XEeSGVbFNM4m8gQ" name="Continuous"/> + <elements xmi:id="_z-ODVs1XEeSGVbFNM4m8gQ" name="Probability"> + <properties xmi:id="_z-ODV81XEeSGVbFNM4m8gQ" name="probability" type="Reference"/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690zVKDJEeSZxfCXzZz3-w"/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690y06DJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODWM1XEeSGVbFNM4m8gQ" name="Optional"> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yBaDJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODWc1XEeSGVbFNM4m8gQ" name="Rate"> + <properties xmi:id="_z-ODWs1XEeSGVbFNM4m8gQ" name="rate" type="Reference"/> + </elements> + <elements xmi:id="_z-ODW81XEeSGVbFNM4m8gQ" name="NoBuffer"> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690zb6DJEeSZxfCXzZz3-w"/> + </elements> + </elements> + <elements xsi:type="contexts:DataContextPackage" xmi:id="_z-ODXM1XEeSGVbFNM4m8gQ" name="Allocations"> + <elements xmi:id="_z-ODXc1XEeSGVbFNM4m8gQ" name="AllocateActivityPartition"> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690zX6DJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODXs1XEeSGVbFNM4m8gQ" name="Allocate"/> + </elements> + <elements xsi:type="contexts:DataContextPackage" xmi:id="_z-ODX81XEeSGVbFNM4m8gQ" name="DeprecatedElements"> + <elements xmi:id="_z-ODYM1XEeSGVbFNM4m8gQ" name="Allocated"> + <properties xmi:id="_z-ODYc1XEeSGVbFNM4m8gQ" name="allocatedFrom" type="Reference" multiplicity="-1" description="Reverse of allocatedTo: the element types and names of the set of elements that are clients (from) of an «allocate» whose supplier is extended by this stereotype (instance). The same characteristics apply as to /allocatedTo. Each allocatedFrom property will be expressed as «elementType» ElementName."/> + <properties xmi:id="_z-ODYs1XEeSGVbFNM4m8gQ" name="allocatedTo" type="Reference" multiplicity="-1" description="The element types and names of the set of elements that are suppliers (“to” end of the concrete syntax) of an «allocate» whose client is extended by this stereotype (instance). This property is the union of all suppliers to which this instance is the client, i.e., there may be more than one /allocatedTo property per allocated model element. Each allocatedTo property will be expressed as «elementType» ElementName."/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xk6DJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODY81XEeSGVbFNM4m8gQ" name="RequirementRelated"> + <properties xmi:id="_z-ODZM1XEeSGVbFNM4m8gQ" name="TracedFrom" type="Reference" multiplicity="-1" description="Derived from all requirements that are the supplier of a «trace» relationship for which this element is a client."/> + <properties xmi:id="_z-ODZc1XEeSGVbFNM4m8gQ" name="Satisfies" type="Reference" multiplicity="-1" description="Derived from all requirements that are the supplier of a «satisfy» relationship for which this element is a client."/> + <properties xmi:id="_z-ODZs1XEeSGVbFNM4m8gQ" name="Refines" type="Reference" multiplicity="-1" description="Derived from all requirements that are the supplier of a «refine» relationship for which this element is a client."/> + <properties xmi:id="_z-ODZ81XEeSGVbFNM4m8gQ" name="Verifies" type="Reference" multiplicity="-1" description="Derived from all requirements that are the supplier of a «verify» relationship for which this element is a client."/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xk6DJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODaM1XEeSGVbFNM4m8gQ" name="FlowSpecification"> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690ybKDJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODac1XEeSGVbFNM4m8gQ" name="Deprecated"> + <properties xmi:id="_z-ODas1XEeSGVbFNM4m8gQ" name="deprecatedReason"/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yXqDJEeSZxfCXzZz3-w"/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690zC6DJEeSZxfCXzZz3-w"/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xu6DJEeSZxfCXzZz3-w"/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yG6DJEeSZxfCXzZz3-w"/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690x7aDJEeSZxfCXzZz3-w"/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xtqDJEeSZxfCXzZz3-w"/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690y1qDJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODa81XEeSGVbFNM4m8gQ" name="FlowPort"> + <properties xmi:id="_z-ODbM1XEeSGVbFNM4m8gQ" name="direction" type="Enumeration" description="Indicates the direction in which an atomic flow port relays its items. If the direction is set to “in,” then the items are relayed from an external connector via the flow port into the flow port’s owner (or one of its parts). If the direction is set to “out,” then the items are relayed from the flow port’s owner, via the flow port, through an external connector attached to the flow port. If the direction is set to “inout,” then items can flow both ways. By default, the value is inout."/> + <properties xmi:id="_z-ODbc1XEeSGVbFNM4m8gQ" name="isAtomic" type="Boolean" description="This is a derived attribute (derived from the flow port’s type). For a flow port typed by a flow specification the value of this attribute is False, otherwise the value is True."/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690ylaDJEeSZxfCXzZz3-w"/> + </elements> + </elements> + <elements xsi:type="contexts:DataContextPackage" xmi:id="_z-ODbs1XEeSGVbFNM4m8gQ" name="ConstraintBlocks"> + <elements xmi:id="_z-ODb81XEeSGVbFNM4m8gQ" name="ConstraintBlock"/> + </elements> + <elements xsi:type="contexts:DataContextPackage" xmi:id="_z-ODcM1XEeSGVbFNM4m8gQ" name="PortsAndFlows"> + <elements xmi:id="_z-ODcc1XEeSGVbFNM4m8gQ" name="FlowProperty"> + <properties xmi:id="_z-ODcs1XEeSGVbFNM4m8gQ" name="direction" type="Enumeration" description="Specifies if the property value is received from an external block (direction=“in”), transmitted to an external Block (direction=“out”) or both (direction=“inout”)."/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yG6DJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODc81XEeSGVbFNM4m8gQ" name="DirectedFeature"> + <properties xmi:id="_z-ODdM1XEeSGVbFNM4m8gQ" name="featureDirection" type="Enumeration"/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690x96DJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODdc1XEeSGVbFNM4m8gQ" name="ChangeStructuralFeatureEvent"> + <properties xmi:id="_z-ODds1XEeSGVbFNM4m8gQ" name="structuralFeature" type="Reference"/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690z0aDJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODd81XEeSGVbFNM4m8gQ" name="InvocationOnNestedPortAction"> + <properties xmi:id="_z-ODeM1XEeSGVbFNM4m8gQ" name="onNestedPort" type="Reference" multiplicity="-1"/> + </elements> + <elements xmi:id="_z-ODec1XEeSGVbFNM4m8gQ" name="ItemFlow"> + <properties xmi:id="_z-ODes1XEeSGVbFNM4m8gQ" name="itemProperty" type="Reference" description="An optional property that relates the flowing item to the instances of the connector’s enclosing block. This property is applicable only for item flows assigned to connectors. The multiplicity is zero if the item flow is assigned to an Association."/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_6964PaDJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODe81XEeSGVbFNM4m8gQ" name="ProxyPort"> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690ylaDJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODfM1XEeSGVbFNM4m8gQ" name="AcceptChangeStructuralFeatureEventAction"> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_6964XqDJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODfc1XEeSGVbFNM4m8gQ" name="FullPort"> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690ylaDJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODfs1XEeSGVbFNM4m8gQ" name="TriggerOnNestedPort"> + <properties xmi:id="_z-ODf81XEeSGVbFNM4m8gQ" name="onNestedPort" type="Reference" multiplicity="-1"/> + </elements> + <elements xmi:id="_z-ODgM1XEeSGVbFNM4m8gQ" name="InterfaceBlock"/> + </elements> + <elements xsi:type="contexts:DataContextPackage" xmi:id="_z-ODgc1XEeSGVbFNM4m8gQ" name="ModelElements"> + <elements xmi:id="_z-ODgs1XEeSGVbFNM4m8gQ" name="Viewpoint"> + <properties xmi:id="_z-ODg81XEeSGVbFNM4m8gQ" name="stakeholder" type="Reference" multiplicity="-1" description="Set of stakeholders."/> + <properties xmi:id="_z-ODhM1XEeSGVbFNM4m8gQ" name="purpose" description="The purpose addresses the stakeholder concerns."/> + <properties xmi:id="_z-ODhc1XEeSGVbFNM4m8gQ" name="concernList" type="Reference" multiplicity="-1" description="The interest of the stakeholders."/> + <properties xmi:id="_z-ODhs1XEeSGVbFNM4m8gQ" name="language" multiplicity="-1" description="The languages used to construct the viewpoint."/> + <properties xmi:id="_z-ODh81XEeSGVbFNM4m8gQ" name="method" type="Reference" multiplicity="-1" description="The methods used to construct the views for this viewpoint."/> + <properties xmi:id="_z-ODiM1XEeSGVbFNM4m8gQ" name="presentation" multiplicity="-1"/> + <properties xmi:id="_z-ODic1XEeSGVbFNM4m8gQ" name="concern" multiplicity="-1"/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yXqDJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODis1XEeSGVbFNM4m8gQ" name="ElementGroup"> + <properties xmi:id="_z-ODi81XEeSGVbFNM4m8gQ" name="name"/> + <properties xmi:id="_z-ODjM1XEeSGVbFNM4m8gQ" name="criterion"/> + <properties xmi:id="_z-ODjc1XEeSGVbFNM4m8gQ" name="size" type="Integer"/> + <properties xmi:id="_z-ODjs1XEeSGVbFNM4m8gQ" name="member" type="Reference" multiplicity="-1" description="Set specifying the members of the group.
Derived from Comment::annotatedElement."/> + <properties xmi:id="_z-ODj81XEeSGVbFNM4m8gQ" name="orderedMember" type="Reference" multiplicity="-1" description="Organize member according to an arbitrary order. Optional."/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xgqDJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODkM1XEeSGVbFNM4m8gQ" name="Rationale"> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xgqDJEeSZxfCXzZz3-w"/> + </elements> + <elements xsi:type="contexts:DataContextPackage" xmi:id="_z-ODkc1XEeSGVbFNM4m8gQ" name="Deprecated"/> + <elements xmi:id="_z-ODks1XEeSGVbFNM4m8gQ" name="Expose"> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xmqDJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODk81XEeSGVbFNM4m8gQ" name="Problem"> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xgqDJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODlM1XEeSGVbFNM4m8gQ" name="Conform"> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xmqDJEeSZxfCXzZz3-w"/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690x7aDJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODlc1XEeSGVbFNM4m8gQ" name="View"> + <properties xmi:id="_z-ODls1XEeSGVbFNM4m8gQ" name="viewPoint" type="Reference" description="The viewpoint for this View, derived from the supplier of the «conform» dependency whose client is this View."/> + <properties xmi:id="_z-ODl81XEeSGVbFNM4m8gQ" name="stakeholder" type="Reference" multiplicity="-1"/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xiaDJEeSZxfCXzZz3-w"/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yXqDJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODmM1XEeSGVbFNM4m8gQ" name="Stakeholder"> + <properties xmi:id="_z-ODmc1XEeSGVbFNM4m8gQ" name="concern" type="Reference" multiplicity="-1"/> + <properties xmi:id="_z-ODms1XEeSGVbFNM4m8gQ" name="concernList" type="Reference"/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xwaDJEeSZxfCXzZz3-w"/> + </elements> + </elements> + <elements xsi:type="contexts:DataContextPackage" xmi:id="_z-ODm81XEeSGVbFNM4m8gQ" name="Blocks"> + <elements xmi:id="_z-ODnM1XEeSGVbFNM4m8gQ" name="DistributedProperty"> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yG6DJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODnc1XEeSGVbFNM4m8gQ" name="EndPathMultiplicity"> + <properties xmi:id="_z-ODns1XEeSGVbFNM4m8gQ" name="lower" type="Integer" description="Gives the minimum number of values of the property at the end of the related bindingPath, for each object reached by navigation along the bindingPath from an instance of the block owning the property to which EndPathMultiplicity is applied"/> + <properties xmi:id="_z-ODn81XEeSGVbFNM4m8gQ" name="upper" description="Gives the maximum number of values of the property at the end of the related bindingPath, for each object reached by navigation along the bindingPath from an instance of the block owning the property to which EndPathMultiplicity is applied."/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yG6DJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODoM1XEeSGVbFNM4m8gQ" name="PropertySpecificType"> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xwaDJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODoc1XEeSGVbFNM4m8gQ" name="ConnectorProperty"> + <properties xmi:id="_z-ODos1XEeSGVbFNM4m8gQ" name="connector" type="Reference" description="A connector of the block owning the property on which the stereotype is applied."/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yG6DJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODo81XEeSGVbFNM4m8gQ" name="ParticipantProperty"> + <properties xmi:id="_z-ODpM1XEeSGVbFNM4m8gQ" name="end" type="Reference" description="A member end of the association block owning the property on which the stereotype is applied."/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yG6DJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODpc1XEeSGVbFNM4m8gQ" name="NestedConnectorEnd"/> + <elements xmi:id="_z-ODps1XEeSGVbFNM4m8gQ" name="DirectedRelationshipPropertyPath"> + <properties xmi:id="_z-ODp81XEeSGVbFNM4m8gQ" name="sourcePropertyPath" type="Reference" multiplicity="-1"/> + <properties xmi:id="_z-ODqM1XEeSGVbFNM4m8gQ" name="targetPropertyPath" type="Reference" multiplicity="-1"/> + <properties xmi:id="_z-ODqc1XEeSGVbFNM4m8gQ" name="sourceContext" type="Reference"/> + <properties xmi:id="_z-ODqs1XEeSGVbFNM4m8gQ" name="targetContext" type="Reference"/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xnaDJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODq81XEeSGVbFNM4m8gQ" name="AdjunctProperty"> + <properties xmi:id="_z-ODrM1XEeSGVbFNM4m8gQ" name="principal" type="Reference" description="Gives the element that determines the values of the property. Must be a connector, call action, object node, variable, or parameter."/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yG6DJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODrc1XEeSGVbFNM4m8gQ" name="ClassifierBehaviorProperty"> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yG6DJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODrs1XEeSGVbFNM4m8gQ" name="Block"> + <properties xmi:id="_z-ODr81XEeSGVbFNM4m8gQ" name="isEncapsulated" type="Boolean" description="If true, then the block is treated as a black box; a part typed by this black box can only be connected via its ports or directly to its outer boundary. If false, or if a value is not present, then connections can be established to elements of its internal structure via deep-nested connector ends."/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yXqDJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODsM1XEeSGVbFNM4m8gQ" name="BoundReference"> + <properties xmi:id="_z-ODsc1XEeSGVbFNM4m8gQ" name="boundEnd" type="Reference" description="Gives a connector end of a binding connector opposite to the end linked to the stereotyped property, or linked to a property that generalizes the stereotyped one through redefinition."/> + <properties xmi:id="_z-ODss1XEeSGVbFNM4m8gQ" name="bindingPath" type="Reference" multiplicity="-1" description="Gives the propertyPath of the NestedConnectorEnd applied, if any, to the boundEnd, appended to the role of the boundEnd. "/> + </elements> + <elements xmi:id="_z-ODs81XEeSGVbFNM4m8gQ" name="ElementPropertyPath"> + <properties xmi:id="_z-ODtM1XEeSGVbFNM4m8gQ" name="propertyPath" type="Reference" multiplicity="-1" description="The propertyPath list of the NestedConnectorEnd stereotype must identify a path of containing properties that identify the connected property in the context of the block that owns the connector. The ordering of properties is from a property of the block that owns the connector, through a property of each intermediate block that types the preceding property, until a property is reached that contains a connector end property within its type. The connector end property is not included in the propertyPath list, but instead is held by the role property of the UML ConnectorEnd metaclass."/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xhaDJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODtc1XEeSGVbFNM4m8gQ" name="BindingConnector"> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yvqDJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODts1XEeSGVbFNM4m8gQ" name="ValueType"> + <properties xmi:id="_z-ODt81XEeSGVbFNM4m8gQ" name="unit" type="Reference" description="A quantity in terms of which the magnitudes of other quantities that have the same dimension can be stated, as identified by an instance of the Unit stereotype."/> + <properties xmi:id="_z-ODuM1XEeSGVbFNM4m8gQ" name="quantityKind" type="Reference" description="A kind of quantity that may be stated by means of defined units, as identified by an instance of the Dimension stereotype. A value type may optionally specify a dimension without any unit. Such a value has no concrete representation, but may be used to express a value in an abstract form independent of any specific units."/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690y1qDJEeSZxfCXzZz3-w"/> + </elements> + </elements> + <elements xsi:type="contexts:DataContextPackage" xmi:id="_z-ODuc1XEeSGVbFNM4m8gQ" name="Requirements"> + <elements xmi:id="_z-ODus1XEeSGVbFNM4m8gQ" name="DeriveReqt"/> + <elements xmi:id="_z-ODu81XEeSGVbFNM4m8gQ" name="Satisfy"/> + <elements xmi:id="_z-ODvM1XEeSGVbFNM4m8gQ" name="TestCase"> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yQKDJEeSZxfCXzZz3-w"/> + <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yVaDJEeSZxfCXzZz3-w"/> + </elements> + <elements xmi:id="_z-ODvc1XEeSGVbFNM4m8gQ" name="Refine"/> + <elements xmi:id="_doZTdfRzEeeIvbxMF5z0PQ" name="AbstractRequirement"> + <properties xmi:id="_z-ODv81XEeSGVbFNM4m8gQ" name="text" description="The textual representation or a reference to the textual representation of the requirement."/> + <properties xmi:id="_z-ODwM1XEeSGVbFNM4m8gQ" name="id" description="The unique id of the requirement."/> + <properties xmi:id="_z-ODwc1XEeSGVbFNM4m8gQ" name="derived" type="Reference" multiplicity="-1" description="Derived from all requirements that are the client of a «deriveReqt» relationship for which this requirement is a supplier."/> + <properties xmi:id="_z-ODws1XEeSGVbFNM4m8gQ" name="derivedFrom" type="Reference" multiplicity="-1" description="Derived from all requirements that are the supplier of a «deriveReqt» relationship for which this requirement is a client."/> + <properties xmi:id="_z-ODw81XEeSGVbFNM4m8gQ" name="satisfiedBy" type="Reference" multiplicity="-1" description="Derived from all elements that are the client of a «satisfy» relationship for which this requirement is a supplier."/> + <properties xmi:id="_z-ODxM1XEeSGVbFNM4m8gQ" name="refinedBy" type="Reference" multiplicity="-1" description="Derived from all elements that are the client of a «refine» relationship for which this requirement is a supplier."/> + <properties xmi:id="_z-ODxc1XEeSGVbFNM4m8gQ" name="tracedTo" type="Reference" multiplicity="-1" description="Derived from all elements that are the client of a «trace» relationship for which this requirement is a supplier."/> + <properties xmi:id="_z-ODxs1XEeSGVbFNM4m8gQ" name="verifiedBy" type="Reference" multiplicity="-1" description="Derived from all elements that are the client of a «verify» relationship for which this requirement is a supplier."/> + <properties xmi:id="_z-ODx81XEeSGVbFNM4m8gQ" name="master" type="Reference" multiplicity="-1" description="This is a derived property that lists the master requirement for this slave requirement. The master attribute is derived from the supplier of the Copy dependency that has this requirement as the slave."/> + </elements> + <elements xmi:id="_z-ODvs1XEeSGVbFNM4m8gQ" name="Requirement" supertypes="_doZTdfRzEeeIvbxMF5z0PQ"> + </elements> + <elements xmi:id="_z-ODyM1XEeSGVbFNM4m8gQ" name="Trace"/> + <elements xmi:id="_z-ODyc1XEeSGVbFNM4m8gQ" name="Copy"/> + <elements xmi:id="_z-ODys1XEeSGVbFNM4m8gQ" name="Verify"/> + </elements> + <modelElementFactory href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@modelElementFactories.2"/> + </dataContexts> +</contexts:Context>
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleAcceptChangeStructuralFeatureEventAction.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleAcceptChangeStructuralFeatureEventAction.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleAcceptChangeStructuralFeatureEventAction.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleAcceptChangeStructuralFeatureEventAction.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleAdjunctProperty.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleAdjunctProperty.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleAdjunctProperty.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleAdjunctProperty.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleAllocate.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleAllocate.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleAllocate.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleAllocate.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleAllocateActivityPartition.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleAllocateActivityPartition.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleAllocateActivityPartition.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleAllocateActivityPartition.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleBindingConnector.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleBindingConnector.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleBindingConnector.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleBindingConnector.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleBlock.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleBlock.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleBlock.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleBlock.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleBoundReference.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleBoundReference.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleBoundReference.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleBoundReference.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleChangeStructuralFeatureEvent.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleChangeStructuralFeatureEvent.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleChangeStructuralFeatureEvent.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleChangeStructuralFeatureEvent.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleClassifierBehaviorProperty.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleClassifierBehaviorProperty.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleClassifierBehaviorProperty.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleClassifierBehaviorProperty.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleConform.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleConform.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleConform.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleConform.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleConnectorProperty.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleConnectorProperty.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleConnectorProperty.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleConnectorProperty.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleConstraintBlock.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleConstraintBlock.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleConstraintBlock.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleConstraintBlock.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleControlOperator.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleControlOperator.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleControlOperator.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleControlOperator.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleCopy.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleCopy.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleCopy.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleCopy.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleDeriveReqt.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleDeriveReqt.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleDeriveReqt.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleDeriveReqt.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleDirectedFeature.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleDirectedFeature.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleDirectedFeature.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleDirectedFeature.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleDirectedRelationshipPropertyPath.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleDirectedRelationshipPropertyPath.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleDirectedRelationshipPropertyPath.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleDirectedRelationshipPropertyPath.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleDistributedProperty.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleDistributedProperty.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleDistributedProperty.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleDistributedProperty.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleElementGroup.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleElementGroup.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleElementGroup.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleElementGroup.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleElementPropertyPath.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleElementPropertyPath.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleElementPropertyPath.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleElementPropertyPath.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleEndPathMultiplicity.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleEndPathMultiplicity.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleEndPathMultiplicity.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleEndPathMultiplicity.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleExpose.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleExpose.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleExpose.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleExpose.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleFlowPort.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleFlowPort.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleFlowPort.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleFlowPort.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleFlowProperty.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleFlowProperty.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleFlowProperty.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleFlowProperty.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleFlowSpecification.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleFlowSpecification.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleFlowSpecification.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleFlowSpecification.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleFullPort.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleFullPort.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleFullPort.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleFullPort.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleInterfaceBlock.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleInterfaceBlock.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleInterfaceBlock.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleInterfaceBlock.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleInvocationOnNestedPortAction.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleInvocationOnNestedPortAction.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleInvocationOnNestedPortAction.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleInvocationOnNestedPortAction.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleItemFlow.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleItemFlow.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleItemFlow.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleItemFlow.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleNestedConnectorEnd.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleNestedConnectorEnd.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleNestedConnectorEnd.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleNestedConnectorEnd.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleNoBuffer.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleNoBuffer.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleNoBuffer.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleNoBuffer.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleOptional.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleOptional.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleOptional.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleOptional.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleOverwrite.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleOverwrite.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleOverwrite.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleOverwrite.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleParticipantProperty.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleParticipantProperty.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleParticipantProperty.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleParticipantProperty.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleProbability.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleProbability.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleProbability.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleProbability.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleProblem.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleProblem.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleProblem.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleProblem.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultiplePropertySpecificType.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultiplePropertySpecificType.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultiplePropertySpecificType.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultiplePropertySpecificType.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleProxyPort.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleProxyPort.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleProxyPort.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleProxyPort.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleRate.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleRate.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleRate.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleRate.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleRationale.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleRationale.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleRationale.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleRationale.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleRefine.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleRefine.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleRefine.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleRefine.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleRequirement.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleRequirement.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleRequirement.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleRequirement.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleSatisfy.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleSatisfy.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleSatisfy.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleSatisfy.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleStakeholder.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleStakeholder.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleStakeholder.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleStakeholder.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleTestCase.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleTestCase.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleTestCase.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleTestCase.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleTrace.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleTrace.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleTrace.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleTrace.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleTriggerOnNestedPort.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleTriggerOnNestedPort.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleTriggerOnNestedPort.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleTriggerOnNestedPort.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleValueType.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleValueType.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleValueType.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleValueType.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleVerify.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleVerify.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleVerify.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleVerify.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleView.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleView.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleView.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleView.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleViewPoint.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleViewPoint.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/MultipleViewPoint.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/MultipleViewPoint.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleAcceptChangeStructuralFeatureEventAction.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleAcceptChangeStructuralFeatureEventAction.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleAcceptChangeStructuralFeatureEventAction.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleAcceptChangeStructuralFeatureEventAction.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleAdjunctProperty.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleAdjunctProperty.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleAdjunctProperty.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleAdjunctProperty.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleAllocate.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleAllocate.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleAllocate.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleAllocate.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleAllocateActivityPartition.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleAllocateActivityPartition.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleAllocateActivityPartition.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleAllocateActivityPartition.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleBindingConnector.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleBindingConnector.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleBindingConnector.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleBindingConnector.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleBlock.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleBlock.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleBlock.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleBlock.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleBoundReference.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleBoundReference.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleBoundReference.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleBoundReference.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleChangeStructuralFeatureEvent.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleChangeStructuralFeatureEvent.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleChangeStructuralFeatureEvent.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleChangeStructuralFeatureEvent.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleClassifierBehaviorProperty.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleClassifierBehaviorProperty.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleClassifierBehaviorProperty.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleClassifierBehaviorProperty.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleConform.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleConform.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleConform.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleConform.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleConnectorProperty.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleConnectorProperty.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleConnectorProperty.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleConnectorProperty.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleConstraintBlock.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleConstraintBlock.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleConstraintBlock.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleConstraintBlock.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleControlOperator.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleControlOperator.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleControlOperator.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleControlOperator.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleCopy.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleCopy.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleCopy.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleCopy.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleDeriveReqt.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleDeriveReqt.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleDeriveReqt.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleDeriveReqt.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleDirectedFeature.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleDirectedFeature.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleDirectedFeature.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleDirectedFeature.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleDirectedRelationshipPropertyPath.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleDirectedRelationshipPropertyPath.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleDirectedRelationshipPropertyPath.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleDirectedRelationshipPropertyPath.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleDistributedProperty.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleDistributedProperty.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleDistributedProperty.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleDistributedProperty.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleElementGroup.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleElementGroup.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleElementGroup.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleElementGroup.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleElementPropertyPath.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleElementPropertyPath.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleElementPropertyPath.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleElementPropertyPath.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleEndPathMultiplicity.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleEndPathMultiplicity.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleEndPathMultiplicity.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleEndPathMultiplicity.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleExpose.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleExpose.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleExpose.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleExpose.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleFlowPort.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleFlowPort.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleFlowPort.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleFlowPort.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleFlowProperty.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleFlowProperty.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleFlowProperty.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleFlowProperty.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleFlowSpecification.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleFlowSpecification.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleFlowSpecification.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleFlowSpecification.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleFullPort.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleFullPort.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleFullPort.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleFullPort.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleInterfaceBlock.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleInterfaceBlock.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleInterfaceBlock.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleInterfaceBlock.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleInvocationOnNestedPortAction.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleInvocationOnNestedPortAction.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleInvocationOnNestedPortAction.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleInvocationOnNestedPortAction.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleItemFlow.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleItemFlow.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleItemFlow.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleItemFlow.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleNestedConnectorEnd.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleNestedConnectorEnd.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleNestedConnectorEnd.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleNestedConnectorEnd.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleNoBuffer.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleNoBuffer.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleNoBuffer.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleNoBuffer.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleOptional.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleOptional.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleOptional.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleOptional.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleOverwrite.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleOverwrite.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleOverwrite.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleOverwrite.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleParticipantProperty.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleParticipantProperty.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleParticipantProperty.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleParticipantProperty.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleProbability.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleProbability.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleProbability.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleProbability.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleProblem.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleProblem.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleProblem.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleProblem.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SinglePropertySpecificType.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SinglePropertySpecificType.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SinglePropertySpecificType.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SinglePropertySpecificType.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleProxyPort.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleProxyPort.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleProxyPort.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleProxyPort.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleRate.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleRate.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleRate.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleRate.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleRationale.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleRationale.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleRationale.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleRationale.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleRefine.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleRefine.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleRefine.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleRefine.xwt
diff --git a/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleRequirement.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleRequirement.xwt new file mode 100644 index 0000000..1616734 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleRequirement.xwt
@@ -0,0 +1,56 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Composite xmlns:j="clr-namespace:java.lang" + xmlns:ppel="clr-namespace:org.eclipse.papyrus.infra.properties.ui.widgets.layout" + xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation" + xmlns:ppe="clr-namespace:org.eclipse.papyrus.infra.properties.ui.widgets"> + <Composite.layout> + <ppel:PropertiesLayout></ppel:PropertiesLayout> + </Composite.layout> + <Composite> + <Composite.layout> + <ppel:PropertiesLayout numColumns="2"></ppel:PropertiesLayout> + </Composite.layout> + <ppe:StringEditor input="{Binding}" + property="SysML:Requirements:AbstractRequirement:id"></ppe:StringEditor> + <ppe:StringEditor input="{Binding}" property="UML:NamedElement:name"></ppe:StringEditor> + </Composite> + <Composite> + <Composite.layout> + <ppel:PropertiesLayout></ppel:PropertiesLayout> + </Composite.layout> + <ppe:StringMultiline input="{Binding}" + property="SysML:Requirements:AbstractRequirement:text"></ppe:StringMultiline> + </Composite> + <Composite> + <Composite.layout> + <ppel:PropertiesLayout numColumns="2"></ppel:PropertiesLayout> + </Composite.layout> + <ppe:BooleanRadio input="{Binding}" property="UML:Classifier:isAbstract"></ppe:BooleanRadio> + <ppe:BooleanRadio input="{Binding}" + property="UML:RedefinableElement:isLeaf"></ppe:BooleanRadio> + </Composite> + <Composite> + <Composite.layout> + <ppel:PropertiesLayout></ppel:PropertiesLayout> + </Composite.layout> + <ppe:MultiReference input="{Binding}" + property="SysML:Requirements:AbstractRequirement:master"></ppe:MultiReference> + </Composite> + <Composite> + <Composite.layout> + <ppel:PropertiesLayout numColumns="2"></ppel:PropertiesLayout> + </Composite.layout> + <ppe:MultiReference input="{Binding}" + property="SysML:Requirements:AbstractRequirement:derived"></ppe:MultiReference> + <ppe:MultiReference input="{Binding}" + property="SysML:Requirements:AbstractRequirement:derivedFrom"></ppe:MultiReference> + <ppe:MultiReference input="{Binding}" + property="SysML:Requirements:AbstractRequirement:refinedBy"></ppe:MultiReference> + <ppe:MultiReference input="{Binding}" + property="SysML:Requirements:AbstractRequirement:satisfiedBy"></ppe:MultiReference> + <ppe:MultiReference input="{Binding}" + property="SysML:Requirements:AbstractRequirement:tracedTo"></ppe:MultiReference> + <ppe:MultiReference input="{Binding}" + property="SysML:Requirements:AbstractRequirement:verifiedBy"></ppe:MultiReference> + </Composite> +</Composite> \ No newline at end of file
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleSatisfy.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleSatisfy.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleSatisfy.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleSatisfy.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleStakeholder.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleStakeholder.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleStakeholder.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleStakeholder.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleTestCase.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleTestCase.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleTestCase.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleTestCase.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleTrace.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleTrace.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleTrace.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleTrace.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleTriggerOnNestedPort.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleTriggerOnNestedPort.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleTriggerOnNestedPort.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleTriggerOnNestedPort.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleValueType.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleValueType.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleValueType.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleValueType.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleVerify.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleVerify.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleVerify.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleVerify.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleView.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleView.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleView.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleView.xwt
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleViewPoint.xwt b/gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleViewPoint.xwt similarity index 100% rename from gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleViewPoint.xwt rename to gui/org.eclipse.papyrus.sysml.ui/resources/properties/ui/SingleViewPoint.xwt
diff --git a/gui/org.eclipse.papyrus.sysml.ui/src/org/eclipse/papyrus/sysml/ui/Activator.java b/gui/org.eclipse.papyrus.sysml.ui/src/org/eclipse/papyrus/sysml/ui/Activator.java new file mode 100644 index 0000000..ed846d9 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui/src/org/eclipse/papyrus/sysml/ui/Activator.java
@@ -0,0 +1,78 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.ui; + +import org.eclipse.papyrus.infra.core.log.LogHelper; +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.sysml.ui"; //$NON-NLS-1$ + + // The shared instance + private static Activator plugin; + + + + /** Logging helper. */ + private static LogHelper logHelper; + + /** + * 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; + logHelper = new LogHelper(plugin); + } + + /* + * (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; + } + + /** + * Returns the log helper + * @return the log helper + */ + public static LogHelper getLogHelper() { + return logHelper; + } + +}
diff --git a/gui/org.eclipse.papyrus.sysml.ui/src/org/eclipse/papyrus/sysml/ui/constraints/HasStereotypeSysml14Constraint.java b/gui/org.eclipse.papyrus.sysml.ui/src/org/eclipse/papyrus/sysml/ui/constraints/HasStereotypeSysml14Constraint.java new file mode 100644 index 0000000..185fde7 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui/src/org/eclipse/papyrus/sysml/ui/constraints/HasStereotypeSysml14Constraint.java
@@ -0,0 +1,75 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.ui.constraints; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.papyrus.infra.constraints.constraints.Constraint; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.uml.properties.constraints.HasStereotypeConstraint; +import org.eclipse.uml2.uml.Profile; + +/** + * A constraint to test if the given object is a UML Element and + * has the given Stereotype and SysML profile applied + */ +public class HasStereotypeSysml14Constraint extends HasStereotypeConstraint implements Constraint{ + + + + // FIXME: API break between Oxygen.2 and Oxygen.3 ... + +// /** +// * @see org.eclipse.papyrus.infra.constraints.constraints.AbstractConstraint#match(java.lang.Object) +// * Check if the containing package has profilUri applied. +// * @param selection +// * @return +// */ +// @Override +// public boolean match(Object selection) { +// if (super.match(selection)){ +// EList<Profile> allAppliedProfiles = umlElement.getNearestPackage().getAllAppliedProfiles(); +// for (Profile profile : allAppliedProfiles) { +// String uri = profile.getURI(); +// if (SysMLResource.PROFILE_URI.equals(uri)){ +// return true; +// } +// } +// } +// return false; // always called even when not defined +// } + + + + /** + * @see java.lang.Object#toString() + * + * @return + */ + @Override + public String toString() { + return String.format("HasStereotypeSysML %s (%s)", stereotypeName, getDisplayUnit().getElementMultiplicity() == 1 ? "Single" : "Multiple"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + } + + /** + * @see org.eclipse.papyrus.infra.constraints.constraints.AbstractConstraint#equivalent(org.eclipse.papyrus.infra.constraints.constraints.Constraint) + * + * @param constraint + * @return + */ + @Override + protected boolean equivalent(Constraint constraint) { + if (super.equivalent(constraint)) { + return constraint instanceof HasStereotypeSysml14Constraint; + } + return false; + } +}
diff --git a/gui/org.eclipse.papyrus.sysml.ui/src/org/eclipse/papyrus/sysml/ui/paste/PartPasteStrategy.java b/gui/org.eclipse.papyrus.sysml.ui/src/org/eclipse/papyrus/sysml/ui/paste/PartPasteStrategy.java new file mode 100644 index 0000000..f182f5a --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui/src/org/eclipse/papyrus/sysml/ui/paste/PartPasteStrategy.java
@@ -0,0 +1,361 @@ +/***************************************************************************** + * Copyright (c) 2014 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.ui.paste; + +import java.util.Collection; +import java.util.HashMap; +import java.util.Iterator; +import java.util.Map; + +import org.eclipse.emf.common.command.CompoundCommand; +import org.eclipse.emf.common.util.BasicEList; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.emf.edit.domain.EditingDomain; +import org.eclipse.gef.commands.Command; +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.emf.type.core.requests.MoveRequest; +import org.eclipse.gmf.runtime.notation.View; +import org.eclipse.papyrus.commands.wrappers.EMFtoGEFCommandWrapper; +import org.eclipse.papyrus.infra.core.clipboard.IClipboardAdditionalData; +import org.eclipse.papyrus.infra.core.clipboard.PapyrusClipboard; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.gmfdiag.common.strategy.paste.DefaultPasteStrategy; +import org.eclipse.papyrus.infra.gmfdiag.common.strategy.paste.IPasteStrategy; +import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils; +import org.eclipse.papyrus.infra.services.edit.service.IElementEditService; +import org.eclipse.papyrus.sysml.blocks.Block; +import org.eclipse.papyrus.uml.diagram.common.Activator; +import org.eclipse.swt.graphics.Image; +import org.eclipse.uml2.uml.Association; +import org.eclipse.uml2.uml.Classifier; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.Package; +import org.eclipse.uml2.uml.Property; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * Offer a strategy for copying stereotypes. + */ +public class PartPasteStrategy implements IPasteStrategy { + + /** The instance. */ + private static IPasteStrategy instance = new PartPasteStrategy(); + + /** + * Gets the single instance of StereotypePasteStrategy. + * + * @return single instance of StereotypePasteStrategy + */ + public static IPasteStrategy getInstance() { + return instance; + } + + + /* + * (non-Javadoc) + * + * @see org.eclipse.papyrus.infra.gmfdiag.common.strategy.paste.IPasteStrategy#getLabel() + */ + @Override + public String getLabel() { + return "partPasteStrategy"; //$NON-NLS-1$ + } + + /* + * (non-Javadoc) + * + * @see org.eclipse.papyrus.infra.gmfdiag.common.strategy.paste.IPasteStrategy#getID() + */ + @Override + public String getID() { + return Activator.ID + ".partPasteStrategy"; //$NON-NLS-1$ + } + + /* + * (non-Javadoc) + * + * @see org.eclipse.papyrus.infra.gmfdiag.common.strategy.paste.IPasteStrategy#getDescription() + */ + @Override + public String getDescription() { + return "Paste part elements with association"; //$NON-NLS-1$ + } + + /** + * Gets the category id. + * + * @return the category id + */ + public String getCategoryID() { + return "org.eclipse.papyrus.strategy.paste"; //$NON-NLS-1$ + } + + /** + * Gets the category label. + * + * @return the category label + */ + public String getCategoryLabel() { + return "Paste all copied elements"; //$NON-NLS-1$ + } + + /** + * (non-Javadoc) + * @see org.eclipse.papyrus.infra.gmfdiag.common.strategy.paste.IPasteStrategy#getImage() + * @deprecated + */ + @Override + @Deprecated + public Image getImage() { + return null; + } + + + /** (non-Javadoc) + * @see org.eclipse.papyrus.infra.gmfdiag.common.strategy.paste.IPasteStrategy#getPriority() + * @deprecated + */ + @Override + @Deprecated + public int getPriority() { + return 1; + } + + /** + * Sets the options. + * + * @param options + * the options + */ + public void setOptions(Map<String, Object> options) { + // Nothing + } + + /* + * (non-Javadoc) + * + * @see org.eclipse.papyrus.infra.gmfdiag.common.strategy.paste.IPasteStrategy#getSemanticCommand(org.eclipse.emf.edit.domain.EditingDomain, + * org.eclipse.emf.ecore.EObject, org.eclipse.papyrus.infra.core.clipboard.PapyrusClipboard) + */ + @Override + public org.eclipse.emf.common.command.Command getSemanticCommand(EditingDomain domain, EObject targetOwner, PapyrusClipboard<Object> papyrusClipboard) { + if (targetOwner instanceof Classifier || targetOwner instanceof Package) { // test if block or package + // get affiliate AdditionnalData + Map<Object, ?> additionalDataMap = papyrusClipboard.getAdditionalDataForStrategy(getID()); + if (additionalDataMap != null) { + CompoundCommand compoundCommand = new CompoundCommand("Copy associations for parts"); //$NON-NLS-1$ + for (Iterator<Object> iterator = papyrusClipboard.iterator(); iterator.hasNext();) { + Object object = iterator.next(); + EObject target = papyrusClipboard.getTragetCopyFromInternalClipboardCopy(object); + Object additionnalData = additionalDataMap.get(object); + EList<Association> listDuplicatedAssociation = new BasicEList<>(); + EObject associationContainer = null; + if (target instanceof Property && targetOwner instanceof Classifier && additionnalData instanceof PartAdditionalData) { // test if it is a part + Classifier block = (Classifier) targetOwner; + Property property = (Property) target; + PartAdditionalData partAdditionalData = (PartAdditionalData) additionnalData; + Association newAssociation = partAdditionalData.getDuplicatedAssociation(); + restoreAssociationPartContext(block, property, newAssociation); + listDuplicatedAssociation.add(newAssociation); + associationContainer = block.eContainer(); + } else if (target instanceof Classifier && targetOwner instanceof Package && additionnalData instanceof PartBlockAdditionalData) { // test if it is a block + Classifier classifier = (Classifier) target; + EList<Property> allAttributes = classifier.getAllAttributes(); + PartBlockAdditionalData partBlockAdditionalData = (PartBlockAdditionalData) additionnalData; + for (Property property : allAttributes) { + Association duplicatedAssociation = partBlockAdditionalData.getDuplicatedAssociationByPropertyName(property.getName()); + if (duplicatedAssociation != null) { + restoreAssociationPartContext(classifier, property, duplicatedAssociation); + listDuplicatedAssociation.add(duplicatedAssociation); + } + } + associationContainer = targetOwner; + } + if (associationContainer != null && !listDuplicatedAssociation.isEmpty()) { + // add associations to the nearest container + MoveRequest moveRequest = new MoveRequest(associationContainer, listDuplicatedAssociation); + IElementEditService provider = ElementEditServiceUtils.getCommandProvider(targetOwner); + if (provider != null) { + ICommand editCommand = provider.getEditCommand(moveRequest); + GMFtoEMFCommandWrapper gmFtoEMFCommandWrapper = new GMFtoEMFCommandWrapper(editCommand); + compoundCommand.append(gmFtoEMFCommandWrapper); + } + } + } + // An empty command can't be executed + if (compoundCommand.getCommandList().isEmpty()) { + return null; + } + return compoundCommand; + } + } + return null; + } + + + + + + /* + * (non-Javadoc) + * + * @see org.eclipse.papyrus.infra.gmfdiag.common.strategy.paste.IPasteStrategy#getGraphicalCommand(org.eclipse.emf.edit.domain.EditingDomain, + * org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart, org.eclipse.papyrus.infra.core.clipboard.PapyrusClipboard) + */ + @Override + public Command getGraphicalCommand(EditingDomain domain, org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart targetEditPart, PapyrusClipboard<Object> papyrusClipboard) { + View targetView = (View) targetEditPart.getModel(); + EObject targetOwner = targetView.getElement(); + org.eclipse.emf.common.command.Command semanticCommand = getSemanticCommand(domain, targetOwner, papyrusClipboard); + if (semanticCommand != null) { + org.eclipse.gef.commands.CompoundCommand compoundCommand = new org.eclipse.gef.commands.CompoundCommand("Association Part Semantic And Graphical paste"); //$NON-NLS-1$ + EMFtoGEFCommandWrapper emFtoGEFCommandWrapper = new EMFtoGEFCommandWrapper(semanticCommand); + compoundCommand.add(emFtoGEFCommandWrapper); + return compoundCommand; + } + return null; + } + + /* + * (non-Javadoc) + * + * @see org.eclipse.papyrus.infra.gmfdiag.common.strategy.paste.IPasteStrategy#dependsOn() + */ + @Override + public IPasteStrategy dependsOn() { + return DefaultPasteStrategy.getInstance(); + } + + + /* + * (non-Javadoc) + * + * @see org.eclipse.papyrus.infra.gmfdiag.common.strategy.paste.IPasteStrategy#prepare(org.eclipse.papyrus.infra.core.clipboard.PapyrusClipboard) + */ + @Override + public void prepare(PapyrusClipboard<Object> papyrusClipboard, Collection<EObject> selection) { + Map<Object, IClipboardAdditionalData> mapCopyPartData = new HashMap<>(); + for (Iterator<EObject> iterator = papyrusClipboard.iterateOnSource(); iterator.hasNext();) { + EObject eObjectSource = iterator.next(); + if (eObjectSource instanceof Element) { + Element elementSource = (Element) eObjectSource; + IClipboardAdditionalData clipboardAdditionalData = null; + if (elementSource instanceof Property && UMLUtil.getStereotypeApplication(elementSource.getOwner(), Block.class) != null) { // is part + Property propertySource = (Property) elementSource; + Association association = propertySource.getAssociation(); + if (association != null) { + clipboardAdditionalData = new PartAdditionalData(association); + } + } else if (elementSource instanceof Classifier && UMLUtil.getStereotypeApplication(elementSource, Block.class) != null) {// is Block + Classifier block = (Classifier) elementSource; + clipboardAdditionalData = new PartBlockAdditionalData(block); + } + if (clipboardAdditionalData != null) { + Object copy = papyrusClipboard.getCopyFromSource(eObjectSource); + mapCopyPartData.put(copy, clipboardAdditionalData); + } + } + + } + papyrusClipboard.pushAdditionalData(getID(), mapCopyPartData); + } + + + /** + * Duplicate the association + * + * @param association + * @return + */ + protected Association duplicateAssociation(Association association) { + EcoreUtil.Copier copier = new EcoreUtil.Copier(); + copier.copy(association); + return (Association) copier.get(association); + } + + /** + * Init the association in the new context + * + * @param classifier + * @param property + * @param association + */ + protected void restoreAssociationPartContext(Classifier classifier, Property property, Association association) { + EList<Property> memberEnds = association.getMemberEnds(); // should have only one element + if (memberEnds != null ) { + if (!memberEnds.isEmpty()){ + Property blockProperty = memberEnds.get(0); + blockProperty.setType(classifier); + } + memberEnds.add(property); + } + } + + + /** + * The Class PartAdditionalData. + */ + protected class PartAdditionalData implements IClipboardAdditionalData { + + /** The association. */ + protected Association asssociation; + + /** + * @param association + */ + public PartAdditionalData(Association asssociation) { + this.asssociation = duplicateAssociation(asssociation); + } + + /** + * @return a copy of the association + */ + public Association getDuplicatedAssociation() { + return duplicateAssociation(asssociation); + } + + } + + /** + * The Class PartBlockAdditionalData. + */ + protected class PartBlockAdditionalData implements IClipboardAdditionalData { + + /** The associations by property name. */ + protected Map<String, Association> mapPropertyNameToAssociation; + + /** + * @param block + */ + public PartBlockAdditionalData(Classifier block) { + this.mapPropertyNameToAssociation = new HashMap<String, Association>(); + EList<Property> allAttributes = block.getAllAttributes(); + for (Property property : allAttributes) { + Association association = property.getAssociation(); + Association newAssociation = duplicateAssociation(association); + mapPropertyNameToAssociation.put(property.getName(), newAssociation); + } + + } + + /** + * @param propertyName + * @return a copy of the association + */ + public Association getDuplicatedAssociationByPropertyName(String propertyName) { + Association association = mapPropertyNameToAssociation.get(propertyName); + return duplicateAssociation(association); + } + } +}
diff --git a/gui/org.eclipse.papyrus.sysml.ui/src/org/eclipse/papyrus/sysml/ui/queries/property/GetContainedAttributesJavaQuery.java b/gui/org.eclipse.papyrus.sysml.ui/src/org/eclipse/papyrus/sysml/ui/queries/property/GetContainedAttributesJavaQuery.java new file mode 100644 index 0000000..c887957 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui/src/org/eclipse/papyrus/sysml/ui/queries/property/GetContainedAttributesJavaQuery.java
@@ -0,0 +1,47 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Francois Le Fevre francois.le-fevre@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.ui.queries.property; + +import java.util.ArrayList; +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.papyrus.emf.facet.efacet.core.IFacetManager; +import org.eclipse.papyrus.emf.facet.efacet.core.exception.DerivedTypedElementException; +import org.eclipse.papyrus.emf.facet.query.java.core.IJavaQuery2; +import org.eclipse.papyrus.emf.facet.query.java.core.IParameterValueList2; +import org.eclipse.uml2.uml.Property; + + +/** + * Build the facet linked to a typed property for Menu Explorer customisation + * Get the collection of all owned elements of the typed property + * + * @pap.req org.eclipse.papyrus.sysml.ui#REQ_001 + */ +public class GetContainedAttributesJavaQuery implements IJavaQuery2<Property, Collection<EObject>> { + + /* (non-Javadoc) + * @see org.eclipse.papyrus.emf.facet.query.java.core.IJavaQuery2#evaluate(org.eclipse.emf.ecore.EObject, org.eclipse.papyrus.emf.facet.query.java.core.IParameterValueList2, org.eclipse.papyrus.emf.facet.efacet.core.IFacetManager) + * + */ + @Override + public Collection<EObject> evaluate(Property property, IParameterValueList2 parameterValues, IFacetManager facetManager) throws DerivedTypedElementException { + List<EObject> result = new ArrayList<>(); + if(property.getType()!=null){ + result.addAll(property.getType().getOwnedElements()); + } + return result; + } +}
diff --git a/gui/org.eclipse.papyrus.sysml.ui/src/org/eclipse/papyrus/sysml/ui/queries/property/IsTypedPropertyJavaQuery.java b/gui/org.eclipse.papyrus.sysml.ui/src/org/eclipse/papyrus/sysml/ui/queries/property/IsTypedPropertyJavaQuery.java new file mode 100644 index 0000000..a4e6dca --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui/src/org/eclipse/papyrus/sysml/ui/queries/property/IsTypedPropertyJavaQuery.java
@@ -0,0 +1,38 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Francois Le Fevre francois.le-fevre@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.ui.queries.property; + +import org.eclipse.papyrus.emf.facet.efacet.core.IFacetManager; +import org.eclipse.papyrus.emf.facet.efacet.core.exception.DerivedTypedElementException; +import org.eclipse.papyrus.emf.facet.query.java.core.IJavaQuery2; +import org.eclipse.papyrus.emf.facet.query.java.core.IParameterValueList2; +import org.eclipse.uml2.uml.Property; + +/** + * Query used for Menu Explorer customization + * @pap.req org.eclipse.papyrus.sysml.ui#REQ_001 + * + */ +public class IsTypedPropertyJavaQuery implements IJavaQuery2<Property, Boolean> { + + /* (non-Javadoc) + * @see org.eclipse.papyrus.emf.facet.query.java.core.IJavaQuery2#evaluate(org.eclipse.emf.ecore.EObject, org.eclipse.papyrus.emf.facet.query.java.core.IParameterValueList2, org.eclipse.papyrus.emf.facet.efacet.core.IFacetManager) + * + * Return true if the element is a typed property + */ + @Override + public Boolean evaluate(Property source, IParameterValueList2 parameterValues, IFacetManager facetManager) throws DerivedTypedElementException { + return source.getType()!=null; + } + +}
diff --git a/gui/org.eclipse.papyrus.sysml.ui/src/org/eclipse/papyrus/sysml/ui/template/ImportSysMLQUDVLibraryInModel.java b/gui/org.eclipse.papyrus.sysml.ui/src/org/eclipse/papyrus/sysml/ui/template/ImportSysMLQUDVLibraryInModel.java new file mode 100644 index 0000000..a95085e --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui/src/org/eclipse/papyrus/sysml/ui/template/ImportSysMLQUDVLibraryInModel.java
@@ -0,0 +1,91 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.ui.template; + +import java.io.IOException; +import java.util.Collections; + +import org.eclipse.emf.common.command.CommandStack; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.transaction.RecordingCommand; +import org.eclipse.papyrus.infra.core.resource.ModelSet; +import org.eclipse.papyrus.sysml.ui.Activator; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.papyrus.uml.diagram.wizards.transformation.IGenerator; +import org.eclipse.papyrus.uml.tools.model.UmlUtils; +import org.eclipse.uml2.uml.PackageImport; + + +/** + * + * Utility class to provide QUDV in the new model wizard + */ +public class ImportSysMLQUDVLibraryInModel implements IGenerator { + + private ModelSet modelSet; + + private org.eclipse.uml2.uml.Package root; + + private org.eclipse.uml2.uml.Package qudv; + + @Override + public void execute() { + + // Get its resource + Resource umlResource = UmlUtils.getUmlModel(modelSet).getResource(); + + // Select the root element to add the wanted imports + root = (org.eclipse.uml2.uml.Package) umlResource.getContents().get(0); + + URI qudvURI = URI.createURI(SysMLResource.QUDV_LIBRARY_PATH).appendFragment(SysMLResource.QUDV_LIBRARY_ROOT_ID); + qudv = (org.eclipse.uml2.uml.Package) modelSet.getEObject(qudvURI, true); + + // Creates the import packages at the root of the model (elements of type packageImport) + this.getCommandStack(modelSet).execute(new RecordingCommand(modelSet.getTransactionalEditingDomain()) { + + @Override + protected void doExecute() { + PackageImport importPrimitivePack = root.createPackageImport(qudv); + if (!root.getPackageImports().contains(importPrimitivePack)) { + root.getPackageImports().add(importPrimitivePack); + } + + try { + root.eResource().save(Collections.emptyMap()); + } catch (IOException e) { + Activator.getLogHelper().error(e); + } + } + }); + + } + + /** + * @see org.eclipse.papyrus.uml.diagram.wizards.transformation.IGenerator#setModelSet(org.eclipse.papyrus.uml.diagram.wizards.transformation.ModelSet) + * + * @param modelSet + */ + @Override + public void setModelSet(ModelSet modelSet) { + this.modelSet = modelSet; + } + + protected final CommandStack getCommandStack(ModelSet modelSet) { + return modelSet.getTransactionalEditingDomain().getCommandStack(); + } + + public ModelSet getModelSet() { + return this.modelSet; + } + +}
diff --git a/gui/org.eclipse.papyrus.sysml.ui/src/org/eclipse/papyrus/sysml/ui/template/ImportUMLStandardProfileInModel.java b/gui/org.eclipse.papyrus.sysml.ui/src/org/eclipse/papyrus/sysml/ui/template/ImportUMLStandardProfileInModel.java new file mode 100644 index 0000000..6ceea99 --- /dev/null +++ b/gui/org.eclipse.papyrus.sysml.ui/src/org/eclipse/papyrus/sysml/ui/template/ImportUMLStandardProfileInModel.java
@@ -0,0 +1,107 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Benoit Maggi benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.ui.template; + +import java.io.IOException; +import java.util.Collections; + +import org.eclipse.emf.common.command.CommandStack; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.transaction.RecordingCommand; +import org.eclipse.papyrus.infra.core.resource.ModelSet; +import org.eclipse.papyrus.sysml.ui.Activator; +import org.eclipse.papyrus.uml.diagram.wizards.transformation.IGenerator; +import org.eclipse.papyrus.uml.tools.model.UmlUtils; +import org.eclipse.uml2.uml.PackageImport; + + +/** + * Based on org.eclipse.papyrus.uml.templaterepository.ImportUMLPrimitiveTypesInModel + * @deprecated + */ +@Deprecated //FIXME unused since the standard profile is in the default created model 0.8.1 (What about adding it in papyrus core?) +public class ImportUMLStandardProfileInModel implements IGenerator { + + + private ModelSet modelSet; + + private org.eclipse.uml2.uml.Package rootElement; + + private EObject standardProfile; + + /** + * @see org.eclipse.papyrus.uml.diagram.wizards.transformation.IGenerator#setModelSet(org.eclipse.papyrus.uml.diagram.wizards.transformation.ModelSet) + * + * @param modelSet + */ + @Override + public void setModelSet(ModelSet modelSet) { + this.modelSet = modelSet; + } + + /** + * @param modelSet + * the current model set + * @return the associated command stack + */ + protected final CommandStack getCommandStack(ModelSet modelSet) { + return modelSet.getTransactionalEditingDomain().getCommandStack(); + } + + /** + * @return the model set + */ + public ModelSet getModelSet() { + return this.modelSet; + } + + /** + * @see org.eclipse.papyrus.uml.diagram.wizards.transformation.IGenerator#execute() + * + */ + @Override + public void execute() { + Resource umlResource = UmlUtils.getUmlModel(modelSet).getResource(); + + // Select the root element to add the wanted imports + rootElement = (org.eclipse.uml2.uml.Model) umlResource.getContents().get(0); + + // Load the needed libraries. + URI standardProfileURI = URI.createURI("pathmap://UML_PROFILES/Standard.profile.uml").appendFragment("_0"); //$NON-NLS-1$ //$NON-NLS-2$ + standardProfile = modelSet.getEObject(standardProfileURI, true); + + // Creates the import packages at the root of the model (elements of type packageImport) + this.getCommandStack(modelSet).execute(new RecordingCommand(modelSet.getTransactionalEditingDomain()) { + + @Override + protected void doExecute() { + + PackageImport importPrimitivePack = rootElement.createPackageImport((org.eclipse.uml2.uml.Package) standardProfile); + if (!rootElement.getPackageImports().contains(importPrimitivePack)) { + rootElement.getPackageImports().add(importPrimitivePack); + } + + try { + rootElement.eResource().save(Collections.emptyMap()); + } catch (IOException e) { + Activator.getLogHelper().error(e); + } + } + }); + + } + + + +}
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture.tests/.project b/gui/org.eclipse.papyrus.sysml14.architecture.tests/.project deleted file mode 100644 index f84bce6..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture.tests/.project +++ /dev/null
@@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.architecture.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> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription>
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture.tests/META-INF/MANIFEST.MF b/gui/org.eclipse.papyrus.sysml14.architecture.tests/META-INF/MANIFEST.MF deleted file mode 100644 index 2f5c013..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture.tests/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,13 +0,0 @@ -Bundle-ActivationPolicy: lazy -Manifest-Version: 1.0 -Fragment-Host: org.eclipse.papyrus.sysml14.architecture;bundle-version="1.0.0" -Bundle-Vendor: %Bundle-Vendor -Bundle-Version: 1.2.0.qualifier -Bundle-Name: %Bundle-Name -Bundle-Description: %Bundle-Description -Bundle-Localization: plugin -Bundle-ManifestVersion: 2 -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.architecture.tests -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Require-Bundle: org.junit;bundle-version="[4.11.0,5.0.0)" -
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture.tests/plugin.properties b/gui/org.eclipse.papyrus.sysml14.architecture.tests/plugin.properties deleted file mode 100644 index 999e708..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture.tests/plugin.properties +++ /dev/null
@@ -1,14 +0,0 @@ -################################################################################# -# Copyright (c) 2017 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: -# -# CEA LIST - Initial API and Implementation. -# -################################################################################## -Bundle-Name=Papyrus SysML 1.4 Architecture Tests -Bundle-Vendor=Eclipse Modeling Project
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture.tests/pom.xml b/gui/org.eclipse.papyrus.sysml14.architecture.tests/pom.xml deleted file mode 100644 index e18a93e..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture.tests/pom.xml +++ /dev/null
@@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.eclipse.papyrus.sysml</groupId> - <artifactId>org.eclipse.papyrus.sysml14.gui</artifactId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.architecture.tests</artifactId> - <packaging>eclipse-test-plugin</packaging> - <description>All unit tests related to the SysML 1.4 architecture</description> -</project>
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture.tests/test/org/eclipse/papyrus/sysml14/architecture/tests/resources/ArchitectureValidationTest.java b/gui/org.eclipse.papyrus.sysml14.architecture.tests/test/org/eclipse/papyrus/sysml14/architecture/tests/resources/ArchitectureValidationTest.java deleted file mode 100644 index 87c4706..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture.tests/test/org/eclipse/papyrus/sysml14/architecture/tests/resources/ArchitectureValidationTest.java +++ /dev/null
@@ -1,79 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.architecture.tests.resources; - -import java.lang.reflect.Method; - -import org.eclipse.emf.common.util.TreeIterator; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.ecore.xmi.XMIResource; -import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; -import org.junit.Assert; -import org.junit.BeforeClass; -import org.junit.Test; - -/** - * Test the architecture model : - validate the model - * - * @author Benoit Maggi - */ -@SuppressWarnings("nls") -public class ArchitectureValidationTest { - - public static final String ARCHITECTURE_PATH = "org.eclipse.papyrus.sysml14.architecture/resources/sysml14.architecture"; - - @BeforeClass - public static void loadElementTypeSet() { - ElementTypeSetConfigurationRegistry.getInstance(); - } - - /** - * Check that if an element has a field id then xmi:id should be the same - */ - @Test - public void checkXMIIds() { - URI createPlatformPluginURI = URI.createPlatformPluginURI(ARCHITECTURE_PATH, true); - ResourceSetImpl resourceSetImpl = new ResourceSetImpl(); - Resource resource = resourceSetImpl.getResource(createPlatformPluginURI, true); - - TreeIterator<EObject> allContents = resource.getAllContents(); - while (allContents.hasNext()) { - EObject eObject = (EObject) allContents.next(); - - String id = getId(eObject); - String xmiId = ((XMIResource) resource).getID(eObject); - if (id != null) { - Assert.assertEquals("Xmi id and id field should be the same", id, xmiId); - } - } - } - - // SMALL hack to get id if present - // TODO: Would be nice to have an IIdentifiedElement interface in the MetaModel - public static String getId(Object obj) { - try { - Method method = obj.getClass().getMethod("getId"); - if (method != null) { - return method.invoke(obj).toString(); - } - } catch (Exception e) { - // doesn't matter - } - return null; - } - -}
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture.tests/test/org/eclipse/papyrus/sysml14/architecture/tests/resources/ModelValidationTest.java b/gui/org.eclipse.papyrus.sysml14.architecture.tests/test/org/eclipse/papyrus/sysml14/architecture/tests/resources/ModelValidationTest.java deleted file mode 100644 index c4c6eaf..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture.tests/test/org/eclipse/papyrus/sysml14/architecture/tests/resources/ModelValidationTest.java +++ /dev/null
@@ -1,78 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.architecture.tests.resources; - -import java.util.Arrays; -import java.util.Collection; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.ecore.util.Diagnostician; -import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; -import org.eclipse.papyrus.sysml14.architecture.Activator; -import org.junit.Assert; -import org.junit.BeforeClass; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.Parameterized; -import org.junit.runners.Parameterized.Parameters; - -/** - * This is a parameterized test to validate all model in the plugin - * - * @author Benoit Maggi - */ -@SuppressWarnings("nls") -@RunWith(Parameterized.class) -public class ModelValidationTest { - - @Parameters - public static Collection<Object[]> data() { - return Arrays.asList(new Object[][] { - {"/resources/sysml14.architecture"}, - {"/resources/SysMLAnnotation.paletteconfiguration"}, - {"/resources/SysMLStructure.paletteconfiguration"}, - {"/resources/SysMLViewpoint.paletteconfiguration"}, - {"/resources/SysMLSequence.paletteconfiguration"}, - {"/resources/SysMLStateMachine.paletteconfiguration"}, - {"/resources/SysMLUseCase.paletteconfiguration"}, - }); - } - - private String modelPath; - - public ModelValidationTest(String modelPath) { - this.modelPath = modelPath; - } - - @BeforeClass - public static void loadElementTypeSet(){ - ElementTypeSetConfigurationRegistry.getInstance(); - } - - /** - * Validate the model with the rules defined in the meta-model tooling - */ - @Test - public void validateModel() { - String fullPath = Activator.PLUGIN_ID + this.modelPath; - URI modelPlatformURI = URI.createPlatformPluginURI(fullPath, true); - Resource resource = new ResourceSetImpl().getResource(modelPlatformURI, true); - Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); - Assert.assertEquals("The "+modelPath+" model is invalid ", Diagnostic.OK, diagnostic.getSeverity()); - } - -}
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture.tests/test/org/eclipse/papyrus/sysml14/architecture/tests/util/SysML14chitectureUtilTest.java b/gui/org.eclipse.papyrus.sysml14.architecture.tests/test/org/eclipse/papyrus/sysml14/architecture/tests/util/SysML14chitectureUtilTest.java deleted file mode 100644 index 8dde736..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture.tests/test/org/eclipse/papyrus/sysml14/architecture/tests/util/SysML14chitectureUtilTest.java +++ /dev/null
@@ -1,98 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.architecture.tests.util; - -import java.util.Arrays; -import java.util.Collection; -import java.util.HashMap; -import java.util.Map; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.papyrus.infra.core.architecture.ArchitectureContext; -import org.eclipse.papyrus.infra.core.architecture.ArchitectureDomain; -import org.eclipse.papyrus.infra.core.architecture.ArchitectureViewpoint; -import org.eclipse.papyrus.infra.core.architecture.RepresentationKind; -import org.eclipse.papyrus.sysml14.architecture.util.SysML14chitectureUtil; -import org.junit.Assert; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.Parameterized; -import org.junit.runners.Parameterized.Parameters; - -@SuppressWarnings("nls") -@RunWith(Parameterized.class) -public class SysML14chitectureUtilTest { - - public static final String ARCHITECTURE_PATH = "org.eclipse.papyrus.sysml14.architecture/resources/sysml14.architecture"; - - @Parameters - public static Collection<Object[]> data() { - return Arrays.asList(new Object[][] { - {SysML14chitectureUtil.DIAGRAM_ACTIVITY_ID}, - {SysML14chitectureUtil.DIAGRAM_BLOCK_DEFINITION_ID}, - {SysML14chitectureUtil.DIAGRAM_SEQUENCE_ID}, - {SysML14chitectureUtil.DIAGRAM_INTERNAL_BLOCK_ID}, - {SysML14chitectureUtil.DIAGRAM_PACKAGE_ID}, - {SysML14chitectureUtil.DIAGRAM_PARAMETRIC_ID}, - {SysML14chitectureUtil.DIAGRAM_REQUIREMENT_ID}, - {SysML14chitectureUtil.DIAGRAM_STATE_MACHINE_ID}, - {SysML14chitectureUtil.DIAGRAM_USE_CASE_ID}, - {SysML14chitectureUtil.TABLE_REQUIREMENT_ID}, - {SysML14chitectureUtil.TABLE_REQUIREMENT_TREE_ID}, - {SysML14chitectureUtil.TABLE_ALLOCATION_ID}, - }); - } - - private String representationId; - - public SysML14chitectureUtilTest(String representationId) { - this.representationId = representationId; - } - - /** - * Check that constant are referring to an existing element - */ - @Test - public void checkRepresentationIds() { - URI createPlatformPluginURI = URI.createPlatformPluginURI(ARCHITECTURE_PATH, true); - ResourceSetImpl resourceSetImpl = new ResourceSetImpl(); - Resource resource = resourceSetImpl.getResource(createPlatformPluginURI, true); - Assert.assertFalse("SysML 1.4 architecture should not be empty", resource.getContents().isEmpty()); - EObject firstEObject = resource.getContents().get(0); - Assert.assertTrue("First element of architecture should be an ArchitectureDomain", firstEObject instanceof ArchitectureDomain); - ArchitectureDomain architectureDomain = (ArchitectureDomain) firstEObject; - Assert.assertNotNull("Unknow representation id "+representationId,getRepresentationKindById(architectureDomain, representationId)); - } - - - /////////////////////////////////////////////////////////////////////////////// - // FIXME: should be in Papyrus core API - protected RepresentationKind getRepresentationKindById(ArchitectureDomain architectureDomain,String id) { - Map<String,RepresentationKind> allRepresentationKind = new HashMap<>(); - EList<ArchitectureContext> contexts = architectureDomain.getContexts(); - for (ArchitectureContext architectureContext : contexts) { - EList<ArchitectureViewpoint> viewpoints = architectureContext.getViewpoints(); - for (ArchitectureViewpoint architectureViewpoint : viewpoints) { - for (RepresentationKind representationKind : architectureViewpoint.getRepresentationKinds()) { - allRepresentationKind.put(representationKind.getId(), representationKind); - } - } - } - return allRepresentationKind.get(id); - } - //////////////////////////////////////////////////////////////////////////////// -}
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/.project b/gui/org.eclipse.papyrus.sysml14.architecture/.project deleted file mode 100644 index 154d593..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture/.project +++ /dev/null
@@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.architecture</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/gui/org.eclipse.papyrus.sysml14.architecture/META-INF/MANIFEST.MF b/gui/org.eclipse.papyrus.sysml14.architecture/META-INF/MANIFEST.MF deleted file mode 100644 index 3aabac9..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,35 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %Bundle-Name -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.architecture;singleton:=true -Bundle-Version: 1.2.0.qualifier -Bundle-Vendor: %Bundle-Vendor -Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Require-Bundle: org.eclipse.gmf.runtime.emf.core;bundle-version="[1.7.0,2.0.0)", - org.eclipse.gmf.runtime.emf.type.core;bundle-version="[1.9.0,2.0.0)", - org.eclipse.gmf.runtime.notation;bundle-version="[1.8.0,2.0.0)", - org.eclipse.papyrus.infra.core.architecture;bundle-version="[1.0.0,2.0.0)", - org.eclipse.papyrus.infra.gmfdiag.representation;bundle-version="[1.0.0,2.0.0)", - org.eclipse.papyrus.infra.viewpoints.policy;bundle-version="[2.0.0,3.0.0)", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.nattable.common;bundle-version="3.0.0", - org.eclipse.papyrus.uml.architecture;bundle-version="[1.0.0,2.0.0)", - org.eclipse.papyrus.uml.diagram.common;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.tools;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.sysml14;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.diagram.blockdefinition;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.diagram.common;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.diagram.internalblock;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.diagram.parametric;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.diagram.requirement;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.edit;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.nattable.allocation;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.nattable.common;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.nattable.requirement;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.nattable.ui;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.service.types;bundle-version="1.0.0" -Export-Package: org.eclipse.papyrus.sysml14.architecture, - org.eclipse.papyrus.sysml14.architecture.internal;x-internal:=true, - org.eclipse.papyrus.sysml14.architecture.internal.migration;x-internal:=true, - org.eclipse.papyrus.sysml14.architecture.util
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/README.md b/gui/org.eclipse.papyrus.sysml14.architecture/README.md deleted file mode 100644 index e181b8e..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture/README.md +++ /dev/null
@@ -1,16 +0,0 @@ -org.eclipse.papyrus.sysml14.architecture -======================================= - -* Palettes are defined based on chapters " X.y Diagram Elements" - -* SysML uses orange copies of UML icons -** dark orange: f46800 -** light orange: f6b200 - -* Process to create the new icons: (Should be improved) -** Open the UML . gif with paint.net -** Change the color -** Save (now the display is correct in model explorer but not in new Diagram/Table menu) -** Open the icon with GIMP -** Export as GIF (now works in both use case) -
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/plugin.properties b/gui/org.eclipse.papyrus.sysml14.architecture/plugin.properties deleted file mode 100644 index adb2a89..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture/plugin.properties +++ /dev/null
@@ -1,15 +0,0 @@ -################################################################################# -# Copyright (c) 2017 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: -# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation -################################################################################## -Bundle-Name= Papyrus SysML 1.4 Architecture -Bundle-Description=This plug-in contains the SysML 1.4 Architecture -Bundle-Vendor=Eclipse Modeling Project - -
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/plugin.xml b/gui/org.eclipse.papyrus.sysml14.architecture/plugin.xml deleted file mode 100644 index 814731d..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture/plugin.xml +++ /dev/null
@@ -1,48 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?eclipse version="3.4"?> -<plugin> - <extension point="org.eclipse.papyrus.infra.architecture.models"> - <model path="resources/sysml14.architecture"/> - </extension> - <extension - point="org.eclipse.gmf.runtime.emf.type.core.elementTypeBindings"> - <clientContext - id="org.eclipse.papyrus.sysml.architecture.SysML14"> - <matcher - class="org.eclipse.papyrus.sysml14.architecture.internal.NoContextEnablementMatcher"> - </matcher> - </clientContext> - <binding context="org.eclipse.papyrus.sysml.architecture.SysML14"> - <!-- ElementType that deals with View deletion when their related model element is deleted --> - <elementType ref="org.eclipse.gmf.runtime.diagram.core.advice.notationDepdendents"/> - <elementType ref="org.eclipse.gmf.runtime.diagram.core.advice.removeBookmarks"/> - <!-- Check for attempts to edit read-only objects that cannot reasonably be made writeable. --> - <advice ref="org.eclipse.papyrus.infra.emf.readOnlyAdvice" /> - <!-- Delete markers attached to objects being deleted. --> - </binding> - </extension> - - <extension - point="org.eclipse.papyrus.infra.gmfdiag.common.diagramReconciler"> - <diagramReconciler - diagramType="CompositeStructure" - reconcilerClass="org.eclipse.papyrus.sysml14.architecture.internal.migration.SysMLNeonToOxygenDiagramReconciler" - source="1.2.0" - target="1.3.0"> - </diagramReconciler> - <diagramReconciler - diagramType="PapyrusUMLClassDiagram" - reconcilerClass="org.eclipse.papyrus.sysml14.architecture.internal.migration.SysMLNeonToOxygenDiagramReconciler" - source="1.2.0" - target="1.3.0"> - </diagramReconciler> - </extension> - <extension - point="org.eclipse.papyrus.infra.nattable.common.tableReconciler"> - <tableReconciler - reconcilerClass="org.eclipse.papyrus.sysml14.architecture.internal.migration.SysMLNeonToOxygenTableReconciler" - source="1.0.0" - target="1.3.0"> - </tableReconciler> - </extension> -</plugin>
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/pom.xml b/gui/org.eclipse.papyrus.sysml14.architecture/pom.xml deleted file mode 100644 index 6b96c6c..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture/pom.xml +++ /dev/null
@@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <modelVersion>4.0.0</modelVersion> - <parent> - <artifactId>org.eclipse.papyrus.sysml14.gui</artifactId> - <groupId>org.eclipse.papyrus.sysml</groupId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.architecture</artifactId> - <packaging>eclipse-plugin</packaging> -</project> \ No newline at end of file
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/resources/SysMLActivity.paletteconfiguration b/gui/org.eclipse.papyrus.sysml14.architecture/resources/SysMLActivity.paletteconfiguration deleted file mode 100644 index 10dbaf1..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture/resources/SysMLActivity.paletteconfiguration +++ /dev/null
@@ -1,499 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<paletteconfiguration:PaletteConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:paletteconfiguration="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.8" id="org.eclipse.papyrus.sysml.palette.activity" label="SysML 1.4 Activity Palette" description="This is the palette providing elements from SysML 1.4 chapter 11.2.1 Activity Diagram"> - <drawerConfigurations id="org.eclipse.papyrus.sysML.palette.activity.drawer" label="Activity" description="Elements from SysML 1.4 chapter 11.2.1 Activity Diagram"> - <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> - <ownedConfigurations xsi:type="paletteconfiguration:StackConfiguration" id="Stack_1504510306740" label="Stack"> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.accepteventaction" label="Accept Event Action" description="Create an Accept Event Action node"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/AcceptEventAction.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.AcceptEventAction_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.invocationactions.callbehavioraction" label="Call Behavior Action" description="Create an Call Behavior Action node"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/CallBehaviorAction.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.CallBehaviorAction_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.invocationactions.sendsignalaction" label="Send Signal Action" description="Create a Send Signal Action node"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/SendSignalAction.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.SendSignalAction_Shape"/> - </elementDescriptors> - </ownedConfigurations> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.activity" label="Activity" description="Create an Activity"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Activity.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Activity_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Activity_Shape_CN"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.controlnodes.activityfinal" label="Activity Final" description="Create an Activity final node"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ActivityFinalNode.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActivityFinalNode_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.activityparameternode" label="Activity Parameter Node" description="Create an Activity Parameter Node"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ActivityParameterNode.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActivityParameterNode_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.centralbuffernode" label="Central Buffer Node" description="Create a Central Buffer Node"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/DataStoreNode.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.CentralBufferNode_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:StackConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.stack.rate" label="Stack"> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.controlflow" label="Control Flow" description="Create a Control Flow" kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ControlFlow.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ControlFlow_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.edge.continuous" label="Continuous Control Flow" kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ControlFlow.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ContinuousControlFlow_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.edge.rate" label="Rate Control Flow" kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ControlFlow.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.RateControlFlow_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.edge.discrete" label="Discrete Control Flow" kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ControlFlow.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.DiscreteControlFlow_Edge"/> - </elementDescriptors> - </ownedConfigurations> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.datastorenode" label="Data Store Node" description="Create a Data Store Node"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/DataStoreNode.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.DataStoreNode_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:StackConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.controlnodes" label="ControlNodes"> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.controlnodes.initialnode" label="Initial node" description="Create an Initial node"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/InitialNode.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InitialNode_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.controlnodes.flowfinal" label="Flow final" description="Create a Flow final node"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/FlowFinalNode.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.FlowFinalNode_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.controlnodes.decisionnode" label="Decision node" description="Create a Decision node"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/DecisionNode.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.DecisionNode_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.controlnodes.mergenode" label="Merge node" description="Create a Merge node"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/MergeNode.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.MergeNode_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.controlnodes.joinnode" label="Join node" description="Create a Merge node"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/JoinNode.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.JoinNode_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.controlnodes.forknode" label="Fork node" description="Create a Fork node"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ForkNode.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ForkNode_Shape"/> - </elementDescriptors> - </ownedConfigurations> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:StackConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.constraints" label="Constraints"> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.constraints.localpreconditionconstraint" label="Local Precondition Constraint" description="Create a Constraint as Local Precondition for an Action"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Constraint.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_LocalPreconditionShape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.constraints.localpreconditionintervalconstraint" label="Local Precondition Interval Constraint" description="Create an Interval Constraint as Local Precondition for an Action"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/IntervalConstraint.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.IntervalConstraint_LocalPreconditionShape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.constraints.localpreconditiondurationconstraint" label="Local Precondition Duration Constraint" description="Create a Duration Constraint as Local Precondition for an Action"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/DurationConstraint.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.DurationConstraint_LocalPreconditionShape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.constraints.localpreconditiontimeconstraint" label="Local Precondition Time Constraint" description="Create a Time Constraint as Local Precondition for an Action"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/TimeConstraint.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.TimeConstraint_LocalPreconditionShape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.constraints.localpostconditionconstraint" label="Local Postcondition Constraint" description="Create a Constraint as Local Postcondition for an Action"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Constraint.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_LocalPostconditionShape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.constraints.localpostconditionintervalconstraint" label="Local Postcondition Interval Constraint" description="Create an Interval Constraint as Local Postcondition for an Action"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/IntervalConstraint.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.IntervalConstraint_LocalPostconditionShape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.constraints.localpostconditiondurationconstraint" label="Local Postcondition Duration Constraint" description="Create a Duration Constraint as Local Postcondition for an Action"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/DurationConstraint.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.DurationConstraint_LocalPostconditionShape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.constraints.localpostconditiontimeconstraint" label="Local Postcondition Time Constraint" description="Create a Time Constraint as Local Postcondition for an Action"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/TimeConstraint.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.TimeConstraint_LocalPostconditionShape"/> - </elementDescriptors> - </ownedConfigurations> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.objectflow" label="Object Flow" description="Create an Object Flow" kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ObjectFlow.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ObjectFlow_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:StackConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.pins" label="Pins"> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.pins.outputpin" label="Output Pin" description="Create an Output Pin"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/OutputPin.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_OpaqueActionOutputShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_CallBehaviorActionResultShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_CallOperationActionResultShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_AcceptEventActionResultShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_ValueSpecificationActionResultShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_ReadSelfActionResultShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_StartObjectBehaviorActionResultShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_TestIdentityActionResultShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_ClearStructuralFeatureActionResultShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_ReadLinkActionResultShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_ReadExtentActionResultShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_ReadIsClassifiedObjectActionResultShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_ReduceActionResultShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_AddStructuralFeatureValueActionResultShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_LoopNodeBodyOutputShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_LoopNodeVariableShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_LoopNodeResultShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_StructuredActivityNodeOutputShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.OutputPin_CreateLinkObjectActionResultShape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.pins.inputpin" label="Input Pin" description="Create an Input Pin"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/InputPin.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_OpaqueActionInputShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_CallBehaviorActionArgumentShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_CallOperationActionArgumentShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_SendSignalActionArgumentShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_StartObjectBehaviorActionObjectShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_StartObjectBehaviorActionArgumentShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_TestIdentityActionFirstShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_TestIdentityActionSecondShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_ClearStructuralFeatureActionObjectShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_CreateLinkActionInputShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_ReadLinkActionInputShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_DestroyLinkActionInputShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_ReclassifyObjectActionObjectShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_ReadIsClassifiedObjectActionObjectShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_ReduceActionCollectionShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_StartClassifierBehaviorActionObjectShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_DestroyObjectActionTargetShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_AddVariableValueActionInsertAtShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_AddVariableValueActionValueShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_BroadcastSignalActionArgumentShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_AddStructuralFeatureValueActionObjectShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_AddStructuralFeatureValueActionValueShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_AddStructuralFeatureValueActionInsertAtShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_LoopNodeVariableInputShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_ReadStructuralFeatureActionObjectShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_StructuredActivityNodeInputShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InputPin_CreateLinkObjectActionInputShape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.pins.actioninputpin" label="Action Input Pin" description="Create an Action Input Pin"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ActionInputPin.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_OpaqueActionInputShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_CallBehaviorActionArgumentShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_CallOperationActionArgumentShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_SendSignalActionArgumentShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_StartObjectBehaviorActionObjectShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_StartObjectBehaviorActionArgumentShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_TestIdentityActionFirstShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_TestIdentityActionSecondShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_ClearStructuralFeatureActionObjectShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_CreateLinkActionInputShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_ReadLinkActionInputShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_DestroyLinkActionInputShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_ClearAssociationActionObjectShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_ReclassifyObjectActionObjectShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_ReadIsClassifiedObjectActionObjectShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_ReduceActionCollectionShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_StartClassifierBehaviorActionObjectShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_DestroyObjectActionTargetShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_AddVariableValueActionInsertAtShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_AddVariableValueActionValueShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_BroadcastSignalActionArgumentShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_AddStructuralFeatureValueActionObjectShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_AddStructuralFeatureValueActionValueShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_AddStructuralFeatureValueActionInsertAtShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_LoopNodeVariableInputShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_StructuredActivityNodeInputShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_CreateLinkObjectActionInputShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionInputPin_ReadStructuralFeatureActionObjectShape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.activity.pins.valuepin" label="Value Pin" description="Create a Value Pin"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ValuePin.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_OpaqueActionInputShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_CallBehaviorActionArgumentShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_CallOperationActionArgumentShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_SendSignalActionArgumentShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_StartObjectBehaviorActionObjectShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_StartObjectBehaviorActionArgumentShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_TestIdentityActionFirstShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_TestIdentityActionSecondShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_ClearStructuralFeatureActionObjectShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_CreateLinkActionInputShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_ReadLinkActionInputShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_DestroyLinkActionInputShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_ClearAssociationActionObjectShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_ReclassifyObjectActionObjectShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_ReadIsClassifiedObjectActionObjectShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_ReduceActionCollectionShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_StartClassifierBehaviorActionObjectShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_DestroyObjectActionTargetShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_AddVariableValueActionInsertAtShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_AddVariableValueActionValueShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_BroadcastSignalActionArgumentShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_AddStructuralFeatureValueActionObjectShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_AddStructuralFeatureValueActionValueShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_AddStructuralFeatureValueActionInsertAtShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_LoopNodeVariableInputShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_StructuredActivityNodeInputShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_CreateLinkObjectActionInputShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ValuePin_ReadStructuralFeatureActionObjectShape"/> - </elementDescriptors> - </ownedConfigurations> - </ownedConfigurations> - </drawerConfigurations> -</paletteconfiguration:PaletteConfiguration>
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/resources/SysMLAnnotation.paletteconfiguration b/gui/org.eclipse.papyrus.sysml14.architecture/resources/SysMLAnnotation.paletteconfiguration deleted file mode 100644 index ab4d783..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture/resources/SysMLAnnotation.paletteconfiguration +++ /dev/null
@@ -1,102 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<paletteconfiguration:PaletteConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:paletteconfiguration="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.8" id="org.eclipse.papyrus.sysML.palette.commonmodel" label="SysML REQ Palette"> - <drawerConfigurations id="org.eclipse.papyrus.sysML.palette.annotations.nodes" label="General Annotations" description="Annotations listed in SysML 1.4 chapter 7.2 Diagram Elements"> - <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.annotations.abstraction" label="Abstraction" description="An Abstraction is a Relationship that relates two Elements or sets of Elements that represent the same concept at different levels of abstraction or from different viewpoints." kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Abstraction.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Abstraction_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.annotations.Comment" label="Comment" description="A Comment is a textual annotation that can be attached to a set of Elements."> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Comment.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Comment_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Comment_Shape_CN"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.annotations.Constraint" label="Constraint" description="A Constraint is a condition or restriction expressed in natural language text or in a machine readable language."> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Constraint.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_Shape_CN"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_Shape_CCN"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_PackagedElementShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_PackagedElementShape_CN"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Constraint_Label"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.annotations.contextlink" label="Context Link" description="A Context link move a Constraint in the context of the linked element." kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Association.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_ContextEdge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.annotations.Dependency" label="Dependency" description="A Dependency is a Relationship that signifies that a single model Element or a set of model Elements requires other model Elements for their specification or implementation. This means that the complete semantics of the client Element(s) are either semantically or structurally dependent on the definition of the supplier Element(s)." kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Dependency.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Dependency_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.annotations.ElementGroup" label="ElementGroup" description="The ElementGroup stereotype provides a lightweight mechanism for grouping various and possibly heterogeneous model"> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="icons/full/obj16/ElementGroup.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ElementGroup_Comment_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.ElementGroup_Comment_Shape_CN"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.annotations.Link" label="Link" description="A Link draw a line between an element and a Comment/Constraint" kind="ConnectionTool"> - <icon pluginID="org.eclipse.papyrus.uml.diagram.clazz" iconPath="icons/obj16/Link.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Constraint_ConstrainedElementEdge"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Comment_AnnotatedElementEdge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.annotations.Problem" label="Problem" description="A Problem documents a deficiency, limitation, or failure of one or more model elements to satisfy a requirement or need,"> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="icons/full/obj16/Problem.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Problem_Comment_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Problem_Comment_Shape_CN"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.annotations.Rationale" label="Rationale" description="A Rationale documents the justification for decisions and the requirements, design, and other decisions."> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="icons/full/obj16/Rationale.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Rationale_Comment_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Rationale_Comment_Shape_CN"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.annotations.Realization" label="Realization" description="Realization is a specialized Abstraction relationship between two sets of model Elements, one representing a specification (the supplier) and the other represents an implementation of the latter (the client)." kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Realization.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Realization_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.annotations.Refine_Abstraction" label="Refine" description="The Refine stereotype specializes UML4SysML Refine and DirectedRelationshipPropertyPath to enable refinements to identify their sources and targets by a multi-level path of accessible properties from context blocks for the sources and targets." kind="ConnectionTool"> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="icons/full/obj16/Refine.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Refine_Abstraction_Abstraction_Edge"/> - </elementDescriptors> - </ownedConfigurations> - </drawerConfigurations> -</paletteconfiguration:PaletteConfiguration>
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/resources/SysMLSequence.paletteconfiguration b/gui/org.eclipse.papyrus.sysml14.architecture/resources/SysMLSequence.paletteconfiguration deleted file mode 100644 index 4d76749..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture/resources/SysMLSequence.paletteconfiguration +++ /dev/null
@@ -1,141 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<paletteconfiguration:PaletteConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:paletteconfiguration="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.8" id="org.eclipse.papyrus.uml.diagram.sequence.paletteconfiguration" label="UML Plugin Palette" description="This is the palette of UML Plugin"> - <drawerConfigurations id="org.eclipse.papyrus.sysML.palette.sequence.drawer" label="Sequence" description="Elements from SysML 1.4 chapter 12.2.1 Sequence Diagram"> - <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.actionexecutionspecification" label="Action Execution Specification" description="Create an Action Execution Specification"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ActionExecutionSpecification.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ActionExecutionSpecification_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.behaviorexecutionspecification" label="Behavior Execution Specification" description="Create an BehaviorExecutionSpecification"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/BehaviorExecutionSpecification.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.BehaviorExecutionSpecification_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.CombinedFragment" label="Combined Fragment" description="Create Combined Fragment"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/CombinedFragment.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.CombinedFragment_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.ConsiderIgnoreFragment" label="Consider Ignore Fragment" description="Create a Consider Ignore Fragment"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ConsiderIgnoreFragment.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ConsiderIgnoreFragment_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.Continuation" label="Continuation" description="Create Continuation"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Continuation.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Continuation_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.DurationObservation" label="Duration Observation" description="Create a Duration Observation on a Message"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/DurationObservation.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.DurationObservation_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.DurationConstraint" label="Duration Constraint" description="Create a Duration Constraint"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/DurationConstraint.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.DurationConstraint_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.DurationConstraint_Shape_CN"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.Gate" label="Gate" description="New create a gate"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Gate.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Gate_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.GeneralOrdering" label="General Ordering" description="Create GeneralOrdering" kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/GeneralOrdering.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.GeneralOrdering_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.InteractionUse" label="InteractionUse" description="Create InteractionUse"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/InteractionUse.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InteractionUse_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.InteractionOperand" label="Interaction Operand" description="Create Interaction Operand"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/InteractionOperand.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.InteractionOperand_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.Lifeline" label="Lifeline" description="Create a Lifeline"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Lifeline.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Lifeline_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.MessageAsync" label="Message Async" description="Create MessageAsync" kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Message_asynchCall.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Message_AsynchEdge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.MessageCreate" label="Message Create" description="Create MessageCreate" kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Message_createMessage.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Message_CreateEdge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.MessageDelete" label="Message Delete" description="Create MessageDelete" kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Message_deleteMessage.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Message_DeleteEdge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.MessageFound" label="Message Found" description="Create MessageFound" kind="ConnectionTool" toolClassName="org.eclipse.papyrus.uml.diagram.sequence.tools.MessageLostFoundConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Message.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Message_FoundEdge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.MessageLost" label="Message Lost" description="Create MessageLost" kind="ConnectionTool" toolClassName="org.eclipse.papyrus.uml.diagram.sequence.tools.MessageLostFoundConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Message.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Message_LostEdge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.MessageReply" label="Message Reply" description="Create MessageReply" kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Message_reply.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Message_ReplyEdge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.MessageSync" label="Message Sync" description="Create MessageSync" kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Message_synchCall.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Message_SynchEdge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.StateInvariant" label="StateInvariant" description="Create StateInvariant"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/StateInvariant.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.StateInvariant_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.TimeConstraint" label="Time Constraint" description="Create a Time Constraint"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/TimeConstraint.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.TimeConstraint_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.sequence.TimeObservation" label="Time Observation" description="Create a Time Observation"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/TimeObservation.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.TimeObservation_Shape"/> - </elementDescriptors> - </ownedConfigurations> - </drawerConfigurations> -</paletteconfiguration:PaletteConfiguration>
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/resources/SysMLStateMachine.paletteconfiguration b/gui/org.eclipse.papyrus.sysml14.architecture/resources/SysMLStateMachine.paletteconfiguration deleted file mode 100644 index 00e7618..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture/resources/SysMLStateMachine.paletteconfiguration +++ /dev/null
@@ -1,90 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<paletteconfiguration:PaletteConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:paletteconfiguration="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.8" id="org.eclipse.papyrus.sysML.palette.stateMachine" label="SysML 1.4 StateMachine Palette" description="This is the SysML 1.4 version of the StateMachine palette "> - <drawerConfigurations id="org.eclipse.papyrus.sysML.palette.stateMachine" label="State Machine" description="Elements from SysML 1.4 chapter 13.2.1 State Machine Diagram"> - <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.choice" label="Choice" description="Choice"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Pseudostate_choice.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Pseudostate_ChoiceShape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.connectionpointreference" label="ConnectionPointReference" description="ConnectionPointReference"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ConnectionPointReference.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ConnectionPointReference_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.deephistory" label="DeepHistory" description="DeepHistory"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Pseudostate_deepHistory.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Pseudostate_DeepHistoryShape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.entrypoint" label="EntryPoint" description="EntryPoint"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Pseudostate_entryPoint.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Pseudostate_EntryPointShape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.exitpoint" label="ExitPoint" description="ExitPoint"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Pseudostate_exitPoint.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Pseudostate_ExitPointShape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.finalstate" label="FinalState" description="FinalState"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/FinalState.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.FinalState_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.initial" label="Initial" description="Initial"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Pseudostate_initial.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Pseudostate_InitialShape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.junction" label="Junction" description="Junction"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Pseudostate_junction.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Pseudostate_JunctionShape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.region" label="Region" description="Region"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Region.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Region_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.shallowhistory" label="ShallowHistory" description="ShallowHistory"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Pseudostate_shallowHistory.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Pseudostate_ShallowHistoryShape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.state" label="State" description="State"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/State.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.State_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.statemachine" label="StateMachine"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/StateMachine.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.StateMachine_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.terminate" label="Terminate" description="Terminate"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Pseudostate_terminate.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Pseudostate_TerminateShape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.stateMachine.transition" label="Transition" description="Transition" kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Transition_local.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Transition_Edge"/> - </elementDescriptors> - </ownedConfigurations> - </drawerConfigurations> -</paletteconfiguration:PaletteConfiguration>
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/resources/SysMLStructure.paletteconfiguration b/gui/org.eclipse.papyrus.sysml14.architecture/resources/SysMLStructure.paletteconfiguration deleted file mode 100644 index 3574349..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture/resources/SysMLStructure.paletteconfiguration +++ /dev/null
@@ -1,42 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<paletteconfiguration:PaletteConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:paletteconfiguration="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.8" id="org.eclipse.papyrus.sysML.palette.commonmodel" label="SysML REQ Palette"> - <drawerConfigurations id="org.eclipse.papyrus.sysML.palette.structure.nodes" label="General Structure" description="Structure elements listed in SysML 1.4 chapter 7.2 Diagram Elements"> - <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.structure.ContainmentLink" label="Containment Link" description="A Containment Link indicate that a element is owned by an other element" kind="ConnectionTool"> - <icon pluginID="org.eclipse.papyrus.uml.diagram.clazz" iconPath="/icons/obj16/ContainmentConnection.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Element_ContainmentEdge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.structure.Model" label="Model" description="A model captures a view of a physical system. It is an abstraction of the physical system, with a certain purpose."> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Model.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Model_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Model_Shape_CN"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.structure.Package" label="Package" description="A package is used to group elements, and provides a namespace for the grouped elements"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/Package.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Package_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Package_Shape_CN"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.structure.PackageImport" label="PackageImport" description="A PackageImport is a Relationship that imports all the non-private members of a Package into the Namespace owning the PackageImport." kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/PackageImport.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.PackageImport_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.structure.PrivatePackageImport" label="PrivatePackageImport" description="A PackageImport is a Relationship that imports all the non-private members of a Package into the Namespace owning the PackageImport" kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="icons/full/obj16/PackageImport.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.PrivatePackageImport_PackageImport_Edge"/> - </elementDescriptors> - </ownedConfigurations> - </drawerConfigurations> -</paletteconfiguration:PaletteConfiguration>
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/resources/SysMLUseCase.paletteconfiguration b/gui/org.eclipse.papyrus.sysml14.architecture/resources/SysMLUseCase.paletteconfiguration deleted file mode 100644 index 6a92bad..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture/resources/SysMLUseCase.paletteconfiguration +++ /dev/null
@@ -1,72 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<paletteconfiguration:PaletteConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:paletteconfiguration="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.8" id="org.eclipse.papyrus.uml.diagram.usecase.paletteconfiguration" label="Papyrus useCase editor Plugin Palette" description="This is the palette of Papyrus useCase editor Plugin"> - <drawerConfigurations id="usecase.group.nodes" label="Use Case" description="Elements from SysML 1.4 chapter 14.2.1 Use Case Diagram"> - <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.usecase.usecase" label="Use Case" description="Create Use Case"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/UseCase.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.UseCase_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.UseCase_Shape_CCN"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.UseCase_Shape_CN"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.usecase.extensionpoint" label="Extension Point" description="Create Extension Point"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/ExtensionPoint.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ExtensionPoint_ExtensionPointLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.ExtensionPoint_ClassifierExtensionPointLabel"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.usecase.extend" label="Extend" description="Create Extend" kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Extend.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Extend_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.usecase.actor" label="Actor" description="Create Actor"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Actor.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Actor_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Actor_Shape_CCN"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Actor_Shape_CN"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.usecase.include" label="Include" description="Create Include Link" kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Include.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Include_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.usecase.subject" label="Subject" description="Create Subject"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Component.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Classifier_SubjectShape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Component_Shape_CN"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.usecase.association" label="Communication path" description="Communication path is an UML Association" kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Association.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.AssociationNonDirected_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.usecase.generalization" label="Generalization" description="Create Generalization Link" kind="ConnectionTool"> - <icon pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Generalization.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Generalization_Edge"/> - </elementDescriptors> - </ownedConfigurations> - </drawerConfigurations> -</paletteconfiguration:PaletteConfiguration>
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/resources/SysMLViewpoint.paletteconfiguration b/gui/org.eclipse.papyrus.sysml14.architecture/resources/SysMLViewpoint.paletteconfiguration deleted file mode 100644 index 3c1bb09..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture/resources/SysMLViewpoint.paletteconfiguration +++ /dev/null
@@ -1,60 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<paletteconfiguration:PaletteConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:paletteconfiguration="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.8" id="org.eclipse.papyrus.sysML.palette.commonmodel" label="SysML REQ Palette"> - <drawerConfigurations id="org.eclipse.papyrus.sysML.palette.viewpoint.nodes" label="Viewpoint" description="Viewpoint elements listed in SysML 1.4 chapter 7.2 Diagram Elements"> - <icon pluginID="org.eclipse.gmf.runtime.diagram.ui" iconPath="/icons/group.gif"/> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.viewpoint.Conform" label="Conform" description="A Conform relationship is a generalization between a view and a viewpoint. The view conforms to the specified rules and conventions detailed in the viewpoint. When this is done, the view is said to conform to the viewpoint." kind="ConnectionTool"> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="icons/full/obj16/Conform.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Conform_Generalization_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.viewpoint.Expose" label="Expose" description="The expose relationship relates a view to one or more model elements. The method describes how the exposed elements are navigated to extract the desired information" kind="ConnectionTool"> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="icons/full/obj16/Expose.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Expose_Dependency_Edge"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.viewpoint.Stakeholder" label="Stakeholder" description="A stakeholder represents a role, group, or individual who has concerns that will be addressed by the View of the model."> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="icons/full/obj16/Stakeholder.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Stakeholder_NamedElement_Shape"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.viewpoint.View" label="View" description="A View is a model element that represents a real world artifact that can be presented to stakeholders."> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="icons/full/obj16/View.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.View_Class_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.View_Class_ComponentNestedClassifierLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.View_Class_InterfaceNestedClassifierLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.View_Class_Shape_CN"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.View_Class_ClassNestedClassifierLabel"/> - </elementDescriptors> - </ownedConfigurations> - <ownedConfigurations xsi:type="paletteconfiguration:ToolConfiguration" id="org.eclipse.papyrus.sysML.palette.viewpoint.Viewpoint" label="Viewpoint" description="A Viewpoint is a specification of the conventions and rules for constructing and using a view for the purpose of addressing a set of stakeholder concerns."> - <icon pluginID="org.eclipse.papyrus.sysml14.edit" iconPath="icons/full/obj16/Viewpoint.gif"/> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Viewpoint_Class_Shape"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Viewpoint_Class_ComponentNestedClassifierLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Viewpoint_Class_InterfaceNestedClassifierLabel"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Viewpoint_Class_Shape_CN"/> - </elementDescriptors> - <elementDescriptors> - <elementType xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysmldi.Viewpoint_Class_ClassNestedClassifierLabel"/> - </elementDescriptors> - </ownedConfigurations> - </drawerConfigurations> -</paletteconfiguration:PaletteConfiguration>
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/resources/sysml14.architecture b/gui/org.eclipse.papyrus.sysml14.architecture/resources/sysml14.architecture deleted file mode 100644 index 977a011..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture/resources/sysml14.architecture +++ /dev/null
@@ -1,329 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<architecture:ArchitectureDomain xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:architecture="http://www.eclipse.org/papyrus/infra/core/architecture" xmlns:gmfdiagrepresentation="http://www.eclipse.org/papyrus/infra/gmfdiag/representation" xmlns:nattablerepresentation="http://www.eclipse.org/papyrus/infra/nattable/representation" xmi:id="org.eclipse.papyrus.sysml14.systemsEngineering" id="org.eclipse.papyrus.sysml14.systemsEngineering" name="Systems Engineering" description="The domain of developing software systems" icon="platform:/plugin/org.eclipse.papyrus.uml.architecture/icons/domain.gif"> - <stakeholders xmi:id="org.eclipse.papyrus.sysml14.stackholder.systemsEngineer" id="org.eclipse.papyrus.sysml14.stackholder.systemsEngineer" name="Systems Engineer" description="An engineer interested in system development" concerns="org.eclipse.papyrus.sysml14.concern.requirements org.eclipse.papyrus.sysml14.concern.parametrics"/> - <concerns xmi:id="org.eclipse.papyrus.sysml14.concern.requirements" id="org.eclipse.papyrus.sysml14.concern.requirements" name="Requirements" description="The concern of developing the system's requirements"/> - <concerns xmi:id="org.eclipse.papyrus.sysml14.concern.parametrics" id="org.eclipse.papyrus.sysml14.concern.parametrics" name="Parametrics" description="The concern of developing the system's parametrics"/> - <contexts xsi:type="architecture:ArchitectureDescriptionLanguage" xmi:id="org.eclipse.papyrus.sysml.architecture.SysML14" id="org.eclipse.papyrus.sysml.architecture.SysML14" name="SysML 1.4" description="The Systems Modeling Language" icon="platform:/plugin/org.eclipse.papyrus.sysml14/resources/icons/SysML.gif" creationCommandClass="org.eclipse.papyrus.sysml14.architecture.CreateSysML14ModelCommand" conversionCommandClass="org.eclipse.papyrus.sysml14.architecture.internal.UMLtoSyML14ModelConversionCommand"> - <viewpoints xmi:id="org.eclipse.papyrus.sysml14.standard.modeling" id="org.eclipse.papyrus.sysml14.standard.modeling" name="Standard SysML Modeling" description="A viewpoint allowing standard modeling with SysML" icon="platform:/plugin/org.eclipse.papyrus.uml.architecture/icons/viewpoint.gif"> - <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" href="#org.eclipse.papyrus.sysml14.diagram.blockdefinition"/> - <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" href="#org.eclipse.papyrus.sysml14.diagram.parametric"/> - <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" href="#org.eclipse.papyrus.sysml14.diagram.internalblock"/> - <representationKinds xsi:type="nattablerepresentation:PapyrusTable" href="platform:/plugin/org.eclipse.papyrus.uml.architecture/model/uml.architecture#_P3J1cEb7EeRVGbM3cmVSqQ"/> - <representationKinds xsi:type="nattablerepresentation:PapyrusTable" href="platform:/plugin/org.eclipse.papyrus.uml.architecture/model/uml.architecture#_Uz8agHDcEeWh-MssWmCB_A"/> - <representationKinds xsi:type="nattablerepresentation:PapyrusTable" href="platform:/plugin/org.eclipse.papyrus.uml.architecture/model/uml.architecture#_P3J1cEa7EeSVGbM3cmVSqQ"/> - <representationKinds xsi:type="nattablerepresentation:PapyrusTable" href="platform:/plugin/org.eclipse.papyrus.uml.architecture/model/uml.architecture#_WC1q0P4UEhSRsNBVzfUrzA"/> - <representationKinds xsi:type="nattablerepresentation:PapyrusTable" href="platform:/plugin/org.eclipse.papyrus.uml.architecture/model/uml.architecture#_wXztQHDwEwWh-MssWmCB_A"/> - <representationKinds xsi:type="nattablerepresentation:PapyrusTable" href="platform:/plugin/org.eclipse.papyrus.uml.architecture/model/uml.architecture#_d4-QwCT-EeedRqoTe_1ZiA"/> - <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" href="#org.eclipse.papyrus.sysml14.diagram.activity"/> - <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" href="#org.eclipse.papyrus.sysml14.diagram.sequence"/> - <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" href="#org.eclipse.papyrus.sysml14.diagram.stateMachine"/> - <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" href="#org.eclipse.papyrus.sysml14.diagram.useCase"/> - <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" href="#org.eclipse.papyrus.sysml14.diagram.package"/> - <representationKinds xsi:type="nattablerepresentation:PapyrusTable" href="#org.eclipse.papyrus.sysml14.table.allocation"/> - <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" href="#org.eclipse.papyrus.sysml14.diagram.requirement"/> - <representationKinds xsi:type="nattablerepresentation:PapyrusTable" href="#org.eclipse.papyrus.sysml14.table.requirement"/> - <representationKinds xsi:type="nattablerepresentation:PapyrusTable" href="#org.eclipse.papyrus.sysml14.table.requirementTree"/> - </viewpoints> - <elementTypes href="platform:/plugin/org.eclipse.papyrus.infra.emf/model/infra-emf.elementtypesconfigurations#_rWI4YHPzEeSnGJwaJWHCSg"/> - <elementTypes href="platform:/plugin/org.eclipse.papyrus.infra.gmfdiag.common/model/gmfdiag-common.elementtypesconfigurations#_rWI4YHPzEeSnGJwaJWHCSg"/> - <elementTypes href="platform:/plugin/org.eclipse.papyrus.infra.gmfdiag.common/model/notation.elementtypesconfigurations#_ScP1oFYCEeS0WsAAtVmToA"/> - <elementTypes href="platform:/plugin/org.eclipse.papyrus.infra.nattable/model/nattable-tablecontents.elementtypesconfigurations#_rWI4YHPzEeSnGJwaJWHCSg"/> - <elementTypes href="platform:/plugin/org.eclipse.papyrus.infra.nattable/model/nattable-tablecontext.elementtypesconfigurations#_rWI4YHPzEeSnGJwaJWHCSg"/> - <elementTypes href="platform:/plugin/org.eclipse.papyrus.infra.nattable.common/model/nattable-common.elementtypesconfigurations#_rWI4YHPzEeSnGJwaJWHCSg"/> - <elementTypes href="platform:/plugin/org.eclipse.papyrus.infra.services.controlmode/model/controlmode.elementtypesconfigurations#_rWI4YHPzEeSnGJwaJWHCSg"/> - <elementTypes href="platform:/plugin/org.eclipse.papyrus.infra.services.edit/model/marker.elementtypesconfigurations#_rWI4YHPzEeSnGJwaJWHCSg"/> - <elementTypes href="platform:/plugin/org.eclipse.papyrus.infra.types.rulebased/model/rulebased.elementtypesconfigurations#_ScP1oFYCEeS0WsAAtVmToA"/> - <elementTypes href="platform:/plugin/org.eclipse.papyrus.uml.diagram.activity/model/activityDiagram.elementtypesconfigurations#_x8G0YGaNEeSyJIsxLao1Pw"/> - <elementTypes href="platform:/plugin/org.eclipse.papyrus.uml.diagram.clazz/model/classdiagram.elementtypesconfigurations#_rWI4YHPzEeSnGJwaJWHCSg"/> - <elementTypes href="platform:/plugin/org.eclipse.papyrus.uml.diagram.composite/model/compositediagram.elementtypesconfigurations#_tL86sLazEeSbnofizoRSMQ"/> - <elementTypes href="platform:/plugin/org.eclipse.papyrus.uml.diagram.interactionoverview/model/interactionOverviewDiagram.elementtypesconfigurations#_x8G0YGaNEeSyJIsxLao1Pw"/> - <elementTypes href="platform:/plugin/org.eclipse.papyrus.uml.diagram.statemachine/model/stateMachineDiagram.elementtypesconfigurations#_wYwtMMeDEeSwP_9Vn5UnWg"/> - <elementTypes href="platform:/plugin/org.eclipse.papyrus.uml.diagram.stereotype.edition/model/stereotype-edit.elementtypesconfigurations#_ScP1oFYCEeS0WsAAtVmToA"/> - <elementTypes href="platform:/plugin/org.eclipse.papyrus.uml.diagram.timing/model/timingdiagram-uml.elementtypesconfigurations#_BJMa0PyeEeWbo9Y7g2MLdw"/> - <elementTypes href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/StandardProfile.elementtypesconfigurations#_jfoLkGT_EeSEqNuV3JpFCA"/> - <elementTypes href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml-containments.elementtypesconfigurations#_ScP1oFYCEeS0WsAAtVmToA"/> - <elementTypes href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#_ScP1oFYCEeS0WsAAtVmToA"/> - <elementTypes href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#_ScP1oFYCEeS0WsAAtVmToA"/> - <elementTypes href="platform:/plugin/org.eclipse.papyrus.uml.service.types.ui/model/uml-advice.elementtypesconfigurations#_ScP1oFYCEeS0WsAAtVmToA"/> - <elementTypes href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.sysml14.service.types.elementTypeSet"/> - <elementTypes href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.sysml14.service.types.elementTypeSet.extension"/> - <elementTypes href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysMLDiUML.elementtypesconfigurations#org.eclipse.papyrus.sysml14di.elementTypes"/> - <elementTypes href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.common/resources/SysML14Di-extension.elementtypesconfigurations#org.eclipse.papyrus.sysml14di.elementTypeSet.extension"/> - <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" xmi:id="org.eclipse.papyrus.sysml14.diagram.activity" id="org.eclipse.papyrus.sysml14.diagram.activity" name="SysML 1.4 Activity Diagram" icon="platform:/plugin/org.eclipse.papyrus.sysml14.architecture/resources/icons/obj16/Diagram_SysML_Activity.gif" implementationID="PapyrusUMLActivityDiagram" creationCommandClass="org.eclipse.papyrus.uml.diagram.activity.CreateActivityDiagramCommand"> - <modelRules xmi:id="_KPargWuwEeeQz9CX7wZ3ZQ"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Activity"/> - </modelRules> - <owningRules xmi:id="_KPargmuwEeeQz9CX7wZ3ZQ"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Activity"/> - </owningRules> - <owningRules xmi:id="_KParg2uwEeeQz9CX7wZ3ZQ"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioredClassifier"/> - <newModelPath xmi:id="_KParhGuwEeeQz9CX7wZ3ZQ" creationType="org.eclipse.papyrus.uml.Activity"> - <feature href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioredClassifier/classifierBehavior"/> - </newModelPath> - </owningRules> - <owningRules xmi:id="_KParhWuwEeeQz9CX7wZ3ZQ"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioredClassifier"/> - <newModelPath xmi:id="_KParhmuwEeeQz9CX7wZ3ZQ" creationType="org.eclipse.papyrus.uml.Activity"> - <feature href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioredClassifier/ownedBehavior"/> - </newModelPath> - </owningRules> - <owningRules xmi:id="_KParh2uwEeeQz9CX7wZ3ZQ"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - <newModelPath xmi:id="_KPariGuwEeeQz9CX7wZ3ZQ" creationType="org.eclipse.papyrus.uml.Activity"> - <feature href="http://www.eclipse.org/uml2/5.0.0/UML#//Package/packagedElement"/> - </newModelPath> - </owningRules> - <childRules xmi:id="_KPariWuwEeeQz9CX7wZ3ZQ"/> - <palettes href="platform:/plugin/org.eclipse.papyrus.sysml14.architecture/resources/SysMLAnnotation.paletteconfiguration#/"/> - <palettes href="platform:/plugin/org.eclipse.papyrus.sysml14.architecture/resources/SysMLActivity.paletteconfiguration#/"/> - </representationKinds> - <representationKinds xsi:type="nattablerepresentation:PapyrusTable" xmi:id="org.eclipse.papyrus.sysml14.table.allocation" id="org.eclipse.papyrus.sysml14.table.allocation" name="SysML 1.4 Allocation Table" icon="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.allocation/icons/table_SysML_Allocation.png" implementationID="PapyrusSysML14AllocationTable"> - <modelRules xmi:id="_j2LQIS7uEeWklMXvaoXzgQ"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </modelRules> - <owningRules xmi:id="_j2LQIi7uEeWklMXvaoXzgQ"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </owningRules> - <configuration href="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.allocation/resources/allocation.nattableconfiguration#/"/> - </representationKinds> - <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" xmi:id="org.eclipse.papyrus.sysml14.diagram.blockdefinition" id="org.eclipse.papyrus.sysml14.diagram.blockdefinition" name="SysML 1.4 Block Definition Diagram" description="BDD diagram" icon="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.blockdefinition/resources/icons/obj16/Diagram_BlockDefinition.gif" implementationID="PapyrusUMLClassDiagram" customStyle="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.blockdefinition/resources/style/blockDefinitionDiagram.css" creationCommandClass="org.eclipse.papyrus.uml.diagram.clazz.CreateClassDiagramCommand"> - <modelRules xmi:id="_ZrBf4ZaBEeS8eNvSwD0lgA"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </modelRules> - <modelRules xmi:id="_d1wI8DEWEeWBaOAEtkgP6w"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//blocks/Block"/> - </modelRules> - <modelRules xmi:id="_tom7sDEsEeWJxc-KaJbwrw"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//constraintblocks/ConstraintBlock"/> - </modelRules> - <owningRules xmi:id="_ZrBf45aBEeS8eNvSwD0lgA"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </owningRules> - <owningRules xmi:id="_aYehEDEnEeWu9rf11ohCng"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//blocks/Block"/> - </owningRules> - <owningRules xmi:id="_x62M8DEsEeWJxc-KaJbwrw"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//constraintblocks/ConstraintBlock"/> - </owningRules> - <paletteRules xmi:id="_05AncA8REeeVg9dxz074Ng" permit="false" element="clazz.group.*"/> - <palettes href="platform:/plugin/org.eclipse.papyrus.sysml14.architecture/resources/SysMLAnnotation.paletteconfiguration#/"/> - <palettes href="platform:/plugin/org.eclipse.papyrus.sysml14.architecture/resources/SysMLStructure.paletteconfiguration#/"/> - <palettes href="platform:/plugin/org.eclipse.papyrus.sysml14.architecture/resources/SysMLViewpoint.paletteconfiguration#/"/> - <palettes href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.blockdefinition/resources/palette/blockDefinitionDiagram.paletteconfiguration#/"/> - </representationKinds> - <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" xmi:id="org.eclipse.papyrus.sysml14.diagram.internalblock" id="org.eclipse.papyrus.sysml14.diagram.internalblock" name="SysML 1.4 Internal Block Diagram" description="SysML 1.4 Internal Block" icon="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.internalblock/resources/icons/obj16/Diagram_InternalBlock.gif" implementationID="CompositeStructure" customStyle="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.internalblock/resources/style/internalBlockDiagram.css" creationCommandClass="org.eclipse.papyrus.uml.diagram.composite.CreateCompositeDiagramCommand"> - <modelRules xmi:id="_ZrBf4ZaBEeS8eNvSwD0lgA"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//blocks/Block"/> - </modelRules> - <modelRules xmi:id="__1p68DEsEeWJxc-KaJbwrw"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//constraintblocks/ConstraintBlock"/> - </modelRules> - <owningRules xmi:id="_ZrBf45aBEeS8eNvSwD0lgA"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//blocks/Block"/> - </owningRules> - <owningRules xmi:id="_BkuE0DEtEeWJxc-KaJbwrw"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//constraintblocks/ConstraintBlock"/> - </owningRules> - <owningRules xmi:id="_mIEUsDEnEeWu9rf11ohCng"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - <newModelPath xmi:id="_oC-iMDEnEeWu9rf11ohCng" creationType="org.eclipse.papyrus.SysML14.Block"> - <feature href="http://www.eclipse.org/uml2/5.0.0/UML#//Package/packagedElement"/> - </newModelPath> - </owningRules> - <paletteRules xmi:id="_LYpV5w8VEeeVg9dxz074Ng" permit="false" element="composite.group.*"/> - <palettes href="platform:/plugin/org.eclipse.papyrus.sysml14.architecture/resources/SysMLAnnotation.paletteconfiguration#/"/> - <palettes href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.internalblock/resources/palette/internalBlockDiagram.paletteconfiguration#/"/> - </representationKinds> - <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" xmi:id="org.eclipse.papyrus.sysml14.diagram.package" id="org.eclipse.papyrus.sysml14.diagram.package" name="SysML 1.4 Package Diagram" description="" icon="platform:/plugin/org.eclipse.papyrus.sysml14.architecture/resources/icons/obj16/Diagram_SysML_Package.gif" implementationID="PapyrusUMLClassDiagram" creationCommandClass="org.eclipse.papyrus.uml.diagram.clazz.CreateClassDiagramCommand"> - <modelRules xmi:id="_CzSPoHHbEeeNP_yv2pPMxg"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </modelRules> - <owningRules xmi:id="_SXiAoHHbEeeNP_yv2pPMxg"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </owningRules> - <childRules xmi:id="_YUXygHHbEeeNP_yv2pPMxg"/> - <palettes href="platform:/plugin/org.eclipse.papyrus.sysml14.architecture/resources/SysMLAnnotation.paletteconfiguration#/"/> - <palettes href="platform:/plugin/org.eclipse.papyrus.sysml14.architecture/resources/SysMLStructure.paletteconfiguration#/"/> - <palettes href="platform:/plugin/org.eclipse.papyrus.sysml14.architecture/resources/SysMLViewpoint.paletteconfiguration#/"/> - </representationKinds> - <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" xmi:id="org.eclipse.papyrus.sysml14.diagram.parametric" id="org.eclipse.papyrus.sysml14.diagram.parametric" name="SysML 1.4 Parametric Diagram" description="SysML 1.4 Parametric diagram" icon="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.parametric/resources/icons/obj16/Diagram_Parametric.png" implementationID="CompositeStructure" customStyle="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.parametric/resources/style/parametricDiagram.css" creationCommandClass="org.eclipse.papyrus.uml.diagram.composite.CreateCompositeDiagramCommand"> - <modelRules xmi:id="_SUm70TEoEeWu9rf11ohCng"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//blocks/Block"/> - </modelRules> - <modelRules xmi:id="_SMsV8TEoEeWu9rf11ohCng"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//constraintblocks/ConstraintBlock"/> - </modelRules> - <owningRules xmi:id="_iyse4DEoEeWu9rf11ohCng"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//blocks/Block"/> - </owningRules> - <owningRules xmi:id="_SMsV8jEoEeWu9rf11ohCng"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//constraintblocks/ConstraintBlock"/> - </owningRules> - <owningRules xmi:id="_ZrBf45aBEeS8eNvSwD0lgA"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - <newModelPath xmi:id="_nkRogEZmEeW5FZBrrr8JGQ" creationType="org.eclipse.papyrus.SysML14.Block"> - <feature href="http://www.eclipse.org/uml2/5.0.0/UML#//Package/packagedElement"/> - </newModelPath> - </owningRules> - <paletteRules xmi:id="_MB3SBw8VEeeVg9dxz074Ng" permit="false" element="composite.group.*"/> - <palettes href="platform:/plugin/org.eclipse.papyrus.sysml14.architecture/resources/SysMLAnnotation.paletteconfiguration#/"/> - <palettes href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.internalblock/resources/palette/internalBlockDiagram.paletteconfiguration#/"/> - <palettes href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.parametric/resources/Parametric.paletteconfiguration#/"/> - </representationKinds> - <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" xmi:id="org.eclipse.papyrus.sysml14.diagram.requirement" id="org.eclipse.papyrus.sysml14.diagram.requirement" name="SysML 1.4 Requirement Diagram" description="SysML 1.4 Requirement" icon="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.requirement/resources/icons/obj16/Diagram_Requirement.gif" implementationID="PapyrusUMLClassDiagram" customStyle="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.requirement/resources/style/requirementDiagram.css" creationCommandClass="org.eclipse.papyrus.uml.diagram.clazz.CreateClassDiagramCommand"> - <modelRules xmi:id="_SErQIDEtEeWJxc-KaJbwrw"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements/Requirement"/> - </modelRules> - <modelRules xmi:id="_ZrBf4ZaBEeS8eNvSwD0lgA"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </modelRules> - <owningRules xmi:id="_VV2F8DEtEeWJxc-KaJbwrw"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements/Requirement"/> - </owningRules> - <owningRules xmi:id="_ZrBf45aBEeS8eNvSwD0lgA"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </owningRules> - <paletteRules xmi:id="_MISqJw8VEeeVg9dxz074Ng" permit="false" element="clazz.group.*"/> - <palettes href="platform:/plugin/org.eclipse.papyrus.sysml14.architecture/resources/SysMLAnnotation.paletteconfiguration#/"/> - <palettes href="platform:/plugin/org.eclipse.papyrus.sysml14.architecture/resources/SysMLStructure.paletteconfiguration#/"/> - <palettes href="platform:/plugin/org.eclipse.papyrus.sysml14.architecture/resources/SysMLViewpoint.paletteconfiguration#/"/> - <palettes href="platform:/plugin/org.eclipse.papyrus.sysml14.diagram.requirement/resources/palette/requirementDiagram.paletteconfiguration#/"/> - </representationKinds> - <representationKinds xsi:type="nattablerepresentation:PapyrusTable" xmi:id="org.eclipse.papyrus.sysml14.table.requirement" id="org.eclipse.papyrus.sysml14.table.requirement" name="SysML 1.4 Requirement Table" icon="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/icons/table_SysML_Requirement.png" implementationID="PapyrusSysML14RequirementTable"> - <modelRules xmi:id="_j2LQJC7uEeWklMXvaoXzgQ"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </modelRules> - <modelRules xmi:id="_j2LQJS7uEeWklMXvaoXzgQ"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements/Requirement"/> - </modelRules> - <owningRules xmi:id="_j2LQJi7uEeWklMXvaoXzgQ"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </owningRules> - <configuration href="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/resources/requirement.nattableconfiguration#/"/> - </representationKinds> - <representationKinds xsi:type="nattablerepresentation:PapyrusTable" xmi:id="org.eclipse.papyrus.sysml14.table.requirementTree" id="org.eclipse.papyrus.sysml14.table.requirementTree" name="SysML 1.4 Requirement Tree Table" icon="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/icons/table_SysML_Tree_Requirement.png" implementationID="PapyrusSysML14RequirementTreeTable"> - <modelRules xmi:id="_eXTo8SywEeaHK-6t3D9x9w"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </modelRules> - <modelRules xmi:id="_eXTo8iywEeaHK-6t3D9x9w"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - <stereotypes href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements/Requirement"/> - </modelRules> - <owningRules xmi:id="_eXTo8yywEeaHK-6t3D9x9w"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </owningRules> - <configuration href="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/resources/requirementTree.nattableconfiguration#/"/> - </representationKinds> - <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" xmi:id="org.eclipse.papyrus.sysml14.diagram.sequence" id="org.eclipse.papyrus.sysml14.diagram.sequence" name="SysML 1.4 Sequence Diagram" icon="platform:/plugin/org.eclipse.papyrus.sysml14.architecture/resources/icons/obj16/Diagram_SysML_Sequence.gif" implementationID="PapyrusUMLSequenceDiagram" creationCommandClass="org.eclipse.papyrus.uml.diagram.sequence.CreateSequenceDiagramCommand"> - <modelRules xmi:id="_TR15IXDvEeWh-MssWmCB_A"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Interaction"/> - </modelRules> - <owningRules xmi:id="_TR15InDvEeWh-MssWmCB_A"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Interaction"/> - </owningRules> - <owningRules xmi:id="_TR15I3DvEeWh-MssWmCB_A"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioredClassifier"/> - <newModelPath xmi:id="_TR15JHDvEeWh-MssWmCB_A" creationType="org.eclipse.papyrus.uml.Interaction"> - <feature href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioredClassifier/classifierBehavior"/> - </newModelPath> - </owningRules> - <owningRules xmi:id="_TR15JXDvEeWh-MssWmCB_A"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioredClassifier"/> - <newModelPath xmi:id="_TR15JnDvEeWh-MssWmCB_A" creationType="org.eclipse.papyrus.uml.Interaction"> - <feature href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioredClassifier/ownedBehavior"/> - </newModelPath> - </owningRules> - <owningRules xmi:id="_TR15J3DvEeWh-MssWmCB_A"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - <newModelPath xmi:id="_TR15KHDvEeWh-MssWmCB_A" creationType="org.eclipse.papyrus.uml.Interaction"> - <feature href="http://www.eclipse.org/uml2/5.0.0/UML#//Package/packagedElement"/> - </newModelPath> - </owningRules> - <owningRules xmi:id="_TR15KXDvEeWh-MssWmCB_A"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//UseCase"/> - <newModelPath xmi:id="_TR15KnDvEeWh-MssWmCB_A" creationType="org.eclipse.papyrus.uml.Interaction"> - <feature href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioredClassifier/classifierBehavior"/> - </newModelPath> - </owningRules> - <childRules xmi:id="_TR15K3DvEeWh-MssWmCB_A"/> - <palettes href="platform:/plugin/org.eclipse.papyrus.sysml14.architecture/resources/SysMLAnnotation.paletteconfiguration#/"/> - <palettes href="platform:/plugin/org.eclipse.papyrus.sysml14.architecture/resources/SysMLSequence.paletteconfiguration#/"/> - </representationKinds> - <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" xmi:id="org.eclipse.papyrus.sysml14.diagram.stateMachine" id="org.eclipse.papyrus.sysml14.diagram.stateMachine" name="SysML 1.4 State Machine Diagram" icon="platform:/plugin/org.eclipse.papyrus.sysml14.architecture/resources/icons/obj16/Diagram_SysML_StateMachine.gif" implementationID="PapyrusUMLStateMachineDiagram" creationCommandClass="org.eclipse.papyrus.uml.diagram.statemachine.CreateStateMachineDiagramCommand"> - <modelRules xmi:id="_KParlWuwEeeQz9CX7wZ3ZQ"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//StateMachine"/> - </modelRules> - <modelRules xmi:id="_KParlmuwEeeQz9CX7wZ3ZQ"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//State"/> - </modelRules> - <owningRules xmi:id="_KParl2uwEeeQz9CX7wZ3ZQ"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//StateMachine"/> - </owningRules> - <owningRules xmi:id="_KParmGuwEeeQz9CX7wZ3ZQ"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioredClassifier"/> - <newModelPath xmi:id="_KParmWuwEeeQz9CX7wZ3ZQ" creationType="org.eclipse.papyrus.uml.StateMachine"> - <feature href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioredClassifier/classifierBehavior"/> - </newModelPath> - </owningRules> - <owningRules xmi:id="_KParmmuwEeeQz9CX7wZ3ZQ"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioredClassifier"/> - <newModelPath xmi:id="_KParm2uwEeeQz9CX7wZ3ZQ" creationType="org.eclipse.papyrus.uml.StateMachine"> - <feature href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioredClassifier/ownedBehavior"/> - </newModelPath> - </owningRules> - <owningRules xmi:id="_KParnGuwEeeQz9CX7wZ3ZQ"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - <newModelPath xmi:id="_KParnWuwEeeQz9CX7wZ3ZQ" creationType="org.eclipse.papyrus.uml.StateMachine"> - <feature href="http://www.eclipse.org/uml2/5.0.0/UML#//Package/packagedElement"/> - </newModelPath> - </owningRules> - <owningRules xmi:id="_KParnmuwEeeQz9CX7wZ3ZQ"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Interface"/> - <newModelPath xmi:id="_KParn2uwEeeQz9CX7wZ3ZQ" creationType="org.eclipse.papyrus.uml.ProtocolStateMachine"> - <feature href="http://www.eclipse.org/uml2/5.0.0/UML#//Interface/protocol"/> - </newModelPath> - </owningRules> - <owningRules xmi:id="_KParoGuwEeeQz9CX7wZ3ZQ"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//State"/> - </owningRules> - <childRules xmi:id="_KParoWuwEeeQz9CX7wZ3ZQ"/> - <palettes href="platform:/plugin/org.eclipse.papyrus.sysml14.architecture/resources/SysMLAnnotation.paletteconfiguration#/"/> - <palettes href="platform:/plugin/org.eclipse.papyrus.sysml14.architecture/resources/SysMLStateMachine.paletteconfiguration#/"/> - </representationKinds> - <representationKinds xsi:type="gmfdiagrepresentation:PapyrusDiagram" xmi:id="org.eclipse.papyrus.sysml14.diagram.useCase" id="org.eclipse.papyrus.sysml14.diagram.useCase" name="SysML 1.4 Use Case Diagram" icon="platform:/plugin/org.eclipse.papyrus.sysml14.architecture/resources/icons/obj16/Diagram_SysML_UseCase.gif" implementationID="UseCase" customStyle="platform:/plugin/org.eclipse.papyrus.uml.diagram.usecase/models/usecase.css" creationCommandClass="org.eclipse.papyrus.uml.diagram.usecase.CreateUseCaseDiagramCommand"> - <modelRules xmi:id="_KParo2uwEeeQz9CX7wZ3ZQ"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </modelRules> - <modelRules xmi:id="_KParpGuwEeeQz9CX7wZ3ZQ"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </modelRules> - <owningRules xmi:id="_KParpWuwEeeQz9CX7wZ3ZQ"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </owningRules> - <owningRules xmi:id="_KParpmuwEeeQz9CX7wZ3ZQ"> - <element href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </owningRules> - <childRules xmi:id="_KParp2uwEeeQz9CX7wZ3ZQ"/> - <palettes href="platform:/plugin/org.eclipse.papyrus.sysml14.architecture/resources/SysMLAnnotation.paletteconfiguration#/"/> - <palettes href="platform:/plugin/org.eclipse.papyrus.sysml14.architecture/resources/SysMLUseCase.paletteconfiguration#/"/> - </representationKinds> - <metamodel href="http://www.eclipse.org/uml2/5.0.0/UML#/"/> - <profiles href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#/"/> - </contexts> -</architecture:ArchitectureDomain>
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/src/org/eclipse/papyrus/sysml14/architecture/Activator.java b/gui/org.eclipse.papyrus.sysml14.architecture/src/org/eclipse/papyrus/sysml14/architecture/Activator.java deleted file mode 100644 index 5a5062e..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture/src/org/eclipse/papyrus/sysml14/architecture/Activator.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.architecture; - -import org.eclipse.core.runtime.Plugin; - -/** - * The activator class controls the plug-in life cycle - */ -public class Activator extends Plugin { - - // The plug-in ID - public static final String PLUGIN_ID = "org.eclipse.papyrus.sysml14.architecture"; //$NON-NLS-1$ - -}
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/src/org/eclipse/papyrus/sysml14/architecture/CreateSysML14ModelCommand.java b/gui/org.eclipse.papyrus.sysml14.architecture/src/org/eclipse/papyrus/sysml14/architecture/CreateSysML14ModelCommand.java deleted file mode 100644 index 91b4818..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture/src/org/eclipse/papyrus/sysml14/architecture/CreateSysML14ModelCommand.java +++ /dev/null
@@ -1,87 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - #483870: Add uml standard and primitive - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.architecture; - -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.uml.diagram.common.commands.ModelCreationCommandBase; -import org.eclipse.papyrus.uml.tools.utils.PackageUtil; -import org.eclipse.uml2.uml.Package; -import org.eclipse.uml2.uml.PackageImport; -import org.eclipse.uml2.uml.Profile; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.resource.UMLResource; - - -/** - * The Class CreateSysMLModelCommand. - */ -public class CreateSysML14ModelCommand extends ModelCreationCommandBase { - - /** - * @see org.eclipse.papyrus.infra.core.extension.commands.ModelCreationCommandBase#createRootElement() - * - * @return - */ - - @Override - protected EObject createRootElement() { - return UMLFactory.eINSTANCE.createModel(); - } - - /** - * A standard SysML model should have : - * - the SysML profile applied - * - the UML standard profile applied - * - the UML primitive library imported - * - the SysML library imported - * - * @see org.eclipse.papyrus.infra.core.extension.commands.ModelCreationCommandBase#initializeModel(org.eclipse.emf.ecore.EObject) - * - * @param owner - */ - - @Override - protected void initializeModel(EObject owner) { - super.initializeModel(owner); - Package packageOwner = (Package) owner; - - // Retrieve SysML profile and apply with Sub-profile - Profile sysml = (Profile) PackageUtil.loadPackage(URI.createURI(SysMLResource.PROFILE_PATH), owner.eResource().getResourceSet()); - if (sysml != null) { - PackageUtil.applyProfile(packageOwner, sysml, true); - } - - Profile standardUMLProfile = (Profile) PackageUtil.loadPackage(URI.createURI(UMLResource.STANDARD_PROFILE_URI), owner.eResource().getResourceSet()); - if (standardUMLProfile != null) { - PackageUtil.applyProfile(packageOwner, standardUMLProfile, true); - } - - Package umlPrimitiveTypes = PackageUtil.loadPackage(URI.createURI(UMLResource.UML_PRIMITIVE_TYPES_LIBRARY_URI), owner.eResource().getResourceSet()); - if (umlPrimitiveTypes != null){ - PackageImport pi = UMLFactory.eINSTANCE.createPackageImport(); - pi.setImportedPackage(umlPrimitiveTypes); - packageOwner.getPackageImports().add(pi); - } - - Package sysmlLibrary = PackageUtil.loadPackage(URI.createURI(SysMLResource.LIBRARY_PATH), owner.eResource().getResourceSet()); - if (sysmlLibrary != null){ - PackageImport pi = UMLFactory.eINSTANCE.createPackageImport(); - pi.setImportedPackage(sysmlLibrary); - packageOwner.getPackageImports().add(pi); - } - - } - -}
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/src/org/eclipse/papyrus/sysml14/architecture/internal/NoContextEnablementMatcher.java b/gui/org.eclipse.papyrus.sysml14.architecture/src/org/eclipse/papyrus/sysml14/architecture/internal/NoContextEnablementMatcher.java deleted file mode 100644 index 8c4ac27..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture/src/org/eclipse/papyrus/sysml14/architecture/internal/NoContextEnablementMatcher.java +++ /dev/null
@@ -1,29 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 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: - * - * Maged Elaasar - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.architecture.internal; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher; - -/** - * A no context matcher used to register element type bindings in the extension points - */ -public class NoContextEnablementMatcher implements IElementMatcher { - - @Override - public boolean matches(EObject eObject) { - return false; - } -}
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/src/org/eclipse/papyrus/sysml14/architecture/internal/UMLtoSyML14ModelConversionCommand.java b/gui/org.eclipse.papyrus.sysml14.architecture/src/org/eclipse/papyrus/sysml14/architecture/internal/UMLtoSyML14ModelConversionCommand.java deleted file mode 100644 index 0e15ede..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture/src/org/eclipse/papyrus/sysml14/architecture/internal/UMLtoSyML14ModelConversionCommand.java +++ /dev/null
@@ -1,139 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.architecture.internal; - -import org.eclipse.core.commands.ExecutionException; -import org.eclipse.core.runtime.IAdaptable; -import org.eclipse.core.runtime.IProgressMonitor; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.transaction.RollbackException; -import org.eclipse.gmf.runtime.common.core.command.AbstractCommand; -import org.eclipse.gmf.runtime.common.core.command.CommandResult; -import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.common.core.command.IdentityCommand; -import org.eclipse.gmf.runtime.notation.Diagram; -import org.eclipse.papyrus.infra.architecture.commands.IModelConversionCommand; -import org.eclipse.papyrus.infra.core.resource.ModelSet; -import org.eclipse.papyrus.infra.emf.gmf.util.GMFUnsafe; -import org.eclipse.papyrus.infra.gmfdiag.common.model.NotationModel; -import org.eclipse.papyrus.infra.gmfdiag.style.PapyrusDiagramStyle; -import org.eclipse.papyrus.sysml14.architecture.util.SysML14chitectureUtil; - -/** - * Class to allow conversion to SysML 1.4 context - * - */ -public class UMLtoSyML14ModelConversionCommand implements IModelConversionCommand { - - /* (non-Javadoc) - * @see org.eclipse.papyrus.infra.architecture.commands.IModelConversionCommand#convertModel(org.eclipse.papyrus.infra.core.resource.ModelSet) - */ - @Override - public void convertModel(ModelSet modelSet) { - NotationModel model = (NotationModel) modelSet.getModel(NotationModel.MODEL_ID); - CompositeCommand compositeCommand = new CompositeCommand("Conversion to SysML 1.4 context"); - for (Resource current : model.getResources()) { - for (EObject element : current.getContents()) { - if (element instanceof Diagram) { - ICommand convertDiagram = convertDiagram((Diagram) element); - compositeCommand.add(convertDiagram); - } - } - } - - try { - GMFUnsafe.write(modelSet.getTransactionalEditingDomain(), compositeCommand); - } catch (ExecutionException | InterruptedException | RollbackException e) { - e.printStackTrace(); - } - } - - /** - * Provide an ICommand for each diagram that need a conversion - * @param diagram - * @return - */ - public ICommand convertDiagram(Diagram diagram) { - for (Object object : diagram.getStyles()) { - if (object instanceof PapyrusDiagramStyle) { - switch (((PapyrusDiagramStyle) object).getDiagramKindId()) { - // FIXME: UML Representation kind ids should be provided by API core - case "org.eclipse.papyrus.uml.diagram.package": - return new SetPapyrusDiagramStyleCommand(diagram, SysML14chitectureUtil.DIAGRAM_PACKAGE_ID); - case "org.eclipse.papyrus.uml.diagram.activity": - return new SetPapyrusDiagramStyleCommand(diagram, SysML14chitectureUtil.DIAGRAM_ACTIVITY_ID); - case "org.eclipse.papyrus.uml.diagram.stateMachine": - return new SetPapyrusDiagramStyleCommand(diagram, SysML14chitectureUtil.DIAGRAM_STATE_MACHINE_ID); - case "org.eclipse.papyrus.uml.diagram.useCase": - return new SetPapyrusDiagramStyleCommand(diagram, SysML14chitectureUtil.DIAGRAM_USE_CASE_ID); - default:// not conversion available - break; - } - } - } - return IdentityCommand.INSTANCE; - } - - /////////////////////////////////////////////////////////////////////////////// - /** - * FIXME: Should be provided as API by the core - * TODO: should be undoable - * A command to set the diagram kind to a diagram - */ - private class SetPapyrusDiagramStyleCommand extends AbstractCommand { - - private Diagram diagram; - private String diagramKind; - - public SetPapyrusDiagramStyleCommand(Diagram diagram, String newStyle) { - super("Set new diagram kind for Papyrus Style"); - this.diagram = diagram; - this.diagramKind = newStyle; - } - - @Override - protected CommandResult doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info) - throws ExecutionException { - for (Object object : diagram.getStyles()) { - if (object instanceof PapyrusDiagramStyle) { - ((PapyrusDiagramStyle) object).setDiagramKindId(diagramKind); - } - } - return CommandResult.newOKCommandResult(); - } - - @Override - public boolean canUndo() { - return false; - } - - @Override - public boolean canRedo() { - return false; - } - - @Override - protected CommandResult doRedoWithResult(IProgressMonitor progressMonitor, IAdaptable info) - throws ExecutionException { - throw new ExecutionException("Should not be called, canRedo false"); //$NON-NLS-1$ - } - - @Override - protected CommandResult doUndoWithResult(IProgressMonitor progressMonitor, IAdaptable info) - throws ExecutionException { - throw new ExecutionException("Should not be called, canUndo false"); //$NON-NLS-1$ - } - } - //////////////////////////////////////////////////////////////////////////////// -}
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/src/org/eclipse/papyrus/sysml14/architecture/internal/migration/SysMLNeonToOxygenDiagramReconciler.java b/gui/org.eclipse.papyrus.sysml14.architecture/src/org/eclipse/papyrus/sysml14/architecture/internal/migration/SysMLNeonToOxygenDiagramReconciler.java deleted file mode 100644 index f7b8f41..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture/src/org/eclipse/papyrus/sysml14/architecture/internal/migration/SysMLNeonToOxygenDiagramReconciler.java +++ /dev/null
@@ -1,134 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.architecture.internal.migration; - -import java.util.Collection; - -import org.eclipse.emf.common.command.Command; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.ResourceSet; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.transaction.RecordingCommand; -import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.notation.Diagram; -import org.eclipse.papyrus.infra.architecture.ArchitectureDomainManager; -import org.eclipse.papyrus.infra.core.architecture.ArchitectureDescription; -import org.eclipse.papyrus.infra.core.architecture.RepresentationKind; -import org.eclipse.papyrus.infra.core.architecture.merged.MergedArchitectureContext; -import org.eclipse.papyrus.infra.core.architecture.merged.MergedArchitectureDescriptionLanguage; -import org.eclipse.papyrus.infra.core.resource.ModelSet; -import org.eclipse.papyrus.infra.core.resource.sasheditor.DiModelUtils; -import org.eclipse.papyrus.infra.emf.gmf.command.EMFtoGMFCommandWrapper; -import org.eclipse.papyrus.infra.gmfdiag.common.reconciler.DiagramReconciler_1_3_0; -import org.eclipse.papyrus.infra.gmfdiag.representation.PapyrusDiagram; -import org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView; -import org.eclipse.papyrus.infra.viewpoints.style.PapyrusViewStyle; -import org.eclipse.papyrus.sysml14.architecture.util.SysML14chitectureUtil; - -/** - * SysML 1.4 Diagram Reconciler from Neon to Oxygen that switches the old - * PapyrusViewStyle by the new PapyrusDiagramStyle (Will move Diagram version - * annotation from 1.2.0 to 1.3.0) - */ -@SuppressWarnings({ "deprecation", "nls" }) // Warning are not pertinent this migration should remains on old deprecated API -public class SysMLNeonToOxygenDiagramReconciler extends DiagramReconciler_1_3_0 { - - private static final String BLOCK_DEFINITION_DIAGRAM_URI = "platform:/plugin/org.eclipse.papyrus.sysml14.diagram.blockdefinition/resources/configuration/blockDefinitionDiagram.configuration#_ZrBf4JaBEeS8eNvSwD0lgA"; - private static final String INTERNAL_BLOCK_DIAGRAM_URI = "platform:/plugin/org.eclipse.papyrus.sysml14.diagram.internalblock/resources/configuration/internalBlockDiagram.configuration#_ZrBf4JaBEeS8eNvSwD0lgA"; - private static final String PARAMETRIC_DIAGRAM_URI = "platform:/plugin/org.eclipse.papyrus.sysml14.diagram.parametric/resources/configuration/parametricDiagram.configuration#_ZrBf4JaBEeS8eNvSwD0lgA"; - private static final String REQUIREMENT_DIAGRAM_URI = "platform:/plugin/org.eclipse.papyrus.sysml14.diagram.requirement/resources/configuration/requirementDiagram.configuration#_ZrBf4JaBEeS8eNvSwD0lgA"; - - private static final String SYSML14_CONTEXT_ID = "org.eclipse.papyrus.sysml.architecture.SysML14"; - - /** - * @see org.eclipse.papyrus.infra.gmfdiag.common.reconciler.DiagramReconciler_1_3_0#getPapyrusDiagram(org.eclipse.papyrus.infra.viewpoints.style.PapyrusViewStyle) - * - * @param oldStyle - * @return - */ - @Override - protected PapyrusDiagram getDiagramKind(Diagram diagram, PapyrusViewStyle oldStyle) { - if (oldStyle != null) { - PapyrusView configuration = oldStyle.getConfiguration(); - if (configuration != null) { - URI uri = EcoreUtil.getURI(configuration); - if (uri != null) { - switch (uri.toString()) { - case REQUIREMENT_DIAGRAM_URI: - return getPapyrusDiagramById(SysML14chitectureUtil.DIAGRAM_REQUIREMENT_ID); - case BLOCK_DEFINITION_DIAGRAM_URI: - return getPapyrusDiagramById(SysML14chitectureUtil.DIAGRAM_BLOCK_DEFINITION_ID); - case INTERNAL_BLOCK_DIAGRAM_URI: - return getPapyrusDiagramById(SysML14chitectureUtil.DIAGRAM_INTERNAL_BLOCK_ID); - case PARAMETRIC_DIAGRAM_URI: - return getPapyrusDiagramById(SysML14chitectureUtil.DIAGRAM_PARAMETRIC_ID); - default:// not a SysML 1.4 Diagram configuration - break; - } - } - } - - } - return null; - } - - @Override - public ICommand getReconcileCommand(Diagram diagram) { - ICommand reconcileCommand = super.getReconcileCommand(diagram); - if (reconcileCommand != null && diagram != null) { - Resource eResource = diagram.eResource(); - if (eResource != null) { - ResourceSet resourceSet = eResource.getResourceSet(); - if (resourceSet instanceof ModelSet) { - CompositeCommand compositeCommand = new CompositeCommand("Update viewpoints from configuration to architecture and set SysML 1.4 as default architecture"); - compositeCommand.add(reconcileCommand); - Command setContextCommand = getSetContextCommand((ModelSet) resourceSet, SYSML14_CONTEXT_ID); - compositeCommand.add(EMFtoGMFCommandWrapper.wrap(setContextCommand)); - return compositeCommand; - } - } - } - return reconcileCommand; - } - - /////////////////////////////////////////////////////////////////////////////// - // FIXME: should be in Papyrus core API - protected Command getSetContextCommand(ModelSet modelSet, String contextId) { - return new RecordingCommand(modelSet.getTransactionalEditingDomain()) { - @Override - protected void doExecute() { - ArchitectureDescription description = DiModelUtils.getOrAddArchitectureDescription(modelSet); - description.setContextId(contextId); - } - }; - } - - protected PapyrusDiagram getPapyrusDiagramById(String id) { - ArchitectureDomainManager manager = ArchitectureDomainManager.getInstance(); - Collection<MergedArchitectureContext> visibleArchitectureContexts = manager.getVisibleArchitectureContexts(); - for (MergedArchitectureContext mergedArchitectureContext : visibleArchitectureContexts) { - if (mergedArchitectureContext instanceof MergedArchitectureDescriptionLanguage) { - MergedArchitectureDescriptionLanguage mergedArchitectureDescriptionLanguage = (MergedArchitectureDescriptionLanguage) mergedArchitectureContext; - for (RepresentationKind representationKind : mergedArchitectureDescriptionLanguage - .getRepresentationKinds()) { - if (representationKind instanceof PapyrusDiagram && representationKind.getId().equals(id)) { - return (PapyrusDiagram) representationKind; - } - } - } - } - return null; - } - //////////////////////////////////////////////////////////////////////////////// -}
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/src/org/eclipse/papyrus/sysml14/architecture/internal/migration/SysMLNeonToOxygenTableReconciler.java b/gui/org.eclipse.papyrus.sysml14.architecture/src/org/eclipse/papyrus/sysml14/architecture/internal/migration/SysMLNeonToOxygenTableReconciler.java deleted file mode 100644 index a831bdc..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture/src/org/eclipse/papyrus/sysml14/architecture/internal/migration/SysMLNeonToOxygenTableReconciler.java +++ /dev/null
@@ -1,176 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.architecture.internal.migration; - -import java.util.Collection; - -import org.eclipse.core.commands.ExecutionException; -import org.eclipse.core.runtime.IAdaptable; -import org.eclipse.core.runtime.IProgressMonitor; -import org.eclipse.emf.common.command.Command; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.ResourceSet; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.transaction.RecordingCommand; -import org.eclipse.gmf.runtime.common.core.command.AbstractCommand; -import org.eclipse.gmf.runtime.common.core.command.CommandResult; -import org.eclipse.gmf.runtime.common.core.command.CompositeCommand; -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.common.core.command.IdentityCommand; -import org.eclipse.papyrus.infra.architecture.ArchitectureDomainManager; -import org.eclipse.papyrus.infra.core.architecture.ArchitectureDescription; -import org.eclipse.papyrus.infra.core.architecture.RepresentationKind; -import org.eclipse.papyrus.infra.core.architecture.merged.MergedArchitectureContext; -import org.eclipse.papyrus.infra.core.architecture.merged.MergedArchitectureDescriptionLanguage; -import org.eclipse.papyrus.infra.core.resource.ModelSet; -import org.eclipse.papyrus.infra.core.resource.sasheditor.DiModelUtils; -import org.eclipse.papyrus.infra.emf.gmf.command.EMFtoGMFCommandWrapper; -import org.eclipse.papyrus.infra.nattable.common.reconciler.TableReconciler; -import org.eclipse.papyrus.infra.nattable.model.nattable.Table; -import org.eclipse.papyrus.infra.nattable.representation.PapyrusTable; -import org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusView; -import org.eclipse.papyrus.sysml14.architecture.util.SysML14chitectureUtil; - -/** - * SysML 1.4 Table Reconciler from Neon to Oxygen that replaces the old - * prototype value for tables with ones based on table kinds (Will move Table - * version annotation from 1.0.0 to 1.3.0) - */ -@SuppressWarnings({ "deprecation", "nls" }) // Warning are not pertinent this migration should remains on old API -public class SysMLNeonToOxygenTableReconciler extends TableReconciler { - - private static final String ALLOCATION_TABLE_URI = "platform:/plugin/org.eclipse.papyrus.sysml14.nattable.allocation/resources/configuration/allocationTable.configuration#_j2LQIC7uEeWklMXvaoXzgQ"; - private static final String REQUIREMENT_TABLE_URI = "platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/resources/configuration/requirementTable.configuration#_j2LQIy7uEeWklMXvaoXzgQ"; - private static final String REQUIREMENT_TREE_TABLE_URI = "platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/resources/configuration/requirementTable.configuration#_eXTo8CywEeaHK-6t3D9x9w"; - - private static final String SYSML14_CONTEXT_ID = "org.eclipse.papyrus.sysml.architecture.SysML14"; - - @Override - public ICommand getReconcileCommand(Table table) { - if (table.getPrototype() instanceof PapyrusView) { - PapyrusView oldTableKind = (PapyrusView) table.getPrototype(); - if (oldTableKind != null) { - URI uri = EcoreUtil.getURI(oldTableKind); - if (uri != null) { - RepresentationKind newTableKind = null; - switch (uri.toString()) { - case ALLOCATION_TABLE_URI: - newTableKind = getPapyrusTableById(SysML14chitectureUtil.TABLE_ALLOCATION_ID); - break; - case REQUIREMENT_TABLE_URI: - newTableKind = getPapyrusTableById(SysML14chitectureUtil.TABLE_REQUIREMENT_ID); - break; - case REQUIREMENT_TREE_TABLE_URI: - newTableKind = getPapyrusTableById(SysML14chitectureUtil.TABLE_REQUIREMENT_TREE_ID); - break; - default: - break; - } - if (newTableKind != null) { - ReplaceTablePrototypeCommand replaceTablePrototypeCommand = new ReplaceTablePrototypeCommand(table, newTableKind); - Resource eResource = table.eResource(); - if (eResource != null) { - ResourceSet resourceSet = eResource.getResourceSet(); - if (resourceSet instanceof ModelSet) { - CompositeCommand compositeCommand = new CompositeCommand("Update viewpoints from configuration to architecture and set SysML 1.4 as default architecture"); - compositeCommand.add(replaceTablePrototypeCommand); - Command setContextCommand = getSetContextCommand( (ModelSet) resourceSet, SYSML14_CONTEXT_ID); - compositeCommand.add(EMFtoGMFCommandWrapper.wrap(setContextCommand)); - return compositeCommand; - } - } - return replaceTablePrototypeCommand; - } - } - } - } - return IdentityCommand.INSTANCE; - } - - //////////////////////////////////////////////////////////////////////////////// - // FIXME: should be in Papyrus core API - - protected Command getSetContextCommand(ModelSet modelSet, String contextId) { - return new RecordingCommand(modelSet.getTransactionalEditingDomain()) { - @Override - protected void doExecute() { - ArchitectureDescription description = DiModelUtils.getOrAddArchitectureDescription(modelSet); - description.setContextId(contextId); - } - }; - } - - protected PapyrusTable getPapyrusTableById(String id) { - ArchitectureDomainManager manager = ArchitectureDomainManager.getInstance(); - Collection<MergedArchitectureContext> visibleArchitectureContexts = manager.getVisibleArchitectureContexts(); - for (MergedArchitectureContext mergedArchitectureContext : visibleArchitectureContexts) { - if (mergedArchitectureContext instanceof MergedArchitectureDescriptionLanguage) { - MergedArchitectureDescriptionLanguage mergedArchitectureDescriptionLanguage = (MergedArchitectureDescriptionLanguage) mergedArchitectureContext; - for (RepresentationKind representationKind : mergedArchitectureDescriptionLanguage - .getRepresentationKinds()) { - if (representationKind instanceof PapyrusTable && representationKind.getId().equals(id)) { - return (PapyrusTable) representationKind; - } - } - } - } - return null; - } - - /** - * A command to replace the old table prototype with the new representation - * kinds - */ - protected class ReplaceTablePrototypeCommand extends AbstractCommand { - - private Table table; - private RepresentationKind newKind; - - public ReplaceTablePrototypeCommand(Table table, RepresentationKind newKind) { - super("Replace the SysML 1.4 Table configuration from neon to oxygen"); - this.table = table; - this.newKind = newKind; - } - - @Override - protected CommandResult doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info) - throws ExecutionException { - table.setPrototype(null); - table.setTableKindId(newKind.getId()); - return CommandResult.newOKCommandResult(); - } - - @Override - public boolean canUndo() { - return false; - } - - @Override - public boolean canRedo() { - return false; - } - - @Override - protected CommandResult doRedoWithResult(IProgressMonitor progressMonitor, IAdaptable info) - throws ExecutionException { - throw new ExecutionException("Should not be called, canRedo false"); //$NON-NLS-1$ - } - - @Override - protected CommandResult doUndoWithResult(IProgressMonitor progressMonitor, IAdaptable info) - throws ExecutionException { - throw new ExecutionException("Should not be called, canUndo false"); //$NON-NLS-1$ - } - } - //////////////////////////////////////////////////////////////////////////////// -}
diff --git a/gui/org.eclipse.papyrus.sysml14.architecture/src/org/eclipse/papyrus/sysml14/architecture/util/SysML14chitectureUtil.java b/gui/org.eclipse.papyrus.sysml14.architecture/src/org/eclipse/papyrus/sysml14/architecture/util/SysML14chitectureUtil.java deleted file mode 100644 index d813b67..0000000 --- a/gui/org.eclipse.papyrus.sysml14.architecture/src/org/eclipse/papyrus/sysml14/architecture/util/SysML14chitectureUtil.java +++ /dev/null
@@ -1,37 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.architecture.util; - -/** - * Utility class to get informations on DeprecatedElement resources - * - */ -public final class SysML14chitectureUtil { - - private SysML14chitectureUtil(){ - } - - public static final String DIAGRAM_ACTIVITY_ID = "org.eclipse.papyrus.sysml14.diagram.activity"; //$NON-NLS-1$ - public static final String DIAGRAM_BLOCK_DEFINITION_ID = "org.eclipse.papyrus.sysml14.diagram.blockdefinition"; //$NON-NLS-1$ - public static final String DIAGRAM_INTERNAL_BLOCK_ID = "org.eclipse.papyrus.sysml14.diagram.internalblock"; //$NON-NLS-1$ - public static final String DIAGRAM_PACKAGE_ID = "org.eclipse.papyrus.sysml14.diagram.package"; //$NON-NLS-1$ - public static final String DIAGRAM_PARAMETRIC_ID = "org.eclipse.papyrus.sysml14.diagram.parametric"; //$NON-NLS-1$ - public static final String DIAGRAM_REQUIREMENT_ID = "org.eclipse.papyrus.sysml14.diagram.requirement"; //$NON-NLS-1$ - public static final String DIAGRAM_SEQUENCE_ID = "org.eclipse.papyrus.sysml14.diagram.sequence"; //$NON-NLS-1$ - public static final String DIAGRAM_STATE_MACHINE_ID = "org.eclipse.papyrus.sysml14.diagram.stateMachine"; //$NON-NLS-1$ - public static final String DIAGRAM_USE_CASE_ID = "org.eclipse.papyrus.sysml14.diagram.useCase"; //$NON-NLS-1$ - - public static final String TABLE_REQUIREMENT_ID = "org.eclipse.papyrus.sysml14.table.requirement"; //$NON-NLS-1$ - public static final String TABLE_REQUIREMENT_TREE_ID = "org.eclipse.papyrus.sysml14.table.requirementTree"; //$NON-NLS-1$ - public static final String TABLE_ALLOCATION_ID = "org.eclipse.papyrus.sysml14.table.allocation"; //$NON-NLS-1$ - -}
diff --git a/gui/org.eclipse.papyrus.sysml14.ui.tests/.project b/gui/org.eclipse.papyrus.sysml14.ui.tests/.project deleted file mode 100644 index cab8e0f..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui.tests/.project +++ /dev/null
@@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.ui.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> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription>
diff --git a/gui/org.eclipse.papyrus.sysml14.ui.tests/META-INF/MANIFEST.MF b/gui/org.eclipse.papyrus.sysml14.ui.tests/META-INF/MANIFEST.MF deleted file mode 100644 index 8f1bcaa..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui.tests/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,50 +0,0 @@ -Manifest-Version: 1.0 -Require-Bundle: org.eclipse.ui;bundle-version="[3.107.0,4.0.0)", - org.eclipse.ui.navigator;bundle-version="[3.6.0,4.0.0)", - org.eclipse.ui.views.properties.tabbed;bundle-version="[3.5.200,4.0.0)", - org.eclipse.ui.ide;bundle-version="[3.8.0,4.0.0)", - org.eclipse.core.expressions;bundle-version="[3.4.300,4.0.0)", - org.eclipse.gmf.runtime.diagram.ui;bundle-version="[1.5.0,2.0.0)", - org.junit;bundle-version="[4.10.0,5.0.0)", - org.eclipse.uml2.uml;bundle-version="[5.0.0,6.0.0)", - org.eclipse.papyrus.views.modelexplorer;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.widgets;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.types.core;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.core;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.core.log;bundle-version="[1.1.0,2.0.0)", - org.eclipse.papyrus.infra.services.edit;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.newchild;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.emf.facet.custom.core;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.tools.utils;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.clazz;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.communication;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.component;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.composite;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.deployment;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.interactionoverview;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.profile;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.statemachine;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.timing;bundle-version="[1.2.0,2.0.0)", - org.eclipse.papyrus.uml.diagram.usecase;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.sysml14;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.edit;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.service.types;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.diagram.common;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.diagram.blockdefinition;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.diagram.internalblock;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.diagram.parametric;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.diagram.requirement;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.nattable.common;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.nattable.allocation;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.nattable.requirement;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.nattable.ui;bundle-version="1.0.0" -Bundle-Vendor: %Bundle-Vendor -Bundle-Version: 1.2.0.qualifier -Bundle-Name: %Bundle-Name -Bundle-Localization: plugin -Bundle-ManifestVersion: 2 -Fragment-Host: org.eclipse.papyrus.sysml14.ui;bundle-version="1.0.0" -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.ui.tests -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -
diff --git a/gui/org.eclipse.papyrus.sysml14.ui.tests/plugin.properties b/gui/org.eclipse.papyrus.sysml14.ui.tests/plugin.properties deleted file mode 100644 index ed2c8d3..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui.tests/plugin.properties +++ /dev/null
@@ -1,14 +0,0 @@ -################################################################################# -# Copyright (c) 2015 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: -# -# CEA LIST - Initial API and Implementation. -# -################################################################################## -Bundle-Name=Papyrus SysML 1.4 UI Tests -Bundle-Vendor=Eclipse Modeling Project
diff --git a/gui/org.eclipse.papyrus.sysml14.ui.tests/pom.xml b/gui/org.eclipse.papyrus.sysml14.ui.tests/pom.xml deleted file mode 100644 index 7b8cd02..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui.tests/pom.xml +++ /dev/null
@@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.eclipse.papyrus.sysml</groupId> - <artifactId>org.eclipse.papyrus.sysml14.gui</artifactId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.ui.tests</artifactId> - <packaging>eclipse-test-plugin</packaging> - <name>org.eclipse.papyrus.sysml14.ui.tests</name> - <description>All unit tests related to the user interface.</description> -</project>
diff --git a/gui/org.eclipse.papyrus.sysml14.ui.tests/test/org/eclipse/papyrus/sysml14/ui/tests/images/SysmlProfileImageTest.java b/gui/org.eclipse.papyrus.sysml14.ui.tests/test/org/eclipse/papyrus/sysml14/ui/tests/images/SysmlProfileImageTest.java deleted file mode 100644 index 3a19150..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui.tests/test/org/eclipse/papyrus/sysml14/ui/tests/images/SysmlProfileImageTest.java +++ /dev/null
@@ -1,65 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.ui.tests.images; - -import java.io.IOException; -import java.net.MalformedURLException; -import java.net.URL; -import java.util.Set; - -import org.eclipse.core.runtime.FileLocator; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.uml.tools.utils.UMLUtil; -import org.eclipse.uml2.uml.Image; -import org.eclipse.uml2.uml.Package; -import org.eclipse.uml2.uml.Stereotype; -import org.eclipse.uml2.uml.UMLPlugin; -import org.junit.Assert; -import org.junit.Test; - -/** - * Basic test for SysML 1.4 images - * - */ -@SuppressWarnings("nls") -public class SysmlProfileImageTest { - - /** - * Check that images for Stereotypes defined in the profile are all present in the - * @throws IOException - */ - @Test - public void testImageLocation() throws IOException { - URI uri = UMLPlugin.getEPackageNsURIToProfileLocationMap().get(SysMLResource.PROFILE_URI); - Resource resource = new ResourceSetImpl().getResource(uri, true); - Set<Stereotype> allStereotypes = UMLUtil.getAllStereotypes((Package) resource.getAllContents().next()); - for (Stereotype stereotype : allStereotypes) { - EList<Image> icons = stereotype.getIcons(); - for (Image image : icons) { - String location = image.getLocation(); - try { - URL url = new URL(location); - Assert.assertNotNull("The icon location :" + location + " can't be found", FileLocator.find(url)); - } catch (MalformedURLException e) { - Assert.fail("The icon for " + stereotype.getName() + " is refering to a bad location : " + location); - } - } - } - } - -}
diff --git a/gui/org.eclipse.papyrus.sysml14.ui.tests/test/org/eclipse/papyrus/sysml14/ui/tests/resources/ExpressionValidationTest.java b/gui/org.eclipse.papyrus.sysml14.ui.tests/test/org/eclipse/papyrus/sysml14/ui/tests/resources/ExpressionValidationTest.java deleted file mode 100644 index 6760142..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui.tests/test/org/eclipse/papyrus/sysml14/ui/tests/resources/ExpressionValidationTest.java +++ /dev/null
@@ -1,46 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.ui.tests.resources; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.ecore.util.Diagnostician; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test the expression model : - validate the model - * - * @author Benoit Maggi - */ -@SuppressWarnings("nls") -public class ExpressionValidationTest { - - public static final String EXPRESSIONS_PATH = "org.eclipse.papyrus.sysml14.nattable.common/resources/SysML14.expressions"; - - /** - * Validate the model with the rules defined in the meta-model tooling - */ - @Test - public void useValidation() { - URI createPlatformPluginURI = URI.createPlatformPluginURI(EXPRESSIONS_PATH, true); - Resource resource = new ResourceSetImpl().getResource(createPlatformPluginURI, true); - Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); - Assert.assertEquals("The expression model is not valid " + EXPRESSIONS_PATH, Diagnostic.OK, - diagnostic.getSeverity()); - } - -}
diff --git a/gui/org.eclipse.papyrus.sysml14.ui.tests/test/org/eclipse/papyrus/sysml14/ui/tests/resources/ModelValidationTest.java b/gui/org.eclipse.papyrus.sysml14.ui.tests/test/org/eclipse/papyrus/sysml14/ui/tests/resources/ModelValidationTest.java deleted file mode 100644 index 90ac052..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui.tests/test/org/eclipse/papyrus/sysml14/ui/tests/resources/ModelValidationTest.java +++ /dev/null
@@ -1,80 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.ui.tests.resources; - -import java.util.Arrays; -import java.util.Collection; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.ecore.util.Diagnostician; -import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; -import org.eclipse.papyrus.sysml14.ui.Activator; -import org.junit.Assert; -import org.junit.BeforeClass; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.Parameterized; -import org.junit.runners.Parameterized.Parameters; - -/** - * This is a parameterized test to validate all model in the plugin - * - * @author Benoit Maggi - */ -@SuppressWarnings("nls") -@RunWith(Parameterized.class) -public class ModelValidationTest { - - @Parameters - public static Collection<Object[]> data() { - return Arrays.asList(new Object[][] { - {"/resources/SysML1.4ConstraintEnvironment.xmi"}, - {"/resources/SysML14.creationmenumodel"}, - {"/resources/SysML14Edges.creationmenumodel"}, - {"/resources/UML4SysML14.creationmenumodel"}, - {"/resources/UML4SysML14Edges.creationmenumodel"}, - //Model seems not to be valid due to the use of two classifier with the same name and a missing proxy to resolve a metamodel. - //{"/resources/custom/OperationalSysML.custom"} - // FIXME missing org.eclipse.papyrus.customization.properties.model.xwt;bundle-version="[1.1.0,2.0.0)" dependency in oxygen - //{"/resources/properties/SysML1.4.ctx"} - }); - } - - private String modelPath; - - public ModelValidationTest(String modelPath) { - this.modelPath = modelPath; - } - - @BeforeClass - public static void loadElementTypeSet(){ - ElementTypeSetConfigurationRegistry.getInstance(); - } - - /** - * Validate the model with the rules defined in the meta-model tooling - */ - @Test - public void validateModel() { - String fullPath = Activator.PLUGIN_ID + this.modelPath; - URI modelPlatformURI = URI.createPlatformPluginURI(fullPath, true); - Resource resource = new ResourceSetImpl().getResource(modelPlatformURI, true); - Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); - Assert.assertEquals("The "+modelPath+" model is invalid ", Diagnostic.OK, diagnostic.getSeverity()); - } - -}
diff --git a/gui/org.eclipse.papyrus.sysml14.ui.tests/test/org/eclipse/papyrus/sysml14/ui/tests/resources/NewChildMenuTest.java b/gui/org.eclipse.papyrus.sysml14.ui.tests/test/org/eclipse/papyrus/sysml14/ui/tests/resources/NewChildMenuTest.java deleted file mode 100644 index a033cf4..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui.tests/test/org/eclipse/papyrus/sysml14/ui/tests/resources/NewChildMenuTest.java +++ /dev/null
@@ -1,90 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.ui.tests.resources; - -import java.net.MalformedURLException; -import java.net.URL; - -import org.eclipse.core.runtime.FileLocator; -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.common.util.TreeIterator; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.ecore.util.Diagnostician; -import org.eclipse.papyrus.infra.newchild.elementcreationmenumodel.CreationMenu; -import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; -import org.eclipse.papyrus.sysml14.ui.Activator; -import org.junit.Assert; -import org.junit.BeforeClass; -import org.junit.Test; - -/** - * Test the new child model : - * - checks that all element type are registered - * - validate the model - * - * @author Benoit Maggi - */ -@SuppressWarnings("nls") -public class NewChildMenuTest { - - public static final String NEW_CHILD_MENU_PATH = Activator.PLUGIN_ID +"/resources/SysML14.creationmenumodel"; - - - @BeforeClass - public static void loadElementTypeSet(){ - ElementTypeSetConfigurationRegistry.getInstance(); - } - - /** - * Check that referenced element type are in the registry - */ - @Test - public void checkMenuNewChildElementTypeIdRefs() { - URI createPlatformPluginURI = URI.createPlatformPluginURI(NEW_CHILD_MENU_PATH, true); - ResourceSetImpl resourceSetImpl = new ResourceSetImpl(); - Resource resource = resourceSetImpl.getResource(createPlatformPluginURI, true); - - TreeIterator<EObject> allContents = resource.getAllContents(); - while (allContents.hasNext()) { - EObject eObject = (EObject) allContents.next(); - if (eObject instanceof CreationMenu) { - String iconPath = ((CreationMenu) eObject).getIcon(); - if (iconPath != null && !"".equals(iconPath)){ - try { - Assert.assertNotNull("The icon "+iconPath+" can't be found", FileLocator.find(new URL(iconPath))); - } catch (MalformedURLException e) { - Assert.fail("The new child menu is refering to a malformed url "+iconPath); - } - } - } - } - } - - - /** - * Validate the model with the rules defined in the meta-model tooling - */ - @Test - public void useValidation() { - URI createPlatformPluginURI = URI.createPlatformPluginURI(NEW_CHILD_MENU_PATH, true); - Resource resource = new ResourceSetImpl().getResource(createPlatformPluginURI, true); - Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); - Assert.assertEquals("The new Child menu is not valid "+NEW_CHILD_MENU_PATH, Diagnostic.OK, diagnostic.getSeverity()); - } - - -}
diff --git a/gui/org.eclipse.papyrus.sysml14.ui.tests/test/org/eclipse/papyrus/sysml14/ui/tests/resources/PaletteIconIdTest.java b/gui/org.eclipse.papyrus.sysml14.ui.tests/test/org/eclipse/papyrus/sysml14/ui/tests/resources/PaletteIconIdTest.java deleted file mode 100644 index c756642..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui.tests/test/org/eclipse/papyrus/sysml14/ui/tests/resources/PaletteIconIdTest.java +++ /dev/null
@@ -1,129 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.ui.tests.resources; - -import java.net.MalformedURLException; -import java.net.URL; -import java.util.Arrays; -import java.util.Collection; - -import org.eclipse.core.runtime.FileLocator; -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.common.util.TreeIterator; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.ecore.util.Diagnostician; -import org.eclipse.papyrus.infra.gmfdiag.paletteconfiguration.ChildConfiguration; -import org.eclipse.papyrus.infra.gmfdiag.paletteconfiguration.DrawerConfiguration; -import org.eclipse.papyrus.infra.gmfdiag.paletteconfiguration.IconDescriptor; -import org.eclipse.papyrus.infra.gmfdiag.paletteconfiguration.PaletteConfiguration; -import org.eclipse.papyrus.infra.gmfdiag.paletteconfiguration.ToolConfiguration; -import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; -import org.junit.Assert; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.junit.runners.Parameterized; -import org.junit.runners.Parameterized.Parameters; - -/** - * Abstract class used to launch tests on a palette model : - * - check quality id - * - check existing icon - * - * @author Benoit Maggi - */ -@SuppressWarnings("nls") -@RunWith(Parameterized.class) -public class PaletteIconIdTest { - - private String palettePath = ""; - - - @Parameters - public static Collection<Object[]> data() { - return Arrays.asList(new Object[][] { - {"org.eclipse.papyrus.sysml14.diagram.blockdefinition/resources/palette/blockDefinitionDiagram.paletteconfiguration"}, - {"org.eclipse.papyrus.sysml14.diagram.internalblock/resources/palette/internalBlockDiagram.paletteconfiguration"}, - {"org.eclipse.papyrus.sysml14.diagram.parametric/resources/Parametric.paletteconfiguration"}, - {"org.eclipse.papyrus.sysml14.diagram.requirement/resources/palette/requirementDiagram.paletteconfiguration"}, - }); - } - - public PaletteIconIdTest(String palettePath) { - this.palettePath = palettePath; - } - - @Before - public void loadElementTypeRegistry() { - ElementTypeSetConfigurationRegistry.getInstance(); - } - - /** - * Check palette ids and element type reference - */ - @Test - public void checkPaletteIds() { - URI createPlatformPluginURI = URI.createPlatformPluginURI(palettePath, true); - ResourceSetImpl resourceSetImpl = new ResourceSetImpl(); - Resource resource = resourceSetImpl.getResource(createPlatformPluginURI, true); - - TreeIterator<EObject> allContents = resource.getAllContents(); - while (allContents.hasNext()) { - EObject eObject = (EObject) allContents.next(); - - if (eObject instanceof PaletteConfiguration) { - PaletteConfiguration p = (PaletteConfiguration) eObject; - EList<DrawerConfiguration> drawerConfigurations = p.getDrawerConfigurations(); - for (DrawerConfiguration drawerConfiguration : drawerConfigurations) { - EList<ChildConfiguration> ownedConfigurations = drawerConfiguration.getOwnedConfigurations(); - for (ChildConfiguration childConfiguration : ownedConfigurations) { - - if (childConfiguration instanceof ToolConfiguration) { - ToolConfiguration toolConfiguration = (ToolConfiguration) childConfiguration; - - // check icon file - IconDescriptor icon = toolConfiguration.getIcon(); - String iconPath = "platform:/plugin/" + icon.getPluginID() + "/" + icon.getIconPath(); - if (iconPath != null && !"".equals(iconPath)) { - try { - URL url = new URL(iconPath); - Assert.assertNotNull("The icon " + iconPath + "(for : " + toolConfiguration.getId() - + ") can't be found", FileLocator.find(url)); - } catch (MalformedURLException e) { - Assert.fail("The new child menu is refering to a malformed url " + iconPath); - } - } - } - } - } - } - } - } - - /** - * Validate the model with the rules defined in the meta-model tooling - */ - @Test - public void useValidation() { - URI createPlatformPluginURI = URI.createPlatformPluginURI(palettePath, true); - Resource resource = new ResourceSetImpl().getResource(createPlatformPluginURI, true); - Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); - Assert.assertEquals("The palette is not valid " + palettePath, Diagnostic.OK, diagnostic.getSeverity()); - } - -}
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/.project b/gui/org.eclipse.papyrus.sysml14.ui/.project deleted file mode 100644 index ed761e0..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui/.project +++ /dev/null
@@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.ui</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> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription>
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/META-INF/MANIFEST.MF b/gui/org.eclipse.papyrus.sysml14.ui/META-INF/MANIFEST.MF deleted file mode 100644 index e7e502b..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,44 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %Bundle-Name -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.ui;singleton:=true -Bundle-Version: 1.2.0.qualifier -Bundle-ClassPath: . -Bundle-Activator: org.eclipse.papyrus.sysml14.ui.Activator -Require-Bundle: org.eclipse.ui;bundle-version="[3.107.0,4.0.0)", - org.eclipse.core.runtime;bundle-version="[3.11.1,4.0.0)", - org.eclipse.uml2.uml;bundle-version="[5.1.0,6.0.0)", - org.eclipse.gef;bundle-version="[3.10.0,4.0.0]", - org.eclipse.emf.edit.ui;bundle-version="[2.12.0,3.0.0)", - org.eclipse.papyrus.infra.core;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.core.log;bundle-version="[1.1.0,2.0.0)", - org.eclipse.papyrus.infra.constraints;bundle-version="[2.0.0,3.0.0)", - org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.newchild;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.services.edit;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.views.modelexplorer;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.views.properties;bundle-version="[4.0.0,5.0.0)", - org.eclipse.papyrus.emf.facet.custom.metamodel;bundle-version="[1.1.0,2.0.0)", - org.eclipse.papyrus.emf.facet.custom.ui;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.emf.facet.query.java.core;bundle-version="[2.0.0,3.0.0)", - org.eclipse.papyrus.uml.diagram.common;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.wizards;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.filters;bundle-version="[1.1.0,2.0.0)", - org.eclipse.papyrus.uml.modelexplorer;bundle-version="[2.0.0,3.0.0)", - org.eclipse.papyrus.uml.properties;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.templaterepository;bundle-version="[2.0.0,3.0.0)", - org.eclipse.papyrus.uml.tools;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.tools.utils;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.sysml14;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.architecture;bundle-version="1.0.0" -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Export-Package: org.eclipse.papyrus.sysml14.ui, - org.eclipse.papyrus.sysml14.ui.constraints, - org.eclipse.papyrus.sysml14.ui.paste, - org.eclipse.papyrus.sysml14.ui.queries.property, - org.eclipse.papyrus.sysml14.ui.template -Bundle-ActivationPolicy: lazy -Bundle-Localization: plugin -Bundle-Description: %Bundle-Description -Bundle-Vendor: %Bundle-Vendor
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/about.properties b/gui/org.eclipse.papyrus.sysml14.ui/about.properties deleted file mode 100644 index 49452d8..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui/about.properties +++ /dev/null
@@ -1,14 +0,0 @@ -# about.properties -# contains externalized strings for about.ini -# java.io.Properties file (ISO 8859-1 with "\" escapes) -# fill-ins are supplied by about.mappings -# This file should be translated. - -featureText=Papyrus SysML 1.4 \n\ -\n\ -Copyright (c) 2010, 2017 CEA LIST and others. -\n\ -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 -\n\ -Papyrus for SysML provides a UML 2/SyML 1.4 modeling environment that conforms to the OMG specification.\n\ -Visit http://www.eclipse.org/papyrus
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/plugin.properties b/gui/org.eclipse.papyrus.sysml14.ui/plugin.properties deleted file mode 100755 index a8c277e..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui/plugin.properties +++ /dev/null
@@ -1,15 +0,0 @@ -################################################################################# -# Copyright (c) 2015 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: -# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation -################################################################################## -Bundle-Name=Papyrus SysML 1.4 UI -Bundle-Description=This plug-in contains all graphical interface for the SyML 1.4 tooling. -Bundle-Vendor=Eclipse Modeling Project - -
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/plugin.xml b/gui/org.eclipse.papyrus.sysml14.ui/plugin.xml deleted file mode 100644 index dfb02ee..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui/plugin.xml +++ /dev/null
@@ -1,97 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?eclipse version="3.0"?> -<!-- - Copyright (c) 2015 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: - Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation ---> - -<plugin> - <extension point="org.eclipse.papyrus.emf.facet.util.emf.core.modeldeclaration"> - <modeldeclaration file="resources/custom/OperationalSysML.custom"/> -</extension> - - <extension - point="org.eclipse.papyrus.uml.extensionpoints.UMLProfile"> - <profile - description="UML profile for SysML (from OMG SysML V1.4)" - iconpath="resources/icons/SysMLProfile.gif" - name="SysML 1.4" - path="pathmap://SysML14_PROFILES/SysML.profile.uml" - provider="Eclipse Modeling Project"> - </profile> - </extension> - - <extension - point="org.eclipse.papyrus.uml.extensionpoints.UMLLibrary"> - <library - description="SysML-Standard-Library (non stereotype part from OMG SysML V1.4 profile)" - iconpath="resources/icons/SysMLLibrary.gif" - name="SysML-Standard-Library" - path="pathmap://SysML14_LIBRARIES/SysML-Standard-Library.uml" - provider="Eclipse Modeling Project"> - </library> - </extension> - - <extension - point="org.eclipse.papyrus.uml.extensionpoints.UMLLibrary"> - <library - description="SysM QUDV Library (non stereotype part from OMG SysML V1.4 profile)" - iconpath="resources/icons/SysMLLibrary.gif" - name="SysML QUDV Library" - path="pathmap://SysML14_LIBRARIES/QUDV.uml" - provider="Eclipse Modeling Project"> - </library> - </extension> - - <extension point="org.eclipse.papyrus.infra.ui.papyrusDiagram"> - <diagramCategory - class="org.eclipse.papyrus.sysml14.architecture.CreateSysML14ModelCommand" - description="SysML 1.4 diagrams" - icon="platform:/plugin/org.eclipse.papyrus.sysml14/resources/icons/SysML.gif" - id="SysML14" - label="SysML 1.4"> - </diagramCategory> - </extension> - - - <extension point="org.eclipse.papyrus.infra.newchild"> - <menuCreationModel model="resources/SysML14.creationmenumodel"></menuCreationModel> - <menuCreationModel model="resources/SysML14Edges.creationmenumodel"></menuCreationModel> - <!--A new menu should be added UML4SysML, it's like the UML New child menu with the subset UML in the norm - See Table 4.2 - UML 2 metaclasses and datatypes included in the UML4SysML subset UML 2 in SysML 1.4 norm. --> - <menuCreationModel model="resources/UML4SysML14.creationmenumodel"></menuCreationModel> - <menuCreationModel model="resources/UML4SysML14Edges.creationmenumodel"></menuCreationModel> - </extension> - - <extension point="org.eclipse.papyrus.infra.properties.contexts"> - <context contextModel="resources/properties/SysML1.4.ctx"></context> - </extension> - - <extension point="org.eclipse.papyrus.infra.constraints.ConstraintEnvironment"> - <environment environmentModel="resources/SysML1.4ConstraintEnvironment.xmi"></environment> - </extension> - - <extension - point="org.eclipse.papyrus.uml.diagram.wizards.templates"> - <transformation - Transformation="org.eclipse.papyrus.sysml14.ui.template.ImportSysMLQUDVLibraryInModel" - id="org.eclipse.papyrus.sysml14.templaterepository.ImportSysMLQUDVLibraryInModel" - language="org.eclipse.papyrus.sysml.architecture.SysML14" - name="A model with QUDV Library"> - </transformation> - </extension> - <extension - point="org.eclipse.papyrus.infra.gmfdiag.common.pasteStrategy"> - <strategy - strategy="org.eclipse.papyrus.sysml14.ui.paste.PartPasteStrategy"> - </strategy> - </extension> - -</plugin>
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/pom.xml b/gui/org.eclipse.papyrus.sysml14.ui/pom.xml deleted file mode 100644 index ca07a3b..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui/pom.xml +++ /dev/null
@@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <modelVersion>4.0.0</modelVersion> - <parent> - <artifactId>org.eclipse.papyrus.sysml14.gui</artifactId> - <groupId>org.eclipse.papyrus.sysml</groupId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.ui</artifactId> - <packaging>eclipse-plugin</packaging> - <name>org.eclipse.papyrus.sysml14.ui</name> - <description>This plugins manages the user interface based on the following framework: new child menu, properties</description> -</project> \ No newline at end of file
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi b/gui/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi deleted file mode 100644 index 38087bc..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi +++ /dev/null
@@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<environment:ConstraintEnvironment - xmi:version="2.0" - xmlns:xmi="http://www.omg.org/XMI" - xmlns:environment="http://www.eclipse.org/papyrus/constraints/environment/0.9"> - <constraintTypes - label="Has Stereotype Sysml 1.4" - constraintClass="org.eclipse.papyrus.sysml14.ui.constraints.HasStereotypeSysml14Constraint"/> -</environment:ConstraintEnvironment>
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/SysML14.creationmenumodel b/gui/org.eclipse.papyrus.sysml14.ui/resources/SysML14.creationmenumodel deleted file mode 100644 index 7c65948..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui/resources/SysML14.creationmenumodel +++ /dev/null
@@ -1,168 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<ElementCreationMenuModel:Folder xmlns:ElementCreationMenuModel="http://www.eclipse.org/papyrus/infra/newchild/elementcreationmenumodel" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:filters="http://www.eclipse.org/Papyrus/2014/common/filters" xmlns:umlfilters="http://www.eclipse.org/Papyrus/2014/uml/filters" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" icon="platform:/plugin/org.eclipse.papyrus.sysml14/resources/icons/full/obj16/SysML.gif" label="SysML 1.4 Child" xmi:id="_FUfLgMyuEeSuYbPdZwWlyw" xmi:version="2.0"> - <filter filter="//@filter/@ownedFilter.0" xsi:type="filters:CompoundFilter"> - <ownedFilter name="isSysML14ProfileApplied" profileQualifiedName="SysML" profileURI="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML" xsi:type="umlfilters:ProfileApplied"/> - </filter> - <menu label="AcceptChangeStructuralFeatureEventAction" xmi:id="_FUfypMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.AcceptChangeStructuralFeatureEventAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu label="AdjunctProperty" xmi:id="_FUfyncyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.AdjunctProperty" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu label="AllocateActivityPartition" xmi:id="_FUgZucyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.AllocateActivityPartition" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Block.gif" label="Block" xmi:id="_FUfylcyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Block" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/BoundReference.gif" label="BoundReference" xmi:id="_FUfynMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.BoundReference" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ChangeStructuralFeatureEvent.gif" label="ChangeStructuralFeatureEvent" xmi:id="_FUfypcyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ChangeStructuralFeatureEvent" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ClassifierBehaviorProperty.gif" label="ClassifierBehaviorProperty" xmi:id="_FUfynsyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ClassifierBehaviorProperty" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ConnectorProperty.gif" label="ConnectorProperty" xmi:id="_FUfyksyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ConnectorProperty" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ConstraintBlock.gif" label="ConstraintBlock" xmi:id="_FUgZuMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ConstraintBlock" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu label="Continuous ActivityEdge" xmi:id="_FUgZqcyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Continuous_ActivityEdge" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu label="Continuous Parameter" xmi:id="_FUgZqsyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Continuous_Parameter" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ControlOperator_Behavior.gif" label="ControlOperator Behavior" xmi:id="_FUgZosyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ControlOperator_Behavior" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ControlOperator_Operation.gif" label="ControlOperator Operation" xmi:id="_FUgZo8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ControlOperator_Operation" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu label="DirectedFeature" xmi:id="_FUfypsyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.DirectedFeature" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu label="DirectedRelationshipPropertyPath" xmi:id="_FUfymcyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.DirectedRelationshipPropertyPath" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu label="Discrete ActivityEdge" xmi:id="_FUgZp8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Discrete_ActivityEdge" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu label="Discrete Parameter" xmi:id="_FUgZqMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Discrete_Parameter" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/DistributedProperty.gif" label="DistributedProperty" xmi:id="_FUfykcyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.DistributedProperty" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ElementGroup.gif" label="ElementGroup" xmi:id="_FUgZt8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ElementGroup" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu label="ElementPropertyPath" xmi:id="_FUfymsyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ElementPropertyPath" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/EndPathMultiplicity.gif" label="EndPathMultiplicity" xmi:id="_FUfym8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.EndPathMultiplicity" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowProperty.gif" label="FlowProperty" xmi:id="_FUfyoMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowProperty" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowPort.gif" label="FlowPort" xmi:id="_FUgZy8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowPort" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowSpecification.gif" label="FlowSpecification" xmi:id="_FUgZzMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FlowSpecification" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FullPort.gif" label="FullPort" xmi:id="_FUfyocyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.FullPort" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/InterfaceBlock.gif" label="InterfaceBlock" xmi:id="_FUfyosyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.InterfaceBlock" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu label="InvocationOnNestedPortAction InvocationAction" xmi:id="_FUfyp8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.InvocationOnNestedPortAction_InvocationAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu label="InvocationOnNestedPortAction Element" xmi:id="_FUfyqMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.InvocationOnNestedPortAction_Element" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/NestedConnectorEnd_ConnectorEnd.gif" label="NestedConnectorEnd ConnectorEnd" xmi:id="_FUfyl8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.NestedConnectorEnd_ConnectorEnd" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/NestedConnectorEnd_Element.gif" label="NestedConnectorEnd Element" xmi:id="_FUfymMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.NestedConnectorEnd_Element" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu label="NoBuffer" xmi:id="_FUgZpsyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.NoBuffer" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Optional.gif" label="Optional" xmi:id="_FUgZrcyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Optional" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu label="Overwrite" xmi:id="_FUgZocyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Overwrite" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Property.gif" label="Parameter" xmi:id="_FUfyk8yuEeSuYbPdZwWelyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Parameter" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ParticipantProperty.gif" label="ParticipantProperty" xmi:id="_FUfyk8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ParticipantProperty" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Problem.gif" label="Problem" xmi:id="_FUgZs8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Problem" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu label="Probability ActivityEdge" xmi:id="_FUgZq8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Probability_ActivityEdge" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu label="Probability ParameterSet" xmi:id="_FUgZrMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Probability_ParameterSet" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/PropertySpecificType.gif" label="PropertySpecificType" xmi:id="_FUfylsyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.PropertySpecificType" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FullPort.gif" label="ProxyPort" xmi:id="_FUfyo8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ProxyPort" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/InstanceSpecification.gif" label="QuantityKind" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.QuantityKind" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu label="Rate ActivityEdge" xmi:id="_FUgZpMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Rate_ActivityEdge" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu label="Rate Parameter" xmi:id="_FUgZpcyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Rate_Parameter" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Rationale.gif" label="Rationale" xmi:id="_FUgZrsyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Rationale" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Requirement.gif" label="Requirement" xmi:id="_FUgZxMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Requirement" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Stakeholder.gif" label="Stakeholder" xmi:id="_FUgZtcyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Stakeholder" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/TestCase_Operation.gif" label="TestCase Operation" xmi:id="_FUgZwsyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.TestCase_Operation" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/TestCase_Behavior.gif" label="TestCase Behavior" xmi:id="_FUgZw8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.TestCase_Behavior" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/TriggerOnNestedPort_Element.gif" label="TriggerOnNestedPort Element" xmi:id="_FUgZoMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.TriggerOnNestedPort_Element" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/TriggerOnNestedPort_Trigger.gif" label="TriggerOnNestedPort Trigger" xmi:id="_FUfyqcyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.TriggerOnNestedPort_Trigger" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Unit.gif" label="Unit" xmi:id="_V9D8cOjrEeS0s_Pe-G3XMA" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Unit" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ValueType.gif" label="ValueType" xmi:id="_FUfykMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ValueType" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/View.gif" label="View" xmi:id="_FUgZsMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.View" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Viewpoint.gif" label="Viewpoint" xmi:id="_FUgZtMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Viewpoint" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> -</ElementCreationMenuModel:Folder>
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/SysML14Edges.creationmenumodel b/gui/org.eclipse.papyrus.sysml14.ui/resources/SysML14Edges.creationmenumodel deleted file mode 100644 index 945faa8..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui/resources/SysML14Edges.creationmenumodel +++ /dev/null
@@ -1,52 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<ElementCreationMenuModel:Folder xmlns:ElementCreationMenuModel="http://www.eclipse.org/papyrus/infra/newchild/elementcreationmenumodel" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:filters="http://www.eclipse.org/Papyrus/2014/common/filters" xmlns:umlfilters="http://www.eclipse.org/Papyrus/2014/uml/filters" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" icon="platform:/plugin/org.eclipse.papyrus.sysml14/resources/icons/full/obj16/SysML.gif" label="SysML 1.4 Relationship" xmi:id="_FUfLgMyuEeSuYbPdZwWlyw" xmi:version="2.0"> - <filter filter="//@filter/@ownedFilter.0" xsi:type="filters:CompoundFilter"> - <ownedFilter name="isSysML14ProfileApplied" profileQualifiedName="SysML" profileURI="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML" xsi:type="umlfilters:ProfileApplied"/> - </filter> - <menu label="Allocate" xmi:id="_FUgZusyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Allocate_Abstraction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/AssociationBlock.gif" label="AssociationBlock" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.AssociationBlock" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu displayAllRoles="false" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/BindingConnector.gif" label="BindingConnector" xmi:id="_FUfylMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.BindingConnector" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu displayAllRoles="false" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Conform.gif" label="Conform" xmi:id="_FUgZssyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Conform" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu displayAllRoles="false" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/ControlFlow.gif" label="Continuous Control Flow" xmi:id="_FUgZxcyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ContinuousControlFlow" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu displayAllRoles="false" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Copy.gif" label="Copy" xmi:id="_FUgZvsyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Copy_Abstraction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu displayAllRoles="false" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/DeriveReqt.gif" label="DeriveReqt" xmi:id="_FUgZvMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.DeriveReqt_Abstraction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu displayAllRoles="false" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/ControlFlow.gif" label="Discrete Control Flow" xmi:id="_FUgZxcyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.DiscreteControlFlow" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu displayAllRoles="false" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Expose.gif" label="Expose" xmi:id="_FUgZtsyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Expose" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu displayAllRoles="false" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ItemFlow.gif" label="ItemFlow" xmi:id="_FUfyn8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.ItemFlow" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu displayAllRoles="false" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/ControlFlow.gif" label="Rate Control Flow" xmi:id="_FUgZxcyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14-extension.elementtypesconfigurations#org.eclipse.papyrus.SysML14.RateControlFlow" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Refine.gif" label="Refine" xmi:id="_FUgZycyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Refine_Abstraction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu displayAllRoles="false" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Satisfy.gif" label="Satisfy" xmi:id="_FUgZwMyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Satisfy_Abstraction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu displayAllRoles="false" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Trace.gif" label="Trace" xmi:id="_FUgZx8yuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Trace_Abstraction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - <menu displayAllRoles="false" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Verify.gif" label="Verify" xmi:id="_FUgZxcyuEeSuYbPdZwWlyw" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.sysml14.service.types/model/SysML14.elementtypesconfigurations#org.eclipse.papyrus.SysML14.Verify_Abstraction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/> - </menu> - -</ElementCreationMenuModel:Folder>
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/UML4SysML14.creationmenumodel b/gui/org.eclipse.papyrus.sysml14.ui/resources/UML4SysML14.creationmenumodel deleted file mode 100644 index a5db558..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui/resources/UML4SysML14.creationmenumodel +++ /dev/null
@@ -1,363 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<ElementCreationMenuModel:Folder xmlns:ElementCreationMenuModel="http://www.eclipse.org/papyrus/infra/newchild/elementcreationmenumodel" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:filters="http://www.eclipse.org/Papyrus/2014/common/filters" xmlns:umlfilters="http://www.eclipse.org/Papyrus/2014/uml/filters" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" icon="platform:/plugin/org.eclipse.papyrus.sysml14/resources/icons/full/obj16/SysML.gif" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14" label="UML for SysML 1.4" xmi:version="2.0"> - <filter filter="//@filter/@ownedFilter.0" xsi:type="filters:CompoundFilter"> - <ownedFilter name="isSysML14ProfileApplied" profileQualifiedName="SysML" profileURI="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML" xsi:type="umlfilters:ProfileApplied"/> - </filter> - <menu label="AcceptCallAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.AcceptCallAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.AcceptCallAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="AcceptEventAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.AcceptEventAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.AcceptEventAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ActionExecutionSpecification" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ActionExecutionSpecification" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ActionExecutionSpecification" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ActionInputPin" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ActionInputPin" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ActionInputPin" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ActivityFinalNode" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ActivityFinalNode" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ActivityFinalNode" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ActivityParameterNode" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ActivityParameterNode" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ActivityParameterNode" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ActivityPartition" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ActivityPartition" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ActivityPartition" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="AddStructuralFeatureValueAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.AddStructuralFeatureValueAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.AddStructuralFeatureValueAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="AddVariableValueAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.AddVariableValueAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.AddVariableValueAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="AnyReceiveEvent" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.AnyReceiveEvent" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.AnyReceiveEvent" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="BehaviorExecutionSpecification" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.BehaviorExecutionSpecification" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.BehaviorExecutionSpecification" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="BroadcastSignalAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.BroadcastSignalAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.BroadcastSignalAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="CallBehaviorAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.CallBehaviorAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.CallBehaviorAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="CallEvent" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.CallEvent" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.CallEvent" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="CentralBufferNode" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.CentralBufferNode" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.CentralBufferNode" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ChangeEvent" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ChangeEvent" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ChangeEvent" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Class" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Class" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Class" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Clause" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Clause" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Clause" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ClearAssociationAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ClearAssociationAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ClearAssociationAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ClearVariableAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ClearVariableAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ClearVariableAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="CombinedFragment" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.CombinedFragment" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.CombinedFragment" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Comment" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Comment" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Comment" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ConditionalNode" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ConditionalNode" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ConditionalNode" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ConnectorEnd" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ConnectorEnd" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ConnectorEnd" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ConsiderIgnoreFragment" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ConsiderIgnoreFragment" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ConsiderIgnoreFragment" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Constraint" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Constraint" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Constraint" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Continuation" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Continuation" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Continuation" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="CreateLinkAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.CreateLinkAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.CreateLinkAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="CreateLinkObjectAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.CreateLinkObjectAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.CreateLinkObjectAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="CreateObjectAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.CreateObjectAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.CreateObjectAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="DataStoreNode" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.DataStoreNode" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DataStoreNode" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="DecisionNode" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.DecisionNode" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DecisionNode" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="DestroyLinkAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.DestroyLinkAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DestroyLinkAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="DestructionOccurrenceSpecification" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.DestructionOccurrenceSpecification" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DestructionOccurrenceSpecification" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Duration" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Duration" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Duration" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="DurationConstraint" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.DurationConstraint" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DurationConstraint" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="DurationObservation" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.DurationObservation" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.DurationObservation" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ElementImport" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ElementImport" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ElementImport" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Enumeration" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Enumeration" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Enumeration" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="EnumerationLiteral" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.EnumerationLiteral" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.EnumerationLiteral" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ExecutionOccurrenceSpecification" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ExecutionOccurrenceSpecification" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ExecutionOccurrenceSpecification" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Expression" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Expression" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Expression" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ExtensionEnd" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ExtensionEnd" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ExtensionEnd" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ExtensionPoint" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ExtensionPoint" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ExtensionPoint" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="FinalState" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.FinalState" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.FinalState" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="FlowFinalNode" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.FlowFinalNode" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.FlowFinalNode" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ForkNode" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ForkNode" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ForkNode" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="FunctionBehavior" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.FunctionBehavior" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.FunctionBehavior" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="GeneralOrdering" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.GeneralOrdering" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.GeneralOrdering" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Image" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Image" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Image" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="InformationItem" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.InformationItem" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.InformationItem" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="InputPin" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.InputPin" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.InputPin" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="InstanceSpecification" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.InstanceSpecification" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.InstanceSpecification" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="InstanceValue" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.InstanceValue" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.InstanceValue" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Interaction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Interaction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Interaction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="InteractionConstraint" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.InteractionConstraint" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.InteractionConstraint" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="InteractionOperand" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.InteractionOperand" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.InteractionOperand" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="InteractionUse" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.InteractionUse" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.InteractionUse" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Interface" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Interface" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Interface" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Interval" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Interval" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Interval" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="IntervalConstraint" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.IntervalConstraint" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.IntervalConstraint" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="JoinNode" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.JoinNode" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.JoinNode" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Lifeline" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Lifeline" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Lifeline" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="LinkEndCreationData" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.LinkEndCreationData" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.LinkEndCreationData" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="LinkEndDestructionData" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.LinkEndDestructionData" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.LinkEndDestructionData" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="LiteralBoolean" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.LiteralBoolean" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.LiteralBoolean" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="LiteralInteger" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.LiteralInteger" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.LiteralInteger" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="LiteralNull" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.LiteralNull" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.LiteralNull" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="LiteralReal" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.LiteralReal" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.LiteralReal" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="LiteralUnlimitedNatural" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.LiteralUnlimitedNatural" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.LiteralUnlimitedNatural" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="LoopNode" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.LoopNode" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.LoopNode" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="MergeNode" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.MergeNode" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.MergeNode" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Message" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Message" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Message" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="MessageOccurrenceSpecification" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.MessageOccurrenceSpecification" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.MessageOccurrenceSpecification" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Model" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Model" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Model" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="OccurrenceSpecification" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.OccurrenceSpecification" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.OccurrenceSpecification" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="OpaqueAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.OpaqueAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.OpaqueAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="OpaqueExpression" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.OpaqueExpression" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.OpaqueExpression" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Operation" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Operation" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Operation" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="OutputPin" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.OutputPin" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.OutputPin" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Package" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Package" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Package" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="PackageImport" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.PackageImport" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.PackageImport" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ParameterSet" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ParameterSet" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ParameterSet" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="PartDecomposition" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.PartDecomposition" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.PartDecomposition" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="PrimitiveType" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.PrimitiveType" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.PrimitiveType" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Profile" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Profile" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Profile" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Property" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Property" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Property" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="RaiseExceptionAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.RaiseExceptionAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.RaiseExceptionAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ReadExtentAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ReadExtentAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ReadExtentAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ReadIsClassifiedObjectAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ReadIsClassifiedObjectAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ReadIsClassifiedObjectAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ReadLinkObjectEndAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ReadLinkObjectEndAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ReadLinkObjectEndAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ReadSelfAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ReadSelfAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ReadSelfAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ReadStructuralFeatureAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ReadStructuralFeatureAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ReadStructuralFeatureAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ReadVariableAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ReadVariableAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ReadVariableAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ReclassifyObjectAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ReclassifyObjectAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ReclassifyObjectAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ReduceAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ReduceAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ReduceAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Region" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Region" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Region" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="RemoveStructuralFeatureValueAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.RemoveStructuralFeatureValueAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.RemoveStructuralFeatureValueAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="RemoveVariableValueAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.RemoveVariableValueAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.RemoveVariableValueAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ReplyAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ReplyAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ReplyAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="SendSignalAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.SendSignalAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.SendSignalAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="SequenceNode" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.SequenceNode" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.SequenceNode" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Signal" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Signal" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Signal" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="SignalEvent" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.SignalEvent" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.SignalEvent" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Slot" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Slot" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Slot" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="StartClassifierBehaviorAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.StartClassifierBehaviorAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.StartClassifierBehaviorAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="State" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.State" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.State" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="StateInvariant" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.StateInvariant" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.StateInvariant" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="StateMachine" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.StateMachine" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.StateMachine" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Stereotype" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Stereotype" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Stereotype" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="TestIdentityAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.TestIdentityAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.TestIdentityAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="TimeConstraint" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.TimeConstraint" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.TimeConstraint" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="TimeEvent" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.TimeEvent" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.TimeEvent" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="TimeExpression" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.TimeExpression" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.TimeExpression" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="TimeObservation" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.TimeObservation" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.TimeObservation" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Transition" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Transition" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Transition" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="UnmarshallAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.UnmarshallAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.UnmarshallAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="UseCase" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.UseCase" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.UseCase" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ValueSpecificationAction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ValueSpecificationAction" xsi:type="ElementCreationMenuModel:CreationMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ValueSpecificationAction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> -</ElementCreationMenuModel:Folder>
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/UML4SysML14Edges.creationmenumodel b/gui/org.eclipse.papyrus.sysml14.ui/resources/UML4SysML14Edges.creationmenumodel deleted file mode 100644 index 08c93be..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui/resources/UML4SysML14Edges.creationmenumodel +++ /dev/null
@@ -1,51 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<ElementCreationMenuModel:Folder xmlns:ElementCreationMenuModel="http://www.eclipse.org/papyrus/infra/newchild/elementcreationmenumodel" xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.2" xmlns:filters="http://www.eclipse.org/Papyrus/2014/common/filters" xmlns:umlfilters="http://www.eclipse.org/Papyrus/2014/uml/filters" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" icon="platform:/plugin/org.eclipse.papyrus.sysml14/resources/icons/full/obj16/SysML.gif" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14" label="UML for SysML 1.4 Edges" xmi:version="2.0"> - <filter filter="//@filter/@ownedFilter.0" xsi:type="filters:CompoundFilter"> - <ownedFilter name="isSysML14ProfileApplied" profileQualifiedName="SysML" profileURI="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML" xsi:type="umlfilters:ProfileApplied"/> - </filter> - <menu label="Abstraction" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Abstraction" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Abstraction" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Connector" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Connector" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Connector" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Dependency" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Dependency" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Dependency" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ElementImport" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ElementImport" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ElementImport" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Extend" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Extend" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Extend" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Generalization" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Generalization" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Generalization" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Include" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Include" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Include" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="InformationFlow" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.InformationFlow" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.InformationFlow" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="InterfaceRealization" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.InterfaceRealization" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.InterfaceRealization" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="PackageImport" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.PackageImport" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.PackageImport" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="PackageMerge" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.PackageMerge" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.PackageMerge" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="ProfileApplication" visible="false" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.ProfileApplication" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.ProfileApplication" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Realization" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Realization" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Realization" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Substitution" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Substitution" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Substitution" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> - <menu label="Usage" xmi:id="org.eclipse.papyrus.sysml14.menu.uml4sysml14.Usage" xsi:type="ElementCreationMenuModel:CreateRelationshipMenu"> - <elementType href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#org.eclipse.papyrus.uml.Usage" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration" /> - </menu> -</ElementCreationMenuModel:Folder>
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/custom/OperationalSysML.custom b/gui/org.eclipse.papyrus.sysml14.ui/resources/custom/OperationalSysML.custom deleted file mode 100644 index ca04c09..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui/resources/custom/OperationalSysML.custom +++ /dev/null
@@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<custom:Customization xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:custom="http://www.eclipse.org/papyrus/emf/facet/custom/0.2.incubation/custom" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:efacet="http://www.eclipse.org/papyrus/emf/facet/efacet/0.2.incubation/efacet" xmlns:javaQuery="http://www.eclipse.org/papyrus/emf/facet/query/java/0.2.incubation/javaquery" xmlns:query="http://www.eclipse.org/papyrus/emf/facet/efacet/0.2.incubation/efacet/query" name="OperationalSysML" documentation="Display contained diagram and their icons"> - <eClassifiers xsi:type="efacet:Facet" name="TypedProperty" documentation="this element represent a typed property that could be displayed as tree" conformanceTypedElement="//TypedProperty/isTypedProperty"> - <extendedMetaclass href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - <facetOperations name="isTypedProperty" documentation="test if the property is typed"> - <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> - <query xsi:type="javaQuery:JavaQuery" implementationClassName="org.eclipse.papyrus.sysml14.ui.queries.property.IsTypedPropertyJavaQuery"/> - </facetOperations> - </eClassifiers> - <eClassifiers xsi:type="custom:FacetCustomization" name="TypedProperty" documentation="Representation of a typed property"> - <facetElements xsi:type="efacet:FacetReference" name="attributes" upperBound="-1" defaultValueLiteral="" derived="true"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - <query xsi:type="query:OperationCallQuery" operation="//TypedProperty.1/TypedPropertyRefContent"/> - </facetElements> - <facetOperations name="TypedPropertyRefContent" upperBound="-1" documentation="Get the collection of all attributes of a typed property"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - <query xsi:type="javaQuery:JavaQuery" implementationClassName="org.eclipse.papyrus.sysml14.ui.queries.property.GetContainedAttributesJavaQuery"/> - </facetOperations> - <extendedFacets href="platform:/plugin/org.eclipse.papyrus.sysml14.ui/resources/custom/OperationalSysML.custom#//TypedProperty"/> - <customizedFacet href="platform:/plugin/org.eclipse.papyrus.sysml14.ui/resources/custom/OperationalSysML.custom#//TypedProperty"/> - </eClassifiers> -</custom:Customization>
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/doc/org.eclipse.papyrus.sysml14.ui.notation b/gui/org.eclipse.papyrus.sysml14.ui/resources/doc/org.eclipse.papyrus.sysml14.ui.notation deleted file mode 100644 index 5324dd7..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui/resources/doc/org.eclipse.papyrus.sysml14.ui.notation +++ /dev/null
@@ -1,120 +0,0 @@ -<?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:configuration="http://www.eclipse.org/papyrus/infra/viewpoints/configuration" xmlns:css="http://www.eclipse.org/papyrus/infra/gmfdiag/css" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:nattable="http://www.eclipse.org/papyrus/nattable/model" xmlns:nattableaxis="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis" xmlns:nattableaxisconfiguration="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration" xmlns:nattableaxisprovider="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider" xmlns:nattableconfiguration="http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration" xmlns:nattablestyle="http://www.eclipse.org/papyrus/nattable/model/table/nattablestyle" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis http://www.eclipse.org/papyrus/nattable/model#//nattableaxis http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration http://www.eclipse.org/papyrus/nattable/model#//nattableaxisconfiguration http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider http://www.eclipse.org/papyrus/nattable/model#//nattableaxisprovider http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration http://www.eclipse.org/papyrus/nattable/model#//nattableconfiguration http://www.eclipse.org/papyrus/nattable/model/table/nattablestyle http://www.eclipse.org/papyrus/nattable/model#//nattablestyle"> - <notation:Diagram xmi:id="_OF23gOLIEeSv5dwvZ9NSDw" type="PapyrusUMLClassDiagram" name="Overview" measurementUnit="Pixel"> - <children xmi:type="notation:Shape" xmi:id="_OF3ekOLIEeSv5dwvZ9NSDw" type="Model_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3ekeLIEeSv5dwvZ9NSDw" type="Model_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="__wt4AJoSEeeOUvsiG0ZmwQ" type="Model_PackagedElementCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_OF3ek-LIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3elOLIEeSv5dwvZ9NSDw"/> - </children> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.ui.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eleLIEeSv5dwvZ9NSDw" x="201" y="38"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_OF3eluLIEeSv5dwvZ9NSDw" type="Model_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3el-LIEeSv5dwvZ9NSDw" type="Model_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="__wt4AZoSEeeOUvsiG0ZmwQ" type="Model_PackagedElementCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_OF3emeLIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3emuLIEeSv5dwvZ9NSDw"/> - </children> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.ui.uml#_OFsfc-LIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3em-LIEeSv5dwvZ9NSDw" x="204" y="173"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_OF3enOLIEeSv5dwvZ9NSDw" type="Model_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3eneLIEeSv5dwvZ9NSDw" type="Model_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="__wt4ApoSEeeOUvsiG0ZmwQ" type="Model_PackagedElementCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_OF3en-LIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eoOLIEeSv5dwvZ9NSDw"/> - </children> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.ui.uml#_OFsfduLIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3eoeLIEeSv5dwvZ9NSDw" x="206" y="329"/> - </children> - <children xmi:type="notation:Shape" xmi:id="_OF3eouLIEeSv5dwvZ9NSDw" type="Model_Shape"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3eo-LIEeSv5dwvZ9NSDw" type="Model_NameLabel"/> - <children xmi:type="notation:BasicCompartment" xmi:id="__wufEJoSEeeOUvsiG0ZmwQ" type="Model_PackagedElementCompartment"> - <styles xmi:type="notation:TitleStyle" xmi:id="_OF3epeLIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3epuLIEeSv5dwvZ9NSDw"/> - </children> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.ui.uml#_OFsfeOLIEeSv5dwvZ9NSDw"/> - <layoutConstraint xmi:type="notation:Bounds" xmi:id="_OF3ep-LIEeSv5dwvZ9NSDw" x="635" y="324"/> - </children> - <styles xmi:type="notation:DiagramStyle" xmi:id="_OF3eqOLIEeSv5dwvZ9NSDw"/> - <styles xmi:type="style:PapyrusViewStyle" xmi:id="_OF3eqeLIEeSv5dwvZ9NSDw"> - <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.ui.uml#_OFsfcOLIEeSv5dwvZ9NSDw"/> - <configuration xmi:type="configuration:PapyrusDiagram" href="platform:/plugin/org.eclipse.papyrus.infra.viewpoints.policy/builtin/default.configuration#_7wLmpNxhEeOqHvRyiN87hA"/> - </styles> - <styles xmi:type="notation:StringValueStyle" xmi:id="_ffusMFCLEeWVDv-g61eepg" name="diagram_compatibility_version" stringValue="1.3.0"/> - <element xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.ui.uml#_OFsfcOLIEeSv5dwvZ9NSDw"/> - <edges xmi:type="notation:Connector" xmi:id="_OF3equLIEeSv5dwvZ9NSDw" type="Abstraction_Edge" source="_OF3eluLIEeSv5dwvZ9NSDw" target="_OF3ekOLIEeSv5dwvZ9NSDw"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3eq-LIEeSv5dwvZ9NSDw" visible="false" type="Abstraction_NameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3erOLIEeSv5dwvZ9NSDw" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3ereLIEeSv5dwvZ9NSDw" visible="false" type="Abstraction_StereotypeLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3eruLIEeSv5dwvZ9NSDw" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_OF3er-LIEeSv5dwvZ9NSDw"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.ui.uml#_OFsfdOLIEeSv5dwvZ9NSDw"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OF3esOLIEeSv5dwvZ9NSDw" points="[-2, -10, 8, 48]$[-27, -45, -17, 13]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3eseLIEeSv5dwvZ9NSDw" id="(0.305,0.1)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3esuLIEeSv5dwvZ9NSDw" id="(0.27,0.87)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_OF3es-LIEeSv5dwvZ9NSDw" type="Abstraction_Edge" source="_OF3enOLIEeSv5dwvZ9NSDw" target="_OF3eluLIEeSv5dwvZ9NSDw"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3etOLIEeSv5dwvZ9NSDw" visible="false" type="Abstraction_NameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3eteLIEeSv5dwvZ9NSDw" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3etuLIEeSv5dwvZ9NSDw" visible="false" type="Abstraction_StereotypeLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3et-LIEeSv5dwvZ9NSDw" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_OF3euOLIEeSv5dwvZ9NSDw"/> - <element xmi:type="uml:Abstraction" href="org.eclipse.papyrus.sysml14.ui.uml#_OFsfd-LIEeSv5dwvZ9NSDw"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OF3eueLIEeSv5dwvZ9NSDw" points="[-9, -16, 0, 67]$[-24, -72, -15, 11]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3euuLIEeSv5dwvZ9NSDw" id="(0.27,0.16)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3eu-LIEeSv5dwvZ9NSDw" id="(0.235,0.89)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_OF3evOLIEeSv5dwvZ9NSDw" type="Dependency_Edge" source="_OF3eouLIEeSv5dwvZ9NSDw" target="_OF3eluLIEeSv5dwvZ9NSDw"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3eveLIEeSv5dwvZ9NSDw" visible="false" type="Dependency_NameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3evuLIEeSv5dwvZ9NSDw" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3ev-LIEeSv5dwvZ9NSDw" visible="false" type="Dependency_StereotypeLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3ewOLIEeSv5dwvZ9NSDw" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_OF3eweLIEeSv5dwvZ9NSDw"/> - <element xmi:type="uml:Dependency" href="org.eclipse.papyrus.sysml14.ui.uml#_OFsfeeLIEeSv5dwvZ9NSDw"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OF3ewuLIEeSv5dwvZ9NSDw" points="[-46, -20, 265, 113]$[-275, -135, 36, -2]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3ew-LIEeSv5dwvZ9NSDw" id="(0.0,0.24)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3exOLIEeSv5dwvZ9NSDw" id="(1.0,0.65)"/> - </edges> - <edges xmi:type="notation:Connector" xmi:id="_OF3exeLIEeSv5dwvZ9NSDw" type="Dependency_Edge" source="_OF3eouLIEeSv5dwvZ9NSDw" target="_OF3enOLIEeSv5dwvZ9NSDw"> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3exuLIEeSv5dwvZ9NSDw" visible="false" type="Dependency_NameLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3ex-LIEeSv5dwvZ9NSDw" y="40"/> - </children> - <children xmi:type="notation:DecorationNode" xmi:id="_OF3eyOLIEeSv5dwvZ9NSDw" visible="false" type="Dependency_StereotypeLabel"> - <layoutConstraint xmi:type="notation:Location" xmi:id="_OF3eyeLIEeSv5dwvZ9NSDw" y="60"/> - </children> - <styles xmi:type="notation:FontStyle" xmi:id="_OF3eyuLIEeSv5dwvZ9NSDw"/> - <element xmi:type="uml:Dependency" href="org.eclipse.papyrus.sysml14.ui.uml#_OFsfeuLIEeSv5dwvZ9NSDw"/> - <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OF3ey-LIEeSv5dwvZ9NSDw" points="[-40, 1, 262, -12]$[-267, 20, 35, 7]"/> - <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3ezOLIEeSv5dwvZ9NSDw" id="(0.0,0.69)"/> - <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OF3ezeLIEeSv5dwvZ9NSDw" id="(1.0,0.64)"/> - </edges> - </notation:Diagram> - <css:ModelStyleSheets xmi:id="_MXBlUOc1EeSLdPGe2q9R0g"/> - <nattable:Table xmi:id="_D9c-MJoTEeeOUvsiG0ZmwQ" name="Requirements" currentRowAxisProvider="_D9c-NJoTEeeOUvsiG0ZmwQ" currentColumnAxisProvider="_D9c-MZoTEeeOUvsiG0ZmwQ" tableKindId="org.eclipse.papyrus.sysml14.table.requirement"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_D9eMUJoTEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/papyrus/infra/nattable/version"> - <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_D9eMUZoTEeeOUvsiG0ZmwQ" key="version" value="1.3.0"/> - </eAnnotations> - <context xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.ui.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> - <owner xmi:type="uml:Model" href="org.eclipse.papyrus.sysml14.ui.uml#_OFsfcuLIEeSv5dwvZ9NSDw"/> - <tableConfiguration xmi:type="nattableconfiguration:TableConfiguration" href="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/resources/requirement.nattableconfiguration#/"/> - <columnAxisProvidersHistory xmi:type="nattableaxisprovider:SlaveObjectAxisProvider" xmi:id="_D9c-MZoTEeeOUvsiG0ZmwQ" description="Provides the columns of the tables with a default configuration" name="Requirements Feature Columns Provider"> - <axis xmi:type="nattableaxis:FeatureIdAxis" xmi:id="_D9c-MpoTEeeOUvsiG0ZmwQ" element="property_of_stereotype:/SysML::Requirements::Requirement::id"> - <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_Fjpf8JoTEeeOUvsiG0ZmwQ" name="axisWidth" intValue="2091"/> - <manager xmi:type="nattableaxisconfiguration:AxisManagerRepresentation" href="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/resources/requirement.nattableconfiguration#//@columnHeaderAxisConfiguration/@axisManagers.1"/> - </axis> - <axis xmi:type="nattableaxis:FeatureIdAxis" xmi:id="_D9c-M5oTEeeOUvsiG0ZmwQ" element="property_of_stereotype:/SysML::Requirements::Requirement::text"> - <styles xmi:type="nattablestyle:IntValueStyle" xmi:id="_FjOpMJoTEeeOUvsiG0ZmwQ" name="axisWidth" intValue="4919"/> - <manager xmi:type="nattableaxisconfiguration:AxisManagerRepresentation" href="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/resources/requirement.nattableconfiguration#//@columnHeaderAxisConfiguration/@axisManagers.1"/> - </axis> - </columnAxisProvidersHistory> - <rowAxisProvidersHistory xmi:type="nattableaxisprovider:MasterObjectAxisProvider" xmi:id="_D9c-NJoTEeeOUvsiG0ZmwQ" description="Provides the requirements directly owned by the context of the table" name="Requirement Axis Provider" disconnectSlave="true"/> - </nattable:Table> -</xmi:XMI>
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/doc/org.eclipse.papyrus.sysml14.ui.uml b/gui/org.eclipse.papyrus.sysml14.ui/resources/doc/org.eclipse.papyrus.sysml14.ui.uml deleted file mode 100644 index 3fccbe3..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui/resources/doc/org.eclipse.papyrus.sysml14.ui.uml +++ /dev/null
@@ -1,93 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Requirements="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/sysml/1.4/SysML/Requirements http://www.eclipse.org/papyrus/sysml/1.4/SysML"> - <uml:Model xmi:id="_OFsfcOLIEeSv5dwvZ9NSDw" name="org.eclipse.papyrus.sysml14.ui"> - <packageImport xmi:type="uml:PackageImport" xmi:id="_OFsfceLIEeSv5dwvZ9NSDw"> - <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/> - </packageImport> - <packageImport xmi:type="uml:PackageImport" xmi:id="_ehZx8JNWEeWc3dlpn_2AyA"> - <importedPackage xmi:type="uml:Model" href="../../../org.eclipse.papyrus.sysml14.core/org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml#_d7ALQDqsEeWNg8WvR7UDoQ"/> - </packageImport> - <packagedElement xmi:type="uml:Model" xmi:id="_OFsfcuLIEeSv5dwvZ9NSDw" name="Requirements"> - <ownedComment xmi:type="uml:Comment" xmi:id="_dICO8Oc2EeSLdPGe2q9R0g"> - <body>This package will contains all graphical requirements for SysML elements from the UI components.</body> - </ownedComment> - <packagedElement xmi:type="uml:Class" xmi:id="_tZwtUJNWEeWc3dlpn_2AyA" name="REQ_001"/> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_taE2YJNWEeWc3dlpn_2AyA" name="DeriveFrom_REQ-OMG-SYSML14-8.3.1.2.1 Property types" client="_tZwtUJNWEeWc3dlpn_2AyA"> - <supplier xmi:type="uml:Class" href="../../../org.eclipse.papyrus.sysml14.core/org.eclipse.papyrus.sysml14/resources/doc/omg.sysml.uml#_66IZyTq8EeW79ofuztDyTA"/> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Model" xmi:id="_OFsfc-LIEeSv5dwvZ9NSDw" name="UseCases"> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_OFsfdOLIEeSv5dwvZ9NSDw" name="useCasesAbstraction" client="_OFsfc-LIEeSv5dwvZ9NSDw" supplier="_OFsfcuLIEeSv5dwvZ9NSDw"/> - <packagedElement xmi:type="uml:Component" xmi:id="_OFsfdeLIEeSv5dwvZ9NSDw" name="MySystem"/> - </packagedElement> - <packagedElement xmi:type="uml:Model" xmi:id="_OFsfduLIEeSv5dwvZ9NSDw" name="Design"> - <packagedElement xmi:type="uml:Abstraction" xmi:id="_OFsfd-LIEeSv5dwvZ9NSDw" name="DesignAbstraction" client="_OFsfduLIEeSv5dwvZ9NSDw" supplier="_OFsfc-LIEeSv5dwvZ9NSDw"/> - </packagedElement> - <packagedElement xmi:type="uml:Model" xmi:id="_OFsfeOLIEeSv5dwvZ9NSDw" name="Test"> - <packagedElement xmi:type="uml:Dependency" xmi:id="_OFsfeeLIEeSv5dwvZ9NSDw" name="Dependency1" client="_OFsfeOLIEeSv5dwvZ9NSDw" supplier="_OFsfc-LIEeSv5dwvZ9NSDw"/> - <packagedElement xmi:type="uml:Dependency" xmi:id="_OFsfeuLIEeSv5dwvZ9NSDw" name="Dependency2" client="_OFsfeOLIEeSv5dwvZ9NSDw" supplier="_OFsfduLIEeSv5dwvZ9NSDw"/> - </packagedElement> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_OFsfgeLIEeSv5dwvZ9NSDw"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_OFsfguLIEeSv5dwvZ9NSDw" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML_PROFILES/SysML.profile.uml#_OOJC4LX8EduFmqQsrNB9lw"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4a_noJoSEeeOUvsiG0ZmwQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4bNqEJoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#/"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4bORIJoSEeeOUvsiG0ZmwQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4bORIZoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//activities"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Activities"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4bO4MJoSEeeOUvsiG0ZmwQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4bO4MZoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//allocations"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Allocations"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4bPfQJoSEeeOUvsiG0ZmwQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4bPfQZoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//blocks"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4bPfQpoSEeeOUvsiG0ZmwQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4bQGUJoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//constraintblocks"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ConstraintBlocks"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4bQGUZoSEeeOUvsiG0ZmwQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4bQGUpoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//deprecatedelements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_DeprecatedElements"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4bQtYJoSEeeOUvsiG0ZmwQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4bQtYZoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//modelelements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ModelElements"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4bRUcJoSEeeOUvsiG0ZmwQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4bRUcZoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//portsandflows"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows"/> - </profileApplication> - <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_4bRUcpoSEeeOUvsiG0ZmwQ"> - <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_4bR7gJoSEeeOUvsiG0ZmwQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.4/SysML#//requirements"/> - </eAnnotations> - <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML14_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements"/> - </profileApplication> - </uml:Model> - <Requirements:Requirement xmi:id="_tZ86kJNWEeWc3dlpn_2AyA" text="Type properties should be displayed in the Model Explorer with a tree viewver to display their owned elements
Property types details here https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/org.eclipse.papyrus.sysml.core/norm/formal-15-06-03.pdf#page=69" id="REQ_001" base_Class="_tZwtUJNWEeWc3dlpn_2AyA"/> - <Requirements:DeriveReqt xmi:id="_taGrkJNWEeWc3dlpn_2AyA" base_Abstraction="_taE2YJNWEeWc3dlpn_2AyA"/> -</xmi:XMI>
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/SysML1.4.ctx b/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/SysML1.4.ctx deleted file mode 100644 index cafac88..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/SysML1.4.ctx +++ /dev/null
@@ -1,1152 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<contexts:Context xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:constraints="http://www.eclipse.org/papyrus/constraints/0.9" xmlns:contexts="http://www.eclipse.org/papyrus/properties/contexts/0.9" xmi:id="_z-Na8M1XEeSGVbFNM4m8gQ" name="SysML 1.4"> - <dependencies href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_69QJkKDJEeSZxfCXzZz3-w"/> - <tabs xmi:id="_2xXfEM1XEeSGVbFNM4m8gQ" label="SysML 1.4" id="osysml14" category="org.eclipse.papyrus" priority="5"> - <sections xmi:id="_2xtdUM1XEeSGVbFNM4m8gQ" name="Single FlowSpecification" sectionFile="ui/SingleFlowSpecification.xwt"> - <widget href="ui/SingleFlowSpecification.xwt#/"/> - </sections> - <sections xmi:id="_2xtdUc1XEeSGVbFNM4m8gQ" name="Multiple FlowSpecification" sectionFile="ui/MultipleFlowSpecification.xwt"> - <widget href="ui/MultipleFlowSpecification.xwt#/"/> - </sections> - <sections xmi:id="_2xuEYM1XEeSGVbFNM4m8gQ" name="Single FlowPort" sectionFile="ui/SingleFlowPort.xwt"> - <widget href="ui/SingleFlowPort.xwt#/"/> - </sections> - <sections xmi:id="_2xuEYc1XEeSGVbFNM4m8gQ" name="Multiple FlowPort" sectionFile="ui/MultipleFlowPort.xwt"> - <widget href="ui/MultipleFlowPort.xwt#/"/> - </sections> - <sections xmi:id="_2xurcM1XEeSGVbFNM4m8gQ" name="Single NestedConnectorEnd" sectionFile="ui/SingleNestedConnectorEnd.xwt"> - <widget href="ui/SingleNestedConnectorEnd.xwt#/"/> - </sections> - <sections xmi:id="_2xurcc1XEeSGVbFNM4m8gQ" name="Multiple NestedConnectorEnd" sectionFile="ui/MultipleNestedConnectorEnd.xwt"> - <widget href="ui/MultipleNestedConnectorEnd.xwt#/"/> - </sections> - <sections xmi:id="_2xurcs1XEeSGVbFNM4m8gQ" name="Single BoundReference" sectionFile="ui/SingleBoundReference.xwt"> - <widget href="ui/SingleBoundReference.xwt#/"/> - </sections> - <sections xmi:id="_2xvSgM1XEeSGVbFNM4m8gQ" name="Multiple BoundReference" sectionFile="ui/MultipleBoundReference.xwt"> - <widget href="ui/MultipleBoundReference.xwt#/"/> - </sections> - <sections xmi:id="_2xvSgc1XEeSGVbFNM4m8gQ" name="Single ValueType" sectionFile="ui/SingleValueType.xwt"> - <widget href="ui/SingleValueType.xwt#/"/> - </sections> - <sections xmi:id="_2xv5kM1XEeSGVbFNM4m8gQ" name="Multiple ValueType" sectionFile="ui/MultipleValueType.xwt"> - <widget href="ui/MultipleValueType.xwt#/"/> - </sections> - <sections xmi:id="_2xv5kc1XEeSGVbFNM4m8gQ" name="Single PropertySpecificType" sectionFile="ui/SinglePropertySpecificType.xwt"> - <widget href="ui/SinglePropertySpecificType.xwt#/"/> - </sections> - <sections xmi:id="_2xv5ks1XEeSGVbFNM4m8gQ" name="Multiple PropertySpecificType" sectionFile="ui/MultiplePropertySpecificType.xwt"> - <widget href="ui/MultiplePropertySpecificType.xwt#/"/> - </sections> - <sections xmi:id="_2xwgoM1XEeSGVbFNM4m8gQ" name="Single Block" sectionFile="ui/SingleBlock.xwt"> - <widget href="ui/SingleBlock.xwt#/"/> - </sections> - <sections xmi:id="_2xxHsM1XEeSGVbFNM4m8gQ" name="Multiple Block" sectionFile="ui/MultipleBlock.xwt"> - <widget href="ui/MultipleBlock.xwt#/"/> - </sections> - <sections xmi:id="_2xxHsc1XEeSGVbFNM4m8gQ" name="Single BindingConnector" sectionFile="ui/SingleBindingConnector.xwt"> - <widget href="ui/SingleBindingConnector.xwt#/"/> - </sections> - <sections xmi:id="_2xxHss1XEeSGVbFNM4m8gQ" name="Multiple BindingConnector" sectionFile="ui/MultipleBindingConnector.xwt"> - <widget href="ui/MultipleBindingConnector.xwt#/"/> - </sections> - <sections xmi:id="_2xxHs81XEeSGVbFNM4m8gQ" name="Single DistributedProperty" sectionFile="ui/SingleDistributedProperty.xwt"> - <widget href="ui/SingleDistributedProperty.xwt#/"/> - </sections> - <sections xmi:id="_2xxuwM1XEeSGVbFNM4m8gQ" name="Multiple DistributedProperty" sectionFile="ui/MultipleDistributedProperty.xwt"> - <widget href="ui/MultipleDistributedProperty.xwt#/"/> - </sections> - <sections xmi:id="_2xxuwc1XEeSGVbFNM4m8gQ" name="Single ElementPropertyPath" sectionFile="ui/SingleElementPropertyPath.xwt"> - <widget href="ui/SingleElementPropertyPath.xwt#/"/> - </sections> - <sections xmi:id="_2xxuws1XEeSGVbFNM4m8gQ" name="Multiple ElementPropertyPath" sectionFile="ui/MultipleElementPropertyPath.xwt"> - <widget href="ui/MultipleElementPropertyPath.xwt#/"/> - </sections> - <sections xmi:id="_2xyV0M1XEeSGVbFNM4m8gQ" name="Single EndPathMultiplicity" sectionFile="ui/SingleEndPathMultiplicity.xwt"> - <widget href="ui/SingleEndPathMultiplicity.xwt#/"/> - </sections> - <sections xmi:id="_2xy84M1XEeSGVbFNM4m8gQ" name="Multiple EndPathMultiplicity" sectionFile="ui/MultipleEndPathMultiplicity.xwt"> - <widget href="ui/MultipleEndPathMultiplicity.xwt#/"/> - </sections> - <sections xmi:id="_2xy84c1XEeSGVbFNM4m8gQ" name="Single ConnectorProperty" sectionFile="ui/SingleConnectorProperty.xwt"> - <widget href="ui/SingleConnectorProperty.xwt#/"/> - </sections> - <sections xmi:id="_2xzj8M1XEeSGVbFNM4m8gQ" name="Multiple ConnectorProperty" sectionFile="ui/MultipleConnectorProperty.xwt"> - <widget href="ui/MultipleConnectorProperty.xwt#/"/> - </sections> - <sections xmi:id="_2xzj8c1XEeSGVbFNM4m8gQ" name="Single ClassifierBehaviorProperty" sectionFile="ui/SingleClassifierBehaviorProperty.xwt"> - <widget href="ui/SingleClassifierBehaviorProperty.xwt#/"/> - </sections> - <sections xmi:id="_2xzj8s1XEeSGVbFNM4m8gQ" name="Multiple ClassifierBehaviorProperty" sectionFile="ui/MultipleClassifierBehaviorProperty.xwt"> - <widget href="ui/MultipleClassifierBehaviorProperty.xwt#/"/> - </sections> - <sections xmi:id="_2x0LAM1XEeSGVbFNM4m8gQ" name="Single DirectedRelationshipPropertyPath" sectionFile="ui/SingleDirectedRelationshipPropertyPath.xwt"> - <widget href="ui/SingleDirectedRelationshipPropertyPath.xwt#/"/> - </sections> - <sections xmi:id="_2x0yEM1XEeSGVbFNM4m8gQ" name="Multiple DirectedRelationshipPropertyPath" sectionFile="ui/MultipleDirectedRelationshipPropertyPath.xwt"> - <widget href="ui/MultipleDirectedRelationshipPropertyPath.xwt#/"/> - </sections> - <sections xmi:id="_2x0yEc1XEeSGVbFNM4m8gQ" name="Single AdjunctProperty" sectionFile="ui/SingleAdjunctProperty.xwt"> - <widget href="ui/SingleAdjunctProperty.xwt#/"/> - </sections> - <sections xmi:id="_2x1ZIM1XEeSGVbFNM4m8gQ" name="Multiple AdjunctProperty" sectionFile="ui/MultipleAdjunctProperty.xwt"> - <widget href="ui/MultipleAdjunctProperty.xwt#/"/> - </sections> - <sections xmi:id="_2x1ZIc1XEeSGVbFNM4m8gQ" name="Single ParticipantProperty" sectionFile="ui/SingleParticipantProperty.xwt"> - <widget href="ui/SingleParticipantProperty.xwt#/"/> - </sections> - <sections xmi:id="_2x1ZIs1XEeSGVbFNM4m8gQ" name="Multiple ParticipantProperty" sectionFile="ui/MultipleParticipantProperty.xwt"> - <widget href="ui/MultipleParticipantProperty.xwt#/"/> - </sections> - <sections xmi:id="_2x2nQM1XEeSGVbFNM4m8gQ" name="Single Requirement" sectionFile="ui/SingleRequirement.xwt"> - <widget href="ui/SingleRequirement.xwt#/"/> - </sections> - <sections xmi:id="_2x3OUM1XEeSGVbFNM4m8gQ" name="Multiple Requirement" sectionFile="ui/MultipleRequirement.xwt"> - <widget href="ui/MultipleRequirement.xwt#/"/> - </sections> - <sections xmi:id="_2x3OUc1XEeSGVbFNM4m8gQ" name="Single Trace" sectionFile="ui/SingleTrace.xwt"> - <widget href="ui/SingleTrace.xwt#/"/> - </sections> - <sections xmi:id="_2x3OUs1XEeSGVbFNM4m8gQ" name="Multiple Trace" sectionFile="ui/MultipleTrace.xwt"> - <widget href="ui/MultipleTrace.xwt#/"/> - </sections> - <sections xmi:id="_2x3OU81XEeSGVbFNM4m8gQ" name="Single Copy" sectionFile="ui/SingleCopy.xwt"> - <widget href="ui/SingleCopy.xwt#/"/> - </sections> - <sections xmi:id="_2x31YM1XEeSGVbFNM4m8gQ" name="Multiple Copy" sectionFile="ui/MultipleCopy.xwt"> - <widget href="ui/MultipleCopy.xwt#/"/> - </sections> - <sections xmi:id="_2x31Yc1XEeSGVbFNM4m8gQ" name="Single Verify" sectionFile="ui/SingleVerify.xwt"> - <widget href="ui/SingleVerify.xwt#/"/> - </sections> - <sections xmi:id="_2x31Ys1XEeSGVbFNM4m8gQ" name="Multiple Verify" sectionFile="ui/MultipleVerify.xwt"> - <widget href="ui/MultipleVerify.xwt#/"/> - </sections> - <sections xmi:id="_2x4ccM1XEeSGVbFNM4m8gQ" name="Single TestCase" sectionFile="ui/SingleTestCase.xwt"> - <widget href="ui/SingleTestCase.xwt#/"/> - </sections> - <sections xmi:id="_2x4ccc1XEeSGVbFNM4m8gQ" name="Multiple TestCase" sectionFile="ui/MultipleTestCase.xwt"> - <widget href="ui/MultipleTestCase.xwt#/"/> - </sections> - <sections xmi:id="_2x4ccs1XEeSGVbFNM4m8gQ" name="Single Refine" sectionFile="ui/SingleRefine.xwt"> - <widget href="ui/SingleRefine.xwt#/"/> - </sections> - <sections xmi:id="_2x4cc81XEeSGVbFNM4m8gQ" name="Multiple Refine" sectionFile="ui/MultipleRefine.xwt"> - <widget href="ui/MultipleRefine.xwt#/"/> - </sections> - <sections xmi:id="_2x5DgM1XEeSGVbFNM4m8gQ" name="Single Satisfy" sectionFile="ui/SingleSatisfy.xwt"> - <widget href="ui/SingleSatisfy.xwt#/"/> - </sections> - <sections xmi:id="_2x5Dgc1XEeSGVbFNM4m8gQ" name="Multiple Satisfy" sectionFile="ui/MultipleSatisfy.xwt"> - <widget href="ui/MultipleSatisfy.xwt#/"/> - </sections> - <sections xmi:id="_2x5Dgs1XEeSGVbFNM4m8gQ" name="Single DeriveReqt" sectionFile="ui/SingleDeriveReqt.xwt"> - <widget href="ui/SingleDeriveReqt.xwt#/"/> - </sections> - <sections xmi:id="_2x5Dg81XEeSGVbFNM4m8gQ" name="Multiple DeriveReqt" sectionFile="ui/MultipleDeriveReqt.xwt"> - <widget href="ui/MultipleDeriveReqt.xwt#/"/> - </sections> - <sections xmi:id="_2x5DhM1XEeSGVbFNM4m8gQ" name="Single ConstraintBlock" sectionFile="ui/SingleConstraintBlock.xwt"> - <widget href="ui/SingleConstraintBlock.xwt#/"/> - </sections> - <sections xmi:id="_2x5qkM1XEeSGVbFNM4m8gQ" name="Multiple ConstraintBlock" sectionFile="ui/MultipleConstraintBlock.xwt"> - <widget href="ui/MultipleConstraintBlock.xwt#/"/> - </sections> - <sections xmi:id="_2x5qkc1XEeSGVbFNM4m8gQ" name="Single DirectedFeature" sectionFile="ui/SingleDirectedFeature.xwt"> - <widget href="ui/SingleDirectedFeature.xwt#/"/> - </sections> - <sections xmi:id="_2x6RoM1XEeSGVbFNM4m8gQ" name="Multiple DirectedFeature" sectionFile="ui/MultipleDirectedFeature.xwt"> - <widget href="ui/MultipleDirectedFeature.xwt#/"/> - </sections> - <sections xmi:id="_2x6Roc1XEeSGVbFNM4m8gQ" name="Single FlowProperty" sectionFile="ui/SingleFlowProperty.xwt"> - <widget href="ui/SingleFlowProperty.xwt#/"/> - </sections> - <sections xmi:id="_2x64sM1XEeSGVbFNM4m8gQ" name="Multiple FlowProperty" sectionFile="ui/MultipleFlowProperty.xwt"> - <widget href="ui/MultipleFlowProperty.xwt#/"/> - </sections> - <sections xmi:id="_2x64sc1XEeSGVbFNM4m8gQ" name="Single AcceptChangeStructuralFeatureEventAction" sectionFile="ui/SingleAcceptChangeStructuralFeatureEventAction.xwt"> - <widget href="ui/SingleAcceptChangeStructuralFeatureEventAction.xwt#/"/> - </sections> - <sections xmi:id="_2x64ss1XEeSGVbFNM4m8gQ" name="Multiple AcceptChangeStructuralFeatureEventAction" sectionFile="ui/MultipleAcceptChangeStructuralFeatureEventAction.xwt"> - <widget href="ui/MultipleAcceptChangeStructuralFeatureEventAction.xwt#/"/> - </sections> - <sections xmi:id="_2x7fwM1XEeSGVbFNM4m8gQ" name="Single TriggerOnNestedPort" sectionFile="ui/SingleTriggerOnNestedPort.xwt"> - <widget href="ui/SingleTriggerOnNestedPort.xwt#/"/> - </sections> - <sections xmi:id="_2x7fwc1XEeSGVbFNM4m8gQ" name="Multiple TriggerOnNestedPort" sectionFile="ui/MultipleTriggerOnNestedPort.xwt"> - <widget href="ui/MultipleTriggerOnNestedPort.xwt#/"/> - </sections> - <sections xmi:id="_2x7fws1XEeSGVbFNM4m8gQ" name="Single FullPort" sectionFile="ui/SingleFullPort.xwt"> - <widget href="ui/SingleFullPort.xwt#/"/> - </sections> - <sections xmi:id="_2x8G0M1XEeSGVbFNM4m8gQ" name="Multiple FullPort" sectionFile="ui/MultipleFullPort.xwt"> - <widget href="ui/MultipleFullPort.xwt#/"/> - </sections> - <sections xmi:id="_2x8t4M1XEeSGVbFNM4m8gQ" name="Single InterfaceBlock" sectionFile="ui/SingleInterfaceBlock.xwt"> - <widget href="ui/SingleInterfaceBlock.xwt#/"/> - </sections> - <sections xmi:id="_2x8t4c1XEeSGVbFNM4m8gQ" name="Multiple InterfaceBlock" sectionFile="ui/MultipleInterfaceBlock.xwt"> - <widget href="ui/MultipleInterfaceBlock.xwt#/"/> - </sections> - <sections xmi:id="_2x8t4s1XEeSGVbFNM4m8gQ" name="Single InvocationOnNestedPortAction" sectionFile="ui/SingleInvocationOnNestedPortAction.xwt"> - <widget href="ui/SingleInvocationOnNestedPortAction.xwt#/"/> - </sections> - <sections xmi:id="_2x8t481XEeSGVbFNM4m8gQ" name="Multiple InvocationOnNestedPortAction" sectionFile="ui/MultipleInvocationOnNestedPortAction.xwt"> - <widget href="ui/MultipleInvocationOnNestedPortAction.xwt#/"/> - </sections> - <sections xmi:id="_2x9U8M1XEeSGVbFNM4m8gQ" name="Single ProxyPort" sectionFile="ui/SingleProxyPort.xwt"> - <widget href="ui/SingleProxyPort.xwt#/"/> - </sections> - <sections xmi:id="_2x9U8c1XEeSGVbFNM4m8gQ" name="Multiple ProxyPort" sectionFile="ui/MultipleProxyPort.xwt"> - <widget href="ui/MultipleProxyPort.xwt#/"/> - </sections> - <sections xmi:id="_2x9U8s1XEeSGVbFNM4m8gQ" name="Single ChangeStructuralFeatureEvent" sectionFile="ui/SingleChangeStructuralFeatureEvent.xwt"> - <widget href="ui/SingleChangeStructuralFeatureEvent.xwt#/"/> - </sections> - <sections xmi:id="_2x9U881XEeSGVbFNM4m8gQ" name="Multiple ChangeStructuralFeatureEvent" sectionFile="ui/MultipleChangeStructuralFeatureEvent.xwt"> - <widget href="ui/MultipleChangeStructuralFeatureEvent.xwt#/"/> - </sections> - <sections xmi:id="_2x98AM1XEeSGVbFNM4m8gQ" name="Single ItemFlow" sectionFile="ui/SingleItemFlow.xwt"> - <widget href="ui/SingleItemFlow.xwt#/"/> - </sections> - <sections xmi:id="_2x98Ac1XEeSGVbFNM4m8gQ" name="Multiple ItemFlow" sectionFile="ui/MultipleItemFlow.xwt"> - <widget href="ui/MultipleItemFlow.xwt#/"/> - </sections> - <sections xmi:id="_2x98As1XEeSGVbFNM4m8gQ" name="Single NoBuffer" sectionFile="ui/SingleNoBuffer.xwt"> - <widget href="ui/SingleNoBuffer.xwt#/"/> - </sections> - <sections xmi:id="_2x98A81XEeSGVbFNM4m8gQ" name="Multiple NoBuffer" sectionFile="ui/MultipleNoBuffer.xwt"> - <widget href="ui/MultipleNoBuffer.xwt#/"/> - </sections> - <sections xmi:id="_2x98BM1XEeSGVbFNM4m8gQ" name="Single ControlOperator" sectionFile="ui/SingleControlOperator.xwt"> - <widget href="ui/SingleControlOperator.xwt#/"/> - </sections> - <sections xmi:id="_2x-jEM1XEeSGVbFNM4m8gQ" name="Multiple ControlOperator" sectionFile="ui/MultipleControlOperator.xwt"> - <widget href="ui/MultipleControlOperator.xwt#/"/> - </sections> - <sections xmi:id="_2x-jE81XEeSGVbFNM4m8gQ" name="Single Overwrite" sectionFile="ui/SingleOverwrite.xwt"> - <widget href="ui/SingleOverwrite.xwt#/"/> - </sections> - <sections xmi:id="_2x-jFM1XEeSGVbFNM4m8gQ" name="Multiple Overwrite" sectionFile="ui/MultipleOverwrite.xwt"> - <widget href="ui/MultipleOverwrite.xwt#/"/> - </sections> - <sections xmi:id="_2x_xMM1XEeSGVbFNM4m8gQ" name="Single Optional" sectionFile="ui/SingleOptional.xwt"> - <widget href="ui/SingleOptional.xwt#/"/> - </sections> - <sections xmi:id="_2x_xMc1XEeSGVbFNM4m8gQ" name="Multiple Optional" sectionFile="ui/MultipleOptional.xwt"> - <widget href="ui/MultipleOptional.xwt#/"/> - </sections> - <sections xmi:id="_2yAYQM1XEeSGVbFNM4m8gQ" name="Single Rate" sectionFile="ui/SingleRate.xwt"> - <widget href="ui/SingleRate.xwt#/"/> - </sections> - <sections xmi:id="_2yAYQc1XEeSGVbFNM4m8gQ" name="Multiple Rate" sectionFile="ui/MultipleRate.xwt"> - <widget href="ui/MultipleRate.xwt#/"/> - </sections> - <sections xmi:id="_2yAYQs1XEeSGVbFNM4m8gQ" name="Single Probability" sectionFile="ui/SingleProbability.xwt"> - <widget href="ui/SingleProbability.xwt#/"/> - </sections> - <sections xmi:id="_2yAYQ81XEeSGVbFNM4m8gQ" name="Multiple Probability" sectionFile="ui/MultipleProbability.xwt"> - <widget href="ui/MultipleProbability.xwt#/"/> - </sections> - <sections xmi:id="_2yAYRM1XEeSGVbFNM4m8gQ" name="Single AllocateActivityPartition" sectionFile="ui/SingleAllocateActivityPartition.xwt"> - <widget href="ui/SingleAllocateActivityPartition.xwt#/"/> - </sections> - <sections xmi:id="_2yA_UM1XEeSGVbFNM4m8gQ" name="Multiple AllocateActivityPartition" sectionFile="ui/MultipleAllocateActivityPartition.xwt"> - <widget href="ui/MultipleAllocateActivityPartition.xwt#/"/> - </sections> - <sections xmi:id="_2yA_Uc1XEeSGVbFNM4m8gQ" name="Single Allocate" sectionFile="ui/SingleAllocate.xwt"> - <widget href="ui/SingleAllocate.xwt#/"/> - </sections> - <sections xmi:id="_2yA_Us1XEeSGVbFNM4m8gQ" name="Multiple Allocate" sectionFile="ui/MultipleAllocate.xwt"> - <widget href="ui/MultipleAllocate.xwt#/"/> - </sections> - <sections xmi:id="_2yA_U81XEeSGVbFNM4m8gQ" name="Single Problem" sectionFile="ui/SingleProblem.xwt"> - <widget href="ui/SingleProblem.xwt#/"/> - </sections> - <sections xmi:id="_2yA_VM1XEeSGVbFNM4m8gQ" name="Multiple Problem" sectionFile="ui/MultipleProblem.xwt"> - <widget href="ui/MultipleProblem.xwt#/"/> - </sections> - <sections xmi:id="_2yA_Vc1XEeSGVbFNM4m8gQ" name="Single Conform" sectionFile="ui/SingleConform.xwt"> - <widget href="ui/SingleConform.xwt#/"/> - </sections> - <sections xmi:id="_2yA_Vs1XEeSGVbFNM4m8gQ" name="Multiple Conform" sectionFile="ui/MultipleConform.xwt"> - <widget href="ui/MultipleConform.xwt#/"/> - </sections> - <sections xmi:id="_2yBmYM1XEeSGVbFNM4m8gQ" name="Single ViewPoint" sectionFile="ui/SingleViewPoint.xwt"> - <widget href="ui/SingleViewPoint.xwt#/"/> - </sections> - <sections xmi:id="_2yBmYc1XEeSGVbFNM4m8gQ" name="Multiple ViewPoint" sectionFile="ui/MultipleViewPoint.xwt"> - <widget href="ui/MultipleViewPoint.xwt#/"/> - </sections> - <sections xmi:id="_2yCNcM1XEeSGVbFNM4m8gQ" name="Single View" sectionFile="ui/SingleView.xwt"> - <widget href="ui/SingleView.xwt#/"/> - </sections> - <sections xmi:id="_2yCNcc1XEeSGVbFNM4m8gQ" name="Multiple View" sectionFile="ui/MultipleView.xwt"> - <widget href="ui/MultipleView.xwt#/"/> - </sections> - <sections xmi:id="_2yCNcs1XEeSGVbFNM4m8gQ" name="Single ElementGroup" sectionFile="ui/SingleElementGroup.xwt"> - <widget href="ui/SingleElementGroup.xwt#/"/> - </sections> - <sections xmi:id="_2yC0gM1XEeSGVbFNM4m8gQ" name="Multiple ElementGroup" sectionFile="ui/MultipleElementGroup.xwt"> - <widget href="ui/MultipleElementGroup.xwt#/"/> - </sections> - <sections xmi:id="_2yC0gc1XEeSGVbFNM4m8gQ" name="Single Expose" sectionFile="ui/SingleExpose.xwt"> - <widget href="ui/SingleExpose.xwt#/"/> - </sections> - <sections xmi:id="_2yC0gs1XEeSGVbFNM4m8gQ" name="Multiple Expose" sectionFile="ui/MultipleExpose.xwt"> - <widget href="ui/MultipleExpose.xwt#/"/> - </sections> - <sections xmi:id="_2yC0g81XEeSGVbFNM4m8gQ" name="Single Stakeholder" sectionFile="ui/SingleStakeholder.xwt"> - <widget href="ui/SingleStakeholder.xwt#/"/> - </sections> - <sections xmi:id="_2yC0hM1XEeSGVbFNM4m8gQ" name="Multiple Stakeholder" sectionFile="ui/MultipleStakeholder.xwt"> - <widget href="ui/MultipleStakeholder.xwt#/"/> - </sections> - <sections xmi:id="_2yDbkM1XEeSGVbFNM4m8gQ" name="Single Rationale" sectionFile="ui/SingleRationale.xwt"> - <widget href="ui/SingleRationale.xwt#/"/> - </sections> - <sections xmi:id="_2yDbkc1XEeSGVbFNM4m8gQ" name="Multiple Rationale" sectionFile="ui/MultipleRationale.xwt"> - <widget href="ui/MultipleRationale.xwt#/"/> - </sections> - </tabs> - <views xmi:id="_z-OCEs1XEeSGVbFNM4m8gQ" name="Single FlowSpecification" sections="_2xtdUM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODaM1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCE81XEeSGVbFNM4m8gQ" name="isSingleFlowSpecification"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCFM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::DeprecatedElements::FlowSpecification"/> - </constraints> - </views> - <views xmi:id="_z-OCFc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple FlowSpecification" sections="_2xtdUc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODaM1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCFs1XEeSGVbFNM4m8gQ" name="isMultipleFlowSpecification"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCF81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::DeprecatedElements::FlowSpecification"/> - </constraints> - </views> - <views xmi:id="_z-OCGM1XEeSGVbFNM4m8gQ" name="Single FlowPort" sections="_2xuEYM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODa81XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCGc1XEeSGVbFNM4m8gQ" name="isSingleFlowPort"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCGs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::DeprecatedElements::FlowPort"/> - </constraints> - </views> - <views xmi:id="_z-OCG81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple FlowPort" sections="_2xuEYc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODa81XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCHM1XEeSGVbFNM4m8gQ" name="isMultipleFlowPort"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCHc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::DeprecatedElements::FlowPort"/> - </constraints> - </views> - <views xmi:id="_z-OCHs1XEeSGVbFNM4m8gQ" name="Single NestedConnectorEnd" sections="_2xurcM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODpc1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCH81XEeSGVbFNM4m8gQ" name="isSingleNestedConnectorEnd"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCIM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::NestedConnectorEnd"/> - </constraints> - </views> - <views xmi:id="_z-OCIc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple NestedConnectorEnd" sections="_2xurcc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODpc1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCIs1XEeSGVbFNM4m8gQ" name="isMultipleNestedConnectorEnd"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCI81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::NestedConnectorEnd"/> - </constraints> - </views> - <views xmi:id="_z-OCJM1XEeSGVbFNM4m8gQ" name="Single BoundReference" sections="_2xurcs1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODsM1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCJc1XEeSGVbFNM4m8gQ" name="isSingleBoundReference"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCJs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::BoundReference"/> - </constraints> - </views> - <views xmi:id="_z-OCJ81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple BoundReference" sections="_2xvSgM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODsM1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCKM1XEeSGVbFNM4m8gQ" name="isMultipleBoundReference"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCKc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::BoundReference"/> - </constraints> - </views> - <views xmi:id="_z-OCKs1XEeSGVbFNM4m8gQ" name="Single ValueType" sections="_2xvSgc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODts1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCK81XEeSGVbFNM4m8gQ" name="isSingleValueType"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCLM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::ValueType"/> - </constraints> - </views> - <views xmi:id="_z-OCLc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple ValueType" sections="_2xv5kM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODts1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCLs1XEeSGVbFNM4m8gQ" name="isMultipleValueType"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCL81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::ValueType"/> - </constraints> - </views> - <views xmi:id="_z-OCMM1XEeSGVbFNM4m8gQ" name="Single PropertySpecificType" sections="_2xv5kc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODoM1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCMc1XEeSGVbFNM4m8gQ" name="isSinglePropertySpecificType"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCMs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::PropertySpecificType"/> - </constraints> - </views> - <views xmi:id="_z-OCM81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple PropertySpecificType" sections="_2xv5ks1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODoM1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCNM1XEeSGVbFNM4m8gQ" name="isMultiplePropertySpecificType"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCNc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::PropertySpecificType"/> - </constraints> - </views> - <views xmi:id="_z-OCNs1XEeSGVbFNM4m8gQ" name="Single Block" sections="_2xwgoM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODrs1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_9QI7YM7uEeSvDdRKNsUTWQ" name="isBlock"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCOM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::Block"/> - </constraints> - </views> - <views xmi:id="_z-OCOc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Block" sections="_2xxHsM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODrs1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCOs1XEeSGVbFNM4m8gQ" name="isMultipleBlock"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCO81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::Block"/> - </constraints> - </views> - <views xmi:id="_z-OCPM1XEeSGVbFNM4m8gQ" name="Single BindingConnector" sections="_2xxHsc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODtc1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCPc1XEeSGVbFNM4m8gQ" name="isSingleBindingConnector"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCPs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::BindingConnector"/> - </constraints> - </views> - <views xmi:id="_z-OCP81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple BindingConnector" sections="_2xxHss1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODtc1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCQM1XEeSGVbFNM4m8gQ" name="isMultipleBindingConnector"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCQc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::BindingConnector"/> - </constraints> - </views> - <views xmi:id="_z-OCQs1XEeSGVbFNM4m8gQ" name="Single DistributedProperty" sections="_2xxHs81XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODnM1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCQ81XEeSGVbFNM4m8gQ" name="isSingleDistributedProperty"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCRM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::DistributedProperty"/> - </constraints> - </views> - <views xmi:id="_z-OCRc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple DistributedProperty" sections="_2xxuwM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODnM1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCRs1XEeSGVbFNM4m8gQ" name="isMultipleDistributedProperty"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCR81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::DistributedProperty"/> - </constraints> - </views> - <views xmi:id="_z-OCSM1XEeSGVbFNM4m8gQ" name="Single ElementPropertyPath" sections="_2xxuwc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODs81XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCSc1XEeSGVbFNM4m8gQ" name="isSingleElementPropertyPath"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCSs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::ElementPropertyPath"/> - </constraints> - </views> - <views xmi:id="_z-OCS81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple ElementPropertyPath" sections="_2xxuws1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODs81XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCTM1XEeSGVbFNM4m8gQ" name="isMultipleElementPropertyPath"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCTc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::ElementPropertyPath"/> - </constraints> - </views> - <views xmi:id="_z-OCTs1XEeSGVbFNM4m8gQ" name="Single EndPathMultiplicity" sections="_2xyV0M1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODnc1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCT81XEeSGVbFNM4m8gQ" name="isSingleEndPathMultiplicity"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCUM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::EndPathMultiplicity"/> - </constraints> - </views> - <views xmi:id="_z-OCUc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple EndPathMultiplicity" sections="_2xy84M1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODnc1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCUs1XEeSGVbFNM4m8gQ" name="isMultipleEndPathMultiplicity"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCU81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::EndPathMultiplicity"/> - </constraints> - </views> - <views xmi:id="_z-OCVM1XEeSGVbFNM4m8gQ" name="Single ConnectorProperty" sections="_2xy84c1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODoc1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCVc1XEeSGVbFNM4m8gQ" name="isSingleConnectorProperty"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCVs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::ConnectorProperty"/> - </constraints> - </views> - <views xmi:id="_z-OCV81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple ConnectorProperty" sections="_2xzj8M1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODoc1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCWM1XEeSGVbFNM4m8gQ" name="isMultipleConnectorProperty"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCWc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::ConnectorProperty"/> - </constraints> - </views> - <views xmi:id="_z-OCWs1XEeSGVbFNM4m8gQ" name="Single ClassifierBehaviorProperty" sections="_2xzj8c1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODrc1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCW81XEeSGVbFNM4m8gQ" name="isSingleClassifierBehaviorProperty"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCXM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::ClassifierBehaviorProperty"/> - </constraints> - </views> - <views xmi:id="_z-OCXc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple ClassifierBehaviorProperty" sections="_2xzj8s1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODrc1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCXs1XEeSGVbFNM4m8gQ" name="isMultipleClassifierBehaviorProperty"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCX81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::ClassifierBehaviorProperty"/> - </constraints> - </views> - <views xmi:id="_z-OCYM1XEeSGVbFNM4m8gQ" name="Single DirectedRelationshipPropertyPath" sections="_2x0LAM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODps1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCYc1XEeSGVbFNM4m8gQ" name="isSingleDirectedRelationshipPropertyPath"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCYs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::DirectedRelationshipPropertyPath"/> - </constraints> - </views> - <views xmi:id="_z-OCY81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple DirectedRelationshipPropertyPath" sections="_2x0yEM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODps1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCZM1XEeSGVbFNM4m8gQ" name="isMultipleDirectedRelationshipPropertyPath"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCZc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::DirectedRelationshipPropertyPath"/> - </constraints> - </views> - <views xmi:id="_z-OCZs1XEeSGVbFNM4m8gQ" name="Single AdjunctProperty" sections="_2x0yEc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODq81XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCZ81XEeSGVbFNM4m8gQ" name="isSingleAdjunctProperty"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCaM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::AdjunctProperty"/> - </constraints> - </views> - <views xmi:id="_z-OCac1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple AdjunctProperty" sections="_2x1ZIM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODq81XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCas1XEeSGVbFNM4m8gQ" name="isMultipleAdjunctProperty"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCa81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::AdjunctProperty"/> - </constraints> - </views> - <views xmi:id="_z-OCbM1XEeSGVbFNM4m8gQ" name="Single ParticipantProperty" sections="_2x1ZIc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODo81XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCbc1XEeSGVbFNM4m8gQ" name="isSingleParticipantProperty"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCbs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::ParticipantProperty"/> - </constraints> - </views> - <views xmi:id="_z-OCb81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple ParticipantProperty" sections="_2x1ZIs1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODo81XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCcM1XEeSGVbFNM4m8gQ" name="isMultipleParticipantProperty"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCcc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Blocks::ParticipantProperty"/> - </constraints> - </views> - <views xmi:id="_z-OCcs1XEeSGVbFNM4m8gQ" name="Single Requirement" sections="_2x2nQM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODvs1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCc81XEeSGVbFNM4m8gQ" name="isSingleRequirement"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCdM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::Requirement"/> - </constraints> - </views> - <views xmi:id="_z-OCdc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Requirement" sections="_2x3OUM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODvs1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCds1XEeSGVbFNM4m8gQ" name="isMultipleRequirement"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCd81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::Requirement"/> - </constraints> - </views> - <views xmi:id="_z-OCeM1XEeSGVbFNM4m8gQ" name="Single Trace" sections="_2x3OUc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODyM1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCec1XEeSGVbFNM4m8gQ" name="isSingleTrace"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCes1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::Trace"/> - </constraints> - </views> - <views xmi:id="_z-OCe81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Trace" sections="_2x3OUs1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODyM1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCfM1XEeSGVbFNM4m8gQ" name="isMultipleTrace"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCfc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::Trace"/> - </constraints> - </views> - <views xmi:id="_z-OCfs1XEeSGVbFNM4m8gQ" name="Single Copy" sections="_2x3OU81XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODyc1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCf81XEeSGVbFNM4m8gQ" name="isSingleCopy"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCgM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::Copy"/> - </constraints> - </views> - <views xmi:id="_z-OCgc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Copy" sections="_2x31YM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODyc1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCgs1XEeSGVbFNM4m8gQ" name="isMultipleCopy"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCg81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::Copy"/> - </constraints> - </views> - <views xmi:id="_z-OChM1XEeSGVbFNM4m8gQ" name="Single Verify" sections="_2x31Yc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODys1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OChc1XEeSGVbFNM4m8gQ" name="isSingleVerify"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OChs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::Verify"/> - </constraints> - </views> - <views xmi:id="_z-OCh81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Verify" sections="_2x31Ys1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODys1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCiM1XEeSGVbFNM4m8gQ" name="isMultipleVerify"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCic1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::Verify"/> - </constraints> - </views> - <views xmi:id="_z-OCis1XEeSGVbFNM4m8gQ" name="Single TestCase" sections="_2x4ccM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODvM1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCi81XEeSGVbFNM4m8gQ" name="isSingleTestCase"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCjM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::TestCase"/> - </constraints> - </views> - <views xmi:id="_z-OCjc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple TestCase" sections="_2x4ccc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODvM1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCjs1XEeSGVbFNM4m8gQ" name="isMultipleTestCase"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCj81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::TestCase"/> - </constraints> - </views> - <views xmi:id="_z-OCkM1XEeSGVbFNM4m8gQ" name="Single Refine" sections="_2x4ccs1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODvc1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCkc1XEeSGVbFNM4m8gQ" name="isSingleRefine"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCks1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::Refine"/> - </constraints> - </views> - <views xmi:id="_z-OCk81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Refine" sections="_2x4cc81XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODvc1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OClM1XEeSGVbFNM4m8gQ" name="isMultipleRefine"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OClc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::Refine"/> - </constraints> - </views> - <views xmi:id="_z-OCls1XEeSGVbFNM4m8gQ" name="Single Satisfy" sections="_2x5DgM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODu81XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCl81XEeSGVbFNM4m8gQ" name="isSingleSatisfy"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCmM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::Satisfy"/> - </constraints> - </views> - <views xmi:id="_z-OCmc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Satisfy" sections="_2x5Dgc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODu81XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCms1XEeSGVbFNM4m8gQ" name="isMultipleSatisfy"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCm81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::Satisfy"/> - </constraints> - </views> - <views xmi:id="_z-OCnM1XEeSGVbFNM4m8gQ" name="Single DeriveReqt" sections="_2x5Dgs1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODus1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCnc1XEeSGVbFNM4m8gQ" name="isSingleDeriveReqt"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCns1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::DeriveReqt"/> - </constraints> - </views> - <views xmi:id="_z-OCn81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple DeriveReqt" sections="_2x5Dg81XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODus1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCoM1XEeSGVbFNM4m8gQ" name="isMultipleDeriveReqt"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCoc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Requirements::DeriveReqt"/> - </constraints> - </views> - <views xmi:id="_z-OCos1XEeSGVbFNM4m8gQ" name="Single ConstraintBlock" sections="_2x5DhM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODb81XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCo81XEeSGVbFNM4m8gQ" name="isSingleConstraintBlock"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCpM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ConstraintBlocks::ConstraintBlock"/> - </constraints> - </views> - <views xmi:id="_z-OCpc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple ConstraintBlock" sections="_2x5qkM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODb81XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCps1XEeSGVbFNM4m8gQ" name="isMultipleConstraintBlock"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCp81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ConstraintBlocks::ConstraintBlock"/> - </constraints> - </views> - <views xmi:id="_z-OCqM1XEeSGVbFNM4m8gQ" name="Single DirectedFeature" sections="_2x5qkc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODc81XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCqc1XEeSGVbFNM4m8gQ" name="isSingleDirectedFeature"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCqs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::DirectedFeature"/> - </constraints> - </views> - <views xmi:id="_z-OCq81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple DirectedFeature" sections="_2x6RoM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODc81XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCrM1XEeSGVbFNM4m8gQ" name="isMultipleDirectedFeature"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCrc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::DirectedFeature"/> - </constraints> - </views> - <views xmi:id="_z-OCrs1XEeSGVbFNM4m8gQ" name="Single FlowProperty" sections="_2x6Roc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODcc1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCr81XEeSGVbFNM4m8gQ" name="isSingleFlowProperty"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCsM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::FlowProperty"/> - </constraints> - </views> - <views xmi:id="_z-OCsc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple FlowProperty" sections="_2x64sM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODcc1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCss1XEeSGVbFNM4m8gQ" name="isMultipleFlowProperty"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCs81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::FlowProperty"/> - </constraints> - </views> - <views xmi:id="_z-OCtM1XEeSGVbFNM4m8gQ" name="Single AcceptChangeStructuralFeatureEventAction" sections="_2x64sc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODfM1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCtc1XEeSGVbFNM4m8gQ" name="isSingleAcceptChangeStructuralFeatureEventAction"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCts1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::AcceptChangeStructuralFeatureEventAction"/> - </constraints> - </views> - <views xmi:id="_z-OCt81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple AcceptChangeStructuralFeatureEventAction" sections="_2x64ss1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODfM1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCuM1XEeSGVbFNM4m8gQ" name="isMultipleAcceptChangeStructuralFeatureEventAction"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCuc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::AcceptChangeStructuralFeatureEventAction"/> - </constraints> - </views> - <views xmi:id="_z-OCus1XEeSGVbFNM4m8gQ" name="Single TriggerOnNestedPort" sections="_2x7fwM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODfs1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCu81XEeSGVbFNM4m8gQ" name="isSingleTriggerOnNestedPort"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCvM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::TriggerOnNestedPort"/> - </constraints> - </views> - <views xmi:id="_z-OCvc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple TriggerOnNestedPort" sections="_2x7fwc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODfs1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCvs1XEeSGVbFNM4m8gQ" name="isMultipleTriggerOnNestedPort"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCv81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::TriggerOnNestedPort"/> - </constraints> - </views> - <views xmi:id="_z-OCwM1XEeSGVbFNM4m8gQ" name="Single FullPort" sections="_2x7fws1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODfc1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCwc1XEeSGVbFNM4m8gQ" name="isSingleFullPort"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCws1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::FullPort"/> - </constraints> - </views> - <views xmi:id="_z-OCw81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple FullPort" sections="_2x8G0M1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODfc1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCxM1XEeSGVbFNM4m8gQ" name="isMultipleFullPort"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCxc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::FullPort"/> - </constraints> - </views> - <views xmi:id="_z-OCxs1XEeSGVbFNM4m8gQ" name="Single InterfaceBlock" sections="_2x8t4M1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODgM1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCx81XEeSGVbFNM4m8gQ" name="isSingleInterfaceBlock"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCyM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::InterfaceBlock"/> - </constraints> - </views> - <views xmi:id="_z-OCyc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple InterfaceBlock" sections="_2x8t4c1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODgM1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCys1XEeSGVbFNM4m8gQ" name="isMultipleInterfaceBlock"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCy81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::InterfaceBlock"/> - </constraints> - </views> - <views xmi:id="_z-OCzM1XEeSGVbFNM4m8gQ" name="Single InvocationOnNestedPortAction" sections="_2x8t4s1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODd81XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OCzc1XEeSGVbFNM4m8gQ" name="isSingleInvocationOnNestedPortAction"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OCzs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::InvocationOnNestedPortAction"/> - </constraints> - </views> - <views xmi:id="_z-OCz81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple InvocationOnNestedPortAction" sections="_2x8t481XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODd81XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OC0M1XEeSGVbFNM4m8gQ" name="isMultipleInvocationOnNestedPortAction"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OC0c1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::InvocationOnNestedPortAction"/> - </constraints> - </views> - <views xmi:id="_z-OC0s1XEeSGVbFNM4m8gQ" name="Single ProxyPort" sections="_2x9U8M1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODe81XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OC081XEeSGVbFNM4m8gQ" name="isSingleProxyPort"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OC1M1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::ProxyPort"/> - </constraints> - </views> - <views xmi:id="_z-OC1c1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple ProxyPort" sections="_2x9U8c1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODe81XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OC1s1XEeSGVbFNM4m8gQ" name="isMultipleProxyPort"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OC181XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::ProxyPort"/> - </constraints> - </views> - <views xmi:id="_z-OC2M1XEeSGVbFNM4m8gQ" name="Single ChangeStructuralFeatureEvent" sections="_2x9U8s1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODdc1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OC2c1XEeSGVbFNM4m8gQ" name="isSingleChangeStructuralFeatureEvent"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OC2s1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::ChangeStructuralFeatureEvent"/> - </constraints> - </views> - <views xmi:id="_z-OC281XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple ChangeStructuralFeatureEvent" sections="_2x9U881XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODdc1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OC3M1XEeSGVbFNM4m8gQ" name="isMultipleChangeStructuralFeatureEvent"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OC3c1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::ChangeStructuralFeatureEvent"/> - </constraints> - </views> - <views xmi:id="_z-OC3s1XEeSGVbFNM4m8gQ" name="Single ItemFlow" sections="_2x98AM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODec1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OC381XEeSGVbFNM4m8gQ" name="isSingleItemFlow"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OC4M1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::ItemFlow"/> - </constraints> - </views> - <views xmi:id="_z-OC4c1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple ItemFlow" sections="_2x98Ac1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODec1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OC4s1XEeSGVbFNM4m8gQ" name="isMultipleItemFlow"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OC481XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::PortsAndFlows::ItemFlow"/> - </constraints> - </views> - <views xmi:id="_z-OC5M1XEeSGVbFNM4m8gQ" name="Single NoBuffer" sections="_2x98As1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODW81XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OC5c1XEeSGVbFNM4m8gQ" name="isSingleNoBuffer"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OC5s1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Activities::NoBuffer"/> - </constraints> - </views> - <views xmi:id="_z-OC581XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple NoBuffer" sections="_2x98A81XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODW81XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OC6M1XEeSGVbFNM4m8gQ" name="isMultipleNoBuffer"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OC6c1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Activities::NoBuffer"/> - </constraints> - </views> - <views xmi:id="_z-OC6s1XEeSGVbFNM4m8gQ" name="Single ControlOperator" sections="_2x98BM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODVM1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OC681XEeSGVbFNM4m8gQ" name="isSingleControlOperator"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OC7M1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Activities::ControlOperator"/> - </constraints> - </views> - <views xmi:id="_z-OC7c1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple ControlOperator" sections="_2x-jEM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODVM1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OC7s1XEeSGVbFNM4m8gQ" name="isMultipleControlOperator"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OC781XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Activities::ControlOperator"/> - </constraints> - </views> - <views xmi:id="_z-OC9s1XEeSGVbFNM4m8gQ" name="Single Overwrite" sections="_2x-jE81XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODU81XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OC981XEeSGVbFNM4m8gQ" name="isSingleOverwrite"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OC-M1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Activities::Overwrite"/> - </constraints> - </views> - <views xmi:id="_z-OC-c1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Overwrite" sections="_2x-jFM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODU81XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-OC-s1XEeSGVbFNM4m8gQ" name="isMultipleOverwrite"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-OC-81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Activities::Overwrite"/> - </constraints> - </views> - <views xmi:id="_z-ODAs1XEeSGVbFNM4m8gQ" name="Single Optional" sections="_2x_xMM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODWM1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODA81XEeSGVbFNM4m8gQ" name="isSingleOptional"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODBM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Activities::Optional"/> - </constraints> - </views> - <views xmi:id="_z-ODBc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Optional" sections="_2x_xMc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODWM1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODBs1XEeSGVbFNM4m8gQ" name="isMultipleOptional"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODB81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Activities::Optional"/> - </constraints> - </views> - <views xmi:id="_z-ODCM1XEeSGVbFNM4m8gQ" name="Single Rate" sections="_2yAYQM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODWc1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODCc1XEeSGVbFNM4m8gQ" name="isSingleRate"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODCs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Activities::Rate"/> - </constraints> - </views> - <views xmi:id="_z-ODC81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Rate" sections="_2yAYQc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODWc1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODDM1XEeSGVbFNM4m8gQ" name="isMultipleRate"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODDc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Activities::Rate"/> - </constraints> - </views> - <views xmi:id="_z-ODDs1XEeSGVbFNM4m8gQ" name="Single Probability" sections="_2yAYQs1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODVs1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODD81XEeSGVbFNM4m8gQ" name="isSingleProbability"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODEM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Activities::Probability"/> - </constraints> - </views> - <views xmi:id="_z-ODEc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Probability" sections="_2yAYQ81XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODVs1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODEs1XEeSGVbFNM4m8gQ" name="isMultipleProbability"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODE81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Activities::Probability"/> - </constraints> - </views> - <views xmi:id="_z-ODFM1XEeSGVbFNM4m8gQ" name="Single AllocateActivityPartition" sections="_2yAYRM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODXc1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODFc1XEeSGVbFNM4m8gQ" name="isSingleAllocateActivityPartition"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODFs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Allocations::AllocateActivityPartition"/> - </constraints> - </views> - <views xmi:id="_z-ODF81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple AllocateActivityPartition" sections="_2yA_UM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODXc1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODGM1XEeSGVbFNM4m8gQ" name="isMultipleAllocateActivityPartition"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODGc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Allocations::AllocateActivityPartition"/> - </constraints> - </views> - <views xmi:id="_z-ODGs1XEeSGVbFNM4m8gQ" name="Single Allocate" sections="_2yA_Uc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODXs1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODG81XEeSGVbFNM4m8gQ" name="isSingleAllocate"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODHM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Allocations::Allocate"/> - </constraints> - </views> - <views xmi:id="_z-ODHc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Allocate" sections="_2yA_Us1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODXs1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODHs1XEeSGVbFNM4m8gQ" name="isMultipleAllocate"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODH81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::Allocations::Allocate"/> - </constraints> - </views> - <views xmi:id="_z-ODIM1XEeSGVbFNM4m8gQ" name="Single Problem" sections="_2yA_U81XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODk81XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODIc1XEeSGVbFNM4m8gQ" name="isSingleProblem"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODIs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::Problem"/> - </constraints> - </views> - <views xmi:id="_z-ODI81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Problem" sections="_2yA_VM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODk81XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODJM1XEeSGVbFNM4m8gQ" name="isMultipleProblem"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODJc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::Problem"/> - </constraints> - </views> - <views xmi:id="_z-ODJs1XEeSGVbFNM4m8gQ" name="Single Conform" sections="_2yA_Vc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODlM1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODJ81XEeSGVbFNM4m8gQ" name="isSingleConform"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODKM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::Conform"/> - </constraints> - </views> - <views xmi:id="_z-ODKc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Conform" sections="_2yA_Vs1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODlM1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODKs1XEeSGVbFNM4m8gQ" name="isMultipleConform"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODK81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::Conform"/> - </constraints> - </views> - <views xmi:id="_z-ODLM1XEeSGVbFNM4m8gQ" name="Single ViewPoint" sections="_2yBmYM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODgs1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODLc1XEeSGVbFNM4m8gQ" name="isSingleViewPoint"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODLs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::Viewpoint"/> - </constraints> - </views> - <views xmi:id="_z-ODL81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple ViewPoint" sections="_2yBmYc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODgs1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODMM1XEeSGVbFNM4m8gQ" name="isMultipleViewPoint"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODMc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::Viewpoint"/> - </constraints> - </views> - <views xmi:id="_z-ODMs1XEeSGVbFNM4m8gQ" name="Single View" sections="_2yCNcM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODlc1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODM81XEeSGVbFNM4m8gQ" name="isSingleView"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODNM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::View"/> - </constraints> - </views> - <views xmi:id="_z-ODNc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple View" sections="_2yCNcc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODlc1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODNs1XEeSGVbFNM4m8gQ" name="isMultipleView"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODN81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::View"/> - </constraints> - </views> - <views xmi:id="_z-ODOM1XEeSGVbFNM4m8gQ" name="Single ElementGroup" sections="_2yCNcs1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODis1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODOc1XEeSGVbFNM4m8gQ" name="isSingleElementGroup"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODOs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::ElementGroup"/> - </constraints> - </views> - <views xmi:id="_z-ODO81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple ElementGroup" sections="_2yC0gM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODis1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODPM1XEeSGVbFNM4m8gQ" name="isMultipleElementGroup"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODPc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::ElementGroup"/> - </constraints> - </views> - <views xmi:id="_z-ODPs1XEeSGVbFNM4m8gQ" name="Single Expose" sections="_2yC0gc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODks1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODP81XEeSGVbFNM4m8gQ" name="isSingleExpose"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODQM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::Expose"/> - </constraints> - </views> - <views xmi:id="_z-ODQc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Expose" sections="_2yC0gs1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODks1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODQs1XEeSGVbFNM4m8gQ" name="isMultipleExpose"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODQ81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::Expose"/> - </constraints> - </views> - <views xmi:id="_z-ODRM1XEeSGVbFNM4m8gQ" name="Single Stakeholder" sections="_2yC0g81XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODmM1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODRc1XEeSGVbFNM4m8gQ" name="isSingleStakeholder"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODRs1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::Stakeholder"/> - </constraints> - </views> - <views xmi:id="_z-ODR81XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Stakeholder" sections="_2yC0hM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODmM1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODSM1XEeSGVbFNM4m8gQ" name="isMultipleStakeholder"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODSc1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::Stakeholder"/> - </constraints> - </views> - <views xmi:id="_z-ODSs1XEeSGVbFNM4m8gQ" name="Single Rationale" sections="_2yDbkM1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODkM1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODS81XEeSGVbFNM4m8gQ" name="isSingleRationale"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODTM1XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::Rationale"/> - </constraints> - </views> - <views xmi:id="_z-ODTc1XEeSGVbFNM4m8gQ" elementMultiplicity="-1" name="Multiple Rationale" sections="_2yDbkc1XEeSGVbFNM4m8gQ" automaticContext="true" datacontexts="_z-ODkM1XEeSGVbFNM4m8gQ"> - <constraints xsi:type="constraints:SimpleConstraint" xmi:id="_z-ODTs1XEeSGVbFNM4m8gQ" name="isMultipleRationale"> - <constraintType href="ppe:/environment/org.eclipse.papyrus.sysml14.ui/resources/SysML1.4ConstraintEnvironment.xmi#//@constraintTypes.0"/> - <properties xsi:type="constraints:ValueProperty" xmi:id="_z-ODT81XEeSGVbFNM4m8gQ" name="stereotypeName" value="SysML::ModelElements::Rationale"/> - </constraints> - </views> - <dataContexts xmi:id="_z-ODUM1XEeSGVbFNM4m8gQ" name="SysML" label="Data Context Root SysML 1.4"> - <elements xsi:type="contexts:DataContextPackage" xmi:id="_z-ODUc1XEeSGVbFNM4m8gQ" name="Activities"> - <elements xmi:id="_z-ODUs1XEeSGVbFNM4m8gQ" name="Discrete"/> - <elements xmi:id="_z-ODU81XEeSGVbFNM4m8gQ" name="Overwrite"> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690zb6DJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODVM1XEeSGVbFNM4m8gQ" name="ControlOperator"> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yQKDJEeSZxfCXzZz3-w"/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yVaDJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODVc1XEeSGVbFNM4m8gQ" name="Continuous"/> - <elements xmi:id="_z-ODVs1XEeSGVbFNM4m8gQ" name="Probability"> - <properties xmi:id="_z-ODV81XEeSGVbFNM4m8gQ" name="probability" type="Reference"/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690zVKDJEeSZxfCXzZz3-w"/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690y06DJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODWM1XEeSGVbFNM4m8gQ" name="Optional"> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yBaDJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODWc1XEeSGVbFNM4m8gQ" name="Rate"> - <properties xmi:id="_z-ODWs1XEeSGVbFNM4m8gQ" name="rate" type="Reference"/> - </elements> - <elements xmi:id="_z-ODW81XEeSGVbFNM4m8gQ" name="NoBuffer"> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690zb6DJEeSZxfCXzZz3-w"/> - </elements> - </elements> - <elements xsi:type="contexts:DataContextPackage" xmi:id="_z-ODXM1XEeSGVbFNM4m8gQ" name="Allocations"> - <elements xmi:id="_z-ODXc1XEeSGVbFNM4m8gQ" name="AllocateActivityPartition"> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690zX6DJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODXs1XEeSGVbFNM4m8gQ" name="Allocate"/> - </elements> - <elements xsi:type="contexts:DataContextPackage" xmi:id="_z-ODX81XEeSGVbFNM4m8gQ" name="DeprecatedElements"> - <elements xmi:id="_z-ODYM1XEeSGVbFNM4m8gQ" name="Allocated"> - <properties xmi:id="_z-ODYc1XEeSGVbFNM4m8gQ" name="allocatedFrom" type="Reference" multiplicity="-1" description="Reverse of allocatedTo: the element types and names of the set of elements that are clients (from) of an «allocate» whose supplier is extended by this stereotype (instance). The same characteristics apply as to /allocatedTo. Each allocatedFrom property will be expressed as «elementType» ElementName."/> - <properties xmi:id="_z-ODYs1XEeSGVbFNM4m8gQ" name="allocatedTo" type="Reference" multiplicity="-1" description="The element types and names of the set of elements that are suppliers (“to” end of the concrete syntax) of an «allocate» whose client is extended by this stereotype (instance). This property is the union of all suppliers to which this instance is the client, i.e., there may be more than one /allocatedTo property per allocated model element. Each allocatedTo property will be expressed as «elementType» ElementName."/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xk6DJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODY81XEeSGVbFNM4m8gQ" name="RequirementRelated"> - <properties xmi:id="_z-ODZM1XEeSGVbFNM4m8gQ" name="TracedFrom" type="Reference" multiplicity="-1" description="Derived from all requirements that are the supplier of a «trace» relationship for which this element is a client."/> - <properties xmi:id="_z-ODZc1XEeSGVbFNM4m8gQ" name="Satisfies" type="Reference" multiplicity="-1" description="Derived from all requirements that are the supplier of a «satisfy» relationship for which this element is a client."/> - <properties xmi:id="_z-ODZs1XEeSGVbFNM4m8gQ" name="Refines" type="Reference" multiplicity="-1" description="Derived from all requirements that are the supplier of a «refine» relationship for which this element is a client."/> - <properties xmi:id="_z-ODZ81XEeSGVbFNM4m8gQ" name="Verifies" type="Reference" multiplicity="-1" description="Derived from all requirements that are the supplier of a «verify» relationship for which this element is a client."/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xk6DJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODaM1XEeSGVbFNM4m8gQ" name="FlowSpecification"> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690ybKDJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODac1XEeSGVbFNM4m8gQ" name="Deprecated"> - <properties xmi:id="_z-ODas1XEeSGVbFNM4m8gQ" name="deprecatedReason"/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yXqDJEeSZxfCXzZz3-w"/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690zC6DJEeSZxfCXzZz3-w"/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xu6DJEeSZxfCXzZz3-w"/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yG6DJEeSZxfCXzZz3-w"/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690x7aDJEeSZxfCXzZz3-w"/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xtqDJEeSZxfCXzZz3-w"/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690y1qDJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODa81XEeSGVbFNM4m8gQ" name="FlowPort"> - <properties xmi:id="_z-ODbM1XEeSGVbFNM4m8gQ" name="direction" type="Enumeration" description="Indicates the direction in which an atomic flow port relays its items. If the direction is set to “in,” then the items are relayed from an external connector via the flow port into the flow port’s owner (or one of its parts). If the direction is set to “out,” then the items are relayed from the flow port’s owner, via the flow port, through an external connector attached to the flow port. If the direction is set to “inout,” then items can flow both ways. By default, the value is inout."/> - <properties xmi:id="_z-ODbc1XEeSGVbFNM4m8gQ" name="isAtomic" type="Boolean" description="This is a derived attribute (derived from the flow port’s type). For a flow port typed by a flow specification the value of this attribute is False, otherwise the value is True."/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690ylaDJEeSZxfCXzZz3-w"/> - </elements> - </elements> - <elements xsi:type="contexts:DataContextPackage" xmi:id="_z-ODbs1XEeSGVbFNM4m8gQ" name="ConstraintBlocks"> - <elements xmi:id="_z-ODb81XEeSGVbFNM4m8gQ" name="ConstraintBlock"/> - </elements> - <elements xsi:type="contexts:DataContextPackage" xmi:id="_z-ODcM1XEeSGVbFNM4m8gQ" name="PortsAndFlows"> - <elements xmi:id="_z-ODcc1XEeSGVbFNM4m8gQ" name="FlowProperty"> - <properties xmi:id="_z-ODcs1XEeSGVbFNM4m8gQ" name="direction" type="Enumeration" description="Specifies if the property value is received from an external block (direction=“in”), transmitted to an external Block (direction=“out”) or both (direction=“inout”)."/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yG6DJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODc81XEeSGVbFNM4m8gQ" name="DirectedFeature"> - <properties xmi:id="_z-ODdM1XEeSGVbFNM4m8gQ" name="featureDirection" type="Enumeration"/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690x96DJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODdc1XEeSGVbFNM4m8gQ" name="ChangeStructuralFeatureEvent"> - <properties xmi:id="_z-ODds1XEeSGVbFNM4m8gQ" name="structuralFeature" type="Reference"/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690z0aDJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODd81XEeSGVbFNM4m8gQ" name="InvocationOnNestedPortAction"> - <properties xmi:id="_z-ODeM1XEeSGVbFNM4m8gQ" name="onNestedPort" type="Reference" multiplicity="-1"/> - </elements> - <elements xmi:id="_z-ODec1XEeSGVbFNM4m8gQ" name="ItemFlow"> - <properties xmi:id="_z-ODes1XEeSGVbFNM4m8gQ" name="itemProperty" type="Reference" description="An optional property that relates the flowing item to the instances of the connector’s enclosing block. This property is applicable only for item flows assigned to connectors. The multiplicity is zero if the item flow is assigned to an Association."/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_6964PaDJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODe81XEeSGVbFNM4m8gQ" name="ProxyPort"> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690ylaDJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODfM1XEeSGVbFNM4m8gQ" name="AcceptChangeStructuralFeatureEventAction"> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_6964XqDJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODfc1XEeSGVbFNM4m8gQ" name="FullPort"> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690ylaDJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODfs1XEeSGVbFNM4m8gQ" name="TriggerOnNestedPort"> - <properties xmi:id="_z-ODf81XEeSGVbFNM4m8gQ" name="onNestedPort" type="Reference" multiplicity="-1"/> - </elements> - <elements xmi:id="_z-ODgM1XEeSGVbFNM4m8gQ" name="InterfaceBlock"/> - </elements> - <elements xsi:type="contexts:DataContextPackage" xmi:id="_z-ODgc1XEeSGVbFNM4m8gQ" name="ModelElements"> - <elements xmi:id="_z-ODgs1XEeSGVbFNM4m8gQ" name="Viewpoint"> - <properties xmi:id="_z-ODg81XEeSGVbFNM4m8gQ" name="stakeholder" type="Reference" multiplicity="-1" description="Set of stakeholders."/> - <properties xmi:id="_z-ODhM1XEeSGVbFNM4m8gQ" name="purpose" description="The purpose addresses the stakeholder concerns."/> - <properties xmi:id="_z-ODhc1XEeSGVbFNM4m8gQ" name="concernList" type="Reference" multiplicity="-1" description="The interest of the stakeholders."/> - <properties xmi:id="_z-ODhs1XEeSGVbFNM4m8gQ" name="language" multiplicity="-1" description="The languages used to construct the viewpoint."/> - <properties xmi:id="_z-ODh81XEeSGVbFNM4m8gQ" name="method" type="Reference" multiplicity="-1" description="The methods used to construct the views for this viewpoint."/> - <properties xmi:id="_z-ODiM1XEeSGVbFNM4m8gQ" name="presentation" multiplicity="-1"/> - <properties xmi:id="_z-ODic1XEeSGVbFNM4m8gQ" name="concern" multiplicity="-1"/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yXqDJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODis1XEeSGVbFNM4m8gQ" name="ElementGroup"> - <properties xmi:id="_z-ODi81XEeSGVbFNM4m8gQ" name="name"/> - <properties xmi:id="_z-ODjM1XEeSGVbFNM4m8gQ" name="criterion"/> - <properties xmi:id="_z-ODjc1XEeSGVbFNM4m8gQ" name="size" type="Integer"/> - <properties xmi:id="_z-ODjs1XEeSGVbFNM4m8gQ" name="member" type="Reference" multiplicity="-1" description="Set specifying the members of the group.
Derived from Comment::annotatedElement."/> - <properties xmi:id="_z-ODj81XEeSGVbFNM4m8gQ" name="orderedMember" type="Reference" multiplicity="-1" description="Organize member according to an arbitrary order. Optional."/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xgqDJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODkM1XEeSGVbFNM4m8gQ" name="Rationale"> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xgqDJEeSZxfCXzZz3-w"/> - </elements> - <elements xsi:type="contexts:DataContextPackage" xmi:id="_z-ODkc1XEeSGVbFNM4m8gQ" name="Deprecated"/> - <elements xmi:id="_z-ODks1XEeSGVbFNM4m8gQ" name="Expose"> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xmqDJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODk81XEeSGVbFNM4m8gQ" name="Problem"> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xgqDJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODlM1XEeSGVbFNM4m8gQ" name="Conform"> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xmqDJEeSZxfCXzZz3-w"/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690x7aDJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODlc1XEeSGVbFNM4m8gQ" name="View"> - <properties xmi:id="_z-ODls1XEeSGVbFNM4m8gQ" name="viewPoint" type="Reference" description="The viewpoint for this View, derived from the supplier of the «conform» dependency whose client is this View."/> - <properties xmi:id="_z-ODl81XEeSGVbFNM4m8gQ" name="stakeholder" type="Reference" multiplicity="-1"/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xiaDJEeSZxfCXzZz3-w"/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yXqDJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODmM1XEeSGVbFNM4m8gQ" name="Stakeholder"> - <properties xmi:id="_z-ODmc1XEeSGVbFNM4m8gQ" name="concern" type="Reference" multiplicity="-1"/> - <properties xmi:id="_z-ODms1XEeSGVbFNM4m8gQ" name="concernList" type="Reference"/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xwaDJEeSZxfCXzZz3-w"/> - </elements> - </elements> - <elements xsi:type="contexts:DataContextPackage" xmi:id="_z-ODm81XEeSGVbFNM4m8gQ" name="Blocks"> - <elements xmi:id="_z-ODnM1XEeSGVbFNM4m8gQ" name="DistributedProperty"> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yG6DJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODnc1XEeSGVbFNM4m8gQ" name="EndPathMultiplicity"> - <properties xmi:id="_z-ODns1XEeSGVbFNM4m8gQ" name="lower" type="Integer" description="Gives the minimum number of values of the property at the end of the related bindingPath, for each object reached by navigation along the bindingPath from an instance of the block owning the property to which EndPathMultiplicity is applied"/> - <properties xmi:id="_z-ODn81XEeSGVbFNM4m8gQ" name="upper" description="Gives the maximum number of values of the property at the end of the related bindingPath, for each object reached by navigation along the bindingPath from an instance of the block owning the property to which EndPathMultiplicity is applied."/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yG6DJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODoM1XEeSGVbFNM4m8gQ" name="PropertySpecificType"> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xwaDJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODoc1XEeSGVbFNM4m8gQ" name="ConnectorProperty"> - <properties xmi:id="_z-ODos1XEeSGVbFNM4m8gQ" name="connector" type="Reference" description="A connector of the block owning the property on which the stereotype is applied."/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yG6DJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODo81XEeSGVbFNM4m8gQ" name="ParticipantProperty"> - <properties xmi:id="_z-ODpM1XEeSGVbFNM4m8gQ" name="end" type="Reference" description="A member end of the association block owning the property on which the stereotype is applied."/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yG6DJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODpc1XEeSGVbFNM4m8gQ" name="NestedConnectorEnd"/> - <elements xmi:id="_z-ODps1XEeSGVbFNM4m8gQ" name="DirectedRelationshipPropertyPath"> - <properties xmi:id="_z-ODp81XEeSGVbFNM4m8gQ" name="sourcePropertyPath" type="Reference" multiplicity="-1"/> - <properties xmi:id="_z-ODqM1XEeSGVbFNM4m8gQ" name="targetPropertyPath" type="Reference" multiplicity="-1"/> - <properties xmi:id="_z-ODqc1XEeSGVbFNM4m8gQ" name="sourceContext" type="Reference"/> - <properties xmi:id="_z-ODqs1XEeSGVbFNM4m8gQ" name="targetContext" type="Reference"/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xnaDJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODq81XEeSGVbFNM4m8gQ" name="AdjunctProperty"> - <properties xmi:id="_z-ODrM1XEeSGVbFNM4m8gQ" name="principal" type="Reference" description="Gives the element that determines the values of the property. Must be a connector, call action, object node, variable, or parameter."/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yG6DJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODrc1XEeSGVbFNM4m8gQ" name="ClassifierBehaviorProperty"> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yG6DJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODrs1XEeSGVbFNM4m8gQ" name="Block"> - <properties xmi:id="_z-ODr81XEeSGVbFNM4m8gQ" name="isEncapsulated" type="Boolean" description="If true, then the block is treated as a black box; a part typed by this black box can only be connected via its ports or directly to its outer boundary. If false, or if a value is not present, then connections can be established to elements of its internal structure via deep-nested connector ends."/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yXqDJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODsM1XEeSGVbFNM4m8gQ" name="BoundReference"> - <properties xmi:id="_z-ODsc1XEeSGVbFNM4m8gQ" name="boundEnd" type="Reference" description="Gives a connector end of a binding connector opposite to the end linked to the stereotyped property, or linked to a property that generalizes the stereotyped one through redefinition."/> - <properties xmi:id="_z-ODss1XEeSGVbFNM4m8gQ" name="bindingPath" type="Reference" multiplicity="-1" description="Gives the propertyPath of the NestedConnectorEnd applied, if any, to the boundEnd, appended to the role of the boundEnd. "/> - </elements> - <elements xmi:id="_z-ODs81XEeSGVbFNM4m8gQ" name="ElementPropertyPath"> - <properties xmi:id="_z-ODtM1XEeSGVbFNM4m8gQ" name="propertyPath" type="Reference" multiplicity="-1" description="The propertyPath list of the NestedConnectorEnd stereotype must identify a path of containing properties that identify the connected property in the context of the block that owns the connector. The ordering of properties is from a property of the block that owns the connector, through a property of each intermediate block that types the preceding property, until a property is reached that contains a connector end property within its type. The connector end property is not included in the propertyPath list, but instead is held by the role property of the UML ConnectorEnd metaclass."/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690xhaDJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODtc1XEeSGVbFNM4m8gQ" name="BindingConnector"> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yvqDJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODts1XEeSGVbFNM4m8gQ" name="ValueType"> - <properties xmi:id="_z-ODt81XEeSGVbFNM4m8gQ" name="unit" type="Reference" description="A quantity in terms of which the magnitudes of other quantities that have the same dimension can be stated, as identified by an instance of the Unit stereotype."/> - <properties xmi:id="_z-ODuM1XEeSGVbFNM4m8gQ" name="quantityKind" type="Reference" description="A kind of quantity that may be stated by means of defined units, as identified by an instance of the Dimension stereotype. A value type may optionally specify a dimension without any unit. Such a value has no concrete representation, but may be used to express a value in an abstract form independent of any specific units."/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690y1qDJEeSZxfCXzZz3-w"/> - </elements> - </elements> - <elements xsi:type="contexts:DataContextPackage" xmi:id="_z-ODuc1XEeSGVbFNM4m8gQ" name="Requirements"> - <elements xmi:id="_z-ODus1XEeSGVbFNM4m8gQ" name="DeriveReqt"/> - <elements xmi:id="_z-ODu81XEeSGVbFNM4m8gQ" name="Satisfy"/> - <elements xmi:id="_z-ODvM1XEeSGVbFNM4m8gQ" name="TestCase"> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yQKDJEeSZxfCXzZz3-w"/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yVaDJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODvc1XEeSGVbFNM4m8gQ" name="Refine"/> - <elements xmi:id="_z-ODvs1XEeSGVbFNM4m8gQ" name="Requirement"> - <properties xmi:id="_z-ODv81XEeSGVbFNM4m8gQ" name="text" description="The textual representation or a reference to the textual representation of the requirement."/> - <properties xmi:id="_z-ODwM1XEeSGVbFNM4m8gQ" name="id" description="The unique id of the requirement."/> - <properties xmi:id="_z-ODwc1XEeSGVbFNM4m8gQ" name="derived" type="Reference" multiplicity="-1" description="Derived from all requirements that are the client of a «deriveReqt» relationship for which this requirement is a supplier."/> - <properties xmi:id="_z-ODws1XEeSGVbFNM4m8gQ" name="derivedFrom" type="Reference" multiplicity="-1" description="Derived from all requirements that are the supplier of a «deriveReqt» relationship for which this requirement is a client."/> - <properties xmi:id="_z-ODw81XEeSGVbFNM4m8gQ" name="satisfiedBy" type="Reference" multiplicity="-1" description="Derived from all elements that are the client of a «satisfy» relationship for which this requirement is a supplier."/> - <properties xmi:id="_z-ODxM1XEeSGVbFNM4m8gQ" name="refinedBy" type="Reference" multiplicity="-1" description="Derived from all elements that are the client of a «refine» relationship for which this requirement is a supplier."/> - <properties xmi:id="_z-ODxc1XEeSGVbFNM4m8gQ" name="tracedTo" type="Reference" multiplicity="-1" description="Derived from all elements that are the client of a «trace» relationship for which this requirement is a supplier."/> - <properties xmi:id="_z-ODxs1XEeSGVbFNM4m8gQ" name="verifiedBy" type="Reference" multiplicity="-1" description="Derived from all elements that are the client of a «verify» relationship for which this requirement is a supplier."/> - <properties xmi:id="_z-ODx81XEeSGVbFNM4m8gQ" name="master" type="Reference" description="This is a derived property that lists the master requirement for this slave requirement. The master attribute is derived from the supplier of the Copy dependency that has this requirement as the slave."/> - <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#_690yXqDJEeSZxfCXzZz3-w"/> - </elements> - <elements xmi:id="_z-ODyM1XEeSGVbFNM4m8gQ" name="Trace"/> - <elements xmi:id="_z-ODyc1XEeSGVbFNM4m8gQ" name="Copy"/> - <elements xmi:id="_z-ODys1XEeSGVbFNM4m8gQ" name="Verify"/> - </elements> - <modelElementFactory href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@modelElementFactories.2"/> - </dataContexts> -</contexts:Context>
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleRequirement.xwt b/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleRequirement.xwt deleted file mode 100644 index 1c61460..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui/resources/properties/ui/SingleRequirement.xwt +++ /dev/null
@@ -1,56 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Composite xmlns:j="clr-namespace:java.lang" - xmlns:ppel="clr-namespace:org.eclipse.papyrus.infra.properties.ui.widgets.layout" - xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation" - xmlns:ppe="clr-namespace:org.eclipse.papyrus.infra.properties.ui.widgets"> - <Composite.layout> - <ppel:PropertiesLayout></ppel:PropertiesLayout> - </Composite.layout> - <Composite> - <Composite.layout> - <ppel:PropertiesLayout numColumns="2"></ppel:PropertiesLayout> - </Composite.layout> - <ppe:StringEditor input="{Binding}" - property="SysML:Requirements:Requirement:id"></ppe:StringEditor> - <ppe:StringEditor input="{Binding}" property="UML:NamedElement:name"></ppe:StringEditor> - </Composite> - <Composite> - <Composite.layout> - <ppel:PropertiesLayout></ppel:PropertiesLayout> - </Composite.layout> - <ppe:StringMultiline input="{Binding}" - property="SysML:Requirements:Requirement:text"></ppe:StringMultiline> - </Composite> - <Composite> - <Composite.layout> - <ppel:PropertiesLayout numColumns="2"></ppel:PropertiesLayout> - </Composite.layout> - <ppe:BooleanRadio input="{Binding}" property="UML:Classifier:isAbstract"></ppe:BooleanRadio> - <ppe:BooleanRadio input="{Binding}" - property="UML:RedefinableElement:isLeaf"></ppe:BooleanRadio> - </Composite> - <Composite> - <Composite.layout> - <ppel:PropertiesLayout></ppel:PropertiesLayout> - </Composite.layout> - <ppe:ReferenceDialog input="{Binding}" - property="SysML:Requirements:Requirement:master"></ppe:ReferenceDialog> - </Composite> - <Composite> - <Composite.layout> - <ppel:PropertiesLayout numColumns="2"></ppel:PropertiesLayout> - </Composite.layout> - <ppe:MultiReference input="{Binding}" - property="SysML:Requirements:Requirement:derived"></ppe:MultiReference> - <ppe:MultiReference input="{Binding}" - property="SysML:Requirements:Requirement:derivedFrom"></ppe:MultiReference> - <ppe:MultiReference input="{Binding}" - property="SysML:Requirements:Requirement:refinedBy"></ppe:MultiReference> - <ppe:MultiReference input="{Binding}" - property="SysML:Requirements:Requirement:satisfiedBy"></ppe:MultiReference> - <ppe:MultiReference input="{Binding}" - property="SysML:Requirements:Requirement:tracedTo"></ppe:MultiReference> - <ppe:MultiReference input="{Binding}" - property="SysML:Requirements:Requirement:verifiedBy"></ppe:MultiReference> - </Composite> -</Composite> \ No newline at end of file
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/src/org/eclipse/papyrus/sysml14/ui/Activator.java b/gui/org.eclipse.papyrus.sysml14.ui/src/org/eclipse/papyrus/sysml14/ui/Activator.java deleted file mode 100644 index 00f30f6..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui/src/org/eclipse/papyrus/sysml14/ui/Activator.java +++ /dev/null
@@ -1,78 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.ui; - -import org.eclipse.papyrus.infra.core.log.LogHelper; -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.sysml14.ui"; //$NON-NLS-1$ - - // The shared instance - private static Activator plugin; - - - - /** Logging helper. */ - private static LogHelper logHelper; - - /** - * 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; - logHelper = new LogHelper(plugin); - } - - /* - * (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; - } - - /** - * Returns the log helper - * @return the log helper - */ - public static LogHelper getLogHelper() { - return logHelper; - } - -}
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/src/org/eclipse/papyrus/sysml14/ui/constraints/HasStereotypeSysml14Constraint.java b/gui/org.eclipse.papyrus.sysml14.ui/src/org/eclipse/papyrus/sysml14/ui/constraints/HasStereotypeSysml14Constraint.java deleted file mode 100644 index 1fa4b62..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui/src/org/eclipse/papyrus/sysml14/ui/constraints/HasStereotypeSysml14Constraint.java +++ /dev/null
@@ -1,73 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.ui.constraints; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.papyrus.infra.constraints.constraints.Constraint; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.uml.properties.constraints.HasStereotypeConstraint; -import org.eclipse.uml2.uml.Profile; - -/** - * A constraint to test if the given object is a UML Element and - * has the given Stereotype and Sysml1.4 profile applied - * - * @author Benoit Maggi - */ -public class HasStereotypeSysml14Constraint extends HasStereotypeConstraint implements Constraint{ - - /** - * @see org.eclipse.papyrus.infra.constraints.constraints.AbstractConstraint#match(java.lang.Object) - * Check if the containing package has profilUri applied. - * @param selection - * @return - */ - @Override - public boolean match(Object selection) { - if (super.match(selection)){ - EList<Profile> allAppliedProfiles = umlElement.getNearestPackage().getAllAppliedProfiles(); - for (Profile profile : allAppliedProfiles) { - String uri = profile.getURI(); - if (SysMLResource.PROFILE_URI.equals(uri)){ - return true; - } - } - } - return false; // always called even when not defined - } - - - - /** - * @see java.lang.Object#toString() - * - * @return - */ - @Override - public String toString() { - return String.format("HasStereotypeSysml14 %s (%s)", stereotypeName, getDisplayUnit().getElementMultiplicity() == 1 ? "Single" : "Multiple"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - } - - /** - * @see org.eclipse.papyrus.infra.constraints.constraints.AbstractConstraint#equivalent(org.eclipse.papyrus.infra.constraints.constraints.Constraint) - * - * @param constraint - * @return - */ - @Override - protected boolean equivalent(Constraint constraint) { - if (super.equivalent(constraint)) { - return constraint instanceof HasStereotypeSysml14Constraint; - } - return false; - } -}
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/src/org/eclipse/papyrus/sysml14/ui/paste/PartPasteStrategy.java b/gui/org.eclipse.papyrus.sysml14.ui/src/org/eclipse/papyrus/sysml14/ui/paste/PartPasteStrategy.java deleted file mode 100644 index fa3d660..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui/src/org/eclipse/papyrus/sysml14/ui/paste/PartPasteStrategy.java +++ /dev/null
@@ -1,361 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2014 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.ui.paste; - -import java.util.Collection; -import java.util.HashMap; -import java.util.Iterator; -import java.util.Map; - -import org.eclipse.emf.common.command.CompoundCommand; -import org.eclipse.emf.common.util.BasicEList; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.edit.domain.EditingDomain; -import org.eclipse.gef.commands.Command; -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.emf.type.core.requests.MoveRequest; -import org.eclipse.gmf.runtime.notation.View; -import org.eclipse.papyrus.commands.wrappers.EMFtoGEFCommandWrapper; -import org.eclipse.papyrus.infra.core.clipboard.IClipboardAdditionalData; -import org.eclipse.papyrus.infra.core.clipboard.PapyrusClipboard; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.gmfdiag.common.strategy.paste.DefaultPasteStrategy; -import org.eclipse.papyrus.infra.gmfdiag.common.strategy.paste.IPasteStrategy; -import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils; -import org.eclipse.papyrus.infra.services.edit.service.IElementEditService; -import org.eclipse.papyrus.sysml14.blocks.Block; -import org.eclipse.papyrus.uml.diagram.common.Activator; -import org.eclipse.swt.graphics.Image; -import org.eclipse.uml2.uml.Association; -import org.eclipse.uml2.uml.Classifier; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.Package; -import org.eclipse.uml2.uml.Property; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * Offer a strategy for copying stereotypes. - */ -public class PartPasteStrategy implements IPasteStrategy { - - /** The instance. */ - private static IPasteStrategy instance = new PartPasteStrategy(); - - /** - * Gets the single instance of StereotypePasteStrategy. - * - * @return single instance of StereotypePasteStrategy - */ - public static IPasteStrategy getInstance() { - return instance; - } - - - /* - * (non-Javadoc) - * - * @see org.eclipse.papyrus.infra.gmfdiag.common.strategy.paste.IPasteStrategy#getLabel() - */ - @Override - public String getLabel() { - return "partPasteStrategy"; //$NON-NLS-1$ - } - - /* - * (non-Javadoc) - * - * @see org.eclipse.papyrus.infra.gmfdiag.common.strategy.paste.IPasteStrategy#getID() - */ - @Override - public String getID() { - return Activator.ID + ".partPasteStrategy"; //$NON-NLS-1$ - } - - /* - * (non-Javadoc) - * - * @see org.eclipse.papyrus.infra.gmfdiag.common.strategy.paste.IPasteStrategy#getDescription() - */ - @Override - public String getDescription() { - return "Paste part elements with association"; //$NON-NLS-1$ - } - - /** - * Gets the category id. - * - * @return the category id - */ - public String getCategoryID() { - return "org.eclipse.papyrus.strategy.paste"; //$NON-NLS-1$ - } - - /** - * Gets the category label. - * - * @return the category label - */ - public String getCategoryLabel() { - return "Paste all copied elements"; //$NON-NLS-1$ - } - - /** - * (non-Javadoc) - * @see org.eclipse.papyrus.infra.gmfdiag.common.strategy.paste.IPasteStrategy#getImage() - * @deprecated - */ - @Override - @Deprecated - public Image getImage() { - return null; - } - - - /** (non-Javadoc) - * @see org.eclipse.papyrus.infra.gmfdiag.common.strategy.paste.IPasteStrategy#getPriority() - * @deprecated - */ - @Override - @Deprecated - public int getPriority() { - return 1; - } - - /** - * Sets the options. - * - * @param options - * the options - */ - public void setOptions(Map<String, Object> options) { - // Nothing - } - - /* - * (non-Javadoc) - * - * @see org.eclipse.papyrus.infra.gmfdiag.common.strategy.paste.IPasteStrategy#getSemanticCommand(org.eclipse.emf.edit.domain.EditingDomain, - * org.eclipse.emf.ecore.EObject, org.eclipse.papyrus.infra.core.clipboard.PapyrusClipboard) - */ - @Override - public org.eclipse.emf.common.command.Command getSemanticCommand(EditingDomain domain, EObject targetOwner, PapyrusClipboard<Object> papyrusClipboard) { - if (targetOwner instanceof Classifier || targetOwner instanceof Package) { // test if block or package - // get affiliate AdditionnalData - Map<Object, ?> additionalDataMap = papyrusClipboard.getAdditionalDataForStrategy(getID()); - if (additionalDataMap != null) { - CompoundCommand compoundCommand = new CompoundCommand("Copy associations for parts"); //$NON-NLS-1$ - for (Iterator<Object> iterator = papyrusClipboard.iterator(); iterator.hasNext();) { - Object object = iterator.next(); - EObject target = papyrusClipboard.getTragetCopyFromInternalClipboardCopy(object); - Object additionnalData = additionalDataMap.get(object); - EList<Association> listDuplicatedAssociation = new BasicEList<>(); - EObject associationContainer = null; - if (target instanceof Property && targetOwner instanceof Classifier && additionnalData instanceof PartAdditionalData) { // test if it is a part - Classifier block = (Classifier) targetOwner; - Property property = (Property) target; - PartAdditionalData partAdditionalData = (PartAdditionalData) additionnalData; - Association newAssociation = partAdditionalData.getDuplicatedAssociation(); - restoreAssociationPartContext(block, property, newAssociation); - listDuplicatedAssociation.add(newAssociation); - associationContainer = block.eContainer(); - } else if (target instanceof Classifier && targetOwner instanceof Package && additionnalData instanceof PartBlockAdditionalData) { // test if it is a block - Classifier classifier = (Classifier) target; - EList<Property> allAttributes = classifier.getAllAttributes(); - PartBlockAdditionalData partBlockAdditionalData = (PartBlockAdditionalData) additionnalData; - for (Property property : allAttributes) { - Association duplicatedAssociation = partBlockAdditionalData.getDuplicatedAssociationByPropertyName(property.getName()); - if (duplicatedAssociation != null) { - restoreAssociationPartContext(classifier, property, duplicatedAssociation); - listDuplicatedAssociation.add(duplicatedAssociation); - } - } - associationContainer = targetOwner; - } - if (associationContainer != null && !listDuplicatedAssociation.isEmpty()) { - // add associations to the nearest container - MoveRequest moveRequest = new MoveRequest(associationContainer, listDuplicatedAssociation); - IElementEditService provider = ElementEditServiceUtils.getCommandProvider(targetOwner); - if (provider != null) { - ICommand editCommand = provider.getEditCommand(moveRequest); - GMFtoEMFCommandWrapper gmFtoEMFCommandWrapper = new GMFtoEMFCommandWrapper(editCommand); - compoundCommand.append(gmFtoEMFCommandWrapper); - } - } - } - // An empty command can't be executed - if (compoundCommand.getCommandList().isEmpty()) { - return null; - } - return compoundCommand; - } - } - return null; - } - - - - - - /* - * (non-Javadoc) - * - * @see org.eclipse.papyrus.infra.gmfdiag.common.strategy.paste.IPasteStrategy#getGraphicalCommand(org.eclipse.emf.edit.domain.EditingDomain, - * org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart, org.eclipse.papyrus.infra.core.clipboard.PapyrusClipboard) - */ - @Override - public Command getGraphicalCommand(EditingDomain domain, org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart targetEditPart, PapyrusClipboard<Object> papyrusClipboard) { - View targetView = (View) targetEditPart.getModel(); - EObject targetOwner = targetView.getElement(); - org.eclipse.emf.common.command.Command semanticCommand = getSemanticCommand(domain, targetOwner, papyrusClipboard); - if (semanticCommand != null) { - org.eclipse.gef.commands.CompoundCommand compoundCommand = new org.eclipse.gef.commands.CompoundCommand("Association Part Semantic And Graphical paste"); //$NON-NLS-1$ - EMFtoGEFCommandWrapper emFtoGEFCommandWrapper = new EMFtoGEFCommandWrapper(semanticCommand); - compoundCommand.add(emFtoGEFCommandWrapper); - return compoundCommand; - } - return null; - } - - /* - * (non-Javadoc) - * - * @see org.eclipse.papyrus.infra.gmfdiag.common.strategy.paste.IPasteStrategy#dependsOn() - */ - @Override - public IPasteStrategy dependsOn() { - return DefaultPasteStrategy.getInstance(); - } - - - /* - * (non-Javadoc) - * - * @see org.eclipse.papyrus.infra.gmfdiag.common.strategy.paste.IPasteStrategy#prepare(org.eclipse.papyrus.infra.core.clipboard.PapyrusClipboard) - */ - @Override - public void prepare(PapyrusClipboard<Object> papyrusClipboard, Collection<EObject> selection) { - Map<Object, IClipboardAdditionalData> mapCopyPartData = new HashMap<>(); - for (Iterator<EObject> iterator = papyrusClipboard.iterateOnSource(); iterator.hasNext();) { - EObject eObjectSource = iterator.next(); - if (eObjectSource instanceof Element) { - Element elementSource = (Element) eObjectSource; - IClipboardAdditionalData clipboardAdditionalData = null; - if (elementSource instanceof Property && UMLUtil.getStereotypeApplication(elementSource.getOwner(), Block.class) != null) { // is part - Property propertySource = (Property) elementSource; - Association association = propertySource.getAssociation(); - if (association != null) { - clipboardAdditionalData = new PartAdditionalData(association); - } - } else if (elementSource instanceof Classifier && UMLUtil.getStereotypeApplication(elementSource, Block.class) != null) {// is Block - Classifier block = (Classifier) elementSource; - clipboardAdditionalData = new PartBlockAdditionalData(block); - } - if (clipboardAdditionalData != null) { - Object copy = papyrusClipboard.getCopyFromSource(eObjectSource); - mapCopyPartData.put(copy, clipboardAdditionalData); - } - } - - } - papyrusClipboard.pushAdditionalData(getID(), mapCopyPartData); - } - - - /** - * Duplicate the association - * - * @param association - * @return - */ - protected Association duplicateAssociation(Association association) { - EcoreUtil.Copier copier = new EcoreUtil.Copier(); - copier.copy(association); - return (Association) copier.get(association); - } - - /** - * Init the association in the new context - * - * @param classifier - * @param property - * @param association - */ - protected void restoreAssociationPartContext(Classifier classifier, Property property, Association association) { - EList<Property> memberEnds = association.getMemberEnds(); // should have only one element - if (memberEnds != null ) { - if (!memberEnds.isEmpty()){ - Property blockProperty = memberEnds.get(0); - blockProperty.setType(classifier); - } - memberEnds.add(property); - } - } - - - /** - * The Class PartAdditionalData. - */ - protected class PartAdditionalData implements IClipboardAdditionalData { - - /** The association. */ - protected Association asssociation; - - /** - * @param association - */ - public PartAdditionalData(Association asssociation) { - this.asssociation = duplicateAssociation(asssociation); - } - - /** - * @return a copy of the association - */ - public Association getDuplicatedAssociation() { - return duplicateAssociation(asssociation); - } - - } - - /** - * The Class PartBlockAdditionalData. - */ - protected class PartBlockAdditionalData implements IClipboardAdditionalData { - - /** The associations by property name. */ - protected Map<String, Association> mapPropertyNameToAssociation; - - /** - * @param block - */ - public PartBlockAdditionalData(Classifier block) { - this.mapPropertyNameToAssociation = new HashMap<String, Association>(); - EList<Property> allAttributes = block.getAllAttributes(); - for (Property property : allAttributes) { - Association association = property.getAssociation(); - Association newAssociation = duplicateAssociation(association); - mapPropertyNameToAssociation.put(property.getName(), newAssociation); - } - - } - - /** - * @param propertyName - * @return a copy of the association - */ - public Association getDuplicatedAssociationByPropertyName(String propertyName) { - Association association = mapPropertyNameToAssociation.get(propertyName); - return duplicateAssociation(association); - } - } -}
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/src/org/eclipse/papyrus/sysml14/ui/queries/property/GetContainedAttributesJavaQuery.java b/gui/org.eclipse.papyrus.sysml14.ui/src/org/eclipse/papyrus/sysml14/ui/queries/property/GetContainedAttributesJavaQuery.java deleted file mode 100644 index 6c8ddbe..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui/src/org/eclipse/papyrus/sysml14/ui/queries/property/GetContainedAttributesJavaQuery.java +++ /dev/null
@@ -1,49 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Francois Le Fevre francois.le-fevre@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.ui.queries.property; - -import java.util.ArrayList; -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.emf.facet.efacet.core.IFacetManager; -import org.eclipse.papyrus.emf.facet.efacet.core.exception.DerivedTypedElementException; -import org.eclipse.papyrus.emf.facet.query.java.core.IJavaQuery2; -import org.eclipse.papyrus.emf.facet.query.java.core.IParameterValueList2; -import org.eclipse.uml2.uml.Property; - - -/** - * Build the facet linked to a typed property for Menu Explorer customisation - * Get the collection of all owned elements of the typed property - * - * @pap.req org.eclipse.papyrus.sysml14.ui#REQ_001 - * @author Francois Le Fevre - * - */ -public class GetContainedAttributesJavaQuery implements IJavaQuery2<Property, Collection<EObject>> { - - /* (non-Javadoc) - * @see org.eclipse.papyrus.emf.facet.query.java.core.IJavaQuery2#evaluate(org.eclipse.emf.ecore.EObject, org.eclipse.papyrus.emf.facet.query.java.core.IParameterValueList2, org.eclipse.papyrus.emf.facet.efacet.core.IFacetManager) - * - */ - @Override - public Collection<EObject> evaluate(Property property, IParameterValueList2 parameterValues, IFacetManager facetManager) throws DerivedTypedElementException { - List<EObject> result = new ArrayList<>(); - if(property.getType()!=null){ - result.addAll(property.getType().getOwnedElements()); - } - return result; - } -}
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/src/org/eclipse/papyrus/sysml14/ui/queries/property/IsTypedPropertyJavaQuery.java b/gui/org.eclipse.papyrus.sysml14.ui/src/org/eclipse/papyrus/sysml14/ui/queries/property/IsTypedPropertyJavaQuery.java deleted file mode 100644 index 2e0f605..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui/src/org/eclipse/papyrus/sysml14/ui/queries/property/IsTypedPropertyJavaQuery.java +++ /dev/null
@@ -1,40 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Francois Le Fevre francois.le-fevre@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.ui.queries.property; - -import org.eclipse.papyrus.emf.facet.efacet.core.IFacetManager; -import org.eclipse.papyrus.emf.facet.efacet.core.exception.DerivedTypedElementException; -import org.eclipse.papyrus.emf.facet.query.java.core.IJavaQuery2; -import org.eclipse.papyrus.emf.facet.query.java.core.IParameterValueList2; -import org.eclipse.uml2.uml.Property; - -/** - * Query used for Menu Explorer customisation - * @pap.req org.eclipse.papyrus.sysml14.ui#REQ_001 - * - * @author Francois Le Fevre - * - */ -public class IsTypedPropertyJavaQuery implements IJavaQuery2<Property, Boolean> { - - /* (non-Javadoc) - * @see org.eclipse.papyrus.emf.facet.query.java.core.IJavaQuery2#evaluate(org.eclipse.emf.ecore.EObject, org.eclipse.papyrus.emf.facet.query.java.core.IParameterValueList2, org.eclipse.papyrus.emf.facet.efacet.core.IFacetManager) - * - * Return true if the element is a typed property - */ - @Override - public Boolean evaluate(Property source, IParameterValueList2 parameterValues, IFacetManager facetManager) throws DerivedTypedElementException { - return source.getType()!=null; - } - -}
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/src/org/eclipse/papyrus/sysml14/ui/template/ImportSysMLQUDVLibraryInModel.java b/gui/org.eclipse.papyrus.sysml14.ui/src/org/eclipse/papyrus/sysml14/ui/template/ImportSysMLQUDVLibraryInModel.java deleted file mode 100644 index 640fcd6..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui/src/org/eclipse/papyrus/sysml14/ui/template/ImportSysMLQUDVLibraryInModel.java +++ /dev/null
@@ -1,91 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.ui.template; - -import java.io.IOException; -import java.util.Collections; - -import org.eclipse.emf.common.command.CommandStack; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.transaction.RecordingCommand; -import org.eclipse.papyrus.infra.core.resource.ModelSet; -import org.eclipse.papyrus.sysml14.ui.Activator; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.papyrus.uml.diagram.wizards.transformation.IGenerator; -import org.eclipse.papyrus.uml.tools.model.UmlUtils; -import org.eclipse.uml2.uml.PackageImport; - - -/** - * - * Utility class to provide QUDV in the new model wizard - */ -public class ImportSysMLQUDVLibraryInModel implements IGenerator { - - private ModelSet modelSet; - - private org.eclipse.uml2.uml.Package root; - - private org.eclipse.uml2.uml.Package qudv; - - @Override - public void execute() { - - // Get its resource - Resource umlResource = UmlUtils.getUmlModel(modelSet).getResource(); - - // Select the root element to add the wanted imports - root = (org.eclipse.uml2.uml.Package) umlResource.getContents().get(0); - - URI qudvURI = URI.createURI(SysMLResource.QUDV_LIBRARY_PATH).appendFragment(SysMLResource.QUDV_LIBRARY_ROOT_ID); - qudv = (org.eclipse.uml2.uml.Package) modelSet.getEObject(qudvURI, true); - - // Creates the import packages at the root of the model (elements of type packageImport) - this.getCommandStack(modelSet).execute(new RecordingCommand(modelSet.getTransactionalEditingDomain()) { - - @Override - protected void doExecute() { - PackageImport importPrimitivePack = root.createPackageImport(qudv); - if (!root.getPackageImports().contains(importPrimitivePack)) { - root.getPackageImports().add(importPrimitivePack); - } - - try { - root.eResource().save(Collections.emptyMap()); - } catch (IOException e) { - Activator.getLogHelper().error(e); - } - } - }); - - } - - /** - * @see org.eclipse.papyrus.uml.diagram.wizards.transformation.IGenerator#setModelSet(org.eclipse.papyrus.uml.diagram.wizards.transformation.ModelSet) - * - * @param modelSet - */ - @Override - public void setModelSet(ModelSet modelSet) { - this.modelSet = modelSet; - } - - protected final CommandStack getCommandStack(ModelSet modelSet) { - return modelSet.getTransactionalEditingDomain().getCommandStack(); - } - - public ModelSet getModelSet() { - return this.modelSet; - } - -}
diff --git a/gui/org.eclipse.papyrus.sysml14.ui/src/org/eclipse/papyrus/sysml14/ui/template/ImportUMLStandardProfileInModel.java b/gui/org.eclipse.papyrus.sysml14.ui/src/org/eclipse/papyrus/sysml14/ui/template/ImportUMLStandardProfileInModel.java deleted file mode 100644 index f38b4d7..0000000 --- a/gui/org.eclipse.papyrus.sysml14.ui/src/org/eclipse/papyrus/sysml14/ui/template/ImportUMLStandardProfileInModel.java +++ /dev/null
@@ -1,107 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Benoit Maggi benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.ui.template; - -import java.io.IOException; -import java.util.Collections; - -import org.eclipse.emf.common.command.CommandStack; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.transaction.RecordingCommand; -import org.eclipse.papyrus.infra.core.resource.ModelSet; -import org.eclipse.papyrus.uml.diagram.wizards.transformation.IGenerator; -import org.eclipse.papyrus.uml.tools.model.UmlUtils; -import org.eclipse.papyrus.sysml14.ui.Activator; -import org.eclipse.uml2.uml.PackageImport; - - -/** - * Based on org.eclipse.papyrus.uml.templaterepository.ImportUMLPrimitiveTypesInModel - * @deprecated - */ -@Deprecated //FIXME unused since the standard profile is in the default created model 0.8.1 (What about adding it in papyrus core?) -public class ImportUMLStandardProfileInModel implements IGenerator { - - - private ModelSet modelSet; - - private org.eclipse.uml2.uml.Package rootElement; - - private EObject standardProfile; - - /** - * @see org.eclipse.papyrus.uml.diagram.wizards.transformation.IGenerator#setModelSet(org.eclipse.papyrus.uml.diagram.wizards.transformation.ModelSet) - * - * @param modelSet - */ - @Override - public void setModelSet(ModelSet modelSet) { - this.modelSet = modelSet; - } - - /** - * @param modelSet - * the current model set - * @return the associated command stack - */ - protected final CommandStack getCommandStack(ModelSet modelSet) { - return modelSet.getTransactionalEditingDomain().getCommandStack(); - } - - /** - * @return the model set - */ - public ModelSet getModelSet() { - return this.modelSet; - } - - /** - * @see org.eclipse.papyrus.uml.diagram.wizards.transformation.IGenerator#execute() - * - */ - @Override - public void execute() { - Resource umlResource = UmlUtils.getUmlModel(modelSet).getResource(); - - // Select the root element to add the wanted imports - rootElement = (org.eclipse.uml2.uml.Model) umlResource.getContents().get(0); - - // Load the needed libraries. - URI standardProfileURI = URI.createURI("pathmap://UML_PROFILES/Standard.profile.uml").appendFragment("_0"); //$NON-NLS-1$ //$NON-NLS-2$ - standardProfile = modelSet.getEObject(standardProfileURI, true); - - // Creates the import packages at the root of the model (elements of type packageImport) - this.getCommandStack(modelSet).execute(new RecordingCommand(modelSet.getTransactionalEditingDomain()) { - - @Override - protected void doExecute() { - - PackageImport importPrimitivePack = rootElement.createPackageImport((org.eclipse.uml2.uml.Package) standardProfile); - if (!rootElement.getPackageImports().contains(importPrimitivePack)) { - rootElement.getPackageImports().add(importPrimitivePack); - } - - try { - rootElement.eResource().save(Collections.emptyMap()); - } catch (IOException e) { - Activator.getLogHelper().error(e); - } - } - }); - - } - - - -}
diff --git a/gui/pom.xml b/gui/pom.xml index 1288c2e..fbeb705 100644 --- a/gui/pom.xml +++ b/gui/pom.xml
@@ -2,19 +2,19 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>org.eclipse.papyrus.sysml14.parent</artifactId> + <artifactId>org.eclipse.papyrus.sysml.parent</artifactId> <groupId>org.eclipse.papyrus.sysml</groupId> - <version>1.2.0-SNAPSHOT</version> + <version>4.0.0-SNAPSHOT</version> </parent> - <artifactId>org.eclipse.papyrus.sysml14.gui</artifactId> + <artifactId>org.eclipse.papyrus.sysml.gui</artifactId> <packaging>pom</packaging> <name>SysML GUI</name> - <description>This module contains the different plugins relative to the graphical user interface for SysML 1.4.</description> + <description>This module contains the different plugins relative to the graphical user interface for SysML</description> <modules> - <module>org.eclipse.papyrus.sysml14.architecture</module> - <module>org.eclipse.papyrus.sysml14.architecture.tests</module> - <module>org.eclipse.papyrus.sysml14.ui</module> - <module>org.eclipse.papyrus.sysml14.ui.tests</module> + <module>org.eclipse.papyrus.sysml.architecture</module> + <module>org.eclipse.papyrus.sysml.architecture.tests</module> + <module>org.eclipse.papyrus.sysml.ui</module> + <module>org.eclipse.papyrus.sysml.ui.tests</module> </modules> </project>
diff --git a/pom.xml b/pom.xml index 71388f8..4a60fd3 100644 --- a/pom.xml +++ b/pom.xml
@@ -10,11 +10,11 @@ </parent> <groupId>org.eclipse.papyrus.sysml</groupId> - <artifactId>org.eclipse.papyrus.sysml14.parent</artifactId> - <version>1.2.0-SNAPSHOT</version> + <artifactId>org.eclipse.papyrus.sysml.parent</artifactId> + <version>4.0.0-SNAPSHOT</version> <packaging>pom</packaging> <name>SysML</name> - <description>A Papyrus DSML for the SysML 1.4 OMG norm</description> + <description>A Papyrus DSML for the SysML 1.5 OMG norm</description> <url>https://eclipse.org/papyrus/components/${component.shortname}/</url> <inceptionYear>2015</inceptionYear> @@ -28,13 +28,13 @@ </modules> <properties> <component.shortname>sysml</component.shortname> - <component.fullartifactId>org.eclipse.papyrus.sysml14</component.fullartifactId> + <component.fullartifactId>org.eclipse.papyrus.sysml</component.fullartifactId> <component.hudson.tabname>Sysml</component.hudson.tabname> <component.bugzilla.name>SysML</component.bugzilla.name> <component.package.rootname>org.eclipse.papyrus.sysml</component.package.rootname> - <component.rcp.name>org.eclipse.papyrus.sysml14.rcp</component.rcp.name> + <component.rcp.name>org.eclipse.papyrus.sysml.rcp</component.rcp.name> <component.apibaseline.url>http://download.eclipse.org/modeling/mdt/papyrus/components/sysml14/0.8.0_papyrus-sysml-mars_190/</component.apibaseline.url> - <component.servicetype>org.eclipse.papyrus.sysml14.service.types</component.servicetype> + <component.servicetype>org.eclipse.papyrus.sysml.service.types</component.servicetype> <eclipse.targetrelease>oxygen</eclipse.targetrelease> <target.version>${project.version}</target.version> <sonar.exclusions>**/src-gen/**</sonar.exclusions>
diff --git a/releng/org.eclipse.papyrus.sysml.feature/.project b/releng/org.eclipse.papyrus.sysml.feature/.project new file mode 100755 index 0000000..aa8a611 --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.feature/.project
@@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.feature</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.pde.FeatureBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.FeatureNature</nature> + </natures> +</projectDescription>
diff --git a/releng/org.eclipse.papyrus.sysml14.feature/.settings/org.eclipse.core.resources.prefs b/releng/org.eclipse.papyrus.sysml.feature/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.feature/.settings/org.eclipse.core.resources.prefs rename to releng/org.eclipse.papyrus.sysml.feature/.settings/org.eclipse.core.resources.prefs
diff --git a/releng/org.eclipse.papyrus.sysml14.feature/.settings/org.eclipse.m2e.core.prefs b/releng/org.eclipse.papyrus.sysml.feature/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.feature/.settings/org.eclipse.m2e.core.prefs rename to releng/org.eclipse.papyrus.sysml.feature/.settings/org.eclipse.m2e.core.prefs
diff --git a/releng/org.eclipse.papyrus.sysml14.feature/build.properties b/releng/org.eclipse.papyrus.sysml.feature/build.properties similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.feature/build.properties rename to releng/org.eclipse.papyrus.sysml.feature/build.properties
diff --git a/releng/org.eclipse.papyrus.sysml14.feature/epl-v10.html b/releng/org.eclipse.papyrus.sysml.feature/epl-v10.html similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.feature/epl-v10.html rename to releng/org.eclipse.papyrus.sysml.feature/epl-v10.html
diff --git a/releng/org.eclipse.papyrus.sysml.feature/feature.properties b/releng/org.eclipse.papyrus.sysml.feature/feature.properties new file mode 100755 index 0000000..e4b39be --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.feature/feature.properties
@@ -0,0 +1,138 @@ +# NLS_MESSAGEFORMAT_VAR + +# "featureName" property - name of the feature +featureName=Papyrus SysML 1.5 Feature + +# "providerName" property - name of the company that provides the feature +providerName=Eclipse Modeling Project + +# "licenseURL" property - URL of the "Feature License" +# do not translate value - just change to point to a locale-specific HTML page +licenseURL=license.html + +# "license" property - text of the "Feature Update License" +# should be plain text version of license agreement pointed to be "licenseURL" +license=\ +Eclipse Foundation Software User Agreement\n\ +April 9, 2014\n\ +\n\ +Usage Of Content\n\ +\n\ +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ +BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ +\n\ +Applicable Licenses\n\ +\n\ +Unless otherwise indicated, all Content made available by the\n\ +Eclipse Foundation is provided to you under the terms and conditions of\n\ +the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ +For purposes of the EPL, "Program" will mean the Content.\n\ +\n\ +Content includes, but is not limited to, source code, object code,\n\ +documentation and other files maintained in the Eclipse Foundation source code\n\ +repository ("Repository") in software modules ("Modules") and made available\n\ +as downloadable archives ("Downloads").\n\ +\n\ +\t- Content may be structured and packaged into modules to facilitate delivering,\n\ +\t extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ +\t plug-in fragments ("Fragments"), and features ("Features").\n\ +\t- Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ +\t in a directory named "plugins".\n\ +\t- A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ +\t Each Feature may be packaged as a sub-directory in a directory named "features".\n\ +\t Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ +\t numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ +\t- Features may also include other Features ("Included Features"). Within a Feature, files\n\ +\t named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ +\n\ +The terms and conditions governing Plug-ins and Fragments should be\n\ +contained in files named "about.html" ("Abouts"). The terms and\n\ +conditions governing Features and Included Features should be contained\n\ +in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ +Licenses may be located in any directory of a Download or Module\n\ +including, but not limited to the following locations:\n\ +\n\ +\t- The top-level (root) directory\n\ +\t- Plug-in and Fragment directories\n\ +\t- Inside Plug-ins and Fragments packaged as JARs\n\ +\t- Sub-directories of the directory named "src" of certain Plug-ins\n\ +\t- Feature directories\n\ +\n\ +Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ +Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ +Update License") during the installation process. If the Feature contains\n\ +Included Features, the Feature Update License should either provide you\n\ +with the terms and conditions governing the Included Features or inform\n\ +you where you can locate them. Feature Update Licenses may be found in\n\ +the "license" property of files named "feature.properties" found within a Feature.\n\ +Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ +terms and conditions (or references to such terms and conditions) that\n\ +govern your use of the associated Content in that directory.\n\ +\n\ +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ +\n\ +\t- Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html)\n\ +\t- Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ +\t- Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ +\t- Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ +\t- Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ +\n\ +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ +is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ +govern that particular Content.\n\ +\n\ +\n\Use of Provisioning Technology\n\ +\n\ +The Eclipse Foundation makes available provisioning software, examples of which include,\n\ +but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ +the purpose of allowing users to install software, documentation, information and/or\n\ +other materials (collectively "Installable Software"). This capability is provided with\n\ +the intent of allowing such users to install, extend and update Eclipse-based products.\n\ +Information about packaging Installable Software is available at\n\ +http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ +\n\ +You may use Provisioning Technology to allow other parties to install Installable Software.\n\ +You shall be responsible for enabling the applicable license agreements relating to the\n\ +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ +in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ +making it available in accordance with the Specification, you further acknowledge your\n\ +agreement to, and the acquisition of all necessary rights to permit the following:\n\ +\n\ +\t1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ +\t the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ +\t extending or updating the functionality of an Eclipse-based product.\n\ +\t2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ +\t Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ +\t3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ +\t govern the use of the Installable Software ("Installable Software Agreement") and such\n\ +\t Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ +\t with the Specification. Such Installable Software Agreement must inform the user of the\n\ +\t terms and conditions that govern the Installable Software and must solicit acceptance by\n\ +\t the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ +\t indication of agreement by the user, the provisioning Technology will complete installation\n\ +\t of the Installable Software.\n\ +\n\ +Cryptography\n\ +\n\ +Content may contain encryption software. The country in which you are\n\ +currently may have restrictions on the import, possession, and use,\n\ +and/or re-export to another country, of encryption software. BEFORE\n\ +using any encryption software, please check the country's laws,\n\ +regulations and policies concerning the import, possession, or use, and\n\ +re-export of encryption software, to see if this is permitted.\n\ +\n\ +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n +########### end of license property ##########################################
diff --git a/releng/org.eclipse.papyrus.sysml.feature/feature.xml b/releng/org.eclipse.papyrus.sysml.feature/feature.xml new file mode 100644 index 0000000..3cd8a64 --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.feature/feature.xml
@@ -0,0 +1,135 @@ +<?xml version="1.0" encoding="UTF-8"?> +<feature + id="org.eclipse.papyrus.sysml.feature" + label="%featureName" + version="4.0.0.qualifier" + provider-name="%providerName" + plugin="org.eclipse.papyrus.sysml.ui"> + + <description url="https://eclipse.org/papyrus/"> + This feature enables to create, manage, validate SysML 1.5 models. It contains diagram bundles (BDD, IBD, PAR, REQ), tables bundles and also all user interface elements. + </description> + + <copyright url="http://www.eclipse.org/legal/epl-v10.html"> + Copyright (c) 2015 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 + </copyright> + + <license url="%licenseURL"> + %license + </license> + + <requires> + <import feature="org.eclipse.papyrus.sdk.feature" version="3.0.0" match="compatible"/> + </requires> + + <plugin + id="org.eclipse.papyrus.sysml" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + + <plugin + id="org.eclipse.papyrus.sysml.ui" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + + <plugin + id="org.eclipse.papyrus.sysml.diagram.common" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + + <plugin + id="org.eclipse.papyrus.sysml.diagram.blockdefinition" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + + <plugin + id="org.eclipse.papyrus.sysml.diagram.internalblock" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + + <plugin + id="org.eclipse.papyrus.sysml.diagram.parametric" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + + <plugin + id="org.eclipse.papyrus.sysml.diagram.requirement" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + + <plugin + id="org.eclipse.papyrus.sysml.edit" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + + <plugin + id="org.eclipse.papyrus.sysml.service.types" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + + <plugin + id="org.eclipse.papyrus.sysml.validation" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + + <plugin + id="org.eclipse.papyrus.sysml.nattable.allocation" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + + <plugin + id="org.eclipse.papyrus.sysml.nattable.common" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + + <plugin + id="org.eclipse.papyrus.sysml.nattable.requirement" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + + <plugin + id="org.eclipse.papyrus.sysml.nattable.ui" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + + <plugin + id="org.eclipse.papyrus.sysml.architecture" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + +</feature>
diff --git a/releng/org.eclipse.papyrus.sysml14.feature/license.html b/releng/org.eclipse.papyrus.sysml.feature/license.html similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.feature/license.html rename to releng/org.eclipse.papyrus.sysml.feature/license.html
diff --git a/releng/org.eclipse.papyrus.sysml.feature/pom.xml b/releng/org.eclipse.papyrus.sysml.feature/pom.xml new file mode 100644 index 0000000..3476d7a --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.feature/pom.xml
@@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.papyrus.sysml</groupId> + <artifactId>org.eclipse.papyrus.sysml.releng</artifactId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.feature</artifactId> + <packaging>eclipse-feature</packaging> + <name>org.eclipse.papyrus.sysml.feature</name> + <description>This plugin gather all SysML 1.5 plugins to define a fully functional DSML editor.</description> +</project> \ No newline at end of file
diff --git a/releng/org.eclipse.papyrus.sysml.p2/.project b/releng/org.eclipse.papyrus.sysml.p2/.project new file mode 100644 index 0000000..b0735b0 --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.p2/.project
@@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.p2</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + </natures> +</projectDescription>
diff --git a/releng/org.eclipse.papyrus.sysml14.p2/.settings/org.eclipse.core.resources.prefs b/releng/org.eclipse.papyrus.sysml.p2/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.p2/.settings/org.eclipse.core.resources.prefs rename to releng/org.eclipse.papyrus.sysml.p2/.settings/org.eclipse.core.resources.prefs
diff --git a/releng/org.eclipse.papyrus.sysml14.p2/.settings/org.eclipse.m2e.core.prefs b/releng/org.eclipse.papyrus.sysml.p2/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.p2/.settings/org.eclipse.m2e.core.prefs rename to releng/org.eclipse.papyrus.sysml.p2/.settings/org.eclipse.m2e.core.prefs
diff --git a/releng/org.eclipse.papyrus.sysml.p2/category.xml b/releng/org.eclipse.papyrus.sysml.p2/category.xml new file mode 100644 index 0000000..4d69e82 --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.p2/category.xml
@@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<site> + <feature url="features/org.eclipse.papyrus.sysml.feature_4.0.0.qualifier.jar" id="org.eclipse.papyrus.sysml.feature" version="4.0.0.qualifier"> + <category name="org.eclipse.papyrus.category"/> + </feature> + <feature url="features/org.eclipse.papyrus.sysml.feature.source_4.0.0.qualifier.jar" id="org.eclipse.papyrus.sysml.feature.source" version="4.0.0.qualifier"> + <category name="org.eclipse.papyrus.category"/> + </feature> + <category-def name="org.eclipse.papyrus.category" label="Papyrus SysML Category"> + <description> + Papyrus SysML Category + </description> + </category-def> + <repository-reference location="http://download.eclipse.org/modeling/mdt/papyrus/updates/releases/oxygen/" enabled="true" /> +</site>
diff --git a/releng/org.eclipse.papyrus.sysml.p2/pom.xml b/releng/org.eclipse.papyrus.sysml.p2/pom.xml new file mode 100644 index 0000000..3402e2b --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.p2/pom.xml
@@ -0,0 +1,63 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.papyrus.sysml</groupId> + <artifactId>org.eclipse.papyrus.sysml.releng</artifactId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.p2</artifactId> + <packaging>eclipse-repository</packaging> + + <build> + <plugins> + <plugin> + <!-- https://github.com/jbosstools/jbosstools-maven-plugins/wiki --> + <groupId>org.jboss.tools.tycho-plugins</groupId> + <artifactId>repository-utils</artifactId> + <executions> + <execution> + <id>generate-facade</id> + <phase>package</phase> + <goals> + <goal>generate-repository-facade</goal> + </goals> + <configuration> + <symbols> + <update.site.name>SysML</update.site.name> + <update.site.description>Use this URL in Eclipse to install SysML</update.site.description> + <update.site.version>${project.version}</update.site.version> + <project.website>https://www.eclipse.org/papyrus/components/sysml</project.website> + <project.issues>${project.issueManagement.url}</project.issues> + <eclipse.target>${eclipse.targetrelease}</eclipse.target> + <update.site.nightly>https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-oxygen/ws/releng/org.eclipse.papyrus.sysml.p2/target/repository/</update.site.nightly> + </symbols> + <associateSites> + <site>http://download.eclipse.org/modeling/mdt/papyrus/updates/releases/oxygen</site> + </associateSites> + <siteTemplateFolder>siteTemplate</siteTemplateFolder> + <p2StatsUrl>http://download.eclipse.org/stats</p2StatsUrl> + </configuration> + </execution> + </executions> + <dependencies> + <dependency> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-packaging-plugin</artifactId> + <version>${tycho-version}</version> + </dependency> + </dependencies> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-deploy-plugin</artifactId> + <configuration> + <skip>true</skip> + </configuration> + </plugin> + </plugins> + </build> + <name>org.eclipse.papyrus.sysml.p2</name> + <description>This plugin defines the update site of SysML plugins and feature.</description> +</project> \ No newline at end of file
diff --git a/releng/org.eclipse.papyrus.sysml14.p2/publish.README b/releng/org.eclipse.papyrus.sysml.p2/publish.README similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.p2/publish.README rename to releng/org.eclipse.papyrus.sysml.p2/publish.README
diff --git a/releng/org.eclipse.papyrus.sysml14.p2/publish.sh b/releng/org.eclipse.papyrus.sysml.p2/publish.sh similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.p2/publish.sh rename to releng/org.eclipse.papyrus.sysml.p2/publish.sh
diff --git a/releng/org.eclipse.papyrus.sysml.p2/siteTemplate/index.html b/releng/org.eclipse.papyrus.sysml.p2/siteTemplate/index.html new file mode 100644 index 0000000..9b655d3 --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.p2/siteTemplate/index.html
@@ -0,0 +1,113 @@ +<html> +<head> +<title>${update.site.name} Update Site: ${update.site.version}</title> +<link rel="stylesheet" type="text/css" href="web/site.css"> +</head> +<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0"> +<center> +<table cellspacing="0" cellpadding="0" class="table"> + <tr> + <td colspan="3" class="td_header"> </td> + </tr> + <tr> + <td>      </td> + <td>      </td> + <td>      </td> + </tr> + <tr> + <td>      </td> + <td> + <h2 class="title">${update.site.name} Update Site</h2> + <table width="100%"> + <tr class="header"> + <td class="sub-header" width="100%"><span>Latest Build: ${update.site.version}</span></td> + </tr> + + <tr class="light-row" style="height: 30px"> + <td class="bodyText"> + <p class="bodyText">This is the <b>${update.site.description}</b> + Update Site for ${update.site.name}. + <blockquote style="border: 1px dashed #1778be; padding: 2px"> + <ol> + <li>To install + from this site, start up Eclipse ${eclipse.target}, then do: + <ul> + <code><strong>Help > Install New Software... ></strong></code> + </ul> + </li> + <li>Copy this site's URL into Eclipse, and hit Enter.</li> + <li>When the site loads, select the features to install, + or click the <code><strong>Select All</strong></code> button.</li> + <li>To properly resolve all dependencies, check + <ul><code><strong>[x] Contact all update sites during install to find required software</strong></code></ul> + + <li>Click <code><strong>Next</strong></code>, agree to the license + terms, and install.</li> + + <p class="bodyText"> + You can also download SysML 1.5 as individual zips for + offline installation. See <a class="link" + href="../downloads/${update.site.version}/rcps/">SysML 1.5 product + Downloads</a>.<br /> + </p> + </ol> + </blockquote> + </td> + </tr> + </table> + </td> + <td>      </td> + </tr> + <tr> + <td></td> + <td> + ${site.contents} + </td> + <td></td> + </tr> + <tr> + <td></td> + <td> + <table width="100%"> + <tr class="header"> + <td class="sub-header" width="100%"><span> More informations</span></td> + </tr> + <tr class="light-row" style="height: 30px"> + <td class="bodyText"> + <h4>Documentation</h4> + <p class="bodyText">You can check here the web site <a href="${project.website}">documentation</a>.</p> + <br /> + + </td> + </tr> + + <tr class="dark-row" style="height: 30px"> + <td class="bodyText"> + <h4>Report issues</h4> + + <p>We'd greatly + appreciate the assistance in testing and <a + href="${project.issues}">reporting of + issues in our issue tracker</a>.</p><br/> + + </td> + </tr> + + <tr class="light-row" style="height: 30px"> + <td class="bodyText"> + <h4>Nightly Builds</h4> + + <p>The <a + href="${update.site.nightly}">bleeding + edge</a> contains the latest and greatest new features, but nothing is + stable or guaranteed - yet. If you're using a Milestone and need a + fix, you can update to the latest Nightly, or wait for the next + Milestone.</p><br/> + </td> + </tr> + </table> + </td> + </tr> +</table> +</center> +</html>
diff --git a/releng/org.eclipse.papyrus.sysml14.p2/siteTemplate/web/img/sysml-banner.png b/releng/org.eclipse.papyrus.sysml.p2/siteTemplate/web/img/sysml-banner.png similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.p2/siteTemplate/web/img/sysml-banner.png rename to releng/org.eclipse.papyrus.sysml.p2/siteTemplate/web/img/sysml-banner.png Binary files differ
diff --git a/releng/org.eclipse.papyrus.sysml14.p2/siteTemplate/web/site.css b/releng/org.eclipse.papyrus.sysml.p2/siteTemplate/web/site.css similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.p2/siteTemplate/web/site.css rename to releng/org.eclipse.papyrus.sysml.p2/siteTemplate/web/site.css
diff --git a/releng/org.eclipse.papyrus.sysml14.p2/siteTemplate/xslt/site.properties.xsl b/releng/org.eclipse.papyrus.sysml.p2/siteTemplate/xslt/site.properties.xsl similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.p2/siteTemplate/xslt/site.properties.xsl rename to releng/org.eclipse.papyrus.sysml.p2/siteTemplate/xslt/site.properties.xsl
diff --git a/releng/org.eclipse.papyrus.sysml14.p2/siteTemplate/xslt/site.xsl b/releng/org.eclipse.papyrus.sysml.p2/siteTemplate/xslt/site.xsl similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.p2/siteTemplate/xslt/site.xsl rename to releng/org.eclipse.papyrus.sysml.p2/siteTemplate/xslt/site.xsl
diff --git a/releng/org.eclipse.papyrus.sysml.product/.project b/releng/org.eclipse.papyrus.sysml.product/.project new file mode 100644 index 0000000..fdb746e --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.product/.project
@@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.product</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + </natures> +</projectDescription>
diff --git a/releng/org.eclipse.papyrus.sysml14.product/.settings/org.eclipse.core.resources.prefs b/releng/org.eclipse.papyrus.sysml.product/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.product/.settings/org.eclipse.core.resources.prefs rename to releng/org.eclipse.papyrus.sysml.product/.settings/org.eclipse.core.resources.prefs
diff --git a/releng/org.eclipse.papyrus.sysml14.product/.settings/org.eclipse.m2e.core.prefs b/releng/org.eclipse.papyrus.sysml.product/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.product/.settings/org.eclipse.m2e.core.prefs rename to releng/org.eclipse.papyrus.sysml.product/.settings/org.eclipse.m2e.core.prefs
diff --git a/releng/org.eclipse.papyrus.sysml.product/category.xml b/releng/org.eclipse.papyrus.sysml.product/category.xml new file mode 100644 index 0000000..a55a51b --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.product/category.xml
@@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="UTF-8"?> +<site> + <feature url="features/org.eclipse.papyrus.sysml.feature_4.0.0.qualifier.jar" id="org.eclipse.papyrus.sysml.feature" version="4.0.0.qualifier"/> +</site>
diff --git a/releng/org.eclipse.papyrus.sysml.product/papyrusSysml.product b/releng/org.eclipse.papyrus.sysml.product/papyrusSysml.product new file mode 100644 index 0000000..31c8312 --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.product/papyrusSysml.product
@@ -0,0 +1,231 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?pde version="3.5"?> + +<product name="Papyrus SysML 1.5" uid="org.eclipse.papyrus.sysml.product" id="org.eclipse.papyrus.sysml.rcp.product" application="org.eclipse.ui.ide.workbench" version="4.0.0.qualifier" useFeatures="true" includeLaunchers="true"> + + <aboutInfo> + <image path="/org.eclipse.papyrus.sysml.rcp/icons/papyrus_lg.png"/> + <text> + Papyrus SysML 1.5 + +(c) Copyright Eclipse contributors and others 2000, 2017. All rights reserved. +Visit http://www.eclipse.org/platform + +This product includes software developed by the +Apache Software Foundation http://www.apache.org/ + </text> + </aboutInfo> + + <configIni use="default"> + </configIni> + + <launcherArgs> + <programArgs>-showsplash org.eclipse.papyrus.sysml.rcp --launcher.XXMaxPermSize 256m + </programArgs> + <vmArgs>-Xms256m -Xmx1024m -XX:MaxPermSize=256m + </vmArgs> + <vmArgsMac>-Xdock:icon=../Resources/papyrus.icns -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts + </vmArgsMac> + </launcherArgs> + + <windowImages i16="/org.eclipse.papyrus.sysml.rcp/icons/papyrus16.png" i32="/org.eclipse.papyrus.sysml.rcp/icons/papyrus32.png" i48="/org.eclipse.papyrus.sysml.rcp/icons/papyrus48.png" i64="/org.eclipse.papyrus.sysml.rcp/icons/papyrus64.png" i128="/org.eclipse.papyrus.sysml.rcp/icons/papyrus128.png"/> + + <splash + location="org.eclipse.papyrus.sysml.rcp" + startupProgressRect="0,330,460,20" + startupMessageRect="7,4,445,16" + startupForegroundColor="9C9E9F" /> + <launcher name="papyrusSysML"> + <linux icon="../org.eclipse.papyrus.sysml.rcp/icons/icon.xpm"/> + <macosx icon="../org.eclipse.papyrus.sysml.rcp/icons/papyrus.icns"/> + <win useIco="true"> + <ico path="../org.eclipse.papyrus.sysml.rcp/icons/papyrus.ico"/> + <bmp/> + </win> + </launcher> + + <vm> + <windows include="false">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8</windows> + </vm> + + <license> + <url>http://eclipse.org/legal/epl/notice.php</url> + <text> + Eclipse Foundation Software User Agreement +February 1, 2011 + +Usage Of Content + +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT"). +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED +BELOW, THEN YOU MAY NOT USE THE CONTENT. + +Applicable Licenses + +Unless otherwise indicated, all Content made available by the +Eclipse Foundation is provided to you under the terms and conditions of +the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content. + +Content includes, but is not limited to, source code, object code, +documentation and other files maintained in the Eclipse Foundation source code +repository ("Repository") in software modules ("Modules") and made available +as downloadable archives ("Downloads"). + + - Content may be structured and packaged into modules to facilitate delivering, + extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), + plug-in fragments ("Fragments"), and features ("Features"). + - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive) + in a directory named "plugins". + - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. + Each Feature may be packaged as a sub-directory in a directory named "features". + Within a Feature, files named "feature.xml" may contain a list of the names and version + numbers of the Plug-ins and/or Fragments associated with that Feature. + - Features may also include other Features ("Included Features"). Within a Feature, files + named "feature.xml" may contain a list of the names and version numbers of Included Features. + +The terms and conditions governing Plug-ins and Fragments should be +contained in files named "about.html" ("Abouts"). The terms and +conditions governing Features and Included Features should be contained +in files named "license.html" ("Feature Licenses"). Abouts and Feature +Licenses may be located in any directory of a Download or Module +including, but not limited to the following locations: + + - The top-level (root) directory + - Plug-in and Fragment directories + - Inside Plug-ins and Fragments packaged as JARs + - Sub-directories of the directory named "src" of certain Plug-ins + - Feature directories + +Note: if a Feature made available by the Eclipse Foundation is installed using the +Provisioning Technology (as defined below), you must agree to a license ("Feature +Update License") during the installation process. If the Feature contains +Included Features, the Feature Update License should either provide you +with the terms and conditions governing the Included Features or inform +you where you can locate them. Feature Update Licenses may be found in +the "license" property of files named "feature.properties" found within a Feature. +Such Abouts, Feature Licenses, and Feature Update Licenses contain the +terms and conditions (or references to such terms and conditions) that +govern your use of the associated Content in that directory. + +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO): + + - Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html) + - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html) + - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE) + - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0) + - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html) + - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html) + +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License +is provided, please contact the Eclipse Foundation to determine what terms and conditions +govern that particular Content. + +Use of Provisioning Technology + +The Eclipse Foundation makes available provisioning software, examples of which include, +but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for +the purpose of allowing users to install software, documentation, information and/or +other materials (collectively "Installable Software"). This capability is provided with +the intent of allowing such users to install, extend and update Eclipse-based products. +Information about packaging Installable Software is available at +http://eclipse.org/equinox/p2/repository_packaging.html ("Specification"). + +You may use Provisioning Technology to allow other parties to install Installable Software. +You shall be responsible for enabling the applicable license agreements relating to the +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology +in accordance with the Specification. By using Provisioning Technology in such a manner and +making it available in accordance with the Specification, you further acknowledge your +agreement to, and the acquisition of all necessary rights to permit the following: + + 1. A series of actions may occur ("Provisioning Process") in which a user may execute + the Provisioning Technology on a machine ("Target Machine") with the intent of installing, + extending or updating the functionality of an Eclipse-based product. + 2. During the Provisioning Process, the Provisioning Technology may cause third party + Installable Software or a portion thereof to be accessed and copied to the Target Machine. + 3. Pursuant to the Specification, you will provide to the user the terms and conditions that + govern the use of the Installable Software ("Installable Software Agreement") and such + Installable Software Agreement shall be accessed from the Target Machine in accordance + with the Specification. Such Installable Software Agreement must inform the user of the + terms and conditions that govern the Installable Software and must solicit acceptance by + the end user in the manner prescribed in such Installable Software Agreement. Upon such + indication of agreement by the user, the provisioning Technology will complete installation + of the Installable Software. + +Cryptography + +Content may contain encryption software. The country in which you are +currently may have restrictions on the import, possession, and use, +and/or re-export to another country, of encryption software. BEFORE +using any encryption software, please check the country's laws, +regulations and policies concerning the import, possession, or use, and +re-export of encryption software, to see if this is permitted. + +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both. + </text> + </license> + + <plugins> + </plugins> + + <features> + <feature id="org.eclipse.platform"/> + <feature id="org.eclipse.rcp"/> + <feature id="org.eclipse.equinox.p2.user.ui"/> + <feature id="org.eclipse.ecf.filetransfer.httpclient4.feature"/> + <feature id="org.eclipse.help"/> + <feature id="org.eclipse.equinox.p2.core.feature"/> + <feature id="org.eclipse.ecf.core.ssl.feature"/> + <feature id="org.eclipse.ecf.filetransfer.ssl.feature"/> + <feature id="org.eclipse.equinox.p2.rcp.feature"/> + <feature id="org.eclipse.ecf.filetransfer.feature"/> + <feature id="org.eclipse.ecf.filetransfer.httpclient4.ssl.feature"/> + <feature id="org.eclipse.emf.common"/> + <feature id="org.eclipse.emf.ecore"/> + <feature id="org.eclipse.equinox.p2.extras.feature"/> + <feature id="org.eclipse.ecf.core.feature"/> + <feature id="org.eclipse.e4.rcp"/> + <feature id="org.eclipse.papyrus.sysml.feature"/> + <feature id="org.eclipse.papyrus.sysml.rcp.feature"/> + <feature id="org.eclipse.papyrus.sdk.feature" /> + </features> + + <configurations> + <plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="4" /> + <plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="2" /> + <plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="2" /> + <plugin id="org.eclipse.equinox.event" autoStart="true" startLevel="2" /> + <plugin id="org.eclipse.equinox.p2.reconciler.dropins" autoStart="true" startLevel="4" /> + <plugin id="org.eclipse.equinox.simpleconfigurator" autoStart="true" startLevel="1" /> + <plugin id="org.eclipse.update.configurator" autoStart="true" startLevel="3" /> + <property name="org.eclipse.update.reconcile" value="false" /> + <property name="osgi.bundles.defaultStartLevel" value="4" /> + <property name="osgi.instance.area.default" value="@user.home/workspace-papyrus-sysml" /> + <property name="osgi.requiredJavaVersion" value="1.8" /> + </configurations> + + <repositories> + <repository location="http://download.eclipse.org/modeling/mdt/papyrus/components/sysml/" enabled="true" /> + <repository location="http://download.eclipse.org/modeling/mdt/papyrus/updates/releases/oxygen" enabled="true" /> + </repositories> + + <preferencesInfo> + <targetfile overwrite="true"/> + </preferencesInfo> + + <cssInfo> + </cssInfo> + +</product>
diff --git a/releng/org.eclipse.papyrus.sysml.product/pom.xml b/releng/org.eclipse.papyrus.sysml.product/pom.xml new file mode 100644 index 0000000..2e8e443 --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.product/pom.xml
@@ -0,0 +1,66 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.papyrus.sysml</groupId> + <artifactId>org.eclipse.papyrus.sysml.releng</artifactId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.product</artifactId> + <packaging>eclipse-repository</packaging> + <properties> + <product-id>org.eclipse.papyrus.sysml.product</product-id> + </properties> + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-p2-repository-plugin</artifactId> + <configuration> + <includeAllDependencies>true</includeAllDependencies> + </configuration> + </plugin> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-p2-director-plugin</artifactId> + <configuration> + <profile>org.eclipse.papyrus.sysml</profile> + <formats> + <linux>zip</linux> + <macosx>tar.gz</macosx> + </formats> + <products> + <product> + <id>${product-id}</id> + <rootFolder>papyrusSysML1.5</rootFolder> + </product> + </products> + </configuration> + <executions> + <execution> + <id>materialize-products</id> + <goals> + <goal>materialize-products</goal> + </goals> + </execution> + <execution> + <id>archive-products</id> + <goals> + <goal>archive-products</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-deploy-plugin</artifactId> + <configuration> + <skip>true</skip> + </configuration> + </plugin> + </plugins> + </build> + <name>org.eclipse.papyrus.sysml.product</name> + <description>This plugins defines the product used in the RCP SysML 1.5.</description> +</project> \ No newline at end of file
diff --git a/releng/org.eclipse.papyrus.sysml.rcp.feature/.project b/releng/org.eclipse.papyrus.sysml.rcp.feature/.project new file mode 100644 index 0000000..b55487a --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.rcp.feature/.project
@@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.rcp.feature</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.FeatureBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.FeatureNature</nature> + </natures> +</projectDescription>
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp.feature/.settings/org.eclipse.core.resources.prefs b/releng/org.eclipse.papyrus.sysml.rcp.feature/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcp.feature/.settings/org.eclipse.core.resources.prefs rename to releng/org.eclipse.papyrus.sysml.rcp.feature/.settings/org.eclipse.core.resources.prefs
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp.feature/.settings/org.eclipse.m2e.core.prefs b/releng/org.eclipse.papyrus.sysml.rcp.feature/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcp.feature/.settings/org.eclipse.m2e.core.prefs rename to releng/org.eclipse.papyrus.sysml.rcp.feature/.settings/org.eclipse.m2e.core.prefs
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp.feature/build.properties b/releng/org.eclipse.papyrus.sysml.rcp.feature/build.properties similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcp.feature/build.properties rename to releng/org.eclipse.papyrus.sysml.rcp.feature/build.properties
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp.feature/epl-v10.html b/releng/org.eclipse.papyrus.sysml.rcp.feature/epl-v10.html similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcp.feature/epl-v10.html rename to releng/org.eclipse.papyrus.sysml.rcp.feature/epl-v10.html
diff --git a/releng/org.eclipse.papyrus.sysml.rcp.feature/feature.properties b/releng/org.eclipse.papyrus.sysml.rcp.feature/feature.properties new file mode 100755 index 0000000..06ff095 --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.rcp.feature/feature.properties
@@ -0,0 +1,138 @@ +# NLS_MESSAGEFORMAT_VAR + +# "featureName" property - name of the feature +featureName=Papyrus SysML 1.5 RCP Feature + +# "providerName" property - name of the company that provides the feature +providerName=Eclipse Modeling Project + +# "licenseURL" property - URL of the "Feature License" +# do not translate value - just change to point to a locale-specific HTML page +licenseURL=license.html + +# "license" property - text of the "Feature Update License" +# should be plain text version of license agreement pointed to be "licenseURL" +license=\ +Eclipse Foundation Software User Agreement\n\ +April 9, 2014\n\ +\n\ +Usage Of Content\n\ +\n\ +THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ +OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ +USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ +AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ +NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ +AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ +AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ +OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ +TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ +OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ +BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ +\n\ +Applicable Licenses\n\ +\n\ +Unless otherwise indicated, all Content made available by the\n\ +Eclipse Foundation is provided to you under the terms and conditions of\n\ +the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ +provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ +For purposes of the EPL, "Program" will mean the Content.\n\ +\n\ +Content includes, but is not limited to, source code, object code,\n\ +documentation and other files maintained in the Eclipse Foundation source code\n\ +repository ("Repository") in software modules ("Modules") and made available\n\ +as downloadable archives ("Downloads").\n\ +\n\ +\t- Content may be structured and packaged into modules to facilitate delivering,\n\ +\t extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ +\t plug-in fragments ("Fragments"), and features ("Features").\n\ +\t- Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ +\t in a directory named "plugins".\n\ +\t- A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ +\t Each Feature may be packaged as a sub-directory in a directory named "features".\n\ +\t Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ +\t numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ +\t- Features may also include other Features ("Included Features"). Within a Feature, files\n\ +\t named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ +\n\ +The terms and conditions governing Plug-ins and Fragments should be\n\ +contained in files named "about.html" ("Abouts"). The terms and\n\ +conditions governing Features and Included Features should be contained\n\ +in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ +Licenses may be located in any directory of a Download or Module\n\ +including, but not limited to the following locations:\n\ +\n\ +\t- The top-level (root) directory\n\ +\t- Plug-in and Fragment directories\n\ +\t- Inside Plug-ins and Fragments packaged as JARs\n\ +\t- Sub-directories of the directory named "src" of certain Plug-ins\n\ +\t- Feature directories\n\ +\n\ +Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ +Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ +Update License") during the installation process. If the Feature contains\n\ +Included Features, the Feature Update License should either provide you\n\ +with the terms and conditions governing the Included Features or inform\n\ +you where you can locate them. Feature Update Licenses may be found in\n\ +the "license" property of files named "feature.properties" found within a Feature.\n\ +Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ +terms and conditions (or references to such terms and conditions) that\n\ +govern your use of the associated Content in that directory.\n\ +\n\ +THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ +TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ +SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ +\n\ +\t- Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html)\n\ +\t- Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ +\t- Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ +\t- Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ +\t- Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ +\n\ +IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ +TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ +is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ +govern that particular Content.\n\ +\n\ +\n\Use of Provisioning Technology\n\ +\n\ +The Eclipse Foundation makes available provisioning software, examples of which include,\n\ +but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ +the purpose of allowing users to install software, documentation, information and/or\n\ +other materials (collectively "Installable Software"). This capability is provided with\n\ +the intent of allowing such users to install, extend and update Eclipse-based products.\n\ +Information about packaging Installable Software is available at\n\ +http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ +\n\ +You may use Provisioning Technology to allow other parties to install Installable Software.\n\ +You shall be responsible for enabling the applicable license agreements relating to the\n\ +Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ +in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ +making it available in accordance with the Specification, you further acknowledge your\n\ +agreement to, and the acquisition of all necessary rights to permit the following:\n\ +\n\ +\t1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ +\t the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ +\t extending or updating the functionality of an Eclipse-based product.\n\ +\t2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ +\t Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ +\t3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ +\t govern the use of the Installable Software ("Installable Software Agreement") and such\n\ +\t Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ +\t with the Specification. Such Installable Software Agreement must inform the user of the\n\ +\t terms and conditions that govern the Installable Software and must solicit acceptance by\n\ +\t the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ +\t indication of agreement by the user, the provisioning Technology will complete installation\n\ +\t of the Installable Software.\n\ +\n\ +Cryptography\n\ +\n\ +Content may contain encryption software. The country in which you are\n\ +currently may have restrictions on the import, possession, and use,\n\ +and/or re-export to another country, of encryption software. BEFORE\n\ +using any encryption software, please check the country's laws,\n\ +regulations and policies concerning the import, possession, or use, and\n\ +re-export of encryption software, to see if this is permitted.\n\ +\n\ +Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n +########### end of license property ##########################################
diff --git a/releng/org.eclipse.papyrus.sysml.rcp.feature/feature.xml b/releng/org.eclipse.papyrus.sysml.rcp.feature/feature.xml new file mode 100644 index 0000000..56660a5 --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.rcp.feature/feature.xml
@@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<feature + id="org.eclipse.papyrus.sysml.rcp.feature" + label="%featureName" + version="4.0.0.qualifier" + provider-name="%providerName"> + + <description url="https://eclipse.org/papyrus/"> + This feature defines the Rich Client Platform dedicated to SysML 1.5 + </description> + + <copyright url="http://www.eclipse.org/legal/epl-v10.html"> + Copyright (c) 2015 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 + </copyright> + + <license url="%licenseURL"> + %license + </license> + + <plugin + id="org.eclipse.papyrus.sysml.rcp" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + +</feature>
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp.feature/license.html b/releng/org.eclipse.papyrus.sysml.rcp.feature/license.html similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcp.feature/license.html rename to releng/org.eclipse.papyrus.sysml.rcp.feature/license.html
diff --git a/releng/org.eclipse.papyrus.sysml.rcp.feature/pom.xml b/releng/org.eclipse.papyrus.sysml.rcp.feature/pom.xml new file mode 100644 index 0000000..32310a8 --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.rcp.feature/pom.xml
@@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.papyrus.sysml</groupId> + <artifactId>org.eclipse.papyrus.sysml.releng</artifactId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.rcp.feature</artifactId> + <packaging>eclipse-feature</packaging> + <name>org.eclipse.papyrus.sysml.rcp.feature</name> + <description>This plugin packages the rcp in a feature to be used as it in the SysML 1.5 product.</description> +</project> \ No newline at end of file
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp/.classpath b/releng/org.eclipse.papyrus.sysml.rcp/.classpath similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcp/.classpath rename to releng/org.eclipse.papyrus.sysml.rcp/.classpath
diff --git a/releng/org.eclipse.papyrus.sysml.rcp/.project b/releng/org.eclipse.papyrus.sysml.rcp/.project new file mode 100644 index 0000000..47ac8c8 --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.rcp/.project
@@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.rcp</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> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription>
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp/.settings/org.eclipse.core.resources.prefs b/releng/org.eclipse.papyrus.sysml.rcp/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcp/.settings/org.eclipse.core.resources.prefs rename to releng/org.eclipse.papyrus.sysml.rcp/.settings/org.eclipse.core.resources.prefs
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp/.settings/org.eclipse.jdt.core.prefs b/releng/org.eclipse.papyrus.sysml.rcp/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcp/.settings/org.eclipse.jdt.core.prefs rename to releng/org.eclipse.papyrus.sysml.rcp/.settings/org.eclipse.jdt.core.prefs
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp/.settings/org.eclipse.m2e.core.prefs b/releng/org.eclipse.papyrus.sysml.rcp/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcp/.settings/org.eclipse.m2e.core.prefs rename to releng/org.eclipse.papyrus.sysml.rcp/.settings/org.eclipse.m2e.core.prefs
diff --git a/releng/org.eclipse.papyrus.sysml.rcp/META-INF/MANIFEST.MF b/releng/org.eclipse.papyrus.sysml.rcp/META-INF/MANIFEST.MF new file mode 100644 index 0000000..6eee670 --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.rcp/META-INF/MANIFEST.MF
@@ -0,0 +1,12 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %Bundle-Name +Bundle-SymbolicName: org.eclipse.papyrus.sysml.rcp;singleton:=true +Bundle-Version: 4.0.0.qualifier +Bundle-Vendor: %Bundle-Vendor +Bundle-Description: %Bundle-Description +Bundle-ActivationPolicy: lazy +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Require-Bundle: org.eclipse.e4.ui.css.swt.theme;bundle-version="[0.10.0,1.0.0)" +Eclipse-BundleShape: dir
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp/build.properties b/releng/org.eclipse.papyrus.sysml.rcp/build.properties similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcp/build.properties rename to releng/org.eclipse.papyrus.sysml.rcp/build.properties
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp/icons/icon.xpm b/releng/org.eclipse.papyrus.sysml.rcp/icons/icon.xpm similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcp/icons/icon.xpm rename to releng/org.eclipse.papyrus.sysml.rcp/icons/icon.xpm
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp/icons/papyrus.icns b/releng/org.eclipse.papyrus.sysml.rcp/icons/papyrus.icns similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcp/icons/papyrus.icns rename to releng/org.eclipse.papyrus.sysml.rcp/icons/papyrus.icns Binary files differ
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp/icons/papyrus.ico b/releng/org.eclipse.papyrus.sysml.rcp/icons/papyrus.ico similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcp/icons/papyrus.ico rename to releng/org.eclipse.papyrus.sysml.rcp/icons/papyrus.ico Binary files differ
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp/icons/papyrus.svg b/releng/org.eclipse.papyrus.sysml.rcp/icons/papyrus.svg similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcp/icons/papyrus.svg rename to releng/org.eclipse.papyrus.sysml.rcp/icons/papyrus.svg
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp/icons/papyrus128.png b/releng/org.eclipse.papyrus.sysml.rcp/icons/papyrus128.png similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcp/icons/papyrus128.png rename to releng/org.eclipse.papyrus.sysml.rcp/icons/papyrus128.png Binary files differ
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp/icons/papyrus16.png b/releng/org.eclipse.papyrus.sysml.rcp/icons/papyrus16.png similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcp/icons/papyrus16.png rename to releng/org.eclipse.papyrus.sysml.rcp/icons/papyrus16.png Binary files differ
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp/icons/papyrus256.png b/releng/org.eclipse.papyrus.sysml.rcp/icons/papyrus256.png similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcp/icons/papyrus256.png rename to releng/org.eclipse.papyrus.sysml.rcp/icons/papyrus256.png Binary files differ
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp/icons/papyrus32.png b/releng/org.eclipse.papyrus.sysml.rcp/icons/papyrus32.png similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcp/icons/papyrus32.png rename to releng/org.eclipse.papyrus.sysml.rcp/icons/papyrus32.png Binary files differ
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp/icons/papyrus48.png b/releng/org.eclipse.papyrus.sysml.rcp/icons/papyrus48.png similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcp/icons/papyrus48.png rename to releng/org.eclipse.papyrus.sysml.rcp/icons/papyrus48.png Binary files differ
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp/icons/papyrus64.png b/releng/org.eclipse.papyrus.sysml.rcp/icons/papyrus64.png similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcp/icons/papyrus64.png rename to releng/org.eclipse.papyrus.sysml.rcp/icons/papyrus64.png Binary files differ
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp/icons/papyrus_lg.png b/releng/org.eclipse.papyrus.sysml.rcp/icons/papyrus_lg.png similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcp/icons/papyrus_lg.png rename to releng/org.eclipse.papyrus.sysml.rcp/icons/papyrus_lg.png Binary files differ
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp/icons/splash.svg b/releng/org.eclipse.papyrus.sysml.rcp/icons/splash.svg similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcp/icons/splash.svg rename to releng/org.eclipse.papyrus.sysml.rcp/icons/splash.svg
diff --git a/releng/org.eclipse.papyrus.sysml.rcp/plugin.properties b/releng/org.eclipse.papyrus.sysml.rcp/plugin.properties new file mode 100644 index 0000000..bd211ed --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.rcp/plugin.properties
@@ -0,0 +1,13 @@ +################################################################################ +# Copyright (c) 2008 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: +# CEA LIST - initial API and implementation +################################################################################ +Bundle-Name=Papyrus SysML 1.5 RCP +Bundle-Vendor=Eclipse Modeling Project +Bundle-Description=This plug-in contains the information to build the SysML 1.5 Rcp
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp/plugin.xml b/releng/org.eclipse.papyrus.sysml.rcp/plugin.xml similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcp/plugin.xml rename to releng/org.eclipse.papyrus.sysml.rcp/plugin.xml
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp/plugin_customization.ini b/releng/org.eclipse.papyrus.sysml.rcp/plugin_customization.ini similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcp/plugin_customization.ini rename to releng/org.eclipse.papyrus.sysml.rcp/plugin_customization.ini
diff --git a/releng/org.eclipse.papyrus.sysml.rcp/pom.xml b/releng/org.eclipse.papyrus.sysml.rcp/pom.xml new file mode 100644 index 0000000..2873809 --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.rcp/pom.xml
@@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.papyrus.sysml</groupId> + <artifactId>org.eclipse.papyrus.sysml.releng</artifactId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.rcp</artifactId> + <packaging>eclipse-plugin</packaging> + <name>org.eclipse.papyrus.sysml.rcp</name> + <description>This plugins defines the Rich Client Platform for SysML 1.5 application.</description> +</project> \ No newline at end of file
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp/splash.bmp b/releng/org.eclipse.papyrus.sysml.rcp/splash.bmp similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcp/splash.bmp rename to releng/org.eclipse.papyrus.sysml.rcp/splash.bmp Binary files differ
diff --git a/releng/org.eclipse.papyrus.sysml.rcptt.tests/.project b/releng/org.eclipse.papyrus.sysml.rcptt.tests/.project new file mode 100644 index 0000000..c4090e8 --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.rcptt.tests/.project
@@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.rcptt.tests</name> + <comment></comment> + <projects> + <project>org.eclipse.papyrus.sysml.rcptt.tests</project> + <project>org.eclipse.papyrus.tools.rcptt</project> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.rcptt.core.builder.q7Builder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.rcptt.core.rcpttnature</nature> + </natures> + <filteredResources> + <filter> + <id>0</id> + <name></name> + <type>14</type> + <matcher> + <id>org.eclipse.ui.ide.multiFilter</id> + <arguments>1.0-name-matches-false-false-target</arguments> + </matcher> + </filter> + </filteredResources> +</projectDescription>
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/.settings/org.eclipse.core.resources.prefs b/releng/org.eclipse.papyrus.sysml.rcptt.tests/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcptt.tests/.settings/org.eclipse.core.resources.prefs rename to releng/org.eclipse.papyrus.sysml.rcptt.tests/.settings/org.eclipse.core.resources.prefs
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/.settings/org.eclipse.m2e.core.prefs b/releng/org.eclipse.papyrus.sysml.rcptt.tests/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcptt.tests/.settings/org.eclipse.m2e.core.prefs rename to releng/org.eclipse.papyrus.sysml.rcptt.tests/.settings/org.eclipse.m2e.core.prefs
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/contexts/ClearWorkspace.ctx b/releng/org.eclipse.papyrus.sysml.rcptt.tests/contexts/ClearWorkspace.ctx similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcptt.tests/contexts/ClearWorkspace.ctx rename to releng/org.eclipse.papyrus.sysml.rcptt.tests/contexts/ClearWorkspace.ctx
diff --git a/releng/org.eclipse.papyrus.sysml.rcptt.tests/contexts/name_parameters.ctx b/releng/org.eclipse.papyrus.sysml.rcptt.tests/contexts/name_parameters.ctx new file mode 100644 index 0000000..83b9fea --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.rcptt.tests/contexts/name_parameters.ctx
@@ -0,0 +1,25 @@ +--- RCPTT testcase --- +Format-Version: 1.0 +Context-Type: org.eclipse.rcptt.ctx.parameters +Element-Name: name_parameters +Element-Type: context +Element-Version: 2.0 +Id: _hhG3gN-5EeWCq4DNYCV1CA +Runtime-Version: 2.0.0.201506120617 +Save-Time: 3/1/16 3:32 PM + +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa +Content-Type: text/plain +Entry-Name: .description + +List Here all the keys that are use in SysML UI +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- +------=_.parameters.context-2e023de5-3294-36a9-ac1d-6701f05a40ee +Content-Type: text/properties +Entry-Name: .parameters.context + +#Tue Mar 01 15:32:32 CET 2016 +SysML1.4NewChildEdgesMenu=SysML 1.5 Relationship +SysML1.4NewChildNodeMenu=SysML 1.5 Child + +------=_.parameters.context-2e023de5-3294-36a9-ac1d-6701f05a40ee--
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/contexts/procedures/DefaultSetup.ctx b/releng/org.eclipse.papyrus.sysml.rcptt.tests/contexts/procedures/DefaultSetup.ctx similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcptt.tests/contexts/procedures/DefaultSetup.ctx rename to releng/org.eclipse.papyrus.sysml.rcptt.tests/contexts/procedures/DefaultSetup.ctx
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/contexts/procedures/GlobalSettings.ctx b/releng/org.eclipse.papyrus.sysml.rcptt.tests/contexts/procedures/GlobalSettings.ctx similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcptt.tests/contexts/procedures/GlobalSettings.ctx rename to releng/org.eclipse.papyrus.sysml.rcptt.tests/contexts/procedures/GlobalSettings.ctx
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/contexts/procedures/ProcPath.ctx b/releng/org.eclipse.papyrus.sysml.rcptt.tests/contexts/procedures/ProcPath.ctx similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcptt.tests/contexts/procedures/ProcPath.ctx rename to releng/org.eclipse.papyrus.sysml.rcptt.tests/contexts/procedures/ProcPath.ctx
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/contexts/procedures/ProcUtility.ctx b/releng/org.eclipse.papyrus.sysml.rcptt.tests/contexts/procedures/ProcUtility.ctx similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcptt.tests/contexts/procedures/ProcUtility.ctx rename to releng/org.eclipse.papyrus.sysml.rcptt.tests/contexts/procedures/ProcUtility.ctx
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/contexts/workbenchs/ClearWorkbench.ctx b/releng/org.eclipse.papyrus.sysml.rcptt.tests/contexts/workbenchs/ClearWorkbench.ctx similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcptt.tests/contexts/workbenchs/ClearWorkbench.ctx rename to releng/org.eclipse.papyrus.sysml.rcptt.tests/contexts/workbenchs/ClearWorkbench.ctx
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/contexts/workbenchs/PapyrusSysML-BDD-WB.ctx b/releng/org.eclipse.papyrus.sysml.rcptt.tests/contexts/workbenchs/PapyrusSysML-BDD-WB.ctx similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcptt.tests/contexts/workbenchs/PapyrusSysML-BDD-WB.ctx rename to releng/org.eclipse.papyrus.sysml.rcptt.tests/contexts/workbenchs/PapyrusSysML-BDD-WB.ctx
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/contexts/workbenchs/PapyrusWorkbench.ctx b/releng/org.eclipse.papyrus.sysml.rcptt.tests/contexts/workbenchs/PapyrusWorkbench.ctx similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcptt.tests/contexts/workbenchs/PapyrusWorkbench.ctx rename to releng/org.eclipse.papyrus.sysml.rcptt.tests/contexts/workbenchs/PapyrusWorkbench.ctx
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/contexts/workspaces/InitialStateWithOneSysMLProject.ctx b/releng/org.eclipse.papyrus.sysml.rcptt.tests/contexts/workspaces/InitialStateWithOneSysMLProject.ctx similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcptt.tests/contexts/workspaces/InitialStateWithOneSysMLProject.ctx rename to releng/org.eclipse.papyrus.sysml.rcptt.tests/contexts/workspaces/InitialStateWithOneSysMLProject.ctx
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/contexts/workspaces/PapyrusAllFilesModel.ctx b/releng/org.eclipse.papyrus.sysml.rcptt.tests/contexts/workspaces/PapyrusAllFilesModel.ctx similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcptt.tests/contexts/workspaces/PapyrusAllFilesModel.ctx rename to releng/org.eclipse.papyrus.sysml.rcptt.tests/contexts/workspaces/PapyrusAllFilesModel.ctx
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/contexts/workspaces/PapyrusSampleModel.ctx b/releng/org.eclipse.papyrus.sysml.rcptt.tests/contexts/workspaces/PapyrusSampleModel.ctx similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcptt.tests/contexts/workspaces/PapyrusSampleModel.ctx rename to releng/org.eclipse.papyrus.sysml.rcptt.tests/contexts/workspaces/PapyrusSampleModel.ctx
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/contexts/workspaces/SampleBddContext.ctx b/releng/org.eclipse.papyrus.sysml.rcptt.tests/contexts/workspaces/SampleBddContext.ctx similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcptt.tests/contexts/workspaces/SampleBddContext.ctx rename to releng/org.eclipse.papyrus.sysml.rcptt.tests/contexts/workspaces/SampleBddContext.ctx
diff --git a/releng/org.eclipse.papyrus.sysml.rcptt.tests/pom.xml b/releng/org.eclipse.papyrus.sysml.rcptt.tests/pom.xml new file mode 100755 index 0000000..af3b959 --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.rcptt.tests/pom.xml
@@ -0,0 +1,69 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.papyrus.sysml</groupId> + <artifactId>org.eclipse.papyrus.sysml.releng</artifactId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.rcptt.tests</artifactId> + <packaging>rcpttTest</packaging> + <description>This plugin declare the functional tests based on Eclipse RCPTT for the SysML 1.5 application.</description> + <dependencies> + <dependency> + <groupId>org.eclipse.papyrus.tools</groupId> + <artifactId>org.eclipse.papyrus.tools.rcptt</artifactId> + <type>rcpttTest</type> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.eclipse.rcptt</groupId> + <artifactId>rcptt-maven-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <skipTags> + <skipTag>ignore</skipTag> + </skipTags> + </configuration> + </plugin> + </plugins> + </build> + <profiles> + <profile> + <id>documentation</id> + <activation> + <activeByDefault>false</activeByDefault> + </activation> + <build> + <plugins> + <!--use to copy to site the rcptt reports --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-resources-plugin</artifactId> + <executions> + <execution> + <id>copy-resources</id> + <phase>site</phase> + <goals> + <goal>copy-resources</goal> + </goals> + <configuration> + <outputDirectory>${basedir}/target/site/results</outputDirectory> + <resources> + <resource> + <directory>target/results</directory> + <filtering>false</filtering> + </resource> + </resources> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> +</project>
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/rcptt.properties b/releng/org.eclipse.papyrus.sysml.rcptt.tests/rcptt.properties similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcptt.tests/rcptt.properties rename to releng/org.eclipse.papyrus.sysml.rcptt.tests/rcptt.properties
diff --git a/releng/org.eclipse.papyrus.sysml.rcptt.tests/src/site/xdoc/index.xml b/releng/org.eclipse.papyrus.sysml.rcptt.tests/src/site/xdoc/index.xml new file mode 100644 index 0000000..60ad685 --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.rcptt.tests/src/site/xdoc/index.xml
@@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> +<document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd"> + + <properties> + <title>SysML - Developer</title> + </properties> + + <body> + <section name="RCPTT Test Report"> + <p>Have a look to default rules <a href="./results/org.eclipse.papyrus.sysml.rcptt.tests.html" target="_blank">./results/org.eclipse.papyrus.sysml14.rcptt.tests.html</a></p> + </section> + + <section name="Jacoco Coverage"> + <p>Still an issue to get the Jacoco report.</p> + <p>[INFO] Skipping JaCoCo execution due to missing classes directory:/export/home/flefevre/git/org.eclipse.papyrus-sysml/releng/org.eclipse.papyrus.sysml14.rcptt.tests/target/classes</p> + <p>[INFO] Skipping JaCoCo execution due to missing execution data file:/export/home/flefevre/git/org.eclipse.papyrus-sysml/releng/org.eclipse.papyrus.sysml14.rcptt.tests/target/jacoco-it.exec</p> + </section> + + <section name="RCPTT"> + <subsection name="Return on RCPTT Experience"> + <p>RCPTT is huge technologies. It allows making user interface easily. For instance, you have access to the debug mode, enabling to put break point. Nevertheless you have encountered some difficulties:</p> + <ul> + <li>context cleaning is not working fine</li> + <li>you need to develop extra code to handle for instance to get element not by rank but by name</li> + <li>each time you need to reexecute the whole test before going to the point of interest</li> + <li>there is no available screenshot on menu</li> + <li>you can get error when just label menu has changed</li> + </ul> + </subsection> + <subsection name="TIPS"> + <p>Open the windows preference of RCP Testing Tool. You can get the runner argument. Perhaps usefull to decalre in the pom.xml maven files?</p> + <source>-testOptions reportingIncludePassedWaitDetails=false;contextRunnableTimeout=179998;diagramPartLocatorTextSupport=false</source> + </subsection> + </section> + + </body> + +</document> \ No newline at end of file
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/suites/TS-AA-ini.suite b/releng/org.eclipse.papyrus.sysml.rcptt.tests/suites/TS-AA-ini.suite similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcptt.tests/suites/TS-AA-ini.suite rename to releng/org.eclipse.papyrus.sysml.rcptt.tests/suites/TS-AA-ini.suite
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/suites/TS-ASimpleCreation.suite b/releng/org.eclipse.papyrus.sysml.rcptt.tests/suites/TS-ASimpleCreation.suite similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcptt.tests/suites/TS-ASimpleCreation.suite rename to releng/org.eclipse.papyrus.sysml.rcptt.tests/suites/TS-ASimpleCreation.suite
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/suites/TS-diagBDD.suite b/releng/org.eclipse.papyrus.sysml.rcptt.tests/suites/TS-diagBDD.suite similarity index 100% rename from releng/org.eclipse.papyrus.sysml14.rcptt.tests/suites/TS-diagBDD.suite rename to releng/org.eclipse.papyrus.sysml.rcptt.tests/suites/TS-diagBDD.suite
diff --git a/releng/org.eclipse.papyrus.sysml.rcptt.tests/testcases/TC-AA-Init.test b/releng/org.eclipse.papyrus.sysml.rcptt.tests/testcases/TC-AA-Init.test new file mode 100644 index 0000000..615437c --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.rcptt.tests/testcases/TC-AA-Init.test
@@ -0,0 +1,54 @@ +--- RCPTT testcase --- +Format-Version: 1.0 +Contexts: _hhG3gN-5EeWCq4DNYCV1CA,__OMy4DeOEeWhvfUs26xJZQ +Element-Name: TC-AA-Init +Element-Type: testcase +Element-Version: 3.0 +External-Reference: +Id: _nt9tcAIKEea4jcKDc5XCuA +Runtime-Version: 2.2.0.201704250859 +Save-Time: 7/7/17 4:31 PM +Testcase-Type: ecl + +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa +Content-Type: text/plain +Entry-Name: .description + +The user has to create a new Papyrus SysML project. +It switch to the perspective Papyrus +It create an IBD with the block1 +We create two additional block 2 and 3, they are referenced as parts of block1. +we add a basic flowpart to block2 +and we create an additional property in block3 that we typed with Block1 + +We check the tree explorer of block1,2,3 with and without the model explorer customisation. +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac +Content-Type: text/ecl +Entry-Name: .content + +//creation of a basic model + + +get-menu "File/New/Project..." | click +with [get-window "New Project"] { + get-tree | select "Papyrus/Papyrus Project" + get-button "Next >" | click +} + +with [get-window "New Papyrus Project"] { + with [get-tree] { + select "Systems Engineering" + get-item -path "Systems Engineering" | check + select "Systems Engineering" + } + get-button "Next >" | click + get-editbox -after [get-label "Project name:"] | set-text Z + get-button "Next >" | click +} +with [get-window "New Papyrus Project" | get-group "Select a Representation Kind:" | get-table] { + select "SysML 1.5 Internal Block Diagram" -column "Representation name" + get-cell 10 0 | check +} +get-window "New Papyrus Project" | get-button Finish | click +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--
diff --git a/releng/org.eclipse.papyrus.sysml.rcptt.tests/testcases/TC-AProjectCreation.test b/releng/org.eclipse.papyrus.sysml.rcptt.tests/testcases/TC-AProjectCreation.test new file mode 100644 index 0000000..47fcde8 --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.rcptt.tests/testcases/TC-AProjectCreation.test
@@ -0,0 +1,347 @@ +--- RCPTT testcase --- +Format-Version: 1.0 +Contexts: _hhG3gN-5EeWCq4DNYCV1CA +Element-Name: TC-AProjectCreation +Element-Type: testcase +Element-Version: 3.0 +External-Reference: http://www.omg.org/spec/SysML/1.4/ +Id: _o7wVwPcTEeWxocwBxVlvGA +Runtime-Version: 2.2.0.201706062317 +Save-Time: 7/10/17 11:03 AM +Testcase-Type: ecl + +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa +Content-Type: text/plain +Entry-Name: .description + +This Testcase test the basic creation of a SysML project. +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac +Content-Type: text/ecl +Entry-Name: .content + +// +// Basic SysML model creation with several screenshots for the user guide +// + +//Step: creation of the sysml project with Papyrus +get-menu "File/New/Project..." | click +get-window "New Project" | get-tree | select "Papyrus/Papyrus Project" +get-window "New Project" | get-tree | get-item "Papyrus/Papyrus Project" | get-property caption + | equals "Papyrus Project" | verify-true + +get-window "New Project" | get-button "Next >" | click +with [get-window "New Papyrus Project"] { + with [get-tree] { + select "Systems Engineering" + get-item -path "Systems Engineering" | check + select "Systems Engineering" + } + + get-object | save-screenshot [full-path "projectcreation-selectsysml14project"] + get-button "Next >" | click + with [get-editbox -after [get-label "Project name:"]] { + set-text MyFirstSysML14Project + } + get-group "Model file name:" | get-editbox | set-text mymodel + get-object | save-screenshot [full-path "projectcreation-projectname"] + get-button "Next >" | click +} + +with [get-window "New Papyrus Project" | maximize | get-group "Select a Representation Kind:"]{ + get-object | save-screenshot [full-path "projectcreation-diagrams"] +} + +with [get-window "New Papyrus Project" | get-group "Select a Representation Kind:" | get-table] { + select "SysML 1.5 Block Definition Diagram" -column "Representation name" | activate-cell-edit -column 3 + -type MouseClickSelection + get-editbox | set-text 1 + apply-cell-edit -deactivate +} +with [get-window "New Papyrus Project" | get-group "Select a Representation Kind:" | get-table] { + select "SysML 1.5 Internal Block Diagram" -column "Representation name" | activate-cell-edit -column 3 + -type MouseClickSelection + get-editbox | set-text 1 + apply-cell-edit -deactivate +} +with [get-window "New Papyrus Project" | get-group "Select a Representation Kind:" | get-table] { + select "SysML 1.5 Requirement Table" -column "Representation name" | activate-cell-edit -column 3 + -type MouseClickSelection + get-editbox | set-text 1 + apply-cell-edit -deactivate +} +get-window "New Papyrus Project" | get-button Finish | click + + +get-menu "Window/Perspective/Open Perspective/Other..." | click +get-window "Open Perspective" | get-table | select "Papyrus \\(default\\)" +get-window "Open Perspective" | get-table | get-item "Papyrus \\(default\\)" | get-property caption | equals "Papyrus \\(default\\)" | verify-true + +with [get-window "Open Perspective"] { + get-object | save-screenshot [full-path "projectcreation-papyrusperspective"] + get-table | select "Papyrus \\(default\\)" + get-button Open | click +} + + +with [get-editor "mymodel.di"] { + get-tab-folder | get-tab-item "SysML 1.5 Block Definition Diagram" | click + get-diagram -index 1 | get-edit-part -name mymodel | mouse-move 655 185 -height 342 -width 656 + with [get-palette | get-palette-entry Block] { + mouse-move 66 1 button1 -height 24 -width 125 + mouse-press 66 1 button1 -height 24 -width 125 + mouse-release 66 1 button1 524288 -height 24 -width 125 + } + with [get-diagram -index 1 | get-edit-part -name mymodel] { + mouse-move 165 103 button1 -height 342 -width 656 + mouse-press 165 103 button1 -height 342 -width 656 + mouse-release 165 103 button1 524288 -height 342 -width 656 + } + with [get-diagram -index 1] { + with [get-edit-part -name mymodel] { + get-edit-part -name Block2 | get-edit-part -text "Block2" | activate-direct-edit + mouse-move 388 166 button1 -height 342 -width 656 + mouse-press 388 166 button1 -height 342 -width 656 + } + commit-direct-edit + get-edit-part -name mymodel | mouse-move 644 195 -height 342 -width 656 + } +} + +//open the model explorer +get-view "Model Explorer" | get-tree | get-item "mymodel/«Block» Block2" | click +get-editor "mymodel.di" | get-diagram -index 1 | get-edit-part -name mymodel | mouse-move 103 19 -height 342 + -width 656 + +with [get-editor "mymodel.di"] { + get-diagram -index 1 | get-edit-part -name mymodel | mouse-move 60 339 -height 342 -width 656 + get-tab-folder | get-tab-item "SysML 1.5 Internal Block Diagram" | click + with [get-diagram -index 1 | get-edit-part -name Block1] { + mouse-move 81 291 -height 342 -width 656 + with [get-edit-part -name Block1] { + mouse-press 78 12 button1 -height 250 -width 500 + mouse-release 78 12 button1 524288 -height 250 -width 500 + } + } +} + +with [get-editor "mymodel.di" | get-diagram -index 1 | get-edit-part -name Block1] { + mouse-move 338 305 -height 342 -width 656 + mouse-move 2 167 -height 342 -width 656 + mouse-move 4 453 -height 486 -width 656 +} + +with [get-editor "mymodel.di" | get-diagram -index 1 | get-edit-part -name Block1] { + drag-enter 3 306 -detail move + with [get-edit-part -name Block1] { + drag-over 7 224 -detail copy + get-edit-part -className ClassCompositeCompartmentEditPart | get-figure "1/0" | drag-over 84 75 -detail copy + } + drag-exit + get-edit-part -name Block1 | get-edit-part -className ClassCompositeCompartmentEditPart | get-figure "1/0" + | drag-accept 84 75 -detail copy +} +get-view "Model Explorer" | get-tree | drag-set-data +get-editor "mymodel.di" | get-diagram -index 1 | get-edit-part -name Block1 | get-edit-part -name Block1 + | get-edit-part -className ClassCompositeCompartmentEditPart | get-figure "1/0" | drop 84 75 -detail copy +get-view "Model Explorer" | get-tree | drag-end -detail copy +with [get-editor "mymodel.di"] { + get-diagram -index 1 | get-edit-part -name Block1 | mouse-move 653 258 -height 486 -width 656 + with [get-palette] { + with [get-palette-entry Part] { + mouse-move 49 15 button1 -height 24 -width 125 + mouse-press 49 15 button1 -height 24 -width 125 + mouse-release 49 15 button1 524288 -height 24 -width 125 + } + } + with [get-diagram -index 1 | get-edit-part -name Block1 | get-edit-part -name Block1 | get-edit-part + -className ClassCompositeCompartmentEditPart] { + mouse-move 367 91 button1 -height 215 -width 500 + mouse-press 367 91 button1 -height 215 -width 500 + mouse-release 367 91 button1 524288 -height 215 -width 500 + } +} +get-window -class CreateOrSelectBlockPropertyTypeDialog | get-button OK | click +with [get-editor "mymodel.di" | get-diagram -index 1 | get-edit-part -name Block1] { + mouse-move 300 366 button1 -height 486 -width 656 + mouse-press 300 366 button1 -height 486 -width 656 + mouse-release 300 366 button1 524288 -height 486 -width 656 + mouse-move 536 290 -height 486 -width 656 + with [get-edit-part -name Block1] { + mouse-move 491 247 -height 250 -width 500 + mouse-hover 491 247 -height 250 -width 500 + } +} + +with [get-editor "mymodel.di"] { + get-diagram -index 1 | get-edit-part -name Block1 | mouse-move 616 130 -height 342 -width 662 + with [get-palette] { + with [get-palette-entry Port] { + mouse-move 54 15 button1 -height 24 -width 125 + mouse-press 54 15 button1 -height 24 -width 125 + mouse-release 54 15 button1 524288 -height 24 -width 125 + mouse-hover 54 15 -height 24 -width 125 + } + } + with [get-diagram -index 1 | get-edit-part -name Block1 | get-edit-part -name Block1 | get-edit-part + -className ClassCompositeCompartmentEditPart] { + mouse-move 196 93 -height 215 -width 500 + with [get-edit-part -name "Attribute1" ] { + mouse-move 146 13 button1 -height 40 -width 149 + mouse-press 146 13 button1 -height 40 -width 149 + mouse-hover 146 13 -mask 524288 -height 40 -width 149 + mouse-release 146 13 button1 524288 -height 40 -width 149 + } + } + with [get-diagram -index 1 | get-edit-part -name Block1] { + with [get-edit-part -name Block1 | get-edit-part -className ClassCompositeCompartmentEditPart] { + with [get-edit-part -name "Attribute1" | get-edit-part -name Port1] { + mouse-move 9 10 button1 -height 20 -width 20 + mouse-press 9 10 button1 -height 20 -width 20 + mouse-move 9 11 -mask 524288 -height 20 -width 20 + } + mouse-drag 203 116 button1 524288 -height 215 -width 500 + mouse-release 203 116 button1 524288 -height 215 -width 500 + } + mouse-move 647 95 -height 342 -width 656 + } + with [get-palette] { + with [get-palette-entry Port] { + mouse-move 55 8 button1 -height 24 -width 125 + mouse-press 55 8 button1 -height 24 -width 125 + mouse-release 55 8 button1 524288 -height 24 -width 125 + mouse-hover 55 8 -height 24 -width 125 + } + } + with [get-diagram -index 1 | get-edit-part -name Block1 | get-edit-part -name Block1 | get-edit-part + -className ClassCompositeCompartmentEditPart] { + mouse-move 377 89 -height 215 -width 500 + with [get-edit-part -name Attribute1] { + mouse-move 8 3 -height 40 -width 171 + mouse-hover 8 3 -height 40 -width 171 + mouse-move 8 3 button1 -height 40 -width 171 + mouse-press 8 3 button1 -height 40 -width 171 + mouse-release 8 3 button1 524288 -height 40 -width 171 + } + } + with [get-diagram -index 1 | get-edit-part -name Block1] { + with [get-edit-part -name Block1] { + with [get-edit-part -className ClassCompositeCompartmentEditPart] { + mouse-move 290 53 -height 215 -width 500 + mouse-hover 290 53 -height 215 -width 500 + mouse-move 290 53 button1 -height 215 -width 500 + mouse-press 290 53 button1 -height 215 -width 500 + mouse-release 290 53 button1 524288 -height 215 -width 500 + mouse-move 200 84 -height 215 -width 500 + with [get-edit-part -name "Attribute1"] { + mouse-move 56 4 button1 -height 40 -width 149 + mouse-press 56 4 button1 -height 40 -width 149 + mouse-hover 54 4 -height 40 -width 149 + mouse-release 56 4 button1 524288 -height 40 -width 149 + mouse-move 54 4 button1 -height 40 -width 149 + mouse-press 54 4 button1 -height 40 -width 149 + mouse-hover 48 1 -mask 524288 -height 40 -width 149 + mouse-move 48 1 -mask 524288 -height 40 -width 149 + } + mouse-drag 65 31 button1 524288 -height 215 -width 500 + mouse-release 65 31 button1 524288 -height 215 -width 500 + mouse-move 70 33 -height 215 -width 500 + mouse-hover 70 33 -height 215 -width 500 + with [get-edit-part -name "Attribute1"] { + mouse-move 24 9 button1 -height 40 -width 149 + mouse-press 24 9 button1 -height 40 -width 149 + } + mouse-move 45 34 -mask 524288 -height 215 -width 500 + } + mouse-drag 35 54 button1 524288 -height 250 -width 500 + mouse-release 35 54 button1 524288 -height 250 -width 500 + get-edit-part -className ClassCompositeCompartmentEditPart | get-edit-part -name "Attribute1" | mouse-hover 24 9 + -height 40 -width 149 + } + mouse-move 5 123 -height 342 -width 656 + } + with [get-palette] { + with [get-palette-entry Connector] { + mouse-move 72 11 button1 -height 24 -width 125 + mouse-press 72 11 button1 -height 24 -width 125 + mouse-release 72 11 button1 524288 -height 24 -width 125 + mouse-hover 72 11 -height 24 -width 125 + } + } + with [get-diagram -index 1 | get-edit-part -name Block1 | get-edit-part -name Block1 | get-edit-part + -className ClassCompositeCompartmentEditPart] { + mouse-move 170 31 -height 215 -width 500 + with [get-edit-part -name "Attribute1"] { + get-edit-part -name Port1 | mouse-move 13 6 -height 20 -width 20 + with [get-handle ResizeHandle -index 1] { + mouse-move 2 5 button1 -height 7 -width 7 + mouse-press 2 5 button1 -height 7 -width 7 + } + get-edit-part -name Port1 | mouse-move 7 8 -mask 524288 -height 20 -width 20 + } + with [get-edit-part -name Attribute1 | get-edit-part -name Port1] { + mouse-drag 10 12 button1 524288 -height 20 -width 20 + mouse-release 10 12 button1 524288 -height 20 -width 20 + mouse-hover 10 12 -height 20 -width 20 + mouse-press 10 12 button1 -height 20 -width 20 + } + } + /* + with [get-diagram -index 1] { + with [get-edit-part -name Block1 | get-edit-part -name Block1 | get-edit-part + -className ClassCompositeCompartmentEditPart] { + get-edit-part -name Attribute1 | get-edit-part -name Port1 | mouse-release 10 12 button1 524288 -height 20 + -width 20 + mouse-move 254 70 -height 215 -width 500 + with [get-edit-part -name Attribute1 | get-edit-part -name Port1 | get-target-connection 0] { + mouse-move 107 45 button1 -height 107 -width 182 + mouse-press 107 45 button1 -height 107 -width 182 + mouse-move 106 44 -mask 524288 -height 107 -width 182 + } + } + mouse-drag 298 147 -mask 524288 -height 342 -width 656 + with [get-edit-part -name Block1] { + with [get-edit-part -name Block1 | get-edit-part -className ClassCompositeCompartmentEditPart + | get-edit-part -name Attribute1 | get-edit-part -name Port1 | get-target-connection 0 + | get-handle BendpointMoveHandleEx] { + mouse-drag 6 3 button1 524288 -height 7 -width 7 + mouse-release 6 3 button1 524288 -height 7 -width 7 + } + mouse-move 13 176 -height 342 -width 656 + } + } + */ +} + +//Add a requirement +with [get-editor "mymodel.di"] { + with [get-diagram -index 1 | get-edit-part -name Block1] { + mouse-move 594 106 button1 -height 342 -width 656 + mouse-press 594 106 button1 -height 342 -width 656 + mouse-release 594 106 button1 524288 -height 342 -width 656 + mouse-hover 594 106 -height 342 -width 656 + mouse-move 554 102 -height 342 -width 656 + mouse-hover 554 102 -height 342 -width 656 + mouse-move 556 102 -height 342 -width 656 + mouse-hover 556 102 -height 342 -width 656 + get-edit-part -name Block1 | mouse-move 490 113 -height 250 -width 500 + mouse-move 478 341 -height 342 -width 656 + } + get-tab-folder | get-tab-item "SysML 1.5 Requirement Table" | click +} +with [get-view "Model Explorer" | get-tree] { + get-item mymodel | click + select mymodel | get-menu "SysML 1.5 Child/Requirement" | click +} +with [get-view Properties] { + get-editbox -after [get-label Name] | click-text 13 + get-property-tab "SysML 1.5" | click + get-editbox -after [get-label Id] | set-text "Req-01" + get-editbox -after [get-label Name] | click-text 13 + get-editbox -after [get-label Text] | set-text "My requirement." + get-editbox -after [get-label Id] | click-text 7 +} +get-button "Save All (M1+M2+S)" | click +get-view Properties | get-editbox -after [get-label Id] | set-focus + +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--
diff --git a/releng/org.eclipse.papyrus.sysml.rcptt.tests/testcases/diagBDD/TC-BDD-DataType.test b/releng/org.eclipse.papyrus.sysml.rcptt.tests/testcases/diagBDD/TC-BDD-DataType.test new file mode 100644 index 0000000..603e075 --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.rcptt.tests/testcases/diagBDD/TC-BDD-DataType.test
@@ -0,0 +1,94 @@ +--- RCPTT testcase --- +Format-Version: 1.0 +Contexts: _NgU18FuEEeW-3_YCbqET-w,_R91GkFuFEeW-3_YCbqET-w +Element-Name: TC-BDD-DataType +Element-Type: testcase +Element-Version: 3.0 +External-Reference: @pap.req org.eclipse.papyrus.sysml.14.diagram.blockdefinition#Req004.003 +Id: _0orXwMAcEeW0gtwz0jrrzQ +Runtime-Version: 2.2.0.201704250859 +Save-Time: 7/24/17 3:29 PM +Tags: ignore +Testcase-Type: ecl + +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa +Content-Type: text/plain +Entry-Name: .description + +@pap.req org.eclipse.papyrus.sysml.14.diagram.blockdefinition#Req004.003 +SysMLApp should be able to create a ValueType from the model explorer and drag it to the BDD. +SysMLApp should be able to create from the palette a ValueType into a BDD. +A ValueType in a BDD should be able to display the operations compartment. +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac +Content-Type: text/ecl +Entry-Name: .content + +//Creation from the model explorer +with [get-view "Model Explorer" | get-tree] { + get-item "BddRoot/SysML 1.5 Block Definition" | click + select "BddRoot/SysML 1.5 Block Definition" | double-click + get-item "BddRoot/SysML 1.5 Block Definition" | click + get-item BddRoot | click + select BddRoot | get-menu "SysML 1.5 Child/ValueType" | click + get-item "BddRoot/«ValueType» ValueType1" | drag-start 24 13 + get-item BddRoot | drag-enter 140 11 -detail move + get-item BddRoot | drag-exit +} +with [get-editor "bddModel.di" | get-diagram -index 1 | get-edit-part -name BddRoot] { + drag-enter 7 266 -detail move + drag-over 128 109 -detail copy + drag-exit + drag-accept 128 109 -detail copy +} +get-view "Model Explorer" | get-tree | drag-set-data +get-editor "bddModel.di" | get-diagram -index 1 | get-edit-part -name BddRoot | drop 128 109 -detail copy +get-view "Model Explorer" | get-tree | drag-end -detail copy +//End of creation from the model explorer + +//Creation from the Palette +with [get-editor "bddModel.di"] { + get-diagram -index 1 | get-edit-part -name BddRoot | mouse-move 645 235 -height 342 -width 656 + with [get-palette] { + with [get-palette-entry ValueType] { + mouse-move 55 10 button1 -height 24 -width 125 + mouse-press 55 10 button1 -height 24 -width 125 + mouse-release 55 10 button1 524288 -height 24 -width 125 + mouse-hover 55 8 -height 24 -width 125 + mouse-move 66 15 -height 24 -width 125 + mouse-hover 66 15 -height 24 -width 125 + } + } + with [get-diagram -index 1 | get-edit-part -name BddRoot] { + mouse-move 399 73 button1 -height 342 -width 656 + mouse-press 399 73 button1 -height 342 -width 656 + mouse-release 399 73 button1 524288 -height 342 -width 656 + } + with [get-diagram -index 1] { + with [get-edit-part -name BddRoot] { + get-edit-part -name ValueType2 | get-edit-part -text ValueType2 | activate-direct-edit + mouse-move 652 37 -height 342 -width 656 + } + commit-direct-edit + } +} +//End Of Creation of the Palette + +/* +//Test rendering +with [get-editor "bddModel.di" | get-diagram -index 1 | get-edit-part -name BddRoot | get-edit-part -name ValueType1] { + get-property text | equals "«DataType»«ValueType»ValueType1" | verify-true + get-property className | equals "org.eclipse.papyrus.uml.diagram.clazz.edit.parts.DataTypeEditPart" | verify-true + get-property "getChildren().DataTypeOperationCompartmentEditPart[3].getCompartmentName()" | equals operations + | verify-true +} +*/ +with [get-editor "bddModel.di" | get-diagram -index 1 | get-edit-part -name BddRoot | get-edit-part -name ValueType2] { + get-property text | equals "«DataType»«ValueType»ValueType2" | verify-true + get-property className | equals "org.eclipse.papyrus.uml.diagram.clazz.edit.parts.DataTypeEditPart" | verify-true + get-property "getChildren().DataTypeOperationCompartmentEditPart[3].getCompartmentName()" | equals operations + | verify-true +} + +get-view "Model Explorer" | get-tree | select "BddRoot/SysML 1.5 Block Definition" +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--
diff --git a/releng/org.eclipse.papyrus.sysml.rcptt.tests/testcases/diagBDD/TC-BDD-OpenDiagram.test b/releng/org.eclipse.papyrus.sysml.rcptt.tests/testcases/diagBDD/TC-BDD-OpenDiagram.test new file mode 100644 index 0000000..b387cfd --- /dev/null +++ b/releng/org.eclipse.papyrus.sysml.rcptt.tests/testcases/diagBDD/TC-BDD-OpenDiagram.test
@@ -0,0 +1,28 @@ +--- RCPTT testcase --- +Format-Version: 1.0 +Contexts: _NgU18FuEEeW-3_YCbqET-w,__OMy4DeOEeWhvfUs26xJZQ,_open +Element-Name: TC-BDD-OpenDiagram +Element-Type: testcase +Element-Version: 3.0 +External-Reference: @pap.req org.eclipse.papyrus.sysml.14.diagram.blockdefinition#Req004.003 +Id: _IQBykMp1EeWAx_az5F4k2Q +Runtime-Version: 2.1.0.201606221726 +Save-Time: 11/14/16 3:12 PM +Testcase-Type: ecl + +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa +Content-Type: text/plain +Entry-Name: .description + +@pap.req org.eclipse.papyrus.sysml.14.diagram.blockdefinition#Req004.003 +SysMLApp should be able to create a ValueType from the model explorer and drag it to the BDD. +SysMLApp should be able to create from the palette a ValueType into a BDD. +A ValueType in a BDD should be able to display the operations compartment. +------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac +Content-Type: text/ecl +Entry-Name: .content + +open -project "BDDProject" -model "bddModel" -rootName "BddRoot" -diagramName "Diagram SysML 1.5 Block Definition" + +------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--
diff --git a/releng/org.eclipse.papyrus.sysml14.feature/.project b/releng/org.eclipse.papyrus.sysml14.feature/.project deleted file mode 100755 index 11f4cc6..0000000 --- a/releng/org.eclipse.papyrus.sysml14.feature/.project +++ /dev/null
@@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.feature</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.pde.FeatureBuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.FeatureNature</nature> - </natures> -</projectDescription>
diff --git a/releng/org.eclipse.papyrus.sysml14.feature/feature.properties b/releng/org.eclipse.papyrus.sysml14.feature/feature.properties deleted file mode 100755 index ca0dd3c..0000000 --- a/releng/org.eclipse.papyrus.sysml14.feature/feature.properties +++ /dev/null
@@ -1,138 +0,0 @@ -# NLS_MESSAGEFORMAT_VAR - -# "featureName" property - name of the feature -featureName=Papyrus SysML 1.4 Feature - -# "providerName" property - name of the company that provides the feature -providerName=Eclipse Modeling Project - -# "licenseURL" property - URL of the "Feature License" -# do not translate value - just change to point to a locale-specific HTML page -licenseURL=license.html - -# "license" property - text of the "Feature Update License" -# should be plain text version of license agreement pointed to be "licenseURL" -license=\ -Eclipse Foundation Software User Agreement\n\ -April 9, 2014\n\ -\n\ -Usage Of Content\n\ -\n\ -THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ -OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ -USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ -AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ -NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ -AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ -AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ -OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ -TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ -OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ -BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ -\n\ -Applicable Licenses\n\ -\n\ -Unless otherwise indicated, all Content made available by the\n\ -Eclipse Foundation is provided to you under the terms and conditions of\n\ -the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ -provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ -For purposes of the EPL, "Program" will mean the Content.\n\ -\n\ -Content includes, but is not limited to, source code, object code,\n\ -documentation and other files maintained in the Eclipse Foundation source code\n\ -repository ("Repository") in software modules ("Modules") and made available\n\ -as downloadable archives ("Downloads").\n\ -\n\ -\t- Content may be structured and packaged into modules to facilitate delivering,\n\ -\t extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ -\t plug-in fragments ("Fragments"), and features ("Features").\n\ -\t- Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ -\t in a directory named "plugins".\n\ -\t- A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ -\t Each Feature may be packaged as a sub-directory in a directory named "features".\n\ -\t Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ -\t numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ -\t- Features may also include other Features ("Included Features"). Within a Feature, files\n\ -\t named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ -\n\ -The terms and conditions governing Plug-ins and Fragments should be\n\ -contained in files named "about.html" ("Abouts"). The terms and\n\ -conditions governing Features and Included Features should be contained\n\ -in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ -Licenses may be located in any directory of a Download or Module\n\ -including, but not limited to the following locations:\n\ -\n\ -\t- The top-level (root) directory\n\ -\t- Plug-in and Fragment directories\n\ -\t- Inside Plug-ins and Fragments packaged as JARs\n\ -\t- Sub-directories of the directory named "src" of certain Plug-ins\n\ -\t- Feature directories\n\ -\n\ -Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ -Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ -Update License") during the installation process. If the Feature contains\n\ -Included Features, the Feature Update License should either provide you\n\ -with the terms and conditions governing the Included Features or inform\n\ -you where you can locate them. Feature Update Licenses may be found in\n\ -the "license" property of files named "feature.properties" found within a Feature.\n\ -Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ -terms and conditions (or references to such terms and conditions) that\n\ -govern your use of the associated Content in that directory.\n\ -\n\ -THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ -TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ -SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ -\n\ -\t- Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html)\n\ -\t- Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ -\t- Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ -\t- Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ -\t- Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ -\n\ -IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ -TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ -is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ -govern that particular Content.\n\ -\n\ -\n\Use of Provisioning Technology\n\ -\n\ -The Eclipse Foundation makes available provisioning software, examples of which include,\n\ -but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ -the purpose of allowing users to install software, documentation, information and/or\n\ -other materials (collectively "Installable Software"). This capability is provided with\n\ -the intent of allowing such users to install, extend and update Eclipse-based products.\n\ -Information about packaging Installable Software is available at\n\ -http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ -\n\ -You may use Provisioning Technology to allow other parties to install Installable Software.\n\ -You shall be responsible for enabling the applicable license agreements relating to the\n\ -Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ -in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ -making it available in accordance with the Specification, you further acknowledge your\n\ -agreement to, and the acquisition of all necessary rights to permit the following:\n\ -\n\ -\t1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ -\t the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ -\t extending or updating the functionality of an Eclipse-based product.\n\ -\t2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ -\t Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ -\t3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ -\t govern the use of the Installable Software ("Installable Software Agreement") and such\n\ -\t Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ -\t with the Specification. Such Installable Software Agreement must inform the user of the\n\ -\t terms and conditions that govern the Installable Software and must solicit acceptance by\n\ -\t the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ -\t indication of agreement by the user, the provisioning Technology will complete installation\n\ -\t of the Installable Software.\n\ -\n\ -Cryptography\n\ -\n\ -Content may contain encryption software. The country in which you are\n\ -currently may have restrictions on the import, possession, and use,\n\ -and/or re-export to another country, of encryption software. BEFORE\n\ -using any encryption software, please check the country's laws,\n\ -regulations and policies concerning the import, possession, or use, and\n\ -re-export of encryption software, to see if this is permitted.\n\ -\n\ -Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n -########### end of license property ##########################################
diff --git a/releng/org.eclipse.papyrus.sysml14.feature/feature.xml b/releng/org.eclipse.papyrus.sysml14.feature/feature.xml deleted file mode 100644 index 0a53d13..0000000 --- a/releng/org.eclipse.papyrus.sysml14.feature/feature.xml +++ /dev/null
@@ -1,135 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<feature - id="org.eclipse.papyrus.sysml14.feature" - label="%featureName" - version="1.2.0.qualifier" - provider-name="%providerName" - plugin="org.eclipse.papyrus.sysml14.ui"> - - <description url="https://eclipse.org/papyrus/"> - This feature enables to create, manage, validate SysML 1.4 models. It contains diagram bundles (BDD, IBD, PAR, REQ), tables bundles and also all user interface elements. - </description> - - <copyright url="http://www.eclipse.org/legal/epl-v10.html"> - Copyright (c) 2015 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 - </copyright> - - <license url="%licenseURL"> - %license - </license> - - <requires> - <import feature="org.eclipse.papyrus.sdk.feature" version="3.0.0" match="compatible"/> - </requires> - - <plugin - id="org.eclipse.papyrus.sysml14" - download-size="0" - install-size="0" - version="0.0.0" - unpack="false"/> - - <plugin - id="org.eclipse.papyrus.sysml14.ui" - download-size="0" - install-size="0" - version="0.0.0" - unpack="false"/> - - <plugin - id="org.eclipse.papyrus.sysml14.diagram.common" - download-size="0" - install-size="0" - version="0.0.0" - unpack="false"/> - - <plugin - id="org.eclipse.papyrus.sysml14.diagram.blockdefinition" - download-size="0" - install-size="0" - version="0.0.0" - unpack="false"/> - - <plugin - id="org.eclipse.papyrus.sysml14.diagram.internalblock" - download-size="0" - install-size="0" - version="0.0.0" - unpack="false"/> - - <plugin - id="org.eclipse.papyrus.sysml14.diagram.parametric" - download-size="0" - install-size="0" - version="0.0.0" - unpack="false"/> - - <plugin - id="org.eclipse.papyrus.sysml14.diagram.requirement" - download-size="0" - install-size="0" - version="0.0.0" - unpack="false"/> - - <plugin - id="org.eclipse.papyrus.sysml14.edit" - download-size="0" - install-size="0" - version="0.0.0" - unpack="false"/> - - <plugin - id="org.eclipse.papyrus.sysml14.service.types" - download-size="0" - install-size="0" - version="0.0.0" - unpack="false"/> - - <plugin - id="org.eclipse.papyrus.sysml14.validation" - download-size="0" - install-size="0" - version="0.0.0" - unpack="false"/> - - <plugin - id="org.eclipse.papyrus.sysml14.nattable.allocation" - download-size="0" - install-size="0" - version="0.0.0" - unpack="false"/> - - <plugin - id="org.eclipse.papyrus.sysml14.nattable.common" - download-size="0" - install-size="0" - version="0.0.0" - unpack="false"/> - - <plugin - id="org.eclipse.papyrus.sysml14.nattable.requirement" - download-size="0" - install-size="0" - version="0.0.0" - unpack="false"/> - - <plugin - id="org.eclipse.papyrus.sysml14.nattable.ui" - download-size="0" - install-size="0" - version="0.0.0" - unpack="false"/> - - <plugin - id="org.eclipse.papyrus.sysml14.architecture" - download-size="0" - install-size="0" - version="0.0.0" - unpack="false"/> - -</feature>
diff --git a/releng/org.eclipse.papyrus.sysml14.feature/pom.xml b/releng/org.eclipse.papyrus.sysml14.feature/pom.xml deleted file mode 100644 index 7bcbbb2..0000000 --- a/releng/org.eclipse.papyrus.sysml14.feature/pom.xml +++ /dev/null
@@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" -xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.eclipse.papyrus.sysml</groupId> - <artifactId>org.eclipse.papyrus.sysml14.releng</artifactId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.feature</artifactId> - <packaging>eclipse-feature</packaging> - <name>org.eclipse.papyrus.sysml14.feature</name> - <description>This plugin gather all SysML 1.4 plugins to define a fully functionnal DSML editor.</description> -</project> \ No newline at end of file
diff --git a/releng/org.eclipse.papyrus.sysml14.p2/.project b/releng/org.eclipse.papyrus.sysml14.p2/.project deleted file mode 100644 index b430948..0000000 --- a/releng/org.eclipse.papyrus.sysml14.p2/.project +++ /dev/null
@@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.p2</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - </natures> -</projectDescription>
diff --git a/releng/org.eclipse.papyrus.sysml14.p2/category.xml b/releng/org.eclipse.papyrus.sysml14.p2/category.xml deleted file mode 100644 index 322b2e4..0000000 --- a/releng/org.eclipse.papyrus.sysml14.p2/category.xml +++ /dev/null
@@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<site> - <feature url="features/org.eclipse.papyrus.sysml14.feature_1.2.0.qualifier.jar" id="org.eclipse.papyrus.sysml14.feature" version="1.2.0.qualifier"> - <category name="org.eclipse.papyrus.category"/> - </feature> - <feature url="features/org.eclipse.papyrus.sysml14.feature.source_1.2.0.qualifier.jar" id="org.eclipse.papyrus.sysml14.feature.source" version="1.2.0.qualifier"> - <category name="org.eclipse.papyrus.category"/> - </feature> - <category-def name="org.eclipse.papyrus.category" label="Papyrus SysML Category"> - <description> - Papyrus SysML Category - </description> - </category-def> - <repository-reference location="http://download.eclipse.org/modeling/mdt/papyrus/updates/releases/oxygen/" enabled="true" /> -</site>
diff --git a/releng/org.eclipse.papyrus.sysml14.p2/pom.xml b/releng/org.eclipse.papyrus.sysml14.p2/pom.xml deleted file mode 100644 index c40310c..0000000 --- a/releng/org.eclipse.papyrus.sysml14.p2/pom.xml +++ /dev/null
@@ -1,63 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.eclipse.papyrus.sysml</groupId> - <artifactId>org.eclipse.papyrus.sysml14.releng</artifactId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.p2</artifactId> - <packaging>eclipse-repository</packaging> - - <build> - <plugins> - <plugin> - <!-- https://github.com/jbosstools/jbosstools-maven-plugins/wiki --> - <groupId>org.jboss.tools.tycho-plugins</groupId> - <artifactId>repository-utils</artifactId> - <executions> - <execution> - <id>generate-facade</id> - <phase>package</phase> - <goals> - <goal>generate-repository-facade</goal> - </goals> - <configuration> - <symbols> - <update.site.name>SysML 1.4</update.site.name> - <update.site.description>Use this URL in Eclipse to install SysML 1.4</update.site.description> - <update.site.version>${project.version}</update.site.version> - <project.website>https://www.eclipse.org/papyrus/components/sysml</project.website> - <project.issues>${project.issueManagement.url}</project.issues> - <eclipse.target>${eclipse.targetrelease}</eclipse.target> - <update.site.nightly>https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-oxygen/ws/releng/org.eclipse.papyrus.sysml14.p2/target/repository/</update.site.nightly> - </symbols> - <associateSites> - <site>http://download.eclipse.org/modeling/mdt/papyrus/updates/releases/oxygen</site> - </associateSites> - <siteTemplateFolder>siteTemplate</siteTemplateFolder> - <p2StatsUrl>http://download.eclipse.org/stats</p2StatsUrl> - </configuration> - </execution> - </executions> - <dependencies> - <dependency> - <groupId>org.eclipse.tycho</groupId> - <artifactId>tycho-packaging-plugin</artifactId> - <version>${tycho-version}</version> - </dependency> - </dependencies> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-deploy-plugin</artifactId> - <configuration> - <skip>true</skip> - </configuration> - </plugin> - </plugins> - </build> - <name>org.eclipse.papyrus.sysml14.p2</name> - <description>This plugin defines the update site of SysML 1.4 plugins and feature.</description> -</project> \ No newline at end of file
diff --git a/releng/org.eclipse.papyrus.sysml14.p2/siteTemplate/index.html b/releng/org.eclipse.papyrus.sysml14.p2/siteTemplate/index.html deleted file mode 100644 index 42e33f7..0000000 --- a/releng/org.eclipse.papyrus.sysml14.p2/siteTemplate/index.html +++ /dev/null
@@ -1,113 +0,0 @@ -<html> -<head> -<title>${update.site.name} Update Site: ${update.site.version}</title> -<link rel="stylesheet" type="text/css" href="web/site.css"> -</head> -<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0"> -<center> -<table cellspacing="0" cellpadding="0" class="table"> - <tr> - <td colspan="3" class="td_header"> </td> - </tr> - <tr> - <td>      </td> - <td>      </td> - <td>      </td> - </tr> - <tr> - <td>      </td> - <td> - <h2 class="title">${update.site.name} Update Site</h2> - <table width="100%"> - <tr class="header"> - <td class="sub-header" width="100%"><span>Latest Build: ${update.site.version}</span></td> - </tr> - - <tr class="light-row" style="height: 30px"> - <td class="bodyText"> - <p class="bodyText">This is the <b>${update.site.description}</b> - Update Site for ${update.site.name}. - <blockquote style="border: 1px dashed #1778be; padding: 2px"> - <ol> - <li>To install - from this site, start up Eclipse ${eclipse.target}, then do: - <ul> - <code><strong>Help > Install New Software... ></strong></code> - </ul> - </li> - <li>Copy this site's URL into Eclipse, and hit Enter.</li> - <li>When the site loads, select the features to install, - or click the <code><strong>Select All</strong></code> button.</li> - <li>To properly resolve all dependencies, check - <ul><code><strong>[x] Contact all update sites during install to find required software</strong></code></ul> - - <li>Click <code><strong>Next</strong></code>, agree to the license - terms, and install.</li> - - <p class="bodyText"> - You can also download SysML 1.4 as individual zips for - offline installation. See <a class="link" - href="../downloads/${update.site.version}/rcps/">SysML 1.4 product - Downloads</a>.<br /> - </p> - </ol> - </blockquote> - </td> - </tr> - </table> - </td> - <td>      </td> - </tr> - <tr> - <td></td> - <td> - ${site.contents} - </td> - <td></td> - </tr> - <tr> - <td></td> - <td> - <table width="100%"> - <tr class="header"> - <td class="sub-header" width="100%"><span> More informations</span></td> - </tr> - <tr class="light-row" style="height: 30px"> - <td class="bodyText"> - <h4>Documentation</h4> - <p class="bodyText">You can check here the web site <a href="${project.website}">documentation</a>.</p> - <br /> - - </td> - </tr> - - <tr class="dark-row" style="height: 30px"> - <td class="bodyText"> - <h4>Report issues</h4> - - <p>We'd greatly - appreciate the assistance in testing and <a - href="${project.issues}">reporting of - issues in our issue tracker</a>.</p><br/> - - </td> - </tr> - - <tr class="light-row" style="height: 30px"> - <td class="bodyText"> - <h4>Nightly Builds</h4> - - <p>The <a - href="${update.site.nightly}">bleeding - edge</a> contains the latest and greatest new features, but nothing is - stable or guaranteed - yet. If you're using a Milestone and need a - fix, you can update to the latest Nightly, or wait for the next - Milestone.</p><br/> - </td> - </tr> - </table> - </td> - </tr> -</table> -</center> -</html>
diff --git a/releng/org.eclipse.papyrus.sysml14.product/.project b/releng/org.eclipse.papyrus.sysml14.product/.project deleted file mode 100644 index e04f321..0000000 --- a/releng/org.eclipse.papyrus.sysml14.product/.project +++ /dev/null
@@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.product</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - </natures> -</projectDescription>
diff --git a/releng/org.eclipse.papyrus.sysml14.product/category.xml b/releng/org.eclipse.papyrus.sysml14.product/category.xml deleted file mode 100644 index 5ab2468..0000000 --- a/releng/org.eclipse.papyrus.sysml14.product/category.xml +++ /dev/null
@@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<site> - <feature url="features/org.eclipse.papyrus.sysml14.feature_1.2.0.qualifier.jar" id="org.eclipse.papyrus.sysml14.feature" version="1.2.0.qualifier"/> -</site>
diff --git a/releng/org.eclipse.papyrus.sysml14.product/papyrusSysml.product b/releng/org.eclipse.papyrus.sysml14.product/papyrusSysml.product deleted file mode 100644 index 29530c5..0000000 --- a/releng/org.eclipse.papyrus.sysml14.product/papyrusSysml.product +++ /dev/null
@@ -1,231 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?pde version="3.5"?> - -<product name="Papyrus SysML 1.4" uid="org.eclipse.papyrus.sysml14.product" id="org.eclipse.papyrus.sysml14.rcp.product" application="org.eclipse.ui.ide.workbench" version="1.2.0.qualifier" useFeatures="true" includeLaunchers="true"> - - <aboutInfo> - <image path="/org.eclipse.papyrus.sysml14.rcp/icons/papyrus_lg.png"/> - <text> - Papyrus SysML 1.4 - -(c) Copyright Eclipse contributors and others 2000, 2017. All rights reserved. -Visit http://www.eclipse.org/platform - -This product includes software developed by the -Apache Software Foundation http://www.apache.org/ - </text> - </aboutInfo> - - <configIni use="default"> - </configIni> - - <launcherArgs> - <programArgs>-showsplash org.eclipse.papyrus.sysml14.rcp --launcher.XXMaxPermSize 256m - </programArgs> - <vmArgs>-Xms256m -Xmx1024m -XX:MaxPermSize=256m - </vmArgs> - <vmArgsMac>-Xdock:icon=../Resources/papyrus.icns -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts - </vmArgsMac> - </launcherArgs> - - <windowImages i16="/org.eclipse.papyrus.sysml14.rcp/icons/papyrus16.png" i32="/org.eclipse.papyrus.sysml14.rcp/icons/papyrus32.png" i48="/org.eclipse.papyrus.sysml14.rcp/icons/papyrus48.png" i64="/org.eclipse.papyrus.sysml14.rcp/icons/papyrus64.png" i128="/org.eclipse.papyrus.sysml14.rcp/icons/papyrus128.png"/> - - <splash - location="org.eclipse.papyrus.sysml14.rcp" - startupProgressRect="0,330,460,20" - startupMessageRect="7,4,445,16" - startupForegroundColor="9C9E9F" /> - <launcher name="papyrusSysML"> - <linux icon="../org.eclipse.papyrus.sysml14.rcp/icons/icon.xpm"/> - <macosx icon="../org.eclipse.papyrus.sysml14.rcp/icons/papyrus.icns"/> - <win useIco="true"> - <ico path="../org.eclipse.papyrus.sysml14.rcp/icons/papyrus.ico"/> - <bmp/> - </win> - </launcher> - - <vm> - <windows include="false">org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8</windows> - </vm> - - <license> - <url>http://eclipse.org/legal/epl/notice.php</url> - <text> - Eclipse Foundation Software User Agreement -February 1, 2011 - -Usage Of Content - -THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR -OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT"). -USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS -AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR -NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU -AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT -AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS -OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE -TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS -OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED -BELOW, THEN YOU MAY NOT USE THE CONTENT. - -Applicable Licenses - -Unless otherwise indicated, all Content made available by the -Eclipse Foundation is provided to you under the terms and conditions of -the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is -provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, "Program" will mean the Content. - -Content includes, but is not limited to, source code, object code, -documentation and other files maintained in the Eclipse Foundation source code -repository ("Repository") in software modules ("Modules") and made available -as downloadable archives ("Downloads"). - - - Content may be structured and packaged into modules to facilitate delivering, - extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), - plug-in fragments ("Fragments"), and features ("Features"). - - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive) - in a directory named "plugins". - - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. - Each Feature may be packaged as a sub-directory in a directory named "features". - Within a Feature, files named "feature.xml" may contain a list of the names and version - numbers of the Plug-ins and/or Fragments associated with that Feature. - - Features may also include other Features ("Included Features"). Within a Feature, files - named "feature.xml" may contain a list of the names and version numbers of Included Features. - -The terms and conditions governing Plug-ins and Fragments should be -contained in files named "about.html" ("Abouts"). The terms and -conditions governing Features and Included Features should be contained -in files named "license.html" ("Feature Licenses"). Abouts and Feature -Licenses may be located in any directory of a Download or Module -including, but not limited to the following locations: - - - The top-level (root) directory - - Plug-in and Fragment directories - - Inside Plug-ins and Fragments packaged as JARs - - Sub-directories of the directory named "src" of certain Plug-ins - - Feature directories - -Note: if a Feature made available by the Eclipse Foundation is installed using the -Provisioning Technology (as defined below), you must agree to a license ("Feature -Update License") during the installation process. If the Feature contains -Included Features, the Feature Update License should either provide you -with the terms and conditions governing the Included Features or inform -you where you can locate them. Feature Update Licenses may be found in -the "license" property of files named "feature.properties" found within a Feature. -Such Abouts, Feature Licenses, and Feature Update Licenses contain the -terms and conditions (or references to such terms and conditions) that -govern your use of the associated Content in that directory. - -THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER -TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. -SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO): - - - Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html) - - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html) - - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE) - - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0) - - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html) - - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html) - -IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR -TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License -is provided, please contact the Eclipse Foundation to determine what terms and conditions -govern that particular Content. - -Use of Provisioning Technology - -The Eclipse Foundation makes available provisioning software, examples of which include, -but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for -the purpose of allowing users to install software, documentation, information and/or -other materials (collectively "Installable Software"). This capability is provided with -the intent of allowing such users to install, extend and update Eclipse-based products. -Information about packaging Installable Software is available at -http://eclipse.org/equinox/p2/repository_packaging.html ("Specification"). - -You may use Provisioning Technology to allow other parties to install Installable Software. -You shall be responsible for enabling the applicable license agreements relating to the -Installable Software to be presented to, and accepted by, the users of the Provisioning Technology -in accordance with the Specification. By using Provisioning Technology in such a manner and -making it available in accordance with the Specification, you further acknowledge your -agreement to, and the acquisition of all necessary rights to permit the following: - - 1. A series of actions may occur ("Provisioning Process") in which a user may execute - the Provisioning Technology on a machine ("Target Machine") with the intent of installing, - extending or updating the functionality of an Eclipse-based product. - 2. During the Provisioning Process, the Provisioning Technology may cause third party - Installable Software or a portion thereof to be accessed and copied to the Target Machine. - 3. Pursuant to the Specification, you will provide to the user the terms and conditions that - govern the use of the Installable Software ("Installable Software Agreement") and such - Installable Software Agreement shall be accessed from the Target Machine in accordance - with the Specification. Such Installable Software Agreement must inform the user of the - terms and conditions that govern the Installable Software and must solicit acceptance by - the end user in the manner prescribed in such Installable Software Agreement. Upon such - indication of agreement by the user, the provisioning Technology will complete installation - of the Installable Software. - -Cryptography - -Content may contain encryption software. The country in which you are -currently may have restrictions on the import, possession, and use, -and/or re-export to another country, of encryption software. BEFORE -using any encryption software, please check the country's laws, -regulations and policies concerning the import, possession, or use, and -re-export of encryption software, to see if this is permitted. - -Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both. - </text> - </license> - - <plugins> - </plugins> - - <features> - <feature id="org.eclipse.platform"/> - <feature id="org.eclipse.rcp"/> - <feature id="org.eclipse.equinox.p2.user.ui"/> - <feature id="org.eclipse.ecf.filetransfer.httpclient4.feature"/> - <feature id="org.eclipse.help"/> - <feature id="org.eclipse.equinox.p2.core.feature"/> - <feature id="org.eclipse.ecf.core.ssl.feature"/> - <feature id="org.eclipse.ecf.filetransfer.ssl.feature"/> - <feature id="org.eclipse.equinox.p2.rcp.feature"/> - <feature id="org.eclipse.ecf.filetransfer.feature"/> - <feature id="org.eclipse.ecf.filetransfer.httpclient4.ssl.feature"/> - <feature id="org.eclipse.emf.common"/> - <feature id="org.eclipse.emf.ecore"/> - <feature id="org.eclipse.equinox.p2.extras.feature"/> - <feature id="org.eclipse.ecf.core.feature"/> - <feature id="org.eclipse.e4.rcp"/> - <feature id="org.eclipse.papyrus.sysml14.feature"/> - <feature id="org.eclipse.papyrus.sysml14.rcp.feature"/> - <feature id="org.eclipse.papyrus.sdk.feature" /> - </features> - - <configurations> - <plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="4" /> - <plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="2" /> - <plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="2" /> - <plugin id="org.eclipse.equinox.event" autoStart="true" startLevel="2" /> - <plugin id="org.eclipse.equinox.p2.reconciler.dropins" autoStart="true" startLevel="4" /> - <plugin id="org.eclipse.equinox.simpleconfigurator" autoStart="true" startLevel="1" /> - <plugin id="org.eclipse.update.configurator" autoStart="true" startLevel="3" /> - <property name="org.eclipse.update.reconcile" value="false" /> - <property name="osgi.bundles.defaultStartLevel" value="4" /> - <property name="osgi.instance.area.default" value="@user.home/workspace-papyrus-sysml" /> - <property name="osgi.requiredJavaVersion" value="1.8" /> - </configurations> - - <repositories> - <repository location="http://download.eclipse.org/modeling/mdt/papyrus/components/sysml14/" enabled="true" /> - <repository location="http://download.eclipse.org/modeling/mdt/papyrus/updates/releases/oxygen" enabled="true" /> - </repositories> - - <preferencesInfo> - <targetfile overwrite="true"/> - </preferencesInfo> - - <cssInfo> - </cssInfo> - -</product>
diff --git a/releng/org.eclipse.papyrus.sysml14.product/pom.xml b/releng/org.eclipse.papyrus.sysml14.product/pom.xml deleted file mode 100644 index ac67369..0000000 --- a/releng/org.eclipse.papyrus.sysml14.product/pom.xml +++ /dev/null
@@ -1,66 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.eclipse.papyrus.sysml</groupId> - <artifactId>org.eclipse.papyrus.sysml14.releng</artifactId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.product</artifactId> - <packaging>eclipse-repository</packaging> - <properties> - <product-id>org.eclipse.papyrus.sysml14.product</product-id> - </properties> - <build> - <plugins> - <plugin> - <groupId>org.eclipse.tycho</groupId> - <artifactId>tycho-p2-repository-plugin</artifactId> - <configuration> - <includeAllDependencies>true</includeAllDependencies> - </configuration> - </plugin> - <plugin> - <groupId>org.eclipse.tycho</groupId> - <artifactId>tycho-p2-director-plugin</artifactId> - <configuration> - <profile>org.eclipse.papyrus.sysml</profile> - <formats> - <linux>zip</linux> - <macosx>tar.gz</macosx> - </formats> - <products> - <product> - <id>${product-id}</id> - <rootFolder>papyrusSysML1.4</rootFolder> - </product> - </products> - </configuration> - <executions> - <execution> - <id>materialize-products</id> - <goals> - <goal>materialize-products</goal> - </goals> - </execution> - <execution> - <id>archive-products</id> - <goals> - <goal>archive-products</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-deploy-plugin</artifactId> - <configuration> - <skip>true</skip> - </configuration> - </plugin> - </plugins> - </build> - <name>org.eclipse.papyrus.sysml14.product</name> - <description>This plugins defines the product used in the RCP SysML 1.4.</description> -</project> \ No newline at end of file
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp.feature/.project b/releng/org.eclipse.papyrus.sysml14.rcp.feature/.project deleted file mode 100644 index 717222b..0000000 --- a/releng/org.eclipse.papyrus.sysml14.rcp.feature/.project +++ /dev/null
@@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.rcp.feature</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.FeatureBuilder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.FeatureNature</nature> - </natures> -</projectDescription>
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp.feature/feature.properties b/releng/org.eclipse.papyrus.sysml14.rcp.feature/feature.properties deleted file mode 100755 index bab36db..0000000 --- a/releng/org.eclipse.papyrus.sysml14.rcp.feature/feature.properties +++ /dev/null
@@ -1,138 +0,0 @@ -# NLS_MESSAGEFORMAT_VAR - -# "featureName" property - name of the feature -featureName=Papyrus SysML 1.4 RCP Feature - -# "providerName" property - name of the company that provides the feature -providerName=Eclipse Modeling Project - -# "licenseURL" property - URL of the "Feature License" -# do not translate value - just change to point to a locale-specific HTML page -licenseURL=license.html - -# "license" property - text of the "Feature Update License" -# should be plain text version of license agreement pointed to be "licenseURL" -license=\ -Eclipse Foundation Software User Agreement\n\ -April 9, 2014\n\ -\n\ -Usage Of Content\n\ -\n\ -THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\ -OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\ -USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\ -AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\ -NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\ -AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\ -AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\ -OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\ -TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\ -OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\ -BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\ -\n\ -Applicable Licenses\n\ -\n\ -Unless otherwise indicated, all Content made available by the\n\ -Eclipse Foundation is provided to you under the terms and conditions of\n\ -the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\ -provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\ -For purposes of the EPL, "Program" will mean the Content.\n\ -\n\ -Content includes, but is not limited to, source code, object code,\n\ -documentation and other files maintained in the Eclipse Foundation source code\n\ -repository ("Repository") in software modules ("Modules") and made available\n\ -as downloadable archives ("Downloads").\n\ -\n\ -\t- Content may be structured and packaged into modules to facilitate delivering,\n\ -\t extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\ -\t plug-in fragments ("Fragments"), and features ("Features").\n\ -\t- Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\ -\t in a directory named "plugins".\n\ -\t- A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\ -\t Each Feature may be packaged as a sub-directory in a directory named "features".\n\ -\t Within a Feature, files named "feature.xml" may contain a list of the names and version\n\ -\t numbers of the Plug-ins and/or Fragments associated with that Feature.\n\ -\t- Features may also include other Features ("Included Features"). Within a Feature, files\n\ -\t named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\ -\n\ -The terms and conditions governing Plug-ins and Fragments should be\n\ -contained in files named "about.html" ("Abouts"). The terms and\n\ -conditions governing Features and Included Features should be contained\n\ -in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\ -Licenses may be located in any directory of a Download or Module\n\ -including, but not limited to the following locations:\n\ -\n\ -\t- The top-level (root) directory\n\ -\t- Plug-in and Fragment directories\n\ -\t- Inside Plug-ins and Fragments packaged as JARs\n\ -\t- Sub-directories of the directory named "src" of certain Plug-ins\n\ -\t- Feature directories\n\ -\n\ -Note: if a Feature made available by the Eclipse Foundation is installed using the\n\ -Provisioning Technology (as defined below), you must agree to a license ("Feature \n\ -Update License") during the installation process. If the Feature contains\n\ -Included Features, the Feature Update License should either provide you\n\ -with the terms and conditions governing the Included Features or inform\n\ -you where you can locate them. Feature Update Licenses may be found in\n\ -the "license" property of files named "feature.properties" found within a Feature.\n\ -Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\ -terms and conditions (or references to such terms and conditions) that\n\ -govern your use of the associated Content in that directory.\n\ -\n\ -THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\ -TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\ -SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\ -\n\ -\t- Eclipse Distribution License Version 1.0 (available at http://www.eclipse.org/licenses/edl-v1.0.html)\n\ -\t- Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\ -\t- Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\ -\t- Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\ -\t- Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\ -\n\ -IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\ -TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\ -is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\ -govern that particular Content.\n\ -\n\ -\n\Use of Provisioning Technology\n\ -\n\ -The Eclipse Foundation makes available provisioning software, examples of which include,\n\ -but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\ -the purpose of allowing users to install software, documentation, information and/or\n\ -other materials (collectively "Installable Software"). This capability is provided with\n\ -the intent of allowing such users to install, extend and update Eclipse-based products.\n\ -Information about packaging Installable Software is available at\n\ -http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\ -\n\ -You may use Provisioning Technology to allow other parties to install Installable Software.\n\ -You shall be responsible for enabling the applicable license agreements relating to the\n\ -Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\ -in accordance with the Specification. By using Provisioning Technology in such a manner and\n\ -making it available in accordance with the Specification, you further acknowledge your\n\ -agreement to, and the acquisition of all necessary rights to permit the following:\n\ -\n\ -\t1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\ -\t the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\ -\t extending or updating the functionality of an Eclipse-based product.\n\ -\t2. During the Provisioning Process, the Provisioning Technology may cause third party\n\ -\t Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\ -\t3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\ -\t govern the use of the Installable Software ("Installable Software Agreement") and such\n\ -\t Installable Software Agreement shall be accessed from the Target Machine in accordance\n\ -\t with the Specification. Such Installable Software Agreement must inform the user of the\n\ -\t terms and conditions that govern the Installable Software and must solicit acceptance by\n\ -\t the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\ -\t indication of agreement by the user, the provisioning Technology will complete installation\n\ -\t of the Installable Software.\n\ -\n\ -Cryptography\n\ -\n\ -Content may contain encryption software. The country in which you are\n\ -currently may have restrictions on the import, possession, and use,\n\ -and/or re-export to another country, of encryption software. BEFORE\n\ -using any encryption software, please check the country's laws,\n\ -regulations and policies concerning the import, possession, or use, and\n\ -re-export of encryption software, to see if this is permitted.\n\ -\n\ -Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n -########### end of license property ##########################################
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp.feature/feature.xml b/releng/org.eclipse.papyrus.sysml14.rcp.feature/feature.xml deleted file mode 100644 index 336a7da..0000000 --- a/releng/org.eclipse.papyrus.sysml14.rcp.feature/feature.xml +++ /dev/null
@@ -1,32 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<feature - id="org.eclipse.papyrus.sysml14.rcp.feature" - label="%featureName" - version="1.2.0.qualifier" - provider-name="%providerName"> - - <description url="https://eclipse.org/papyrus/"> - This feature defines the Rich Client Platform dedicated to SysML 1.4 - </description> - - <copyright url="http://www.eclipse.org/legal/epl-v10.html"> - Copyright (c) 2015 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 - </copyright> - - <license url="%licenseURL"> - %license - </license> - - <plugin - id="org.eclipse.papyrus.sysml14.rcp" - download-size="0" - install-size="0" - version="0.0.0" - unpack="false"/> - -</feature>
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp.feature/pom.xml b/releng/org.eclipse.papyrus.sysml14.rcp.feature/pom.xml deleted file mode 100644 index ed8763d..0000000 --- a/releng/org.eclipse.papyrus.sysml14.rcp.feature/pom.xml +++ /dev/null
@@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" -xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.eclipse.papyrus.sysml</groupId> - <artifactId>org.eclipse.papyrus.sysml14.releng</artifactId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.rcp.feature</artifactId> - <packaging>eclipse-feature</packaging> - <name>org.eclipse.papyrus.sysml14.rcp.feature</name> - <description>This plugin packages the rcp in a feature to be used as it in the SysML 1.4 product.</description> -</project> \ No newline at end of file
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp/.project b/releng/org.eclipse.papyrus.sysml14.rcp/.project deleted file mode 100644 index 376d578..0000000 --- a/releng/org.eclipse.papyrus.sysml14.rcp/.project +++ /dev/null
@@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.rcp</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> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription>
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp/META-INF/MANIFEST.MF b/releng/org.eclipse.papyrus.sysml14.rcp/META-INF/MANIFEST.MF deleted file mode 100644 index 683ea98..0000000 --- a/releng/org.eclipse.papyrus.sysml14.rcp/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,12 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %Bundle-Name -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.rcp;singleton:=true -Bundle-Version: 1.2.0.qualifier -Bundle-Vendor: %Bundle-Vendor -Bundle-Description: %Bundle-Description -Bundle-ActivationPolicy: lazy -Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Require-Bundle: org.eclipse.e4.ui.css.swt.theme;bundle-version="[0.10.0,1.0.0)" -Eclipse-BundleShape: dir
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp/plugin.properties b/releng/org.eclipse.papyrus.sysml14.rcp/plugin.properties deleted file mode 100644 index e2ea935..0000000 --- a/releng/org.eclipse.papyrus.sysml14.rcp/plugin.properties +++ /dev/null
@@ -1,13 +0,0 @@ -################################################################################ -# Copyright (c) 2008 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: -# CEA LIST - initial API and implementation -################################################################################ -Bundle-Name=Papyrus Sysml 1.4 RCP -Bundle-Vendor=Eclipse Modeling Project -Bundle-Description=This plug-in contains the information to build the SysML 1.4 Rcp
diff --git a/releng/org.eclipse.papyrus.sysml14.rcp/pom.xml b/releng/org.eclipse.papyrus.sysml14.rcp/pom.xml deleted file mode 100644 index ea5aa6b..0000000 --- a/releng/org.eclipse.papyrus.sysml14.rcp/pom.xml +++ /dev/null
@@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.eclipse.papyrus.sysml</groupId> - <artifactId>org.eclipse.papyrus.sysml14.releng</artifactId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.rcp</artifactId> - <packaging>eclipse-plugin</packaging> - <name>org.eclipse.papyrus.sysml14.rcp</name> - <description>This plugins defines the Rich Client Platform for SysML 1.4 application.</description> -</project> \ No newline at end of file
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/.project b/releng/org.eclipse.papyrus.sysml14.rcptt.tests/.project deleted file mode 100644 index 8ebcf29..0000000 --- a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/.project +++ /dev/null
@@ -1,36 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.rcptt.tests</name> - <comment></comment> - <projects> - <project>org.eclipse.papyrus.sysml14.rcptt.tests</project> - <project>org.eclipse.papyrus.tools.rcptt</project> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.rcptt.core.builder.q7Builder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.rcptt.core.rcpttnature</nature> - </natures> - <filteredResources> - <filter> - <id>1445342303104</id> - <name></name> - <type>14</type> - <matcher> - <id>org.eclipse.ui.ide.multiFilter</id> - <arguments>1.0-name-matches-false-false-target</arguments> - </matcher> - </filter> - </filteredResources> -</projectDescription>
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/contexts/name_parameters.ctx b/releng/org.eclipse.papyrus.sysml14.rcptt.tests/contexts/name_parameters.ctx deleted file mode 100644 index 717a6cf..0000000 --- a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/contexts/name_parameters.ctx +++ /dev/null
@@ -1,25 +0,0 @@ ---- RCPTT testcase --- -Format-Version: 1.0 -Context-Type: org.eclipse.rcptt.ctx.parameters -Element-Name: name_parameters -Element-Type: context -Element-Version: 2.0 -Id: _hhG3gN-5EeWCq4DNYCV1CA -Runtime-Version: 2.0.0.201506120617 -Save-Time: 3/1/16 3:32 PM - -------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa -Content-Type: text/plain -Entry-Name: .description - -List Here all the keys that are use in SysML 1.4 UI -------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- -------=_.parameters.context-2e023de5-3294-36a9-ac1d-6701f05a40ee -Content-Type: text/properties -Entry-Name: .parameters.context - -#Tue Mar 01 15:32:32 CET 2016 -SysML1.4NewChildEdgesMenu=SysML 1.4 Relationship -SysML1.4NewChildNodeMenu=SysML 1.4 Child - -------=_.parameters.context-2e023de5-3294-36a9-ac1d-6701f05a40ee--
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/pom.xml b/releng/org.eclipse.papyrus.sysml14.rcptt.tests/pom.xml deleted file mode 100755 index a3ce9f0..0000000 --- a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/pom.xml +++ /dev/null
@@ -1,67 +0,0 @@ -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.eclipse.papyrus.sysml</groupId> - <artifactId>org.eclipse.papyrus.sysml14.releng</artifactId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.rcptt.tests</artifactId> - <packaging>rcpttTest</packaging> - - <name>org.eclipse.papyrus.sysml14.rcptt.tests</name> - <description>This plugin declare the functional tests based on Eclipse RCPTT for the SysML 1.4 application.</description> - - <dependencies> - <dependency> - <groupId>org.eclipse.papyrus.tools</groupId> - <artifactId>org.eclipse.papyrus.tools.rcptt</artifactId> - <type>rcpttTest</type> - </dependency> - </dependencies> - - <build> - <plugins> - <plugin> - <groupId>org.eclipse.rcptt</groupId> - <artifactId>rcptt-maven-plugin</artifactId> - <extensions>true</extensions> - </plugin> - </plugins> - </build> - <profiles> - <profile> - <id>documentation</id> - <activation> - <activeByDefault>false</activeByDefault> - </activation> - <build> - <plugins> - <!--use to copy to site the rcptt reports --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-resources-plugin</artifactId> - <executions> - <execution> - <id>copy-resources</id> - <phase>site</phase> - <goals> - <goal>copy-resources</goal> - </goals> - <configuration> - <outputDirectory>${basedir}/target/site/results</outputDirectory> - <resources> - <resource> - <directory>target/results</directory> - <filtering>false</filtering> - </resource> - </resources> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - </profiles> -</project>
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/src/site/xdoc/index.xml b/releng/org.eclipse.papyrus.sysml14.rcptt.tests/src/site/xdoc/index.xml deleted file mode 100644 index 2d1342c..0000000 --- a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/src/site/xdoc/index.xml +++ /dev/null
@@ -1,39 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<document xmlns="http://maven.apache.org/XDOC/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd"> - - <properties> - <title>SysML - Developer</title> - </properties> - - <body> - <section name="RCPTT Test Report"> - <p>Have a look to default rules <a href="./results/org.eclipse.papyrus.sysml14.rcptt.tests.html" target="_blank">./results/org.eclipse.papyrus.sysml14.rcptt.tests.html</a></p> - </section> - - <section name="Jacoco Coverage"> - <p>Still an issue to get the Jacoco report.</p> - <p>[INFO] Skipping JaCoCo execution due to missing classes directory:/export/home/flefevre/git/org.eclipse.papyrus-sysml/releng/org.eclipse.papyrus.sysml14.rcptt.tests/target/classes</p> - <p>[INFO] Skipping JaCoCo execution due to missing execution data file:/export/home/flefevre/git/org.eclipse.papyrus-sysml/releng/org.eclipse.papyrus.sysml14.rcptt.tests/target/jacoco-it.exec</p> - </section> - - <section name="RCPTT"> - <subsection name="Return on RCPTT Experience"> - <p>RCPTT is huge technologies. It allows making user interface easily. For instance, you have access to the debug mode, enabling to put break point. Nevertheless you have encountered some difficulties:</p> - <ul> - <li>context cleaning is not working fine</li> - <li>you need to develop extra code to handle for instance to get element not by rank but by name</li> - <li>each time you need to reexecute the whole test before going to the point of interest</li> - <li>there is no available screenshot on menu</li> - <li>you can get error when just label menu has changed</li> - </ul> - </subsection> - <subsection name="TIPS"> - <p>Open the windows preference of RCP Testing Tool. You can get the runner argument. Perhaps usefull to decalre in the pom.xml maven files?</p> - <source>-testOptions reportingIncludePassedWaitDetails=false;contextRunnableTimeout=179998;diagramPartLocatorTextSupport=false</source> - </subsection> - </section> - - </body> - -</document> \ No newline at end of file
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/TC-AA-Init.test b/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/TC-AA-Init.test deleted file mode 100644 index 834d604..0000000 --- a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/TC-AA-Init.test +++ /dev/null
@@ -1,54 +0,0 @@ ---- RCPTT testcase --- -Format-Version: 1.0 -Contexts: _hhG3gN-5EeWCq4DNYCV1CA,__OMy4DeOEeWhvfUs26xJZQ -Element-Name: TC-AA-Init -Element-Type: testcase -Element-Version: 3.0 -External-Reference: -Id: _nt9tcAIKEea4jcKDc5XCuA -Runtime-Version: 2.2.0.201704250859 -Save-Time: 7/7/17 4:31 PM -Testcase-Type: ecl - -------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa -Content-Type: text/plain -Entry-Name: .description - -The user has to create a new papyrus SysML 1.4 project. -It switch to the perspective papyrus -It create an IBD with the block1 -We create two additional block 2 and 3, they are referenced as parts of block1. -we add a basic flowpart to block2 -and we create an additional property in block3 that we typed with Block1 - -We check the tree explorer of block1,2,3 with and without the model explorer customisation. -------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- -------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac -Content-Type: text/ecl -Entry-Name: .content - -//creation of a basic model - - -get-menu "File/New/Project..." | click -with [get-window "New Project"] { - get-tree | select "Papyrus/Papyrus Project" - get-button "Next >" | click -} - -with [get-window "New Papyrus Project"] { - with [get-tree] { - select "Systems Engineering" - get-item -path "Systems Engineering" | check - select "Systems Engineering" - } - get-button "Next >" | click - get-editbox -after [get-label "Project name:"] | set-text Z - get-button "Next >" | click -} -with [get-window "New Papyrus Project" | get-group "Select a Representation Kind:" | get-table] { - select "SysML 1.4 Internal Block Diagram" -column "Representation name" - get-cell 10 0 | check -} -get-window "New Papyrus Project" | get-button Finish | click -------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/TC-AProjectCreation.test b/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/TC-AProjectCreation.test deleted file mode 100644 index 94782e7..0000000 --- a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/TC-AProjectCreation.test +++ /dev/null
@@ -1,347 +0,0 @@ ---- RCPTT testcase --- -Format-Version: 1.0 -Contexts: _hhG3gN-5EeWCq4DNYCV1CA -Element-Name: TC-AProjectCreation -Element-Type: testcase -Element-Version: 3.0 -External-Reference: http://www.omg.org/spec/SysML/1.4/ -Id: _o7wVwPcTEeWxocwBxVlvGA -Runtime-Version: 2.2.0.201706062317 -Save-Time: 7/10/17 11:03 AM -Testcase-Type: ecl - -------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa -Content-Type: text/plain -Entry-Name: .description - -This testcase test the basic creation of a sysml 1.4 project. -------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- -------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac -Content-Type: text/ecl -Entry-Name: .content - -// -// Basic SysML model creation with several screenshots for the user guide -// - -//Step: creation of the sysml project with Papyrus -get-menu "File/New/Project..." | click -get-window "New Project" | get-tree | select "Papyrus/Papyrus Project" -get-window "New Project" | get-tree | get-item "Papyrus/Papyrus Project" | get-property caption - | equals "Papyrus Project" | verify-true - -get-window "New Project" | get-button "Next >" | click -with [get-window "New Papyrus Project"] { - with [get-tree] { - select "Systems Engineering" - get-item -path "Systems Engineering" | check - select "Systems Engineering" - } - - get-object | save-screenshot [full-path "projectcreation-selectsysml14project"] - get-button "Next >" | click - with [get-editbox -after [get-label "Project name:"]] { - set-text MyFirstSysML14Project - } - get-group "Model file name:" | get-editbox | set-text mymodel - get-object | save-screenshot [full-path "projectcreation-projectname"] - get-button "Next >" | click -} - -with [get-window "New Papyrus Project" | maximize | get-group "Select a Representation Kind:"]{ - get-object | save-screenshot [full-path "projectcreation-diagrams"] -} - -with [get-window "New Papyrus Project" | get-group "Select a Representation Kind:" | get-table] { - select "SysML 1.4 Block Definition Diagram" -column "Representation name" | activate-cell-edit -column 3 - -type MouseClickSelection - get-editbox | set-text 1 - apply-cell-edit -deactivate -} -with [get-window "New Papyrus Project" | get-group "Select a Representation Kind:" | get-table] { - select "SysML 1.4 Internal Block Diagram" -column "Representation name" | activate-cell-edit -column 3 - -type MouseClickSelection - get-editbox | set-text 1 - apply-cell-edit -deactivate -} -with [get-window "New Papyrus Project" | get-group "Select a Representation Kind:" | get-table] { - select "SysML 1.4 Requirement Table" -column "Representation name" | activate-cell-edit -column 3 - -type MouseClickSelection - get-editbox | set-text 1 - apply-cell-edit -deactivate -} -get-window "New Papyrus Project" | get-button Finish | click - - -get-menu "Window/Perspective/Open Perspective/Other..." | click -get-window "Open Perspective" | get-table | select "Papyrus \\(default\\)" -get-window "Open Perspective" | get-table | get-item "Papyrus \\(default\\)" | get-property caption | equals "Papyrus \\(default\\)" | verify-true - -with [get-window "Open Perspective"] { - get-object | save-screenshot [full-path "projectcreation-papyrusperspective"] - get-table | select "Papyrus \\(default\\)" - get-button Open | click -} - - -with [get-editor "mymodel.di"] { - get-tab-folder | get-tab-item "SysML 1.4 Block Definition Diagram" | click - get-diagram -index 1 | get-edit-part -name mymodel | mouse-move 655 185 -height 342 -width 656 - with [get-palette | get-palette-entry Block] { - mouse-move 66 1 button1 -height 24 -width 125 - mouse-press 66 1 button1 -height 24 -width 125 - mouse-release 66 1 button1 524288 -height 24 -width 125 - } - with [get-diagram -index 1 | get-edit-part -name mymodel] { - mouse-move 165 103 button1 -height 342 -width 656 - mouse-press 165 103 button1 -height 342 -width 656 - mouse-release 165 103 button1 524288 -height 342 -width 656 - } - with [get-diagram -index 1] { - with [get-edit-part -name mymodel] { - get-edit-part -name Block2 | get-edit-part -text "Block2" | activate-direct-edit - mouse-move 388 166 button1 -height 342 -width 656 - mouse-press 388 166 button1 -height 342 -width 656 - } - commit-direct-edit - get-edit-part -name mymodel | mouse-move 644 195 -height 342 -width 656 - } -} - -//open the model explorer -get-view "Model Explorer" | get-tree | get-item "mymodel/«Block» Block2" | click -get-editor "mymodel.di" | get-diagram -index 1 | get-edit-part -name mymodel | mouse-move 103 19 -height 342 - -width 656 - -with [get-editor "mymodel.di"] { - get-diagram -index 1 | get-edit-part -name mymodel | mouse-move 60 339 -height 342 -width 656 - get-tab-folder | get-tab-item "SysML 1.4 Internal Block Diagram" | click - with [get-diagram -index 1 | get-edit-part -name Block1] { - mouse-move 81 291 -height 342 -width 656 - with [get-edit-part -name Block1] { - mouse-press 78 12 button1 -height 250 -width 500 - mouse-release 78 12 button1 524288 -height 250 -width 500 - } - } -} - -with [get-editor "mymodel.di" | get-diagram -index 1 | get-edit-part -name Block1] { - mouse-move 338 305 -height 342 -width 656 - mouse-move 2 167 -height 342 -width 656 - mouse-move 4 453 -height 486 -width 656 -} - -with [get-editor "mymodel.di" | get-diagram -index 1 | get-edit-part -name Block1] { - drag-enter 3 306 -detail move - with [get-edit-part -name Block1] { - drag-over 7 224 -detail copy - get-edit-part -className ClassCompositeCompartmentEditPart | get-figure "1/0" | drag-over 84 75 -detail copy - } - drag-exit - get-edit-part -name Block1 | get-edit-part -className ClassCompositeCompartmentEditPart | get-figure "1/0" - | drag-accept 84 75 -detail copy -} -get-view "Model Explorer" | get-tree | drag-set-data -get-editor "mymodel.di" | get-diagram -index 1 | get-edit-part -name Block1 | get-edit-part -name Block1 - | get-edit-part -className ClassCompositeCompartmentEditPart | get-figure "1/0" | drop 84 75 -detail copy -get-view "Model Explorer" | get-tree | drag-end -detail copy -with [get-editor "mymodel.di"] { - get-diagram -index 1 | get-edit-part -name Block1 | mouse-move 653 258 -height 486 -width 656 - with [get-palette] { - with [get-palette-entry Part] { - mouse-move 49 15 button1 -height 24 -width 125 - mouse-press 49 15 button1 -height 24 -width 125 - mouse-release 49 15 button1 524288 -height 24 -width 125 - } - } - with [get-diagram -index 1 | get-edit-part -name Block1 | get-edit-part -name Block1 | get-edit-part - -className ClassCompositeCompartmentEditPart] { - mouse-move 367 91 button1 -height 215 -width 500 - mouse-press 367 91 button1 -height 215 -width 500 - mouse-release 367 91 button1 524288 -height 215 -width 500 - } -} -get-window -class CreateOrSelectBlockPropertyTypeDialog | get-button OK | click -with [get-editor "mymodel.di" | get-diagram -index 1 | get-edit-part -name Block1] { - mouse-move 300 366 button1 -height 486 -width 656 - mouse-press 300 366 button1 -height 486 -width 656 - mouse-release 300 366 button1 524288 -height 486 -width 656 - mouse-move 536 290 -height 486 -width 656 - with [get-edit-part -name Block1] { - mouse-move 491 247 -height 250 -width 500 - mouse-hover 491 247 -height 250 -width 500 - } -} - -with [get-editor "mymodel.di"] { - get-diagram -index 1 | get-edit-part -name Block1 | mouse-move 616 130 -height 342 -width 662 - with [get-palette] { - with [get-palette-entry Port] { - mouse-move 54 15 button1 -height 24 -width 125 - mouse-press 54 15 button1 -height 24 -width 125 - mouse-release 54 15 button1 524288 -height 24 -width 125 - mouse-hover 54 15 -height 24 -width 125 - } - } - with [get-diagram -index 1 | get-edit-part -name Block1 | get-edit-part -name Block1 | get-edit-part - -className ClassCompositeCompartmentEditPart] { - mouse-move 196 93 -height 215 -width 500 - with [get-edit-part -name "Attribute1" ] { - mouse-move 146 13 button1 -height 40 -width 149 - mouse-press 146 13 button1 -height 40 -width 149 - mouse-hover 146 13 -mask 524288 -height 40 -width 149 - mouse-release 146 13 button1 524288 -height 40 -width 149 - } - } - with [get-diagram -index 1 | get-edit-part -name Block1] { - with [get-edit-part -name Block1 | get-edit-part -className ClassCompositeCompartmentEditPart] { - with [get-edit-part -name "Attribute1" | get-edit-part -name Port1] { - mouse-move 9 10 button1 -height 20 -width 20 - mouse-press 9 10 button1 -height 20 -width 20 - mouse-move 9 11 -mask 524288 -height 20 -width 20 - } - mouse-drag 203 116 button1 524288 -height 215 -width 500 - mouse-release 203 116 button1 524288 -height 215 -width 500 - } - mouse-move 647 95 -height 342 -width 656 - } - with [get-palette] { - with [get-palette-entry Port] { - mouse-move 55 8 button1 -height 24 -width 125 - mouse-press 55 8 button1 -height 24 -width 125 - mouse-release 55 8 button1 524288 -height 24 -width 125 - mouse-hover 55 8 -height 24 -width 125 - } - } - with [get-diagram -index 1 | get-edit-part -name Block1 | get-edit-part -name Block1 | get-edit-part - -className ClassCompositeCompartmentEditPart] { - mouse-move 377 89 -height 215 -width 500 - with [get-edit-part -name Attribute1] { - mouse-move 8 3 -height 40 -width 171 - mouse-hover 8 3 -height 40 -width 171 - mouse-move 8 3 button1 -height 40 -width 171 - mouse-press 8 3 button1 -height 40 -width 171 - mouse-release 8 3 button1 524288 -height 40 -width 171 - } - } - with [get-diagram -index 1 | get-edit-part -name Block1] { - with [get-edit-part -name Block1] { - with [get-edit-part -className ClassCompositeCompartmentEditPart] { - mouse-move 290 53 -height 215 -width 500 - mouse-hover 290 53 -height 215 -width 500 - mouse-move 290 53 button1 -height 215 -width 500 - mouse-press 290 53 button1 -height 215 -width 500 - mouse-release 290 53 button1 524288 -height 215 -width 500 - mouse-move 200 84 -height 215 -width 500 - with [get-edit-part -name "Attribute1"] { - mouse-move 56 4 button1 -height 40 -width 149 - mouse-press 56 4 button1 -height 40 -width 149 - mouse-hover 54 4 -height 40 -width 149 - mouse-release 56 4 button1 524288 -height 40 -width 149 - mouse-move 54 4 button1 -height 40 -width 149 - mouse-press 54 4 button1 -height 40 -width 149 - mouse-hover 48 1 -mask 524288 -height 40 -width 149 - mouse-move 48 1 -mask 524288 -height 40 -width 149 - } - mouse-drag 65 31 button1 524288 -height 215 -width 500 - mouse-release 65 31 button1 524288 -height 215 -width 500 - mouse-move 70 33 -height 215 -width 500 - mouse-hover 70 33 -height 215 -width 500 - with [get-edit-part -name "Attribute1"] { - mouse-move 24 9 button1 -height 40 -width 149 - mouse-press 24 9 button1 -height 40 -width 149 - } - mouse-move 45 34 -mask 524288 -height 215 -width 500 - } - mouse-drag 35 54 button1 524288 -height 250 -width 500 - mouse-release 35 54 button1 524288 -height 250 -width 500 - get-edit-part -className ClassCompositeCompartmentEditPart | get-edit-part -name "Attribute1" | mouse-hover 24 9 - -height 40 -width 149 - } - mouse-move 5 123 -height 342 -width 656 - } - with [get-palette] { - with [get-palette-entry Connector] { - mouse-move 72 11 button1 -height 24 -width 125 - mouse-press 72 11 button1 -height 24 -width 125 - mouse-release 72 11 button1 524288 -height 24 -width 125 - mouse-hover 72 11 -height 24 -width 125 - } - } - with [get-diagram -index 1 | get-edit-part -name Block1 | get-edit-part -name Block1 | get-edit-part - -className ClassCompositeCompartmentEditPart] { - mouse-move 170 31 -height 215 -width 500 - with [get-edit-part -name "Attribute1"] { - get-edit-part -name Port1 | mouse-move 13 6 -height 20 -width 20 - with [get-handle ResizeHandle -index 1] { - mouse-move 2 5 button1 -height 7 -width 7 - mouse-press 2 5 button1 -height 7 -width 7 - } - get-edit-part -name Port1 | mouse-move 7 8 -mask 524288 -height 20 -width 20 - } - with [get-edit-part -name Attribute1 | get-edit-part -name Port1] { - mouse-drag 10 12 button1 524288 -height 20 -width 20 - mouse-release 10 12 button1 524288 -height 20 -width 20 - mouse-hover 10 12 -height 20 -width 20 - mouse-press 10 12 button1 -height 20 -width 20 - } - } - /* - with [get-diagram -index 1] { - with [get-edit-part -name Block1 | get-edit-part -name Block1 | get-edit-part - -className ClassCompositeCompartmentEditPart] { - get-edit-part -name Attribute1 | get-edit-part -name Port1 | mouse-release 10 12 button1 524288 -height 20 - -width 20 - mouse-move 254 70 -height 215 -width 500 - with [get-edit-part -name Attribute1 | get-edit-part -name Port1 | get-target-connection 0] { - mouse-move 107 45 button1 -height 107 -width 182 - mouse-press 107 45 button1 -height 107 -width 182 - mouse-move 106 44 -mask 524288 -height 107 -width 182 - } - } - mouse-drag 298 147 -mask 524288 -height 342 -width 656 - with [get-edit-part -name Block1] { - with [get-edit-part -name Block1 | get-edit-part -className ClassCompositeCompartmentEditPart - | get-edit-part -name Attribute1 | get-edit-part -name Port1 | get-target-connection 0 - | get-handle BendpointMoveHandleEx] { - mouse-drag 6 3 button1 524288 -height 7 -width 7 - mouse-release 6 3 button1 524288 -height 7 -width 7 - } - mouse-move 13 176 -height 342 -width 656 - } - } - */ -} - -//Add a requirement -with [get-editor "mymodel.di"] { - with [get-diagram -index 1 | get-edit-part -name Block1] { - mouse-move 594 106 button1 -height 342 -width 656 - mouse-press 594 106 button1 -height 342 -width 656 - mouse-release 594 106 button1 524288 -height 342 -width 656 - mouse-hover 594 106 -height 342 -width 656 - mouse-move 554 102 -height 342 -width 656 - mouse-hover 554 102 -height 342 -width 656 - mouse-move 556 102 -height 342 -width 656 - mouse-hover 556 102 -height 342 -width 656 - get-edit-part -name Block1 | mouse-move 490 113 -height 250 -width 500 - mouse-move 478 341 -height 342 -width 656 - } - get-tab-folder | get-tab-item "SysML 1.4 Requirement Table" | click -} -with [get-view "Model Explorer" | get-tree] { - get-item mymodel | click - select mymodel | get-menu "SysML 1.4 Child/Requirement" | click -} -with [get-view Properties] { - get-editbox -after [get-label Name] | click-text 13 - get-property-tab "SysML 1.4" | click - get-editbox -after [get-label Id] | set-text "Req-01" - get-editbox -after [get-label Name] | click-text 13 - get-editbox -after [get-label Text] | set-text "My requirement." - get-editbox -after [get-label Id] | click-text 7 -} -get-button "Save All (M1+M2+S)" | click -get-view Properties | get-editbox -after [get-label Id] | set-focus - -------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/diagBDD/TC-BDD-DataType.test b/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/diagBDD/TC-BDD-DataType.test deleted file mode 100644 index b858cb0..0000000 --- a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/diagBDD/TC-BDD-DataType.test +++ /dev/null
@@ -1,93 +0,0 @@ ---- RCPTT testcase --- -Format-Version: 1.0 -Contexts: _NgU18FuEEeW-3_YCbqET-w,_R91GkFuFEeW-3_YCbqET-w -Element-Name: TC-BDD-DataType -Element-Type: testcase -Element-Version: 3.0 -External-Reference: @pap.req org.eclipse.papyrus.sysml.14.diagram.blockdefinition#Req004.003 -Id: _0orXwMAcEeW0gtwz0jrrzQ -Runtime-Version: 2.2.0.201704250859 -Save-Time: 7/24/17 3:29 PM -Testcase-Type: ecl - -------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa -Content-Type: text/plain -Entry-Name: .description - -@pap.req org.eclipse.papyrus.sysml.14.diagram.blockdefinition#Req004.003 -SysMLApp should be able to create a ValueType from the model explorer and drag it to the BDD. -SysMLApp should be able to create from the palette a ValueType into a BDD. -A ValueType in a BDD should be able to display the operations compartment. -------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- -------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac -Content-Type: text/ecl -Entry-Name: .content - -//Creation from the model explorer -with [get-view "Model Explorer" | get-tree] { - get-item "BddRoot/SysML 1.4 Block Definition" | click - select "BddRoot/SysML 1.4 Block Definition" | double-click - get-item "BddRoot/SysML 1.4 Block Definition" | click - get-item BddRoot | click - select BddRoot | get-menu "SysML 1.4 Child/ValueType" | click - get-item "BddRoot/«ValueType» ValueType1" | drag-start 24 13 - get-item BddRoot | drag-enter 140 11 -detail move - get-item BddRoot | drag-exit -} -with [get-editor "bddModel.di" | get-diagram -index 1 | get-edit-part -name BddRoot] { - drag-enter 7 266 -detail move - drag-over 128 109 -detail copy - drag-exit - drag-accept 128 109 -detail copy -} -get-view "Model Explorer" | get-tree | drag-set-data -get-editor "bddModel.di" | get-diagram -index 1 | get-edit-part -name BddRoot | drop 128 109 -detail copy -get-view "Model Explorer" | get-tree | drag-end -detail copy -//End of creation from the model explorer - -//Creation from the Palette -with [get-editor "bddModel.di"] { - get-diagram -index 1 | get-edit-part -name BddRoot | mouse-move 645 235 -height 342 -width 656 - with [get-palette] { - with [get-palette-entry ValueType] { - mouse-move 55 10 button1 -height 24 -width 125 - mouse-press 55 10 button1 -height 24 -width 125 - mouse-release 55 10 button1 524288 -height 24 -width 125 - mouse-hover 55 8 -height 24 -width 125 - mouse-move 66 15 -height 24 -width 125 - mouse-hover 66 15 -height 24 -width 125 - } - } - with [get-diagram -index 1 | get-edit-part -name BddRoot] { - mouse-move 399 73 button1 -height 342 -width 656 - mouse-press 399 73 button1 -height 342 -width 656 - mouse-release 399 73 button1 524288 -height 342 -width 656 - } - with [get-diagram -index 1] { - with [get-edit-part -name BddRoot] { - get-edit-part -name ValueType2 | get-edit-part -text ValueType2 | activate-direct-edit - mouse-move 652 37 -height 342 -width 656 - } - commit-direct-edit - } -} -//End Of Creation of the Palette - -/* -//Test rendering -with [get-editor "bddModel.di" | get-diagram -index 1 | get-edit-part -name BddRoot | get-edit-part -name ValueType1] { - get-property text | equals "«DataType»«ValueType»ValueType1" | verify-true - get-property className | equals "org.eclipse.papyrus.uml.diagram.clazz.edit.parts.DataTypeEditPart" | verify-true - get-property "getChildren().DataTypeOperationCompartmentEditPart[3].getCompartmentName()" | equals operations - | verify-true -} -*/ -with [get-editor "bddModel.di" | get-diagram -index 1 | get-edit-part -name BddRoot | get-edit-part -name ValueType2] { - get-property text | equals "«DataType»«ValueType»ValueType2" | verify-true - get-property className | equals "org.eclipse.papyrus.uml.diagram.clazz.edit.parts.DataTypeEditPart" | verify-true - get-property "getChildren().DataTypeOperationCompartmentEditPart[3].getCompartmentName()" | equals operations - | verify-true -} - -get-view "Model Explorer" | get-tree | select "BddRoot/SysML 1.4 Block Definition" -------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--
diff --git a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/diagBDD/TC-BDD-OpenDiagram.test b/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/diagBDD/TC-BDD-OpenDiagram.test deleted file mode 100644 index d725b7e..0000000 --- a/releng/org.eclipse.papyrus.sysml14.rcptt.tests/testcases/diagBDD/TC-BDD-OpenDiagram.test +++ /dev/null
@@ -1,28 +0,0 @@ ---- RCPTT testcase --- -Format-Version: 1.0 -Contexts: _NgU18FuEEeW-3_YCbqET-w,__OMy4DeOEeWhvfUs26xJZQ,_open -Element-Name: TC-BDD-OpenDiagram -Element-Type: testcase -Element-Version: 3.0 -External-Reference: @pap.req org.eclipse.papyrus.sysml.14.diagram.blockdefinition#Req004.003 -Id: _IQBykMp1EeWAx_az5F4k2Q -Runtime-Version: 2.1.0.201606221726 -Save-Time: 11/14/16 3:12 PM -Testcase-Type: ecl - -------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa -Content-Type: text/plain -Entry-Name: .description - -@pap.req org.eclipse.papyrus.sysml.14.diagram.blockdefinition#Req004.003 -SysMLApp should be able to create a ValueType from the model explorer and drag it to the BDD. -SysMLApp should be able to create from the palette a ValueType into a BDD. -A ValueType in a BDD should be able to display the operations compartment. -------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- -------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac -Content-Type: text/ecl -Entry-Name: .content - -open -project "BDDProject" -model "bddModel" -rootName "BddRoot" -diagramName "Diagram SysML 1.4 Block Definition" - -------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--
diff --git a/releng/pom.xml b/releng/pom.xml index ea31131..a3e60cb 100644 --- a/releng/pom.xml +++ b/releng/pom.xml
@@ -4,15 +4,15 @@ <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.eclipse.papyrus.sysml</groupId> - <artifactId>org.eclipse.papyrus.sysml14.parent</artifactId> - <version>1.2.0-SNAPSHOT</version> + <artifactId>org.eclipse.papyrus.sysml.parent</artifactId> + <version>4.0.0-SNAPSHOT</version> </parent> - <artifactId>org.eclipse.papyrus.sysml14.releng</artifactId> + <artifactId>org.eclipse.papyrus.sysml.releng</artifactId> <packaging>pom</packaging> <name>SysML Releng</name> <description>This plug-in contains the different modules relatives to the releng of SysML 1.4 from update site, to feature , product and rcp.</description> <modules> - <module>org.eclipse.papyrus.sysml14.feature</module> + <module>org.eclipse.papyrus.sysml.feature</module> </modules> <profiles> @@ -22,11 +22,11 @@ <activeByDefault>false</activeByDefault> </activation> <modules> - <module>org.eclipse.papyrus.sysml14.p2</module> - <module>org.eclipse.papyrus.sysml14.rcp</module> - <module>org.eclipse.papyrus.sysml14.rcp.feature</module> - <module>org.eclipse.papyrus.sysml14.product</module> - <module>org.eclipse.papyrus.sysml14.rcptt.tests</module> + <module>org.eclipse.papyrus.sysml.p2</module> + <module>org.eclipse.papyrus.sysml.rcp</module> + <module>org.eclipse.papyrus.sysml.rcp.feature</module> + <module>org.eclipse.papyrus.sysml.product</module> + <module>org.eclipse.papyrus.sysml.rcptt.tests</module> </modules> </profile> </profiles>
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/.classpath b/table/org.eclipse.papyrus.sysml.nattable.allocation.tests/.classpath similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/.classpath rename to table/org.eclipse.papyrus.sysml.nattable.allocation.tests/.classpath
diff --git a/table/org.eclipse.papyrus.sysml.nattable.allocation.tests/.project b/table/org.eclipse.papyrus.sysml.nattable.allocation.tests/.project new file mode 100644 index 0000000..a9b6d61 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.allocation.tests/.project
@@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.nattable.allocation.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> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription>
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/.settings/org.eclipse.core.resources.prefs b/table/org.eclipse.papyrus.sysml.nattable.allocation.tests/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/.settings/org.eclipse.core.resources.prefs rename to table/org.eclipse.papyrus.sysml.nattable.allocation.tests/.settings/org.eclipse.core.resources.prefs
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/.settings/org.eclipse.jdt.core.prefs b/table/org.eclipse.papyrus.sysml.nattable.allocation.tests/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/.settings/org.eclipse.jdt.core.prefs rename to table/org.eclipse.papyrus.sysml.nattable.allocation.tests/.settings/org.eclipse.jdt.core.prefs
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/.settings/org.eclipse.jdt.ui.prefs b/table/org.eclipse.papyrus.sysml.nattable.allocation.tests/.settings/org.eclipse.jdt.ui.prefs similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/.settings/org.eclipse.jdt.ui.prefs rename to table/org.eclipse.papyrus.sysml.nattable.allocation.tests/.settings/org.eclipse.jdt.ui.prefs
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/.settings/org.eclipse.m2e.core.prefs b/table/org.eclipse.papyrus.sysml.nattable.allocation.tests/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/.settings/org.eclipse.m2e.core.prefs rename to table/org.eclipse.papyrus.sysml.nattable.allocation.tests/.settings/org.eclipse.m2e.core.prefs
diff --git a/table/org.eclipse.papyrus.sysml.nattable.allocation.tests/META-INF/MANIFEST.MF b/table/org.eclipse.papyrus.sysml.nattable.allocation.tests/META-INF/MANIFEST.MF new file mode 100644 index 0000000..ea22ccd --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.allocation.tests/META-INF/MANIFEST.MF
@@ -0,0 +1,31 @@ +Manifest-Version: 1.0 +Require-Bundle: org.junit;bundle-version="[4.11.0,5.0.0)", + org.eclipse.ocl;bundle-version="[3.5.0,4.0.0)", + org.eclipse.ocl.pivot;bundle-version="[1.0.1,2.0.0)", + org.eclipse.ocl.xtext.essentialocl;bundle-version="[1.0.1,2.0.0)", + org.eclipse.emf.validation.ocl;bundle-version="[1.4.0,2.0.0)", + org.eclipse.ocl.ecore;bundle-version="[3.5.0,4.0.0)", + org.eclipse.papyrus.infra.types.core;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.services.edit;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.clazz;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.communication;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.component;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.composite;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.deployment;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.interactionoverview;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.profile;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.statemachine;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.timing;bundle-version="[1.2.0,2.0.0)", + org.eclipse.papyrus.uml.diagram.usecase;bundle-version="[3.0.0,4.0.0)", + org.eclipse.ocl.xtext.essentialocl.ui;bundle-version="[1.0.0,2.0.0)" +Bundle-Vendor: %Bundle-Vendor +Bundle-ActivationPolicy: lazy +Bundle-Version: 4.0.0.qualifier +Bundle-Name: %Bundle-Name +Bundle-Localization: plugin +Bundle-ManifestVersion: 2 +Fragment-Host: org.eclipse.papyrus.sysml.nattable.allocation;bundle-version="1.0.0" +Bundle-Description: %Bundle-Description +Bundle-SymbolicName: org.eclipse.papyrus.sysml.nattable.allocation.tests +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/about.html b/table/org.eclipse.papyrus.sysml.nattable.allocation.tests/about.html similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/about.html rename to table/org.eclipse.papyrus.sysml.nattable.allocation.tests/about.html
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/build.properties b/table/org.eclipse.papyrus.sysml.nattable.allocation.tests/build.properties similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/build.properties rename to table/org.eclipse.papyrus.sysml.nattable.allocation.tests/build.properties
diff --git a/table/org.eclipse.papyrus.sysml.nattable.allocation.tests/plugin.properties b/table/org.eclipse.papyrus.sysml.nattable.allocation.tests/plugin.properties new file mode 100644 index 0000000..1edd7fd --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.allocation.tests/plugin.properties
@@ -0,0 +1,13 @@ +################################################################################# +# Copyright (c) 2016 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: +# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation +################################################################################## +Bundle-Vendor = Eclipse Modeling Project +Bundle-Name = Papyrus SysML Allocation Table Tests +Bundle-Description = This plugin provides tests for the plugin org.eclipse.papyrus.sysml.nattable.allocation \ No newline at end of file
diff --git a/table/org.eclipse.papyrus.sysml.nattable.allocation.tests/pom.xml b/table/org.eclipse.papyrus.sysml.nattable.allocation.tests/pom.xml new file mode 100644 index 0000000..f9d9eca --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.allocation.tests/pom.xml
@@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.papyrus.sysml</groupId> + <artifactId>org.eclipse.papyrus.sysml.table</artifactId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.nattable.allocation.tests</artifactId> + <packaging>eclipse-test-plugin</packaging> + <description>This plugins enables unit tests on the allocation tables.</description> +</project>
diff --git a/table/org.eclipse.papyrus.sysml.nattable.allocation.tests/src/org/eclipse/papyrus/sysml/nattable/allocation/tests/resources/AllocationNattableTest.java b/table/org.eclipse.papyrus.sysml.nattable.allocation.tests/src/org/eclipse/papyrus/sysml/nattable/allocation/tests/resources/AllocationNattableTest.java new file mode 100644 index 0000000..860d84d --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.allocation.tests/src/org/eclipse/papyrus/sysml/nattable/allocation/tests/resources/AllocationNattableTest.java
@@ -0,0 +1,78 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.nattable.allocation.tests.resources; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.common.util.TreeIterator; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.ecore.util.Diagnostician; +import org.eclipse.papyrus.infra.nattable.model.nattable.nattableaxisconfiguration.PasteEObjectConfiguration; +import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; +import org.eclipse.papyrus.sysml.nattable.allocation.Activator; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; + +/** + * Test the requirement nattable model : + * - validate the model + * + + */ +@SuppressWarnings("nls") +public class AllocationNattableTest { + + public static final String ALLOCATION_NATTABLE_PATH = Activator.PLUGIN_ID + "/resources/allocation.nattableconfiguration"; + + + @Before + public void loadElementTypeRegistry(){ + ElementTypeSetConfigurationRegistry.getInstance(); + } + + /** + * Validate the model with the rules defined in the meta-model tooling + */ + @Test + public void validateAllocationNattableModel() { + URI createPlatformPluginURI = URI.createPlatformPluginURI(ALLOCATION_NATTABLE_PATH, true); + Resource resource = new ResourceSetImpl().getResource(createPlatformPluginURI, true); + Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); + Assert.assertEquals("The allocation nattable model is not valid ", Diagnostic.OK, diagnostic.getSeverity()); + } + + /** + * check that the past configuration use a correct element type id + */ + @Test + public void checkPastedElementId() { + URI createPlatformPluginURI = URI.createPlatformPluginURI(ALLOCATION_NATTABLE_PATH, true); + ResourceSetImpl resourceSetImpl = new ResourceSetImpl(); + Resource resource = resourceSetImpl.getResource(createPlatformPluginURI, true); + TreeIterator<EObject> allContents = resource.getAllContents(); + while (allContents.hasNext()) { + EObject eObject = (EObject) allContents.next(); + if (eObject instanceof PasteEObjectConfiguration) { + PasteEObjectConfiguration pasteEObjectConfiguration = (PasteEObjectConfiguration) eObject; + String elementTypeId = pasteEObjectConfiguration.getPastedElementId(); + Assert.assertTrue("Unregistred element id : " + elementTypeId, SysMLServiceTypeUtil.isKnown(elementTypeId)); + } + } + } + +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.allocation.tests/src/org/eclipse/papyrus/sysml/nattable/allocation/tests/tester/TableAllocationCreationTesterTest.java b/table/org.eclipse.papyrus.sysml.nattable.allocation.tests/src/org/eclipse/papyrus/sysml/nattable/allocation/tests/tester/TableAllocationCreationTesterTest.java new file mode 100755 index 0000000..dbef777 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.allocation.tests/src/org/eclipse/papyrus/sysml/nattable/allocation/tests/tester/TableAllocationCreationTesterTest.java
@@ -0,0 +1,54 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.nattable.allocation.tests.tester; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.papyrus.sysml.nattable.allocation.tester.TableAllocationCreationTester; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.uml2.uml.Model; +import org.junit.Assert; +import org.junit.Test; + +/** + * Test for TableAllocationCreationTester + */ +@SuppressWarnings("nls") +public class TableAllocationCreationTesterTest { + + /** + * The creation isn't allowed on null elements + */ + @Test + public void emptyContextTest() { + TableAllocationCreationTester tableAllocationCreationTester = new TableAllocationCreationTester(); + IStatus allowed = tableAllocationCreationTester.isAllowed(null); + Assert.assertEquals("The tester should not work on a null entry", IStatus.ERROR, allowed.getSeverity()); + } + + /** + * The creation of a Table Allocation is allowed on the root of a SyML model + */ + @Test + public void simpleModelTest() { + TableAllocationCreationTester tableAllocationCreationTester = new TableAllocationCreationTester(); + Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); + IStatus allowed = tableAllocationCreationTester.isAllowed(model); + Assert.assertEquals("The tester work on a model with SyML profil entry", IStatus.OK, allowed.getSeverity()); + } + + + +}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation/.classpath b/table/org.eclipse.papyrus.sysml.nattable.allocation/.classpath similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.allocation/.classpath rename to table/org.eclipse.papyrus.sysml.nattable.allocation/.classpath
diff --git a/table/org.eclipse.papyrus.sysml.nattable.allocation/.project b/table/org.eclipse.papyrus.sysml.nattable.allocation/.project new file mode 100644 index 0000000..38ae538 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.allocation/.project
@@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.nattable.allocation</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> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription>
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation/.settings/org.eclipse.core.resources.prefs b/table/org.eclipse.papyrus.sysml.nattable.allocation/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.allocation/.settings/org.eclipse.core.resources.prefs rename to table/org.eclipse.papyrus.sysml.nattable.allocation/.settings/org.eclipse.core.resources.prefs
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation/.settings/org.eclipse.jdt.core.prefs b/table/org.eclipse.papyrus.sysml.nattable.allocation/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.allocation/.settings/org.eclipse.jdt.core.prefs rename to table/org.eclipse.papyrus.sysml.nattable.allocation/.settings/org.eclipse.jdt.core.prefs
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation/.settings/org.eclipse.jdt.ui.prefs b/table/org.eclipse.papyrus.sysml.nattable.allocation/.settings/org.eclipse.jdt.ui.prefs similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.allocation/.settings/org.eclipse.jdt.ui.prefs rename to table/org.eclipse.papyrus.sysml.nattable.allocation/.settings/org.eclipse.jdt.ui.prefs
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation/.settings/org.eclipse.m2e.core.prefs b/table/org.eclipse.papyrus.sysml.nattable.allocation/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.allocation/.settings/org.eclipse.m2e.core.prefs rename to table/org.eclipse.papyrus.sysml.nattable.allocation/.settings/org.eclipse.m2e.core.prefs
diff --git a/table/org.eclipse.papyrus.sysml.nattable.allocation/META-INF/MANIFEST.MF b/table/org.eclipse.papyrus.sysml.nattable.allocation/META-INF/MANIFEST.MF new file mode 100644 index 0000000..b58d693 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.allocation/META-INF/MANIFEST.MF
@@ -0,0 +1,24 @@ +Manifest-Version: 1.0 +Require-Bundle: org.eclipse.ui;bundle-version="[3.107.0,4.0.0)", + org.eclipse.core.runtime;bundle-version="[3.11.1,4.0.0)", + org.eclipse.uml2.uml;bundle-version="[5.1.0,6.0.0)", + org.eclipse.gmf.runtime.diagram.core;bundle-version="[1.7.0,2.0.0)", + org.eclipse.papyrus.infra.tools;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.nattable.common;bundle-version="3.0.0", + org.eclipse.papyrus.infra.nattable;bundle-version="3.0.0", + org.eclipse.papyrus.infra.nattable.model;bundle-version="3.0.0", + org.eclipse.papyrus.uml.tools.utils;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.sysml;bundle-version="1.0.0", + org.eclipse.papyrus.sysml.service.types;bundle-version="1.0.0", + org.eclipse.papyrus.sysml.nattable.common;bundle-version="1.0.0" +Bundle-Vendor: %Bundle-Vendor +Bundle-ActivationPolicy: lazy +Bundle-Version: 4.0.0.qualifier +Bundle-Name: %Bundle-Name +Bundle-Activator: org.eclipse.papyrus.sysml.nattable.allocation.Activator +Bundle-ManifestVersion: 2 +Bundle-SymbolicName: org.eclipse.papyrus.sysml.nattable.allocation;singleton:=true +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Export-Package: org.eclipse.papyrus.sysml.nattable.allocation, + org.eclipse.papyrus.sysml.nattable.allocation.tester +
diff --git a/table/org.eclipse.papyrus.sysml.nattable.allocation/OSGI-INF/l10n/bundle.properties b/table/org.eclipse.papyrus.sysml.nattable.allocation/OSGI-INF/l10n/bundle.properties new file mode 100644 index 0000000..3278dc8 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.allocation/OSGI-INF/l10n/bundle.properties
@@ -0,0 +1,12 @@ +################################################################################# +# Copyright (c) 2016 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: +# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation +################################################################################## +Bundle-Vendor = Eclipse Modeling Project +Bundle-Name = Papyrus SysML 1.5 Allocation Table \ No newline at end of file
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation/about.html b/table/org.eclipse.papyrus.sysml.nattable.allocation/about.html similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.allocation/about.html rename to table/org.eclipse.papyrus.sysml.nattable.allocation/about.html
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation/build.properties b/table/org.eclipse.papyrus.sysml.nattable.allocation/build.properties similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.allocation/build.properties rename to table/org.eclipse.papyrus.sysml.nattable.allocation/build.properties
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation/icons/table_SysML_Allocation.png b/table/org.eclipse.papyrus.sysml.nattable.allocation/icons/table_SysML_Allocation.png similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.allocation/icons/table_SysML_Allocation.png rename to table/org.eclipse.papyrus.sysml.nattable.allocation/icons/table_SysML_Allocation.png Binary files differ
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation/icons/table_SysML_Allocation_new.png b/table/org.eclipse.papyrus.sysml.nattable.allocation/icons/table_SysML_Allocation_new.png similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.allocation/icons/table_SysML_Allocation_new.png rename to table/org.eclipse.papyrus.sysml.nattable.allocation/icons/table_SysML_Allocation_new.png Binary files differ
diff --git a/table/org.eclipse.papyrus.sysml.nattable.allocation/plugin.xml b/table/org.eclipse.papyrus.sysml.nattable.allocation/plugin.xml new file mode 100644 index 0000000..0b910a9 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.allocation/plugin.xml
@@ -0,0 +1,66 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.4"?> +<plugin> + <!-- <extension + point="org.eclipse.papyrus.infra.viewpoints.policy.custom"> + <contribution + file="resources/configuration/allocationTable.configuration" + original="platform:/plugin/org.eclipse.papyrus.infra.viewpoints.policy/builtin/default.configuration"> + </contribution> + </extension> --> + + <extension + point="org.eclipse.ui.commands"> + <command + categoryId="org.eclipse.papyrus.editor.category" + description="Create a SysML Allocation NatTable Editor" + id="org.eclipse.papyrus.sysml.nattable.allocation.create.command" + name="Create a new Allocation Table"> + </command> + </extension> + <extension + point="org.eclipse.ui.commandImages"> + <image + commandId="org.eclipse.papyrus.sysml.nattable.allocation.create.command" + icon="icons/table_SysML_Allocation_new.png"> + </image> + </extension> + <extension + point="org.eclipse.ui.handlers"> + <handler + commandId="org.eclipse.papyrus.sysml.nattable.allocation.create.command"> + <activeWhen> + <or> + <with + variable="activeEditorId"> + <equals + value="org.eclipse.papyrus.infra.core.papyrusEditor"> + </equals> + </with> + </or> + </activeWhen> + <class + class="org.eclipse.papyrus.infra.nattable.common.handlers.CreateNatTableEditorHandler"> + <parameter + name="tableType" + value="PapyrusSysMLAllocationTable"> + </parameter> + </class> + </handler> + </extension> + <extension + point="org.eclipse.papyrus.infra.nattable.tester"> + <tester + class="org.eclipse.papyrus.sysml.nattable.allocation.tester.TableAllocationCreationTester" + id="org.eclipse.papyrus.sysml.nattable.allocation.config.allocationtablecreationtester"> + </tester> + </extension> + <extension + point="org.eclipse.papyrus.infra.nattable.configuration"> + <configuration + file="resources/allocation.nattableconfiguration" + type="PapyrusSysMLAllocationTable"> + </configuration> + </extension> + +</plugin>
diff --git a/table/org.eclipse.papyrus.sysml.nattable.allocation/pom.xml b/table/org.eclipse.papyrus.sysml.nattable.allocation/pom.xml new file mode 100644 index 0000000..c5d7b73 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.allocation/pom.xml
@@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.papyrus.sysml</groupId> + <artifactId>org.eclipse.papyrus.sysml.table</artifactId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.nattable.allocation</artifactId> + <packaging>eclipse-plugin</packaging> + <description>This plugin defines the allocation table of SysML.</description> +</project> \ No newline at end of file
diff --git a/table/org.eclipse.papyrus.sysml.nattable.allocation/resources/allocation.nattableconfiguration b/table/org.eclipse.papyrus.sysml.nattable.allocation/resources/allocation.nattableconfiguration new file mode 100644 index 0000000..f7e0f40 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.allocation/resources/allocation.nattableconfiguration
@@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> +<nattableconfiguration:TableConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:nattablestyle="http://www.eclipse.org/papyrus/nattable/model/table/nattablestyle" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:nattableaxis="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis" xmlns:nattableaxisconfiguration="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration" xmlns:nattableaxisprovider="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider" xmlns:nattableconfiguration="http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration" xmlns:nattablelabelprovider="http://www.eclipse.org/papyrus/nattable/model/table/nattablecontentprovider" xmlns:nattabletester="http://www.eclipse.org/papyrus/nattable/model/table/nattabletester" description="This table is used to display SysML Allocation" name="AllocationTable" type="PapyrusSysMLAllocationTable" iconPath="platform:/plugin/org.eclipse.papyrus.sysml.nattable.allocation/icons/table_SysML_Allocation.png" defaultRowAxisProvider="//@rowAxisProviders.0" defaultColumnAxisProvider="//@columnAxisProviders.0"> + <styles xsi:type="nattablestyle:StringListValueStyle" name="dragRegions"> + <stringListValue>ROW_HEADER</stringListValue> + </styles> + <creationTester xsi:type="nattabletester:JavaTableTester" tester="org.eclipse.papyrus.sysml.nattable.allocation.config.allocationtablecreationtester"/> + <rowHeaderAxisConfiguration xsi:type="nattableaxisconfiguration:TableHeaderAxisConfiguration" indexStyle="NUMERIC" displayIndex="false"> + <ownedLabelConfigurations xsi:type="nattablelabelprovider:ObjectLabelProviderConfiguration"/> + <ownedLabelConfigurations xsi:type="nattablelabelprovider:OperationLabelProviderConfiguration" displayType="false" displayMultiplicity="false"/> + <ownedAxisConfigurations xsi:type="nattableaxisconfiguration:EStructuralFeatureValueFillingConfiguration"> + <listenFeature xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace/ownedMember"/> + </ownedAxisConfigurations> + <ownedAxisConfigurations xsi:type="nattableaxisconfiguration:PasteEObjectConfiguration" pastedElementId="org.eclipse.papyrus.SysML.Allocate_Abstraction"> + <postActions>applyStereotype:/SysML::Allocations::Allocate</postActions> + <pasteElementContainementFeature xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package/packagedElement"/> + <axisIdentifier xsi:type="nattableaxis:EStructuralFeatureAxis" manager="//@columnHeaderAxisConfiguration/@axisManagers.0"> + <element xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Dependency/supplier"/> + </axisIdentifier> + </ownedAxisConfigurations> + <axisManagers xsi:type="nattableaxisconfiguration:AxisManagerRepresentation" axisManagerId="org.eclipse.papyrus.sysml.nattable.allocate.axis.manager" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.labelprovider" headerLabelConfiguration="//@rowHeaderAxisConfiguration/@ownedLabelConfigurations.0" specificAxisConfigurations="//@rowHeaderAxisConfiguration/@ownedAxisConfigurations.0"/> + </rowHeaderAxisConfiguration> + <columnHeaderAxisConfiguration xsi:type="nattableaxisconfiguration:TableHeaderAxisConfiguration" displayIndex="false"> + <ownedLabelConfigurations xsi:type="nattablelabelprovider:FeatureLabelProviderConfiguration" displayType="false" displayMultiplicity="false"/> + <ownedLabelConfigurations xsi:type="nattablelabelprovider:OperationLabelProviderConfiguration"/> + <axisManagers xsi:type="nattableaxisconfiguration:AxisManagerRepresentation" axisManagerId="org.eclipse.papyrus.uml.nattable.feature.axis.manager" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.feature.labelprovider" headerLabelConfiguration="//@columnHeaderAxisConfiguration/@ownedLabelConfigurations.0"/> + <axisManagers xsi:type="nattableaxisconfiguration:AxisManagerRepresentation" axisManagerId="org.eclipse.papyrus.uml.nattable.stereotype.property.axis.manager" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.feature.labelprovider" headerLabelConfiguration="//@columnHeaderAxisConfiguration/@ownedLabelConfigurations.0"/> + <axisManagers xsi:type="nattableaxisconfiguration:AxisManagerRepresentation" axisManagerId="org.eclipse.papyrus.uml.nattable.operation.axis.manager" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.operation.labelprovider" headerLabelConfiguration="//@columnHeaderAxisConfiguration/@ownedLabelConfigurations.1"/> + </columnHeaderAxisConfiguration> + <columnAxisProviders xsi:type="nattableaxisprovider:SlaveObjectAxisProvider" description="This provider provides the default columns for the SysML Allocation Table" name="SysMLAllocationFeatureProvider"> + <axis xsi:type="nattableaxis:EStructuralFeatureAxis" manager="//@columnHeaderAxisConfiguration/@axisManagers.0"> + <element xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> + </axis> + <axis xsi:type="nattableaxis:EStructuralFeatureAxis" manager="//@columnHeaderAxisConfiguration/@axisManagers.0"> + <element xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Dependency/client"/> + </axis> + <axis xsi:type="nattableaxis:EStructuralFeatureAxis" manager="//@columnHeaderAxisConfiguration/@axisManagers.0"> + <element xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Dependency/supplier"/> + </axis> + </columnAxisProviders> + <rowAxisProviders xsi:type="nattableaxisprovider:MasterObjectAxisProvider" description="This row providers allows to display all Allocation in a Table" name="SysMLAllocationProvider" disconnectSlave="true"/> +</nattableconfiguration:TableConfiguration>
diff --git a/table/org.eclipse.papyrus.sysml.nattable.allocation/src/org/eclipse/papyrus/sysml/nattable/allocation/Activator.java b/table/org.eclipse.papyrus.sysml.nattable.allocation/src/org/eclipse/papyrus/sysml/nattable/allocation/Activator.java new file mode 100644 index 0000000..da8cc17 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.allocation/src/org/eclipse/papyrus/sysml/nattable/allocation/Activator.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2015 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 + * + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.allocation; + +import org.eclipse.ui.plugin.AbstractUIPlugin; + +/** + * 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.sysml.nattable.allocation"; //$NON-NLS-1$ + +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.allocation/src/org/eclipse/papyrus/sysml/nattable/allocation/Messages.java b/table/org.eclipse.papyrus.sysml.nattable.allocation/src/org/eclipse/papyrus/sysml/nattable/allocation/Messages.java new file mode 100644 index 0000000..eb79ebc --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.allocation/src/org/eclipse/papyrus/sysml/nattable/allocation/Messages.java
@@ -0,0 +1,30 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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 + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.allocation; + +import org.eclipse.osgi.util.NLS; + +public class Messages extends NLS { + + private static final String BUNDLE_NAME = "org.eclipse.papyrus.sysml.nattable.allocation.messages"; //$NON-NLS-1$ + + public static String TableAllocationCreationTester_NotAnUMLElement; + + public static String TableAllocationCreationTester_OKMessage; + + public static String TableAllocationCreationTester_ProfileNotApplied; + static { + // initialize resource bundle + NLS.initializeMessages(BUNDLE_NAME, Messages.class); + } + + private Messages() { + } +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.allocation/src/org/eclipse/papyrus/sysml/nattable/allocation/messages.properties b/table/org.eclipse.papyrus.sysml.nattable.allocation/src/org/eclipse/papyrus/sysml/nattable/allocation/messages.properties new file mode 100644 index 0000000..d6da842 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.allocation/src/org/eclipse/papyrus/sysml/nattable/allocation/messages.properties
@@ -0,0 +1,3 @@ +TableAllocationCreationTester_NotAnUMLElement=The context is not an UML Element +TableAllocationCreationTester_OKMessage=The context allows to create an Allocation Table +TableAllocationCreationTester_ProfileNotApplied=The profile SysML 1.5 is not applied on the model
diff --git a/table/org.eclipse.papyrus.sysml.nattable.allocation/src/org/eclipse/papyrus/sysml/nattable/allocation/tester/TableAllocationCreationTester.java b/table/org.eclipse.papyrus.sysml.nattable.allocation/src/org/eclipse/papyrus/sysml/nattable/allocation/tester/TableAllocationCreationTester.java new file mode 100644 index 0000000..5e6ce1f --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.allocation/src/org/eclipse/papyrus/sysml/nattable/allocation/tester/TableAllocationCreationTester.java
@@ -0,0 +1,48 @@ +/***************************************************************************** + * Copyright (c) 2016 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: + * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Use the utility method to check SysML profile application + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.allocation.tester; + + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Status; +import org.eclipse.papyrus.infra.nattable.tester.ITableTester; +import org.eclipse.papyrus.sysml.nattable.allocation.Activator; +import org.eclipse.papyrus.sysml.nattable.allocation.Messages; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.uml2.uml.Package; + + + +public class TableAllocationCreationTester implements ITableTester { + + /** + * + * @see org.eclipse.papyrus.infra.nattable.tester.ITableTester#isAllowed(java.lang.Object) + * + * @param context + * @return + */ + @Override + public IStatus isAllowed(Object context) { + if (context instanceof Package) { + if (SysMLResource.isSysMLProfileApplied((Package) context)) { + return new Status(IStatus.OK, Activator.PLUGIN_ID, Messages.TableAllocationCreationTester_OKMessage); + } else { + return new Status(IStatus.ERROR, Activator.PLUGIN_ID, String.format(Messages.TableAllocationCreationTester_ProfileNotApplied)); + } + } + return new Status(IStatus.ERROR, Activator.PLUGIN_ID, Messages.TableAllocationCreationTester_NotAnUMLElement); + } + +}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.common/.classpath b/table/org.eclipse.papyrus.sysml.nattable.common/.classpath similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.common/.classpath rename to table/org.eclipse.papyrus.sysml.nattable.common/.classpath
diff --git a/table/org.eclipse.papyrus.sysml.nattable.common/.project b/table/org.eclipse.papyrus.sysml.nattable.common/.project new file mode 100644 index 0000000..9c0a0a7 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.common/.project
@@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.nattable.common</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> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription>
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.common/.settings/org.eclipse.core.resources.prefs b/table/org.eclipse.papyrus.sysml.nattable.common/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.common/.settings/org.eclipse.core.resources.prefs rename to table/org.eclipse.papyrus.sysml.nattable.common/.settings/org.eclipse.core.resources.prefs
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.common/.settings/org.eclipse.jdt.core.prefs b/table/org.eclipse.papyrus.sysml.nattable.common/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.common/.settings/org.eclipse.jdt.core.prefs rename to table/org.eclipse.papyrus.sysml.nattable.common/.settings/org.eclipse.jdt.core.prefs
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.common/.settings/org.eclipse.jdt.ui.prefs b/table/org.eclipse.papyrus.sysml.nattable.common/.settings/org.eclipse.jdt.ui.prefs similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.common/.settings/org.eclipse.jdt.ui.prefs rename to table/org.eclipse.papyrus.sysml.nattable.common/.settings/org.eclipse.jdt.ui.prefs
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.common/.settings/org.eclipse.m2e.core.prefs b/table/org.eclipse.papyrus.sysml.nattable.common/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.common/.settings/org.eclipse.m2e.core.prefs rename to table/org.eclipse.papyrus.sysml.nattable.common/.settings/org.eclipse.m2e.core.prefs
diff --git a/table/org.eclipse.papyrus.sysml.nattable.common/META-INF/MANIFEST.MF b/table/org.eclipse.papyrus.sysml.nattable.common/META-INF/MANIFEST.MF new file mode 100644 index 0000000..00dd043 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.common/META-INF/MANIFEST.MF
@@ -0,0 +1,35 @@ +Manifest-Version: 1.0 +Export-Package: org.eclipse.papyrus.sysml.nattable.common, + org.eclipse.papyrus.sysml.nattable.common.manager.axis, + org.eclipse.papyrus.sysml.nattable.common.manager.cell, + org.eclipse.papyrus.sysml.nattable.common.provider +Require-Bundle: org.eclipse.ui;bundle-version="[3.107.0,4.0.0)", + org.eclipse.core.runtime;bundle-version="[3.11.1,4.0.0)", + org.eclipse.uml2.uml;bundle-version="[5.1.0,6.0.0)", + org.eclipse.gmf.runtime.diagram.core;bundle-version="[1.7.0,2.0.0)", + org.eclipse.emf.edit;bundle-version="[2.9.0,3.0.0)", + org.eclipse.nebula.widgets.nattable.core;bundle-version="[1.2.0,2.0.0)", + org.eclipse.papyrus.infra.core.log;bundle-version="[1.1.0,2.0.0)", + org.eclipse.papyrus.infra.emf.nattable;bundle-version="3.0.0", + org.eclipse.papyrus.infra.services.labelprovider;bundle-version="[2.0.0,3.0.0)", + org.eclipse.papyrus.infra.nattable;bundle-version="3.0.0", + org.eclipse.papyrus.infra.nattable.model;bundle-version="3.0.0", + org.eclipse.papyrus.infra.widgets;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.services.edit;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.emf;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.tools;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.expressions;bundle-version="1.0.0", + org.eclipse.papyrus.infra.emf.expressions;bundle-version="[1.0.0,2.0.0)", + org.eclipse.papyrus.uml.nattable;bundle-version="3.0.0", + org.eclipse.papyrus.sysml;bundle-version="1.0.0", + org.eclipse.papyrus.sysml.service.types;bundle-version="1.0.0" +Bundle-Vendor: %Bundle-Vendor +Bundle-ActivationPolicy: lazy +Bundle-Version: 4.0.0.qualifier +Bundle-Name: %Bundle-Name +Bundle-Activator: org.eclipse.papyrus.sysml.nattable.common.Activator +Bundle-ManifestVersion: 2 +Bundle-SymbolicName: org.eclipse.papyrus.sysml.nattable.common;singleton:=true +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Bundle-Description: %Bundle-Description
diff --git a/table/org.eclipse.papyrus.sysml.nattable.common/OSGI-INF/l10n/bundle.properties b/table/org.eclipse.papyrus.sysml.nattable.common/OSGI-INF/l10n/bundle.properties new file mode 100644 index 0000000..0e8a28a --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.common/OSGI-INF/l10n/bundle.properties
@@ -0,0 +1,11 @@ +################################################################################# +# Copyright (c) 2015 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 +# +################################################################################## +Bundle-Description=This plugin provides common classes for the SysML 1.5 tables. +Bundle-Vendor = Eclipse Modeling Project +Bundle-Name = Papyrus SysML 1.5 Common Table \ No newline at end of file
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.common/about.html b/table/org.eclipse.papyrus.sysml.nattable.common/about.html similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.common/about.html rename to table/org.eclipse.papyrus.sysml.nattable.common/about.html
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.common/build.properties b/table/org.eclipse.papyrus.sysml.nattable.common/build.properties similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.common/build.properties rename to table/org.eclipse.papyrus.sysml.nattable.common/build.properties
diff --git a/table/org.eclipse.papyrus.sysml.nattable.common/plugin.xml b/table/org.eclipse.papyrus.sysml.nattable.common/plugin.xml new file mode 100644 index 0000000..302cb86 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.common/plugin.xml
@@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.4"?> +<plugin> + <extension + point="org.eclipse.papyrus.infra.services.labelprovider.labelProvider"> + <labelProvider + priority="1700" + provider="org.eclipse.papyrus.sysml.nattable.common.provider.SysMLFlowPortDirectionLabelProvider"> + <labelProviderContext + context="org.eclipse.papyrus.infra.nattable.body.labelprovider"> + </labelProviderContext> + </labelProvider> + </extension> + <extension + point="org.eclipse.papyrus.infra.nattable.cellmanager"> + <cellManager + id="org.eclipse.papyrus.sysml.nattable.common.stereotype.property.cell.manager" + manager="org.eclipse.papyrus.sysml.nattable.common.manager.cell.SysMLStereotypePropertyCellManager" + order="250"> + </cellManager> + </extension> + <extension + point="org.eclipse.papyrus.infra.nattable.axismanager"> + <axisManager + id="org.eclipse.papyrus.sysml.nattable.requirement.axis.manager" + manager="org.eclipse.papyrus.sysml.nattable.common.manager.axis.RequirementAxisManager"> + </axisManager> + <axisManager + id="org.eclipse.papyrus.sysml.nattable.requirement.tree.axis.manager" + manager="org.eclipse.papyrus.sysml.nattable.common.manager.axis.RequirementTreeAxisManager"> + </axisManager> + + <axisManager + id="org.eclipse.papyrus.sysml.nattable.allocate.axis.manager" + manager="org.eclipse.papyrus.sysml.nattable.common.manager.axis.AllocateAxisManager"> + </axisManager> + </extension> + <extension + point="org.eclipse.papyrus.infra.emf.expressions.expressionCatalog"> + <catalog + file="resources/SysML.expressions"> + </catalog> + </extension> +</plugin>
diff --git a/table/org.eclipse.papyrus.sysml.nattable.common/pom.xml b/table/org.eclipse.papyrus.sysml.nattable.common/pom.xml new file mode 100644 index 0000000..11657cf --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.common/pom.xml
@@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.papyrus.sysml</groupId> + <artifactId>org.eclipse.papyrus.sysml.table</artifactId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.nattable.common</artifactId> + <packaging>eclipse-plugin</packaging> + <description>The plugin gather the shared API for the table based upon nattable framework.</description> +</project> \ No newline at end of file
diff --git a/table/org.eclipse.papyrus.sysml.nattable.common/resources/SysML.expressions b/table/org.eclipse.papyrus.sysml.nattable.common/resources/SysML.expressions new file mode 100644 index 0000000..c352fed --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.common/resources/SysML.expressions
@@ -0,0 +1,56 @@ +<?xml version="1.0" encoding="UTF-8"?> +<expressions:ExpressionCatalog xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:expressions="http://www.eclipse.org/papyrus/expressions" xmlns:umlexpressions="http://www.eclipse.org/papyrus/umlexpressions" xmi:id="_P7ayEDv6Eee2LLfELRoVyg" name="SysML1.5 Expressions" description="This catalog provides expressions for the profile SysML 1.5."> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayETv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Activities::Continuous" description="This expression returns TRUE if the Element is stereotyped with SysML::Activities::Continuous and FALSE otherwise." stereotypeQualifiedName="SysML::Activities::Continuous"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayEjv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Activities::ControlOperator" description="This expression returns TRUE if the Element is stereotyped with SysML::Activities::ControlOperator and FALSE otherwise." stereotypeQualifiedName="SysML::Activities::ControlOperator"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayEzv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Activities::Discrete" description="This expression returns TRUE if the Element is stereotyped with SysML::Activities::Discrete and FALSE otherwise." stereotypeQualifiedName="SysML::Activities::Discrete"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayFDv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Activities::NoBuffer" description="This expression returns TRUE if the Element is stereotyped with SysML::Activities::NoBuffer and FALSE otherwise." stereotypeQualifiedName="SysML::Activities::NoBuffer"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayFTv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Activities::Optional" description="This expression returns TRUE if the Element is stereotyped with SysML::Activities::Optional and FALSE otherwise." stereotypeQualifiedName="SysML::Activities::Optional"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayFjv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Activities::Overwrite" description="This expression returns TRUE if the Element is stereotyped with SysML::Activities::Overwrite and FALSE otherwise." stereotypeQualifiedName="SysML::Activities::Overwrite"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayFzv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Activities::Probability" description="This expression returns TRUE if the Element is stereotyped with SysML::Activities::Probability and FALSE otherwise." stereotypeQualifiedName="SysML::Activities::Probability"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayGDv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Activities::Rate" description="This expression returns TRUE if the Element is stereotyped with SysML::Activities::Rate and FALSE otherwise." stereotypeQualifiedName="SysML::Activities::Rate"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayGTv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Allocations::Allocate" description="This expression returns TRUE if the Element is stereotyped with SysML::Allocations::Allocate and FALSE otherwise." stereotypeQualifiedName="SysML::Allocations::Allocate"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayGjv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Allocations::AllocateActivityPartition" description="This expression returns TRUE if the Element is stereotyped with SysML::Allocations::AllocateActivityPartition and FALSE otherwise." stereotypeQualifiedName="SysML::Allocations::AllocateActivityPartition"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayGzv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::AdjunctProperty" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::AdjunctProperty and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::AdjunctProperty"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayHDv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::BindingConnector" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::BindingConnector and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::BindingConnector"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayHTv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::Block" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::Block and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::Block"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayHjv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::BoundReference" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::BoundReference and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::BoundReference"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayHzv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::ClassifierBehaviorProperty" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::ClassifierBehaviorProperty and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::ClassifierBehaviorProperty"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayIDv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::ConnectorProperty" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::ConnectorProperty and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::ConnectorProperty"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayITv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::DirectedRelationshipPropertyPath" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::DirectedRelationshipPropertyPath and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::DirectedRelationshipPropertyPath"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayIjv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::DistributedProperty" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::DistributedProperty and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::DistributedProperty"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayIzv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::ElementPropertyPath" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::ElementPropertyPath and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::ElementPropertyPath"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayJDv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::EndPathMultiplicity" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::EndPathMultiplicity and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::EndPathMultiplicity"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayJTv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::NestedConnectorEnd" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::NestedConnectorEnd and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::NestedConnectorEnd"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayJjv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::ParticipantProperty" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::ParticipantProperty and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::ParticipantProperty"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayJzv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::PropertySpecificType" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::PropertySpecificType and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::PropertySpecificType"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayKDv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::ValueType" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::ValueType and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::ValueType"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayKTv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::ConstraintBlocks::ConstraintBlock" description="This expression returns TRUE if the Element is stereotyped with SysML::ConstraintBlocks::ConstraintBlock and FALSE otherwise." stereotypeQualifiedName="SysML::ConstraintBlocks::ConstraintBlock"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayKjv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::DeprecatedElements::FlowPort" description="This expression returns TRUE if the Element is stereotyped with SysML::DeprecatedElements::FlowPort and FALSE otherwise." stereotypeQualifiedName="SysML::DeprecatedElements::FlowPort"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayKzv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::DeprecatedElements::FlowSpecification" description="This expression returns TRUE if the Element is stereotyped with SysML::DeprecatedElements::FlowSpecification and FALSE otherwise." stereotypeQualifiedName="SysML::DeprecatedElements::FlowSpecification"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayLDv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::ModelElements::Conform" description="This expression returns TRUE if the Element is stereotyped with SysML::ModelElements::Conform and FALSE otherwise." stereotypeQualifiedName="SysML::ModelElements::Conform"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayLTv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::ModelElements::ElementGroup" description="This expression returns TRUE if the Element is stereotyped with SysML::ModelElements::ElementGroup and FALSE otherwise." stereotypeQualifiedName="SysML::ModelElements::ElementGroup"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayLjv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::ModelElements::Expose" description="This expression returns TRUE if the Element is stereotyped with SysML::ModelElements::Expose and FALSE otherwise." stereotypeQualifiedName="SysML::ModelElements::Expose"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayLzv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::ModelElements::Problem" description="This expression returns TRUE if the Element is stereotyped with SysML::ModelElements::Problem and FALSE otherwise." stereotypeQualifiedName="SysML::ModelElements::Problem"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayMDv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::ModelElements::Rationale" description="This expression returns TRUE if the Element is stereotyped with SysML::ModelElements::Rationale and FALSE otherwise." stereotypeQualifiedName="SysML::ModelElements::Rationale"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayMTv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::ModelElements::Stakeholder" description="This expression returns TRUE if the Element is stereotyped with SysML::ModelElements::Stakeholder and FALSE otherwise." stereotypeQualifiedName="SysML::ModelElements::Stakeholder"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayMjv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::ModelElements::View" description="This expression returns TRUE if the Element is stereotyped with SysML::ModelElements::View and FALSE otherwise." stereotypeQualifiedName="SysML::ModelElements::View"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayMzv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::ModelElements::Viewpoint" description="This expression returns TRUE if the Element is stereotyped with SysML::ModelElements::Viewpoint and FALSE otherwise." stereotypeQualifiedName="SysML::ModelElements::Viewpoint"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayNDv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::PortsAndFlows::AcceptChangeStructuralFeatureEventAction" description="This expression returns TRUE if the Element is stereotyped with SysML::PortsAndFlows::AcceptChangeStructuralFeatureEventAction and FALSE otherwise." stereotypeQualifiedName="SysML::PortsAndFlows::AcceptChangeStructuralFeatureEventAction"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayNTv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::PortsAndFlows::ChangeStructuralFeatureEvent" description="This expression returns TRUE if the Element is stereotyped with SysML::PortsAndFlows::ChangeStructuralFeatureEvent and FALSE otherwise." stereotypeQualifiedName="SysML::PortsAndFlows::ChangeStructuralFeatureEvent"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayNjv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::PortsAndFlows::DirectedFeature" description="This expression returns TRUE if the Element is stereotyped with SysML::PortsAndFlows::DirectedFeature and FALSE otherwise." stereotypeQualifiedName="SysML::PortsAndFlows::DirectedFeature"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayNzv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::PortsAndFlows::FlowProperty" description="This expression returns TRUE if the Element is stereotyped with SysML::PortsAndFlows::FlowProperty and FALSE otherwise." stereotypeQualifiedName="SysML::PortsAndFlows::FlowProperty"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayODv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::PortsAndFlows::FullPort" description="This expression returns TRUE if the Element is stereotyped with SysML::PortsAndFlows::FullPort and FALSE otherwise." stereotypeQualifiedName="SysML::PortsAndFlows::FullPort"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayOTv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::PortsAndFlows::InterfaceBlock" description="This expression returns TRUE if the Element is stereotyped with SysML::PortsAndFlows::InterfaceBlock and FALSE otherwise." stereotypeQualifiedName="SysML::PortsAndFlows::InterfaceBlock"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayOjv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::PortsAndFlows::InvocationOnNestedPortAction" description="This expression returns TRUE if the Element is stereotyped with SysML::PortsAndFlows::InvocationOnNestedPortAction and FALSE otherwise." stereotypeQualifiedName="SysML::PortsAndFlows::InvocationOnNestedPortAction"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayOzv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::PortsAndFlows::ItemFlow" description="This expression returns TRUE if the Element is stereotyped with SysML::PortsAndFlows::ItemFlow and FALSE otherwise." stereotypeQualifiedName="SysML::PortsAndFlows::ItemFlow"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayPDv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::PortsAndFlows::ProxyPort" description="This expression returns TRUE if the Element is stereotyped with SysML::PortsAndFlows::ProxyPort and FALSE otherwise." stereotypeQualifiedName="SysML::PortsAndFlows::ProxyPort"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayPTv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::PortsAndFlows::TriggerOnNestedPort" description="This expression returns TRUE if the Element is stereotyped with SysML::PortsAndFlows::TriggerOnNestedPort and FALSE otherwise." stereotypeQualifiedName="SysML::PortsAndFlows::TriggerOnNestedPort"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayPjv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Requirements::Copy" description="This expression returns TRUE if the Element is stereotyped with SysML::Requirements::Copy and FALSE otherwise." stereotypeQualifiedName="SysML::Requirements::Copy"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayPzv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Requirements::DeriveReqt" description="This expression returns TRUE if the Element is stereotyped with SysML::Requirements::DeriveReqt and FALSE otherwise." stereotypeQualifiedName="SysML::Requirements::DeriveReqt"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayQDv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Requirements::Refine" description="This expression returns TRUE if the Element is stereotyped with SysML::Requirements::Refine and FALSE otherwise." stereotypeQualifiedName="SysML::Requirements::Refine"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayQTv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Requirements::Requirement" description="This expression returns TRUE if the Element is stereotyped with SysML::Requirements::Requirement and FALSE otherwise." stereotypeQualifiedName="SysML::Requirements::Requirement"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayQjv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Requirements::Satisfy" description="This expression returns TRUE if the Element is stereotyped with SysML::Requirements::Satisfy and FALSE otherwise." stereotypeQualifiedName="SysML::Requirements::Satisfy"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayQzv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Requirements::TestCase" description="This expression returns TRUE if the Element is stereotyped with SysML::Requirements::TestCase and FALSE otherwise." stereotypeQualifiedName="SysML::Requirements::TestCase"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayRDv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Requirements::Trace" description="This expression returns TRUE if the Element is stereotyped with SysML::Requirements::Trace and FALSE otherwise." stereotypeQualifiedName="SysML::Requirements::Trace"/> + <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayRTv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Requirements::Verify" description="This expression returns TRUE if the Element is stereotyped with SysML::Requirements::Verify and FALSE otherwise." stereotypeQualifiedName="SysML::Requirements::Verify"/> +</expressions:ExpressionCatalog>
diff --git a/table/org.eclipse.papyrus.sysml.nattable.common/src/org/eclipse/papyrus/sysml/nattable/common/Activator.java b/table/org.eclipse.papyrus.sysml.nattable.common/src/org/eclipse/papyrus/sysml/nattable/common/Activator.java new file mode 100644 index 0000000..9ca39da --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.common/src/org/eclipse/papyrus/sysml/nattable/common/Activator.java
@@ -0,0 +1,34 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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 + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.common; + +import org.eclipse.jface.resource.ImageDescriptor; +import org.eclipse.ui.plugin.AbstractUIPlugin; + +/** + * 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.sysml.nattable.common"; //$NON-NLS-1$ + + /** + * Returns an image descriptor for the image file at the given + * plug-in relative path + * + * @param path the path + * @return the image descriptor + */ + public static ImageDescriptor getImageDescriptor(String path) { + return imageDescriptorFromPlugin(PLUGIN_ID, path); + } + +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.common/src/org/eclipse/papyrus/sysml/nattable/common/manager/axis/AllocateAxisManager.java b/table/org.eclipse.papyrus.sysml.nattable.common/src/org/eclipse/papyrus/sysml/nattable/common/manager/axis/AllocateAxisManager.java new file mode 100644 index 0000000..42f61c9 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.common/src/org/eclipse/papyrus/sysml/nattable/common/manager/axis/AllocateAxisManager.java
@@ -0,0 +1,105 @@ +/***************************************************************************** + * 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: + * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.common.manager.axis; + +import org.eclipse.papyrus.sysml.allocations.Allocate; +import org.eclipse.papyrus.sysml.allocations.AllocationsPackage; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager; +import org.eclipse.uml2.uml.Abstraction; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * Axis Manager for Allocate + * + */ +public class AllocateAxisManager extends AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager<Allocate> { + + + /** + * + * @see org.eclipse.papyrus.infra.nattable.manager.axis.AbstractAxisManager#canCreateAxisElement(java.lang.String) + * + * @param elementId + * @return + */ + @Override + public boolean canCreateAxisElement(final String elementId) { + return SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_ALLOCATE_ABSTRACTION.equals(elementId); + } + + /** + * + * @see org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager#isInstanceOfRequiredStereotypeApplication(java.lang.Object) + * + * @param object + * @return + */ + @Override + protected boolean isInstanceOfRequiredStereotypeApplication(Object object) { + return object instanceof Allocate; + } + + + /** + * + * @see org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager#getStereotypeApplication(org.eclipse.uml2.uml.Element) + * + * @param el + * @return + */ + @Override + protected Allocate getStereotypeApplication(final Element el) { + return UMLUtil.getStereotypeApplication(el, Allocate.class); + } + + /** + * + * @see org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager#getStereotypeBaseElement(org.eclipse.emf.ecore.EObject) + * + * @param stereotypeApplication + * @return + */ + @Override + protected Element getStereotypeBaseElement(final Allocate stereotypeApplication) { + return stereotypeApplication.getBase_Abstraction(); + } + + + /** + * + * @see org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager#getStereotypeApplicationBasePropertyName() + * + * @return + */ + @Override + protected String getStereotypeApplicationBasePropertyName() { + return AllocationsPackage.eINSTANCE.getAllocate_Base_Abstraction().getName(); + } + + /** + * + * @see org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager#isAllowedAsBaseElement(org.eclipse.uml2.uml.Element) + * + * @param element + * @return + */ + @Override + protected boolean isAllowedAsBaseElement(Element element) { + return element instanceof Abstraction; + } + + +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.common/src/org/eclipse/papyrus/sysml/nattable/common/manager/axis/RequirementAxisManager.java b/table/org.eclipse.papyrus.sysml.nattable.common/src/org/eclipse/papyrus/sysml/nattable/common/manager/axis/RequirementAxisManager.java new file mode 100644 index 0000000..bc9a6c4 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.common/src/org/eclipse/papyrus/sysml/nattable/common/manager/axis/RequirementAxisManager.java
@@ -0,0 +1,105 @@ +/***************************************************************************** + * 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: + * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.common.manager.axis; + +import org.eclipse.papyrus.sysml.requirements.Requirement; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.util.UMLUtil; + + + +/** + * AxisManager for SysML Requirements + * + */ +public class RequirementAxisManager extends AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager<Requirement> { + + /** + * + * @see org.eclipse.papyrus.infra.nattable.manager.axis.AbstractAxisManager#canCreateAxisElement(java.lang.String) + * + * @param elementId + * @return + */ + @Override + public boolean canCreateAxisElement(String elementId) { + return SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_REQUIREMENT.equals(elementId); + } + + + /** + * + * @see org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager#getStereotypeApplication(org.eclipse.uml2.uml.Element) + * + * @param el + * @return + */ + @Override + protected Requirement getStereotypeApplication(Element el) { + return UMLUtil.getStereotypeApplication(el, Requirement.class); + } + + /** + * + * @see org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager#isInstanceOfRequiredStereotypeApplication(java.lang.Object) + * + * @param object + * @return + */ + @Override + protected boolean isInstanceOfRequiredStereotypeApplication(final Object object) { + return object instanceof Requirement; + } + + /** + * + * @see org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager#getStereotypeBaseElement(org.eclipse.emf.ecore.EObject) + * + * @param stereotypeApplication + * @return + */ + @Override + protected Element getStereotypeBaseElement(final Requirement stereotypeApplication) { + return stereotypeApplication.getBase_Class(); + } + + /** + * + * @see org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager#isAllowedAsBaseElement(org.eclipse.uml2.uml.Element) + * + * @param element + * @return + */ + @Override + protected boolean isAllowedAsBaseElement(final Element element) { + return element instanceof Class; + } + + + /** + * + * @see org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager#getStereotypeApplicationBasePropertyName() + * + * @return + */ + @Override + protected String getStereotypeApplicationBasePropertyName() { + return RequirementsPackage.eINSTANCE.getRequirement_Base_Class().getName(); + } + +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.common/src/org/eclipse/papyrus/sysml/nattable/common/manager/axis/RequirementTreeAxisManager.java b/table/org.eclipse.papyrus.sysml.nattable.common/src/org/eclipse/papyrus/sysml/nattable/common/manager/axis/RequirementTreeAxisManager.java new file mode 100644 index 0000000..647e53f --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.common/src/org/eclipse/papyrus/sysml/nattable/common/manager/axis/RequirementTreeAxisManager.java
@@ -0,0 +1,64 @@ +/***************************************************************************** + * Copyright (c) 2016 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.common.manager.axis; + +import org.eclipse.papyrus.infra.nattable.model.nattable.nattableaxisconfiguration.TreeFillingConfiguration; +import org.eclipse.papyrus.sysml.requirements.Requirement; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.papyrus.uml.nattable.manager.axis.UMLElementTreeAxisManagerForEventList; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.util.UMLUtil; + + + +/** + * AxisManager for SysML Requirements tree is Manager + * + */ +public class RequirementTreeAxisManager extends UMLElementTreeAxisManagerForEventList { + + /** + * + * @see org.eclipse.papyrus.infra.nattable.manager.axis.AbstractAxisManager#canCreateAxisElement(java.lang.String) + * + * @param elementId + * @return + */ + @Override + public boolean canCreateAxisElement(String elementId) { + return SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_REQUIREMENT.equals(elementId); + } + + + /** + * @see org.eclipse.papyrus.uml.nattable.manager.axis.UMLElementTreeAxisManagerForEventList#isAllowedContents(java.lang.Object, java.lang.Object, org.eclipse.papyrus.infra.nattable.model.nattable.nattableaxisconfiguration.TreeFillingConfiguration, int) + * + * @param objectToTest + * @param semanticParent + * @param conf + * @param depth + * @return + */ + @Override + public boolean isAllowedContents(Object objectToTest, Object semanticParent, TreeFillingConfiguration conf, int depth) { + if (objectToTest instanceof Element){ + Element element = (Element) objectToTest; + if (UMLUtil.getStereotypeApplication(element, Requirement.class)!= null){ + return super.isAllowedContents(objectToTest, semanticParent, conf, depth); + } + } + return false; + } + +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.common/src/org/eclipse/papyrus/sysml/nattable/common/manager/cell/SysMLStereotypePropertyCellManager.java b/table/org.eclipse.papyrus.sysml.nattable.common/src/org/eclipse/papyrus/sysml/nattable/common/manager/cell/SysMLStereotypePropertyCellManager.java new file mode 100644 index 0000000..ed79aff --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.common/src/org/eclipse/papyrus/sysml/nattable/common/manager/cell/SysMLStereotypePropertyCellManager.java
@@ -0,0 +1,92 @@ +/***************************************************************************** + * Copyright (c) 2012 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: + * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation + * Nicolas FAUVERGUE (CEA LIST) nicolas.fauvergue@cea.fr - Bug 516997 + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.common.manager.cell; + +import java.util.AbstractMap; +import java.util.List; +import java.util.Map.Entry; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.papyrus.infra.nattable.manager.table.INattableModelManager; +import org.eclipse.papyrus.sysml.service.types.matcher.FlowPortNAMatcher; +import org.eclipse.papyrus.sysml.util.SysMLQualifiedName; +import org.eclipse.papyrus.uml.nattable.manager.cell.StereotypePropertyCellManager; +import org.eclipse.papyrus.uml.nattable.utils.Constants; +import org.eclipse.uml2.uml.Port; + +/** + * This cell manager manages the cell displaying the direction of the FlowPort. + * If the flowport is not atomic, the cell is not editable and the direction is N/A. + */ +public class SysMLStereotypePropertyCellManager extends StereotypePropertyCellManager { + + /** + * the FlowPort isAtomicMatcher + */ + private static final FlowPortNAMatcher matcher = new FlowPortNAMatcher(); + + /** + * {@inheritDoc} + * + * @see org.eclipse.papyrus.uml.nattable.manager.cell.manager.StereotypePropertyCellManager#handles(java.lang.Object, java.lang.Object) + */ + @Override + public boolean handles(final Object columnElement, final Object rowElement, final INattableModelManager tableManager) { + boolean isHandled = super.handles(columnElement, rowElement, tableManager); + if (isHandled) { + Entry<EObject, String> cellDefinition = getCellDefinition(columnElement, rowElement); + if (cellDefinition.getKey() instanceof Port) { + final String propertyQualifiedNameString = cellDefinition.getValue().substring(Constants.PROPERTY_OF_STEREOTYPE_PREFIX.length(), cellDefinition.getValue().length()); + // We have to use the full name for Constants because of the previous one + isHandled = SysMLQualifiedName.STEREOTYPE_FLOWPORT_DIRECTION.equals(propertyQualifiedNameString); + } + } + return isHandled; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.papyrus.uml.nattable.manager.cell.manager.StereotypePropertyCellManager#isCellEditable(java.lang.Object, java.lang.Object) + */ + @Override + public boolean isCellEditable(final Object columnElement, final Object rowElement, final INattableModelManager tableManager) { + boolean isEditable = super.isCellEditable(columnElement, rowElement, tableManager); + if (isEditable) { + Entry<EObject, String> cellDefinition = getCellDefinition(columnElement, rowElement); + if (cellDefinition != null) { + isEditable = !matcher.matches(cellDefinition.getKey()); + } + } + return isEditable; + } + + /** + * @param columnElement + * @param rowElement + * @return Entry<EObject,propertyQualifiedName> + */ + //FIXME this method should be provided by the core API + private Entry<EObject, String> getCellDefinition(final Object columnElement, final Object rowElement) { + final List<Object> objects = organizeAndResolvedObjects(columnElement, rowElement, null); + // The list must have 2 elements (row and column elements) + if (objects != null && 2 == objects.size()) { + if (objects.get(0) instanceof EObject && objects.get(1) instanceof String) { + return new AbstractMap.SimpleEntry<EObject, String>((EObject) objects.get(0), (String) objects.get(1)); + } + } + return null; + } + +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.common/src/org/eclipse/papyrus/sysml/nattable/common/provider/SysMLFlowPortDirectionLabelProvider.java b/table/org.eclipse.papyrus.sysml.nattable.common/src/org/eclipse/papyrus/sysml/nattable/common/provider/SysMLFlowPortDirectionLabelProvider.java new file mode 100644 index 0000000..2b9c8e3 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.common/src/org/eclipse/papyrus/sysml/nattable/common/provider/SysMLFlowPortDirectionLabelProvider.java
@@ -0,0 +1,82 @@ +/***************************************************************************** + * 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: + * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation + * Nicolas FAUVERGUE (CEA LIST) nicolas.fauvergue@cea.fr - Bug 516997 + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.common.provider; + +import org.eclipse.nebula.widgets.nattable.config.IConfigRegistry; +import org.eclipse.nebula.widgets.nattable.layer.cell.ILayerCell; +import org.eclipse.papyrus.infra.nattable.utils.AxisUtils; +import org.eclipse.papyrus.infra.nattable.utils.Constants; +import org.eclipse.papyrus.infra.nattable.utils.LabelProviderCellContextElementWrapper; +import org.eclipse.papyrus.sysml.service.types.matcher.FlowPortNAMatcher; +import org.eclipse.papyrus.sysml.util.SysMLQualifiedName; +import org.eclipse.papyrus.uml.nattable.provider.AbstractUMLNattableCellLabelProvider; +import org.eclipse.uml2.uml.Port; + +/** + * This label provider allows to display N/A for the direction of the FlowPort when its required! + */ +public class SysMLFlowPortDirectionLabelProvider extends AbstractUMLNattableCellLabelProvider { + + /** + * N/A FlowPort matcher + */ + private static final FlowPortNAMatcher matcher = new FlowPortNAMatcher(); + + /** + * {@inheritDoc} + * + * @see org.eclipse.papyrus.infra.nattable.provider.GenericCellLabelProvider#accept(java.lang.Object) + */ + @Override + public boolean accept(final Object element) { + if (element instanceof LabelProviderCellContextElementWrapper) { + final ILayerCell cell = ((LabelProviderCellContextElementWrapper) element); + final IConfigRegistry registry = ((LabelProviderCellContextElementWrapper) element).getConfigRegistry(); + final Object columnObject = getColumnObject(cell, registry); + String str = AxisUtils.getPropertyId(columnObject); + if (str == null) { + final Object rowObject = getRowObject(cell, registry); + str = AxisUtils.getPropertyId(rowObject); + } + if (str != null) { + return str.endsWith(SysMLQualifiedName.STEREOTYPE_FLOWPORT_DIRECTION); + } + } + return false; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.papyrus.infra.nattable.provider.GenericCellLabelProvider#getText(java.lang.Object) + */ + @Override + public String getText(Object element) { + final ILayerCell cell = (LabelProviderCellContextElementWrapper) element; + final IConfigRegistry configRegistry = ((LabelProviderCellContextElementWrapper) element).getConfigRegistry(); + final Object rowObject = AxisUtils.getRepresentedElement(getRowObject(cell, configRegistry)); + final Object columObject = AxisUtils.getRepresentedElement(getColumnObject(cell, configRegistry)); + Port port = null; + if (rowObject instanceof Port) { + port = (Port) rowObject; + } else if (columObject instanceof Port) { + port = (Port) columObject; + } + if (port != null && matcher.matches(port)) { + return Constants.NOT_AVALAIBLE; + } + return super.getText(element); + } +}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/.classpath b/table/org.eclipse.papyrus.sysml.nattable.requirement.tests/.classpath similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/.classpath rename to table/org.eclipse.papyrus.sysml.nattable.requirement.tests/.classpath
diff --git a/table/org.eclipse.papyrus.sysml.nattable.requirement.tests/.project b/table/org.eclipse.papyrus.sysml.nattable.requirement.tests/.project new file mode 100644 index 0000000..cf5a283 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.requirement.tests/.project
@@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.nattable.requirement.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> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription>
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/.settings/org.eclipse.core.resources.prefs b/table/org.eclipse.papyrus.sysml.nattable.requirement.tests/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/.settings/org.eclipse.core.resources.prefs rename to table/org.eclipse.papyrus.sysml.nattable.requirement.tests/.settings/org.eclipse.core.resources.prefs
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/.settings/org.eclipse.jdt.core.prefs b/table/org.eclipse.papyrus.sysml.nattable.requirement.tests/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/.settings/org.eclipse.jdt.core.prefs rename to table/org.eclipse.papyrus.sysml.nattable.requirement.tests/.settings/org.eclipse.jdt.core.prefs
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/.settings/org.eclipse.jdt.ui.prefs b/table/org.eclipse.papyrus.sysml.nattable.requirement.tests/.settings/org.eclipse.jdt.ui.prefs similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/.settings/org.eclipse.jdt.ui.prefs rename to table/org.eclipse.papyrus.sysml.nattable.requirement.tests/.settings/org.eclipse.jdt.ui.prefs
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/.settings/org.eclipse.m2e.core.prefs b/table/org.eclipse.papyrus.sysml.nattable.requirement.tests/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/.settings/org.eclipse.m2e.core.prefs rename to table/org.eclipse.papyrus.sysml.nattable.requirement.tests/.settings/org.eclipse.m2e.core.prefs
diff --git a/table/org.eclipse.papyrus.sysml.nattable.requirement.tests/META-INF/MANIFEST.MF b/table/org.eclipse.papyrus.sysml.nattable.requirement.tests/META-INF/MANIFEST.MF new file mode 100644 index 0000000..a83bc4d --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.requirement.tests/META-INF/MANIFEST.MF
@@ -0,0 +1,30 @@ +Manifest-Version: 1.0 +Require-Bundle: org.junit;bundle-version="[4.11.0,5.0.0)", + org.eclipse.ocl;bundle-version="[3.5.0,4.0.0)", + org.eclipse.ocl.pivot;bundle-version="[1.0.1,2.0.0)", + org.eclipse.ocl.xtext.essentialocl;bundle-version="[1.0.1,2.0.0)", + org.eclipse.emf.validation.ocl;bundle-version="[1.4.0,2.0.0)", + org.eclipse.ocl.ecore;bundle-version="[3.5.0,4.0.0)", + org.eclipse.ocl.xtext.essentialocl.ui;bundle-version="[1.0.0,2.0.0)", + org.eclipse.uml2.uml.resources;bundle-version="[5.1.0,6.0.0)", + org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.types.core;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.clazz;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.communication;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.component;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.composite;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.deployment;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.interactionoverview;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.profile;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.statemachine;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.diagram.timing;bundle-version="[1.2.0,2.0.0)", + org.eclipse.papyrus.uml.diagram.usecase;bundle-version="[3.0.0,4.0.0)" +Bundle-Vendor: %Bundle-Vendor +Bundle-ActivationPolicy: lazy +Bundle-Version: 4.0.0.qualifier +Bundle-Name: %Bundle-Name +Bundle-ManifestVersion: 2 +Bundle-SymbolicName: org.eclipse.papyrus.sysml.nattable.requirement.tests +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Bundle-Description: %Bundle-Description +Fragment-Host: org.eclipse.papyrus.sysml.nattable.requirement;bundle-version="1.0.0"
diff --git a/table/org.eclipse.papyrus.sysml.nattable.requirement.tests/OSGI-INF/l10n/bundle.properties b/table/org.eclipse.papyrus.sysml.nattable.requirement.tests/OSGI-INF/l10n/bundle.properties new file mode 100644 index 0000000..58be633 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.requirement.tests/OSGI-INF/l10n/bundle.properties
@@ -0,0 +1,13 @@ +############################################################################### +# Copyright (c) 2015 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: +# CEA LIST - initial API and implementation +############################################################################### +Bundle-Name = Papyrus SysML 1.5 Requirement Table Tests +Bundle-Vendor = Eclipse Modeling Project +Bundle-Description = This plugin tests the plugin org.eclipse.papyrus.sysml.nattable.requirement \ No newline at end of file
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/about.html b/table/org.eclipse.papyrus.sysml.nattable.requirement.tests/about.html similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/about.html rename to table/org.eclipse.papyrus.sysml.nattable.requirement.tests/about.html
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/build.properties b/table/org.eclipse.papyrus.sysml.nattable.requirement.tests/build.properties similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/build.properties rename to table/org.eclipse.papyrus.sysml.nattable.requirement.tests/build.properties
diff --git a/table/org.eclipse.papyrus.sysml.nattable.requirement.tests/pom.xml b/table/org.eclipse.papyrus.sysml.nattable.requirement.tests/pom.xml new file mode 100644 index 0000000..cfa2764 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.requirement.tests/pom.xml
@@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.papyrus.sysml</groupId> + <artifactId>org.eclipse.papyrus.sysml.table</artifactId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.nattable.requirement.tests</artifactId> + <packaging>eclipse-test-plugin</packaging> + <description>This pluygin is in charge of unit tests for requirement table.</description> +</project>
diff --git a/table/org.eclipse.papyrus.sysml.nattable.requirement.tests/src/org/eclipse/papyrus/sysml/nattable/requirement/tests/resources/RequirementNattableTest.java b/table/org.eclipse.papyrus.sysml.nattable.requirement.tests/src/org/eclipse/papyrus/sysml/nattable/requirement/tests/resources/RequirementNattableTest.java new file mode 100644 index 0000000..c5c6a50 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.requirement.tests/src/org/eclipse/papyrus/sysml/nattable/requirement/tests/resources/RequirementNattableTest.java
@@ -0,0 +1,111 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - #495408 : Requirement Tree Table + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.nattable.requirement.tests.resources; + +import org.eclipse.emf.common.util.Diagnostic; +import org.eclipse.emf.common.util.TreeIterator; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.emf.ecore.util.Diagnostician; +import org.eclipse.papyrus.infra.core.services.ServiceException; +import org.eclipse.papyrus.infra.nattable.model.nattable.nattableaxisconfiguration.PasteEObjectConfiguration; +import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; +import org.eclipse.papyrus.sysml.nattable.requirement.Activator; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; + +/** + * Test the requirement nattable models + * + + */ +@SuppressWarnings("nls") +public class RequirementNattableTest { + + public static final String REQUIREMENT_NATTABLE_PATH = Activator.PLUGIN_ID + "/resources/requirement.nattableconfiguration"; + + public static final String REQUIREMENT_TREE_NATTABLE_PATH = Activator.PLUGIN_ID + "/resources/requirementTree.nattableconfiguration"; + + @Before + public void loadElementTypeRegistry(){ + ElementTypeSetConfigurationRegistry.getInstance(); + } + + /** + * Validate the model with the rules defined in the meta-model tooling + */ + @Test + public void validateRequirementNattableModel() { + URI createPlatformPluginURI = URI.createPlatformPluginURI(REQUIREMENT_NATTABLE_PATH, true); + Resource resource = new ResourceSetImpl().getResource(createPlatformPluginURI, true); + Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); + Assert.assertEquals("The requirement nattable model is not valid ", Diagnostic.OK, diagnostic.getSeverity()); + } + + /** + * Validate the model with the rules defined in the meta-model tooling + */ + @Test + public void validateRequirementTreeNattableModel() { + URI createPlatformPluginURI = URI.createPlatformPluginURI(REQUIREMENT_TREE_NATTABLE_PATH, true); + Resource resource = new ResourceSetImpl().getResource(createPlatformPluginURI, true); + Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); + Assert.assertEquals("The requirement tree nattable model is not valid ", Diagnostic.OK, diagnostic.getSeverity()); + } + + + + /** + * check that the past configuration use a correct element type id + */ + @Test + public void checkPastedElementId() throws ServiceException{ + URI createPlatformPluginURI = URI.createPlatformPluginURI(REQUIREMENT_NATTABLE_PATH, true); + ResourceSetImpl resourceSetImpl = new ResourceSetImpl(); + Resource resource = resourceSetImpl.getResource(createPlatformPluginURI, true); + TreeIterator<EObject> allContents = resource.getAllContents(); + while (allContents.hasNext()) { + EObject eObject = (EObject) allContents.next(); + if (eObject instanceof PasteEObjectConfiguration) { + PasteEObjectConfiguration pasteEObjectConfiguration = (PasteEObjectConfiguration) eObject; + String elementTypeId = pasteEObjectConfiguration.getPastedElementId(); + Assert.assertTrue("Unregistred element id : " + elementTypeId, SysMLServiceTypeUtil.isKnown(elementTypeId)); + } + } + } + + /** + * check that the past configuration use a correct element type id + */ + @Test + public void checkTreePastedElementId() throws ServiceException{ + URI createPlatformPluginURI = URI.createPlatformPluginURI(REQUIREMENT_TREE_NATTABLE_PATH, true); + ResourceSetImpl resourceSetImpl = new ResourceSetImpl(); + Resource resource = resourceSetImpl.getResource(createPlatformPluginURI, true); + TreeIterator<EObject> allContents = resource.getAllContents(); + while (allContents.hasNext()) { + EObject eObject = (EObject) allContents.next(); + if (eObject instanceof PasteEObjectConfiguration) { + PasteEObjectConfiguration pasteEObjectConfiguration = (PasteEObjectConfiguration) eObject; + String elementTypeId = pasteEObjectConfiguration.getPastedElementId(); + Assert.assertTrue("Unregistred element id : " + elementTypeId, SysMLServiceTypeUtil.isKnown(elementTypeId)); + } + } + } + +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.requirement.tests/src/org/eclipse/papyrus/sysml/nattable/requirement/tests/tester/RequirementTableTesterTest.java b/table/org.eclipse.papyrus.sysml.nattable.requirement.tests/src/org/eclipse/papyrus/sysml/nattable/requirement/tests/tester/RequirementTableTesterTest.java new file mode 100644 index 0000000..97613dc --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.requirement.tests/src/org/eclipse/papyrus/sysml/nattable/requirement/tests/tester/RequirementTableTesterTest.java
@@ -0,0 +1,78 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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: + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.nattable.requirement.tests.tester; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; +import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; +import org.eclipse.papyrus.sysml.nattable.requirement.tester.RequirementTableTester; +import org.eclipse.papyrus.sysml.requirements.RequirementsPackage; +import org.eclipse.papyrus.sysml.util.SysMLResource; +import org.eclipse.uml2.uml.Class; +import org.eclipse.uml2.uml.Model; +import org.eclipse.uml2.uml.UMLFactory; +import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; +import org.junit.Assert; +import org.junit.BeforeClass; +import org.junit.Test; + +/** + * Tests on RequirementTableTester + */ +public class RequirementTableTesterTest { + + + @BeforeClass + public static void loadElementTypeSet (){ + ElementTypeSetConfigurationRegistry.getInstance(); + } + + /** + * Check that the tester don't allow null parameter + */ + @Test + public void testNull() { + RequirementTableTester tableRequirementTester = new RequirementTableTester(); + IStatus emptyNotAllowed = tableRequirementTester.isAllowed(null); + Assert.assertEquals("The tester should not work on a null entry", IStatus.ERROR, emptyNotAllowed.getSeverity()); //$NON-NLS-1$ + } + + /** + * Check that the tester don't allow non profiled parameter + */ + @Test + public void testMissingProfile() { + RequirementTableTester tableRequirementTester = new RequirementTableTester(); + org.eclipse.uml2.uml.Package pck = UMLFactory.eINSTANCE.createPackage(); + IStatus missingStereotypeNotAllowed = tableRequirementTester.isAllowed(pck); + Assert.assertEquals("The tester should not work on a non profiled entry", IStatus.ERROR, missingStereotypeNotAllowed.getSeverity()); //$NON-NLS-1$ + } + + + /** + * Check that the tester allow a requirement + */ + @Test + public void testRequirement() { + RequirementTableTester tableRequirementTester = new RequirementTableTester(); + Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); + Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); //$NON-NLS-1$ + Class requirement = model.createOwnedClass("requirement", false);//$NON-NLS-1$ + StereotypeApplicationHelper stereotypeApplicationHelper = StereotypeApplicationHelper.getInstance(null); + stereotypeApplicationHelper.applyStereotype(requirement, RequirementsPackage.eINSTANCE.getRequirement()); + IStatus missingStereotypeNotAllowed = tableRequirementTester.isAllowed(requirement); + Assert.assertEquals("The tester should work on a requirement", IStatus.OK, missingStereotypeNotAllowed.getSeverity()); //$NON-NLS-1$ + } + +}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement/.classpath b/table/org.eclipse.papyrus.sysml.nattable.requirement/.classpath similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.requirement/.classpath rename to table/org.eclipse.papyrus.sysml.nattable.requirement/.classpath
diff --git a/table/org.eclipse.papyrus.sysml.nattable.requirement/.project b/table/org.eclipse.papyrus.sysml.nattable.requirement/.project new file mode 100644 index 0000000..5cc0b7b --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.requirement/.project
@@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.nattable.requirement</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> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription>
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement/.settings/org.eclipse.core.resources.prefs b/table/org.eclipse.papyrus.sysml.nattable.requirement/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.requirement/.settings/org.eclipse.core.resources.prefs rename to table/org.eclipse.papyrus.sysml.nattable.requirement/.settings/org.eclipse.core.resources.prefs
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement/.settings/org.eclipse.jdt.core.prefs b/table/org.eclipse.papyrus.sysml.nattable.requirement/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.requirement/.settings/org.eclipse.jdt.core.prefs rename to table/org.eclipse.papyrus.sysml.nattable.requirement/.settings/org.eclipse.jdt.core.prefs
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement/.settings/org.eclipse.jdt.ui.prefs b/table/org.eclipse.papyrus.sysml.nattable.requirement/.settings/org.eclipse.jdt.ui.prefs similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.requirement/.settings/org.eclipse.jdt.ui.prefs rename to table/org.eclipse.papyrus.sysml.nattable.requirement/.settings/org.eclipse.jdt.ui.prefs
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement/.settings/org.eclipse.m2e.core.prefs b/table/org.eclipse.papyrus.sysml.nattable.requirement/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.requirement/.settings/org.eclipse.m2e.core.prefs rename to table/org.eclipse.papyrus.sysml.nattable.requirement/.settings/org.eclipse.m2e.core.prefs
diff --git a/table/org.eclipse.papyrus.sysml.nattable.requirement/META-INF/MANIFEST.MF b/table/org.eclipse.papyrus.sysml.nattable.requirement/META-INF/MANIFEST.MF new file mode 100644 index 0000000..746303c --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.requirement/META-INF/MANIFEST.MF
@@ -0,0 +1,26 @@ +Manifest-Version: 1.0 +Require-Bundle: org.eclipse.ui;bundle-version="[3.107.0,4.0.0)", + org.eclipse.core.runtime;bundle-version="[3.11.1,4.0.0)", + org.eclipse.uml2.uml;bundle-version="[5.1.0,6.0.0)", + org.eclipse.gmf.runtime.diagram.core;bundle-version="[1.7.0,2.0.0)", + org.eclipse.papyrus.infra.tools;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.emf.nattable;bundle-version="3.0.0", + org.eclipse.papyrus.infra.nattable.common;bundle-version="3.0.0", + org.eclipse.papyrus.infra.nattable;bundle-version="3.0.0", + org.eclipse.papyrus.infra.nattable.model;bundle-version="3.0.0", + org.eclipse.papyrus.uml.tools.utils;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.nattable;bundle-version="3.0.0", + org.eclipse.papyrus.uml.nattable.richtext;bundle-version="2.1.0", + org.eclipse.papyrus.sysml;bundle-version="1.0.0", + org.eclipse.papyrus.sysml.service.types;bundle-version="1.0.0" +Bundle-Vendor: %Bundle-Vendor +Bundle-ActivationPolicy: lazy +Bundle-Version: 4.0.0.qualifier +Bundle-Name: %Bundle-Name +Bundle-Activator: org.eclipse.papyrus.sysml.nattable.requirement.Activator +Bundle-ManifestVersion: 2 +Bundle-SymbolicName: org.eclipse.papyrus.sysml.nattable.requirement;singleton:=true +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Export-Package: org.eclipse.papyrus.sysml.nattable.requirement, + org.eclipse.papyrus.sysml.nattable.requirement.tester +Bundle-Description: %Bundle-Description
diff --git a/table/org.eclipse.papyrus.sysml.nattable.requirement/OSGI-INF/l10n/bundle.properties b/table/org.eclipse.papyrus.sysml.nattable.requirement/OSGI-INF/l10n/bundle.properties new file mode 100644 index 0000000..c528b8f --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.requirement/OSGI-INF/l10n/bundle.properties
@@ -0,0 +1,11 @@ +################################################################################# +# Copyright (c) 2015 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 +# +################################################################################## +Bundle-Vendor = Eclipse Modeling Project +Bundle-Name = Papyrus SysML 1.5 Requirement Table +Bundle-Description=This plugin provides the configuration to use for Requirement Table. \ No newline at end of file
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement/about.html b/table/org.eclipse.papyrus.sysml.nattable.requirement/about.html similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.requirement/about.html rename to table/org.eclipse.papyrus.sysml.nattable.requirement/about.html
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement/build.properties b/table/org.eclipse.papyrus.sysml.nattable.requirement/build.properties similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.requirement/build.properties rename to table/org.eclipse.papyrus.sysml.nattable.requirement/build.properties
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement/icons/table_SysML_Requirement.png b/table/org.eclipse.papyrus.sysml.nattable.requirement/icons/table_SysML_Requirement.png similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.requirement/icons/table_SysML_Requirement.png rename to table/org.eclipse.papyrus.sysml.nattable.requirement/icons/table_SysML_Requirement.png Binary files differ
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement/icons/table_SysML_Requirement_new.png b/table/org.eclipse.papyrus.sysml.nattable.requirement/icons/table_SysML_Requirement_new.png similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.requirement/icons/table_SysML_Requirement_new.png rename to table/org.eclipse.papyrus.sysml.nattable.requirement/icons/table_SysML_Requirement_new.png Binary files differ
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement/icons/table_SysML_Tree_Requirement.png b/table/org.eclipse.papyrus.sysml.nattable.requirement/icons/table_SysML_Tree_Requirement.png similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.requirement/icons/table_SysML_Tree_Requirement.png rename to table/org.eclipse.papyrus.sysml.nattable.requirement/icons/table_SysML_Tree_Requirement.png Binary files differ
diff --git a/table/org.eclipse.papyrus.sysml.nattable.requirement/plugin.xml b/table/org.eclipse.papyrus.sysml.nattable.requirement/plugin.xml new file mode 100644 index 0000000..e157c75 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.requirement/plugin.xml
@@ -0,0 +1,101 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.4"?> +<plugin> + <extension + point="org.eclipse.papyrus.infra.nattable.configuration"> + <configuration + file="resources/requirement.nattableconfiguration" + type="PapyrusSysMLRequirementTable"> + </configuration> + </extension> + <extension + point="org.eclipse.papyrus.infra.nattable.configuration"> + <configuration + file="resources/requirementTree.nattableconfiguration" + type="PapyrusSysMLRequirementTreeTable"> + </configuration> + </extension> + <extension + point="org.eclipse.papyrus.infra.nattable.tester"> + <tester + class="org.eclipse.papyrus.sysml.nattable.requirement.tester.RequirementTableTester" + id="org.eclipse.papyrus.sysml.nattable.config.canCreateRequirementTable"> + </tester> + </extension> + <extension + point="org.eclipse.ui.commands"> + <command + categoryId="org.eclipse.papyrus.editor.category" + description="Create a SysML Requirement NatTable Editor" + id="org.eclipse.papyrus.sysml.nattable.requirement.create.command" + name="Create a new Requirement Table"> + </command> + <command + categoryId="org.eclipse.papyrus.editor.category" + description="Create a SysML Requirement NatTable Editor Without Dialog for Name" + id="org.eclipse.papyrus.sysml.nattable.requirement.create.withoutdialog.command" + name="Create a new Requirement Table"> + </command> + </extension> + <extension + point="org.eclipse.ui.handlers"> + <handler + commandId="org.eclipse.papyrus.sysml.nattable.requirement.create.command"> + <activeWhen> + <or> + <with + variable="activeEditorId"> + <equals + value="org.eclipse.papyrus.infra.core.papyrusEditor"> + </equals> + </with> + </or> + </activeWhen> + <class + class="org.eclipse.papyrus.infra.nattable.common.handlers.CreateNatTableEditorHandler"> + <parameter + name="tableType" + value="PapyrusSysMLRequirementTable"> + </parameter> + </class> + </handler> + <handler + commandId="org.eclipse.papyrus.sysml.nattable.requirement.create.withoutdialog.command"> + <activeWhen> + <or> + <with + variable="activeEditorId"> + <equals + value="org.eclipse.papyrus.infra.core.papyrusEditor"> + </equals> + </with> + </or> + </activeWhen> + <class + class="org.eclipse.papyrus.infra.nattable.common.handlers.CreateNatTableEditorWithoutDialogHandler"> + <parameter + name="tableType" + value="PapyrusSysMLRequirementTable"> + </parameter> + </class> + </handler> + </extension> + <extension + point="org.eclipse.ui.commandImages"> + <image + commandId="org.eclipse.papyrus.sysml.nattable.requirement.create.command" + icon="icons/table_SysML_Requirement_new.png"> + </image> + <image + commandId="org.eclipse.papyrus.sysml.nattable.requirement.create.withoutdialog.command" + icon="icons/table_SysML_Requirement_new.png"> + </image> + </extension> + <extension + point="org.eclipse.papyrus.infra.nattable.celleditor.configuration"> + <cellAxisConfiguration + class="org.eclipse.papyrus.sysml.nattable.requirement.config.RequirementTextStringCellEditorConfiguration" + order="149"><!--This configuration has priority over the RichTextCellEditorConfiguration--> + </cellAxisConfiguration> + </extension> +</plugin>
diff --git a/table/org.eclipse.papyrus.sysml.nattable.requirement/pom.xml b/table/org.eclipse.papyrus.sysml.nattable.requirement/pom.xml new file mode 100644 index 0000000..f3c9284 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.requirement/pom.xml
@@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.papyrus.sysml</groupId> + <artifactId>org.eclipse.papyrus.sysml.table</artifactId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.nattable.requirement</artifactId> + <packaging>eclipse-plugin</packaging> + <description>This plugins defines the requirement table of SysML.</description> +</project> \ No newline at end of file
diff --git a/table/org.eclipse.papyrus.sysml.nattable.requirement/resources/requirement.nattableconfiguration b/table/org.eclipse.papyrus.sysml.nattable.requirement/resources/requirement.nattableconfiguration new file mode 100644 index 0000000..27405e1 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.requirement/resources/requirement.nattableconfiguration
@@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<nattableconfiguration:TableConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:nattableaxis="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis" xmlns:nattableaxisconfiguration="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration" xmlns:nattableaxisprovider="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider" xmlns:nattableconfiguration="http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration" xmlns:nattablelabelprovider="http://www.eclipse.org/papyrus/nattable/model/table/nattablecontentprovider" xmlns:nattablestyle="http://www.eclipse.org/papyrus/nattable/model/table/nattablestyle" xmlns:nattabletester="http://www.eclipse.org/papyrus/nattable/model/table/nattabletester" description="A synchronized table for SysML Requirements" name="RequirementTable" type="PapyrusSysMLRequirementTable" iconPath="platform:/plugin/org.eclipse.papyrus.sysml.nattable.requirement/icons/table_SysML_Requirement.png" defaultRowAxisProvider="//@rowAxisProviders.0" defaultColumnAxisProvider="//@columnAxisProviders.0"> + <styles xsi:type="nattablestyle:StringListValueStyle" name="dragRegions"> + <stringListValue>ROW_HEADER</stringListValue> + </styles> + <creationTester xsi:type="nattabletester:JavaTableTester" tester="org.eclipse.papyrus.sysml.nattable.config.canCreateRequirementTable"/> + <rowHeaderAxisConfiguration xsi:type="nattableaxisconfiguration:TableHeaderAxisConfiguration" indexStyle="NUMERIC" displayIndex="false"> + <ownedLabelConfigurations xsi:type="nattablelabelprovider:ObjectLabelProviderConfiguration"/> + <ownedLabelConfigurations xsi:type="nattablelabelprovider:OperationLabelProviderConfiguration" displayType="false" displayMultiplicity="false"/> + <ownedAxisConfigurations xsi:type="nattableaxisconfiguration:EStructuralFeatureValueFillingConfiguration"> + <listenFeature xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace/ownedMember"/> + </ownedAxisConfigurations> + <ownedAxisConfigurations xsi:type="nattableaxisconfiguration:PasteEObjectConfiguration" pastedElementId="org.eclipse.papyrus.SysML.Requirement"> + <postActions>applyStereotype:/SysML::Requirements::Requirement</postActions> + <pasteElementContainementFeature xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package/packagedElement"/> + <axisIdentifier xsi:type="nattableaxis:EStructuralFeatureAxis" xmi:id="_OgydQXmoEeWVZIGG1XbiFw"> + <manager xsi:type="nattableaxisconfiguration:AxisManagerRepresentation" href="platform:/plugin/org.eclipse.papyrus.sysml.nattable.requirement/resources/requirement.nattableconfiguration#//@columnHeaderAxisConfiguration/@axisManagers.0"/> + <element xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> + </axisIdentifier> + </ownedAxisConfigurations> + <axisManagers xsi:type="nattableaxisconfiguration:AxisManagerRepresentation" axisManagerId="org.eclipse.papyrus.sysml.nattable.requirement.axis.manager" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.labelprovider" headerLabelConfiguration="//@rowHeaderAxisConfiguration/@ownedLabelConfigurations.0" specificAxisConfigurations="//@rowHeaderAxisConfiguration/@ownedAxisConfigurations.0"/> + </rowHeaderAxisConfiguration> + <columnHeaderAxisConfiguration xsi:type="nattableaxisconfiguration:TableHeaderAxisConfiguration" displayIndex="false"> + <ownedLabelConfigurations xsi:type="nattablelabelprovider:FeatureLabelProviderConfiguration" displayType="false" displayMultiplicity="false"/> + <ownedLabelConfigurations xsi:type="nattablelabelprovider:OperationLabelProviderConfiguration"/> + <axisManagers xsi:type="nattableaxisconfiguration:AxisManagerRepresentation" axisManagerId="org.eclipse.papyrus.uml.nattable.feature.axis.manager" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.feature.labelprovider" headerLabelConfiguration="//@columnHeaderAxisConfiguration/@ownedLabelConfigurations.0"/> + <axisManagers xsi:type="nattableaxisconfiguration:AxisManagerRepresentation" axisManagerId="org.eclipse.papyrus.uml.nattable.stereotype.property.axis.manager" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.feature.labelprovider" headerLabelConfiguration="//@columnHeaderAxisConfiguration/@ownedLabelConfigurations.0"/> + <axisManagers xsi:type="nattableaxisconfiguration:AxisManagerRepresentation" axisManagerId="org.eclipse.papyrus.uml.nattable.operation.axis.manager" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.operation.labelprovider" headerLabelConfiguration="//@columnHeaderAxisConfiguration/@ownedLabelConfigurations.1"/> + </columnHeaderAxisConfiguration> + <columnAxisProviders xsi:type="nattableaxisprovider:SlaveObjectAxisProvider" description="Provides the columns of the tables with a default configuration" name="Requirements Feature Columns Provider"> + <axis xsi:type="nattableaxis:FeatureIdAxis" manager="//@columnHeaderAxisConfiguration/@axisManagers.1" element="property_of_stereotype:/SysML::Requirements::AbstractRequirement::id"/> + <axis xsi:type="nattableaxis:FeatureIdAxis" manager="//@columnHeaderAxisConfiguration/@axisManagers.1" element="property_of_stereotype:/SysML::Requirements::AbstractRequirement::text"/> + </columnAxisProviders> + <rowAxisProviders xsi:type="nattableaxisprovider:MasterObjectAxisProvider" description="Provides the requirements directly owned by the context of the table" name="Requirement Axis Provider" disconnectSlave="true"/> +</nattableconfiguration:TableConfiguration>
diff --git a/table/org.eclipse.papyrus.sysml.nattable.requirement/resources/requirementTree.nattableconfiguration b/table/org.eclipse.papyrus.sysml.nattable.requirement/resources/requirementTree.nattableconfiguration new file mode 100644 index 0000000..5321c4d --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.requirement/resources/requirementTree.nattableconfiguration
@@ -0,0 +1,71 @@ +<?xml version="1.0" encoding="UTF-8"?> +<nattableconfiguration:TableConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:nattableaxis="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis" xmlns:nattableaxisconfiguration="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration" xmlns:nattableaxisprovider="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider" xmlns:nattableconfiguration="http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration" xmlns:nattablelabelprovider="http://www.eclipse.org/papyrus/nattable/model/table/nattablecontentprovider" xmlns:nattablestyle="http://www.eclipse.org/papyrus/nattable/model/table/nattablestyle" xmlns:nattabletester="http://www.eclipse.org/papyrus/nattable/model/table/nattabletester" description="This table allows to display owned requirements of the context of the table as tree" name="RequirementTreeTable" type="PapyrusSysMLRequirementTreeTable" iconPath="platform:/plugin/org.eclipse.papyrus.sysml.nattable.requirement/icons/table_SysML_Tree_Requirement.png" defaultRowAxisProvider="//@rowAxisProviders.0" defaultColumnAxisProvider="//@columnAxisProviders.0"> + <styles xsi:type="nattablestyle:TableDisplayStyle" displayStyle="HIERARCHIC_SINGLE_TREE_COLUMN"/> + <styles xsi:type="nattablestyle:StringListValueStyle" name="dragRegions"> + <stringListValue>ROW_HEADER</stringListValue> + </styles> + <styles xsi:type="nattablestyle:BooleanValueStyle" name="expandAll" booleanValue="true"/> + <styles xsi:type="nattablestyle:IntListValueStyle" name="hiddenCategoriesByDepth"> + <intListValue>0</intListValue> + <intListValue>1</intListValue> + <intListValue>2</intListValue> + <intListValue>3</intListValue> + <intListValue>4</intListValue> + </styles> + <creationTester xsi:type="nattabletester:JavaTableTester" tester="org.eclipse.papyrus.sysml.nattable.config.canCreateRequirementTable"/> + <rowHeaderAxisConfiguration xsi:type="nattableaxisconfiguration:TableHeaderAxisConfiguration" indexStyle="NUMERIC" displayIndex="false"> + <ownedLabelConfigurations xsi:type="nattablelabelprovider:ObjectLabelProviderConfiguration"/> + <ownedLabelConfigurations xsi:type="nattablelabelprovider:FeatureLabelProviderConfiguration" displayType="false" displayMultiplicity="false"/> + <ownedLabelConfigurations xsi:type="nattablelabelprovider:OperationLabelProviderConfiguration" displayType="false" displayMultiplicity="false"/> + <ownedAxisConfigurations xsi:type="nattableaxisconfiguration:TreeFillingConfiguration" pasteConfiguration="//@rowHeaderAxisConfiguration/@ownedAxisConfigurations.5" labelProvider="//@rowHeaderAxisConfiguration/@ownedLabelConfigurations.1" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.treefilling.feature.labelprovider"> + <axisUsedAsAxisProvider xsi:type="nattableaxis:EStructuralFeatureAxis" alias="nestedRequirements"> + <element xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element/ownedElement"/> + </axisUsedAsAxisProvider> + </ownedAxisConfigurations> + <ownedAxisConfigurations xsi:type="nattableaxisconfiguration:TreeFillingConfiguration" pasteConfiguration="//@rowHeaderAxisConfiguration/@ownedAxisConfigurations.6" depth="1" labelProvider="//@rowHeaderAxisConfiguration/@ownedLabelConfigurations.1" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.treefilling.feature.labelprovider"> + <axisUsedAsAxisProvider xsi:type="nattableaxis:EStructuralFeatureAxis" alias="nestedRequirements"> + <element xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class/nestedClassifier"/> + </axisUsedAsAxisProvider> + </ownedAxisConfigurations> + <ownedAxisConfigurations xsi:type="nattableaxisconfiguration:TreeFillingConfiguration" pasteConfiguration="//@rowHeaderAxisConfiguration/@ownedAxisConfigurations.7" depth="2" labelProvider="//@rowHeaderAxisConfiguration/@ownedLabelConfigurations.1" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.treefilling.feature.labelprovider"> + <axisUsedAsAxisProvider xsi:type="nattableaxis:EStructuralFeatureAxis" alias="nestedRequirements"> + <element xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class/nestedClassifier"/> + </axisUsedAsAxisProvider> + </ownedAxisConfigurations> + <ownedAxisConfigurations xsi:type="nattableaxisconfiguration:TreeFillingConfiguration" pasteConfiguration="//@rowHeaderAxisConfiguration/@ownedAxisConfigurations.7" depth="3" labelProvider="//@rowHeaderAxisConfiguration/@ownedLabelConfigurations.1" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.treefilling.feature.labelprovider"> + <axisUsedAsAxisProvider xsi:type="nattableaxis:EStructuralFeatureAxis" alias="nestedRequirements"> + <element xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class/nestedClassifier"/> + </axisUsedAsAxisProvider> + </ownedAxisConfigurations> + <ownedAxisConfigurations xsi:type="nattableaxisconfiguration:TreeFillingConfiguration" pasteConfiguration="//@rowHeaderAxisConfiguration/@ownedAxisConfigurations.7" depth="4" labelProvider="//@rowHeaderAxisConfiguration/@ownedLabelConfigurations.1" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.treefilling.feature.labelprovider"> + <axisUsedAsAxisProvider xsi:type="nattableaxis:EStructuralFeatureAxis" alias="nestedRequirements"> + <element xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class/nestedClassifier"/> + </axisUsedAsAxisProvider> + </ownedAxisConfigurations> + <ownedAxisConfigurations xsi:type="nattableaxisconfiguration:PasteEObjectConfiguration" detachedMode="false" pastedElementId="org.eclipse.papyrus.SysML.Requirement"> + <pasteElementContainementFeature xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package/packagedElement"/> + <axisIdentifier xsi:type="nattableaxis:FeatureIdAxis" manager="//@columnHeaderAxisConfiguration/@axisManagers.1" element="property_of_stereotype:/SysML::Requirements::Requirement::text"/> + </ownedAxisConfigurations> + <ownedAxisConfigurations xsi:type="nattableaxisconfiguration:PasteEObjectConfiguration" detachedMode="false" pastedElementId="org.eclipse.papyrus.SysML.Requirement"> + <pasteElementContainementFeature xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class/nestedClassifier"/> + <axisIdentifier xsi:type="nattableaxis:FeatureIdAxis" manager="//@columnHeaderAxisConfiguration/@axisManagers.1" element="property_of_stereotype:/SysML::Requirements::Requirement::text"/> + </ownedAxisConfigurations> + <ownedAxisConfigurations xsi:type="nattableaxisconfiguration:PasteEObjectConfiguration" detachedMode="false" pastedElementId="org.eclipse.papyrus.SysML.Requirement"> + <pasteElementContainementFeature xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class/nestedClassifier"/> + <axisIdentifier xsi:type="nattableaxis:FeatureIdAxis" manager="//@columnHeaderAxisConfiguration/@axisManagers.1" element="property_of_stereotype:/SysML::Requirements::Requirement::text"/> + </ownedAxisConfigurations> + <axisManagers xsi:type="nattableaxisconfiguration:AxisManagerRepresentation" axisManagerId="org.eclipse.papyrus.sysml.nattable.requirement.tree.axis.manager" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.labelprovider" headerLabelConfiguration="//@rowHeaderAxisConfiguration/@ownedLabelConfigurations.0" specificAxisConfigurations="//@rowHeaderAxisConfiguration/@ownedAxisConfigurations.0 //@rowHeaderAxisConfiguration/@ownedAxisConfigurations.1 //@rowHeaderAxisConfiguration/@ownedAxisConfigurations.2 //@rowHeaderAxisConfiguration/@ownedAxisConfigurations.3 //@rowHeaderAxisConfiguration/@ownedAxisConfigurations.4"/> + </rowHeaderAxisConfiguration> + <columnHeaderAxisConfiguration xsi:type="nattableaxisconfiguration:TableHeaderAxisConfiguration" displayIndex="false"> + <ownedLabelConfigurations xsi:type="nattablelabelprovider:FeatureLabelProviderConfiguration" displayType="false" displayMultiplicity="false"/> + <ownedLabelConfigurations xsi:type="nattablelabelprovider:OperationLabelProviderConfiguration"/> + <axisManagers xsi:type="nattableaxisconfiguration:AxisManagerRepresentation" axisManagerId="org.eclipse.papyrus.uml.nattable.feature.axis.manager" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.feature.labelprovider" headerLabelConfiguration="//@columnHeaderAxisConfiguration/@ownedLabelConfigurations.0"/> + <axisManagers xsi:type="nattableaxisconfiguration:AxisManagerRepresentation" axisManagerId="org.eclipse.papyrus.uml.nattable.stereotype.property.axis.manager" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.feature.labelprovider" headerLabelConfiguration="//@columnHeaderAxisConfiguration/@ownedLabelConfigurations.0"/> + <axisManagers xsi:type="nattableaxisconfiguration:AxisManagerRepresentation" axisManagerId="org.eclipse.papyrus.uml.nattable.operation.axis.manager" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.operation.labelprovider" headerLabelConfiguration="//@columnHeaderAxisConfiguration/@ownedLabelConfigurations.1"/> + </columnHeaderAxisConfiguration> + <columnAxisProviders xsi:type="nattableaxisprovider:SlaveObjectAxisProvider" description="Provides the columns of the tables with a default configuration" name="Requirements Feature Columns Provider"> + <axis xsi:type="nattableaxis:FeatureIdAxis" manager="//@columnHeaderAxisConfiguration/@axisManagers.1" element="property_of_stereotype:/SysML::Requirements::AbstractRequirement::id"/> + <axis xsi:type="nattableaxis:FeatureIdAxis" manager="//@columnHeaderAxisConfiguration/@axisManagers.1" element="property_of_stereotype:/SysML::Requirements::AbstractRequirement::text"/> + </columnAxisProviders> + <rowAxisProviders xsi:type="nattableaxisprovider:MasterObjectAxisProvider" description="This axis provider manages the rows, according to the wanted hierarchy" name="HierarchicalRowAxisManager" disconnectSlave="true"/> +</nattableconfiguration:TableConfiguration>
diff --git a/table/org.eclipse.papyrus.sysml.nattable.requirement/src/org/eclipse/papyrus/sysml/nattable/requirement/Activator.java b/table/org.eclipse.papyrus.sysml.nattable.requirement/src/org/eclipse/papyrus/sysml/nattable/requirement/Activator.java new file mode 100644 index 0000000..95ec16b --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.requirement/src/org/eclipse/papyrus/sysml/nattable/requirement/Activator.java
@@ -0,0 +1,24 @@ +/***************************************************************************** + * Copyright (c) 2015 CEA LIST and others. + * + * 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 + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.requirement; + +import org.eclipse.ui.plugin.AbstractUIPlugin; + +/** + * 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.sysml.nattable.requirement"; //$NON-NLS-1$ + + public static final String TABLE_TYPE = "PapyrusSysMLRequirementTable"; //$NON-NLS-1$ + +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.requirement/src/org/eclipse/papyrus/sysml/nattable/requirement/config/RequirementTextStringCellEditorConfiguration.java b/table/org.eclipse.papyrus.sysml.nattable.requirement/src/org/eclipse/papyrus/sysml/nattable/requirement/config/RequirementTextStringCellEditorConfiguration.java new file mode 100644 index 0000000..af94477 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.requirement/src/org/eclipse/papyrus/sysml/nattable/requirement/config/RequirementTextStringCellEditorConfiguration.java
@@ -0,0 +1,64 @@ +/***************************************************************************** + * Copyright (c) 2017 CEA LIST and others. + * + * 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: + * Thanh Liem PHAN (ALL4TEC) thanhliem.phan@all4tec.net - Bug 519406 + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.nattable.requirement.config; + +import org.eclipse.papyrus.infra.nattable.model.nattable.Table; +import org.eclipse.papyrus.infra.nattable.utils.AxisUtils; +import org.eclipse.papyrus.sysml.util.SysMLQualifiedName; +import org.eclipse.papyrus.uml.nattable.richtext.celleditor.config.RichTextCellEditorConfiguration; +import org.eclipse.papyrus.uml.nattable.utils.UMLTableUtils; + +/** + * Cell Editor configuration for the Text field of Requirement table. + * + */ +public class RequirementTextStringCellEditorConfiguration extends RichTextCellEditorConfiguration { + + /** The ID of this cell editor. */ + private static final String ID = "org.eclipse.papyrus.sysml.nattable.requirement.config.RequirementTextStringCellEditorConfiguration";//$NON-NLS-1$ + + /** Requirement Text column ID in SysML Requirements table. */ + private static final String SYSML_REQUIREMENTS_REQUIREMENT_TEXT_ID = UMLTableUtils.PROPERTY_OF_STEREOTYPE_PREFIX + SysMLQualifiedName.SYSML_REQUIREMENTS_REQUIREMENT_TEXT_QN; + + /** + * {@inheritDoc} + * + * @see org.eclipse.papyrus.infra.nattable.configuration.IPapyrusNatTableConfiguration#getConfigurationId() + */ + @Override + public String getConfigurationId() { + return ID; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.papyrus.infra.nattable.configuration.IPapyrusNatTableConfiguration#getConfigurationDescription() + */ + @Override + public String getConfigurationDescription() { + return "This configuration provides a Rich Text Editor for the Text field of Requirement table"; + } + + /** + * {@inheritDoc} + * + * @see org.eclipse.papyrus.infra.nattable.celleditor.config.ICellAxisConfiguration#handles(org.eclipse.papyrus.infra.nattable.model.nattable.Table, java.lang.Object) + */ + @Override + public boolean handles(final Table table, final Object axisElement) { + + // Handle only the Requirement::text column in Requirement table + return (SYSML_REQUIREMENTS_REQUIREMENT_TEXT_ID.equals(AxisUtils.getPropertyId(axisElement))); + } +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.requirement/src/org/eclipse/papyrus/sysml/nattable/requirement/tester/RequirementTableTester.java b/table/org.eclipse.papyrus.sysml.nattable.requirement/src/org/eclipse/papyrus/sysml/nattable/requirement/tester/RequirementTableTester.java new file mode 100644 index 0000000..113b810 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.requirement/src/org/eclipse/papyrus/sysml/nattable/requirement/tester/RequirementTableTester.java
@@ -0,0 +1,66 @@ +/***************************************************************************** + * 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: + * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation + * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Use Requirement matcher + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.requirement.tester; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Status; +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher; +import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; +import org.eclipse.papyrus.infra.nattable.tester.ITableTester; +import org.eclipse.papyrus.sysml.SysMLPackage; +import org.eclipse.papyrus.sysml.nattable.requirement.Activator; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.Package; +import org.eclipse.uml2.uml.Profile; +import org.eclipse.uml2.uml.util.UMLUtil; + +/** + * The tester used to know if we can create requirement table + * + */ +public class RequirementTableTester implements ITableTester { + + /** + * + * @see org.eclipse.papyrus.infra.nattable.tester.ITableTester#isAllowed(java.lang.Object) + * + * @param context + * @return + */ + @Override + public IStatus isAllowed(Object context) { + if (context instanceof Element) { + Element el = (Element) context; + ISpecializationType type = (ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_REQUIREMENT); + IElementMatcher matcher = type.getMatcher(); + if (context instanceof Package || matcher.matches(el)) { + Profile profile = UMLUtil.getProfile(SysMLPackage.eINSTANCE, el); + if (profile != null){ + final String packageQN = profile.getQualifiedName(); + if (el.getNearestPackage().getAppliedProfile(packageQN, true) != null) { + return new Status(IStatus.OK, Activator.PLUGIN_ID, "The context allowed to create a Requirement Table"); //$NON-NLS-1$ + } else { + return new Status(IStatus.ERROR, Activator.PLUGIN_ID, "The profile "+packageQN+" is not applied on the model"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } + + } + } + return new Status(IStatus.ERROR, Activator.PLUGIN_ID, "The context is not an UML Element"); //$NON-NLS-1$ + } + +}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/.classpath b/table/org.eclipse.papyrus.sysml.nattable.ui/.classpath similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.ui/.classpath rename to table/org.eclipse.papyrus.sysml.nattable.ui/.classpath
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/.project b/table/org.eclipse.papyrus.sysml.nattable.ui/.project new file mode 100644 index 0000000..d45f687 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/.project
@@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.nattable.ui</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> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription>
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/.settings/org.eclipse.core.resources.prefs b/table/org.eclipse.papyrus.sysml.nattable.ui/.settings/org.eclipse.core.resources.prefs similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.ui/.settings/org.eclipse.core.resources.prefs rename to table/org.eclipse.papyrus.sysml.nattable.ui/.settings/org.eclipse.core.resources.prefs
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/.settings/org.eclipse.jdt.core.prefs b/table/org.eclipse.papyrus.sysml.nattable.ui/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.ui/.settings/org.eclipse.jdt.core.prefs rename to table/org.eclipse.papyrus.sysml.nattable.ui/.settings/org.eclipse.jdt.core.prefs
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/.settings/org.eclipse.jdt.ui.prefs b/table/org.eclipse.papyrus.sysml.nattable.ui/.settings/org.eclipse.jdt.ui.prefs similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.ui/.settings/org.eclipse.jdt.ui.prefs rename to table/org.eclipse.papyrus.sysml.nattable.ui/.settings/org.eclipse.jdt.ui.prefs
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/.settings/org.eclipse.m2e.core.prefs b/table/org.eclipse.papyrus.sysml.nattable.ui/.settings/org.eclipse.m2e.core.prefs similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.ui/.settings/org.eclipse.m2e.core.prefs rename to table/org.eclipse.papyrus.sysml.nattable.ui/.settings/org.eclipse.m2e.core.prefs
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/META-INF/MANIFEST.MF b/table/org.eclipse.papyrus.sysml.nattable.ui/META-INF/MANIFEST.MF new file mode 100644 index 0000000..f13b644 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/META-INF/MANIFEST.MF
@@ -0,0 +1,34 @@ +Manifest-Version: 1.0 +Export-Package: org.eclipse.papyrus.sysml.nattable.ui, + org.eclipse.papyrus.sysml.nattable.ui.allocation.tester, + org.eclipse.papyrus.sysml.nattable.ui.filter, + org.eclipse.papyrus.sysml.nattable.ui.handlers +Require-Bundle: org.eclipse.ui;bundle-version="[3.107.0,4.0.0)", + org.eclipse.core.runtime;bundle-version="[3.11.1,4.0.0)", + org.eclipse.uml2.uml;bundle-version="[5.1.0,6.0.0)", + org.eclipse.gmf.runtime.emf.type.core;bundle-version="[1.9.0,2.0.0)", + org.eclipse.nebula.widgets.nattable.core;bundle-version="[1.2.0,2.0.0)", + org.eclipse.core.expressions;bundle-version="[3.4.500,4.0.0)", + org.eclipse.papyrus.infra.services.edit;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.nattable;bundle-version="3.0.0", + org.eclipse.papyrus.infra.core.sasheditor;bundle-version="[2.0.0,3.0.0)", + org.eclipse.papyrus.infra.core;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.infra.nattable.model;bundle-version="3.0.0", + org.eclipse.papyrus.infra.core.log;bundle-version="[1.1.0,2.0.0)", + org.eclipse.papyrus.infra.tools;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.nattable.menu;bundle-version="1.1.0", + org.eclipse.papyrus.uml.tools.utils;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.service.types;bundle-version="[3.0.0,4.0.0)", + org.eclipse.papyrus.uml.service.types.ui;bundle-version="[2.0.0,3.0.0)", + org.eclipse.papyrus.sysml.diagram.common;bundle-version="4.0.0", + org.eclipse.papyrus.sysml.service.types;bundle-version="1.0.0" +Bundle-Vendor: %Bundle-Vendor +Bundle-ActivationPolicy: lazy +Bundle-Version: 4.0.0.qualifier +Bundle-Name: %Bundle-Name +Bundle-Activator: org.eclipse.papyrus.sysml.nattable.ui.Activator +Bundle-ManifestVersion: 2 +Bundle-SymbolicName: org.eclipse.papyrus.sysml.nattable.ui;singleton:=true +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Bundle-Description: %Bundle-Description
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/OSGI-INF/l10n/bundle.properties b/table/org.eclipse.papyrus.sysml.nattable.ui/OSGI-INF/l10n/bundle.properties new file mode 100644 index 0000000..9d553ac --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/OSGI-INF/l10n/bundle.properties
@@ -0,0 +1,11 @@ +################################################################################# +# Copyright (c) 2015 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 +# +################################################################################## +Bundle-Vendor = Eclipse Modeling Project +Bundle-Name = Papyrus SysML 1.5 Table UI +Bundle-Description=This plugin provides the context menu for the tabular editor in SysML, with handlers for the creation of SysML model elements
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/about.html b/table/org.eclipse.papyrus.sysml.nattable.ui/about.html similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.ui/about.html rename to table/org.eclipse.papyrus.sysml.nattable.ui/about.html
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/build.properties b/table/org.eclipse.papyrus.sysml.nattable.ui/build.properties similarity index 100% rename from table/org.eclipse.papyrus.sysml14.nattable.ui/build.properties rename to table/org.eclipse.papyrus.sysml.nattable.ui/build.properties
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/plugin.xml b/table/org.eclipse.papyrus.sysml.nattable.ui/plugin.xml new file mode 100644 index 0000000..0c88957 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/plugin.xml
@@ -0,0 +1,755 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.4"?> +<plugin> +<extension point="org.eclipse.ui.handlers"> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.ActorPartPropertyHandler" commandId="org.eclipse.papyrus.sysml.service.types.ActorPartCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + <!-- commented because unactivated by the filter see bug 408984 + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.AllocateHandler" commandId="org.eclipse.papyrus.sysml.service.types.AllocateCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + --> + <!-- commented because unactivated by the filter see bug 408984 + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.AssociationHandler" commandId="org.eclipse.papyrus.sysml.service.types.AssociationCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.AssociationCompositeHandler" commandId="org.eclipse.papyrus.sysml.service.types.AssociationCompositeCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.AssociationCompositeDirectedHandler" commandId="org.eclipse.papyrus.sysml.service.types.AssociationCompositeDirectedCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.AssociationNoneHandler" commandId="org.eclipse.papyrus.sysml.service.types.AssociationNoneCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.AssociationNoneDirectedHandler" commandId="org.eclipse.papyrus.sysml.service.types.AssociationNoneDirectedCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.AssociationSharedHandler" commandId="org.eclipse.papyrus.sysml.service.types.AssociationSharedCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.AssociationSharedDirectedHandler" commandId="org.eclipse.papyrus.sysml.service.types.AssociationSharedDirectedCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + --> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.BlockHandler" commandId="org.eclipse.papyrus.sysml.service.types.BlockCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + <!-- commented because unactivated by the filter see bug 408984 + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.ConformHandler" commandId="org.eclipse.papyrus.sysml.service.types.ConformCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + --> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.ConstraintBlockHandler" commandId="org.eclipse.papyrus.sysml.service.types.ConstraintBlockCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.ConstraintBlockParameterHandler" commandId="org.eclipse.papyrus.sysml.service.types.ConstraintBlockParameterCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.ConstraintPropertyHandler" commandId="org.eclipse.papyrus.sysml.service.types.ConstraintPropertyCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + <!-- commented because unactivated by the filter see bug 408984 + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.CopyHandler" commandId="org.eclipse.papyrus.sysml.service.types.CopyCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.DeriveReqtHandler" commandId="org.eclipse.papyrus.sysml.service.types.DeriveReqtCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + --> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.FlowPortHandler" commandId="org.eclipse.papyrus.sysml.service.types.FlowPortCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.FlowPortNAHandler" commandId="org.eclipse.papyrus.sysml.service.types.FlowPort_NACreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.FlowPropertyHandler" commandId="org.eclipse.papyrus.sysml.service.types.FlowPropertyCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.FlowSpecificationHandler" commandId="org.eclipse.papyrus.sysml.service.types.FlowSpecificationCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + <!-- commented because unactivated by the filter see bug 408984 + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.ItemFlowHandler" commandId="org.eclipse.papyrus.sysml.service.types.ItemFlowCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + --> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.PartPropertyHandler" commandId="org.eclipse.papyrus.sysml.service.types.PartPropertyCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.ProblemHandler" commandId="org.eclipse.papyrus.sysml.service.types.ProblemCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.RationaleHandler" commandId="org.eclipse.papyrus.sysml.service.types.RationaleCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.ReferencePropertyHandler" commandId="org.eclipse.papyrus.sysml.service.types.ReferencePropertyCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.RequirementHandler" commandId="org.eclipse.papyrus.sysml.service.types.RequirementCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + <!-- commented because unactivated by the filter see bug 408984 + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.SatisfyHandler" commandId="org.eclipse.papyrus.sysml.service.types.SatisfyCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + --> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.UnitHandler" commandId="org.eclipse.papyrus.sysml.service.types.UnitCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.ValuePropertyHandler" commandId="org.eclipse.papyrus.sysml.service.types.ValuePropertyCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.ValueTypeHandler" commandId="org.eclipse.papyrus.sysml.service.types.ValueTypeCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + <!-- commented because unactivated by the filter see bug 408984 + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.ValueType_EnumerationHandler" commandId="org.eclipse.papyrus.sysml.service.types.ValueType_EnumerationCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.ValueType_PrimitiveTypeHandler" commandId="org.eclipse.papyrus.sysml.service.types.ValueType_PrimitiveTypeCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.VerifyHandler" commandId="org.eclipse.papyrus.sysml.service.types.VerifyCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + --> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.ViewHandler" commandId="org.eclipse.papyrus.sysml.service.types.ViewCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> + <handler class= "org.eclipse.papyrus.sysml.nattable.ui.handlers.ViewPointHandler" commandId="org.eclipse.papyrus.sysml.service.types.ViewPointCreateCommand" > + <activeWhen> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </activeWhen></handler> +</extension> + +<extension + point="org.eclipse.ui.menus"> + <menuContribution + allPopups="true" + locationURI="popup:org.eclipse.papyrus.infra.nattable.widget.menu?after=org.eclipse.papyrus.uml.nattable.create.uml.menu"> + <menu + id="org.eclipse.papyrus.sysml.nattable.ui.menu" + label="Create SysML 1.5 Element"> + <visibleWhen + checkEnabled="false"> + <with + variable="selection"> + <test + property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" + value="true"> + </test> + </with> + </visibleWhen> + </menu> + </menuContribution> + <menuContribution + allPopups="false" + class="org.eclipse.papyrus.sysml.nattable.ui.handlers.SysmlNattableCreateMenu" + locationURI="popup:org.eclipse.papyrus.sysml.nattable.ui.menu"> + </menuContribution> + </extension> + + + +<!-- SysML ElementType bindings to Papyrus shared IClientContext --> +<extension point="org.eclipse.ui.commands"> + + <!-- Creation command for ActorPart --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new ActorPart" id="org.eclipse.papyrus.sysml.service.types.ActorPartCreateCommand" name="Create a new ActorPart"> + </command> + + <!-- Creation command for Allocate --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new Allocate" id="org.eclipse.papyrus.sysml.service.types.AllocateCreateCommand" name="Create a new Allocate"> + </command> + + <!-- Creation command for Association --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new Association" id="org.eclipse.papyrus.sysml.service.types.AssociationCreateCommand" name="Create a new Association"> + </command> + + <!-- Creation command for AssociationComposite --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new AssociationComposite" id="org.eclipse.papyrus.sysml.service.types.AssociationCompositeCreateCommand" name="Create a new AssociationComposite"> + </command> + + <!-- Creation command for AssociationCompositeDirected --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new AssociationCompositeDirected" id="org.eclipse.papyrus.sysml.service.types.AssociationCompositeDirectedCreateCommand" name="Create a new AssociationCompositeDirected"> + </command> + + <!-- Creation command for AssociationNone --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new AssociationNone" id="org.eclipse.papyrus.sysml.service.types.AssociationNoneCreateCommand" name="Create a new AssociationNone"> + </command> + + <!-- Creation command for AssociationNoneDirected --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new AssociationNoneDirected" id="org.eclipse.papyrus.sysml.service.types.AssociationNoneDirectedCreateCommand" name="Create a new AssociationNoneDirected"> + </command> + + <!-- Creation command for AssociationShared --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new AssociationShared" id="org.eclipse.papyrus.sysml.service.types.AssociationSharedCreateCommand" name="Create a new AssociationShared"> + </command> + + <!-- Creation command for AssociationSharedDirected --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new AssociationSharedDirected" id="org.eclipse.papyrus.sysml.service.types.AssociationSharedDirectedCreateCommand" name="Create a new AssociationSharedDirected"> + </command> + + <!-- Creation command for Block --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new Block" id="org.eclipse.papyrus.sysml.service.types.BlockCreateCommand" name="Create a new Block"> + </command> + + <!-- Creation command for Conform --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new Conform" id="org.eclipse.papyrus.sysml.service.types.ConformCreateCommand" name="Create a new Conform"> + </command> + + <!-- Creation command for ConstraintBlock --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new ConstraintBlock" id="org.eclipse.papyrus.sysml.service.types.ConstraintBlockCreateCommand" name="Create a new ConstraintBlock"> + </command> + + <!-- Creation command for ConstraintBlockParameter --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new Parameter" id="org.eclipse.papyrus.sysml.service.types.ConstraintBlockParameterCreateCommand" name="Create a new Parameter"> + </command> + + <!-- Creation command for ConstraintProperty --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new ConstraintProperty" id="org.eclipse.papyrus.sysml.service.types.ConstraintPropertyCreateCommand" name="Create a new ConstraintProperty"> + </command> + + <!-- Creation command for Copy --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new Copy" id="org.eclipse.papyrus.sysml.service.types.CopyCreateCommand" name="Create a new Copy"> + </command> + + <!-- Creation command for DeriveReqt --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new DeriveReqt" id="org.eclipse.papyrus.sysml.service.types.DeriveReqtCreateCommand" name="Create a new DeriveReqt"> + </command> + + <!-- Creation command for FlowPort --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new FlowPort" id="org.eclipse.papyrus.sysml.service.types.FlowPortCreateCommand" name="Create a new FlowPort"> + </command> + + <!-- Creation command for FlowPort_NA --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new FlowPort (non atomic)" id="org.eclipse.papyrus.sysml.service.types.FlowPort_NACreateCommand" name="Create a new FlowPort (non atomic)"> + </command> + + <!-- Creation command for FlowProperty --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new FlowProperty" id="org.eclipse.papyrus.sysml.service.types.FlowPropertyCreateCommand" name="Create a new FlowProperty"> + </command> + + <!-- Creation command for FlowSpecification --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new FlowSpecification" id="org.eclipse.papyrus.sysml.service.types.FlowSpecificationCreateCommand" name="Create a new FlowSpecification"> + </command> + + <!-- Creation command for ItemFlow --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new ItemFlow" id="org.eclipse.papyrus.sysml.service.types.ItemFlowCreateCommand" name="Create a new ItemFlow"> + </command> + + <!-- Creation command for PartProperty --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new PartProperty" id="org.eclipse.papyrus.sysml.service.types.PartPropertyCreateCommand" name="Create a new PartProperty"> + </command> + + <!-- Creation command for Problem --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new Problem" id="org.eclipse.papyrus.sysml.service.types.ProblemCreateCommand" name="Create a new Problem"> + </command> + + <!-- Creation command for Rationale --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new Rationale" id="org.eclipse.papyrus.sysml.service.types.RationaleCreateCommand" name="Create a new Rationale"> + </command> + + <!-- Creation command for ReferenceProperty --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new ReferenceProperty" id="org.eclipse.papyrus.sysml.service.types.ReferencePropertyCreateCommand" name="Create a new ReferenceProperty"> + </command> + + <!-- Creation command for Requirement --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new Requirement" id="org.eclipse.papyrus.sysml.service.types.RequirementCreateCommand" name="Create a new Requirement"> + </command> + + <!-- Creation command for Satisfy --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new Satisfy" id="org.eclipse.papyrus.sysml.service.types.SatisfyCreateCommand" name="Create a new Satisfy"> + </command> + + <!-- Creation command for Unit --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new Unit" id="org.eclipse.papyrus.sysml.service.types.UnitCreateCommand" name="Create a new Unit"> + </command> + + <!-- Creation command for ValueProperty --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new ValueProperty" id="org.eclipse.papyrus.sysml.service.types.ValuePropertyCreateCommand" name="Create a new ValueProperty"> + </command> + + <!-- Creation command for ValueType --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new ValueType" id="org.eclipse.papyrus.sysml.service.types.ValueTypeCreateCommand" name="Create a new ValueType"> + </command> + + <!-- Creation command for ValueType_Enumeration --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new ValueType_Enumeration" id="org.eclipse.papyrus.sysml.service.types.ValueType_EnumerationCreateCommand" name="Create a new ValueType_Enumeration"> + </command> + + <!-- Creation command for ValueType_PrimitiveType --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new ValueType_PrimitiveType" id="org.eclipse.papyrus.sysml.service.types.ValueType_PrimitiveTypeCreateCommand" name="Create a new ValueType_PrimitiveType"> + </command> + + <!-- Creation command for Verify --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new Verify" id="org.eclipse.papyrus.sysml.service.types.VerifyCreateCommand" name="Create a new Verify"> + </command> + + <!-- Creation command for View --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new View" id="org.eclipse.papyrus.sysml.service.types.ViewCreateCommand" name="Create a new View"> + </command> + + <!-- Creation command for ViewPoint --> + <command categoryId="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" description="Create a new ViewPoint" id="org.eclipse.papyrus.sysml.service.types.ViewPointCreateCommand" name="Create a new ViewPoint"> + </command> + + <!-- Category for the creation of Sysml elements--> + +</extension> +<extension + point="org.eclipse.ui.commands"> + <category + id="org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands" + name="Commands for the creation of SysML 1.5 elements"> + </category> +</extension> +<extension + point="org.eclipse.ui.commandImages"> + + <image commandId="org.eclipse.papyrus.sysml.service.types.ActorPartCreateCommand" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Property.gif"> + + </image> + + <image commandId="org.eclipse.papyrus.sysml.service.types.AllocateCreateCommand" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Abstraction.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.AssociationCreateCommand" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Association.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.AssociationCompositeCreateCommand" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Association.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.AssociationCompositeDirectedCreateCommand" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Association.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.AssociationNoneCreateCommand" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Association.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.AssociationNoneDirectedCreateCommand" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Association.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.AssociationSharedCreateCommand" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Association.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.AssociationSharedDirectedCreateCommand" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Association.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.BlockCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Block.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.ConformCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Conform.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.ConstraintBlockCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ConstraintBlock.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.ConstraintBlockParameterCreateCommand" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Property.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.ConstraintPropertyCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ConstraintProperty.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.CopyCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Copy.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.DeriveReqtCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/DeriveReqt.gif"> + + </image> + + <image commandId="org.eclipse.papyrus.sysml.service.types.FlowPortCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowPort.gif"> + + </image> + + <image commandId="org.eclipse.papyrus.sysml.service.types.FlowPort_NACreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowPort_NA.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.FlowPropertyCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowProperty.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.FlowSpecificationCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/FlowSpecification.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.ItemFlowCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ItemFlow.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.PartPropertyCreateCommand" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Property.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.ProblemCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Problem.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.RationaleCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Rationale.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.ReferencePropertyCreateCommand" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Property.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.RequirementCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Requirement.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.SatisfyCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Satisfy.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.UnitCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Unit.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.ValuePropertyCreateCommand" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Property.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.ValueTypeCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ValueType.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.ValueType_EnumerationCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ValueType.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.ValueType_PrimitiveTypeCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/ValueType.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.VerifyCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Verify.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.ViewCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/View.gif"> + + </image> + + + <image commandId="org.eclipse.papyrus.sysml.service.types.ViewPointCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml.edit/icons/full/obj16/Viewpoint.gif"> + + </image> +</extension> + + <extension + point="org.eclipse.ui.handlers"> + <handler + class="org.eclipse.papyrus.sysml.nattable.ui.handlers.CreateAllocateHandler" + commandId="org.eclipse.papyrus.sysml.service.types.AllocateCreateCommand"> + <!-- <activeWhen> + <with + variable="selection"> + <test + forcePluginActivation="true" + property="org.eclipse.papyrus.sysml.nattable.ui.allocation.tester.isAllocationTable" + value="true"> + </test> + </with> + </activeWhen>--> + </handler> + </extension> + <extension + point="org.eclipse.core.expressions.propertyTesters"> + <propertyTester + class="org.eclipse.papyrus.sysml.nattable.ui.allocation.tester.AllocationPropertyTester" + id="org.eclipse.papyrus.sysml.nattable.ui.allocation.tester" + namespace="org.eclipse.papyrus.sysml.nattable.ui.allocation.tester.propertyTester" + properties="isAllocationTable" + type="org.eclipse.jface.viewers.IStructuredSelection"> + </propertyTester> + </extension> +</plugin>
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/pom.xml b/table/org.eclipse.papyrus.sysml.nattable.ui/pom.xml new file mode 100644 index 0000000..8fa426c --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/pom.xml
@@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.papyrus.sysml</groupId> + <artifactId>org.eclipse.papyrus.sysml.table</artifactId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.nattable.ui</artifactId> + <packaging>eclipse-plugin</packaging> + <description>This plugin defines the user interface specific to tables in SysML.</description> +</project> \ No newline at end of file
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/Activator.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/Activator.java new file mode 100644 index 0000000..ebf7d23 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/Activator.java
@@ -0,0 +1,23 @@ +/***************************************************************************** + * Copyright (c) 2015 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: + * Maggi Benoit (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui; + +import org.eclipse.ui.plugin.AbstractUIPlugin; + +/** + * The activator class controls the plug-in life cycle + */ +public class Activator extends AbstractUIPlugin { + + public static final String PLUGIN_ID = "org.eclipse.papyrus.sysml.nattable.ui"; //$NON-NLS-1$ + +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/allocation/tester/AllocationPropertyTester.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/allocation/tester/AllocationPropertyTester.java new file mode 100644 index 0000000..9be0a71 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/allocation/tester/AllocationPropertyTester.java
@@ -0,0 +1,33 @@ +/***************************************************************************** + * 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: + * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui.allocation.tester; + +import org.eclipse.papyrus.infra.nattable.manager.table.INattableModelManager; +import org.eclipse.papyrus.infra.nattable.utils.NattableWidgetPropertyTester; +import org.eclipse.papyrus.sysml.nattable.ui.handlers.CreateAllocateHandler; + + +public class AllocationPropertyTester extends NattableWidgetPropertyTester { + + private static final String IS_ALLOCATION_TABLE = "isAllocationTable"; //$NON-NLS-1$ + + @Override + public boolean test(Object receiver, String property, Object[] args, Object expectedValue) { + final INattableModelManager manager = getNattableModelManager(); + if (manager != null && IS_ALLOCATION_TABLE.equals(property) && expectedValue instanceof Boolean) { + return expectedValue.equals(manager.getTable().getTableConfiguration().getType().equals(CreateAllocateHandler.TABLE_ALLOCATION_TYPE)); + } + return false; + } +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/filter/SysmlCommandFilter.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/filter/SysmlCommandFilter.java new file mode 100644 index 0000000..5bf1c17 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/filter/SysmlCommandFilter.java
@@ -0,0 +1,65 @@ +/***************************************************************************** + * Copyright (c) 2011-2012 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: + * + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui.filter; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; + +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; +import org.eclipse.papyrus.uml.service.types.element.UMLElementTypes; +import org.eclipse.papyrus.uml.service.types.filter.ICommandFilter; + +/** + * Filter for available Sysml commands. Moved from oep.sysml.modelexplorer + */ +public class SysmlCommandFilter implements ICommandFilter { + + /** + * Singleton instance + */ + public static final SysmlCommandFilter INSTANCE = new SysmlCommandFilter(); + + private List<IElementType> visibleCommands; + + private SysmlCommandFilter() { + // to prevent instantiation + } + + @Override + public List<IElementType> getVisibleCommands() { + if (visibleCommands == null) { + List<IElementType> localVisibleCommands = new ArrayList<>(); + localVisibleCommands.add(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_BLOCK)); + localVisibleCommands.add(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_CONSTRAINTBLOCK)); + localVisibleCommands.add(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_FLOWPORT)); + localVisibleCommands.add(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_FLOWPROPERTY)); + localVisibleCommands.add(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_FLOWSPECIFICATION)); + localVisibleCommands.add(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_PROBLEM)); + localVisibleCommands.add(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_RATIONALE)); + localVisibleCommands.add(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_REQUIREMENT)); + localVisibleCommands.add(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_UNIT)); + localVisibleCommands.add(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_VALUETYPE)); + localVisibleCommands.add(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_VIEW)); + localVisibleCommands.add(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_VIEWPOINT)); + + // UMLElementTypes.PROPERTY is required by ConstraintBlock Parameter + localVisibleCommands.add(UMLElementTypes.PROPERTY); + this.visibleCommands = Collections.unmodifiableList(localVisibleCommands); + } + return visibleCommands; + } +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/AbstractCreateSysmlChildMenu.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/AbstractCreateSysmlChildMenu.java new file mode 100644 index 0000000..918bfe9 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/AbstractCreateSysmlChildMenu.java
@@ -0,0 +1,31 @@ +/***************************************************************************** + * 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: + * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui.handlers; + +import org.eclipse.papyrus.infra.ui.util.AbstractCreateMenuFromCommandCategory; + +/** + * Abstract menu for the creation of Sysml elements + */ +public abstract class AbstractCreateSysmlChildMenu extends AbstractCreateMenuFromCommandCategory { + + /** the cateogory of the command used to create SysML elements */ + public static final String SYSML_CREATION_COMMAND_CATEGORY = "org.eclipse.papyrus.sysml.service.types.sysmlElementCreationCommands"; //$NON-NLS-1$ + + /** + * Constructor. + * + */ + public AbstractCreateSysmlChildMenu() { + super(SYSML_CREATION_COMMAND_CATEGORY); + } +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/AbstractSysmlCreateElementCommandHandler.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/AbstractSysmlCreateElementCommandHandler.java new file mode 100644 index 0000000..6d5a82f --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/AbstractSysmlCreateElementCommandHandler.java
@@ -0,0 +1,36 @@ +/***************************************************************************** + * 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: + * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation + * + *****************************************************************************/ + +package org.eclipse.papyrus.sysml.nattable.ui.handlers; + +import org.eclipse.papyrus.sysml.nattable.ui.filter.SysmlCommandFilter; +import org.eclipse.papyrus.uml.service.types.filter.ICommandFilter; +import org.eclipse.papyrus.uml.service.types.ui.handlers.AbstractCreateElementCommandHandler; + +/** + * + * Abstract handler for every creation command for Sysml elements + * used in the ModelExplorer contextual ("Create new child") menu + * + */ +public abstract class AbstractSysmlCreateElementCommandHandler extends AbstractCreateElementCommandHandler { + + private static final ICommandFilter filter = SysmlCommandFilter.INSTANCE; + + @Override + public ICommandFilter getCommandFilter() { + return filter; + } + +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/AbstractSysmlNattableCreateCommandHandler.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/AbstractSysmlNattableCreateCommandHandler.java new file mode 100644 index 0000000..0451844 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/AbstractSysmlNattableCreateCommandHandler.java
@@ -0,0 +1,84 @@ +/***************************************************************************** + * 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: + * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui.handlers; + +import org.eclipse.emf.common.command.Command; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.papyrus.infra.nattable.manager.table.INattableModelManager; +import org.eclipse.papyrus.infra.nattable.utils.INattableModelManagerUtils; +import org.eclipse.papyrus.uml.nattable.menu.util.TableMenuUtils; +import org.eclipse.papyrus.uml.service.types.utils.ICommandContext; + +/** + * Abstract handler for the creation commands of Sysml elements in the Nattable editor + * + */ +public abstract class AbstractSysmlNattableCreateCommandHandler extends AbstractSysmlCreateElementCommandHandler { + + /** + * <pre> + * + * Build the create command for an element creation in the selected container. + * The create command is given by the {@link org.eclipse.papyrus.infra.services.edit.service.IElementEditService} of selected + * element. + * + * @return the composite creation command for current selection + * + * </pre> + */ + @Override + protected Command buildCommand() { + Command createCmd = super.buildCommand(); + return TableMenuUtils.buildNattableCreationCommand(createCmd, this.createRequest); + } + + /** + * Obtain the context of the active table editor. + * + * @see org.eclipse.papyrus.uml.service.types.handlers.AbstractCommandHandler#getCommandContext() + * + * @return + */ + @Override + protected ICommandContext getCommandContext() { + return TableMenuUtils.getTableCreateElementCommandContext(INattableModelManagerUtils.getTableManagerFromWorkbenchPart(getActiveWorkbenchPart())); + + } + + /** + * Verify if this handler is currently active and the command can execute. Additionally, verify if this table can add this type of element. + * + * @see org.eclipse.papyrus.uml.service.types.handlers.AbstractCreateCommandHandler#setEnabled(java.lang.Object) + * + * @param evaluationContext + */ + @Override + public void setEnabled(Object evaluationContext) { + boolean isEnabled = false; + INattableModelManager tableManager = INattableModelManagerUtils.getTableManagerFromWorkbenchPart(getActiveWorkbenchPart()); + IElementType elementTypeToCreate = getElementTypeToCreate(); + + if (elementTypeToCreate != null) { + String id = elementTypeToCreate.getId(); + if (id != null){ + isEnabled = tableManager.canCreateRowElement(id); + if (isEnabled) { + // we test the enable of the super implementation + super.setEnabled(evaluationContext); + isEnabled = super.isEnabled(); + } + setBaseEnabled(isEnabled); + } + } + } + +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ActorPartPropertyHandler.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ActorPartPropertyHandler.java new file mode 100644 index 0000000..5cd6989 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ActorPartPropertyHandler.java
@@ -0,0 +1,83 @@ +/***************************************************************************** + * 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: + * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui.handlers; + +import org.eclipse.emf.common.command.Command; +import org.eclipse.emf.common.command.UnexecutableCommand; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils; +import org.eclipse.papyrus.infra.services.edit.service.IElementEditService; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; + +/** + * <pre> + * Command handler for ActorPart (Property) creation + * + * </pre> + * + * + */ +public class ActorPartPropertyHandler extends AbstractSysmlNattableCreateCommandHandler { + + /** + * <pre> + * @see org.eclipse.papyrus.uml.service.creation.handler.CreateHandler#getElementTypeToCreate() + * + * @return the IElementType this handler is supposed to create + * + * </pre> + * + * + */ + @Override + protected IElementType getElementTypeToCreate() { + return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_ACTORPART); + } + + /** + * {@inheritDoc} + */ + @Override + protected Command buildCommand() { + + if (getCommandContext() == null) { + return UnexecutableCommand.INSTANCE; + } + + EObject container = getCommandContext().getContainer(); + EReference reference = getCommandContext().getReference(); + + IElementEditService provider = ElementEditServiceUtils.getCommandProvider(container); + if (provider == null) { + return UnexecutableCommand.INSTANCE; + } + + CreateElementRequest createRequest; + if (reference == null) { + createRequest = new CreateElementRequest(container, getElementTypeToCreate()); + } else { + createRequest = new CreateElementRequest(container, getElementTypeToCreate(), reference); + } + // Retrieve create command from the Element Edit service + ICommand createGMFCommand = provider.getEditCommand(createRequest); + if (createGMFCommand != null) { + return GMFtoEMFCommandWrapper.wrap(createGMFCommand); + } + return UnexecutableCommand.INSTANCE; + } +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/AllocateHandler.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/AllocateHandler.java new file mode 100644 index 0000000..e7a431c --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/AllocateHandler.java
@@ -0,0 +1,44 @@ +/***************************************************************************** + * 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: + * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui.handlers; + +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; + +/** + * <pre> + * Command handler for Allocate creation + * + * </pre> + * + * + */ +public class AllocateHandler extends AbstractSysmlNattableCreateCommandHandler { + + /** + * <pre> + * @see org.eclipse.papyrus.uml.service.types.handlers.AbstractCreateCommandHandler#getElementTypeToCreate() + * + * @return the IElementType this handler is supposed to create + * + * </pre> + * + * + */ + @Override + protected IElementType getElementTypeToCreate() { + return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_ALLOCATE_ABSTRACTION); + } + + +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/BlockHandler.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/BlockHandler.java new file mode 100644 index 0000000..fbb9e01 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/BlockHandler.java
@@ -0,0 +1,42 @@ +/***************************************************************************** + * 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: + * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui.handlers; + +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; + +/** + * <pre> + * Command handler for Block creation + * + * </pre> + * + * + */ +public class BlockHandler extends AbstractSysmlNattableCreateCommandHandler { + + /** + * <pre> + * @see org.eclipse.papyrus.uml.service.creation.handler.CreateHandler#getElementTypeToCreate() + * + * @return the IElementType this handler is supposed to create + * + * </pre> + * + * + */ + @Override + protected IElementType getElementTypeToCreate() { + return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_BLOCK); + } +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ConstraintBlockHandler.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ConstraintBlockHandler.java new file mode 100644 index 0000000..4a6975e --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ConstraintBlockHandler.java
@@ -0,0 +1,42 @@ +/***************************************************************************** + * 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: + * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui.handlers; + +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; + +/** + * <pre> + * Command handler for ConstraintBlock creation + * + * </pre> + * + * + */ +public class ConstraintBlockHandler extends AbstractSysmlNattableCreateCommandHandler { + + /** + * <pre> + * @see org.eclipse.papyrus.uml.service.types.handlers.AbstractCreateCommandHandler#getElementTypeToCreate() + * + * @return the IElementType this handler is supposed to create + * + * </pre> + * + * + */ + @Override + protected IElementType getElementTypeToCreate() { + return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_CONSTRAINTBLOCK); + } +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ConstraintBlockParameterHandler.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ConstraintBlockParameterHandler.java new file mode 100644 index 0000000..88f7116 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ConstraintBlockParameterHandler.java
@@ -0,0 +1,91 @@ +/***************************************************************************** + * 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: + * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui.handlers; + +import org.eclipse.emf.common.command.Command; +import org.eclipse.emf.common.command.UnexecutableCommand; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.edit.commands.ConfigureFeatureCommandFactory; +import org.eclipse.papyrus.infra.services.edit.commands.IConfigureCommandFactory; +import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils; +import org.eclipse.papyrus.infra.services.edit.service.IElementEditService; +import org.eclipse.papyrus.uml.service.types.element.UMLElementTypes; +import org.eclipse.papyrus.uml.tools.utils.NamedElementUtil; +import org.eclipse.uml2.uml.Element; +import org.eclipse.uml2.uml.UMLPackage; + +/** + * <pre> + * Command handler for Problem creation + * + * </pre> + * + * + */ +public class ConstraintBlockParameterHandler extends AbstractSysmlNattableCreateCommandHandler { + + /** + * <pre> + * @see org.eclipse.papyrus.uml.service.types.handlers.AbstractCreateCommandHandler#getElementTypeToCreate() + * + * @return the IElementType this handler is supposed to create + * + * </pre> + * + * + */ + @Override + protected IElementType getElementTypeToCreate() { + return UMLElementTypes.PROPERTY; + } + + /** + * {@inheritDoc} + */ + @Override + protected Command buildCommand() { + + if (getCommandContext() == null) { + return UnexecutableCommand.INSTANCE; + } + + EObject container = getCommandContext().getContainer(); + EReference reference = getCommandContext().getReference(); + + IElementEditService provider = ElementEditServiceUtils.getCommandProvider(container); + if (provider == null) { + return UnexecutableCommand.INSTANCE; + } + + CreateElementRequest createRequest; + if (reference == null) { + createRequest = new CreateElementRequest(container, getElementTypeToCreate()); + } else { + createRequest = new CreateElementRequest(container, getElementTypeToCreate(), reference); + } + + String name = NamedElementUtil.getDefaultNameWithIncrementFromBase("parameter", ((Element) container).eContents()); //$NON-NLS-1$ + createRequest.setParameter(IConfigureCommandFactory.CONFIGURE_COMMAND_FACTORY_ID, new ConfigureFeatureCommandFactory(UMLPackage.eINSTANCE.getNamedElement_Name(), name)); + + // Retrieve create command from the Element Edit service + ICommand createGMFCommand = provider.getEditCommand(createRequest); + if (createGMFCommand != null) { + return GMFtoEMFCommandWrapper.wrap(createGMFCommand); + } + return UnexecutableCommand.INSTANCE; + } +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ConstraintPropertyHandler.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ConstraintPropertyHandler.java new file mode 100644 index 0000000..44ab4eb --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ConstraintPropertyHandler.java
@@ -0,0 +1,42 @@ +/***************************************************************************** + * 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: + * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui.handlers; + +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; + +/** + * <pre> + * Command handler for ConstraintProperty creation + * + * </pre> + * + * + */ +public class ConstraintPropertyHandler extends AbstractSysmlNattableCreateCommandHandler { + + /** + * <pre> + * @see org.eclipse.papyrus.uml.service.types.handlers.AbstractCreateCommandHandler#getElementTypeToCreate() + * + * @return the IElementType this handler is supposed to create + * + * </pre> + * + * + */ + @Override + protected IElementType getElementTypeToCreate() { + return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_CONSTRAINTPROPERTY); + } +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/CreateAllocateHandler.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/CreateAllocateHandler.java new file mode 100644 index 0000000..c946649 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/CreateAllocateHandler.java
@@ -0,0 +1,54 @@ +/***************************************************************************** + * 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: + * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui.handlers; + +import org.eclipse.emf.common.command.Command; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.papyrus.infra.nattable.manager.table.INattableModelManager; +import org.eclipse.papyrus.infra.nattable.utils.INattableModelManagerUtils; + +/** + * This handler allows to create an Allocate object, only if the table is a PapyrusSysMLAllocationTable + * + * + */ +public class CreateAllocateHandler extends AllocateHandler { + + /** + * the id used for the Papyrus SysML Allocation Table + */ + public static final String TABLE_ALLOCATION_TYPE = "PapyrusSysMLAllocationTable"; //$NON-NLS-1$ + + /** + * + * @see org.eclipse.papyrus.sysml.nattable.ui.handlers.AbstractSysmlNattableCreateCommandHandler#setEnabled(java.lang.Object) + * + * @param evaluationContext + */ + @Override + public void setEnabled(Object evaluationContext) { + Command command = getCommand(); + boolean isEnabled = command.canExecute(); + INattableModelManager tableManager = INattableModelManagerUtils.getTableManagerFromWorkbenchPart(getActiveWorkbenchPart()); + isEnabled = isEnabled && tableManager.getTable().getTableConfiguration().getType().equals(TABLE_ALLOCATION_TYPE); + if (isEnabled) { + IElementType newElementType = getElementTypeToCreate(); + String id = newElementType.getId(); + isEnabled = tableManager.canCreateRowElement(id); + } + setBaseEnabled(isEnabled); + + } + +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/FlowPortHandler.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/FlowPortHandler.java new file mode 100644 index 0000000..e033e68 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/FlowPortHandler.java
@@ -0,0 +1,42 @@ +/***************************************************************************** + * 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: + * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui.handlers; + +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; + +/** + * <pre> + * Command handler for FlowPort creation + * + * </pre> + * + * + */ +public class FlowPortHandler extends AbstractSysmlNattableCreateCommandHandler { + + /** + * <pre> + * @see org.eclipse.papyrus.uml.service.creation.handler.CreateHandler#getElementTypeToCreate() + * + * @return the IElementType this handler is supposed to create + * + * </pre> + * + * + */ + @Override + protected IElementType getElementTypeToCreate() { + return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_FLOWPORT); + } +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/FlowPortNAHandler.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/FlowPortNAHandler.java new file mode 100644 index 0000000..0583bcc --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/FlowPortNAHandler.java
@@ -0,0 +1,66 @@ +/***************************************************************************** + * 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: + * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui.handlers; + +import org.eclipse.emf.common.command.Command; +import org.eclipse.emf.common.command.UnexecutableCommand; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils; +import org.eclipse.papyrus.infra.services.edit.service.IElementEditService; + +/** + * <pre> + * Command handler for FlowPort non atomic creation + * + * </pre> + * + * + */ +public class FlowPortNAHandler extends FlowPortHandler { + + /** + * {@inheritDoc} + */ + @Override + protected Command buildCommand() { + + if (getCommandContext() == null) { + return UnexecutableCommand.INSTANCE; + } + + EObject container = getCommandContext().getContainer(); + EReference reference = getCommandContext().getReference(); + + IElementEditService provider = ElementEditServiceUtils.getCommandProvider(container); + if (provider == null) { + return UnexecutableCommand.INSTANCE; + } + + CreateElementRequest createRequest; + if (reference == null) { + createRequest = new CreateElementRequest(container, getElementTypeToCreate()); + } else { + createRequest = new CreateElementRequest(container, getElementTypeToCreate(), reference); + } + + // Retrieve create command from the Element Edit service + ICommand createGMFCommand = provider.getEditCommand(createRequest); + if (createGMFCommand != null) { + return GMFtoEMFCommandWrapper.wrap(createGMFCommand); + } + return UnexecutableCommand.INSTANCE; + } +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/FlowPropertyHandler.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/FlowPropertyHandler.java new file mode 100644 index 0000000..262da01 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/FlowPropertyHandler.java
@@ -0,0 +1,42 @@ +/***************************************************************************** + * 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: + * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui.handlers; + +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; + +/** + * <pre> + * Command handler for FlowProperty creation + * + * </pre> + * + * + */ +public class FlowPropertyHandler extends AbstractSysmlNattableCreateCommandHandler { + + /** + * <pre> + * @see org.eclipse.papyrus.uml.service.creation.handler.CreateHandler#getElementTypeToCreate() + * + * @return the IElementType this handler is supposed to create + * + * </pre> + * + * + */ + @Override + protected IElementType getElementTypeToCreate() { + return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_FLOWPROPERTY); + } +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/FlowSpecificationHandler.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/FlowSpecificationHandler.java new file mode 100644 index 0000000..edad605 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/FlowSpecificationHandler.java
@@ -0,0 +1,42 @@ +/***************************************************************************** + * 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: + * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui.handlers; + +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; + +/** + * <pre> + * Command handler for FlowSpecification creation + * + * </pre> + * + * + */ +public class FlowSpecificationHandler extends AbstractSysmlNattableCreateCommandHandler { + + /** + * <pre> + * @see org.eclipse.papyrus.uml.service.creation.handler.CreateHandler#getElementTypeToCreate() + * + * @return the IElementType this handler is supposed to create + * + * </pre> + * + * + */ + @Override + protected IElementType getElementTypeToCreate() { + return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_FLOWSPECIFICATION); + } +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/PartPropertyHandler.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/PartPropertyHandler.java new file mode 100644 index 0000000..6f3ed3e --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/PartPropertyHandler.java
@@ -0,0 +1,84 @@ +/***************************************************************************** + * 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: + * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui.handlers; + +import org.eclipse.emf.common.command.Command; +import org.eclipse.emf.common.command.UnexecutableCommand; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils; +import org.eclipse.papyrus.infra.services.edit.service.IElementEditService; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; + +/** + * <pre> + * Command handler for Part (Property) creation + * + * </pre> + * + * + */ +public class PartPropertyHandler extends AbstractSysmlNattableCreateCommandHandler { + + /** + * <pre> + * @see org.eclipse.papyrus.uml.service.creation.handler.CreateHandler#getElementTypeToCreate() + * + * @return the IElementType this handler is supposed to create + * + * </pre> + * + * + */ + @Override + protected IElementType getElementTypeToCreate() { + return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_PART); + } + + /** + * {@inheritDoc} + */ + @Override + protected Command buildCommand() { + + if (getCommandContext() == null) { + return UnexecutableCommand.INSTANCE; + } + + EObject container = getCommandContext().getContainer(); + EReference reference = getCommandContext().getReference(); + + IElementEditService provider = ElementEditServiceUtils.getCommandProvider(container); + if (provider == null) { + return UnexecutableCommand.INSTANCE; + } + + CreateElementRequest createRequest; + if (reference == null) { + createRequest = new CreateElementRequest(container, getElementTypeToCreate()); + } else { + createRequest = new CreateElementRequest(container, getElementTypeToCreate(), reference); + } + + // Retrieve create command from the Element Edit service + ICommand createGMFCommand = provider.getEditCommand(createRequest); + if (createGMFCommand != null) { + return GMFtoEMFCommandWrapper.wrap(createGMFCommand); + } + return UnexecutableCommand.INSTANCE; + } +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ProblemHandler.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ProblemHandler.java new file mode 100644 index 0000000..38aaeb5 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ProblemHandler.java
@@ -0,0 +1,42 @@ +/***************************************************************************** + * 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: + * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui.handlers; + +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; + +/** + * <pre> + * Command handler for Problem creation + * + * </pre> + * + * + */ +public class ProblemHandler extends AbstractSysmlNattableCreateCommandHandler { + + /** + * <pre> + * @see org.eclipse.papyrus.uml.service.types.handlers.AbstractCreateCommandHandler#getElementTypeToCreate() + * + * @return the IElementType this handler is supposed to create + * + * </pre> + * + * + */ + @Override + protected IElementType getElementTypeToCreate() { + return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_PROBLEM); + } +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/RationaleHandler.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/RationaleHandler.java new file mode 100644 index 0000000..7505300 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/RationaleHandler.java
@@ -0,0 +1,42 @@ +/***************************************************************************** + * 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: + * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui.handlers; + +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; + +/** + * <pre> + * Command handler for Rationale creation + * + * </pre> + * + * + */ +public class RationaleHandler extends AbstractSysmlNattableCreateCommandHandler { + + /** + * <pre> + * @see org.eclipse.papyrus.uml.service.types.handlers.AbstractCreateCommandHandler#getElementTypeToCreate() + * + * @return the IElementType this handler is supposed to create + * + * </pre> + * + * + */ + @Override + protected IElementType getElementTypeToCreate() { + return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_RATIONALE); + } +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ReferencePropertyHandler.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ReferencePropertyHandler.java new file mode 100644 index 0000000..1337149 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ReferencePropertyHandler.java
@@ -0,0 +1,84 @@ +/***************************************************************************** + * 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: + * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui.handlers; + +import org.eclipse.emf.common.command.Command; +import org.eclipse.emf.common.command.UnexecutableCommand; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils; +import org.eclipse.papyrus.infra.services.edit.service.IElementEditService; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; + +/** + * <pre> + * Command handler for Reference (Property) creation + * + * </pre> + * + * + */ +public class ReferencePropertyHandler extends AbstractSysmlNattableCreateCommandHandler { + + /** + * <pre> + * @see org.eclipse.papyrus.uml.service.creation.handler.CreateHandler#getElementTypeToCreate() + * + * @return the IElementType this handler is supposed to create + * + * </pre> + * + * + */ + @Override + protected IElementType getElementTypeToCreate() { + return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_REFERENCE); + } + + /** + * {@inheritDoc} + */ + @Override + protected Command buildCommand() { + + if (getCommandContext() == null) { + return UnexecutableCommand.INSTANCE; + } + + EObject container = getCommandContext().getContainer(); + EReference reference = getCommandContext().getReference(); + + IElementEditService provider = ElementEditServiceUtils.getCommandProvider(container); + if (provider == null) { + return UnexecutableCommand.INSTANCE; + } + + CreateElementRequest createRequest; + if (reference == null) { + createRequest = new CreateElementRequest(container, getElementTypeToCreate()); + } else { + createRequest = new CreateElementRequest(container, getElementTypeToCreate(), reference); + } + + // Retrieve create command from the Element Edit service + ICommand createGMFCommand = provider.getEditCommand(createRequest); + if (createGMFCommand != null) { + return GMFtoEMFCommandWrapper.wrap(createGMFCommand); + } + return UnexecutableCommand.INSTANCE; + } +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/RequirementHandler.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/RequirementHandler.java new file mode 100644 index 0000000..6915528 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/RequirementHandler.java
@@ -0,0 +1,42 @@ +/***************************************************************************** + * 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: + * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui.handlers; + +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; + +/** + * <pre> + * Command handler for Requirement creation + * + * </pre> + * + * + */ +public class RequirementHandler extends AbstractSysmlNattableCreateCommandHandler { + + /** + * <pre> + * @see org.eclipse.papyrus.uml.service.creation.handler.CreateHandler#getElementTypeToCreate() + * + * @return the IElementType this handler is supposed to create + * + * </pre> + * + * + */ + @Override + protected IElementType getElementTypeToCreate() { + return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_REQUIREMENT); + } +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/SysmlNattableCreateMenu.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/SysmlNattableCreateMenu.java new file mode 100644 index 0000000..55430b6 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/SysmlNattableCreateMenu.java
@@ -0,0 +1,34 @@ +/***************************************************************************** + * 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: + * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui.handlers; + +import org.eclipse.papyrus.infra.nattable.utils.NattableWidgetPropertyTester; +import org.eclipse.ui.IWorkbenchPart; +import org.eclipse.ui.PlatformUI; +import org.eclipse.ui.menus.IContributionRoot; +import org.eclipse.ui.services.IServiceLocator; + +/** + * Menu contributions for the creation of Sysml elements from the Nattable editor + */ +public class SysmlNattableCreateMenu extends AbstractCreateSysmlChildMenu { + + private static NattableWidgetPropertyTester tester = new NattableWidgetPropertyTester(); + + @Override + public void createContributionItems(IServiceLocator serviceLocator, IContributionRoot additions) { + IWorkbenchPart part = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActivePart(); + if (tester.test(part, NattableWidgetPropertyTester.IS_NATTABLE_WIDGET, null, Boolean.TRUE)) { + super.createContributionItems(serviceLocator, additions); + } + } +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/UnitHandler.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/UnitHandler.java new file mode 100644 index 0000000..4fcacd7 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/UnitHandler.java
@@ -0,0 +1,42 @@ +/***************************************************************************** + * 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: + * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui.handlers; + +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; + +/** + * <pre> + * Command handler for Unit creation + * + * </pre> + * + * + */ +public class UnitHandler extends AbstractSysmlNattableCreateCommandHandler { + + /** + * <pre> + * @see org.eclipse.papyrus.uml.service.types.handlers.AbstractCreateCommandHandler#getElementTypeToCreate() + * + * @return the IElementType this handler is supposed to create + * + * </pre> + * + * + */ + @Override + protected IElementType getElementTypeToCreate() { + return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_UNIT); + } +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ValuePropertyHandler.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ValuePropertyHandler.java new file mode 100644 index 0000000..9332736 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ValuePropertyHandler.java
@@ -0,0 +1,84 @@ +/***************************************************************************** + * 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: + * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui.handlers; + +import org.eclipse.emf.common.command.Command; +import org.eclipse.emf.common.command.UnexecutableCommand; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest; +import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; +import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils; +import org.eclipse.papyrus.infra.services.edit.service.IElementEditService; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; + +/** + * <pre> + * Command handler for Value (Property) creation + * + * </pre> + * + * + */ +public class ValuePropertyHandler extends AbstractSysmlNattableCreateCommandHandler { + + /** + * <pre> + * @see org.eclipse.papyrus.uml.service.creation.handler.CreateHandler#getElementTypeToCreate() + * + * @return the IElementType this handler is supposed to create + * + * </pre> + * + * + */ + @Override + protected IElementType getElementTypeToCreate() { + return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_VALUE); + } + + /** + * {@inheritDoc} + */ + @Override + protected Command buildCommand() { + + if (getCommandContext() == null) { + return UnexecutableCommand.INSTANCE; + } + + EObject container = getCommandContext().getContainer(); + EReference reference = getCommandContext().getReference(); + + IElementEditService provider = ElementEditServiceUtils.getCommandProvider(container); + if (provider == null) { + return UnexecutableCommand.INSTANCE; + } + + CreateElementRequest createRequest; + if (reference == null) { + createRequest = new CreateElementRequest(container, getElementTypeToCreate()); + } else { + createRequest = new CreateElementRequest(container, getElementTypeToCreate(), reference); + } + + // Retrieve create command from the Element Edit service + ICommand createGMFCommand = provider.getEditCommand(createRequest); + if (createGMFCommand != null) { + return GMFtoEMFCommandWrapper.wrap(createGMFCommand); + } + return UnexecutableCommand.INSTANCE; + } +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ValueTypeHandler.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ValueTypeHandler.java new file mode 100644 index 0000000..31d06ac --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ValueTypeHandler.java
@@ -0,0 +1,42 @@ +/***************************************************************************** + * 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: + * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui.handlers; + +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; + +/** + * <pre> + * Command handler for ValueType creation + * + * </pre> + * + * + */ +public class ValueTypeHandler extends AbstractSysmlNattableCreateCommandHandler { + + /** + * <pre> + * @see org.eclipse.papyrus.uml.service.types.handlers.AbstractCreateCommandHandler#getElementTypeToCreate() + * + * @return the IElementType this handler is supposed to create + * + * </pre> + * + * + */ + @Override + protected IElementType getElementTypeToCreate() { + return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_VALUETYPE); + } +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/VerifyHandler.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/VerifyHandler.java new file mode 100644 index 0000000..7366e4f --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/VerifyHandler.java
@@ -0,0 +1,42 @@ +/***************************************************************************** + * 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: + * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui.handlers; + +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; + +/** + * <pre> + * Command handler for Verify creation + * + * </pre> + * + * + */ +public class VerifyHandler extends AbstractSysmlNattableCreateCommandHandler { + + /** + * <pre> + * @see org.eclipse.papyrus.uml.service.types.handlers.AbstractCreateCommandHandler#getElementTypeToCreate() + * + * @return the IElementType this handler is supposed to create + * + * </pre> + * + * + */ + @Override + protected IElementType getElementTypeToCreate() { + return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_VERIFY_ABSTRACTION); + } +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ViewHandler.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ViewHandler.java new file mode 100644 index 0000000..f359ad1 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ViewHandler.java
@@ -0,0 +1,42 @@ +/***************************************************************************** + * 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: + * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui.handlers; + +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; + +/** + * <pre> + * Command handler for View creation + * + * </pre> + * + * + */ +public class ViewHandler extends AbstractSysmlNattableCreateCommandHandler { + + /** + * <pre> + * @see org.eclipse.papyrus.uml.service.types.handlers.AbstractCreateCommandHandler#getElementTypeToCreate() + * + * @return the IElementType this handler is supposed to create + * + * </pre> + * + * + */ + @Override + protected IElementType getElementTypeToCreate() { + return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_VIEW); + } +}
diff --git a/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ViewPointHandler.java b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ViewPointHandler.java new file mode 100644 index 0000000..4f77481 --- /dev/null +++ b/table/org.eclipse.papyrus.sysml.nattable.ui/src/org/eclipse/papyrus/sysml/nattable/ui/handlers/ViewPointHandler.java
@@ -0,0 +1,42 @@ +/***************************************************************************** + * 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: + * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation + *****************************************************************************/ +package org.eclipse.papyrus.sysml.nattable.ui.handlers; + +import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; +import org.eclipse.gmf.runtime.emf.type.core.IElementType; +import org.eclipse.papyrus.sysml.service.types.util.SysMLServiceTypeUtil; + +/** + * <pre> + * Command handler for ViewPoint creation + * + * </pre> + * + * + */ +public class ViewPointHandler extends AbstractSysmlNattableCreateCommandHandler { + + /** + * <pre> + * @see org.eclipse.papyrus.uml.service.types.handlers.AbstractCreateCommandHandler#getElementTypeToCreate() + * + * @return the IElementType this handler is supposed to create + * + * </pre> + * + * + */ + @Override + protected IElementType getElementTypeToCreate() { + return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML_VIEWPOINT); + } +}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/.project b/table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/.project deleted file mode 100644 index b447053..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/.project +++ /dev/null
@@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.nattable.allocation.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> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription>
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/META-INF/MANIFEST.MF b/table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/META-INF/MANIFEST.MF deleted file mode 100644 index 072ab38..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,31 +0,0 @@ -Manifest-Version: 1.0 -Require-Bundle: org.junit;bundle-version="[4.11.0,5.0.0)", - org.eclipse.ocl;bundle-version="[3.5.0,4.0.0)", - org.eclipse.ocl.pivot;bundle-version="[1.0.1,2.0.0)", - org.eclipse.ocl.xtext.essentialocl;bundle-version="[1.0.1,2.0.0)", - org.eclipse.emf.validation.ocl;bundle-version="[1.4.0,2.0.0)", - org.eclipse.ocl.ecore;bundle-version="[3.5.0,4.0.0)", - org.eclipse.papyrus.infra.types.core;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.services.edit;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.clazz;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.communication;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.component;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.composite;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.deployment;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.interactionoverview;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.profile;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.statemachine;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.timing;bundle-version="[1.2.0,2.0.0)", - org.eclipse.papyrus.uml.diagram.usecase;bundle-version="[3.0.0,4.0.0)", - org.eclipse.ocl.xtext.essentialocl.ui;bundle-version="[1.0.0,2.0.0)" -Bundle-Vendor: %Bundle-Vendor -Bundle-ActivationPolicy: lazy -Bundle-Version: 1.2.0.qualifier -Bundle-Name: %Bundle-Name -Bundle-Localization: plugin -Bundle-ManifestVersion: 2 -Fragment-Host: org.eclipse.papyrus.sysml14.nattable.allocation;bundle-version="1.0.0" -Bundle-Description: %Bundle-Description -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.nattable.allocation.tests -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/plugin.properties b/table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/plugin.properties deleted file mode 100644 index 072d6f6..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/plugin.properties +++ /dev/null
@@ -1,13 +0,0 @@ -################################################################################# -# Copyright (c) 2016 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: -# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation -################################################################################## -Bundle-Vendor = Eclipse Modeling Project -Bundle-Name = Papyrus SysML 1.4 Allocation Table Tests -Bundle-Description = This plugin provides tests for the plugin org.eclipse.papyrus.sysml14.nattable.allocation \ No newline at end of file
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/pom.xml b/table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/pom.xml deleted file mode 100644 index be4a163..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/pom.xml +++ /dev/null
@@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.eclipse.papyrus.sysml</groupId> - <artifactId>org.eclipse.papyrus.sysml14.table</artifactId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.nattable.allocation.tests</artifactId> - <packaging>eclipse-test-plugin</packaging> - <description>This plugins enables unit tests on the allocation tables.</description> -</project>
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/src/org/eclipse/papyrus/sysml14/nattable/allocation/tests/resources/AllocationNattableTest.java b/table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/src/org/eclipse/papyrus/sysml14/nattable/allocation/tests/resources/AllocationNattableTest.java deleted file mode 100644 index a386b8a..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/src/org/eclipse/papyrus/sysml14/nattable/allocation/tests/resources/AllocationNattableTest.java +++ /dev/null
@@ -1,78 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.nattable.allocation.tests.resources; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.common.util.TreeIterator; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.ecore.util.Diagnostician; -import org.eclipse.papyrus.infra.nattable.model.nattable.nattableaxisconfiguration.PasteEObjectConfiguration; -import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; -import org.eclipse.papyrus.sysml14.nattable.allocation.Activator; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.junit.Assert; -import org.junit.Before; -import org.junit.Test; - -/** - * Test the requirement nattable model : - * - validate the model - * - * @author Benoit Maggi - */ -@SuppressWarnings("nls") -public class AllocationNattableTest { - - public static final String ALLOCATION_NATTABLE_PATH = Activator.PLUGIN_ID + "/resources/allocation.nattableconfiguration"; - - - @Before - public void loadElementTypeRegistry(){ - ElementTypeSetConfigurationRegistry.getInstance(); - } - - /** - * Validate the model with the rules defined in the meta-model tooling - */ - @Test - public void validateAllocationNattableModel() { - URI createPlatformPluginURI = URI.createPlatformPluginURI(ALLOCATION_NATTABLE_PATH, true); - Resource resource = new ResourceSetImpl().getResource(createPlatformPluginURI, true); - Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); - Assert.assertEquals("The allocation nattable model is not valid ", Diagnostic.OK, diagnostic.getSeverity()); - } - - /** - * check that the past configuration use a correct element type id - */ - @Test - public void checkPastedElementId() { - URI createPlatformPluginURI = URI.createPlatformPluginURI(ALLOCATION_NATTABLE_PATH, true); - ResourceSetImpl resourceSetImpl = new ResourceSetImpl(); - Resource resource = resourceSetImpl.getResource(createPlatformPluginURI, true); - TreeIterator<EObject> allContents = resource.getAllContents(); - while (allContents.hasNext()) { - EObject eObject = (EObject) allContents.next(); - if (eObject instanceof PasteEObjectConfiguration) { - PasteEObjectConfiguration pasteEObjectConfiguration = (PasteEObjectConfiguration) eObject; - String elementTypeId = pasteEObjectConfiguration.getPastedElementId(); - Assert.assertTrue("Unregistred element id : " + elementTypeId, SysMLServiceTypeUtil.isKnown(elementTypeId)); - } - } - } - -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/src/org/eclipse/papyrus/sysml14/nattable/allocation/tests/tester/TableAllocationCreationTesterTest.java b/table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/src/org/eclipse/papyrus/sysml14/nattable/allocation/tests/tester/TableAllocationCreationTesterTest.java deleted file mode 100755 index 151747f..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.allocation.tests/src/org/eclipse/papyrus/sysml14/nattable/allocation/tests/tester/TableAllocationCreationTesterTest.java +++ /dev/null
@@ -1,54 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.nattable.allocation.tests.tester; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.papyrus.sysml14.nattable.allocation.tester.TableAllocationCreationTester; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.uml2.uml.Model; -import org.junit.Assert; -import org.junit.Test; - -/** - * Test for TableAllocationCreationTester - */ -@SuppressWarnings("nls") -public class TableAllocationCreationTesterTest { - - /** - * The creation isn't allowed on null elements - */ - @Test - public void emptyContextTest() { - TableAllocationCreationTester tableAllocationCreationTester = new TableAllocationCreationTester(); - IStatus allowed = tableAllocationCreationTester.isAllowed(null); - Assert.assertEquals("The tester should not work on a null entry", IStatus.ERROR, allowed.getSeverity()); - } - - /** - * The creation of a Table Allocation is allowed on the root of a SyML 1.4 model - */ - @Test - public void simpleModelTest() { - TableAllocationCreationTester tableAllocationCreationTester = new TableAllocationCreationTester(); - Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); - IStatus allowed = tableAllocationCreationTester.isAllowed(model); - Assert.assertEquals("The tester work on a model with SyML 1.4 profil entry", IStatus.OK, allowed.getSeverity()); - } - - - -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation/.project b/table/org.eclipse.papyrus.sysml14.nattable.allocation/.project deleted file mode 100644 index 1f4e51f..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.allocation/.project +++ /dev/null
@@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.nattable.allocation</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> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription>
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation/META-INF/MANIFEST.MF b/table/org.eclipse.papyrus.sysml14.nattable.allocation/META-INF/MANIFEST.MF deleted file mode 100644 index ed7031b..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.allocation/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,24 +0,0 @@ -Manifest-Version: 1.0 -Require-Bundle: org.eclipse.ui;bundle-version="[3.107.0,4.0.0)", - org.eclipse.core.runtime;bundle-version="[3.11.1,4.0.0)", - org.eclipse.uml2.uml;bundle-version="[5.1.0,6.0.0)", - org.eclipse.gmf.runtime.diagram.core;bundle-version="[1.7.0,2.0.0)", - org.eclipse.papyrus.infra.tools;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.nattable.common;bundle-version="3.0.0", - org.eclipse.papyrus.infra.nattable;bundle-version="3.0.0", - org.eclipse.papyrus.infra.nattable.model;bundle-version="3.0.0", - org.eclipse.papyrus.uml.tools.utils;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.sysml14;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.service.types;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.nattable.common;bundle-version="1.0.0" -Bundle-Vendor: %Bundle-Vendor -Bundle-ActivationPolicy: lazy -Bundle-Version: 1.2.0.qualifier -Bundle-Name: %Bundle-Name -Bundle-Activator: org.eclipse.papyrus.sysml14.nattable.allocation.Activator -Bundle-ManifestVersion: 2 -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.nattable.allocation;singleton:=true -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Export-Package: org.eclipse.papyrus.sysml14.nattable.allocation, - org.eclipse.papyrus.sysml14.nattable.allocation.tester -
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation/OSGI-INF/l10n/bundle.properties b/table/org.eclipse.papyrus.sysml14.nattable.allocation/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index 2d57a66..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.allocation/OSGI-INF/l10n/bundle.properties +++ /dev/null
@@ -1,12 +0,0 @@ -################################################################################# -# Copyright (c) 2016 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: -# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation -################################################################################## -Bundle-Vendor = Eclipse Modeling Project -Bundle-Name = Papyrus SysML 1.4 Allocation Table \ No newline at end of file
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation/plugin.xml b/table/org.eclipse.papyrus.sysml14.nattable.allocation/plugin.xml deleted file mode 100644 index 16eff15..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.allocation/plugin.xml +++ /dev/null
@@ -1,66 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?eclipse version="3.4"?> -<plugin> - <!-- <extension - point="org.eclipse.papyrus.infra.viewpoints.policy.custom"> - <contribution - file="resources/configuration/allocationTable.configuration" - original="platform:/plugin/org.eclipse.papyrus.infra.viewpoints.policy/builtin/default.configuration"> - </contribution> - </extension> --> - - <extension - point="org.eclipse.ui.commands"> - <command - categoryId="org.eclipse.papyrus.editor.category" - description="Create a SysML Allocation NatTable Editor" - id="org.eclipse.papyrus.sysml14.nattable.allocation.create.command" - name="Create a new Allocation Table"> - </command> - </extension> - <extension - point="org.eclipse.ui.commandImages"> - <image - commandId="org.eclipse.papyrus.sysml14.nattable.allocation.create.command" - icon="icons/table_SysML_Allocation_new.png"> - </image> - </extension> - <extension - point="org.eclipse.ui.handlers"> - <handler - commandId="org.eclipse.papyrus.sysml14.nattable.allocation.create.command"> - <activeWhen> - <or> - <with - variable="activeEditorId"> - <equals - value="org.eclipse.papyrus.infra.core.papyrusEditor"> - </equals> - </with> - </or> - </activeWhen> - <class - class="org.eclipse.papyrus.infra.nattable.common.handlers.CreateNatTableEditorHandler"> - <parameter - name="tableType" - value="PapyrusSysML14AllocationTable"> - </parameter> - </class> - </handler> - </extension> - <extension - point="org.eclipse.papyrus.infra.nattable.tester"> - <tester - class="org.eclipse.papyrus.sysml14.nattable.allocation.tester.TableAllocationCreationTester" - id="org.eclipse.papyrus.sysml14.nattable.allocation.config.allocationtablecreationtester"> - </tester> - </extension> - <extension - point="org.eclipse.papyrus.infra.nattable.configuration"> - <configuration - file="resources/allocation.nattableconfiguration" - type="PapyrusSysML14AllocationTable"> - </configuration> - </extension> - -</plugin>
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation/pom.xml b/table/org.eclipse.papyrus.sysml14.nattable.allocation/pom.xml deleted file mode 100644 index c2ade09..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.allocation/pom.xml +++ /dev/null
@@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" -xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.eclipse.papyrus.sysml</groupId> - <artifactId>org.eclipse.papyrus.sysml14.table</artifactId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.nattable.allocation</artifactId> - <packaging>eclipse-plugin</packaging> - <description>This plugin defines the allocation table of SysML 1.4.</description> -</project> \ No newline at end of file
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation/resources/allocation.nattableconfiguration b/table/org.eclipse.papyrus.sysml14.nattable.allocation/resources/allocation.nattableconfiguration deleted file mode 100644 index f240afa..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.allocation/resources/allocation.nattableconfiguration +++ /dev/null
@@ -1,41 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<nattableconfiguration:TableConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:nattablestyle="http://www.eclipse.org/papyrus/nattable/model/table/nattablestyle" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:nattableaxis="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis" xmlns:nattableaxisconfiguration="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration" xmlns:nattableaxisprovider="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider" xmlns:nattableconfiguration="http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration" xmlns:nattablelabelprovider="http://www.eclipse.org/papyrus/nattable/model/table/nattablecontentprovider" xmlns:nattabletester="http://www.eclipse.org/papyrus/nattable/model/table/nattabletester" description="This table is used to display SysML Allocation" name="AllocationTable" type="PapyrusSysML14AllocationTable" iconPath="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.allocation/icons/table_SysML_Allocation.png" defaultRowAxisProvider="//@rowAxisProviders.0" defaultColumnAxisProvider="//@columnAxisProviders.0"> - <styles xsi:type="nattablestyle:StringListValueStyle" name="dragRegions"> - <stringListValue>ROW_HEADER</stringListValue> - </styles> - <creationTester xsi:type="nattabletester:JavaTableTester" tester="org.eclipse.papyrus.sysml14.nattable.allocation.config.allocationtablecreationtester"/> - <rowHeaderAxisConfiguration xsi:type="nattableaxisconfiguration:TableHeaderAxisConfiguration" indexStyle="NUMERIC" displayIndex="false"> - <ownedLabelConfigurations xsi:type="nattablelabelprovider:ObjectLabelProviderConfiguration"/> - <ownedLabelConfigurations xsi:type="nattablelabelprovider:OperationLabelProviderConfiguration" displayType="false" displayMultiplicity="false"/> - <ownedAxisConfigurations xsi:type="nattableaxisconfiguration:EStructuralFeatureValueFillingConfiguration"> - <listenFeature xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace/ownedMember"/> - </ownedAxisConfigurations> - <ownedAxisConfigurations xsi:type="nattableaxisconfiguration:PasteEObjectConfiguration" pastedElementId="org.eclipse.papyrus.SysML14.Allocate_Abstraction"> - <postActions>applyStereotype:/SysML::Allocations::Allocate</postActions> - <pasteElementContainementFeature xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package/packagedElement"/> - <axisIdentifier xsi:type="nattableaxis:EStructuralFeatureAxis" manager="//@columnHeaderAxisConfiguration/@axisManagers.0"> - <element xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Dependency/supplier"/> - </axisIdentifier> - </ownedAxisConfigurations> - <axisManagers xsi:type="nattableaxisconfiguration:AxisManagerRepresentation" axisManagerId="org.eclipse.papyrus.sysml14.nattable.allocate.axis.manager" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.labelprovider" headerLabelConfiguration="//@rowHeaderAxisConfiguration/@ownedLabelConfigurations.0" specificAxisConfigurations="//@rowHeaderAxisConfiguration/@ownedAxisConfigurations.0"/> - </rowHeaderAxisConfiguration> - <columnHeaderAxisConfiguration xsi:type="nattableaxisconfiguration:TableHeaderAxisConfiguration" displayIndex="false"> - <ownedLabelConfigurations xsi:type="nattablelabelprovider:FeatureLabelProviderConfiguration" displayType="false" displayMultiplicity="false"/> - <ownedLabelConfigurations xsi:type="nattablelabelprovider:OperationLabelProviderConfiguration"/> - <axisManagers xsi:type="nattableaxisconfiguration:AxisManagerRepresentation" axisManagerId="org.eclipse.papyrus.uml.nattable.feature.axis.manager" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.feature.labelprovider" headerLabelConfiguration="//@columnHeaderAxisConfiguration/@ownedLabelConfigurations.0"/> - <axisManagers xsi:type="nattableaxisconfiguration:AxisManagerRepresentation" axisManagerId="org.eclipse.papyrus.uml.nattable.stereotype.property.axis.manager" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.feature.labelprovider" headerLabelConfiguration="//@columnHeaderAxisConfiguration/@ownedLabelConfigurations.0"/> - <axisManagers xsi:type="nattableaxisconfiguration:AxisManagerRepresentation" axisManagerId="org.eclipse.papyrus.uml.nattable.operation.axis.manager" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.operation.labelprovider" headerLabelConfiguration="//@columnHeaderAxisConfiguration/@ownedLabelConfigurations.1"/> - </columnHeaderAxisConfiguration> - <columnAxisProviders xsi:type="nattableaxisprovider:SlaveObjectAxisProvider" description="This provider provides the default columns for the SysML Allocation Table" name="SysMLAllocationFeatureProvider"> - <axis xsi:type="nattableaxis:EStructuralFeatureAxis" manager="//@columnHeaderAxisConfiguration/@axisManagers.0"> - <element xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </axis> - <axis xsi:type="nattableaxis:EStructuralFeatureAxis" manager="//@columnHeaderAxisConfiguration/@axisManagers.0"> - <element xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Dependency/client"/> - </axis> - <axis xsi:type="nattableaxis:EStructuralFeatureAxis" manager="//@columnHeaderAxisConfiguration/@axisManagers.0"> - <element xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Dependency/supplier"/> - </axis> - </columnAxisProviders> - <rowAxisProviders xsi:type="nattableaxisprovider:MasterObjectAxisProvider" description="This row providers allows to display all Allocation in a Table" name="SysMLAllocationProvider" disconnectSlave="true"/> -</nattableconfiguration:TableConfiguration>
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation/src/org/eclipse/papyrus/sysml14/nattable/allocation/Activator.java b/table/org.eclipse.papyrus.sysml14.nattable.allocation/src/org/eclipse/papyrus/sysml14/nattable/allocation/Activator.java deleted file mode 100644 index a5e48f6..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.allocation/src/org/eclipse/papyrus/sysml14/nattable/allocation/Activator.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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 - * - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.allocation; - -import org.eclipse.ui.plugin.AbstractUIPlugin; - -/** - * 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.sysml14.nattable.allocation"; //$NON-NLS-1$ - -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation/src/org/eclipse/papyrus/sysml14/nattable/allocation/Messages.java b/table/org.eclipse.papyrus.sysml14.nattable.allocation/src/org/eclipse/papyrus/sysml14/nattable/allocation/Messages.java deleted file mode 100644 index 34b00a6..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.allocation/src/org/eclipse/papyrus/sysml14/nattable/allocation/Messages.java +++ /dev/null
@@ -1,30 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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 - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.allocation; - -import org.eclipse.osgi.util.NLS; - -public class Messages extends NLS { - - private static final String BUNDLE_NAME = "org.eclipse.papyrus.sysml14.nattable.allocation.messages"; //$NON-NLS-1$ - - public static String TableAllocationCreationTester_NotAnUMLElement; - - public static String TableAllocationCreationTester_OKMessage; - - public static String TableAllocationCreationTester_ProfileNotApplied; - static { - // initialize resource bundle - NLS.initializeMessages(BUNDLE_NAME, Messages.class); - } - - private Messages() { - } -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation/src/org/eclipse/papyrus/sysml14/nattable/allocation/messages.properties b/table/org.eclipse.papyrus.sysml14.nattable.allocation/src/org/eclipse/papyrus/sysml14/nattable/allocation/messages.properties deleted file mode 100644 index c31bd23..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.allocation/src/org/eclipse/papyrus/sysml14/nattable/allocation/messages.properties +++ /dev/null
@@ -1,3 +0,0 @@ -TableAllocationCreationTester_NotAnUMLElement=The context is not an UML Element -TableAllocationCreationTester_OKMessage=The context allows to create an Allocation Table -TableAllocationCreationTester_ProfileNotApplied=The profile SysML 1.4 is not applied on the model
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.allocation/src/org/eclipse/papyrus/sysml14/nattable/allocation/tester/TableAllocationCreationTester.java b/table/org.eclipse.papyrus.sysml14.nattable.allocation/src/org/eclipse/papyrus/sysml14/nattable/allocation/tester/TableAllocationCreationTester.java deleted file mode 100644 index d8c3899..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.allocation/src/org/eclipse/papyrus/sysml14/nattable/allocation/tester/TableAllocationCreationTester.java +++ /dev/null
@@ -1,48 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 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: - * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Use the utility method to check SysML 1.4 profile application - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.allocation.tester; - - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.Status; -import org.eclipse.papyrus.infra.nattable.tester.ITableTester; -import org.eclipse.papyrus.sysml14.nattable.allocation.Activator; -import org.eclipse.papyrus.sysml14.nattable.allocation.Messages; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.uml2.uml.Package; - - - -public class TableAllocationCreationTester implements ITableTester { - - /** - * - * @see org.eclipse.papyrus.infra.nattable.tester.ITableTester#isAllowed(java.lang.Object) - * - * @param context - * @return - */ - @Override - public IStatus isAllowed(Object context) { - if (context instanceof Package) { - if (SysMLResource.isSysMLProfileApplied((Package) context)) { - return new Status(IStatus.OK, Activator.PLUGIN_ID, Messages.TableAllocationCreationTester_OKMessage); - } else { - return new Status(IStatus.ERROR, Activator.PLUGIN_ID, String.format(Messages.TableAllocationCreationTester_ProfileNotApplied)); - } - } - return new Status(IStatus.ERROR, Activator.PLUGIN_ID, Messages.TableAllocationCreationTester_NotAnUMLElement); - } - -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.common/.project b/table/org.eclipse.papyrus.sysml14.nattable.common/.project deleted file mode 100644 index 84e21ae..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.common/.project +++ /dev/null
@@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.nattable.common</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> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription>
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.common/META-INF/MANIFEST.MF b/table/org.eclipse.papyrus.sysml14.nattable.common/META-INF/MANIFEST.MF deleted file mode 100644 index 60b1f65..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.common/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,35 +0,0 @@ -Manifest-Version: 1.0 -Export-Package: org.eclipse.papyrus.sysml14.nattable.common, - org.eclipse.papyrus.sysml14.nattable.common.manager.axis, - org.eclipse.papyrus.sysml14.nattable.common.manager.cell, - org.eclipse.papyrus.sysml14.nattable.common.provider -Require-Bundle: org.eclipse.ui;bundle-version="[3.107.0,4.0.0)", - org.eclipse.core.runtime;bundle-version="[3.11.1,4.0.0)", - org.eclipse.uml2.uml;bundle-version="[5.1.0,6.0.0)", - org.eclipse.gmf.runtime.diagram.core;bundle-version="[1.7.0,2.0.0)", - org.eclipse.emf.edit;bundle-version="[2.9.0,3.0.0)", - org.eclipse.nebula.widgets.nattable.core;bundle-version="[1.2.0,2.0.0)", - org.eclipse.papyrus.infra.core.log;bundle-version="[1.1.0,2.0.0)", - org.eclipse.papyrus.infra.emf.nattable;bundle-version="3.0.0", - org.eclipse.papyrus.infra.services.labelprovider;bundle-version="[2.0.0,3.0.0)", - org.eclipse.papyrus.infra.nattable;bundle-version="3.0.0", - org.eclipse.papyrus.infra.nattable.model;bundle-version="3.0.0", - org.eclipse.papyrus.infra.widgets;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.services.edit;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.emf;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.tools;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.expressions;bundle-version="1.0.0", - org.eclipse.papyrus.infra.emf.expressions;bundle-version="[1.0.0,2.0.0)", - org.eclipse.papyrus.uml.nattable;bundle-version="3.0.0", - org.eclipse.papyrus.sysml14;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.service.types;bundle-version="1.0.0" -Bundle-Vendor: %Bundle-Vendor -Bundle-ActivationPolicy: lazy -Bundle-Version: 1.2.0.qualifier -Bundle-Name: %Bundle-Name -Bundle-Activator: org.eclipse.papyrus.sysml14.nattable.common.Activator -Bundle-ManifestVersion: 2 -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.nattable.common;singleton:=true -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Bundle-Description: %Bundle-Description
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.common/OSGI-INF/l10n/bundle.properties b/table/org.eclipse.papyrus.sysml14.nattable.common/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index 4cb7371..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.common/OSGI-INF/l10n/bundle.properties +++ /dev/null
@@ -1,11 +0,0 @@ -################################################################################# -# Copyright (c) 2015 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 -# -################################################################################## -Bundle-Description=This plugin provides common classes for the SysML 1.4 tables. -Bundle-Vendor = Eclipse Modeling Project -Bundle-Name = Papyrus SysML 1.4 Common Table \ No newline at end of file
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.common/plugin.xml b/table/org.eclipse.papyrus.sysml14.nattable.common/plugin.xml deleted file mode 100644 index bf29025..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.common/plugin.xml +++ /dev/null
@@ -1,44 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?eclipse version="3.4"?> -<plugin> - <extension - point="org.eclipse.papyrus.infra.services.labelprovider.labelProvider"> - <labelProvider - priority="1700" - provider="org.eclipse.papyrus.sysml14.nattable.common.provider.SysMLFlowPortDirectionLabelProvider"> - <labelProviderContext - context="org.eclipse.papyrus.infra.nattable.body.labelprovider"> - </labelProviderContext> - </labelProvider> - </extension> - <extension - point="org.eclipse.papyrus.infra.nattable.cellmanager"> - <cellManager - id="org.eclipse.papyrus.sysml14.nattable.common.stereotype.property.cell.manager" - manager="org.eclipse.papyrus.sysml14.nattable.common.manager.cell.SysMLStereotypePropertyCellManager" - order="250"> - </cellManager> - </extension> - <extension - point="org.eclipse.papyrus.infra.nattable.axismanager"> - <axisManager - id="org.eclipse.papyrus.sysml14.nattable.requirement.axis.manager" - manager="org.eclipse.papyrus.sysml14.nattable.common.manager.axis.RequirementAxisManager"> - </axisManager> - <axisManager - id="org.eclipse.papyrus.sysml14.nattable.requirement.tree.axis.manager" - manager="org.eclipse.papyrus.sysml14.nattable.common.manager.axis.RequirementTreeAxisManager"> - </axisManager> - - <axisManager - id="org.eclipse.papyrus.sysml14.nattable.allocate.axis.manager" - manager="org.eclipse.papyrus.sysml14.nattable.common.manager.axis.AllocateAxisManager"> - </axisManager> - </extension> - <extension - point="org.eclipse.papyrus.infra.emf.expressions.expressionCatalog"> - <catalog - file="resources/SysML14.expressions"> - </catalog> - </extension> -</plugin>
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.common/pom.xml b/table/org.eclipse.papyrus.sysml14.nattable.common/pom.xml deleted file mode 100644 index 4f86ab1..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.common/pom.xml +++ /dev/null
@@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" -xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.eclipse.papyrus.sysml</groupId> - <artifactId>org.eclipse.papyrus.sysml14.table</artifactId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.nattable.common</artifactId> - <packaging>eclipse-plugin</packaging> - <description>The plugin gather the shared API for the table based upon nattable framework.</description> -</project> \ No newline at end of file
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.common/resources/SysML14.expressions b/table/org.eclipse.papyrus.sysml14.nattable.common/resources/SysML14.expressions deleted file mode 100644 index 5af584d..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.common/resources/SysML14.expressions +++ /dev/null
@@ -1,56 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<expressions:ExpressionCatalog xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:expressions="http://www.eclipse.org/papyrus/expressions" xmlns:umlexpressions="http://www.eclipse.org/papyrus/umlexpressions" xmi:id="_P7ayEDv6Eee2LLfELRoVyg" name="SysML1.4 Expressions" description="This catalog provides expressions for the profile SysML 1.4."> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayETv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Activities::Continuous" description="This expression returns TRUE if the Element is stereotyped with SysML::Activities::Continuous and FALSE otherwise." stereotypeQualifiedName="SysML::Activities::Continuous"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayEjv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Activities::ControlOperator" description="This expression returns TRUE if the Element is stereotyped with SysML::Activities::ControlOperator and FALSE otherwise." stereotypeQualifiedName="SysML::Activities::ControlOperator"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayEzv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Activities::Discrete" description="This expression returns TRUE if the Element is stereotyped with SysML::Activities::Discrete and FALSE otherwise." stereotypeQualifiedName="SysML::Activities::Discrete"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayFDv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Activities::NoBuffer" description="This expression returns TRUE if the Element is stereotyped with SysML::Activities::NoBuffer and FALSE otherwise." stereotypeQualifiedName="SysML::Activities::NoBuffer"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayFTv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Activities::Optional" description="This expression returns TRUE if the Element is stereotyped with SysML::Activities::Optional and FALSE otherwise." stereotypeQualifiedName="SysML::Activities::Optional"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayFjv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Activities::Overwrite" description="This expression returns TRUE if the Element is stereotyped with SysML::Activities::Overwrite and FALSE otherwise." stereotypeQualifiedName="SysML::Activities::Overwrite"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayFzv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Activities::Probability" description="This expression returns TRUE if the Element is stereotyped with SysML::Activities::Probability and FALSE otherwise." stereotypeQualifiedName="SysML::Activities::Probability"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayGDv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Activities::Rate" description="This expression returns TRUE if the Element is stereotyped with SysML::Activities::Rate and FALSE otherwise." stereotypeQualifiedName="SysML::Activities::Rate"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayGTv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Allocations::Allocate" description="This expression returns TRUE if the Element is stereotyped with SysML::Allocations::Allocate and FALSE otherwise." stereotypeQualifiedName="SysML::Allocations::Allocate"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayGjv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Allocations::AllocateActivityPartition" description="This expression returns TRUE if the Element is stereotyped with SysML::Allocations::AllocateActivityPartition and FALSE otherwise." stereotypeQualifiedName="SysML::Allocations::AllocateActivityPartition"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayGzv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::AdjunctProperty" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::AdjunctProperty and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::AdjunctProperty"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayHDv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::BindingConnector" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::BindingConnector and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::BindingConnector"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayHTv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::Block" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::Block and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::Block"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayHjv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::BoundReference" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::BoundReference and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::BoundReference"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayHzv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::ClassifierBehaviorProperty" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::ClassifierBehaviorProperty and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::ClassifierBehaviorProperty"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayIDv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::ConnectorProperty" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::ConnectorProperty and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::ConnectorProperty"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayITv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::DirectedRelationshipPropertyPath" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::DirectedRelationshipPropertyPath and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::DirectedRelationshipPropertyPath"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayIjv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::DistributedProperty" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::DistributedProperty and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::DistributedProperty"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayIzv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::ElementPropertyPath" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::ElementPropertyPath and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::ElementPropertyPath"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayJDv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::EndPathMultiplicity" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::EndPathMultiplicity and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::EndPathMultiplicity"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayJTv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::NestedConnectorEnd" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::NestedConnectorEnd and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::NestedConnectorEnd"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayJjv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::ParticipantProperty" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::ParticipantProperty and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::ParticipantProperty"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayJzv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::PropertySpecificType" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::PropertySpecificType and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::PropertySpecificType"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayKDv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Blocks::ValueType" description="This expression returns TRUE if the Element is stereotyped with SysML::Blocks::ValueType and FALSE otherwise." stereotypeQualifiedName="SysML::Blocks::ValueType"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayKTv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::ConstraintBlocks::ConstraintBlock" description="This expression returns TRUE if the Element is stereotyped with SysML::ConstraintBlocks::ConstraintBlock and FALSE otherwise." stereotypeQualifiedName="SysML::ConstraintBlocks::ConstraintBlock"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayKjv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::DeprecatedElements::FlowPort" description="This expression returns TRUE if the Element is stereotyped with SysML::DeprecatedElements::FlowPort and FALSE otherwise." stereotypeQualifiedName="SysML::DeprecatedElements::FlowPort"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayKzv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::DeprecatedElements::FlowSpecification" description="This expression returns TRUE if the Element is stereotyped with SysML::DeprecatedElements::FlowSpecification and FALSE otherwise." stereotypeQualifiedName="SysML::DeprecatedElements::FlowSpecification"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayLDv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::ModelElements::Conform" description="This expression returns TRUE if the Element is stereotyped with SysML::ModelElements::Conform and FALSE otherwise." stereotypeQualifiedName="SysML::ModelElements::Conform"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayLTv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::ModelElements::ElementGroup" description="This expression returns TRUE if the Element is stereotyped with SysML::ModelElements::ElementGroup and FALSE otherwise." stereotypeQualifiedName="SysML::ModelElements::ElementGroup"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayLjv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::ModelElements::Expose" description="This expression returns TRUE if the Element is stereotyped with SysML::ModelElements::Expose and FALSE otherwise." stereotypeQualifiedName="SysML::ModelElements::Expose"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayLzv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::ModelElements::Problem" description="This expression returns TRUE if the Element is stereotyped with SysML::ModelElements::Problem and FALSE otherwise." stereotypeQualifiedName="SysML::ModelElements::Problem"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayMDv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::ModelElements::Rationale" description="This expression returns TRUE if the Element is stereotyped with SysML::ModelElements::Rationale and FALSE otherwise." stereotypeQualifiedName="SysML::ModelElements::Rationale"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayMTv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::ModelElements::Stakeholder" description="This expression returns TRUE if the Element is stereotyped with SysML::ModelElements::Stakeholder and FALSE otherwise." stereotypeQualifiedName="SysML::ModelElements::Stakeholder"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayMjv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::ModelElements::View" description="This expression returns TRUE if the Element is stereotyped with SysML::ModelElements::View and FALSE otherwise." stereotypeQualifiedName="SysML::ModelElements::View"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayMzv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::ModelElements::Viewpoint" description="This expression returns TRUE if the Element is stereotyped with SysML::ModelElements::Viewpoint and FALSE otherwise." stereotypeQualifiedName="SysML::ModelElements::Viewpoint"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayNDv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::PortsAndFlows::AcceptChangeStructuralFeatureEventAction" description="This expression returns TRUE if the Element is stereotyped with SysML::PortsAndFlows::AcceptChangeStructuralFeatureEventAction and FALSE otherwise." stereotypeQualifiedName="SysML::PortsAndFlows::AcceptChangeStructuralFeatureEventAction"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayNTv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::PortsAndFlows::ChangeStructuralFeatureEvent" description="This expression returns TRUE if the Element is stereotyped with SysML::PortsAndFlows::ChangeStructuralFeatureEvent and FALSE otherwise." stereotypeQualifiedName="SysML::PortsAndFlows::ChangeStructuralFeatureEvent"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayNjv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::PortsAndFlows::DirectedFeature" description="This expression returns TRUE if the Element is stereotyped with SysML::PortsAndFlows::DirectedFeature and FALSE otherwise." stereotypeQualifiedName="SysML::PortsAndFlows::DirectedFeature"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayNzv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::PortsAndFlows::FlowProperty" description="This expression returns TRUE if the Element is stereotyped with SysML::PortsAndFlows::FlowProperty and FALSE otherwise." stereotypeQualifiedName="SysML::PortsAndFlows::FlowProperty"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayODv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::PortsAndFlows::FullPort" description="This expression returns TRUE if the Element is stereotyped with SysML::PortsAndFlows::FullPort and FALSE otherwise." stereotypeQualifiedName="SysML::PortsAndFlows::FullPort"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayOTv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::PortsAndFlows::InterfaceBlock" description="This expression returns TRUE if the Element is stereotyped with SysML::PortsAndFlows::InterfaceBlock and FALSE otherwise." stereotypeQualifiedName="SysML::PortsAndFlows::InterfaceBlock"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayOjv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::PortsAndFlows::InvocationOnNestedPortAction" description="This expression returns TRUE if the Element is stereotyped with SysML::PortsAndFlows::InvocationOnNestedPortAction and FALSE otherwise." stereotypeQualifiedName="SysML::PortsAndFlows::InvocationOnNestedPortAction"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayOzv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::PortsAndFlows::ItemFlow" description="This expression returns TRUE if the Element is stereotyped with SysML::PortsAndFlows::ItemFlow and FALSE otherwise." stereotypeQualifiedName="SysML::PortsAndFlows::ItemFlow"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayPDv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::PortsAndFlows::ProxyPort" description="This expression returns TRUE if the Element is stereotyped with SysML::PortsAndFlows::ProxyPort and FALSE otherwise." stereotypeQualifiedName="SysML::PortsAndFlows::ProxyPort"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayPTv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::PortsAndFlows::TriggerOnNestedPort" description="This expression returns TRUE if the Element is stereotyped with SysML::PortsAndFlows::TriggerOnNestedPort and FALSE otherwise." stereotypeQualifiedName="SysML::PortsAndFlows::TriggerOnNestedPort"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayPjv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Requirements::Copy" description="This expression returns TRUE if the Element is stereotyped with SysML::Requirements::Copy and FALSE otherwise." stereotypeQualifiedName="SysML::Requirements::Copy"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayPzv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Requirements::DeriveReqt" description="This expression returns TRUE if the Element is stereotyped with SysML::Requirements::DeriveReqt and FALSE otherwise." stereotypeQualifiedName="SysML::Requirements::DeriveReqt"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayQDv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Requirements::Refine" description="This expression returns TRUE if the Element is stereotyped with SysML::Requirements::Refine and FALSE otherwise." stereotypeQualifiedName="SysML::Requirements::Refine"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayQTv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Requirements::Requirement" description="This expression returns TRUE if the Element is stereotyped with SysML::Requirements::Requirement and FALSE otherwise." stereotypeQualifiedName="SysML::Requirements::Requirement"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayQjv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Requirements::Satisfy" description="This expression returns TRUE if the Element is stereotyped with SysML::Requirements::Satisfy and FALSE otherwise." stereotypeQualifiedName="SysML::Requirements::Satisfy"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayQzv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Requirements::TestCase" description="This expression returns TRUE if the Element is stereotyped with SysML::Requirements::TestCase and FALSE otherwise." stereotypeQualifiedName="SysML::Requirements::TestCase"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayRDv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Requirements::Trace" description="This expression returns TRUE if the Element is stereotyped with SysML::Requirements::Trace and FALSE otherwise." stereotypeQualifiedName="SysML::Requirements::Trace"/> - <expressions xsi:type="umlexpressions:IsStereotypedWithExpression" xmi:id="_P7ayRTv6Eee2LLfELRoVyg" name="IsStereotypedWith_SysML::Requirements::Verify" description="This expression returns TRUE if the Element is stereotyped with SysML::Requirements::Verify and FALSE otherwise." stereotypeQualifiedName="SysML::Requirements::Verify"/> -</expressions:ExpressionCatalog>
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.common/src/org/eclipse/papyrus/sysml14/nattable/common/Activator.java b/table/org.eclipse.papyrus.sysml14.nattable.common/src/org/eclipse/papyrus/sysml14/nattable/common/Activator.java deleted file mode 100644 index 27f555a..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.common/src/org/eclipse/papyrus/sysml14/nattable/common/Activator.java +++ /dev/null
@@ -1,34 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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 - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.common; - -import org.eclipse.jface.resource.ImageDescriptor; -import org.eclipse.ui.plugin.AbstractUIPlugin; - -/** - * 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.sysml.nattable.common"; //$NON-NLS-1$ - - /** - * Returns an image descriptor for the image file at the given - * plug-in relative path - * - * @param path the path - * @return the image descriptor - */ - public static ImageDescriptor getImageDescriptor(String path) { - return imageDescriptorFromPlugin(PLUGIN_ID, path); - } - -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.common/src/org/eclipse/papyrus/sysml14/nattable/common/manager/axis/AllocateAxisManager.java b/table/org.eclipse.papyrus.sysml14.nattable.common/src/org/eclipse/papyrus/sysml14/nattable/common/manager/axis/AllocateAxisManager.java deleted file mode 100644 index 2ebb646..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.common/src/org/eclipse/papyrus/sysml14/nattable/common/manager/axis/AllocateAxisManager.java +++ /dev/null
@@ -1,105 +0,0 @@ -/***************************************************************************** - * 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: - * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.common.manager.axis; - -import org.eclipse.papyrus.sysml14.allocations.Allocate; -import org.eclipse.papyrus.sysml14.allocations.AllocationsPackage; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager; -import org.eclipse.uml2.uml.Abstraction; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * Axis Manager for Allocate - * - */ -public class AllocateAxisManager extends AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager<Allocate> { - - - /** - * - * @see org.eclipse.papyrus.infra.nattable.manager.axis.AbstractAxisManager#canCreateAxisElement(java.lang.String) - * - * @param elementId - * @return - */ - @Override - public boolean canCreateAxisElement(final String elementId) { - return SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_ALLOCATE_ABSTRACTION.equals(elementId); - } - - /** - * - * @see org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager#isInstanceOfRequiredStereotypeApplication(java.lang.Object) - * - * @param object - * @return - */ - @Override - protected boolean isInstanceOfRequiredStereotypeApplication(Object object) { - return object instanceof Allocate; - } - - - /** - * - * @see org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager#getStereotypeApplication(org.eclipse.uml2.uml.Element) - * - * @param el - * @return - */ - @Override - protected Allocate getStereotypeApplication(final Element el) { - return UMLUtil.getStereotypeApplication(el, Allocate.class); - } - - /** - * - * @see org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager#getStereotypeBaseElement(org.eclipse.emf.ecore.EObject) - * - * @param stereotypeApplication - * @return - */ - @Override - protected Element getStereotypeBaseElement(final Allocate stereotypeApplication) { - return stereotypeApplication.getBase_Abstraction(); - } - - - /** - * - * @see org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager#getStereotypeApplicationBasePropertyName() - * - * @return - */ - @Override - protected String getStereotypeApplicationBasePropertyName() { - return AllocationsPackage.eINSTANCE.getAllocate_Base_Abstraction().getName(); - } - - /** - * - * @see org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager#isAllowedAsBaseElement(org.eclipse.uml2.uml.Element) - * - * @param element - * @return - */ - @Override - protected boolean isAllowedAsBaseElement(Element element) { - return element instanceof Abstraction; - } - - -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.common/src/org/eclipse/papyrus/sysml14/nattable/common/manager/axis/RequirementAxisManager.java b/table/org.eclipse.papyrus.sysml14.nattable.common/src/org/eclipse/papyrus/sysml14/nattable/common/manager/axis/RequirementAxisManager.java deleted file mode 100644 index 23a3272..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.common/src/org/eclipse/papyrus/sysml14/nattable/common/manager/axis/RequirementAxisManager.java +++ /dev/null
@@ -1,107 +0,0 @@ -/***************************************************************************** - * 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: - * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.common.manager.axis; - -import org.eclipse.papyrus.sysml14.requirements.Requirement; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.util.UMLUtil; - - - -/** - * AxisManager for SysML Requirements - * - * @author Vincent Lorenzo - * - */ -public class RequirementAxisManager extends AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager<Requirement> { - - /** - * - * @see org.eclipse.papyrus.infra.nattable.manager.axis.AbstractAxisManager#canCreateAxisElement(java.lang.String) - * - * @param elementId - * @return - */ - @Override - public boolean canCreateAxisElement(String elementId) { - return SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_REQUIREMENT.equals(elementId); - } - - - /** - * - * @see org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager#getStereotypeApplication(org.eclipse.uml2.uml.Element) - * - * @param el - * @return - */ - @Override - protected Requirement getStereotypeApplication(Element el) { - return UMLUtil.getStereotypeApplication(el, Requirement.class); - } - - /** - * - * @see org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager#isInstanceOfRequiredStereotypeApplication(java.lang.Object) - * - * @param object - * @return - */ - @Override - protected boolean isInstanceOfRequiredStereotypeApplication(final Object object) { - return object instanceof Requirement; - } - - /** - * - * @see org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager#getStereotypeBaseElement(org.eclipse.emf.ecore.EObject) - * - * @param stereotypeApplication - * @return - */ - @Override - protected Element getStereotypeBaseElement(final Requirement stereotypeApplication) { - return stereotypeApplication.getBase_Class(); - } - - /** - * - * @see org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager#isAllowedAsBaseElement(org.eclipse.uml2.uml.Element) - * - * @param element - * @return - */ - @Override - protected boolean isAllowedAsBaseElement(final Element element) { - return element instanceof Class; - } - - - /** - * - * @see org.eclipse.papyrus.uml.nattable.manager.axis.AbstractStereotypedElementUMLSynchronizedOnFeatureAxisManager#getStereotypeApplicationBasePropertyName() - * - * @return - */ - @Override - protected String getStereotypeApplicationBasePropertyName() { - return RequirementsPackage.eINSTANCE.getRequirement_Base_Class().getName(); - } - -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.common/src/org/eclipse/papyrus/sysml14/nattable/common/manager/axis/RequirementTreeAxisManager.java b/table/org.eclipse.papyrus.sysml14.nattable.common/src/org/eclipse/papyrus/sysml14/nattable/common/manager/axis/RequirementTreeAxisManager.java deleted file mode 100644 index d78b0f1..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.common/src/org/eclipse/papyrus/sysml14/nattable/common/manager/axis/RequirementTreeAxisManager.java +++ /dev/null
@@ -1,64 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2016 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.common.manager.axis; - -import org.eclipse.papyrus.infra.nattable.model.nattable.nattableaxisconfiguration.TreeFillingConfiguration; -import org.eclipse.papyrus.sysml14.requirements.Requirement; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.papyrus.uml.nattable.manager.axis.UMLElementTreeAxisManagerForEventList; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.util.UMLUtil; - - - -/** - * AxisManager for SysML Requirements tree is Manager - * - */ -public class RequirementTreeAxisManager extends UMLElementTreeAxisManagerForEventList { - - /** - * - * @see org.eclipse.papyrus.infra.nattable.manager.axis.AbstractAxisManager#canCreateAxisElement(java.lang.String) - * - * @param elementId - * @return - */ - @Override - public boolean canCreateAxisElement(String elementId) { - return SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_REQUIREMENT.equals(elementId); - } - - - /** - * @see org.eclipse.papyrus.uml.nattable.manager.axis.UMLElementTreeAxisManagerForEventList#isAllowedContents(java.lang.Object, java.lang.Object, org.eclipse.papyrus.infra.nattable.model.nattable.nattableaxisconfiguration.TreeFillingConfiguration, int) - * - * @param objectToTest - * @param semanticParent - * @param conf - * @param depth - * @return - */ - @Override - public boolean isAllowedContents(Object objectToTest, Object semanticParent, TreeFillingConfiguration conf, int depth) { - if (objectToTest instanceof Element){ - Element element = (Element) objectToTest; - if (UMLUtil.getStereotypeApplication(element, Requirement.class)!= null){ - return super.isAllowedContents(objectToTest, semanticParent, conf, depth); - } - } - return false; - } - -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.common/src/org/eclipse/papyrus/sysml14/nattable/common/manager/cell/SysMLStereotypePropertyCellManager.java b/table/org.eclipse.papyrus.sysml14.nattable.common/src/org/eclipse/papyrus/sysml14/nattable/common/manager/cell/SysMLStereotypePropertyCellManager.java deleted file mode 100644 index 526cb80..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.common/src/org/eclipse/papyrus/sysml14/nattable/common/manager/cell/SysMLStereotypePropertyCellManager.java +++ /dev/null
@@ -1,92 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2012 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: - * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation - * Nicolas FAUVERGUE (CEA LIST) nicolas.fauvergue@cea.fr - Bug 516997 - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.common.manager.cell; - -import java.util.AbstractMap; -import java.util.List; -import java.util.Map.Entry; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.papyrus.infra.nattable.manager.table.INattableModelManager; -import org.eclipse.papyrus.sysml14.service.types.matcher.FlowPortNAMatcher; -import org.eclipse.papyrus.sysml14.util.SysMLQualifiedName; -import org.eclipse.papyrus.uml.nattable.manager.cell.StereotypePropertyCellManager; -import org.eclipse.papyrus.uml.nattable.utils.Constants; -import org.eclipse.uml2.uml.Port; - -/** - * This cell manager manages the cell displaying the direction of the FlowPort. - * If the flowport is not atomic, the cell is not editable and the direction is N/A. - */ -public class SysMLStereotypePropertyCellManager extends StereotypePropertyCellManager { - - /** - * the FlowPort isAtomicMatcher - */ - private static final FlowPortNAMatcher matcher = new FlowPortNAMatcher(); - - /** - * {@inheritDoc} - * - * @see org.eclipse.papyrus.uml.nattable.manager.cell.manager.StereotypePropertyCellManager#handles(java.lang.Object, java.lang.Object) - */ - @Override - public boolean handles(final Object columnElement, final Object rowElement, final INattableModelManager tableManager) { - boolean isHandled = super.handles(columnElement, rowElement, tableManager); - if (isHandled) { - Entry<EObject, String> cellDefinition = getCellDefinition(columnElement, rowElement); - if (cellDefinition.getKey() instanceof Port) { - final String propertyQualifiedNameString = cellDefinition.getValue().substring(Constants.PROPERTY_OF_STEREOTYPE_PREFIX.length(), cellDefinition.getValue().length()); - // We have to use the full name for Constants because of the previous one - isHandled = SysMLQualifiedName.STEREOTYPE_FLOWPORT_DIRECTION.equals(propertyQualifiedNameString); - } - } - return isHandled; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.papyrus.uml.nattable.manager.cell.manager.StereotypePropertyCellManager#isCellEditable(java.lang.Object, java.lang.Object) - */ - @Override - public boolean isCellEditable(final Object columnElement, final Object rowElement, final INattableModelManager tableManager) { - boolean isEditable = super.isCellEditable(columnElement, rowElement, tableManager); - if (isEditable) { - Entry<EObject, String> cellDefinition = getCellDefinition(columnElement, rowElement); - if (cellDefinition != null) { - isEditable = !matcher.matches(cellDefinition.getKey()); - } - } - return isEditable; - } - - /** - * @param columnElement - * @param rowElement - * @return Entry<EObject,propertyQualifiedName> - */ - //FIXME this method should be provided by the core API - private Entry<EObject, String> getCellDefinition(final Object columnElement, final Object rowElement) { - final List<Object> objects = organizeAndResolvedObjects(columnElement, rowElement, null); - // The list must have 2 elements (row and column elements) - if (objects != null && 2 == objects.size()) { - if (objects.get(0) instanceof EObject && objects.get(1) instanceof String) { - return new AbstractMap.SimpleEntry<EObject, String>((EObject) objects.get(0), (String) objects.get(1)); - } - } - return null; - } - -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.common/src/org/eclipse/papyrus/sysml14/nattable/common/provider/SysMLFlowPortDirectionLabelProvider.java b/table/org.eclipse.papyrus.sysml14.nattable.common/src/org/eclipse/papyrus/sysml14/nattable/common/provider/SysMLFlowPortDirectionLabelProvider.java deleted file mode 100644 index 62f665f..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.common/src/org/eclipse/papyrus/sysml14/nattable/common/provider/SysMLFlowPortDirectionLabelProvider.java +++ /dev/null
@@ -1,85 +0,0 @@ -/***************************************************************************** - * 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: - * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation - * Nicolas FAUVERGUE (CEA LIST) nicolas.fauvergue@cea.fr - Bug 516997 - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.common.provider; - -import org.eclipse.nebula.widgets.nattable.config.IConfigRegistry; -import org.eclipse.nebula.widgets.nattable.layer.cell.ILayerCell; -import org.eclipse.papyrus.infra.nattable.utils.AxisUtils; -import org.eclipse.papyrus.infra.nattable.utils.Constants; -import org.eclipse.papyrus.infra.nattable.utils.LabelProviderCellContextElementWrapper; -import org.eclipse.papyrus.sysml14.service.types.matcher.FlowPortNAMatcher; -import org.eclipse.papyrus.sysml14.util.SysMLQualifiedName; -import org.eclipse.papyrus.uml.nattable.provider.AbstractUMLNattableCellLabelProvider; -import org.eclipse.uml2.uml.Port; - -/** - * This label provider allows to display N/A for the direction of the FlowPort when its required! - * - * @author Vincent Lorenzo - * - */ -public class SysMLFlowPortDirectionLabelProvider extends AbstractUMLNattableCellLabelProvider { - - /** - * N/A FlowPort matcher - */ - private static final FlowPortNAMatcher matcher = new FlowPortNAMatcher(); - - /** - * {@inheritDoc} - * - * @see org.eclipse.papyrus.infra.nattable.provider.GenericCellLabelProvider#accept(java.lang.Object) - */ - @Override - public boolean accept(final Object element) { - if (element instanceof LabelProviderCellContextElementWrapper) { - final ILayerCell cell = ((LabelProviderCellContextElementWrapper) element); - final IConfigRegistry registry = ((LabelProviderCellContextElementWrapper) element).getConfigRegistry(); - final Object columnObject = getColumnObject(cell, registry); - String str = AxisUtils.getPropertyId(columnObject); - if (str == null) { - final Object rowObject = getRowObject(cell, registry); - str = AxisUtils.getPropertyId(rowObject); - } - if (str != null) { - return str.endsWith(SysMLQualifiedName.STEREOTYPE_FLOWPORT_DIRECTION); - } - } - return false; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.papyrus.infra.nattable.provider.GenericCellLabelProvider#getText(java.lang.Object) - */ - @Override - public String getText(Object element) { - final ILayerCell cell = (LabelProviderCellContextElementWrapper) element; - final IConfigRegistry configRegistry = ((LabelProviderCellContextElementWrapper) element).getConfigRegistry(); - final Object rowObject = AxisUtils.getRepresentedElement(getRowObject(cell, configRegistry)); - final Object columObject = AxisUtils.getRepresentedElement(getColumnObject(cell, configRegistry)); - Port port = null; - if (rowObject instanceof Port) { - port = (Port) rowObject; - } else if (columObject instanceof Port) { - port = (Port) columObject; - } - if (port != null && matcher.matches(port)) { - return Constants.NOT_AVALAIBLE; - } - return super.getText(element); - } -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/.project b/table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/.project deleted file mode 100644 index 78dd526..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/.project +++ /dev/null
@@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.nattable.requirement.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> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription>
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/META-INF/MANIFEST.MF b/table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/META-INF/MANIFEST.MF deleted file mode 100644 index c935793..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,30 +0,0 @@ -Manifest-Version: 1.0 -Require-Bundle: org.junit;bundle-version="[4.11.0,5.0.0)", - org.eclipse.ocl;bundle-version="[3.5.0,4.0.0)", - org.eclipse.ocl.pivot;bundle-version="[1.0.1,2.0.0)", - org.eclipse.ocl.xtext.essentialocl;bundle-version="[1.0.1,2.0.0)", - org.eclipse.emf.validation.ocl;bundle-version="[1.4.0,2.0.0)", - org.eclipse.ocl.ecore;bundle-version="[3.5.0,4.0.0)", - org.eclipse.ocl.xtext.essentialocl.ui;bundle-version="[1.0.0,2.0.0)", - org.eclipse.uml2.uml.resources;bundle-version="[5.1.0,6.0.0)", - org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.types.core;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.clazz;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.communication;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.component;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.composite;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.deployment;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.interactionoverview;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.profile;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.statemachine;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.diagram.timing;bundle-version="[1.2.0,2.0.0)", - org.eclipse.papyrus.uml.diagram.usecase;bundle-version="[3.0.0,4.0.0)" -Bundle-Vendor: %Bundle-Vendor -Bundle-ActivationPolicy: lazy -Bundle-Version: 1.2.0.qualifier -Bundle-Name: %Bundle-Name -Bundle-ManifestVersion: 2 -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.nattable.requirement.tests -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Bundle-Description: %Bundle-Description -Fragment-Host: org.eclipse.papyrus.sysml14.nattable.requirement;bundle-version="1.0.0"
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/OSGI-INF/l10n/bundle.properties b/table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index 6643f1f..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/OSGI-INF/l10n/bundle.properties +++ /dev/null
@@ -1,13 +0,0 @@ -############################################################################### -# Copyright (c) 2015 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: -# CEA LIST - initial API and implementation -############################################################################### -Bundle-Name = Papyrus SysML 1.4 Requirement Table Tests -Bundle-Vendor = Eclipse Modeling Project -Bundle-Description = This plugin tests the plugin org.eclipse.papyrus.sysml14.nattable.requirement \ No newline at end of file
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/pom.xml b/table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/pom.xml deleted file mode 100644 index d814bf6..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/pom.xml +++ /dev/null
@@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.eclipse.papyrus.sysml</groupId> - <artifactId>org.eclipse.papyrus.sysml14.table</artifactId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.nattable.requirement.tests</artifactId> - <packaging>eclipse-test-plugin</packaging> - <description>This pluygin is in charge of unit tests for requirement table.</description> -</project>
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/src/org/eclipse/papyrus/sysml14/nattable/requirement/tests/resources/RequirementNattableTest.java b/table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/src/org/eclipse/papyrus/sysml14/nattable/requirement/tests/resources/RequirementNattableTest.java deleted file mode 100644 index b3505e7..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/src/org/eclipse/papyrus/sysml14/nattable/requirement/tests/resources/RequirementNattableTest.java +++ /dev/null
@@ -1,111 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - #495408 : Requirement Tree Table - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.nattable.requirement.tests.resources; - -import org.eclipse.emf.common.util.Diagnostic; -import org.eclipse.emf.common.util.TreeIterator; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.emf.ecore.util.Diagnostician; -import org.eclipse.papyrus.infra.core.services.ServiceException; -import org.eclipse.papyrus.infra.nattable.model.nattable.nattableaxisconfiguration.PasteEObjectConfiguration; -import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; -import org.eclipse.papyrus.sysml14.nattable.requirement.Activator; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.junit.Assert; -import org.junit.Before; -import org.junit.Test; - -/** - * Test the requirement nattable models - * - * @author Benoit Maggi - */ -@SuppressWarnings("nls") -public class RequirementNattableTest { - - public static final String REQUIREMENT_NATTABLE_PATH = Activator.PLUGIN_ID + "/resources/requirement.nattableconfiguration"; - - public static final String REQUIREMENT_TREE_NATTABLE_PATH = Activator.PLUGIN_ID + "/resources/requirementTree.nattableconfiguration"; - - @Before - public void loadElementTypeRegistry(){ - ElementTypeSetConfigurationRegistry.getInstance(); - } - - /** - * Validate the model with the rules defined in the meta-model tooling - */ - @Test - public void validateRequirementNattableModel() { - URI createPlatformPluginURI = URI.createPlatformPluginURI(REQUIREMENT_NATTABLE_PATH, true); - Resource resource = new ResourceSetImpl().getResource(createPlatformPluginURI, true); - Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); - Assert.assertEquals("The requirement nattable model is not valid ", Diagnostic.OK, diagnostic.getSeverity()); - } - - /** - * Validate the model with the rules defined in the meta-model tooling - */ - @Test - public void validateRequirementTreeNattableModel() { - URI createPlatformPluginURI = URI.createPlatformPluginURI(REQUIREMENT_TREE_NATTABLE_PATH, true); - Resource resource = new ResourceSetImpl().getResource(createPlatformPluginURI, true); - Diagnostic diagnostic = Diagnostician.INSTANCE.validate(resource.getContents().get(0)); - Assert.assertEquals("The requirement tree nattable model is not valid ", Diagnostic.OK, diagnostic.getSeverity()); - } - - - - /** - * check that the past configuration use a correct element type id - */ - @Test - public void checkPastedElementId() throws ServiceException{ - URI createPlatformPluginURI = URI.createPlatformPluginURI(REQUIREMENT_NATTABLE_PATH, true); - ResourceSetImpl resourceSetImpl = new ResourceSetImpl(); - Resource resource = resourceSetImpl.getResource(createPlatformPluginURI, true); - TreeIterator<EObject> allContents = resource.getAllContents(); - while (allContents.hasNext()) { - EObject eObject = (EObject) allContents.next(); - if (eObject instanceof PasteEObjectConfiguration) { - PasteEObjectConfiguration pasteEObjectConfiguration = (PasteEObjectConfiguration) eObject; - String elementTypeId = pasteEObjectConfiguration.getPastedElementId(); - Assert.assertTrue("Unregistred element id : " + elementTypeId, SysMLServiceTypeUtil.isKnown(elementTypeId)); - } - } - } - - /** - * check that the past configuration use a correct element type id - */ - @Test - public void checkTreePastedElementId() throws ServiceException{ - URI createPlatformPluginURI = URI.createPlatformPluginURI(REQUIREMENT_TREE_NATTABLE_PATH, true); - ResourceSetImpl resourceSetImpl = new ResourceSetImpl(); - Resource resource = resourceSetImpl.getResource(createPlatformPluginURI, true); - TreeIterator<EObject> allContents = resource.getAllContents(); - while (allContents.hasNext()) { - EObject eObject = (EObject) allContents.next(); - if (eObject instanceof PasteEObjectConfiguration) { - PasteEObjectConfiguration pasteEObjectConfiguration = (PasteEObjectConfiguration) eObject; - String elementTypeId = pasteEObjectConfiguration.getPastedElementId(); - Assert.assertTrue("Unregistred element id : " + elementTypeId, SysMLServiceTypeUtil.isKnown(elementTypeId)); - } - } - } - -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/src/org/eclipse/papyrus/sysml14/nattable/requirement/tests/tester/RequirementTableTesterTest.java b/table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/src/org/eclipse/papyrus/sysml14/nattable/requirement/tests/tester/RequirementTableTesterTest.java deleted file mode 100644 index 639cf62..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.requirement.tests/src/org/eclipse/papyrus/sysml14/nattable/requirement/tests/tester/RequirementTableTesterTest.java +++ /dev/null
@@ -1,78 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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: - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.nattable.requirement.tests.tester; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; -import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry; -import org.eclipse.papyrus.sysml14.nattable.requirement.tester.RequirementTableTester; -import org.eclipse.papyrus.sysml14.requirements.RequirementsPackage; -import org.eclipse.papyrus.sysml14.util.SysMLResource; -import org.eclipse.uml2.uml.Class; -import org.eclipse.uml2.uml.Model; -import org.eclipse.uml2.uml.UMLFactory; -import org.eclipse.uml2.uml.util.UMLUtil.StereotypeApplicationHelper; -import org.junit.Assert; -import org.junit.BeforeClass; -import org.junit.Test; - -/** - * Tests on RequirementTableTester - */ -public class RequirementTableTesterTest { - - - @BeforeClass - public static void loadElementTypeSet (){ - ElementTypeSetConfigurationRegistry.getInstance(); - } - - /** - * Check that the tester don't allow null parameter - */ - @Test - public void testNull() { - RequirementTableTester tableRequirementTester = new RequirementTableTester(); - IStatus emptyNotAllowed = tableRequirementTester.isAllowed(null); - Assert.assertEquals("The tester should not work on a null entry", IStatus.ERROR, emptyNotAllowed.getSeverity()); //$NON-NLS-1$ - } - - /** - * Check that the tester don't allow non profiled parameter - */ - @Test - public void testMissingProfile() { - RequirementTableTester tableRequirementTester = new RequirementTableTester(); - org.eclipse.uml2.uml.Package pck = UMLFactory.eINSTANCE.createPackage(); - IStatus missingStereotypeNotAllowed = tableRequirementTester.isAllowed(pck); - Assert.assertEquals("The tester should not work on a non profiled entry", IStatus.ERROR, missingStereotypeNotAllowed.getSeverity()); //$NON-NLS-1$ - } - - - /** - * Check that the tester allow a requirement - */ - @Test - public void testRequirement() { - RequirementTableTester tableRequirementTester = new RequirementTableTester(); - Model model = SysMLResource.createSysMLModel(new ResourceSetImpl()); - Assert.assertFalse("the SysML profil must be applied.", model.getAppliedProfiles().isEmpty()); //$NON-NLS-1$ - Class requirement = model.createOwnedClass("requirement", false);//$NON-NLS-1$ - StereotypeApplicationHelper stereotypeApplicationHelper = StereotypeApplicationHelper.getInstance(null); - stereotypeApplicationHelper.applyStereotype(requirement, RequirementsPackage.eINSTANCE.getRequirement()); - IStatus missingStereotypeNotAllowed = tableRequirementTester.isAllowed(requirement); - Assert.assertEquals("The tester should work on a requirement", IStatus.OK, missingStereotypeNotAllowed.getSeverity()); //$NON-NLS-1$ - } - -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement/.project b/table/org.eclipse.papyrus.sysml14.nattable.requirement/.project deleted file mode 100644 index 1beb1a9..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.requirement/.project +++ /dev/null
@@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.nattable.requirement</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> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription>
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement/META-INF/MANIFEST.MF b/table/org.eclipse.papyrus.sysml14.nattable.requirement/META-INF/MANIFEST.MF deleted file mode 100644 index b1bb2bb..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.requirement/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,26 +0,0 @@ -Manifest-Version: 1.0 -Require-Bundle: org.eclipse.ui;bundle-version="[3.107.0,4.0.0)", - org.eclipse.core.runtime;bundle-version="[3.11.1,4.0.0)", - org.eclipse.uml2.uml;bundle-version="[5.1.0,6.0.0)", - org.eclipse.gmf.runtime.diagram.core;bundle-version="[1.7.0,2.0.0)", - org.eclipse.papyrus.infra.tools;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.emf.nattable;bundle-version="3.0.0", - org.eclipse.papyrus.infra.nattable.common;bundle-version="3.0.0", - org.eclipse.papyrus.infra.nattable;bundle-version="3.0.0", - org.eclipse.papyrus.infra.nattable.model;bundle-version="3.0.0", - org.eclipse.papyrus.uml.tools.utils;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.nattable;bundle-version="3.0.0", - org.eclipse.papyrus.uml.nattable.richtext;bundle-version="2.1.0", - org.eclipse.papyrus.sysml14;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.service.types;bundle-version="1.0.0" -Bundle-Vendor: %Bundle-Vendor -Bundle-ActivationPolicy: lazy -Bundle-Version: 1.2.0.qualifier -Bundle-Name: %Bundle-Name -Bundle-Activator: org.eclipse.papyrus.sysml14.nattable.requirement.Activator -Bundle-ManifestVersion: 2 -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.nattable.requirement;singleton:=true -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Export-Package: org.eclipse.papyrus.sysml14.nattable.requirement, - org.eclipse.papyrus.sysml14.nattable.requirement.tester -Bundle-Description: %Bundle-Description
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement/OSGI-INF/l10n/bundle.properties b/table/org.eclipse.papyrus.sysml14.nattable.requirement/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index 2ce0a01..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.requirement/OSGI-INF/l10n/bundle.properties +++ /dev/null
@@ -1,11 +0,0 @@ -################################################################################# -# Copyright (c) 2015 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 -# -################################################################################## -Bundle-Vendor = Eclipse Modeling Project -Bundle-Name = Papyrus SysML 1.4 Requirement Table -Bundle-Description=This plugin provides the configuration to use for Requirement Table. \ No newline at end of file
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement/plugin.xml b/table/org.eclipse.papyrus.sysml14.nattable.requirement/plugin.xml deleted file mode 100644 index 8022055..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.requirement/plugin.xml +++ /dev/null
@@ -1,101 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?eclipse version="3.4"?> -<plugin> - <extension - point="org.eclipse.papyrus.infra.nattable.configuration"> - <configuration - file="resources/requirement.nattableconfiguration" - type="PapyrusSysML14RequirementTable"> - </configuration> - </extension> - <extension - point="org.eclipse.papyrus.infra.nattable.configuration"> - <configuration - file="resources/requirementTree.nattableconfiguration" - type="PapyrusSysML14RequirementTreeTable"> - </configuration> - </extension> - <extension - point="org.eclipse.papyrus.infra.nattable.tester"> - <tester - class="org.eclipse.papyrus.sysml14.nattable.requirement.tester.RequirementTableTester" - id="org.eclipse.papyrus.sysml14.nattable.config.canCreateRequirementTable"> - </tester> - </extension> - <extension - point="org.eclipse.ui.commands"> - <command - categoryId="org.eclipse.papyrus.editor.category" - description="Create a SysML Requirement NatTable Editor" - id="org.eclipse.papyrus.sysml14.nattable.requirement.create.command" - name="Create a new Requirement Table"> - </command> - <command - categoryId="org.eclipse.papyrus.editor.category" - description="Create a SysML Requirement NatTable Editor Without Dialog for Name" - id="org.eclipse.papyrus.sysml14.nattable.requirement.create.withoutdialog.command" - name="Create a new Requirement Table"> - </command> - </extension> - <extension - point="org.eclipse.ui.handlers"> - <handler - commandId="org.eclipse.papyrus.sysml14.nattable.requirement.create.command"> - <activeWhen> - <or> - <with - variable="activeEditorId"> - <equals - value="org.eclipse.papyrus.infra.core.papyrusEditor"> - </equals> - </with> - </or> - </activeWhen> - <class - class="org.eclipse.papyrus.infra.nattable.common.handlers.CreateNatTableEditorHandler"> - <parameter - name="tableType" - value="PapyrusSysML14RequirementTable"> - </parameter> - </class> - </handler> - <handler - commandId="org.eclipse.papyrus.sysml14.nattable.requirement.create.withoutdialog.command"> - <activeWhen> - <or> - <with - variable="activeEditorId"> - <equals - value="org.eclipse.papyrus.infra.core.papyrusEditor"> - </equals> - </with> - </or> - </activeWhen> - <class - class="org.eclipse.papyrus.infra.nattable.common.handlers.CreateNatTableEditorWithoutDialogHandler"> - <parameter - name="tableType" - value="PapyrusSysML14RequirementTable"> - </parameter> - </class> - </handler> - </extension> - <extension - point="org.eclipse.ui.commandImages"> - <image - commandId="org.eclipse.papyrus.sysml14.nattable.requirement.create.command" - icon="icons/table_SysML_Requirement_new.png"> - </image> - <image - commandId="org.eclipse.papyrus.sysml14.nattable.requirement.create.withoutdialog.command" - icon="icons/table_SysML_Requirement_new.png"> - </image> - </extension> - <extension - point="org.eclipse.papyrus.infra.nattable.celleditor.configuration"> - <cellAxisConfiguration - class="org.eclipse.papyrus.sysml14.nattable.requirement.config.RequirementTextStringCellEditorConfiguration" - order="149"><!--This configuration has priority over the RichTextCellEditorConfiguration--> - </cellAxisConfiguration> - </extension> -</plugin>
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement/pom.xml b/table/org.eclipse.papyrus.sysml14.nattable.requirement/pom.xml deleted file mode 100644 index d8807af..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.requirement/pom.xml +++ /dev/null
@@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" -xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.eclipse.papyrus.sysml</groupId> - <artifactId>org.eclipse.papyrus.sysml14.table</artifactId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.nattable.requirement</artifactId> - <packaging>eclipse-plugin</packaging> - <description>This plugins defines the requirement table of SysML 1.4.</description> -</project> \ No newline at end of file
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement/resources/requirement.nattableconfiguration b/table/org.eclipse.papyrus.sysml14.nattable.requirement/resources/requirement.nattableconfiguration deleted file mode 100644 index da6e9c6..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.requirement/resources/requirement.nattableconfiguration +++ /dev/null
@@ -1,35 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<nattableconfiguration:TableConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:nattableaxis="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis" xmlns:nattableaxisconfiguration="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration" xmlns:nattableaxisprovider="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider" xmlns:nattableconfiguration="http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration" xmlns:nattablelabelprovider="http://www.eclipse.org/papyrus/nattable/model/table/nattablecontentprovider" xmlns:nattablestyle="http://www.eclipse.org/papyrus/nattable/model/table/nattablestyle" xmlns:nattabletester="http://www.eclipse.org/papyrus/nattable/model/table/nattabletester" description="A synchronized table for SysML Requirements" name="RequirementTable" type="PapyrusSysML14RequirementTable" iconPath="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/icons/table_SysML_Requirement.png" defaultRowAxisProvider="//@rowAxisProviders.0" defaultColumnAxisProvider="//@columnAxisProviders.0"> - <styles xsi:type="nattablestyle:StringListValueStyle" name="dragRegions"> - <stringListValue>ROW_HEADER</stringListValue> - </styles> - <creationTester xsi:type="nattabletester:JavaTableTester" tester="org.eclipse.papyrus.sysml14.nattable.config.canCreateRequirementTable"/> - <rowHeaderAxisConfiguration xsi:type="nattableaxisconfiguration:TableHeaderAxisConfiguration" indexStyle="NUMERIC" displayIndex="false"> - <ownedLabelConfigurations xsi:type="nattablelabelprovider:ObjectLabelProviderConfiguration"/> - <ownedLabelConfigurations xsi:type="nattablelabelprovider:OperationLabelProviderConfiguration" displayType="false" displayMultiplicity="false"/> - <ownedAxisConfigurations xsi:type="nattableaxisconfiguration:EStructuralFeatureValueFillingConfiguration"> - <listenFeature xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace/ownedMember"/> - </ownedAxisConfigurations> - <ownedAxisConfigurations xsi:type="nattableaxisconfiguration:PasteEObjectConfiguration" pastedElementId="org.eclipse.papyrus.SysML14.Requirement"> - <postActions>applyStereotype:/SysML::Requirements::Requirement</postActions> - <pasteElementContainementFeature xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package/packagedElement"/> - <axisIdentifier xsi:type="nattableaxis:EStructuralFeatureAxis" xmi:id="_OgydQXmoEeWVZIGG1XbiFw"> - <manager xsi:type="nattableaxisconfiguration:AxisManagerRepresentation" href="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/resources/requirement.nattableconfiguration#//@columnHeaderAxisConfiguration/@axisManagers.0"/> - <element xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </axisIdentifier> - </ownedAxisConfigurations> - <axisManagers xsi:type="nattableaxisconfiguration:AxisManagerRepresentation" axisManagerId="org.eclipse.papyrus.sysml14.nattable.requirement.axis.manager" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.labelprovider" headerLabelConfiguration="//@rowHeaderAxisConfiguration/@ownedLabelConfigurations.0" specificAxisConfigurations="//@rowHeaderAxisConfiguration/@ownedAxisConfigurations.0"/> - </rowHeaderAxisConfiguration> - <columnHeaderAxisConfiguration xsi:type="nattableaxisconfiguration:TableHeaderAxisConfiguration" displayIndex="false"> - <ownedLabelConfigurations xsi:type="nattablelabelprovider:FeatureLabelProviderConfiguration" displayType="false" displayMultiplicity="false"/> - <ownedLabelConfigurations xsi:type="nattablelabelprovider:OperationLabelProviderConfiguration"/> - <axisManagers xsi:type="nattableaxisconfiguration:AxisManagerRepresentation" axisManagerId="org.eclipse.papyrus.uml.nattable.feature.axis.manager" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.feature.labelprovider" headerLabelConfiguration="//@columnHeaderAxisConfiguration/@ownedLabelConfigurations.0"/> - <axisManagers xsi:type="nattableaxisconfiguration:AxisManagerRepresentation" axisManagerId="org.eclipse.papyrus.uml.nattable.stereotype.property.axis.manager" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.feature.labelprovider" headerLabelConfiguration="//@columnHeaderAxisConfiguration/@ownedLabelConfigurations.0"/> - <axisManagers xsi:type="nattableaxisconfiguration:AxisManagerRepresentation" axisManagerId="org.eclipse.papyrus.uml.nattable.operation.axis.manager" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.operation.labelprovider" headerLabelConfiguration="//@columnHeaderAxisConfiguration/@ownedLabelConfigurations.1"/> - </columnHeaderAxisConfiguration> - <columnAxisProviders xsi:type="nattableaxisprovider:SlaveObjectAxisProvider" description="Provides the columns of the tables with a default configuration" name="Requirements Feature Columns Provider"> - <axis xsi:type="nattableaxis:FeatureIdAxis" manager="//@columnHeaderAxisConfiguration/@axisManagers.1" element="property_of_stereotype:/SysML::Requirements::Requirement::id"/> - <axis xsi:type="nattableaxis:FeatureIdAxis" manager="//@columnHeaderAxisConfiguration/@axisManagers.1" element="property_of_stereotype:/SysML::Requirements::Requirement::text"/> - </columnAxisProviders> - <rowAxisProviders xsi:type="nattableaxisprovider:MasterObjectAxisProvider" description="Provides the requirements directly owned by the context of the table" name="Requirement Axis Provider" disconnectSlave="true"/> -</nattableconfiguration:TableConfiguration>
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement/resources/requirementTree.nattableconfiguration b/table/org.eclipse.papyrus.sysml14.nattable.requirement/resources/requirementTree.nattableconfiguration deleted file mode 100644 index c02de9d..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.requirement/resources/requirementTree.nattableconfiguration +++ /dev/null
@@ -1,71 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<nattableconfiguration:TableConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:nattableaxis="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxis" xmlns:nattableaxisconfiguration="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisconfiguration" xmlns:nattableaxisprovider="http://www.eclipse.org/papyrus/nattable/model/table/nattableaxisprovider" xmlns:nattableconfiguration="http://www.eclipse.org/papyrus/nattable/model/nattableconfiguration" xmlns:nattablelabelprovider="http://www.eclipse.org/papyrus/nattable/model/table/nattablecontentprovider" xmlns:nattablestyle="http://www.eclipse.org/papyrus/nattable/model/table/nattablestyle" xmlns:nattabletester="http://www.eclipse.org/papyrus/nattable/model/table/nattabletester" description="This table allows to display owned requirements of the context of the table as tree" name="RequirementTreeTable" type="PapyrusSysML14RequirementTreeTable" iconPath="platform:/plugin/org.eclipse.papyrus.sysml14.nattable.requirement/icons/table_SysML_Tree_Requirement.png" defaultRowAxisProvider="//@rowAxisProviders.0" defaultColumnAxisProvider="//@columnAxisProviders.0"> - <styles xsi:type="nattablestyle:TableDisplayStyle" displayStyle="HIERARCHIC_SINGLE_TREE_COLUMN"/> - <styles xsi:type="nattablestyle:StringListValueStyle" name="dragRegions"> - <stringListValue>ROW_HEADER</stringListValue> - </styles> - <styles xsi:type="nattablestyle:BooleanValueStyle" name="expandAll" booleanValue="true"/> - <styles xsi:type="nattablestyle:IntListValueStyle" name="hiddenCategoriesByDepth"> - <intListValue>0</intListValue> - <intListValue>1</intListValue> - <intListValue>2</intListValue> - <intListValue>3</intListValue> - <intListValue>4</intListValue> - </styles> - <creationTester xsi:type="nattabletester:JavaTableTester" tester="org.eclipse.papyrus.sysml14.nattable.config.canCreateRequirementTable"/> - <rowHeaderAxisConfiguration xsi:type="nattableaxisconfiguration:TableHeaderAxisConfiguration" indexStyle="NUMERIC" displayIndex="false"> - <ownedLabelConfigurations xsi:type="nattablelabelprovider:ObjectLabelProviderConfiguration"/> - <ownedLabelConfigurations xsi:type="nattablelabelprovider:FeatureLabelProviderConfiguration" displayType="false" displayMultiplicity="false"/> - <ownedLabelConfigurations xsi:type="nattablelabelprovider:OperationLabelProviderConfiguration" displayType="false" displayMultiplicity="false"/> - <ownedAxisConfigurations xsi:type="nattableaxisconfiguration:TreeFillingConfiguration" pasteConfiguration="//@rowHeaderAxisConfiguration/@ownedAxisConfigurations.5" labelProvider="//@rowHeaderAxisConfiguration/@ownedLabelConfigurations.1" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.treefilling.feature.labelprovider"> - <axisUsedAsAxisProvider xsi:type="nattableaxis:EStructuralFeatureAxis" alias="nestedRequirements"> - <element xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element/ownedElement"/> - </axisUsedAsAxisProvider> - </ownedAxisConfigurations> - <ownedAxisConfigurations xsi:type="nattableaxisconfiguration:TreeFillingConfiguration" pasteConfiguration="//@rowHeaderAxisConfiguration/@ownedAxisConfigurations.6" depth="1" labelProvider="//@rowHeaderAxisConfiguration/@ownedLabelConfigurations.1" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.treefilling.feature.labelprovider"> - <axisUsedAsAxisProvider xsi:type="nattableaxis:EStructuralFeatureAxis" alias="nestedRequirements"> - <element xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class/nestedClassifier"/> - </axisUsedAsAxisProvider> - </ownedAxisConfigurations> - <ownedAxisConfigurations xsi:type="nattableaxisconfiguration:TreeFillingConfiguration" pasteConfiguration="//@rowHeaderAxisConfiguration/@ownedAxisConfigurations.7" depth="2" labelProvider="//@rowHeaderAxisConfiguration/@ownedLabelConfigurations.1" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.treefilling.feature.labelprovider"> - <axisUsedAsAxisProvider xsi:type="nattableaxis:EStructuralFeatureAxis" alias="nestedRequirements"> - <element xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class/nestedClassifier"/> - </axisUsedAsAxisProvider> - </ownedAxisConfigurations> - <ownedAxisConfigurations xsi:type="nattableaxisconfiguration:TreeFillingConfiguration" pasteConfiguration="//@rowHeaderAxisConfiguration/@ownedAxisConfigurations.7" depth="3" labelProvider="//@rowHeaderAxisConfiguration/@ownedLabelConfigurations.1" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.treefilling.feature.labelprovider"> - <axisUsedAsAxisProvider xsi:type="nattableaxis:EStructuralFeatureAxis" alias="nestedRequirements"> - <element xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class/nestedClassifier"/> - </axisUsedAsAxisProvider> - </ownedAxisConfigurations> - <ownedAxisConfigurations xsi:type="nattableaxisconfiguration:TreeFillingConfiguration" pasteConfiguration="//@rowHeaderAxisConfiguration/@ownedAxisConfigurations.7" depth="4" labelProvider="//@rowHeaderAxisConfiguration/@ownedLabelConfigurations.1" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.treefilling.feature.labelprovider"> - <axisUsedAsAxisProvider xsi:type="nattableaxis:EStructuralFeatureAxis" alias="nestedRequirements"> - <element xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class/nestedClassifier"/> - </axisUsedAsAxisProvider> - </ownedAxisConfigurations> - <ownedAxisConfigurations xsi:type="nattableaxisconfiguration:PasteEObjectConfiguration" detachedMode="false" pastedElementId="org.eclipse.papyrus.SysML14.Requirement"> - <pasteElementContainementFeature xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package/packagedElement"/> - <axisIdentifier xsi:type="nattableaxis:FeatureIdAxis" manager="//@columnHeaderAxisConfiguration/@axisManagers.1" element="property_of_stereotype:/SysML::Requirements::Requirement::text"/> - </ownedAxisConfigurations> - <ownedAxisConfigurations xsi:type="nattableaxisconfiguration:PasteEObjectConfiguration" detachedMode="false" pastedElementId="org.eclipse.papyrus.SysML14.Requirement"> - <pasteElementContainementFeature xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class/nestedClassifier"/> - <axisIdentifier xsi:type="nattableaxis:FeatureIdAxis" manager="//@columnHeaderAxisConfiguration/@axisManagers.1" element="property_of_stereotype:/SysML::Requirements::Requirement::text"/> - </ownedAxisConfigurations> - <ownedAxisConfigurations xsi:type="nattableaxisconfiguration:PasteEObjectConfiguration" detachedMode="false" pastedElementId="org.eclipse.papyrus.SysML14.Requirement"> - <pasteElementContainementFeature xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class/nestedClassifier"/> - <axisIdentifier xsi:type="nattableaxis:FeatureIdAxis" manager="//@columnHeaderAxisConfiguration/@axisManagers.1" element="property_of_stereotype:/SysML::Requirements::Requirement::text"/> - </ownedAxisConfigurations> - <axisManagers xsi:type="nattableaxisconfiguration:AxisManagerRepresentation" axisManagerId="org.eclipse.papyrus.sysml14.nattable.requirement.tree.axis.manager" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.labelprovider" headerLabelConfiguration="//@rowHeaderAxisConfiguration/@ownedLabelConfigurations.0" specificAxisConfigurations="//@rowHeaderAxisConfiguration/@ownedAxisConfigurations.0 //@rowHeaderAxisConfiguration/@ownedAxisConfigurations.1 //@rowHeaderAxisConfiguration/@ownedAxisConfigurations.2 //@rowHeaderAxisConfiguration/@ownedAxisConfigurations.3 //@rowHeaderAxisConfiguration/@ownedAxisConfigurations.4"/> - </rowHeaderAxisConfiguration> - <columnHeaderAxisConfiguration xsi:type="nattableaxisconfiguration:TableHeaderAxisConfiguration" displayIndex="false"> - <ownedLabelConfigurations xsi:type="nattablelabelprovider:FeatureLabelProviderConfiguration" displayType="false" displayMultiplicity="false"/> - <ownedLabelConfigurations xsi:type="nattablelabelprovider:OperationLabelProviderConfiguration"/> - <axisManagers xsi:type="nattableaxisconfiguration:AxisManagerRepresentation" axisManagerId="org.eclipse.papyrus.uml.nattable.feature.axis.manager" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.feature.labelprovider" headerLabelConfiguration="//@columnHeaderAxisConfiguration/@ownedLabelConfigurations.0"/> - <axisManagers xsi:type="nattableaxisconfiguration:AxisManagerRepresentation" axisManagerId="org.eclipse.papyrus.uml.nattable.stereotype.property.axis.manager" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.feature.labelprovider" headerLabelConfiguration="//@columnHeaderAxisConfiguration/@ownedLabelConfigurations.0"/> - <axisManagers xsi:type="nattableaxisconfiguration:AxisManagerRepresentation" axisManagerId="org.eclipse.papyrus.uml.nattable.operation.axis.manager" labelProviderContext="org.eclipse.papyrus.infra.nattable.header.operation.labelprovider" headerLabelConfiguration="//@columnHeaderAxisConfiguration/@ownedLabelConfigurations.1"/> - </columnHeaderAxisConfiguration> - <columnAxisProviders xsi:type="nattableaxisprovider:SlaveObjectAxisProvider" description="Provides the columns of the tables with a default configuration" name="Requirements Feature Columns Provider"> - <axis xsi:type="nattableaxis:FeatureIdAxis" manager="//@columnHeaderAxisConfiguration/@axisManagers.1" element="property_of_stereotype:/SysML::Requirements::Requirement::id"/> - <axis xsi:type="nattableaxis:FeatureIdAxis" manager="//@columnHeaderAxisConfiguration/@axisManagers.1" element="property_of_stereotype:/SysML::Requirements::Requirement::text"/> - </columnAxisProviders> - <rowAxisProviders xsi:type="nattableaxisprovider:MasterObjectAxisProvider" description="This axis provider manages the rows, according to the wanted hierarchy" name="HierarchicalRowAxisManager" disconnectSlave="true"/> -</nattableconfiguration:TableConfiguration>
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement/src/org/eclipse/papyrus/sysml14/nattable/requirement/Activator.java b/table/org.eclipse.papyrus.sysml14.nattable.requirement/src/org/eclipse/papyrus/sysml14/nattable/requirement/Activator.java deleted file mode 100644 index 30b6ec7..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.requirement/src/org/eclipse/papyrus/sysml14/nattable/requirement/Activator.java +++ /dev/null
@@ -1,24 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 CEA LIST and others. - * - * 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 - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.requirement; - -import org.eclipse.ui.plugin.AbstractUIPlugin; - -/** - * 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.sysml14.nattable.requirement"; //$NON-NLS-1$ - - public static final String TABLE_TYPE = "PapyrusSysMLRequirementTable"; //$NON-NLS-1$ - -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement/src/org/eclipse/papyrus/sysml14/nattable/requirement/config/RequirementTextStringCellEditorConfiguration.java b/table/org.eclipse.papyrus.sysml14.nattable.requirement/src/org/eclipse/papyrus/sysml14/nattable/requirement/config/RequirementTextStringCellEditorConfiguration.java deleted file mode 100644 index 4bc0f2b..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.requirement/src/org/eclipse/papyrus/sysml14/nattable/requirement/config/RequirementTextStringCellEditorConfiguration.java +++ /dev/null
@@ -1,65 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2017 CEA LIST and others. - * - * 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: - * Thanh Liem PHAN (ALL4TEC) thanhliem.phan@all4tec.net - Bug 519406 - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.nattable.requirement.config; - -import org.eclipse.papyrus.infra.nattable.model.nattable.Table; -import org.eclipse.papyrus.infra.nattable.utils.AxisUtils; -import org.eclipse.papyrus.sysml14.util.SysMLQualifiedName; -import org.eclipse.papyrus.uml.nattable.richtext.celleditor.config.RichTextCellEditorConfiguration; -import org.eclipse.papyrus.uml.nattable.utils.UMLTableUtils; - -/** - * Cell Editor configuration for the Text field of Requirement table. - * - * @since 1.0.0 - */ -public class RequirementTextStringCellEditorConfiguration extends RichTextCellEditorConfiguration { - - /** The ID of this cell editor. */ - private static final String ID = "org.eclipse.papyrus.sysml14.nattable.requirement.config.RequirementTextStringCellEditorConfiguration";//$NON-NLS-1$ - - /** Requirement Text column ID in SysML Requirements table. */ - private static final String SYSML_REQUIREMENTS_REQUIREMENT_TEXT_ID = UMLTableUtils.PROPERTY_OF_STEREOTYPE_PREFIX + SysMLQualifiedName.SYSML_REQUIREMENTS_REQUIREMENT_TEXT_QN; - - /** - * {@inheritDoc} - * - * @see org.eclipse.papyrus.infra.nattable.configuration.IPapyrusNatTableConfiguration#getConfigurationId() - */ - @Override - public String getConfigurationId() { - return ID; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.papyrus.infra.nattable.configuration.IPapyrusNatTableConfiguration#getConfigurationDescription() - */ - @Override - public String getConfigurationDescription() { - return "This configuration provides a Rich Text Editor for the Text field of Requirement table"; - } - - /** - * {@inheritDoc} - * - * @see org.eclipse.papyrus.infra.nattable.celleditor.config.ICellAxisConfiguration#handles(org.eclipse.papyrus.infra.nattable.model.nattable.Table, java.lang.Object) - */ - @Override - public boolean handles(final Table table, final Object axisElement) { - - // Handle only the Requirement::text column in Requirement table - return (SYSML_REQUIREMENTS_REQUIREMENT_TEXT_ID.equals(AxisUtils.getPropertyId(axisElement))); - } -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.requirement/src/org/eclipse/papyrus/sysml14/nattable/requirement/tester/RequirementTableTester.java b/table/org.eclipse.papyrus.sysml14.nattable.requirement/src/org/eclipse/papyrus/sysml14/nattable/requirement/tester/RequirementTableTester.java deleted file mode 100644 index e7c97ed..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.requirement/src/org/eclipse/papyrus/sysml14/nattable/requirement/tester/RequirementTableTester.java +++ /dev/null
@@ -1,68 +0,0 @@ -/***************************************************************************** - * 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: - * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation - * Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - Use Requirement matcher - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.requirement.tester; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.Status; -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher; -import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType; -import org.eclipse.papyrus.infra.nattable.tester.ITableTester; -import org.eclipse.papyrus.sysml14.sysmlPackage; -import org.eclipse.papyrus.sysml14.nattable.requirement.Activator; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.Package; -import org.eclipse.uml2.uml.Profile; -import org.eclipse.uml2.uml.util.UMLUtil; - -/** - * The tester used to know if we can create requirement table - * - * @author Vincent Lorenzo - * - */ -public class RequirementTableTester implements ITableTester { - - /** - * - * @see org.eclipse.papyrus.infra.nattable.tester.ITableTester#isAllowed(java.lang.Object) - * - * @param context - * @return - */ - @Override - public IStatus isAllowed(Object context) { - if (context instanceof Element) { - Element el = (Element) context; - ISpecializationType type = (ISpecializationType) ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_REQUIREMENT); - IElementMatcher matcher = type.getMatcher(); - if (context instanceof Package || matcher.matches(el)) { - Profile profile = UMLUtil.getProfile(sysmlPackage.eINSTANCE, el); - if (profile != null){ - final String packageQN = profile.getQualifiedName(); - if (el.getNearestPackage().getAppliedProfile(packageQN, true) != null) { - return new Status(IStatus.OK, Activator.PLUGIN_ID, "The context allowed to create a Requirement Table"); //$NON-NLS-1$ - } else { - return new Status(IStatus.ERROR, Activator.PLUGIN_ID, "The profile "+packageQN+" is not applied on the model"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - } - } - return new Status(IStatus.ERROR, Activator.PLUGIN_ID, "The context is not an UML Element"); //$NON-NLS-1$ - } - -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/.project b/table/org.eclipse.papyrus.sysml14.nattable.ui/.project deleted file mode 100644 index c1d7478..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/.project +++ /dev/null
@@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.papyrus.sysml14.nattable.ui</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> - <buildCommand> - <name>org.eclipse.m2e.core.maven2Builder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.m2e.core.maven2Nature</nature> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription>
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/META-INF/MANIFEST.MF b/table/org.eclipse.papyrus.sysml14.nattable.ui/META-INF/MANIFEST.MF deleted file mode 100644 index 3b168d9..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/META-INF/MANIFEST.MF +++ /dev/null
@@ -1,34 +0,0 @@ -Manifest-Version: 1.0 -Export-Package: org.eclipse.papyrus.sysml14.nattable.ui, - org.eclipse.papyrus.sysml14.nattable.ui.allocation.tester, - org.eclipse.papyrus.sysml14.nattable.ui.filter, - org.eclipse.papyrus.sysml14.nattable.ui.handlers -Require-Bundle: org.eclipse.ui;bundle-version="[3.107.0,4.0.0)", - org.eclipse.core.runtime;bundle-version="[3.11.1,4.0.0)", - org.eclipse.uml2.uml;bundle-version="[5.1.0,6.0.0)", - org.eclipse.gmf.runtime.emf.type.core;bundle-version="[1.9.0,2.0.0)", - org.eclipse.nebula.widgets.nattable.core;bundle-version="[1.2.0,2.0.0)", - org.eclipse.core.expressions;bundle-version="[3.4.500,4.0.0)", - org.eclipse.papyrus.infra.services.edit;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.nattable;bundle-version="3.0.0", - org.eclipse.papyrus.infra.core.sasheditor;bundle-version="[2.0.0,3.0.0)", - org.eclipse.papyrus.infra.core;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.infra.nattable.model;bundle-version="3.0.0", - org.eclipse.papyrus.infra.core.log;bundle-version="[1.1.0,2.0.0)", - org.eclipse.papyrus.infra.tools;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.nattable.menu;bundle-version="1.1.0", - org.eclipse.papyrus.uml.tools.utils;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.service.types;bundle-version="[3.0.0,4.0.0)", - org.eclipse.papyrus.uml.service.types.ui;bundle-version="[2.0.0,3.0.0)", - org.eclipse.papyrus.sysml14.diagram.common;bundle-version="1.0.0", - org.eclipse.papyrus.sysml14.service.types;bundle-version="1.0.0" -Bundle-Vendor: %Bundle-Vendor -Bundle-ActivationPolicy: lazy -Bundle-Version: 1.2.0.qualifier -Bundle-Name: %Bundle-Name -Bundle-Activator: org.eclipse.papyrus.sysml14.nattable.ui.Activator -Bundle-ManifestVersion: 2 -Bundle-SymbolicName: org.eclipse.papyrus.sysml14.nattable.ui;singleton:=true -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 -Bundle-Description: %Bundle-Description
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/OSGI-INF/l10n/bundle.properties b/table/org.eclipse.papyrus.sysml14.nattable.ui/OSGI-INF/l10n/bundle.properties deleted file mode 100644 index 72a7cb1..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/OSGI-INF/l10n/bundle.properties +++ /dev/null
@@ -1,11 +0,0 @@ -################################################################################# -# Copyright (c) 2015 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 -# -################################################################################## -Bundle-Vendor = Eclipse Modeling Project -Bundle-Name = Papyrus SysML 1.4 Table UI -Bundle-Description=This plugin provides the context menu for the tabular editor in SysML, with handlers for the creation of SysML model elements
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/plugin.xml b/table/org.eclipse.papyrus.sysml14.nattable.ui/plugin.xml deleted file mode 100644 index be545a7..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/plugin.xml +++ /dev/null
@@ -1,755 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?eclipse version="3.4"?> -<plugin> -<extension point="org.eclipse.ui.handlers"> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.ActorPartPropertyHandler" commandId="org.eclipse.papyrus.sysml14.service.types.ActorPartCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - <!-- commented because unactivated by the filter see bug 408984 - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.AllocateHandler" commandId="org.eclipse.papyrus.sysml14.service.types.AllocateCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - --> - <!-- commented because unactivated by the filter see bug 408984 - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.AssociationHandler" commandId="org.eclipse.papyrus.sysml14.service.types.AssociationCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.AssociationCompositeHandler" commandId="org.eclipse.papyrus.sysml14.service.types.AssociationCompositeCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.AssociationCompositeDirectedHandler" commandId="org.eclipse.papyrus.sysml14.service.types.AssociationCompositeDirectedCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.AssociationNoneHandler" commandId="org.eclipse.papyrus.sysml14.service.types.AssociationNoneCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.AssociationNoneDirectedHandler" commandId="org.eclipse.papyrus.sysml14.service.types.AssociationNoneDirectedCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.AssociationSharedHandler" commandId="org.eclipse.papyrus.sysml14.service.types.AssociationSharedCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.AssociationSharedDirectedHandler" commandId="org.eclipse.papyrus.sysml14.service.types.AssociationSharedDirectedCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - --> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.BlockHandler" commandId="org.eclipse.papyrus.sysml14.service.types.BlockCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - <!-- commented because unactivated by the filter see bug 408984 - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.ConformHandler" commandId="org.eclipse.papyrus.sysml14.service.types.ConformCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - --> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.ConstraintBlockHandler" commandId="org.eclipse.papyrus.sysml14.service.types.ConstraintBlockCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.ConstraintBlockParameterHandler" commandId="org.eclipse.papyrus.sysml14.service.types.ConstraintBlockParameterCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.ConstraintPropertyHandler" commandId="org.eclipse.papyrus.sysml14.service.types.ConstraintPropertyCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - <!-- commented because unactivated by the filter see bug 408984 - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.CopyHandler" commandId="org.eclipse.papyrus.sysml14.service.types.CopyCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.DeriveReqtHandler" commandId="org.eclipse.papyrus.sysml14.service.types.DeriveReqtCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - --> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.FlowPortHandler" commandId="org.eclipse.papyrus.sysml14.service.types.FlowPortCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.FlowPortNAHandler" commandId="org.eclipse.papyrus.sysml14.service.types.FlowPort_NACreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.FlowPropertyHandler" commandId="org.eclipse.papyrus.sysml14.service.types.FlowPropertyCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.FlowSpecificationHandler" commandId="org.eclipse.papyrus.sysml14.service.types.FlowSpecificationCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - <!-- commented because unactivated by the filter see bug 408984 - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.ItemFlowHandler" commandId="org.eclipse.papyrus.sysml14.service.types.ItemFlowCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - --> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.PartPropertyHandler" commandId="org.eclipse.papyrus.sysml14.service.types.PartPropertyCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.ProblemHandler" commandId="org.eclipse.papyrus.sysml14.service.types.ProblemCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.RationaleHandler" commandId="org.eclipse.papyrus.sysml14.service.types.RationaleCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.ReferencePropertyHandler" commandId="org.eclipse.papyrus.sysml14.service.types.ReferencePropertyCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.RequirementHandler" commandId="org.eclipse.papyrus.sysml14.service.types.RequirementCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - <!-- commented because unactivated by the filter see bug 408984 - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.SatisfyHandler" commandId="org.eclipse.papyrus.sysml14.service.types.SatisfyCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - --> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.UnitHandler" commandId="org.eclipse.papyrus.sysml14.service.types.UnitCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.ValuePropertyHandler" commandId="org.eclipse.papyrus.sysml14.service.types.ValuePropertyCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.ValueTypeHandler" commandId="org.eclipse.papyrus.sysml14.service.types.ValueTypeCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - <!-- commented because unactivated by the filter see bug 408984 - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.ValueType_EnumerationHandler" commandId="org.eclipse.papyrus.sysml14.service.types.ValueType_EnumerationCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.ValueType_PrimitiveTypeHandler" commandId="org.eclipse.papyrus.sysml14.service.types.ValueType_PrimitiveTypeCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.VerifyHandler" commandId="org.eclipse.papyrus.sysml14.service.types.VerifyCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - --> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.ViewHandler" commandId="org.eclipse.papyrus.sysml14.service.types.ViewCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> - <handler class= "org.eclipse.papyrus.sysml14.nattable.ui.handlers.ViewPointHandler" commandId="org.eclipse.papyrus.sysml14.service.types.ViewPointCreateCommand" > - <activeWhen> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </activeWhen></handler> -</extension> - -<extension - point="org.eclipse.ui.menus"> - <menuContribution - allPopups="true" - locationURI="popup:org.eclipse.papyrus.infra.nattable.widget.menu?after=org.eclipse.papyrus.uml.nattable.create.uml.menu"> - <menu - id="org.eclipse.papyrus.sysml14.nattable.ui.menu" - label="Create SysML 1.4 Element"> - <visibleWhen - checkEnabled="false"> - <with - variable="selection"> - <test - property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget" - value="true"> - </test> - </with> - </visibleWhen> - </menu> - </menuContribution> - <menuContribution - allPopups="false" - class="org.eclipse.papyrus.sysml14.nattable.ui.handlers.SysmlNattableCreateMenu" - locationURI="popup:org.eclipse.papyrus.sysml14.nattable.ui.menu"> - </menuContribution> - </extension> - - - -<!-- SysML ElementType bindings to Papyrus shared IClientContext --> -<extension point="org.eclipse.ui.commands"> - - <!-- Creation command for ActorPart --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new ActorPart" id="org.eclipse.papyrus.sysml14.service.types.ActorPartCreateCommand" name="Create a new ActorPart"> - </command> - - <!-- Creation command for Allocate --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new Allocate" id="org.eclipse.papyrus.sysml14.service.types.AllocateCreateCommand" name="Create a new Allocate"> - </command> - - <!-- Creation command for Association --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new Association" id="org.eclipse.papyrus.sysml14.service.types.AssociationCreateCommand" name="Create a new Association"> - </command> - - <!-- Creation command for AssociationComposite --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new AssociationComposite" id="org.eclipse.papyrus.sysml14.service.types.AssociationCompositeCreateCommand" name="Create a new AssociationComposite"> - </command> - - <!-- Creation command for AssociationCompositeDirected --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new AssociationCompositeDirected" id="org.eclipse.papyrus.sysml14.service.types.AssociationCompositeDirectedCreateCommand" name="Create a new AssociationCompositeDirected"> - </command> - - <!-- Creation command for AssociationNone --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new AssociationNone" id="org.eclipse.papyrus.sysml14.service.types.AssociationNoneCreateCommand" name="Create a new AssociationNone"> - </command> - - <!-- Creation command for AssociationNoneDirected --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new AssociationNoneDirected" id="org.eclipse.papyrus.sysml14.service.types.AssociationNoneDirectedCreateCommand" name="Create a new AssociationNoneDirected"> - </command> - - <!-- Creation command for AssociationShared --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new AssociationShared" id="org.eclipse.papyrus.sysml14.service.types.AssociationSharedCreateCommand" name="Create a new AssociationShared"> - </command> - - <!-- Creation command for AssociationSharedDirected --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new AssociationSharedDirected" id="org.eclipse.papyrus.sysml14.service.types.AssociationSharedDirectedCreateCommand" name="Create a new AssociationSharedDirected"> - </command> - - <!-- Creation command for Block --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new Block" id="org.eclipse.papyrus.sysml14.service.types.BlockCreateCommand" name="Create a new Block"> - </command> - - <!-- Creation command for Conform --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new Conform" id="org.eclipse.papyrus.sysml14.service.types.ConformCreateCommand" name="Create a new Conform"> - </command> - - <!-- Creation command for ConstraintBlock --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new ConstraintBlock" id="org.eclipse.papyrus.sysml14.service.types.ConstraintBlockCreateCommand" name="Create a new ConstraintBlock"> - </command> - - <!-- Creation command for ConstraintBlockParameter --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new Parameter" id="org.eclipse.papyrus.sysml14.service.types.ConstraintBlockParameterCreateCommand" name="Create a new Parameter"> - </command> - - <!-- Creation command for ConstraintProperty --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new ConstraintProperty" id="org.eclipse.papyrus.sysml14.service.types.ConstraintPropertyCreateCommand" name="Create a new ConstraintProperty"> - </command> - - <!-- Creation command for Copy --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new Copy" id="org.eclipse.papyrus.sysml14.service.types.CopyCreateCommand" name="Create a new Copy"> - </command> - - <!-- Creation command for DeriveReqt --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new DeriveReqt" id="org.eclipse.papyrus.sysml14.service.types.DeriveReqtCreateCommand" name="Create a new DeriveReqt"> - </command> - - <!-- Creation command for FlowPort --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new FlowPort" id="org.eclipse.papyrus.sysml14.service.types.FlowPortCreateCommand" name="Create a new FlowPort"> - </command> - - <!-- Creation command for FlowPort_NA --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new FlowPort (non atomic)" id="org.eclipse.papyrus.sysml14.service.types.FlowPort_NACreateCommand" name="Create a new FlowPort (non atomic)"> - </command> - - <!-- Creation command for FlowProperty --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new FlowProperty" id="org.eclipse.papyrus.sysml14.service.types.FlowPropertyCreateCommand" name="Create a new FlowProperty"> - </command> - - <!-- Creation command for FlowSpecification --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new FlowSpecification" id="org.eclipse.papyrus.sysml14.service.types.FlowSpecificationCreateCommand" name="Create a new FlowSpecification"> - </command> - - <!-- Creation command for ItemFlow --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new ItemFlow" id="org.eclipse.papyrus.sysml14.service.types.ItemFlowCreateCommand" name="Create a new ItemFlow"> - </command> - - <!-- Creation command for PartProperty --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new PartProperty" id="org.eclipse.papyrus.sysml14.service.types.PartPropertyCreateCommand" name="Create a new PartProperty"> - </command> - - <!-- Creation command for Problem --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new Problem" id="org.eclipse.papyrus.sysml14.service.types.ProblemCreateCommand" name="Create a new Problem"> - </command> - - <!-- Creation command for Rationale --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new Rationale" id="org.eclipse.papyrus.sysml14.service.types.RationaleCreateCommand" name="Create a new Rationale"> - </command> - - <!-- Creation command for ReferenceProperty --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new ReferenceProperty" id="org.eclipse.papyrus.sysml14.service.types.ReferencePropertyCreateCommand" name="Create a new ReferenceProperty"> - </command> - - <!-- Creation command for Requirement --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new Requirement" id="org.eclipse.papyrus.sysml14.service.types.RequirementCreateCommand" name="Create a new Requirement"> - </command> - - <!-- Creation command for Satisfy --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new Satisfy" id="org.eclipse.papyrus.sysml14.service.types.SatisfyCreateCommand" name="Create a new Satisfy"> - </command> - - <!-- Creation command for Unit --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new Unit" id="org.eclipse.papyrus.sysml14.service.types.UnitCreateCommand" name="Create a new Unit"> - </command> - - <!-- Creation command for ValueProperty --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new ValueProperty" id="org.eclipse.papyrus.sysml14.service.types.ValuePropertyCreateCommand" name="Create a new ValueProperty"> - </command> - - <!-- Creation command for ValueType --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new ValueType" id="org.eclipse.papyrus.sysml14.service.types.ValueTypeCreateCommand" name="Create a new ValueType"> - </command> - - <!-- Creation command for ValueType_Enumeration --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new ValueType_Enumeration" id="org.eclipse.papyrus.sysml14.service.types.ValueType_EnumerationCreateCommand" name="Create a new ValueType_Enumeration"> - </command> - - <!-- Creation command for ValueType_PrimitiveType --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new ValueType_PrimitiveType" id="org.eclipse.papyrus.sysml14.service.types.ValueType_PrimitiveTypeCreateCommand" name="Create a new ValueType_PrimitiveType"> - </command> - - <!-- Creation command for Verify --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new Verify" id="org.eclipse.papyrus.sysml14.service.types.VerifyCreateCommand" name="Create a new Verify"> - </command> - - <!-- Creation command for View --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new View" id="org.eclipse.papyrus.sysml14.service.types.ViewCreateCommand" name="Create a new View"> - </command> - - <!-- Creation command for ViewPoint --> - <command categoryId="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" description="Create a new ViewPoint" id="org.eclipse.papyrus.sysml14.service.types.ViewPointCreateCommand" name="Create a new ViewPoint"> - </command> - - <!-- Category for the creation of Sysml elements--> - -</extension> -<extension - point="org.eclipse.ui.commands"> - <category - id="org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands" - name="Commands for the creation of SysML 1.4 elements"> - </category> -</extension> -<extension - point="org.eclipse.ui.commandImages"> - - <image commandId="org.eclipse.papyrus.sysml14.service.types.ActorPartCreateCommand" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Property.gif"> - - </image> - - <image commandId="org.eclipse.papyrus.sysml14.service.types.AllocateCreateCommand" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Abstraction.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.AssociationCreateCommand" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Association.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.AssociationCompositeCreateCommand" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Association.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.AssociationCompositeDirectedCreateCommand" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Association.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.AssociationNoneCreateCommand" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Association.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.AssociationNoneDirectedCreateCommand" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Association.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.AssociationSharedCreateCommand" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Association.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.AssociationSharedDirectedCreateCommand" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Association.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.BlockCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Block.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.ConformCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Conform.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.ConstraintBlockCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ConstraintBlock.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.ConstraintBlockParameterCreateCommand" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Property.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.ConstraintPropertyCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ConstraintProperty.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.CopyCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Copy.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.DeriveReqtCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/DeriveReqt.gif"> - - </image> - - <image commandId="org.eclipse.papyrus.sysml14.service.types.FlowPortCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowPort.gif"> - - </image> - - <image commandId="org.eclipse.papyrus.sysml14.service.types.FlowPort_NACreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowPort_NA.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.FlowPropertyCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowProperty.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.FlowSpecificationCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/FlowSpecification.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.ItemFlowCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ItemFlow.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.PartPropertyCreateCommand" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Property.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.ProblemCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Problem.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.RationaleCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Rationale.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.ReferencePropertyCreateCommand" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Property.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.RequirementCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Requirement.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.SatisfyCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Satisfy.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.UnitCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Unit.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.ValuePropertyCreateCommand" icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Property.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.ValueTypeCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ValueType.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.ValueType_EnumerationCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ValueType.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.ValueType_PrimitiveTypeCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/ValueType.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.VerifyCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Verify.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.ViewCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/View.gif"> - - </image> - - - <image commandId="org.eclipse.papyrus.sysml14.service.types.ViewPointCreateCommand" icon="platform:/plugin/org.eclipse.papyrus.sysml14.edit/icons/full/obj16/Viewpoint.gif"> - - </image> -</extension> - - <extension - point="org.eclipse.ui.handlers"> - <handler - class="org.eclipse.papyrus.sysml14.nattable.ui.handlers.CreateAllocateHandler" - commandId="org.eclipse.papyrus.sysml14.service.types.AllocateCreateCommand"> - <!-- <activeWhen> - <with - variable="selection"> - <test - forcePluginActivation="true" - property="org.eclipse.papyrus.sysml14.nattable.ui.allocation.tester.isAllocationTable" - value="true"> - </test> - </with> - </activeWhen>--> - </handler> - </extension> - <extension - point="org.eclipse.core.expressions.propertyTesters"> - <propertyTester - class="org.eclipse.papyrus.sysml14.nattable.ui.allocation.tester.AllocationPropertyTester" - id="org.eclipse.papyrus.sysml14.nattable.ui.allocation.tester" - namespace="org.eclipse.papyrus.sysml14.nattable.ui.allocation.tester.propertyTester" - properties="isAllocationTable" - type="org.eclipse.jface.viewers.IStructuredSelection"> - </propertyTester> - </extension> -</plugin>
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/pom.xml b/table/org.eclipse.papyrus.sysml14.nattable.ui/pom.xml deleted file mode 100644 index 4a6aeb0..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/pom.xml +++ /dev/null
@@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" -xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.eclipse.papyrus.sysml</groupId> - <artifactId>org.eclipse.papyrus.sysml14.table</artifactId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.nattable.ui</artifactId> - <packaging>eclipse-plugin</packaging> - <description>This plugin defines the user interface specific to tables in SysML 1.4.</description> -</project> \ No newline at end of file
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/Activator.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/Activator.java deleted file mode 100644 index 603298b..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/Activator.java +++ /dev/null
@@ -1,23 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2015 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: - * Maggi Benoit (CEA LIST) benoit.maggi@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui; - -import org.eclipse.ui.plugin.AbstractUIPlugin; - -/** - * The activator class controls the plug-in life cycle - */ -public class Activator extends AbstractUIPlugin { - - public static final String PLUGIN_ID = "org.eclipse.papyrus.sysml14.nattable.ui"; //$NON-NLS-1$ - -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/allocation/tester/AllocationPropertyTester.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/allocation/tester/AllocationPropertyTester.java deleted file mode 100644 index 0ba13ab..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/allocation/tester/AllocationPropertyTester.java +++ /dev/null
@@ -1,33 +0,0 @@ -/***************************************************************************** - * 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: - * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui.allocation.tester; - -import org.eclipse.papyrus.infra.nattable.manager.table.INattableModelManager; -import org.eclipse.papyrus.infra.nattable.utils.NattableWidgetPropertyTester; -import org.eclipse.papyrus.sysml14.nattable.ui.handlers.CreateAllocateHandler; - - -public class AllocationPropertyTester extends NattableWidgetPropertyTester { - - private static final String IS_ALLOCATION_TABLE = "isAllocationTable"; //$NON-NLS-1$ - - @Override - public boolean test(Object receiver, String property, Object[] args, Object expectedValue) { - final INattableModelManager manager = getNattableModelManager(); - if (manager != null && IS_ALLOCATION_TABLE.equals(property) && expectedValue instanceof Boolean) { - return expectedValue.equals(manager.getTable().getTableConfiguration().getType().equals(CreateAllocateHandler.TABLE_ALLOCATION_TYPE)); - } - return false; - } -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/filter/SysmlCommandFilter.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/filter/SysmlCommandFilter.java deleted file mode 100644 index 20bb71e..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/filter/SysmlCommandFilter.java +++ /dev/null
@@ -1,65 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2011-2012 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: - * - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui.filter; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; -import org.eclipse.papyrus.uml.service.types.element.UMLElementTypes; -import org.eclipse.papyrus.uml.service.types.filter.ICommandFilter; - -/** - * Filter for available Sysml commands. Moved from oep.sysml.modelexplorer - */ -public class SysmlCommandFilter implements ICommandFilter { - - /** - * Singleton instance - */ - public static final SysmlCommandFilter INSTANCE = new SysmlCommandFilter(); - - private List<IElementType> visibleCommands; - - private SysmlCommandFilter() { - // to prevent instantiation - } - - @Override - public List<IElementType> getVisibleCommands() { - if (visibleCommands == null) { - List<IElementType> localVisibleCommands = new ArrayList<>(); - localVisibleCommands.add(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_BLOCK)); - localVisibleCommands.add(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_CONSTRAINTBLOCK)); - localVisibleCommands.add(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_FLOWPORT)); - localVisibleCommands.add(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_FLOWPROPERTY)); - localVisibleCommands.add(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_FLOWSPECIFICATION)); - localVisibleCommands.add(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_PROBLEM)); - localVisibleCommands.add(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_RATIONALE)); - localVisibleCommands.add(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_REQUIREMENT)); - localVisibleCommands.add(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_UNIT)); - localVisibleCommands.add(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_VALUETYPE)); - localVisibleCommands.add(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_VIEW)); - localVisibleCommands.add(ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_VIEWPOINT)); - - // UMLElementTypes.PROPERTY is required by ConstraintBlock Parameter - localVisibleCommands.add(UMLElementTypes.PROPERTY); - this.visibleCommands = Collections.unmodifiableList(localVisibleCommands); - } - return visibleCommands; - } -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/AbstractCreateSysmlChildMenu.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/AbstractCreateSysmlChildMenu.java deleted file mode 100644 index 8ff3d10..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/AbstractCreateSysmlChildMenu.java +++ /dev/null
@@ -1,31 +0,0 @@ -/***************************************************************************** - * 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: - * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui.handlers; - -import org.eclipse.papyrus.infra.ui.util.AbstractCreateMenuFromCommandCategory; - -/** - * Abstract menu for the creation of Sysml elements - */ -public abstract class AbstractCreateSysmlChildMenu extends AbstractCreateMenuFromCommandCategory { - - /** the cateogory of the command used to create SysML elements */ - public static final String SYSML_CREATION_COMMAND_CATEGORY = "org.eclipse.papyrus.sysml14.service.types.sysmlElementCreationCommands"; //$NON-NLS-1$ - - /** - * Constructor. - * - */ - public AbstractCreateSysmlChildMenu() { - super(SYSML_CREATION_COMMAND_CATEGORY); - } -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/AbstractSysmlCreateElementCommandHandler.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/AbstractSysmlCreateElementCommandHandler.java deleted file mode 100644 index 9208f7e..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/AbstractSysmlCreateElementCommandHandler.java +++ /dev/null
@@ -1,36 +0,0 @@ -/***************************************************************************** - * 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: - * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.sysml14.nattable.ui.handlers; - -import org.eclipse.papyrus.sysml14.nattable.ui.filter.SysmlCommandFilter; -import org.eclipse.papyrus.uml.service.types.filter.ICommandFilter; -import org.eclipse.papyrus.uml.service.types.ui.handlers.AbstractCreateElementCommandHandler; - -/** - * - * Abstract handler for every creation command for Sysml elements - * used in the ModelExplorer contextual ("Create new child") menu - * - */ -public abstract class AbstractSysmlCreateElementCommandHandler extends AbstractCreateElementCommandHandler { - - private static final ICommandFilter filter = SysmlCommandFilter.INSTANCE; - - @Override - public ICommandFilter getCommandFilter() { - return filter; - } - -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/AbstractSysmlNattableCreateCommandHandler.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/AbstractSysmlNattableCreateCommandHandler.java deleted file mode 100644 index bef7bc3..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/AbstractSysmlNattableCreateCommandHandler.java +++ /dev/null
@@ -1,84 +0,0 @@ -/***************************************************************************** - * 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: - * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui.handlers; - -import org.eclipse.emf.common.command.Command; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.papyrus.infra.nattable.manager.table.INattableModelManager; -import org.eclipse.papyrus.infra.nattable.utils.INattableModelManagerUtils; -import org.eclipse.papyrus.uml.nattable.menu.util.TableMenuUtils; -import org.eclipse.papyrus.uml.service.types.utils.ICommandContext; - -/** - * Abstract handler for the creation commands of Sysml elements in the Nattable editor - * - */ -public abstract class AbstractSysmlNattableCreateCommandHandler extends AbstractSysmlCreateElementCommandHandler { - - /** - * <pre> - * - * Build the create command for an element creation in the selected container. - * The create command is given by the {@link org.eclipse.papyrus.infra.services.edit.service.IElementEditService} of selected - * element. - * - * @return the composite creation command for current selection - * - * </pre> - */ - @Override - protected Command buildCommand() { - Command createCmd = super.buildCommand(); - return TableMenuUtils.buildNattableCreationCommand(createCmd, this.createRequest); - } - - /** - * Obtain the context of the active table editor. - * - * @see org.eclipse.papyrus.uml.service.types.handlers.AbstractCommandHandler#getCommandContext() - * - * @return - */ - @Override - protected ICommandContext getCommandContext() { - return TableMenuUtils.getTableCreateElementCommandContext(INattableModelManagerUtils.getTableManagerFromWorkbenchPart(getActiveWorkbenchPart())); - - } - - /** - * Verify if this handler is currently active and the command can execute. Additionally, verify if this table can add this type of element. - * - * @see org.eclipse.papyrus.uml.service.types.handlers.AbstractCreateCommandHandler#setEnabled(java.lang.Object) - * - * @param evaluationContext - */ - @Override - public void setEnabled(Object evaluationContext) { - boolean isEnabled = false; - INattableModelManager tableManager = INattableModelManagerUtils.getTableManagerFromWorkbenchPart(getActiveWorkbenchPart()); - IElementType elementTypeToCreate = getElementTypeToCreate(); - - if (elementTypeToCreate != null) { - String id = elementTypeToCreate.getId(); - if (id != null){ - isEnabled = tableManager.canCreateRowElement(id); - if (isEnabled) { - // we test the enable of the super implementation - super.setEnabled(evaluationContext); - isEnabled = super.isEnabled(); - } - setBaseEnabled(isEnabled); - } - } - } - -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ActorPartPropertyHandler.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ActorPartPropertyHandler.java deleted file mode 100644 index 175ddc1..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ActorPartPropertyHandler.java +++ /dev/null
@@ -1,83 +0,0 @@ -/***************************************************************************** - * 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: - * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui.handlers; - -import org.eclipse.emf.common.command.Command; -import org.eclipse.emf.common.command.UnexecutableCommand; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils; -import org.eclipse.papyrus.infra.services.edit.service.IElementEditService; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; - -/** - * <pre> - * Command handler for ActorPart (Property) creation - * - * </pre> - * - * - */ -public class ActorPartPropertyHandler extends AbstractSysmlNattableCreateCommandHandler { - - /** - * <pre> - * @see org.eclipse.papyrus.uml.service.creation.handler.CreateHandler#getElementTypeToCreate() - * - * @return the IElementType this handler is supposed to create - * - * </pre> - * - * - */ - @Override - protected IElementType getElementTypeToCreate() { - return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_ACTORPART); - } - - /** - * {@inheritDoc} - */ - @Override - protected Command buildCommand() { - - if (getCommandContext() == null) { - return UnexecutableCommand.INSTANCE; - } - - EObject container = getCommandContext().getContainer(); - EReference reference = getCommandContext().getReference(); - - IElementEditService provider = ElementEditServiceUtils.getCommandProvider(container); - if (provider == null) { - return UnexecutableCommand.INSTANCE; - } - - CreateElementRequest createRequest; - if (reference == null) { - createRequest = new CreateElementRequest(container, getElementTypeToCreate()); - } else { - createRequest = new CreateElementRequest(container, getElementTypeToCreate(), reference); - } - // Retrieve create command from the Element Edit service - ICommand createGMFCommand = provider.getEditCommand(createRequest); - if (createGMFCommand != null) { - return GMFtoEMFCommandWrapper.wrap(createGMFCommand); - } - return UnexecutableCommand.INSTANCE; - } -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/AllocateHandler.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/AllocateHandler.java deleted file mode 100644 index 2d3d2ce..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/AllocateHandler.java +++ /dev/null
@@ -1,44 +0,0 @@ -/***************************************************************************** - * 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: - * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui.handlers; - -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; - -/** - * <pre> - * Command handler for Allocate creation - * - * </pre> - * - * - */ -public class AllocateHandler extends AbstractSysmlNattableCreateCommandHandler { - - /** - * <pre> - * @see org.eclipse.papyrus.uml.service.types.handlers.AbstractCreateCommandHandler#getElementTypeToCreate() - * - * @return the IElementType this handler is supposed to create - * - * </pre> - * - * - */ - @Override - protected IElementType getElementTypeToCreate() { - return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_ALLOCATE_ABSTRACTION); - } - - -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/BlockHandler.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/BlockHandler.java deleted file mode 100644 index 2c8adfc..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/BlockHandler.java +++ /dev/null
@@ -1,42 +0,0 @@ -/***************************************************************************** - * 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: - * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui.handlers; - -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; - -/** - * <pre> - * Command handler for Block creation - * - * </pre> - * - * - */ -public class BlockHandler extends AbstractSysmlNattableCreateCommandHandler { - - /** - * <pre> - * @see org.eclipse.papyrus.uml.service.creation.handler.CreateHandler#getElementTypeToCreate() - * - * @return the IElementType this handler is supposed to create - * - * </pre> - * - * - */ - @Override - protected IElementType getElementTypeToCreate() { - return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_BLOCK); - } -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ConstraintBlockHandler.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ConstraintBlockHandler.java deleted file mode 100644 index 2f7709c..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ConstraintBlockHandler.java +++ /dev/null
@@ -1,42 +0,0 @@ -/***************************************************************************** - * 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: - * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui.handlers; - -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; - -/** - * <pre> - * Command handler for ConstraintBlock creation - * - * </pre> - * - * - */ -public class ConstraintBlockHandler extends AbstractSysmlNattableCreateCommandHandler { - - /** - * <pre> - * @see org.eclipse.papyrus.uml.service.types.handlers.AbstractCreateCommandHandler#getElementTypeToCreate() - * - * @return the IElementType this handler is supposed to create - * - * </pre> - * - * - */ - @Override - protected IElementType getElementTypeToCreate() { - return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_CONSTRAINTBLOCK); - } -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ConstraintBlockParameterHandler.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ConstraintBlockParameterHandler.java deleted file mode 100644 index 0dce576..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ConstraintBlockParameterHandler.java +++ /dev/null
@@ -1,91 +0,0 @@ -/***************************************************************************** - * 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: - * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui.handlers; - -import org.eclipse.emf.common.command.Command; -import org.eclipse.emf.common.command.UnexecutableCommand; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.edit.commands.ConfigureFeatureCommandFactory; -import org.eclipse.papyrus.infra.services.edit.commands.IConfigureCommandFactory; -import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils; -import org.eclipse.papyrus.infra.services.edit.service.IElementEditService; -import org.eclipse.papyrus.uml.service.types.element.UMLElementTypes; -import org.eclipse.papyrus.uml.tools.utils.NamedElementUtil; -import org.eclipse.uml2.uml.Element; -import org.eclipse.uml2.uml.UMLPackage; - -/** - * <pre> - * Command handler for Problem creation - * - * </pre> - * - * - */ -public class ConstraintBlockParameterHandler extends AbstractSysmlNattableCreateCommandHandler { - - /** - * <pre> - * @see org.eclipse.papyrus.uml.service.types.handlers.AbstractCreateCommandHandler#getElementTypeToCreate() - * - * @return the IElementType this handler is supposed to create - * - * </pre> - * - * - */ - @Override - protected IElementType getElementTypeToCreate() { - return UMLElementTypes.PROPERTY; - } - - /** - * {@inheritDoc} - */ - @Override - protected Command buildCommand() { - - if (getCommandContext() == null) { - return UnexecutableCommand.INSTANCE; - } - - EObject container = getCommandContext().getContainer(); - EReference reference = getCommandContext().getReference(); - - IElementEditService provider = ElementEditServiceUtils.getCommandProvider(container); - if (provider == null) { - return UnexecutableCommand.INSTANCE; - } - - CreateElementRequest createRequest; - if (reference == null) { - createRequest = new CreateElementRequest(container, getElementTypeToCreate()); - } else { - createRequest = new CreateElementRequest(container, getElementTypeToCreate(), reference); - } - - String name = NamedElementUtil.getDefaultNameWithIncrementFromBase("parameter", ((Element) container).eContents()); //$NON-NLS-1$ - createRequest.setParameter(IConfigureCommandFactory.CONFIGURE_COMMAND_FACTORY_ID, new ConfigureFeatureCommandFactory(UMLPackage.eINSTANCE.getNamedElement_Name(), name)); - - // Retrieve create command from the Element Edit service - ICommand createGMFCommand = provider.getEditCommand(createRequest); - if (createGMFCommand != null) { - return GMFtoEMFCommandWrapper.wrap(createGMFCommand); - } - return UnexecutableCommand.INSTANCE; - } -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ConstraintPropertyHandler.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ConstraintPropertyHandler.java deleted file mode 100644 index 4fe3a7a..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ConstraintPropertyHandler.java +++ /dev/null
@@ -1,42 +0,0 @@ -/***************************************************************************** - * 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: - * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui.handlers; - -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; - -/** - * <pre> - * Command handler for ConstraintProperty creation - * - * </pre> - * - * - */ -public class ConstraintPropertyHandler extends AbstractSysmlNattableCreateCommandHandler { - - /** - * <pre> - * @see org.eclipse.papyrus.uml.service.types.handlers.AbstractCreateCommandHandler#getElementTypeToCreate() - * - * @return the IElementType this handler is supposed to create - * - * </pre> - * - * - */ - @Override - protected IElementType getElementTypeToCreate() { - return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_CONSTRAINTPROPERTY); - } -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/CreateAllocateHandler.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/CreateAllocateHandler.java deleted file mode 100644 index 38622b8..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/CreateAllocateHandler.java +++ /dev/null
@@ -1,54 +0,0 @@ -/***************************************************************************** - * 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: - * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui.handlers; - -import org.eclipse.emf.common.command.Command; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.papyrus.infra.nattable.manager.table.INattableModelManager; -import org.eclipse.papyrus.infra.nattable.utils.INattableModelManagerUtils; - -/** - * This handler allows to create an Allocate object, only if the table is a PapyrusSysMLAllocationTable - * - * - */ -public class CreateAllocateHandler extends AllocateHandler { - - /** - * the id used for the Papyrus SysML Allocation Table - */ - public static final String TABLE_ALLOCATION_TYPE = "PapyrusSysML14AllocationTable"; //$NON-NLS-1$ - - /** - * - * @see org.eclipse.papyrus.sysml14.nattable.ui.handlers.AbstractSysmlNattableCreateCommandHandler#setEnabled(java.lang.Object) - * - * @param evaluationContext - */ - @Override - public void setEnabled(Object evaluationContext) { - Command command = getCommand(); - boolean isEnabled = command.canExecute(); - INattableModelManager tableManager = INattableModelManagerUtils.getTableManagerFromWorkbenchPart(getActiveWorkbenchPart()); - isEnabled = isEnabled && tableManager.getTable().getTableConfiguration().getType().equals(TABLE_ALLOCATION_TYPE); - if (isEnabled) { - IElementType newElementType = getElementTypeToCreate(); - String id = newElementType.getId(); - isEnabled = tableManager.canCreateRowElement(id); - } - setBaseEnabled(isEnabled); - - } - -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/FlowPortHandler.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/FlowPortHandler.java deleted file mode 100644 index fb65ae1..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/FlowPortHandler.java +++ /dev/null
@@ -1,42 +0,0 @@ -/***************************************************************************** - * 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: - * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui.handlers; - -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; - -/** - * <pre> - * Command handler for FlowPort creation - * - * </pre> - * - * - */ -public class FlowPortHandler extends AbstractSysmlNattableCreateCommandHandler { - - /** - * <pre> - * @see org.eclipse.papyrus.uml.service.creation.handler.CreateHandler#getElementTypeToCreate() - * - * @return the IElementType this handler is supposed to create - * - * </pre> - * - * - */ - @Override - protected IElementType getElementTypeToCreate() { - return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_FLOWPORT); - } -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/FlowPortNAHandler.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/FlowPortNAHandler.java deleted file mode 100644 index 69f1a47..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/FlowPortNAHandler.java +++ /dev/null
@@ -1,66 +0,0 @@ -/***************************************************************************** - * 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: - * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui.handlers; - -import org.eclipse.emf.common.command.Command; -import org.eclipse.emf.common.command.UnexecutableCommand; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils; -import org.eclipse.papyrus.infra.services.edit.service.IElementEditService; - -/** - * <pre> - * Command handler for FlowPort non atomic creation - * - * </pre> - * - * - */ -public class FlowPortNAHandler extends FlowPortHandler { - - /** - * {@inheritDoc} - */ - @Override - protected Command buildCommand() { - - if (getCommandContext() == null) { - return UnexecutableCommand.INSTANCE; - } - - EObject container = getCommandContext().getContainer(); - EReference reference = getCommandContext().getReference(); - - IElementEditService provider = ElementEditServiceUtils.getCommandProvider(container); - if (provider == null) { - return UnexecutableCommand.INSTANCE; - } - - CreateElementRequest createRequest; - if (reference == null) { - createRequest = new CreateElementRequest(container, getElementTypeToCreate()); - } else { - createRequest = new CreateElementRequest(container, getElementTypeToCreate(), reference); - } - - // Retrieve create command from the Element Edit service - ICommand createGMFCommand = provider.getEditCommand(createRequest); - if (createGMFCommand != null) { - return GMFtoEMFCommandWrapper.wrap(createGMFCommand); - } - return UnexecutableCommand.INSTANCE; - } -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/FlowPropertyHandler.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/FlowPropertyHandler.java deleted file mode 100644 index 02c9e9b..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/FlowPropertyHandler.java +++ /dev/null
@@ -1,42 +0,0 @@ -/***************************************************************************** - * 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: - * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui.handlers; - -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; - -/** - * <pre> - * Command handler for FlowProperty creation - * - * </pre> - * - * - */ -public class FlowPropertyHandler extends AbstractSysmlNattableCreateCommandHandler { - - /** - * <pre> - * @see org.eclipse.papyrus.uml.service.creation.handler.CreateHandler#getElementTypeToCreate() - * - * @return the IElementType this handler is supposed to create - * - * </pre> - * - * - */ - @Override - protected IElementType getElementTypeToCreate() { - return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_FLOWPROPERTY); - } -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/FlowSpecificationHandler.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/FlowSpecificationHandler.java deleted file mode 100644 index 4397464..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/FlowSpecificationHandler.java +++ /dev/null
@@ -1,42 +0,0 @@ -/***************************************************************************** - * 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: - * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui.handlers; - -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; - -/** - * <pre> - * Command handler for FlowSpecification creation - * - * </pre> - * - * - */ -public class FlowSpecificationHandler extends AbstractSysmlNattableCreateCommandHandler { - - /** - * <pre> - * @see org.eclipse.papyrus.uml.service.creation.handler.CreateHandler#getElementTypeToCreate() - * - * @return the IElementType this handler is supposed to create - * - * </pre> - * - * - */ - @Override - protected IElementType getElementTypeToCreate() { - return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_FLOWSPECIFICATION); - } -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/PartPropertyHandler.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/PartPropertyHandler.java deleted file mode 100644 index 93ddf1b..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/PartPropertyHandler.java +++ /dev/null
@@ -1,84 +0,0 @@ -/***************************************************************************** - * 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: - * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui.handlers; - -import org.eclipse.emf.common.command.Command; -import org.eclipse.emf.common.command.UnexecutableCommand; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils; -import org.eclipse.papyrus.infra.services.edit.service.IElementEditService; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; - -/** - * <pre> - * Command handler for Part (Property) creation - * - * </pre> - * - * - */ -public class PartPropertyHandler extends AbstractSysmlNattableCreateCommandHandler { - - /** - * <pre> - * @see org.eclipse.papyrus.uml.service.creation.handler.CreateHandler#getElementTypeToCreate() - * - * @return the IElementType this handler is supposed to create - * - * </pre> - * - * - */ - @Override - protected IElementType getElementTypeToCreate() { - return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_PART); - } - - /** - * {@inheritDoc} - */ - @Override - protected Command buildCommand() { - - if (getCommandContext() == null) { - return UnexecutableCommand.INSTANCE; - } - - EObject container = getCommandContext().getContainer(); - EReference reference = getCommandContext().getReference(); - - IElementEditService provider = ElementEditServiceUtils.getCommandProvider(container); - if (provider == null) { - return UnexecutableCommand.INSTANCE; - } - - CreateElementRequest createRequest; - if (reference == null) { - createRequest = new CreateElementRequest(container, getElementTypeToCreate()); - } else { - createRequest = new CreateElementRequest(container, getElementTypeToCreate(), reference); - } - - // Retrieve create command from the Element Edit service - ICommand createGMFCommand = provider.getEditCommand(createRequest); - if (createGMFCommand != null) { - return GMFtoEMFCommandWrapper.wrap(createGMFCommand); - } - return UnexecutableCommand.INSTANCE; - } -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ProblemHandler.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ProblemHandler.java deleted file mode 100644 index 78036c8..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ProblemHandler.java +++ /dev/null
@@ -1,42 +0,0 @@ -/***************************************************************************** - * 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: - * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui.handlers; - -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; - -/** - * <pre> - * Command handler for Problem creation - * - * </pre> - * - * - */ -public class ProblemHandler extends AbstractSysmlNattableCreateCommandHandler { - - /** - * <pre> - * @see org.eclipse.papyrus.uml.service.types.handlers.AbstractCreateCommandHandler#getElementTypeToCreate() - * - * @return the IElementType this handler is supposed to create - * - * </pre> - * - * - */ - @Override - protected IElementType getElementTypeToCreate() { - return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_PROBLEM); - } -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/RationaleHandler.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/RationaleHandler.java deleted file mode 100644 index 1c8840b..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/RationaleHandler.java +++ /dev/null
@@ -1,42 +0,0 @@ -/***************************************************************************** - * 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: - * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui.handlers; - -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; - -/** - * <pre> - * Command handler for Rationale creation - * - * </pre> - * - * - */ -public class RationaleHandler extends AbstractSysmlNattableCreateCommandHandler { - - /** - * <pre> - * @see org.eclipse.papyrus.uml.service.types.handlers.AbstractCreateCommandHandler#getElementTypeToCreate() - * - * @return the IElementType this handler is supposed to create - * - * </pre> - * - * - */ - @Override - protected IElementType getElementTypeToCreate() { - return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_RATIONALE); - } -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ReferencePropertyHandler.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ReferencePropertyHandler.java deleted file mode 100644 index 57b1379..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ReferencePropertyHandler.java +++ /dev/null
@@ -1,84 +0,0 @@ -/***************************************************************************** - * 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: - * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui.handlers; - -import org.eclipse.emf.common.command.Command; -import org.eclipse.emf.common.command.UnexecutableCommand; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils; -import org.eclipse.papyrus.infra.services.edit.service.IElementEditService; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; - -/** - * <pre> - * Command handler for Reference (Property) creation - * - * </pre> - * - * - */ -public class ReferencePropertyHandler extends AbstractSysmlNattableCreateCommandHandler { - - /** - * <pre> - * @see org.eclipse.papyrus.uml.service.creation.handler.CreateHandler#getElementTypeToCreate() - * - * @return the IElementType this handler is supposed to create - * - * </pre> - * - * - */ - @Override - protected IElementType getElementTypeToCreate() { - return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_REFERENCE); - } - - /** - * {@inheritDoc} - */ - @Override - protected Command buildCommand() { - - if (getCommandContext() == null) { - return UnexecutableCommand.INSTANCE; - } - - EObject container = getCommandContext().getContainer(); - EReference reference = getCommandContext().getReference(); - - IElementEditService provider = ElementEditServiceUtils.getCommandProvider(container); - if (provider == null) { - return UnexecutableCommand.INSTANCE; - } - - CreateElementRequest createRequest; - if (reference == null) { - createRequest = new CreateElementRequest(container, getElementTypeToCreate()); - } else { - createRequest = new CreateElementRequest(container, getElementTypeToCreate(), reference); - } - - // Retrieve create command from the Element Edit service - ICommand createGMFCommand = provider.getEditCommand(createRequest); - if (createGMFCommand != null) { - return GMFtoEMFCommandWrapper.wrap(createGMFCommand); - } - return UnexecutableCommand.INSTANCE; - } -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/RequirementHandler.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/RequirementHandler.java deleted file mode 100644 index c483e38..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/RequirementHandler.java +++ /dev/null
@@ -1,42 +0,0 @@ -/***************************************************************************** - * 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: - * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui.handlers; - -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; - -/** - * <pre> - * Command handler for Requirement creation - * - * </pre> - * - * - */ -public class RequirementHandler extends AbstractSysmlNattableCreateCommandHandler { - - /** - * <pre> - * @see org.eclipse.papyrus.uml.service.creation.handler.CreateHandler#getElementTypeToCreate() - * - * @return the IElementType this handler is supposed to create - * - * </pre> - * - * - */ - @Override - protected IElementType getElementTypeToCreate() { - return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_REQUIREMENT); - } -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/SysmlNattableCreateMenu.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/SysmlNattableCreateMenu.java deleted file mode 100644 index 1777c58..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/SysmlNattableCreateMenu.java +++ /dev/null
@@ -1,34 +0,0 @@ -/***************************************************************************** - * 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: - * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui.handlers; - -import org.eclipse.papyrus.infra.nattable.utils.NattableWidgetPropertyTester; -import org.eclipse.ui.IWorkbenchPart; -import org.eclipse.ui.PlatformUI; -import org.eclipse.ui.menus.IContributionRoot; -import org.eclipse.ui.services.IServiceLocator; - -/** - * Menu contributions for the creation of Sysml elements from the Nattable editor - */ -public class SysmlNattableCreateMenu extends AbstractCreateSysmlChildMenu { - - private static NattableWidgetPropertyTester tester = new NattableWidgetPropertyTester(); - - @Override - public void createContributionItems(IServiceLocator serviceLocator, IContributionRoot additions) { - IWorkbenchPart part = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActivePart(); - if (tester.test(part, NattableWidgetPropertyTester.IS_NATTABLE_WIDGET, null, Boolean.TRUE)) { - super.createContributionItems(serviceLocator, additions); - } - } -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/UnitHandler.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/UnitHandler.java deleted file mode 100644 index e37d9d5..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/UnitHandler.java +++ /dev/null
@@ -1,42 +0,0 @@ -/***************************************************************************** - * 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: - * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui.handlers; - -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; - -/** - * <pre> - * Command handler for Unit creation - * - * </pre> - * - * - */ -public class UnitHandler extends AbstractSysmlNattableCreateCommandHandler { - - /** - * <pre> - * @see org.eclipse.papyrus.uml.service.types.handlers.AbstractCreateCommandHandler#getElementTypeToCreate() - * - * @return the IElementType this handler is supposed to create - * - * </pre> - * - * - */ - @Override - protected IElementType getElementTypeToCreate() { - return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_UNIT); - } -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ValuePropertyHandler.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ValuePropertyHandler.java deleted file mode 100644 index e47aff3..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ValuePropertyHandler.java +++ /dev/null
@@ -1,84 +0,0 @@ -/***************************************************************************** - * 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: - * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui.handlers; - -import org.eclipse.emf.common.command.Command; -import org.eclipse.emf.common.command.UnexecutableCommand; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.gmf.runtime.common.core.command.ICommand; -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest; -import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper; -import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils; -import org.eclipse.papyrus.infra.services.edit.service.IElementEditService; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; - -/** - * <pre> - * Command handler for Value (Property) creation - * - * </pre> - * - * - */ -public class ValuePropertyHandler extends AbstractSysmlNattableCreateCommandHandler { - - /** - * <pre> - * @see org.eclipse.papyrus.uml.service.creation.handler.CreateHandler#getElementTypeToCreate() - * - * @return the IElementType this handler is supposed to create - * - * </pre> - * - * - */ - @Override - protected IElementType getElementTypeToCreate() { - return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_VALUE); - } - - /** - * {@inheritDoc} - */ - @Override - protected Command buildCommand() { - - if (getCommandContext() == null) { - return UnexecutableCommand.INSTANCE; - } - - EObject container = getCommandContext().getContainer(); - EReference reference = getCommandContext().getReference(); - - IElementEditService provider = ElementEditServiceUtils.getCommandProvider(container); - if (provider == null) { - return UnexecutableCommand.INSTANCE; - } - - CreateElementRequest createRequest; - if (reference == null) { - createRequest = new CreateElementRequest(container, getElementTypeToCreate()); - } else { - createRequest = new CreateElementRequest(container, getElementTypeToCreate(), reference); - } - - // Retrieve create command from the Element Edit service - ICommand createGMFCommand = provider.getEditCommand(createRequest); - if (createGMFCommand != null) { - return GMFtoEMFCommandWrapper.wrap(createGMFCommand); - } - return UnexecutableCommand.INSTANCE; - } -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ValueTypeHandler.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ValueTypeHandler.java deleted file mode 100644 index 5cc53eb..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ValueTypeHandler.java +++ /dev/null
@@ -1,42 +0,0 @@ -/***************************************************************************** - * 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: - * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui.handlers; - -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; - -/** - * <pre> - * Command handler for ValueType creation - * - * </pre> - * - * - */ -public class ValueTypeHandler extends AbstractSysmlNattableCreateCommandHandler { - - /** - * <pre> - * @see org.eclipse.papyrus.uml.service.types.handlers.AbstractCreateCommandHandler#getElementTypeToCreate() - * - * @return the IElementType this handler is supposed to create - * - * </pre> - * - * - */ - @Override - protected IElementType getElementTypeToCreate() { - return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_VALUETYPE); - } -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/VerifyHandler.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/VerifyHandler.java deleted file mode 100644 index 5ebe53f..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/VerifyHandler.java +++ /dev/null
@@ -1,42 +0,0 @@ -/***************************************************************************** - * 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: - * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui.handlers; - -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; - -/** - * <pre> - * Command handler for Verify creation - * - * </pre> - * - * - */ -public class VerifyHandler extends AbstractSysmlNattableCreateCommandHandler { - - /** - * <pre> - * @see org.eclipse.papyrus.uml.service.types.handlers.AbstractCreateCommandHandler#getElementTypeToCreate() - * - * @return the IElementType this handler is supposed to create - * - * </pre> - * - * - */ - @Override - protected IElementType getElementTypeToCreate() { - return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_VERIFY_ABSTRACTION); - } -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ViewHandler.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ViewHandler.java deleted file mode 100644 index 1fa104d..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ViewHandler.java +++ /dev/null
@@ -1,42 +0,0 @@ -/***************************************************************************** - * 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: - * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui.handlers; - -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; - -/** - * <pre> - * Command handler for View creation - * - * </pre> - * - * - */ -public class ViewHandler extends AbstractSysmlNattableCreateCommandHandler { - - /** - * <pre> - * @see org.eclipse.papyrus.uml.service.types.handlers.AbstractCreateCommandHandler#getElementTypeToCreate() - * - * @return the IElementType this handler is supposed to create - * - * </pre> - * - * - */ - @Override - protected IElementType getElementTypeToCreate() { - return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_VIEW); - } -}
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ViewPointHandler.java b/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ViewPointHandler.java deleted file mode 100644 index da0a981..0000000 --- a/table/org.eclipse.papyrus.sysml14.nattable.ui/src/org/eclipse/papyrus/sysml14/nattable/ui/handlers/ViewPointHandler.java +++ /dev/null
@@ -1,42 +0,0 @@ -/***************************************************************************** - * 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: - * Juan Cadavid (CEA LIST) juan.cadavid@cea.fr - Initial API and implementation - *****************************************************************************/ -package org.eclipse.papyrus.sysml14.nattable.ui.handlers; - -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.papyrus.sysml14.service.types.util.SysMLServiceTypeUtil; - -/** - * <pre> - * Command handler for ViewPoint creation - * - * </pre> - * - * - */ -public class ViewPointHandler extends AbstractSysmlNattableCreateCommandHandler { - - /** - * <pre> - * @see org.eclipse.papyrus.uml.service.types.handlers.AbstractCreateCommandHandler#getElementTypeToCreate() - * - * @return the IElementType this handler is supposed to create - * - * </pre> - * - * - */ - @Override - protected IElementType getElementTypeToCreate() { - return ElementTypeRegistry.getInstance().getType(SysMLServiceTypeUtil.ORG_ECLIPSE_PAPYRUS_SYSML14_VIEWPOINT); - } -}
diff --git a/table/pom.xml b/table/pom.xml index ff8bb9b..2df1916 100644 --- a/table/pom.xml +++ b/table/pom.xml
@@ -2,20 +2,20 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>org.eclipse.papyrus.sysml14.parent</artifactId> + <artifactId>org.eclipse.papyrus.sysml.parent</artifactId> <groupId>org.eclipse.papyrus.sysml</groupId> - <version>1.2.0-SNAPSHOT</version> + <version>4.0.0-SNAPSHOT</version> </parent> - <artifactId>org.eclipse.papyrus.sysml14.table</artifactId> + <artifactId>org.eclipse.papyrus.sysml.table</artifactId> <packaging>pom</packaging> <name>SysML Table</name> <description>This plug-in contains the different modules relatives to the tables used in SysML 1.4</description> <modules> - <module>org.eclipse.papyrus.sysml14.nattable.common</module> - <module>org.eclipse.papyrus.sysml14.nattable.allocation</module> - <module>org.eclipse.papyrus.sysml14.nattable.allocation.tests</module> - <module>org.eclipse.papyrus.sysml14.nattable.requirement</module> - <module>org.eclipse.papyrus.sysml14.nattable.requirement.tests</module> - <module>org.eclipse.papyrus.sysml14.nattable.ui</module> + <module>org.eclipse.papyrus.sysml.nattable.common</module> + <module>org.eclipse.papyrus.sysml.nattable.allocation</module> + <module>org.eclipse.papyrus.sysml.nattable.allocation.tests</module> + <module>org.eclipse.papyrus.sysml.nattable.requirement</module> + <module>org.eclipse.papyrus.sysml.nattable.requirement.tests</module> + <module>org.eclipse.papyrus.sysml.nattable.ui</module> </modules> </project>
diff --git a/targetplatform/org.eclipse.papyrus.sysml.targetplatform.oxygen/.project b/targetplatform/org.eclipse.papyrus.sysml.targetplatform.oxygen/.project new file mode 100644 index 0000000..7100ac5 --- /dev/null +++ b/targetplatform/org.eclipse.papyrus.sysml.targetplatform.oxygen/.project
@@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.papyrus.sysml.targetplatform.oxygen</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + </natures> +</projectDescription>
diff --git a/diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/.settings/org.eclipse.core.resources.prefs b/targetplatform/org.eclipse.papyrus.sysml.targetplatform.oxygen/.settings/org.eclipse.core.resources.prefs similarity index 100% copy from diagram/org.eclipse.papyrus.sysml14.diagram.blockdefinition/.settings/org.eclipse.core.resources.prefs copy to targetplatform/org.eclipse.papyrus.sysml.targetplatform.oxygen/.settings/org.eclipse.core.resources.prefs
diff --git a/targetplatform/org.eclipse.papyrus.sysml14.targetplatform.oxygen/org.eclipse.papyrus.sysml14.targetplatform.oxygen.target b/targetplatform/org.eclipse.papyrus.sysml.targetplatform.oxygen/org.eclipse.papyrus.sysml.targetplatform.oxygen.target similarity index 100% rename from targetplatform/org.eclipse.papyrus.sysml14.targetplatform.oxygen/org.eclipse.papyrus.sysml14.targetplatform.oxygen.target rename to targetplatform/org.eclipse.papyrus.sysml.targetplatform.oxygen/org.eclipse.papyrus.sysml.targetplatform.oxygen.target
diff --git a/targetplatform/org.eclipse.papyrus.sysml14.targetplatform.oxygen/org.eclipse.papyrus.sysml14.targetplatform.oxygen.tpd b/targetplatform/org.eclipse.papyrus.sysml.targetplatform.oxygen/org.eclipse.papyrus.sysml.targetplatform.oxygen.tpd similarity index 100% rename from targetplatform/org.eclipse.papyrus.sysml14.targetplatform.oxygen/org.eclipse.papyrus.sysml14.targetplatform.oxygen.tpd rename to targetplatform/org.eclipse.papyrus.sysml.targetplatform.oxygen/org.eclipse.papyrus.sysml.targetplatform.oxygen.tpd
diff --git a/targetplatform/org.eclipse.papyrus.sysml.targetplatform.oxygen/pom.xml b/targetplatform/org.eclipse.papyrus.sysml.targetplatform.oxygen/pom.xml new file mode 100644 index 0000000..ca6c237 --- /dev/null +++ b/targetplatform/org.eclipse.papyrus.sysml.targetplatform.oxygen/pom.xml
@@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>org.eclipse.papyrus.sysml.targetplatform</artifactId> + <groupId>org.eclipse.papyrus.sysml</groupId> + <version>4.0.0-SNAPSHOT</version> + </parent> + <artifactId>org.eclipse.papyrus.sysml.targetplatform.oxygen</artifactId> + <packaging>eclipse-target-definition</packaging> + <name>org.eclipse.papyrus.sysml.targetplatform.oxygen</name> + <description>This plug-in contains the target definition for Papyrus SysML in Oxygen.</description> +</project> \ No newline at end of file
diff --git a/targetplatform/org.eclipse.papyrus.sysml14.targetplatform.oxygen/pom.xml b/targetplatform/org.eclipse.papyrus.sysml14.targetplatform.oxygen/pom.xml deleted file mode 100644 index b33e486..0000000 --- a/targetplatform/org.eclipse.papyrus.sysml14.targetplatform.oxygen/pom.xml +++ /dev/null
@@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <artifactId>org.eclipse.papyrus.sysml14.targetplatform</artifactId> - <groupId>org.eclipse.papyrus.sysml</groupId> - <version>1.2.0-SNAPSHOT</version> - </parent> - <artifactId>org.eclipse.papyrus.sysml14.targetplatform.oxygen</artifactId> - <packaging>eclipse-target-definition</packaging> - <name>org.eclipse.papyrus.sysml14.targetplatform.oxygen</name> - <description>This plug-in contains the target definition for Papyrus SysML in Oxygen.</description> -</project> \ No newline at end of file
diff --git a/targetplatform/pom.xml b/targetplatform/pom.xml index 3d714af..ca49fb8 100644 --- a/targetplatform/pom.xml +++ b/targetplatform/pom.xml
@@ -4,10 +4,10 @@ <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.eclipse.papyrus.sysml</groupId> - <artifactId>org.eclipse.papyrus.sysml14.parent</artifactId> - <version>1.2.0-SNAPSHOT</version> + <artifactId>org.eclipse.papyrus.sysml.parent</artifactId> + <version>4.0.0-SNAPSHOT</version> </parent> - <artifactId>org.eclipse.papyrus.sysml14.targetplatform</artifactId> + <artifactId>org.eclipse.papyrus.sysml.targetplatform</artifactId> <packaging>pom</packaging> <name>SysML Target Platform</name> <description>This module contains the different Eclipse target platform definitions.</description> @@ -18,7 +18,7 @@ <activeByDefault>true</activeByDefault> </activation> <modules> - <module>org.eclipse.papyrus.sysml14.targetplatform.oxygen</module> + <module>org.eclipse.papyrus.sysml.targetplatform.oxygen</module> </modules> </profile> </profiles>